OwlCyberSecurity - MANAGER
Edit File: main.js
(()=>{var __webpack_modules__={41:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}r.d(t,{Rk:()=>n,SF:()=>a,sk:()=>i});var a=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){a(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},771:(e,t,r)=>{"use strict";var n=r(4994);t.e$=function(e,t){if(e=o(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)},t.eM=function(e,t){const r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=function(e,t){if(e=o(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)};var a=n(r(2108)),i=n(r(4966));function s(e,t=0,r=1){return(0,i.default)(e,t,r)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,a.default)(9,e));let n,i=e.substring(t+1,e.length-1);if("color"===r){if(i=i.split(" "),n=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,a.default)(10,n))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:r,values:i,colorSpace:n}}function l(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let t="hsl"===(e=o(e)).type||"hsla"===e.type?o(function(e){e=o(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,i=n*Math.min(a,1-a),s=(e,t=(e+r/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},819:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(4521)},1020:(e,t,r)=>{"use strict";var n=r(1609),a=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var n,l={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!o.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:u,props:l,_owner:s.current}}},1172:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>i});var n=r(4363);const a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(a);return t&&t[1]||""}function s(e,t=""){return e.displayName||e.name||i(e)||t}function o(e,t,r){const n=s(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return s(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return o(e,e.render,"ForwardRef");case n.Memo:return o(e,e.type,"memo");default:return}}}},1287:(e,t,r)=>{"use strict";r.d(t,{i:()=>s,s:()=>i});var n=r(1609),a=!!n.useInsertionEffect&&n.useInsertionEffect,i=a||function(e){return e()},s=a||n.useLayoutEffect},1609:e=>{"use strict";e.exports=window.React},2108:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(5697)},2476:()=>{},2799:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context");var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=r,t.Memo=n},2833:e=>{e.exports=function(e,t,r,n){var a=r?r.call(n,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!o(c))return!1;var u=e[c],p=t[c];if(!1===(a=r?r.call(n,u,p,c):void 0)||void 0===a&&u!==p)return!1}return!0}},2911:(e,t,r)=>{"use strict";var n=r(1609);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,s=0;function o(e,t){if(0!==t.length)if(512<t.length)0<s&&(e.enqueue(new Uint8Array(i.buffer,0,s)),i=new Uint8Array(512),s=0),e.enqueue(t);else{var r=i.length-s;r<t.length&&(0===r?e.enqueue(i):(i.set(t.subarray(0,r),s),e.enqueue(i),t=t.subarray(r)),i=new Uint8Array(512),s=0),i.set(t,s),s+=t.length}}function l(e,t){return o(e,t),!0}function c(e){i&&0<s&&(e.enqueue(new Uint8Array(i.buffer,0,s)),i=null,s=0)}var u=new TextEncoder;function p(e){return u.encode(e)}function d(e){return u.encode(e)}function f(e,t){"function"==typeof e.error?e.error(t):e.close()}var h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},y={};function v(e){return!!h.call(y,e)||!h.call(g,e)&&(m.test(e)?y[e]=!0:(g[e]=!0,!1))}function b(e,t,r,n,a,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){x[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];x[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){x[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){x[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){x[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){x[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){x[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){x[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){x[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var w=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(w,E);x[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(w,E);x[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(w,E);x[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),x.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(k).forEach((function(e){S.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),k[t]=k[e]}))}));var C=/["'&<>]/;function A(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=C.exec(e);if(t){var r,n="",a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.substring(a,r)),a=r+1,n+=t}e=a!==r?n+e.substring(a,r):n}return e}var _=/([A-Z])/g,P=/^ms-/,T=Array.isArray,I=d("<script>"),F=d("<\/script>"),M=d('<script src="'),D=d('<script type="module" src="'),R=d('" async=""><\/script>'),L=/(<\/|<)(s)(cript)/gi;function O(e,t,r,n){return t+("s"===r?"\\u0073":"\\u0053")+n}function V(e,t){return{insertionMode:e,selectedValue:t}}var N=d("\x3c!-- --\x3e");function B(e,t,r,n){return""===t?n:(n&&e.push(N),e.push(p(A(t))),!0)}var j=new Map,z=d(' style="'),H=d(":"),G=d(";");function W(e,t,r){if("object"!=typeof r)throw Error(a(62));for(var n in t=!0,r)if(h.call(r,n)){var i=r[n];if(null!=i&&"boolean"!=typeof i&&""!==i){if(0===n.indexOf("--")){var s=p(A(n));i=p(A((""+i).trim()))}else{s=n;var o=j.get(s);void 0!==o||(o=d(A(s.replace(_,"-$1").toLowerCase().replace(P,"-ms-"))),j.set(s,o)),s=o,i="number"==typeof i?0===i||h.call(k,n)?p(""+i):p(i+"px"):p(A((""+i).trim()))}t?(t=!1,e.push(z,s,H,i)):e.push(G,s,H,i)}}t||e.push(X)}var q=d(" "),U=d('="'),X=d('"'),Q=d('=""');function $(e,t,r,n){switch(r){case"style":return void W(e,t,n);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||"o"!==r[0]&&"O"!==r[0]||"n"!==r[1]&&"N"!==r[1])if(null!==(t=x.hasOwnProperty(r)?x[r]:null)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=p(t.attributeName),t.type){case 3:n&&e.push(q,r,Q);break;case 4:!0===n?e.push(q,r,Q):!1!==n&&e.push(q,r,U,p(A(n)),X);break;case 5:isNaN(n)||e.push(q,r,U,p(A(n)),X);break;case 6:!isNaN(n)&&1<=n&&e.push(q,r,U,p(A(n)),X);break;default:t.sanitizeURL&&(n=""+n),e.push(q,r,U,p(A(n)),X)}}else if(v(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if("data-"!==(t=r.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(q,p(r),U,p(A(n)),X)}}var J=d(">"),Z=d("/>");function Y(e,t,r){if(null!=t){if(null!=r)throw Error(a(60));if("object"!=typeof t||!("__html"in t))throw Error(a(61));null!=(t=t.__html)&&e.push(p(""+t))}}var K=d(' selected=""');function ee(e,t,r,n){e.push(ae(r));var a,i=r=null;for(a in t)if(h.call(t,a)){var s=t[a];if(null!=s)switch(a){case"children":r=s;break;case"dangerouslySetInnerHTML":i=s;break;default:$(e,n,a,s)}}return e.push(J),Y(e,i,r),"string"==typeof r?(e.push(p(A(r))),null):r}var te=d("\n"),re=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ne=new Map;function ae(e){var t=ne.get(e);if(void 0===t){if(!re.test(e))throw Error(a(65,e));t=d("<"+e),ne.set(e,t)}return t}var ie=d("<!DOCTYPE html>");var se=d("</"),oe=d(">"),le=d('<template id="'),ce=d('"></template>'),ue=d("\x3c!--$--\x3e"),pe=d('\x3c!--$?--\x3e<template id="'),de=d('"></template>'),fe=d("\x3c!--$!--\x3e"),he=d("\x3c!--/$--\x3e"),me=d("<template"),ge=d('"'),ye=d(' data-dgst="');d(' data-msg="'),d(' data-stck="');var ve=d("></template>");function be(e,t,r){if(o(e,pe),null===r)throw Error(a(395));return o(e,r),l(e,de)}var xe=d('<div hidden id="'),we=d('">'),Ee=d("</div>"),ke=d('<svg aria-hidden="true" style="display:none" id="'),Se=d('">'),Ce=d("</svg>"),Ae=d('<math aria-hidden="true" style="display:none" id="'),_e=d('">'),Pe=d("</math>"),Te=d('<table hidden id="'),Ie=d('">'),Fe=d("</table>"),Me=d('<table hidden><tbody id="'),De=d('">'),Re=d("</tbody></table>"),Le=d('<table hidden><tr id="'),Oe=d('">'),Ve=d("</tr></table>"),Ne=d('<table hidden><colgroup id="'),Be=d('">'),je=d("</colgroup></table>"),ze=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),He=d('$RS("'),Ge=d('","'),We=d('")<\/script>'),qe=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Ue=d('$RC("'),Xe=d('","'),Qe=d('")<\/script>'),$e=d('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Je=d('$RX("'),Ze=d('"'),Ye=d(")<\/script>"),Ke=d(","),et=/[<\u2028\u2029]/g;function tt(e){return JSON.stringify(e).replace(et,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var rt=Object.assign,nt=Symbol.for("react.element"),at=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ct=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),pt=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),ht=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),gt=Symbol.for("react.debug_trace_mode"),yt=Symbol.for("react.legacy_hidden"),vt=Symbol.for("react.default_value"),bt=Symbol.iterator;function xt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case it:return"Fragment";case at:return"Portal";case ot:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case dt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ct:return(e.displayName||"Context")+".Consumer";case lt:return(e._context.displayName||"Context")+".Provider";case ut:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ft:return null!==(t=e.displayName||null)?t:xt(e.type)||"Memo";case ht:t=e._payload,e=e._init;try{return xt(e(t))}catch(e){}}return null}var wt={};function Et(e,t){if(!(e=e.contextTypes))return wt;var r,n={};for(r in e)n[r]=t[r];return n}var kt=null;function St(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(a(401))}else{if(null===r)throw Error(a(401));St(e,r)}t.context._currentValue=t.value}}function Ct(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&Ct(e)}function At(e){var t=e.parent;null!==t&&At(t),e.context._currentValue=e.value}function _t(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(a(402));e.depth===t.depth?St(e,t):_t(e,t)}function Pt(e,t){var r=t.parent;if(null===r)throw Error(a(402));e.depth===r.depth?St(e,r):Pt(e,r),t.context._currentValue=t.value}function Tt(e){var t=kt;t!==e&&(null===t?At(e):null===e?Ct(t):t.depth===e.depth?St(t,e):t.depth>e.depth?_t(t,e):Pt(t,e),kt=e)}var It={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function Ft(e,t,r,n){var a=void 0!==e.state?e.state:null;e.updater=It,e.props=r,e.state=a;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue:n,"function"==typeof(s=t.getDerivedStateFromProps)&&(a=null==(s=s(r,a))?a:rt({},a,s),e.state=a),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&It.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&1===t.length)e.state=t[0];else{for(i=s?t[0]:e.state,a=!0,s=s?1:0;s<t.length;s++){var o=t[s];null!=(o="function"==typeof o?o.call(e,i,r,n):o)&&(a?(a=!1,i=rt({},i,o)):rt(i,o))}e.state=i}else i.queue=null}var Mt={id:1,overflow:""};function Dt(e,t,r){var n=e.id;e=e.overflow;var a=32-Rt(n)-1;n&=~(1<<a),r+=1;var i=32-Rt(t)+a;if(30<i){var s=a-a%5;return i=(n&(1<<s)-1).toString(32),n>>=s,a-=s,{id:1<<32-Rt(t)+a|r<<a|n,overflow:i+e}}return{id:1<<i|r<<a|n,overflow:e}}var Rt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Lt(e)/Ot|0)|0},Lt=Math.log,Ot=Math.LN2,Vt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Nt=null,Bt=null,jt=null,zt=null,Ht=!1,Gt=!1,Wt=0,qt=null,Ut=0;function Xt(){if(null===Nt)throw Error(a(321));return Nt}function Qt(){if(0<Ut)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function $t(){return null===zt?null===jt?(Ht=!1,jt=zt=Qt()):(Ht=!0,zt=jt):null===zt.next?(Ht=!1,zt=zt.next=Qt()):(Ht=!0,zt=zt.next),zt}function Jt(){Bt=Nt=null,Gt=!1,jt=null,Ut=0,zt=qt=null}function Zt(e,t){return"function"==typeof t?t(e):t}function Yt(e,t,r){if(Nt=Xt(),zt=$t(),Ht){var n=zt.queue;if(t=n.dispatch,null!==qt&&void 0!==(r=qt.get(n))){qt.delete(n),n=zt.memoizedState;do{n=e(n,r.action),r=r.next}while(null!==r);return zt.memoizedState=n,[n,t]}return[zt.memoizedState,t]}return e=e===Zt?"function"==typeof t?t():t:void 0!==r?r(t):t,zt.memoizedState=e,e=(e=zt.queue={last:null,dispatch:null}).dispatch=er.bind(null,Nt,e),[zt.memoizedState,e]}function Kt(e,t){if(Nt=Xt(),t=void 0===t?null:t,null!==(zt=$t())){var r=zt.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var a=0;a<n.length&&a<t.length;a++)if(!Vt(t[a],n[a])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),zt.memoizedState=[e,t],e}function er(e,t,r){if(25<=Ut)throw Error(a(301));if(e===Nt)if(Gt=!0,e={action:r,next:null},null===qt&&(qt=new Map),void 0===(r=qt.get(t)))qt.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function tr(){throw Error(a(394))}function rr(){}var nr={readContext:function(e){return e._currentValue},useContext:function(e){return Xt(),e._currentValue},useMemo:Kt,useReducer:Yt,useRef:function(e){Nt=Xt();var t=(zt=$t()).memoizedState;return null===t?(e={current:e},zt.memoizedState=e):t},useState:function(e){return Yt(Zt,e)},useInsertionEffect:rr,useLayoutEffect:function(){},useCallback:function(e,t){return Kt((function(){return e}),t)},useImperativeHandle:rr,useEffect:rr,useDebugValue:rr,useDeferredValue:function(e){return Xt(),e},useTransition:function(){return Xt(),[!1,tr]},useId:function(){var e=Bt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Rt(e)-1)).toString(32)+t;var r=ar;if(null===r)throw Error(a(404));return t=Wt++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Xt(),t(e._source)},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(a(407));return r()}},ar=null,ir=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sr(e){return console.error(e),null}function or(){}function lr(e,t,r,n,a,i,s,o){e.allPendingTasks++,null===r?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&kr(e)},blockedBoundary:r,blockedSegment:n,abortSet:a,legacyContext:i,context:s,treeContext:o};return a.add(l),l}function cr(e,t,r,n,a,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:a,textEmbedded:i}}function ur(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function pr(e,t){var r=e.onShellError;r(t),(r=e.onFatalError)(t),null!==e.destination?(e.status=2,f(e.destination,t)):(e.status=1,e.fatalError=t)}function dr(e,t,r,n,a){for(Nt={},Bt=t,Wt=0,e=r(n,a);Gt;)Gt=!1,Wt=0,Ut+=1,zt=null,e=r(n,a);return Jt(),e}function fr(e,t,r,n){var i=r.render(),s=n.childContextTypes;if(null!=s){var o=t.legacyContext;if("function"!=typeof r.getChildContext)n=o;else{for(var l in r=r.getChildContext())if(!(l in s))throw Error(a(108,xt(n)||"Unknown",l));n=rt({},o,r)}t.legacyContext=n,gr(e,t,i),t.legacyContext=o}else gr(e,t,i)}function hr(e,t){if(e&&e.defaultProps){for(var r in t=rt({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function mr(e,t,r,i,s){if("function"==typeof r)if(r.prototype&&r.prototype.isReactComponent){s=Et(r,t.legacyContext);var o=r.contextType;Ft(o=new r(i,"object"==typeof o&&null!==o?o._currentValue:s),r,i,s),fr(e,t,o,r)}else{s=dr(e,t,r,i,o=Et(r,t.legacyContext));var l=0!==Wt;if("object"==typeof s&&null!==s&&"function"==typeof s.render&&void 0===s.$$typeof)Ft(s,r,i,o),fr(e,t,s,r);else if(l){i=t.treeContext,t.treeContext=Dt(i,1,0);try{gr(e,t,s)}finally{t.treeContext=i}}else gr(e,t,s)}else{if("string"!=typeof r){switch(r){case yt:case gt:case st:case ot:case it:case dt:return void gr(e,t,i.children);case mt:throw Error(a(343));case pt:e:{r=t.blockedBoundary,s=t.blockedSegment,o=i.fallback,i=i.children;var c={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l=new Set,errorDigest:null},u=cr(0,s.chunks.length,c,s.formatContext,!1,!1);s.children.push(u),s.lastPushedText=!1;var d=cr(0,0,null,s.formatContext,!1,!1);d.parentFlushed=!0,t.blockedBoundary=c,t.blockedSegment=d;try{if(vr(e,t,i),d.lastPushedText&&d.textEmbedded&&d.chunks.push(N),d.status=1,wr(c,d),0===c.pendingTasks)break e}catch(t){d.status=4,c.forceClientRender=!0,c.errorDigest=ur(e,t)}finally{t.blockedBoundary=r,t.blockedSegment=s}t=lr(e,o,r,u,l,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof r&&null!==r)switch(r.$$typeof){case ut:if(i=dr(e,t,r.render,i,s),0!==Wt){r=t.treeContext,t.treeContext=Dt(r,1,0);try{gr(e,t,i)}finally{t.treeContext=r}}else gr(e,t,i);return;case ft:return void mr(e,t,r=r.type,i=hr(r,i),s);case lt:if(s=i.children,r=r._context,i=i.value,o=r._currentValue,r._currentValue=i,kt=i={parent:l=kt,depth:null===l?0:l.depth+1,context:r,parentValue:o,value:i},t.context=i,gr(e,t,s),null===(e=kt))throw Error(a(403));return i=e.parentValue,e.context._currentValue=i===vt?e.context._defaultValue:i,e=kt=e.parent,void(t.context=e);case ct:return void gr(e,t,i=(i=i.children)(r._currentValue));case ht:return void mr(e,t,r=(s=r._init)(r._payload),i=hr(r,i),void 0)}throw Error(a(130,null==r?r:typeof r,""))}switch(o=function(e,t,r,i,s){switch(t){case"select":e.push(ae("select"));var o=null,l=null;for(f in r)if(h.call(r,f)){var c=r[f];if(null!=c)switch(f){case"children":o=c;break;case"dangerouslySetInnerHTML":l=c;break;case"defaultValue":case"value":break;default:$(e,i,f,c)}}return e.push(J),Y(e,l,o),o;case"option":l=s.selectedValue,e.push(ae("option"));var u=c=null,d=null,f=null;for(o in r)if(h.call(r,o)){var m=r[o];if(null!=m)switch(o){case"children":c=m;break;case"selected":d=m;break;case"dangerouslySetInnerHTML":f=m;break;case"value":u=m;default:$(e,i,o,m)}}if(null!=l)if(r=null!==u?""+u:function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(c),T(l)){for(i=0;i<l.length;i++)if(""+l[i]===r){e.push(K);break}}else""+l===r&&e.push(K);else d&&e.push(K);return e.push(J),Y(e,f,c),c;case"textarea":for(c in e.push(ae("textarea")),f=l=o=null,r)if(h.call(r,c)&&null!=(u=r[c]))switch(c){case"children":f=u;break;case"value":o=u;break;case"defaultValue":l=u;break;case"dangerouslySetInnerHTML":throw Error(a(91));default:$(e,i,c,u)}if(null===o&&null!==l&&(o=l),e.push(J),null!=f){if(null!=o)throw Error(a(92));if(T(f)&&1<f.length)throw Error(a(93));o=""+f}return"string"==typeof o&&"\n"===o[0]&&e.push(te),null!==o&&e.push(p(A(""+o))),null;case"input":for(l in e.push(ae("input")),u=f=c=o=null,r)if(h.call(r,l)&&null!=(d=r[l]))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(a(399,"input"));case"defaultChecked":u=d;break;case"defaultValue":c=d;break;case"checked":f=d;break;case"value":o=d;break;default:$(e,i,l,d)}return null!==f?$(e,i,"checked",f):null!==u&&$(e,i,"checked",u),null!==o?$(e,i,"value",o):null!==c&&$(e,i,"value",c),e.push(Z),null;case"menuitem":for(var g in e.push(ae("menuitem")),r)if(h.call(r,g)&&null!=(o=r[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(a(400));default:$(e,i,g,o)}return e.push(J),null;case"title":for(m in e.push(ae("title")),o=null,r)if(h.call(r,m)&&null!=(l=r[m]))switch(m){case"children":o=l;break;case"dangerouslySetInnerHTML":throw Error(a(434));default:$(e,i,m,l)}return e.push(J),o;case"listing":case"pre":for(u in e.push(ae(t)),l=o=null,r)if(h.call(r,u)&&null!=(c=r[u]))switch(u){case"children":o=c;break;case"dangerouslySetInnerHTML":l=c;break;default:$(e,i,u,c)}if(e.push(J),null!=l){if(null!=o)throw Error(a(60));if("object"!=typeof l||!("__html"in l))throw Error(a(61));null!=(r=l.__html)&&("string"==typeof r&&0<r.length&&"\n"===r[0]?e.push(te,p(r)):e.push(p(""+r)))}return"string"==typeof o&&"\n"===o[0]&&e.push(te),o;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var y in e.push(ae(t)),r)if(h.call(r,y)&&null!=(o=r[y]))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(a(399,t));default:$(e,i,y,o)}return e.push(Z),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ee(e,r,t,i);case"html":return 0===s.insertionMode&&e.push(ie),ee(e,r,t,i);default:if(-1===t.indexOf("-")&&"string"!=typeof r.is)return ee(e,r,t,i);for(d in e.push(ae(t)),l=o=null,r)if(h.call(r,d)&&null!=(c=r[d]))switch(d){case"children":o=c;break;case"dangerouslySetInnerHTML":l=c;break;case"style":W(e,i,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(d)&&"function"!=typeof c&&"symbol"!=typeof c&&e.push(q,p(d),U,p(A(c)),X)}return e.push(J),Y(e,l,o),o}}((s=t.blockedSegment).chunks,r,i,e.responseState,s.formatContext),s.lastPushedText=!1,l=s.formatContext,s.formatContext=function(e,t,r){switch(t){case"select":return V(1,null!=r.value?r.value:r.defaultValue);case"svg":return V(2,null);case"math":return V(3,null);case"foreignObject":return V(1,null);case"table":return V(4,null);case"thead":case"tbody":case"tfoot":return V(5,null);case"colgroup":return V(7,null);case"tr":return V(6,null)}return 4<=e.insertionMode||0===e.insertionMode?V(1,null):e}(l,r,i),vr(e,t,o),s.formatContext=l,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.chunks.push(se,p(r),oe)}s.lastPushedText=!1}}function gr(e,t,r){if(t.node=r,"object"==typeof r&&null!==r){switch(r.$$typeof){case nt:return void mr(e,t,r.type,r.props,r.ref);case at:throw Error(a(257));case ht:var n=r._init;return void gr(e,t,r=n(r._payload))}if(T(r))return void yr(e,t,r);if((n=null===r||"object"!=typeof r?null:"function"==typeof(n=bt&&r[bt]||r["@@iterator"])?n:null)&&(n=n.call(r))){if(!(r=n.next()).done){var i=[];do{i.push(r.value),r=n.next()}while(!r.done);yr(e,t,i)}return}throw e=Object.prototype.toString.call(r),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(r).join(", ")+"}":e))}"string"==typeof r?(n=t.blockedSegment).lastPushedText=B(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText):"number"==typeof r&&((n=t.blockedSegment).lastPushedText=B(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function yr(e,t,r){for(var n=r.length,a=0;a<n;a++){var i=t.treeContext;t.treeContext=Dt(i,n,a);try{vr(e,t,r[a])}finally{t.treeContext=i}}}function vr(e,t,r){var n=t.blockedSegment.formatContext,a=t.legacyContext,i=t.context;try{return gr(e,t,r)}catch(l){if(Jt(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=n,t.legacyContext=a,t.context=i,Tt(i),l;r=l;var s=t.blockedSegment,o=cr(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(o),s.lastPushedText=!1,e=lr(e,t.node,t.blockedBoundary,o,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=a,t.context=i,Tt(i)}}function br(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,Er(this,t,e)}function xr(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,null===n?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=void 0===r?Error(a(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach((function(e){return xr(e,t,r)})),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(n=t.onAllReady)())}function wr(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1===r.status&&wr(e,r)}else e.completedSegments.push(t)}function Er(e,t,r){if(null===t){if(r.parentFlushed){if(null!==e.completedRootSegment)throw Error(a(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=or,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(r.parentFlushed&&1===r.status&&wr(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(br,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&1===r.status&&(wr(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function kr(e){if(2!==e.status){var t=kt,r=ir.current;ir.current=nr;var n=ar;ar=e.responseState;try{var a,i=e.pingedTasks;for(a=0;a<i.length;a++){var s=i[a],o=e,l=s.blockedSegment;if(0===l.status){Tt(s.context);try{gr(o,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(N),s.abortSet.delete(s),l.status=1,Er(o,s.blockedBoundary,l)}catch(e){if(Jt(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=ur(o,p);null===u?pr(o,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&o.clientRenderedBoundaries.push(u))),o.allPendingTasks--,0===o.allPendingTasks&&(0,o.onAllReady)()}}}}i.splice(0,a),null!==e.destination&&Tr(e,e.destination)}catch(t){ur(e,t),pr(e,t)}finally{ar=n,ir.current=r,r===nr&&Tt(t)}}}function Sr(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,o(t,le),o(t,e.placeholderPrefix),o(t,e=p(n.toString(16))),l(t,ce);case 1:r.status=2;var i=!0;n=r.chunks;var s=0;r=r.children;for(var c=0;c<r.length;c++){for(i=r[c];s<i.index;s++)o(t,n[s]);i=Cr(e,t,i)}for(;s<n.length-1;s++)o(t,n[s]);return s<n.length&&(i=l(t,n[s])),i;default:throw Error(a(390))}}function Cr(e,t,r){var n=r.boundary;if(null===n)return Sr(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,l(t,fe),o(t,me),n&&(o(t,ye),o(t,p(A(n))),o(t,ge)),l(t,ve),Sr(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var i=e.responseState,s=i.nextSuspenseID++;i=d(i.boundaryPrefix+s.toString(16)),n=n.id=i,be(t,e.responseState,n),Sr(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),be(t,e.responseState,n.id),Sr(e,t,r);else{if(l(t,ue),1!==(r=n.completedSegments).length)throw Error(a(391));Cr(e,t,r[0])}return l(t,he)}function Ar(e,t,r){return function(e,t,r,n){switch(r.insertionMode){case 0:case 1:return o(e,xe),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,we);case 2:return o(e,ke),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Se);case 3:return o(e,Ae),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,_e);case 4:return o(e,Te),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Ie);case 5:return o(e,Me),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,De);case 6:return o(e,Le),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Oe);case 7:return o(e,Ne),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Be);default:throw Error(a(397))}}(t,e.responseState,r.formatContext,r.id),Cr(e,t,r),function(e,t){switch(t.insertionMode){case 0:case 1:return l(e,Ee);case 2:return l(e,Ce);case 3:return l(e,Pe);case 4:return l(e,Fe);case 5:return l(e,Re);case 6:return l(e,Ve);case 7:return l(e,je);default:throw Error(a(397))}}(t,r.formatContext)}function _r(e,t,r){for(var n=r.completedSegments,i=0;i<n.length;i++)Pr(e,t,r,n[i]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,o(t,e.startInlineScript),e.sentCompleteBoundaryFunction?o(t,Ue):(e.sentCompleteBoundaryFunction=!0,o(t,qe)),null===n)throw Error(a(395));return r=p(r.toString(16)),o(t,n),o(t,Xe),o(t,e.segmentPrefix),o(t,r),l(t,Qe)}function Pr(e,t,r,n){if(2===n.status)return!0;var i=n.id;if(-1===i){if(-1===(n.id=r.rootSegmentID))throw Error(a(392));return Ar(e,t,n)}return Ar(e,t,n),o(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?o(t,He):(e.sentCompleteSegmentFunction=!0,o(t,ze)),o(t,e.segmentPrefix),o(t,i=p(i.toString(16))),o(t,Ge),o(t,e.placeholderPrefix),o(t,i),l(t,We)}function Tr(e,t){i=new Uint8Array(512),s=0;try{var r=e.completedRootSegment;if(null!==r&&0===e.pendingRootTasks){Cr(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)o(t,n[r]);r<n.length&&l(t,n[r])}var u,d=e.clientRenderedBoundaries;for(u=0;u<d.length;u++){var f=d[u];n=t;var h=e.responseState,m=f.id,g=f.errorDigest,y=f.errorMessage,v=f.errorComponentStack;if(o(n,h.startInlineScript),h.sentClientRenderFunction?o(n,Je):(h.sentClientRenderFunction=!0,o(n,$e)),null===m)throw Error(a(395));if(o(n,m),o(n,Ze),(g||y||v)&&(o(n,Ke),o(n,p(tt(g||"")))),(y||v)&&(o(n,Ke),o(n,p(tt(y||"")))),v&&(o(n,Ke),o(n,p(tt(v)))),!l(n,Ye))return e.destination=null,u++,void d.splice(0,u)}d.splice(0,u);var b=e.completedBoundaries;for(u=0;u<b.length;u++)if(!_r(e,t,b[u]))return e.destination=null,u++,void b.splice(0,u);b.splice(0,u),c(t),i=new Uint8Array(512),s=0;var x=e.partialBoundaries;for(u=0;u<x.length;u++){var w=x[u];e:{d=e,f=t;var E=w.completedSegments;for(h=0;h<E.length;h++)if(!Pr(d,f,w,E[h])){h++,E.splice(0,h);var k=!1;break e}E.splice(0,h),k=!0}if(!k)return e.destination=null,u++,void x.splice(0,u)}x.splice(0,u);var S=e.completedBoundaries;for(u=0;u<S.length;u++)if(!_r(e,t,S[u]))return e.destination=null,u++,void S.splice(0,u);S.splice(0,u)}finally{c(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function Ir(e,t){try{var r=e.abortableTasks;r.forEach((function(r){return xr(r,e,t)})),r.clear(),null!==e.destination&&Tr(e,e.destination)}catch(t){ur(e,t),pr(e,t)}}t.renderToReadableStream=function(e,t){return new Promise((function(r,n){var a,i,s=new Promise((function(e,t){i=e,a=t})),o=function(e,t,r,n,a,i,s,o,l){var c=[],u=new Set;return(r=cr(t={destination:null,responseState:t,progressiveChunkSize:void 0===n?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===a?sr:a,onAllReady:void 0===i?or:i,onShellReady:void 0===s?or:s,onShellError:void 0===o?or:o,onFatalError:void 0===l?or:l},0,null,r,!1,!1)).parentFlushed=!0,e=lr(t,e,null,r,u,wt,null,Mt),c.push(e),t}(e,function(e,t,r,n,a){e=void 0===e?"":e,t=void 0===t?I:d('<script nonce="'+A(t)+'">');var i=[];if(void 0!==r&&i.push(t,p((""+r).replace(L,O)),F),void 0!==n)for(r=0;r<n.length;r++)i.push(M,p(A(n[r])),R);if(void 0!==a)for(n=0;n<a.length;n++)i.push(D,p(A(a[n])),R);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:d(e+"P:"),segmentPrefix:d(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return V("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===o.status)o.status=2,f(e,o.fatalError);else if(2!==o.status&&null===o.destination){o.destination=e;try{Tr(o,e)}catch(e){ur(o,e),pr(o,e)}}},cancel:function(){Ir(o)}},{highWaterMark:0});e.allReady=s,r(e)}),(function(e){s.catch((function(){})),n(e)}),a);if(t&&t.signal){var l=t.signal,c=function(){Ir(o,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}kr(o)}))},t.version="18.2.0"},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case i:case o:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case a:return t}}}function E(e){return w(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=o,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===o},t.isStrictMode=function(e){return w(e)===s},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},3142:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>a.A,unstable_applyStyles:()=>i.A});var n=r(8749),a=r(8094),i=r(8336)},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},3451:(e,t,r)=>{"use strict";r.d(t,{J:()=>h});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=r(6289),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,o=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,a.A)((function(e){return o(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,r){return d={name:t,styles:r,next:d},t}))}return 1===n[e]||o(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return d={name:r.name,styles:r.styles,next:d},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)d={name:n.name,styles:n.styles,next:d},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=p(e,t,r[a])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":l(s)&&(n+=c(i)+":"+u(i,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var o=p(e,t,s);switch(i){case"animation":case"animationName":n+=c(i)+":"+o+";";break;default:n+=i+"{"+o+"}"}}else for(var d=0;d<s.length;d++)l(s[d])&&(n+=c(i)+":"+u(i,s[d])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=d,i=r(e);return d=a,p(e,t,i)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var d,f=/label:\s*([^\s;\n{]+)\s*(;|$)/g,h=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";d=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,a+=p(r,t,i)):a+=i[0];for(var s=1;s<e.length;s++)a+=p(r,t,e[s]),n&&(a+=i[s]);f.lastIndex=0;for(var o,l="";null!==(o=f.exec(a));)l+="-"+o[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+l;return{name:c,styles:a,next:d}}},3571:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(8659),a=r(4620),i=r(6481),s=r(9452),o=r(4188);function l(){function e(e,t,r,a){const o={[e]:t,theme:r},l=a[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:p,style:d}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.Yn)(r,u)||{};return d?d(o):(0,s.NI)(o,t,(t=>{let r=(0,i.BO)(f,p,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(f,p,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:i,theme:l={}}=r||{};if(!i)return null;const c=null!=(n=l.unstable_sxConfig)?n:o.A;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,s.EU)(l.breakpoints),o=Object.keys(i);let u=i;return Object.keys(n).forEach((r=>{const i="function"==typeof(o=n[r])?o(l):o;var o;if(null!=i)if("object"==typeof i)if(c[r])u=(0,a.A)(u,e(r,i,l,c));else{const e=(0,s.NI)({theme:l},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,i)?u=(0,a.A)(u,e):u[r]=t({sx:i,theme:l})}else u=(0,a.A)(u,e(r,i,l,c))})),(0,s.vf)(o,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},3857:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>a.A,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>i.A});var n=r(3571),a=r(9599),i=r(4188)},3885:(e,t,r)=>{"use strict";e.exports=r(9844)()},4073:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>k,StyledEngineProvider:()=>E,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>S,internal_processStyles:()=>C,keyframes:()=>v.i7});var n=r(8168),a=r(1609),i=r(6289),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(0,i.A)((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=r(5684),c=r(41),u=r(3451),p=r(1287),d=o,f=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:f},m=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,p.s)((function(){return(0,c.sk)(t,r,n)})),null},y=function e(t,r){var i,s,o=t.__emotion_real===t,p=o&&t.__emotion_base||t;void 0!==r&&(i=r.label,s=r.target);var d=m(t,r,o),f=d||h(p),y=!f("as");return function(){var v=arguments,b=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,w=1;w<x;w++)b.push(v[w],v[0][w])}var E=(0,l.w)((function(e,t,r){var n=y&&e.as||p,i="",o=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=a.useContext(l.T)}"string"==typeof e.className?i=(0,c.Rk)(t.registered,o,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.J)(b.concat(o),t.registered,m);i+=t.key+"-"+x.name,void 0!==s&&(i+=" "+s);var w=y&&void 0===d?h(n):f,E={};for(var k in e)y&&"as"===k||w(k)&&(E[k]=e[k]);return E.className=i,E.ref=r,a.createElement(a.Fragment,null,a.createElement(g,{cache:t,serialized:x,isStringTag:"string"==typeof n}),a.createElement(n,E))}));return E.displayName=void 0!==i?i:"Styled("+("string"==typeof p?p:p.displayName||p.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=p,E.__emotion_styles=b,E.__emotion_forwardProp=d,Object.defineProperty(E,"toString",{value:function(){return"."+s}}),E.withComponent=function(t,a){return e(t,(0,n.A)({},r,a,{shouldForwardProp:m(E,a,!0)})).apply(void 0,b)},E}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){y[e]=y(e)}));var v=r(7437),b=r(4300),x=r(4848);let w;function E(e){const{injectFirst:t,children:r}=e;return t&&w?(0,x.jsx)(l.C,{value:w,children:r}):r}function k(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,x.jsx)(v.mL,{styles:n})}function S(e,t){return y(e,t)}"object"==typeof document&&(w=(0,b.A)({key:"css",prepend:!0}));const C=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},4146:(e,t,r)=>{"use strict";var n=r(3404),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return n.isMemo(e)?s:o[e.$$typeof]||a}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var a=f(r);a&&a!==h&&e(t,a,n)}var s=u(r);p&&(s=s.concat(p(r)));for(var o=l(t),m=l(r),g=0;g<s.length;++g){var y=s[g];if(!(i[y]||n&&n[y]||m&&m[y]||o&&o[y])){var v=d(r,y);try{c(t,y,v)}catch(e){}}}}return t}},4188:(e,t,r)=>{"use strict";r.d(t,{A:()=>R});var n=r(8248),a=r(6481),i=r(4620);const s=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};var o=r(9452);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,a.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),p=c("borderTop",l),d=c("borderRight",l),f=c("borderBottom",l),h=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),E=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,o.NI)(e,e.borderRadius,r)}return null};E.propTypes={},E.filterProps=["borderRadius"],s(u,p,d,f,h,m,g,y,v,b,E,x,w);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,o.NI)(e,e.gap,r)}return null};k.propTypes={},k.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,o.NI)(e,e.columnGap,r)}return null};S.propTypes={},S.filterProps=["columnGap"];const C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,o.NI)(e,e.rowGap,r)}return null};function A(e,t){return"grey"===t?t:e}function _(e){return e<=1&&0!==e?100*e+"%":e}C.propTypes={},C.filterProps=["rowGap"],s(k,S,C,(0,a.Ay)({prop:"gridColumn"}),(0,a.Ay)({prop:"gridRow"}),(0,a.Ay)({prop:"gridAutoFlow"}),(0,a.Ay)({prop:"gridAutoColumns"}),(0,a.Ay)({prop:"gridAutoRows"}),(0,a.Ay)({prop:"gridTemplateColumns"}),(0,a.Ay)({prop:"gridTemplateRows"}),(0,a.Ay)({prop:"gridTemplateAreas"}),(0,a.Ay)({prop:"gridArea"})),s((0,a.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,a.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,a.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));const P=(0,a.Ay)({prop:"width",transform:_}),T=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const a=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||o.zu[t];return a?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:_(t)}};return(0,o.NI)(e,e.maxWidth,t)}return null};T.filterProps=["maxWidth"];const I=(0,a.Ay)({prop:"minWidth",transform:_}),F=(0,a.Ay)({prop:"height",transform:_}),M=(0,a.Ay)({prop:"maxHeight",transform:_}),D=(0,a.Ay)({prop:"minHeight",transform:_}),R=((0,a.Ay)({prop:"size",cssProperty:"width",transform:_}),(0,a.Ay)({prop:"size",cssProperty:"height",transform:_}),s(P,T,I,F,M,D,(0,a.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:E},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:C},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:T},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},4300:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),a=Math.abs,i=String.fromCharCode,s=Object.assign;function o(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,y=0,v=0,b=0,x="";function w(e,t,r,n,a,i,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:m,column:g,length:s,return:""}}function E(e,t){return s(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=v>0?u(x,--v):0,g--,10===b&&(g=1,m--),b}function S(){return b=v<y?u(x,v++):0,g++,10===b&&(g=1,m++),b}function C(){return u(x,v)}function A(){return v}function _(e,t){return p(x,e,t)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return m=g=1,y=d(x=e),v=0,[]}function I(e){return x="",e}function F(e){return o(_(v-1,R(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=C())&&b<33;)S();return P(e)>2||P(b)>3?"":" "}function D(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return _(e,A()+(t<6&&32==C()&&32==S()))}function R(e){for(;S();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:S()}return v}function L(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+_(t,v-1)+"*"+i(47===e?e:S())}function O(e){for(;!P(C());)S();return _(e,v)}var V="-ms-",N="-moz-",B="-webkit-",j="comm",z="rule",H="decl",G="@keyframes";function W(e,t){for(var r="",n=f(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case j:return"";case G:return e.return=e.value+"{"+W(e.children,n)+"}";case z:e.value=e.props.join(",")}return d(r=W(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return I(X("",null,null,null,[""],e=T(e),0,[0],e))}function X(e,t,r,n,a,s,o,p,f){for(var m=0,g=0,y=o,v=0,b=0,x=0,w=1,E=1,_=1,P=0,T="",I=a,R=s,V=n,N=T;E;)switch(x=P,P=S()){case 40:if(108!=x&&58==u(N,y-1)){-1!=c(N+=l(F(P),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:N+=F(P);break;case 9:case 10:case 13:case 32:N+=M(x);break;case 92:N+=D(A()-1,7);continue;case 47:switch(C()){case 42:case 47:h($(L(S(),A()),t,r),f);break;default:N+="/"}break;case 123*w:p[m++]=d(N)*_;case 125*w:case 59:case 0:switch(P){case 0:case 125:E=0;case 59+g:-1==_&&(N=l(N,/\f/g,"")),b>0&&d(N)-y&&h(b>32?J(N+";",n,r,y-1):J(l(N," ","")+";",n,r,y-2),f);break;case 59:N+=";";default:if(h(V=Q(N,t,r,m,g,a,p,T,I=[],R=[],y),s),123===P)if(0===g)X(N,t,V,V,I,s,y,p,R);else switch(99===v&&110===u(N,3)?100:v){case 100:case 108:case 109:case 115:X(e,V,V,n&&h(Q(e,V,V,0,0,a,p,T,a,I=[],y),R),a,R,y,p,n?I:R);break;default:X(N,V,V,V,[""],R,0,p,R)}}m=g=b=0,w=_=1,T=N="",y=o;break;case 58:y=1+d(N),b=x;default:if(w<1)if(123==P)--w;else if(125==P&&0==w++&&125==k())continue;switch(N+=i(P),P*w){case 38:_=g>0?1:(N+="\f",-1);break;case 44:p[m++]=(d(N)-1)*_,_=1;break;case 64:45===C()&&(N+=F(S())),v=C(),g=y=d(T=N+=O(A())),P++;break;case 45:45===x&&2==d(N)&&(w=0)}}return s}function Q(e,t,r,n,i,s,c,u,d,h,m){for(var g=i-1,y=0===i?s:[""],v=f(y),b=0,x=0,E=0;b<n;++b)for(var k=0,S=p(e,g+1,g=a(x=c[b])),C=e;k<v;++k)(C=o(x>0?y[k]+" "+S:l(S,/&\f/g,y[k])))&&(d[E++]=C);return w(e,t,r,0===i?z:u,d,h,m)}function $(e,t,r){return w(e,t,r,j,i(b),p(e,2,-2),0)}function J(e,t,r,n){return w(e,t,r,H,p(e,0,n),p(e,n+1,-1),n)}var Z=function(e,t,r){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(t[r]=1),!P(a);)S();return _(e,v)},Y=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Y.get(r))&&!n){Y.set(e,!0);for(var a=[],s=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(P(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=Z(v-1,t,r);break;case 2:e[r]+=F(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=S());return e}(T(e),t))}(t,a),o=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<o.length;u++,c++)e.props[c]=a[l]?s[l].replace(/&\f/g,o[u]):o[u]+" "+s[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+N+e+V+e+e;case 6828:case 4268:return B+e+V+e+e;case 6165:return B+e+V+"flex-"+e+e;case 5187:return B+e+l(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return B+e+V+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return B+e+V+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+V+l(e,"shrink","negative")+e;case 5292:return B+e+V+l(e,"basis","preferred-size")+e;case 6060:return B+"box-"+l(e,"-grow","")+B+e+V+l(e,"grow","positive")+e;case 4554:return B+l(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+N+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+B)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===u(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return B+e+V+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+V+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+V+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+V+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case G:return W([E(e,{value:l(e.value,"@","@"+B)})],n);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return W([E(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return W([E(e,{props:[l(t,/:(plac\w+)/,":"+B+"input-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,V+"input-$1")]})],n)}return""}))}}],ne=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a,i,s=e.stylisPlugins||re,o={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)o[t[r]]=!0;l.push(e)}));var c,u,p,d,h=[q,(d=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(u=[K,ee].concat(s,h),p=f(u),function(e,t,r,n){for(var a="",i=0;i<p;i++)a+=u[i](e,t,r,n)||"";return a});i=function(e,t,r,n){c=r,W(U(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:i};return g.sheet.hydrate(l),g}},4363:(e,t,r)=>{"use strict";e.exports=r(2799)},4521:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,Q:()=>a});var n=r(8168);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!a(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=i(e[r])})),t}function s(e,t,r={clone:!0}){const o=r.clone?(0,n.A)({},e):e;return a(e)&&a(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(a(t[n])&&n in e&&a(e[n])?o[n]=s(e[n],t[n],r):r.clone?o[n]=a(t[n])?i(t[n]):t[n]:o[n]=t[n])})),o}},4620:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(4521);const a=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},4634:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4848:(e,t,r)=>{"use strict";e.exports=r(1020)},4893:e=>{e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},4966:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(6937)},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5095:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,a,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(a=n;0!=a--;)if(!e(t[a],r[a]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(a of t.entries())if(!r.has(a[0]))return!1;for(a of t.entries())if(!e(a[1],r.get(a[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(a of t.entries())if(!r.has(a[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((n=t.length)!=r.length)return!1;for(a=n;0!=a--;)if(t[a]!==r[a])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(a=n;0!=a--;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return!1;for(a=n;0!=a--;){var s=i[a];if(!("_owner"===s&&t.$$typeof||e(t[s],r[s])))return!1}return!0}return t!=t&&r!=r}},5684:(e,t,r)=>{"use strict";r.d(t,{C:()=>o,T:()=>c,i:()=>i,w:()=>l});var n=r(1609),a=r(4300),i=(r(3451),r(1287),!0),s=n.createContext("undefined"!=typeof HTMLElement?(0,a.A)({key:"css"}):null),o=s.Provider,l=function(e){return(0,n.forwardRef)((function(t,r){var a=(0,n.useContext)(s);return e(t,a,r)}))};i||(l=function(e){return function(t){var r=(0,n.useContext)(s);return null===r?(r=(0,a.A)({key:"css"}),n.createElement(s.Provider,{value:r},e(t,r))):e(t,r)}});var c=n.createContext({})},5697:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{A:()=>n})},5848:(e,t,r)=>{"use strict";var n,a;n=r(7633),a=r(2911),n.version,t.F0=n.renderToString,n.renderToStaticMarkup,n.renderToNodeStream,n.renderToStaticNodeStream,a.renderToReadableStream},6289:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},6461:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:y((0,a.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,s.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:f,skipVariantsResolver:m,skipSx:x,overridesResolver:w=v(g(f))}=c,E=(0,i.default)(c,d),k=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,S=x||!1;let C=h;"Root"===f||"root"===f?C=n:f?C=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(C=void 0);const A=(0,s.default)(e,(0,a.default)({shouldForwardProp:C,label:void 0},E)),_=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?n=>b(e,(0,a.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,P=(n,...i)=>{let s=_(n);const o=i?i.map(_):[];p&&w&&o.push((e=>{const n=y((0,a.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;const i=n.components[p].styleOverrides,s={};return Object.entries(i).forEach((([t,r])=>{s[t]=b(r,(0,a.default)({},e,{theme:n}))})),w(e,s)})),p&&!k&&o.push((e=>{var n;const i=y((0,a.default)({},e,{defaultTheme:r,themeId:t}));return b({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,a.default)({},e,{theme:i}))})),S||o.push(u);const l=o.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");s=[...n,...e],s.raw=[...n.raw,...e]}const c=A(s,...o);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(P.withConfig=A.withConfig),P}};var a=n(r(4634)),i=n(r(4893)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(4073)),o=r(819),l=(n(r(8217)),n(r(1172)),n(r(3142))),c=n(r(3857));const u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function v(e){return e?(t,r)=>r[e]:null}function b(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u);const s="function"==typeof e?e((0,a.default)({ownerState:r},n)):e;if(Array.isArray(s))return s.flatMap((e=>b(e,(0,a.default)({ownerState:r},n))));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,i.default)(s,p);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,a.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,a.default)({ownerState:r},n,r)):e.style))})),t}return s}},6481:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>o,BO:()=>s,Yn:()=>i});var n=r(8659),a=r(9452);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function s(e,t,r,n=r){let a;return a="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(a=t(a,n,e)),a}const o=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,o)||{};return(0,a.NI)(e,c,(e=>{let a=s(u,l,e);return e===a&&"string"==typeof e&&(a=s(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?a:{[r]:a}}))};return c.propTypes={},c.filterProps=[t],c}},6937:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},6942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},6997:(e,t,r)=>{(()=>{var t={820:(e,t,r)=>{var n=r(314),a=r(883);(t=n(!1)).i(a),t.push([e.id,".stc-button{margin:0;padding:0 10px;cursor:pointer;border-width:1px;white-space:nowrap;border-style:solid;text-decoration:none;display:inline-block;box-sizing:border-box;-webkit-appearance:none;color:var(--stc-color-white);font-size:var(--stc-font-size-xs);border-color:var(--stc-color-accent);min-height:var(--stc-font-line-height-l);border-radius:var(--stc-border-radius-3);background-color:var(--stc-color-accent)}.stc-button:hover,.stc-button:focus{border-color:var(--stc-color-accent-hover);background-color:var(--stc-color-accent-hover)}",""]),e.exports=t},283:(e,t,r)=>{var n=r(314),a=r(883);(t=n(!1)).i(a),t.push([e.id,".stc-category-list{display:flex}.stc-category-list-item{display:flex;cursor:pointer;padding:0px 10px;align-items:center;justify-content:space-between;color:rgba(49,42,64,.7)}.stc-category-list-item:hover .stc-category-list-title,.stc-category-list-item.active .stc-category-list-title{color:var(--stc-color-heading)}.stc-category-list-more{--stc-toggle-dropdown-selected-background: transparent;--stc-toggle-dropdown-popup-min-width: 220px;--stc-toggle-dropdown-popup-item-padding: 5px 17px;--stc-toggle-dropdown-popup-padding: 10px 0;--stc-toggle-dropdown-border-color: transparent;--stc-toggle-dropdown-selected-padding: 0;--stc-toggle-dropdown-popup-left: calc( 100% - var( --stc-toggle-dropdown-popup-min-width ) )}",""]),e.exports=t},632:(e,t,r)=>{var n=r(314),a=r(883);(t=n(!1)).i(a),t.push([e.id,'@keyframes stc-visible{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible}}.stc-grid-wrap{display:grid;grid-gap:2.5rem}.stc-grid-wrap.grid-1{grid-template-columns:repeat(1, 1fr)}.stc-grid-wrap.grid-2{grid-template-columns:repeat(2, 1fr)}.stc-grid-wrap.grid-3{grid-template-columns:repeat(3, 1fr)}.stc-grid-wrap.grid-4{grid-template-columns:repeat(4, 1fr)}.stc-grid-wrap.grid-5{grid-template-columns:repeat(5, 1fr)}.stc-grid-wrap.grid-6{grid-template-columns:repeat(6, 1fr)}.stc-grid-item-header{display:flex;align-items:center;justify-content:space-between;padding:16px 25px;border-top:1px solid #e9e9e9;position:absolute;bottom:0;width:100%;background-color:var(--stc-color-white);flex-direction:row;flex-wrap:nowrap}.stc-grid-item-title{margin:15px 0;text-align:center;color:var(--stc-color-body);font-size:var(--stc-font-size-m);font-weight:var(--stc-font-weight-bold);line-height:var(--stc-font-line-height-s)}.stc-grid-item{cursor:pointer;height:30vw}.stc-grid-item:hover .stc-grid-item-hover-button-wrap{animation:stc-visible .2s linear forwards}.stc-grid-item-screenshot{display:block;cursor:pointer;overflow:hidden;position:relative;background-size:100%;background-repeat:no-repeat;background-position:center top;background-color:var(--stc-background-secondary);border-top-left-radius:var(--stc-border-radius-2);border-top-right-radius:var(--stc-border-radius-2)}.stc-grid-item-screenshot:after{content:"";display:block;padding-top:118%}.stc-grid-site-screenshot{max-width:100%;background-color:var(--stc-background-secondary);border-top-left-radius:var(--stc-border-radius-2);border-top-right-radius:var(--stc-border-radius-2)}.stc-grid-item-inner{margin:0;max-height:100%;overflow:hidden;position:relative;transition:all .15s;box-sizing:border-box;background:var(--stc-color-white);border-radius:var(--stc-border-radius-5);border:1px solid var(--stc-color-light-gray)}.stc-grid-item-inner:hover{box-shadow:0 6px 14px rgba(0,0,0,.12)}.stc-grid-item-badge{background:#ffc107;color:#000;padding:4px 12px;font-size:var(--stc-font-size-xxs);top:0px;right:0px;text-transform:uppercase;position:absolute;z-index:1;border-radius:var(--stc-border-radius-2);font-weight:var(--stc-font-weight-extra-bold);letter-spacing:.3px}.stc-grid-favorite svg{width:16px;height:16px;cursor:pointer}.stc-grid-favorite svg path{fill:var(--stc-color-placeholder)}.stc-grid-favorite svg:hover path,.stc-grid-favorite.active svg path{fill:var(--stc-color-favorite)}.stc-grid-item-hover-button-wrap{display:flex;align-items:center;justify-content:center;position:absolute;left:0;background:var(--stc-background-primary);width:100%;height:auto;visibility:hidden;opacity:0}.stc-grid-item-hover-button{padding:7px 42px;background:var(--stc-color-accent);font-size:var(--stc-font-size-s);font-weight:var(--stc-font-weight-extra-bold);color:var(--stc-color-white);line-height:24px;text-decoration:none !important;border-radius:var(--stc-border-radius-4);box-shadow:0px 10px 10px -5px rgba(86,74,151,.5) !important}.stc-grid-item-hover-button:hover{background:var(--stc-color-accent-hover);color:var(--stc-color-white)}.stc-grid-item-hover-button-wrapper{justify-content:center;position:absolute;left:0;background:transparent;width:100%;height:auto;visibility:hidden;opacity:0;top:35%;bottom:50%;font-weight:600;font-size:16px;line-height:24px;align-items:center;text-align:center;z-index:3}.st-template-page-builder-wrap{display:flex;align-content:center;justify-content:center;align-items:center}.st-template-page-builder-wrap span:last-of-type{display:flex;align-items:center;padding-left:20px}.st-template-page-builder-wrap span>svg{width:25px;height:auto;margin:5px;border-radius:50%}.st-template-page-builder-wrap span>svg:last-of-type{margin-right:0}.stc-grid-item-screenshot-wrap{position:relative}.stc-grid-item-blur{background:rgba(255,255,255,.8);z-index:2;position:absolute;inset:0;opacity:0;transition:opacity 150ms linear}@media(max-width: 1280px){.stc-grid-item{height:45vw}}@media(max-width: 991px){.stc-grid-item{height:60vw}}@media(max-width: 767px){.stc-grid-item{height:120vw}}',""]),e.exports=t},664:(e,t,r)=>{var n=r(314),a=r(883);(t=n(!1)).i(a),t.push([e.id,".stc-logo{display:flex;align-items:center}.stc-logo-image{width:var(--stc-logo-width, 34px);height:var(--stc-logo-height, 34px);border-radius:var(--stc-logo-border-raidus, 0)}.stc-logo-text{margin-left:8px;color:var(--stc-color-body);font-size:var(--stc-font-size-xs);font-weight:var(--stc-font-weight-normal);line-height:var(--stc-font-line-height-xs)}",""]),e.exports=t},690:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-mega-menu-wrap{text-align:left}.stc-mega-menu-toggle{background:var(--stc-color-white);border:1px solid var(--stc-border-color);border-radius:var(--stc-border-radius-2);fill:var(--stc-color-placeholder);padding:10px 13px;box-sizing:border-box;cursor:pointer;display:none}.stc-mega-menu-group,.stc-mega-menu-more-group{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:18px 22px 22px 22px;left:-22px;z-index:9;display:flex;flex-wrap:wrap;margin:var(--stc-mega-menu-group-margin, 0)}.stc-mega-menu-group.stc-mega-menu-group-two-col,.stc-mega-menu-more-group.stc-mega-menu-group-two-col{width:400px}.stc-mega-menu-item{position:relative;white-space:nowrap}.stc-mega-menu-item:hover>.stc-mega-menu-group,.stc-mega-menu-item:hover>.stc-mega-menu-more-group{visibility:visible;opacity:1}.stc-mega-menu-item:last-child{margin-right:0}.stc-mega-more-menu-section{position:relative;white-space:nowrap}.stc-mega-more-menu-section:hover>.stc-mega-menu-group{visibility:visible;opacity:1}.stc-mega-menu-section-title,.stc-mega-more-menu-section-title{font-weight:600;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);display:flex;align-items:center;color:var(--stc-color-heading);margin-bottom:6px}.stc-mega-menu-children{color:var(--stc-color-body);font-weight:normal;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs)}.stc-mega-menu-child-item{margin-bottom:6px;cursor:pointer;font-size:13px}.stc-mega-menu-child-item.stc-mega-menu-child-item-active,.stc-mega-menu-child-item:hover{color:var(--stc-color-accent-hover)}.stc-mega-menu-child-item:last-child{margin-bottom:0}.stc-mega-menu-item:hover>.stc-mega-menu-item-title,.stc-mega-menu-item-active>.stc-mega-menu-item-title{border-bottom-color:var(--stc-color-heading)}.stc-mega-menu-item-title{cursor:pointer;border-bottom:2px solid transparent;display:inline-block;font-size:15px;margin:var(--stc-mega-menu-item-title-margin, 0 20px 0 0);padding:var(--stc-mega-menu-item-title-padding, 0 0 20px 0)}.stc-mega-menu-item-title svg{width:10px;height:10px;fill:var(--stc-color-placeholder);margin-left:10px}.stc-mega-menu-item-title:hover svg{fill:var(--stc-color-heading)}.stc-mega-more-menu-item-title svg{transform:rotate(270deg)}.stc-mega-menu-item-active svg{fill:var(--stc-color-heading)}@media(min-width: 768px){.stc-mega-menu{display:flex;position:relative}.stc-mega-menu-group,.stc-mega-menu-more-group{position:absolute;top:100%;opacity:0;visibility:hidden;width:230px}.stc-mega-menu-more-group{width:192px;padding:4px;border-radius:6px;background:#fff;border:1px solid #d8dfe9;box-shadow:0px 10px 15px -3px #0000001A}.stc-mega-more-menu-section{padding:6px 8px 6px 10px;border-radius:4px}.stc-mega-more-menu-section:hover{background:#f6fafe;width:100%}.stc-mega-more-menu-section .stc-mega-more-menu-item-title{font-size:14px;line-height:20px}.stc-more-group{width:168px;border-radius:6px;background:#fff;border:1px solid #d8dfe9;box-shadow:0px 10px 15px -3px #0000001A;left:160px;top:-22px;padding:0}.stc-more-group .stc-mega-menu-section{border-bottom:1px solid #d8dfe9;width:100%}.stc-more-group .stc-mega-menu-section .stc-mega-menu-section-title,.stc-more-group .stc-mega-menu-section .stc-mega-menu-child-item{padding:6px 8px 6px 10px;border-radius:4px;margin-bottom:0px;font-size:14px;line-height:20px}.stc-mega-menu-group-col-2,.stc-mega-menu-group-col-3{width:400px}.stc-mega-menu-group-col-2 .stc-mega-menu-section,.stc-mega-menu-group-col-3 .stc-mega-menu-section{width:50%}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2){padding-bottom:20px}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(3),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(3){border-right:1px solid var(--stc-color-light-gray)}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding-left:25px}}@media(max-width: 767px){.stc-mega-menu-item-title{font-weight:var(--stc-font-weight-bold);font-size:var(--stc-font-size-m);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-heading);margin-bottom:8px;padding:0}.stc-mega-menu-section-title{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-s)}.stc-mega-menu-container{display:none}.stc-mega-menu-show .stc-mega-menu-container{display:block}.stc-mega-menu-toggle{display:inline-block}.stc-mega-menu-item-title svg{display:none}.stc-mega-menu-item{margin-bottom:38px}.stc-mega-menu-group{background:transparent;box-shadow:none;border-radius:initial;padding:0;margin:0;width:100%;flex-direction:column}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding:0}.stc-mega-menu-container{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:37px 45px;position:absolute;left:0;right:0;z-index:2;margin-top:15px;overflow-y:auto;height:50vh}.stc-mega-menu-section{width:100%;margin-bottom:15px}.stc-mega-menu-section:last-child{margin-bottom:0}}",""]),e.exports=t},974:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-sites-no-results{border-bottom:1px solid var(--stc-border-color);box-sizing:border-box;padding:var(--stc-sites-no-results-padding, 30px 30px 30px 0);text-align:left;background:var(--stc-background-secondary)}",""]),e.exports=t},140:(e,t,r)=>{var n=r(314),a=r(883);(t=n(!1)).i(a),t.push([e.id,".stc-search{display:inline-block;position:relative}.stc-search .stc-search-input{width:740px;padding:5px 15px;opacity:1;font-size:var(--stc-font-size-s);border:var(--stc-search-input-border, none);background:var(--stc-background-primary, #FFF);box-shadow:0px 10px 65px -10px rgba(0,0,0,.12);height:var(--stc-search-input-height, 50px)}.stc-search .stc-search-input:focus{outline:none;border:var(--stc-search-input--focus-border, none)}.stc-search .stc-search-input:hover,.stc-search .stc-search-input:active,.stc-search .stc-search-input:focus{box-shadow:0px 10px 65px -10px rgba(0,0,0,.12)}.stc-search .stc-search-input::-webkit-input-placeholder{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-xs)}.stc-search .stc-search-input::-webkit-search-cancel-button{display:none}.stc-search.stc-search-have-input .stc-search-input:focus+.stc-search-icon,.stc-search.stc-search-have-input .stc-search-input:hover+.stc-search-icon{--stc-search-icon-opacity: 0;--stc-search-icon-visibility: hidden}.stc-search-icon,.stc-cross-icon{top:0;bottom:0;padding:0;left:18px;border:none;line-height:0;position:absolute;background:var(--stc-search-icon-background, 0 0);color:var(--stc-color-light-gray);opacity:var(--stc-search-icon-opacity, 1);visibility:var(--stc-search-icon-visibility, visible)}.stc-search-icon:focus,.stc-search-icon:hover,.stc-cross-icon:focus,.stc-cross-icon:hover{background:transparent;box-shadow:none}.stc-search-icon svg,.stc-cross-icon svg{fill:var(--stc-color-placeholder)}.stc-search-icon svg{width:14px}.stc-cross-icon{display:none;cursor:pointer}.stc-search-have-input .stc-cross-icon{display:block}.stc-search-have-input .stc-search-icon{display:none}",""]),e.exports=t},123:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-mega-menu-filter{--stc-mega-menu-item-title-margin: 0px 20px -20px 0px;--stc-mega-menu-item-title-padding: 0px 0px 15px 0px;--stc-mega-menu-group-margin: 18px 0px 0px 0px}",""]),e.exports=t},278:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-suggestion-list{border:1px solid var(--stc-border-color);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-border-color);max-width:var(--stc-suggestion-list-max-width, 100%);text-align:var(--stc-suggestion-list-text-align, left);z-index:var(--stc-suggestion-list-z-index, 10);background:var(--stc-suggestion-list-background, var(--stc-color-white));position:var(--stc-suggestion-list-position, relative);left:var(--stc-suggestion-list-left, 0);right:var(--stc-suggestion-list-right, 0);border-radius:var(--stc-suggestion-list-border-radius, 0);padding:0;margin:0}.stc-suggession{cursor:pointer;padding:9px 22px;font-size:var(--stc-font-size-s);color:rgba(75,85,99,.5)}.stc-suggession:hover{background:var(--stc-background-light)}.stc-suggestion-highlight{color:var(--stc-color-heading)}",""]),e.exports=t},340:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".st-toaster{display:flex;align-items:center;justify-content:space-between;width:max-content;max-width:20.125rem;padding:1rem;background-color:var(--st-background-primary);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);border:1px solid #ddd;border-radius:var(--stc-border-radius-4);position:fixed;z-index:999}.st-toaster.bottom-right,.st-toaster.bottom-center,.st-toaster.bottom-left{bottom:12%}.st-toaster.bottom-right{right:2%;left:auto}.st-toaster.bottom-center{right:50%;left:auto;transform:translateX(50%)}.st-toaster.bottom-left{left:2%;right:auto}.st-toaster.top-right,.st-toaster.top-center,.st-toaster.top-left{top:12%}.st-toaster.top-left{left:2%;right:auto}.st-toaster.top-center{left:50%;right:auto;transform:translateX(-50%)}.st-toaster.top-right{right:2%;left:auto}.st-toaster.left-center{top:50%;left:2%;transform:translateY(-50%)}.st-toaster .content{display:flex}.st-toaster .content .status-icon svg{width:1.25rem;height:1.25rem}.st-toaster .content .status-icon.success{color:var(--st-context-success-color, #39b54a)}.st-toaster .content .status-icon.failed{color:var(--st-context-error-color, #d72b3f)}.st-toaster .content .message{display:flex;margin-left:.625rem}.st-toaster .toaster-close{display:flex;margin-left:1rem}.st-toaster .toaster-close .close-btn{cursor:pointer;padding:0;margin:0;background:none;border:none}.st-toaster .toaster-close .close-btn svg{width:1.25rem;height:1.25rem;fill:var(--st-color-placeholder, #6B7280)}.st-toaster.visible{animation:toaster-in .3s linear forwards}.st-toaster.hidden{animation:toaster-out .3s linear forwards}@keyframes toaster-in{from{opacity:0}to{opacity:1}}@keyframes toaster-out{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}",""]),e.exports=t},694:(e,t,r)=>{var n=r(314),a=r(883);(t=n(!1)).i(a),t.push([e.id,".stc-toggle-dropdown{--stc-logo-width: 20px;--stc-logo-height: 20px;--stc-logo-border-raidus: 50%;position:relative}.stc-toggle-dropdown-popup{right:0;position:absolute;z-index:99;background:var(--stc-color-white);box-shadow:1px 2px 5px 1px rgba(0,0,0,.15);top:var(--stc-toggle-dropdown-popup-top, 100%);left:var(--stc-toggle-dropdown-popup-left, 0);text-align:left;padding:var(--stc-toggle-dropdown-popup-padding, 0);border-radius:var(--stc-border-radius-4);min-width:var(--stc-toggle-dropdown-popup-min-width, auto)}.stc-toggle-dropdown-popup-item{margin:var(--stc-toggle-dropdown-popup-item-margin, 0 0 5px 0);cursor:var(--stc-toggle-dropdown-popup-item-cursor, initial);padding:var(--stc-toggle-dropdown-popup-item-padding, 12px 8px);margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child{margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child:hover,.stc-toggle-dropdown-popup-item:last-child.active{border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4)}.stc-toggle-dropdown-popup-item:hover,.stc-toggle-dropdown-popup-item.active{background-color:var(--stc-background-light)}.stc-toggle-dropdown-selected{border:1px solid var(--stc-toggle-dropdown-border-color, var(--stc-border-color));background:var(--stc-toggle-dropdown-selected-background, var(--stc-color-white));padding:var(--stc-toggle-dropdown-selected-padding, 6px 10px 6px 16px);border-radius:var(--stc-border-radius-4);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-body);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.stc-toggle-dropdown-selected svg{margin-left:10px;height:var(--stc-toggle-dropdown-icon-height, 6px);fill:var(--stc-color-body)}",""]),e.exports=t},55:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-tooltip{position:relative}.stc-tooltip-visible{opacity:1;visibility:visible}.stc-tooltip-hidden{opacity:0;visibility:hidden}.stc-tooltip-content{position:absolute;right:0;z-index:99;color:#fff;box-shadow:0px 4px 8px -2px rgba(9,30,66,.25),0px 0px 1px rgba(9,30,66,.31);font-weight:400;line-height:1;text-align:center;min-width:max-content;border-radius:2px;background:var(--stc-color-heading);font-size:13px;top:55%;right:100%;padding:6px 12px}",""]),e.exports=t},883:(e,t,r)=>{(t=r(314)(!1)).push([e.id,"body {\n\t/* Colors */\n --stc-color-accent: #2563EB;\n --stc-color-accent-hover: #1D4ED8;\n --stc-color-accent-2: #492CDD;\n --stc-color-heading: #1F2937;\n --stc-color-body: #4B5563;\n --stc-color-light-gray: #E5E7EB;\n --stc-color-placeholder: #BDBDC7;\n --stc-color-white: #FFFFFF;\n --stc-color-favorite: #E91E63;\n --stc-background-secondary: #F7F7F9;\n --stc-background-primary: #FFFFFF;\n --stc-background-light: #F9FAFB;\n --stc-icon-color: #C6C6D1;\n\n /* Font sizes */\n --stc-font-size-xxl: 30px;\n --stc-font-size-xl: 24px;\n --stc-font-size-l: 20px;\n --stc-font-size-m: 18px;\n --stc-font-size-s: 16px;\n --stc-font-size-xs: 14px;\n --stc-font-size-xxs: 11px;\n\n\n /** Font Weight */\n --stc-font-weight-extra-bold: 600;\n --stc-font-weight-bold: 500;\n --stc-font-weight-normal: 400;\n\n /** Font Line Height */\n --stc-font-line-height-xl: 36px;\n --stc-font-line-height-l: 32px;\n --stc-font-line-height-m: 28px;\n --stc-font-line-height-s: 24px;\n --stc-font-line-height-xs: 20px;\n\n /** Border */\n --stc-border-color: #D1D5DB;\n --stc-border-color-2: #C4C7CC;\n --stc-border-radius-5: 5px;\n --stc-border-radius-4: 4px;\n --stc-border-radius-3: 3px;\n --stc-border-radius-2: 2px;\n --stc-border-radius-1: 1px;\n}\n",""]),e.exports=t},314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r,n,a,i=e[1]||"",s=e[3];if(!s)return i;if(t&&"function"==typeof btoa){var o=(r=s,n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(a," */")),l=s.sources.map((function(e){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([o]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(a[s]=!0)}for(var o=0;o<e.length;o++){var l=[].concat(e[o]);n&&a[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},604:(e,t,r)=>{var n;!function(){"use strict";var a={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return function(e,t){var r,n,s,o,l,c,u,p,d,f=1,h=e.length,m="";for(n=0;n<h;n++)if("string"==typeof e[n])m+=e[n];else if("object"==typeof e[n]){if((o=e[n]).keys)for(r=t[f],s=0;s<o.keys.length;s++){if(null==r)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',o.keys[s],o.keys[s-1]));r=r[o.keys[s]]}else r=o.param_no?t[o.param_no]:t[f++];if(a.not_type.test(o.type)&&a.not_primitive.test(o.type)&&r instanceof Function&&(r=r()),a.numeric_arg.test(o.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(i("[sprintf] expecting number but found %T",r));switch(a.number.test(o.type)&&(p=r>=0),o.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,o.width?parseInt(o.width):0);break;case"e":r=o.precision?parseFloat(r).toExponential(o.precision):parseFloat(r).toExponential();break;case"f":r=o.precision?parseFloat(r).toFixed(o.precision):parseFloat(r);break;case"g":r=o.precision?String(Number(r.toPrecision(o.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=o.precision?r.substring(0,o.precision):r;break;case"t":r=String(!!r),r=o.precision?r.substring(0,o.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=o.precision?r.substring(0,o.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=o.precision?r.substring(0,o.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}a.json.test(o.type)?m+=r:(!a.number.test(o.type)||p&&!o.sign?d="":(d=p?"+":"-",r=r.toString().replace(a.sign,"")),c=o.pad_char?"0"===o.pad_char?"0":o.pad_char.charAt(1):" ",u=o.width-(d+r).length,l=o.width&&u>0?c.repeat(u):"",m+=o.align?d+r+l:"0"===c?d+l+r:l+d+r)}return m}(function(e){if(o[e])return o[e];for(var t,r=e,n=[],i=0;r;){if(null!==(t=a.text.exec(r)))n.push(t[0]);else if(null!==(t=a.modulo.exec(r)))n.push("%");else{if(null===(t=a.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var s=[],l=t[2],c=[];if(null===(c=a.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=a.key_access.exec(l)))s.push(c[1]);else{if(null===(c=a.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}t[2]=s}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}r=r.substring(t[0].length)}return o[e]=n}(e),arguments)}function s(e,t){return i.apply(null,[e].concat(t||[]))}var o=Object.create(null);t.sprintf=i,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=s,void 0===(n=function(){return{sprintf:i,vsprintf:s}}.call(t,r,t,e))||(e.exports=n))}()},177:(e,t,r)=>{var n=r(72),a=r(820);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},148:(e,t,r)=>{var n=r(72),a=r(283);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},561:(e,t,r)=>{var n=r(72),a=r(632);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},142:(e,t,r)=>{var n=r(72),a=r(664);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},437:(e,t,r)=>{var n=r(72),a=r(690);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},189:(e,t,r)=>{var n=r(72),a=r(974);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},729:(e,t,r)=>{var n=r(72),a=r(140);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},986:(e,t,r)=>{var n=r(72),a=r(123);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},85:(e,t,r)=>{var n=r(72),a=r(278);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},899:(e,t,r)=>{var n=r(72),a=r(340);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},557:(e,t,r)=>{var n=r(72),a=r(694);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},416:(e,t,r)=>{var n=r(72),a=r(55);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]),n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},72:(e,t,r)=>{"use strict";var n,a=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),i=[];function s(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function o(e,t){for(var r={},n=[],a=0;a<e.length;a++){var o=e[a],l=t.base?o[0]+t.base:o[0],c=r[l]||0,u="".concat(l," ").concat(c);r[l]=c+1;var p=s(u),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==p?(i[p].references++,i[p].updater(d)):i.push({identifier:u,updater:m(d,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var i=r.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=a(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,r,n){var a=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{var i=document.createTextNode(a),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function d(e,t,r){var n=r.css,a=r.media,i=r.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,h=0;function m(e,t){var r,n,a;if(t.singleton){var i=h++;r=f||(f=l(t)),n=p.bind(null,r,i,!1),a=p.bind(null,r,i,!0)}else r=l(t),n=d.bind(null,r,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var r=o(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var a=s(r[n]);i[a].references--}for(var l=o(e,t),c=0;c<r.length;c++){var u=s(r[c]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}r=l}}}},563:e=>{"use strict";e.exports=JSON.parse('[{"ID":9888,"title":"Business","parent":"0","children":[{"ID":6771,"title":"Business","parent":"1","children":[{"ID":4523,"title":"Agency","parent":"2"},{"ID":7382,"title":"Restaurant","parent":"2"},{"ID":4232,"title":"Hotel & Travel","parent":"2"},{"ID":5398,"title":"Construction","parent":"2"},{"ID":673,"title":"Real Estate","parent":"2"},{"ID":3667,"title":"Transport","parent":"2"},{"ID":9928,"title":"Manufacturing","parent":"2"},{"ID":1998,"title":"Pets","parent":"2"},{"ID":8288,"title":"Gardening","parent":"2"},{"ID":9990,"title":"Landing Pages","parent":"2"}]}]},{"ID":1373,"title":"Local Business","parent":"0","children":[{"ID":4714,"title":"Local Business","parent":"0","children":[{"ID":5547,"title":"Electrician","parent":"13"},{"ID":4720,"title":"Plumber","parent":"13"},{"ID":4528,"title":"AC Technician","parent":"13"},{"ID":4032,"title":"Roofing Services","parent":"13"},{"ID":2650,"title":"Courier Delivery","parent":"13"},{"ID":8189,"title":"Movers","parent":"13"},{"ID":121,"title":"Cleaning Services","parent":"13"},{"ID":3608,"title":"Transport","parent":"13"},{"ID":5346,"title":"Catering","parent":"13"},{"ID":3057,"title":"Car Garage","parent":"13"}]}]},{"ID":3502,"title":"Personal Care","parent":"0","children":[{"ID":7110,"title":"Personal Care","parent":"0","children":[{"ID":4687,"title":"Salon","parent":"24"},{"ID":1983,"title":"Beauty","parent":"24"},{"ID":8916,"title":"Fitness","parent":"24"},{"ID":2870,"title":"Yoga","parent":"24"},{"ID":7507,"title":"Spa & Massage","parent":"24"}]}]},{"ID":23,"title":"Professionals","parent":"0","children":[{"ID":5502,"title":"Professionals","parent":"0","children":[{"ID":6825,"title":"Finance","parent":"30"},{"ID":2015,"title":"Accountant","parent":"30"},{"ID":1815,"title":"Law","parent":"30"},{"ID":5330,"title":"Coach","parent":"30"},{"ID":8139,"title":"Medical","parent":"30"},{"ID":4121,"title":"Photography","parent":"30"},{"ID":2605,"title":"Consultant","parent":"30"},{"ID":2864,"title":"Interior Designer","parent":"30"},{"ID":4900,"title":"Web Designer","parent":"30"}]}]},{"ID":5770,"title":"Personal Sites","parent":"0","children":[{"ID":9870,"title":"Personal Sites","parent":"0","children":[{"ID":6211,"title":"Portfolio & CV","parent":"40"},{"ID":1768,"title":"Photographer","parent":"40"},{"ID":3180,"title":"Artist","parent":"40"},{"ID":2923,"title":"Author","parent":"40"},{"ID":1650,"title":"Musician","parent":"40"}]}]},{"ID":5358,"title":"Community","parent":"0","children":[{"ID":9049,"title":"Institutes","parent":"46","children":[{"ID":4882,"title":"Preschool","parent":"46"},{"ID":3596,"title":"School","parent":"46"},{"ID":8436,"title":"Kindergarten","parent":"46"},{"ID":4607,"title":"University","parent":"46"}]},{"ID":4677,"title":"Non Profit","parent":"0","children":[{"ID":3816,"title":"Church","parent":"52"},{"ID":6629,"title":"Charity","parent":"52"}]},{"ID":1736,"title":"Events","parent":"0","children":[{"ID":3629,"title":"Wedding","parent":"56"},{"ID":556,"title":"Conference","parent":"56"},{"ID":7875,"title":"Celebrations","parent":"56"}]}]},{"ID":2438,"title":"E-Commerce","parent":"0","children":[{"ID":2306,"title":"Online Store","parent":"60","children":[{"ID":6285,"title":"Online Shop","parent":"60"},{"ID":78,"title":"Clothing store","parent":"60"},{"ID":5341,"title":"Jewelry store","parent":"60"},{"ID":5312,"title":"Sports store","parent":"60"},{"ID":3310,"title":"Book store","parent":"60"}]},{"ID":3751,"title":"E-Learning","parent":"60","children":[{"ID":5309,"title":"Online Courses","parent":"66"},{"ID":6030,"title":"Course Marketplace","parent":"66"},{"ID":5771,"title":"LMS","parent":"66"}]}]},{"ID":24381,"title":"Blog","parent":"0","children":[{"ID":2306,"title":"Blog","parent":"60","children":[{"ID":6285,"title":"Blogger","parent":"60"},{"ID":78,"title":"Food Blog","parent":"60"},{"ID":5341,"title":"Travel Blog","parent":"60"},{"ID":5312,"title":"News Site","parent":"60"},{"ID":3310,"title":"Magazine","parent":"60"},{"ID":5309,"title":"Fashion Blog","parent":"66"},{"ID":6030,"title":"Influence Blog","parent":"66"},{"ID":5771,"title":"Podcast","parent":"66"}]}]}]')}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,a),i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var i={};(()=>{"use strict";a.r(i),a.d(i,{Button:()=>n,CategoryList:()=>ae,Grid:()=>ee,Logo:()=>de,MegaMenu:()=>Ee,NoResultFound:()=>be,PremiumBadge:()=>ke,Search:()=>te,SiteBusinessType:()=>Ce,SiteOrder:()=>ye,SiteType:()=>ve,SuggestionList:()=>fe,Toaster:()=>ge,ToggleDropdown:()=>ue,Tooltip:()=>K});const e=r(1609);var t=a.n(e);a(177);const n=function(e){var r=e.children;return t().createElement("button",{className:"stc-button"},r)};let s;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===s&&(s=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),s.innerHTML=e;const t=s.textContent;return s.innerHTML="",t}var l=a(604),c=a.n(l);const u=function(e,t){var r,n,a=0;function i(){var i,s,o=r,l=arguments.length;e:for(;o;){if(o.args.length===arguments.length){for(s=0;s<l;s++)if(o.args[s]!==arguments[s]){o=o.next;continue e}return o!==r&&(o===n&&(n=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=r,o.prev=null,r.prev=o,r=o),o.val}o=o.next}for(i=new Array(l),s=0;s<l;s++)i[s]=arguments[s];return o={args:i,val:e.apply(null,i)},r?(r.prev=o,o.next=r):n=o,a===t.maxSize?(n=n.prev).next=null:a++,r=o,o.val}return t=t||{},i.clear=function(){r=null,n=null,a=0},i}(console.error);var p,d,f,h;p={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},d=["(","?"],f={")":["("],":":["?","?:"]},h=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var m={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}},g={contextDelimiter:"",onMissingKey:null};function y(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},g)this.options[r]=void 0!==t&&r in t?t[r]:g[r]}y.prototype.getPluralForm=function(e,t){var r,n,a,i,s=this.pluralForms[e];return s||("function"!=typeof(a=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=function(e){var t=function(e){for(var t,r,n,a,i=[],s=[];t=e.match(h);){for(r=t[0],(n=e.substr(0,t.index).trim())&&i.push(n);a=s.pop();){if(f[r]){if(f[r][0]===a){r=f[r][1]||r;break}}else if(d.indexOf(a)>=0||p[a]<p[r]){s.push(a);break}i.push(a)}f[r]||s.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&i.push(e),i.concat(s.reverse())}(e);return function(e){return function(e,t){var r,n,a,i,s,o,l=[];for(r=0;r<e.length;r++){if(s=e[r],i=m[s]){for(n=i.length,a=Array(n);n--;)a[n]=l.pop();try{o=i.apply(null,a)}catch(e){return e}}else o=t.hasOwnProperty(s)?t[s]:+s;l.push(o)}return l[0]}(t,e)}}(n),a=function(e){return+i({n:e})}),s=this.pluralForms[e]=a),s(t)},y.prototype.dcnpgettext=function(e,t,r,n,a){var i,s,o;return i=void 0===a?0:this.getPluralForm(e,a),s=r,t&&(s=t+this.options.contextDelimiter+r),(o=this.data[e][s])&&o[i]?o[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===i?r:n)};const v={plural_forms:e=>1===e?0:1},b=/^i18n\.(n?gettext|has_translation)(_|$)/,x=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},w=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},E=function(e,t){return function(r,n,a,i=10){const s=e[t];if(!w(r))return;if(!x(n))return;if("function"!=typeof a)return void console.error("The hook callback must be a function.");if("number"!=typeof i)return void console.error("If specified, the hook priority must be a number.");const o={callback:a,priority:i,namespace:n};if(s[r]){const e=s[r].handlers;let t;for(t=e.length;t>0&&!(i>=e[t-1].priority);t--);t===e.length?e[t]=o:e.splice(t,0,o),s.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex++}))}else s[r]={handlers:[o],runs:0};"hookAdded"!==r&&e.doAction("hookAdded",r,n,a,i)}},k=function(e,t,r=!1){return function(n,a){const i=e[t];if(!w(n))return;if(!r&&!x(a))return;if(!i[n])return 0;let s=0;if(r)s=i[n].handlers.length,i[n]={runs:i[n].runs,handlers:[]};else{const e=i[n].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===a&&(e.splice(t,1),s++,i.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==n&&e.doAction("hookRemoved",n,a),s}},S=function(e,t){return function(r,n){const a=e[t];return void 0!==n?r in a&&a[r].handlers.some((e=>e.namespace===n)):r in a}},C=function(e,t,r=!1){return function(n,...a){const i=e[t];i[n]||(i[n]={handlers:[],runs:0}),i[n].runs++;const s=i[n].handlers;if(!s||!s.length)return r?a[0]:void 0;const o={name:n,currentIndex:0};for(i.__current.push(o);o.currentIndex<s.length;){const e=s[o.currentIndex].callback.apply(null,a);r&&(a[0]=e),o.currentIndex++}return i.__current.pop(),r?a[0]:void 0}},A=function(e,t){return function(){var r;const n=e[t];return null!==(r=n.__current[n.__current.length-1]?.name)&&void 0!==r?r:null}},_=function(e,t){return function(r){const n=e[t];return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}},P=function(e,t){return function(r){const n=e[t];if(w(r))return n[r]&&n[r].runs?n[r].runs:0}},T=new class{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=E(this,"actions"),this.addFilter=E(this,"filters"),this.removeAction=k(this,"actions"),this.removeFilter=k(this,"filters"),this.hasAction=S(this,"actions"),this.hasFilter=S(this,"filters"),this.removeAllActions=k(this,"actions",!0),this.removeAllFilters=k(this,"filters",!0),this.doAction=C(this,"actions"),this.applyFilters=C(this,"filters",!0),this.currentAction=A(this,"actions"),this.currentFilter=A(this,"filters"),this.doingAction=_(this,"actions"),this.doingFilter=_(this,"filters"),this.didAction=P(this,"actions"),this.didFilter=P(this,"filters")}},{addAction:I,addFilter:F,removeAction:M,removeFilter:D,hasAction:R,hasFilter:L,removeAllActions:O,removeAllFilters:V,doAction:N,applyFilters:B,currentAction:j,currentFilter:z,doingAction:H,doingFilter:G,didAction:W,didFilter:q,actions:U,filters:X}=T,Q=((e,t,r)=>{const n=new y({}),a=new Set,i=()=>{a.forEach((e=>e()))},s=(e,t="default")=>{n.data[t]={...n.data[t],...e},n.data[t][""]={...v,...n.data[t]?.[""]},delete n.pluralForms[t]},o=(e,t)=>{s(e,t),i()},l=(e="default",t,r,a,i)=>(n.data[e]||s(void 0,e),n.dcnpgettext(e,t,r,a,i)),c=(e="default")=>e,u=(e,t,n)=>{let a=l(n,t,e);return r?(a=r.applyFilters("i18n.gettext_with_context",a,e,t,n),r.applyFilters("i18n.gettext_with_context_"+c(n),a,e,t,n)):a};if(r){const e=e=>{b.test(e)&&i()};r.addAction("hookAdded","core/i18n",e),r.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>n.data[e],setLocaleData:o,addLocaleData:(e,t="default")=>{n.data[t]={...n.data[t],...e,"":{...v,...n.data[t]?.[""],...e?.[""]}},delete n.pluralForms[t],i()},resetLocaleData:(e,t)=>{n.data={},n.pluralForms={},o(e,t)},subscribe:e=>(a.add(e),()=>a.delete(e)),__:(e,t)=>{let n=l(t,void 0,e);return r?(n=r.applyFilters("i18n.gettext",n,e,t),r.applyFilters("i18n.gettext_"+c(t),n,e,t)):n},_x:u,_n:(e,t,n,a)=>{let i=l(a,void 0,e,t,n);return r?(i=r.applyFilters("i18n.ngettext",i,e,t,n,a),r.applyFilters("i18n.ngettext_"+c(a),i,e,t,n,a)):i},_nx:(e,t,n,a,i)=>{let s=l(i,a,e,t,n);return r?(s=r.applyFilters("i18n.ngettext_with_context",s,e,t,n,a,i),r.applyFilters("i18n.ngettext_with_context_"+c(i),s,e,t,n,a,i)):s},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(e,t,a)=>{const i=t?t+""+e:e;let s=!!n.data?.[null!=a?a:"default"]?.[i];return r&&(s=r.applyFilters("i18n.has_translation",s,e,t,a),s=r.applyFilters("i18n.has_translation_"+c(a),s,e,t,a)),s}}})(0,0,T),$=(Q.getLocaleData.bind(Q),Q.setLocaleData.bind(Q),Q.resetLocaleData.bind(Q),Q.subscribe.bind(Q),Q.__.bind(Q));Q._x.bind(Q),Q._n.bind(Q),Q._nx.bind(Q),Q.isRTL.bind(Q),Q.hasTranslation.bind(Q);var J={search:React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M17.7043 16.2848L14.3054 12.8958C15.402 11.4988 15.9971 9.77351 15.9948 7.99743C15.9948 6.41569 15.5258 4.86947 14.647 3.5543C13.7683 2.23913 12.5192 1.21408 11.0579 0.608771C9.59657 0.00346513 7.98855 -0.15491 6.43721 0.153672C4.88586 0.462254 3.46085 1.22393 2.34239 2.34239C1.22393 3.46085 0.462254 4.88586 0.153672 6.43721C-0.15491 7.98855 0.00346513 9.59657 0.608771 11.0579C1.21408 12.5192 2.23913 13.7683 3.5543 14.647C4.86947 15.5258 6.41569 15.9948 7.99743 15.9948C9.77351 15.9971 11.4988 15.402 12.8958 14.3054L16.2848 17.7043C16.3777 17.798 16.4883 17.8724 16.6101 17.9231C16.7319 17.9739 16.8626 18 16.9945 18C17.1265 18 17.2572 17.9739 17.379 17.9231C17.5008 17.8724 17.6114 17.798 17.7043 17.7043C17.798 17.6114 17.8724 17.5008 17.9231 17.379C17.9739 17.2572 18 17.1265 18 16.9945C18 16.8626 17.9739 16.7319 17.9231 16.6101C17.8724 16.4883 17.798 16.3777 17.7043 16.2848ZM1.99936 7.99743C1.99936 6.81112 2.35114 5.65146 3.01022 4.66508C3.66929 3.6787 4.60606 2.90991 5.70207 2.45593C6.79807 2.00196 8.00408 1.88317 9.16759 2.11461C10.3311 2.34605 11.3999 2.91731 12.2387 3.75615C13.0775 4.595 13.6488 5.66375 13.8802 6.82726C14.1117 7.99077 13.9929 9.19678 13.5389 10.2928C13.0849 11.3888 12.3162 12.3256 11.3298 12.9846C10.3434 13.6437 9.18373 13.9955 7.99743 13.9955C6.40664 13.9955 4.88101 13.3636 3.75615 12.2387C2.6313 11.1138 1.99936 9.58821 1.99936 7.99743Z"})),cross:React.createElement("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),dropdown:React.createElement("svg",{viewBox:"0 0 6 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M2.68303 3.8635L0.132229 1.2304C-0.0440763 1.0484 -0.0440763 0.754114 0.132229 0.574056L0.556111 0.136496C0.732416 -0.0454985 1.01751 -0.0454985 1.19194 0.136496L3 2.0029L4.80806 0.136496C4.98437 -0.0454985 5.26946 -0.0454985 5.44389 0.136496L5.86777 0.574056C6.04408 0.75605 6.04408 1.05034 5.86777 1.2304L3.31697 3.8635C3.14442 4.0455 2.85933 4.0455 2.68303 3.8635Z",fillOpacity:"0.6"})),favorite:React.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),close:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})),success:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 1792 1792",fill:"#44C997",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"})),error:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})),toggle:React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1 2.05556C0.723858 2.05556 0.5 2.27941 0.5 2.55556C0.5 2.8317 0.723858 3.05556 1 3.05556V2.05556ZM15 3.05556C15.2761 3.05556 15.5 2.8317 15.5 2.55556C15.5 2.27941 15.2761 2.05556 15 2.05556V3.05556ZM1 7.5C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5V7.5ZM15 8.5C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5V8.5ZM1 12.9444C0.723858 12.9444 0.5 13.1683 0.5 13.4444C0.5 13.7206 0.723858 13.9444 1 13.9444V12.9444ZM15 13.9444C15.2761 13.9444 15.5 13.7206 15.5 13.4444C15.5 13.1683 15.2761 12.9444 15 12.9444V13.9444ZM1 3.05556H4.11111V2.05556H1V3.05556ZM15 2.05556H7.22222V3.05556H15V2.05556ZM1 8.5H10.3333V7.5H1V8.5ZM15 7.5H13.4444V8.5H15V7.5ZM1 13.9444H2.55556V12.9444H1V13.9444ZM15 12.9444H5.66667V13.9444H15V12.9444ZM6.72222 2.55556C6.72222 3.13852 6.24963 3.61111 5.66667 3.61111V4.61111C6.80192 4.61111 7.72222 3.69081 7.72222 2.55556H6.72222ZM5.66667 3.61111C5.0837 3.61111 4.61111 3.13852 4.61111 2.55556H3.61111C3.61111 3.69081 4.53141 4.61111 5.66667 4.61111V3.61111ZM4.61111 2.55556C4.61111 1.97259 5.0837 1.5 5.66667 1.5V0.5C4.53141 0.5 3.61111 1.4203 3.61111 2.55556H4.61111ZM5.66667 1.5C6.24963 1.5 6.72222 1.97259 6.72222 2.55556H7.72222C7.72222 1.4203 6.80192 0.5 5.66667 0.5V1.5ZM12.9444 8C12.9444 8.58297 12.4719 9.05556 11.8889 9.05556V10.0556C13.0241 10.0556 13.9444 9.13525 13.9444 8H12.9444ZM11.8889 9.05556C11.3059 9.05556 10.8333 8.58297 10.8333 8H9.83333C9.83333 9.13525 10.7536 10.0556 11.8889 10.0556V9.05556ZM10.8333 8C10.8333 7.41703 11.3059 6.94444 11.8889 6.94444V5.94444C10.7536 5.94444 9.83333 6.86475 9.83333 8H10.8333ZM11.8889 6.94444C12.4719 6.94444 12.9444 7.41703 12.9444 8H13.9444C13.9444 6.86475 13.0241 5.94444 11.8889 5.94444V6.94444ZM5.16667 13.4444C5.16667 14.0274 4.69408 14.5 4.11111 14.5V15.5C5.24636 15.5 6.16667 14.5797 6.16667 13.4444H5.16667ZM4.11111 14.5C3.52814 14.5 3.05556 14.0274 3.05556 13.4444H2.05556C2.05556 14.5797 2.97586 15.5 4.11111 15.5V14.5ZM3.05556 13.4444C3.05556 12.8615 3.52814 12.3889 4.11111 12.3889V11.3889C2.97586 11.3889 2.05556 12.3092 2.05556 13.4444H3.05556ZM4.11111 12.3889C4.69408 12.3889 5.16667 12.8615 5.16667 13.4444H6.16667C6.16667 12.3092 5.24636 11.3889 4.11111 11.3889V12.3889Z"}))};function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}a(561),a(416);const K=function(r){var n=r.children,a=r.content,i=Z((0,e.useState)(!1),2),s=i[0],o=i[1],l=Z((0,e.useState)(null),2),c=l[0],u=l[1],p=function(){u(setTimeout((function(){o(!1)}),50))};return t().createElement("div",{className:"stc-tooltip",onMouseEnter:function(){o(!0)},onMouseLeave:p},n,a?t().createElement("div",{className:"stc-tooltip-content ".concat(s?"stc-tooltip-visible":"stc-tooltip-hidden"),onMouseEnter:function(){clearTimeout(c)},onMouseLeave:p},a):null)},ee=function(e){var r=e.className,n=e.column,a=e.options,i=e.onClick,s=e.hasFavorite,l=e.onFavoriteClick,c=e.favoriteList,u=e.buttonLabel,p=e.livePreview,d=e.enableNewUi;return a.length?t().createElement("div",{className:"\n\t\t\t\tstc-grid-wrap\t\t\t\t\n\t\t\t\tgrid-".concat(n||"3","\n\t\t\t\t").concat(null!=r?r:"","\n\t\t\t")},a.map((function(e,r){var n=!(!c||!c.length)&&c.includes("id-".concat(e.id));return t().createElement("div",{className:"stc-grid-item","data-id":e.id,key:r},t().createElement("div",{className:"stc-grid-item-inner"},!d&&(e.badge?t().createElement(ke,{badge:e.badge}):null),d?t().createElement("div",{className:"stc-grid-item-screenshot-wrap"},t().createElement("a",{href:e.link,rel:"noreferrer"},t().createElement("img",{className:"stc-grid-site-screenshot",src:e.image,alt:o(e.title),loading:"lazy"}),t().createElement("div",{className:"stc-grid-item-blur"}))):t().createElement("img",{className:"stc-grid-site-screenshot",src:e.image,alt:o(e.title),loading:"lazy",onClick:function(t){"function"==typeof i&&i(t,e)}}),t().createElement("div",{className:"stc-grid-item-header"},t().createElement("div",{className:"stc-grid-item-title"},o(e.title),d&&(e.badge?t().createElement(ke,{badge:e.badge}):null)),e.desc?t().createElement("div",{className:"stc-grid-item-desc"},e.desc.substring(0,100)):null,null!=e&&e.link&&!d?t().createElement("div",{className:"stc-grid-item-hover-button-wrap"},t().createElement("a",{className:"stc-grid-item-hover-button",href:e.link,target:"_blank",rel:"noreferrer"},u)):null,s?t().createElement(K,{content:"".concat(n?"":$("Add to favorites"))},t().createElement("div",{className:"stc-grid-favorite ".concat(n?"active":""),onClick:function(t){"function"==typeof l&&l(t,e,!n)}},J.favorite)):null),d?t().createElement("div",{className:"stc-grid-item-hover-button-wrapper"},t().createElement("div",{className:"stc-grid-item-hover-button-wrap"},"#"!==(null==e?void 0:e.link)?t().createElement("a",{className:"stc-grid-item-hover-button",href:e.link,rel:"noreferrer"},u):null,t().createElement("a",{className:"stc-grid-item-hover-button",href:e.livelink,target:"_blank",rel:"noreferrer"},p))):null))}))):""};a(729);const te=(0,e.memo)((function(r){var n=r.apiUrl,a=r.onSearchResult,i=r.beforeSearchResult,s=r.onSearch,o=r.value,l=r.placeholder,c=r.onKeyUp,u=l||$("Search.."),p=(0,e.useRef)(null),d=function(t,r,n){var a=this,i=(0,e.useRef)(null),s=(0,e.useRef)(0),o=(0,e.useRef)(null),l=(0,e.useRef)([]),c=(0,e.useRef)(),u=(0,e.useRef)(),p=(0,e.useRef)(t),d=(0,e.useRef)(!0);p.current=t;var f=!r&&0!==r&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");r=+r||0;var h=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,y=g?Math.max(+n.maxWait||0,r):null;(0,e.useEffect)((function(){return d.current=!0,function(){d.current=!1}}),[]);var v=(0,e.useMemo)((function(){var e=function(e){var t=l.current,r=c.current;return l.current=c.current=null,s.current=e,u.current=p.current.apply(r,t)},t=function(e,t){f&&cancelAnimationFrame(o.current),o.current=f?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!d.current)return!1;var t=e-i.current,n=e-s.current;return!i.current||t>=r||t<0||g&&n>=y},v=function(t){return o.current=null,m&&l.current?e(t):(l.current=c.current=null,u.current)},b=function(){var e=Date.now();if(n(e))return v(e);if(d.current){var a=e-i.current,o=e-s.current,l=r-a,c=g?Math.min(l,y-o):l;t(b,c)}},x=function(){for(var p=[],f=0;f<arguments.length;f++)p[f]=arguments[f];var m=Date.now(),y=n(m);if(l.current=p,c.current=a,i.current=m,y){if(!o.current&&d.current)return s.current=i.current,t(b,r),h?e(i.current):u.current;if(g)return t(b,r),e(i.current)}return o.current||t(b,r),u.current};return x.cancel=function(){o.current&&(f?cancelAnimationFrame(o.current):clearTimeout(o.current)),s.current=0,l.current=i.current=c.current=o.current=null},x.isPending=function(){return!!o.current},x.flush=function(){return o.current?v(Date.now()):u.current},x}),[h,g,r,y,m,f]);return v}((0,e.useCallback)((function(e){"function"==typeof i&&i(),e?fetch(n).then((function(e){return e.json()})).then((function(t){"function"==typeof a&&a(t,e)})):a({},e)}),[o]),300,{maxWait:2e3});return(0,e.useEffect)((function(){n&&d(o),o&&p.current.focus()}),[o]),t().createElement("div",{className:"stc-search ".concat(o?"stc-search-have-input":"")},t().createElement("input",{ref:p,className:"stc-search-input",type:"search",value:o,placeholder:u,onChange:function(e){"function"==typeof s&&s(e,e.target.value)},onKeyUp:function(e){"function"==typeof c&&c(e)}}),t().createElement("button",{className:"stc-search-icon"},J.search),t().createElement("button",{className:"stc-cross-icon",onClick:function(e){"function"==typeof s&&(s(e,""),document.getElementsByClassName("stc-search-input")[0].focus())}},J.cross))}));function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}a(148);const ae=(0,e.memo)((function(r){var n=r.options,a=r.value,i=r.onClick,s=r.limit,l="";void 0!==a?l=a:n.length&&(l=n[0].id);var c=re((0,e.useState)(l),2),u=c[0],p=c[1],d=re((0,e.useState)(!1),2),f=d[0],h=d[1],m=re((0,e.useState)([]),2),g=m[0],y=m[1],v=re((0,e.useState)(n),2),b=v[0],x=v[1];(0,e.useEffect)((function(){if(s){var e=n.slice(s,s+n.length),t=n.slice(0,s);e.length&&(e=e.map((function(e){return e.title=o(e.name),e}))),y(e),x(t)}}),[]),(0,e.useEffect)((function(){p(l)}),[a]);var w=function(e,t){"function"==typeof i&&i(e,t)};return t().createElement("div",{className:"stc-category-list"},b.length?t().createElement(t().Fragment,null,b.map((function(e,r){return t().createElement("div",{className:"stc-category-list-item ".concat((n=e.id,u===n?"active":"")),onClick:function(t){p(e.id),w(t,e)},key:r},t().createElement("span",{className:"stc-category-list-title"},o(e.name)));var n})),g.length?t().createElement(ue,{className:"stc-category-list-item stc-category-list-more",toggle:f,onToggle:function(e,t){h(t)},label:$("More"),value:u,options:g,onClick:function(e,t){h(!1),w(e,t)}}):null):t().createElement("span",null,$("No Categories")))}));function ie(e){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(e)}function se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?se(Object(r),!0).forEach((function(t){var n,a,i,s;n=e,a=t,i=r[t],s=function(e){if("object"!=ie(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ie(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(a),(a="symbol"==ie(s)?s:String(s))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ce(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}a(557);const ue=function(r){var n=r.label,a=r.options,i=r.className,s=r.value,o=r.onClick,l=r.icon,c=r.dismissAiPopup,u=le((0,e.useState)({option:{id:"",title:"",image:""}}),2),p=u[0],d=u[1],f=le((0,e.useState)(!1),2),h=f[0],m=f[1],g=(0,e.useRef)(),y=function(e){g&&!g.current.contains(e.target)&&m(!1)};return(0,e.useEffect)((function(){var e={id:"",title:"",image:""};a.map((function(t){return s===t.id&&(e=t),e})),d(oe(oe({},p),{},{option:e}))}),[s]),(0,e.useEffect)((function(){return document.querySelector("body").addEventListener("click",y),function(){return document.querySelector("body").removeEventListener("click",y)}}),[]),a.length?t().createElement("div",{ref:g,className:"stc-toggle-dropdown ".concat(i)},t().createElement("div",{className:"stc-toggle-dropdown-selected",onClick:function(){m(!h),"function"==typeof c&&c()}},n&&""===p.option.title?n:t().createElement(t().Fragment,null,p.option.image?t().createElement(de,{text:p.option.title,src:p.option.image}):p.option.title),l||J.dropdown),h&&t().createElement("div",{className:"stc-toggle-dropdown-popup"},t().createElement("div",{className:"stc-toggle-dropdown-popup-content"},a.map((function(e,r){return t().createElement("div",{className:"stc-toggle-dropdown-popup-item ".concat(p.option.id===e.id?"active":""),onClick:function(t){d(oe(oe({},p),{},{option:e})),"function"==typeof o&&(o(t,e),m(!1))},key:r},e.image?t().createElement(de,{text:e.title,src:e.image,extraText:e.extraText}):e.title)}))))):""};function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}a(142);const de=function(e){var r=e.className,n=e.text,a=e.src,i=e.alt,s=e.onClick,o=e.href,l=e.extraText;return n||a?t().createElement("span",pe({className:"stc-logo ".concat(r||"").concat(l?"stc-extra-text":"")},l?{"data-extraText":l}:{},{onClick:function(e){"function"==typeof s&&s(e)}}),a?t().createElement(t().Fragment,null,o?t().createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer"},t().createElement("img",{src:a,className:"stc-logo-image",alt:i})):t().createElement("img",{src:a,className:"stc-logo-image",alt:i})):null,n?t().createElement("div",{className:"stc-logo-text",alt:i},n):null):""};a(85);const fe=(0,e.memo)((function(e){var r=e.value,n=e.options,a=e.onClick;return n.length?t().createElement("div",{className:"stc-suggestion-list"},n.map((function(e,n){var i=o(e).replace(new RegExp("("+r+")","gi"),'<span class="stc-suggestion-highlight">$1</span>');return t().createElement("div",{key:n,className:"stc-suggession",dangerouslySetInnerHTML:{__html:i},onClick:function(t){"function"==typeof a&&a(t,e)}})}))):""}));function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}a(899);const ge=function(r){var n=r.type,a=r.message,i=r.autoHideDuration,s=void 0===i?3:i,o=r.topLeft,l=r.topRight,c=r.topCenter,u=r.bottomLeft,p=r.bottomRight,d=r.bottomCenter,f=r.leftCenter,h=r.style,m=he((0,e.useState)(!0),2),g=m[0],y=m[1],v=he((0,e.useState)(!1),2),b=v[0],x=v[1];setTimeout((function(){y(!1)}),1e3*s),g||setTimeout((function(){x(!0)}),500);var w=[o&&"top-left",l&&"top-right",c&&"top-center",u&&"bottom-left",p&&"bottom-right",d&&"bottom-center",f&&"left-center"].filter(Boolean).join("");return b?null:t().createElement("div",{className:"st-toaster ".concat(g?"visible":"hidden"," ").concat(w||""),style:h},t().createElement("div",{className:"content"},t().createElement("div",{className:"status-icon ".concat("error"===n?"failed":n)},J[n]),t().createElement("div",{className:"message"},t().createElement("p",null,a))),t().createElement("div",{className:"toaster-close"},t().createElement("button",{className:"close-btn",onClick:function(e){e.stopPropagation(),y(!1)}},J.close)))},ye=(0,e.memo)((function(e){var r=e.value,n=e.onClick;return t().createElement(ue,{className:"stc-site-order-filter",value:r,options:[{id:"popular",title:$("Popular")},{id:"latest",title:$("Latest")}],onClick:function(e,t){"function"==typeof n&&n(e,t)}})})),ve=(0,e.memo)((function(e){var r=e.value,n=e.onClick;return t().createElement(ue,{className:"stc-site-type-filter",value:r,options:[{id:"",title:$("All")},{id:"agency-mini",title:$("Premium")}],onClick:function(e,t){"function"==typeof n&&n(e,t)}})}));a(189);const be=function(e){var r=e.searchTerm;return r?t().createElement("div",{className:"stc-sites-no-results"},t().createElement("h4",null,function(e,...t){try{return c().sprintf(e,...t)}catch(t){return t instanceof Error&&u("sprintf error: \n\n"+t.toString()),e}}($("Your search - %1$s - did not match any Starter Templates."),o(r)))):null};function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return we(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?we(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}a(437);const Ee=function(r){var n=r.options,a=r.parent,i=r.menu,s=r.onClick,o=xe((0,e.useState)(!1),2),l=o[0],c=o[1],u=xe((0,e.useState)([]),2),p=u[0],d=u[1];(0,e.useEffect)((function(){var e=function(){var e=window.innerWidth;e>=1181?d(n):e<1181&&e>=1025?d(n.slice(0,5)):e<1025&&e>=950?d(n.slice(0,4)):e<950&&e>=751?d(n.slice(0,3)):e<751&&e>=451&&d(n.slice(0,2))};e();var t=function(){e()};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[n]);var f=n.slice(p.length);return t().createElement("div",{className:"stc-mega-menu-wrap ".concat(l?"stc-mega-menu-show":"")},t().createElement("div",{className:"stc-mega-menu-toggle",onClick:function(){c(!l)}},J.toggle),t().createElement("div",{className:"stc-mega-menu-container"},t().createElement("div",{className:"stc-mega-menu"},p.map((function(e){return t().createElement("div",{key:e.ID,className:"stc-mega-menu-item ".concat(a===e.ID||i===e.ID&&a===e.ID?"stc-mega-menu-item-active":"")},t().createElement("span",{className:"stc-mega-menu-item-title",onClick:function(t){"function"==typeof s&&(t.stopPropagation(),t.preventDefault(),s(t,e,e))}},e.title,J.dropdown),e.children&&e.children.length>0&&t().createElement("div",{className:"stc-mega-menu-group stc-mega-menu-group-col-".concat(e.children.length)},e.children.map((function(r){return t().createElement("div",{key:r.ID,className:"stc-mega-menu-section"},t().createElement("span",{className:"stc-mega-menu-section-title"},r.title),r.children&&r.children.length>0&&t().createElement("div",{className:"stc-mega-menu-children"},r.children.map((function(r){return t().createElement("div",{className:"stc-mega-menu-child-item ".concat(i===r.ID?"stc-mega-menu-child-item-active":""),key:r.ID,onClick:function(t){"function"==typeof s&&(t.stopPropagation(),s(t,e,r))}},r.title)}))))}))))})),f.length>0&&t().createElement("div",{className:"stc-mega-menu-item ".concat(l?"stc-mega-menu-item-active":"")},t().createElement("span",{className:"stc-mega-menu-item-title",onClick:function(e){"function"==typeof s&&(e.stopPropagation(),e.preventDefault(),s(e,f,f))}},"More",J.dropdown),t().createElement("div",{className:"stc-mega-menu-more-group stc-mega-menu-group-col-1"},f.map((function(e){return t().createElement("div",{key:e.ID,className:"stc-mega-more-menu-section"},t().createElement("span",{className:"stc-mega-menu-item-title stc-mega-more-menu-item-title"},e.title,J.dropdown),e.children&&e.children.length>0&&t().createElement("div",{className:"stc-mega-menu-group stc-more-group stc-mega-menu-group-col-1"},e.children.map((function(r){return t().createElement("div",{key:r.ID,className:"stc-mega-menu-section"},t().createElement("span",{className:"stc-mega-menu-section-title"},r.title),r.children&&r.children.length>0&&t().createElement("div",{className:"stc-mega-menu-children"},r.children.map((function(r){return t().createElement("div",{className:"stc-mega-menu-child-item ".concat(i===r.ID?"stc-mega-menu-child-item-active":""),key:r.ID,onClick:function(t){"function"==typeof s&&(t.stopPropagation(),s(t,e,r))}},r.title)}))))}))))})))))))},ke=function(e){var r=e.badge;return t().createElement("span",{className:"stc-grid-item-badge"},r||$("Premium","astra-sites"))};a(986);var Se=a(563);const Ce=function(e){var r=e.parent,n=e.menu,a=e.onClick;return t().createElement("div",{className:"stc-mega-menu-filter"},t().createElement(Ee,{parent:r,menu:n,options:Se,onClick:function(e,t,r){"function"==typeof a&&a(e,t,r)}}))}})(),e.exports=i})()},7437:(e,t,r)=>{"use strict";r.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var n=r(5684),a=r(1609),i=r(41),s=r(1287),o=r(3451),l=(r(4300),r(4146),(0,n.w)((function(e,t){var r=e.styles,l=(0,o.J)([r],void 0,a.useContext(n.T));if(!n.i){for(var c,u=l.name,p=l.styles,d=l.next;void 0!==d;)u+=" "+d.name,p+=d.styles,d=d.next;var f=!0===t.compat,h=t.insert("",{name:u,styles:p},t.sheet,f);return f?null:a.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:h},c.nonce=t.sheet.nonce,c))}var m=a.useRef();return(0,s.i)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(n=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),m.current=[r,n],function(){r.flush()}}),[t]),(0,s.i)((function(){var e=m.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.J)(t)}var u=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},7633:(e,t,r)=>{"use strict";var n=r(1609);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},l={};function c(e){return!!i.call(l,e)||!i.call(o,e)&&(s.test(e)?l[e]=!0:(o[e]=!0,!1))}function u(e,t,r,n,a,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new u(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new u(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new u(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new u(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){p[e]=new u(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new u(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new u(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new u(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new u(e,5,!1,e.toLowerCase(),null,!1,!1)}));var d=/[\-:]([a-z])/g;function f(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(d,f);p[t]=new u(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(d,f);p[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(d,f);p[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!0,!0)}));var h={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(h).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),h[t]=h[e]}))}));var g=/["'&<>]/;function y(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=g.exec(e);if(t){var r,n="",a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.substring(a,r)),a=r+1,n+=t}e=a!==r?n+e.substring(a,r):n}return e}var v=/([A-Z])/g,b=/^ms-/,x=Array.isArray;function w(e,t){return{insertionMode:e,selectedValue:t}}var E=new Map;function k(e,t,r){if("object"!=typeof r)throw Error(a(62));for(var n in t=!0,r)if(i.call(r,n)){var s=r[n];if(null!=s&&"boolean"!=typeof s&&""!==s){if(0===n.indexOf("--")){var o=y(n);s=y((""+s).trim())}else{o=n;var l=E.get(o);void 0!==l||(l=y(o.replace(v,"-$1").toLowerCase().replace(b,"-ms-")),E.set(o,l)),o=l,s="number"==typeof s?0===s||i.call(h,n)?""+s:s+"px":y((""+s).trim())}t?(t=!1,e.push(' style="',o,":",s)):e.push(";",o,":",s)}}t||e.push('"')}function S(e,t,r,n){switch(r){case"style":return void k(e,t,n);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||"o"!==r[0]&&"O"!==r[0]||"n"!==r[1]&&"N"!==r[1])if(null!==(t=p.hasOwnProperty(r)?p[r]:null)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=t.attributeName,t.type){case 3:n&&e.push(" ",r,'=""');break;case 4:!0===n?e.push(" ",r,'=""'):!1!==n&&e.push(" ",r,'="',y(n),'"');break;case 5:isNaN(n)||e.push(" ",r,'="',y(n),'"');break;case 6:!isNaN(n)&&1<=n&&e.push(" ",r,'="',y(n),'"');break;default:t.sanitizeURL&&(n=""+n),e.push(" ",r,'="',y(n),'"')}}else if(c(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if("data-"!==(t=r.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",r,'="',y(n),'"')}}function C(e,t,r){if(null!=t){if(null!=r)throw Error(a(60));if("object"!=typeof t||!("__html"in t))throw Error(a(61));null!=(t=t.__html)&&e.push(""+t)}}function A(e,t,r,n){e.push(T(r));var a,s=r=null;for(a in t)if(i.call(t,a)){var o=t[a];if(null!=o)switch(a){case"children":r=o;break;case"dangerouslySetInnerHTML":s=o;break;default:S(e,n,a,o)}}return e.push(">"),C(e,s,r),"string"==typeof r?(e.push(y(r)),null):r}var _=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,P=new Map;function T(e){var t=P.get(e);if(void 0===t){if(!_.test(e))throw Error(a(65,e));t="<"+e,P.set(e,t)}return t}function I(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(a(395));return e.push(r),e.push('"></template>')}var F=/[<\u2028\u2029]/g;function M(e){return JSON.stringify(e).replace(F,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function D(e,t,r,n){return r.generateStaticMarkup?(e.push(y(t)),!1):(""===t?e=n:(n&&e.push("\x3c!-- --\x3e"),e.push(y(t)),e=!0),e)}var R=Object.assign,L=Symbol.for("react.element"),O=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),z=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),Q=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),J=Symbol.for("react.default_value"),Z=Symbol.iterator;function Y(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case V:return"Fragment";case O:return"Portal";case B:return"Profiler";case N:return"StrictMode";case G:return"Suspense";case W:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case z:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case H:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case q:return null!==(t=e.displayName||null)?t:Y(e.type)||"Memo";case U:t=e._payload,e=e._init;try{return Y(e(t))}catch(e){}}return null}var K={};function ee(e,t){if(!(e=e.contextTypes))return K;var r,n={};for(r in e)n[r]=t[r];return n}var te=null;function re(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(a(401))}else{if(null===r)throw Error(a(401));re(e,r)}t.context._currentValue2=t.value}}function ne(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ne(e)}function ae(e){var t=e.parent;null!==t&&ae(t),e.context._currentValue2=e.value}function ie(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(a(402));e.depth===t.depth?re(e,t):ie(e,t)}function se(e,t){var r=t.parent;if(null===r)throw Error(a(402));e.depth===r.depth?re(e,r):se(e,r),t.context._currentValue2=t.value}function oe(e){var t=te;t!==e&&(null===t?ae(e):null===e?ne(t):t.depth===e.depth?re(t,e):t.depth>e.depth?ie(t,e):se(t,e),te=e)}var le={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function ce(e,t,r,n){var a=void 0!==e.state?e.state:null;e.updater=le,e.props=r,e.state=a;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue2:n,"function"==typeof(s=t.getDerivedStateFromProps)&&(a=null==(s=s(r,a))?a:R({},a,s),e.state=a),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&le.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&1===t.length)e.state=t[0];else{for(i=s?t[0]:e.state,a=!0,s=s?1:0;s<t.length;s++){var o=t[s];null!=(o="function"==typeof o?o.call(e,i,r,n):o)&&(a?(a=!1,i=R({},i,o)):R(i,o))}e.state=i}else i.queue=null}var ue={id:1,overflow:""};function pe(e,t,r){var n=e.id;e=e.overflow;var a=32-de(n)-1;n&=~(1<<a),r+=1;var i=32-de(t)+a;if(30<i){var s=a-a%5;return i=(n&(1<<s)-1).toString(32),n>>=s,a-=s,{id:1<<32-de(t)+a|r<<a|n,overflow:i+e}}return{id:1<<i|r<<a|n,overflow:e}}var de=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(fe(e)/he|0)|0},fe=Math.log,he=Math.LN2,me="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ge=null,ye=null,ve=null,be=null,xe=!1,we=!1,Ee=0,ke=null,Se=0;function Ce(){if(null===ge)throw Error(a(321));return ge}function Ae(){if(0<Se)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function _e(){return null===be?null===ve?(xe=!1,ve=be=Ae()):(xe=!0,be=ve):null===be.next?(xe=!1,be=be.next=Ae()):(xe=!0,be=be.next),be}function Pe(){ye=ge=null,we=!1,ve=null,Se=0,be=ke=null}function Te(e,t){return"function"==typeof t?t(e):t}function Ie(e,t,r){if(ge=Ce(),be=_e(),xe){var n=be.queue;if(t=n.dispatch,null!==ke&&void 0!==(r=ke.get(n))){ke.delete(n),n=be.memoizedState;do{n=e(n,r.action),r=r.next}while(null!==r);return be.memoizedState=n,[n,t]}return[be.memoizedState,t]}return e=e===Te?"function"==typeof t?t():t:void 0!==r?r(t):t,be.memoizedState=e,e=(e=be.queue={last:null,dispatch:null}).dispatch=Me.bind(null,ge,e),[be.memoizedState,e]}function Fe(e,t){if(ge=Ce(),t=void 0===t?null:t,null!==(be=_e())){var r=be.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var a=0;a<n.length&&a<t.length;a++)if(!me(t[a],n[a])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),be.memoizedState=[e,t],e}function Me(e,t,r){if(25<=Se)throw Error(a(301));if(e===ge)if(we=!0,e={action:r,next:null},null===ke&&(ke=new Map),void 0===(r=ke.get(t)))ke.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function De(){throw Error(a(394))}function Re(){}var Le={readContext:function(e){return e._currentValue2},useContext:function(e){return Ce(),e._currentValue2},useMemo:Fe,useReducer:Ie,useRef:function(e){ge=Ce();var t=(be=_e()).memoizedState;return null===t?(e={current:e},be.memoizedState=e):t},useState:function(e){return Ie(Te,e)},useInsertionEffect:Re,useLayoutEffect:function(){},useCallback:function(e,t){return Fe((function(){return e}),t)},useImperativeHandle:Re,useEffect:Re,useDebugValue:Re,useDeferredValue:function(e){return Ce(),e},useTransition:function(){return Ce(),[!1,De]},useId:function(){var e=ye.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-de(e)-1)).toString(32)+t;var r=Oe;if(null===r)throw Error(a(404));return t=Ee++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ce(),t(e._source)},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(a(407));return r()}},Oe=null,Ve=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Ne(e){return console.error(e),null}function Be(){}function je(e,t,r,n,a,i,s,o){e.allPendingTasks++,null===r?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&tt(e)},blockedBoundary:r,blockedSegment:n,abortSet:a,legacyContext:i,context:s,treeContext:o};return a.add(l),l}function ze(e,t,r,n,a,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:a,textEmbedded:i}}function He(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ge(e,t){var r=e.onShellError;r(t),(r=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function We(e,t,r,n,a){for(ge={},ye=t,Ee=0,e=r(n,a);we;)we=!1,Ee=0,Se+=1,be=null,e=r(n,a);return Pe(),e}function qe(e,t,r,n){var i=r.render(),s=n.childContextTypes;if(null!=s){var o=t.legacyContext;if("function"!=typeof r.getChildContext)n=o;else{for(var l in r=r.getChildContext())if(!(l in s))throw Error(a(108,Y(n)||"Unknown",l));n=R({},o,r)}t.legacyContext=n,Qe(e,t,i),t.legacyContext=o}else Qe(e,t,i)}function Ue(e,t){if(e&&e.defaultProps){for(var r in t=R({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function Xe(e,t,r,s,o){if("function"==typeof r)if(r.prototype&&r.prototype.isReactComponent){o=ee(r,t.legacyContext);var l=r.contextType;ce(l=new r(s,"object"==typeof l&&null!==l?l._currentValue2:o),r,s,o),qe(e,t,l,r)}else{o=We(e,t,r,s,l=ee(r,t.legacyContext));var u=0!==Ee;if("object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof)ce(o,r,s,l),qe(e,t,o,r);else if(u){s=t.treeContext,t.treeContext=pe(s,1,0);try{Qe(e,t,o)}finally{t.treeContext=s}}else Qe(e,t,o)}else{if("string"!=typeof r){switch(r){case $:case Q:case N:case B:case V:case W:return void Qe(e,t,s.children);case X:throw Error(a(343));case G:e:{r=t.blockedBoundary,o=t.blockedSegment,l=s.fallback,s=s.children;var p={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u=new Set,errorDigest:null},d=ze(0,o.chunks.length,p,o.formatContext,!1,!1);o.children.push(d),o.lastPushedText=!1;var f=ze(0,0,null,o.formatContext,!1,!1);f.parentFlushed=!0,t.blockedBoundary=p,t.blockedSegment=f;try{if(Je(e,t,s),e.responseState.generateStaticMarkup||f.lastPushedText&&f.textEmbedded&&f.chunks.push("\x3c!-- --\x3e"),f.status=1,Ke(p,f),0===p.pendingTasks)break e}catch(t){f.status=4,p.forceClientRender=!0,p.errorDigest=He(e,t)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=je(e,l,r,d,u,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof r&&null!==r)switch(r.$$typeof){case H:if(s=We(e,t,r.render,s,o),0!==Ee){r=t.treeContext,t.treeContext=pe(r,1,0);try{Qe(e,t,s)}finally{t.treeContext=r}}else Qe(e,t,s);return;case q:return void Xe(e,t,r=r.type,s=Ue(r,s),o);case j:if(o=s.children,r=r._context,s=s.value,l=r._currentValue2,r._currentValue2=s,te=s={parent:u=te,depth:null===u?0:u.depth+1,context:r,parentValue:l,value:s},t.context=s,Qe(e,t,o),null===(e=te))throw Error(a(403));return s=e.parentValue,e.context._currentValue2=s===J?e.context._defaultValue:s,e=te=e.parent,void(t.context=e);case z:return void Qe(e,t,s=(s=s.children)(r._currentValue2));case U:return void Xe(e,t,r=(o=r._init)(r._payload),s=Ue(r,s),void 0)}throw Error(a(130,null==r?r:typeof r,""))}switch(l=function(e,t,r,s,o){switch(t){case"select":e.push(T("select"));var l=null,u=null;for(h in r)if(i.call(r,h)){var p=r[h];if(null!=p)switch(h){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"defaultValue":case"value":break;default:S(e,s,h,p)}}return e.push(">"),C(e,u,l),l;case"option":u=o.selectedValue,e.push(T("option"));var d=p=null,f=null,h=null;for(l in r)if(i.call(r,l)){var m=r[l];if(null!=m)switch(l){case"children":p=m;break;case"selected":f=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":d=m;default:S(e,s,l,m)}}if(null!=u)if(r=null!==d?""+d:function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(p),x(u)){for(s=0;s<u.length;s++)if(""+u[s]===r){e.push(' selected=""');break}}else""+u===r&&e.push(' selected=""');else f&&e.push(' selected=""');return e.push(">"),C(e,h,p),p;case"textarea":for(p in e.push(T("textarea")),h=u=l=null,r)if(i.call(r,p)&&null!=(d=r[p]))switch(p){case"children":h=d;break;case"value":l=d;break;case"defaultValue":u=d;break;case"dangerouslySetInnerHTML":throw Error(a(91));default:S(e,s,p,d)}if(null===l&&null!==u&&(l=u),e.push(">"),null!=h){if(null!=l)throw Error(a(92));if(x(h)&&1<h.length)throw Error(a(93));l=""+h}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),null!==l&&e.push(y(""+l)),null;case"input":for(u in e.push(T("input")),d=h=p=l=null,r)if(i.call(r,u)&&null!=(f=r[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(a(399,"input"));case"defaultChecked":d=f;break;case"defaultValue":p=f;break;case"checked":h=f;break;case"value":l=f;break;default:S(e,s,u,f)}return null!==h?S(e,s,"checked",h):null!==d&&S(e,s,"checked",d),null!==l?S(e,s,"value",l):null!==p&&S(e,s,"value",p),e.push("/>"),null;case"menuitem":for(var g in e.push(T("menuitem")),r)if(i.call(r,g)&&null!=(l=r[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(a(400));default:S(e,s,g,l)}return e.push(">"),null;case"title":for(m in e.push(T("title")),l=null,r)if(i.call(r,m)&&null!=(u=r[m]))switch(m){case"children":l=u;break;case"dangerouslySetInnerHTML":throw Error(a(434));default:S(e,s,m,u)}return e.push(">"),l;case"listing":case"pre":for(d in e.push(T(t)),u=l=null,r)if(i.call(r,d)&&null!=(p=r[d]))switch(d){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;default:S(e,s,d,p)}if(e.push(">"),null!=u){if(null!=l)throw Error(a(60));if("object"!=typeof u||!("__html"in u))throw Error(a(61));null!=(r=u.__html)&&("string"==typeof r&&0<r.length&&"\n"===r[0]?e.push("\n",r):e.push(""+r))}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),l;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var v in e.push(T(t)),r)if(i.call(r,v)&&null!=(l=r[v]))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(a(399,t));default:S(e,s,v,l)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return A(e,r,t,s);case"html":return 0===o.insertionMode&&e.push("<!DOCTYPE html>"),A(e,r,t,s);default:if(-1===t.indexOf("-")&&"string"!=typeof r.is)return A(e,r,t,s);for(f in e.push(T(t)),u=l=null,r)if(i.call(r,f)&&null!=(p=r[f]))switch(f){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"style":k(e,s,p);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:c(f)&&"function"!=typeof p&&"symbol"!=typeof p&&e.push(" ",f,'="',y(p),'"')}return e.push(">"),C(e,u,l),l}}((o=t.blockedSegment).chunks,r,s,e.responseState,o.formatContext),o.lastPushedText=!1,u=o.formatContext,o.formatContext=function(e,t,r){switch(t){case"select":return w(1,null!=r.value?r.value:r.defaultValue);case"svg":return w(2,null);case"math":return w(3,null);case"foreignObject":return w(1,null);case"table":return w(4,null);case"thead":case"tbody":case"tfoot":return w(5,null);case"colgroup":return w(7,null);case"tr":return w(6,null)}return 4<=e.insertionMode||0===e.insertionMode?w(1,null):e}(u,r,s),Je(e,t,l),o.formatContext=u,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push("</",r,">")}o.lastPushedText=!1}}function Qe(e,t,r){if(t.node=r,"object"==typeof r&&null!==r){switch(r.$$typeof){case L:return void Xe(e,t,r.type,r.props,r.ref);case O:throw Error(a(257));case U:var n=r._init;return void Qe(e,t,r=n(r._payload))}if(x(r))return void $e(e,t,r);if((n=null===r||"object"!=typeof r?null:"function"==typeof(n=Z&&r[Z]||r["@@iterator"])?n:null)&&(n=n.call(r))){if(!(r=n.next()).done){var i=[];do{i.push(r.value),r=n.next()}while(!r.done);$e(e,t,i)}return}throw e=Object.prototype.toString.call(r),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(r).join(", ")+"}":e))}"string"==typeof r?(n=t.blockedSegment).lastPushedText=D(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText):"number"==typeof r&&((n=t.blockedSegment).lastPushedText=D(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function $e(e,t,r){for(var n=r.length,a=0;a<n;a++){var i=t.treeContext;t.treeContext=pe(i,n,a);try{Je(e,t,r[a])}finally{t.treeContext=i}}}function Je(e,t,r){var n=t.blockedSegment.formatContext,a=t.legacyContext,i=t.context;try{return Qe(e,t,r)}catch(l){if(Pe(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=n,t.legacyContext=a,t.context=i,oe(i),l;r=l;var s=t.blockedSegment,o=ze(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(o),s.lastPushedText=!1,e=je(e,t.node,t.blockedBoundary,o,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=a,t.context=i,oe(i)}}function Ze(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,et(this,t,e)}function Ye(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,null===n?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=void 0===r?Error(a(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach((function(e){return Ye(e,t,r)})),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(n=t.onAllReady)())}function Ke(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1===r.status&&Ke(e,r)}else e.completedSegments.push(t)}function et(e,t,r){if(null===t){if(r.parentFlushed){if(null!==e.completedRootSegment)throw Error(a(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=Be,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(r.parentFlushed&&1===r.status&&Ke(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Ze,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&1===r.status&&(Ke(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function tt(e){if(2!==e.status){var t=te,r=Ve.current;Ve.current=Le;var n=Oe;Oe=e.responseState;try{var a,i=e.pingedTasks;for(a=0;a<i.length;a++){var s=i[a],o=e,l=s.blockedSegment;if(0===l.status){oe(s.context);try{Qe(o,s,s.node),o.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),s.abortSet.delete(s),l.status=1,et(o,s.blockedBoundary,l)}catch(e){if(Pe(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=He(o,p);null===u?Ge(o,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&o.clientRenderedBoundaries.push(u))),o.allPendingTasks--,0===o.allPendingTasks&&(0,o.onAllReady)()}}}}i.splice(0,a),null!==e.destination&&ot(e,e.destination)}catch(t){He(e,t),Ge(e,t)}finally{Oe=n,Ve.current=r,r===Le&&oe(t)}}}function rt(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=n.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var i=!0;n=r.chunks;var s=0;r=r.children;for(var o=0;o<r.length;o++){for(i=r[o];s<i.index;s++)t.push(n[s]);i=nt(e,t,i)}for(;s<n.length-1;s++)t.push(n[s]);return s<n.length&&(i=t.push(n[s])),i;default:throw Error(a(390))}}function nt(e,t,r){var n=r.boundary;if(null===n)return rt(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)return e.responseState.generateStaticMarkup||(n=n.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),n&&(t.push(' data-dgst="'),n=y(n),t.push(n),t.push('"')),t.push("></template>")),rt(e,t,r),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var i=e.responseState,s=i.nextSuspenseID++;return i=i.boundaryPrefix+s.toString(16),n=n.id=i,I(t,e.responseState,n),rt(e,t,r),t.push("\x3c!--/$--\x3e")}if(n.byteSize>e.progressiveChunkSize)return n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),I(t,e.responseState,n.id),rt(e,t,r),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=n.completedSegments).length)throw Error(a(391));return nt(e,t,r[0]),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function at(e,t,r){return function(e,t,r,n){switch(r.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');default:throw Error(a(397))}}(t,e.responseState,r.formatContext,r.id),nt(e,t,r),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(a(397))}}(t,r.formatContext)}function it(e,t,r){for(var n=r.completedSegments,i=0;i<n.length;i++)st(e,t,r,n[i]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===n)throw Error(a(395));return r=r.toString(16),t.push(n),t.push('","'),t.push(e.segmentPrefix),t.push(r),t.push('")<\/script>')}function st(e,t,r,n){if(2===n.status)return!0;var i=n.id;if(-1===i){if(-1===(n.id=r.rootSegmentID))throw Error(a(392));return at(e,t,n)}return at(e,t,n),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t.push('")<\/script>')}function ot(e,t){try{var r=e.completedRootSegment;if(null!==r&&0===e.pendingRootTasks){nt(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)t.push(n[r]);r<n.length&&t.push(n[r])}var i,s=e.clientRenderedBoundaries;for(i=0;i<s.length;i++){var o=s[i];n=t;var l=e.responseState,c=o.id,u=o.errorDigest,p=o.errorMessage,d=o.errorComponentStack;if(n.push(l.startInlineScript),l.sentClientRenderFunction?n.push('$RX("'):(l.sentClientRenderFunction=!0,n.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===c)throw Error(a(395));if(n.push(c),n.push('"'),u||p||d){n.push(",");var f=M(u||"");n.push(f)}if(p||d){n.push(",");var h=M(p||"");n.push(h)}if(d){n.push(",");var m=M(d);n.push(m)}if(!n.push(")<\/script>"))return e.destination=null,i++,void s.splice(0,i)}s.splice(0,i);var g=e.completedBoundaries;for(i=0;i<g.length;i++)if(!it(e,t,g[i]))return e.destination=null,i++,void g.splice(0,i);g.splice(0,i);var y=e.partialBoundaries;for(i=0;i<y.length;i++){var v=y[i];e:{s=e,o=t;var b=v.completedSegments;for(l=0;l<b.length;l++)if(!st(s,o,v,b[l])){l++,b.splice(0,l);var x=!1;break e}b.splice(0,l),x=!0}if(!x)return e.destination=null,i++,void y.splice(0,i)}y.splice(0,i);var w=e.completedBoundaries;for(i=0;i<w.length;i++)if(!it(e,t,w[i]))return e.destination=null,i++,void w.splice(0,i);w.splice(0,i)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function lt(e,t){try{var r=e.abortableTasks;r.forEach((function(r){return Ye(r,e,t)})),r.clear(),null!==e.destination&&ot(e,e.destination)}catch(t){He(e,t),Ge(e,t)}}function ct(){}function ut(e,t,r,n){var i=!1,s=null,o="",l={push:function(e){return null!==e&&(o+=e),!0},destroy:function(e){i=!0,s=e}},c=!1;if(e=function(e,t,r,n,a,i,s){var o=[],l=new Set;return(r=ze(t={destination:null,responseState:t,progressiveChunkSize:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:l,pingedTasks:o,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===a?Ne:a,onAllReady:Be,onShellReady:void 0===s?Be:s,onShellError:Be,onFatalError:Be},0,null,r,!1,!1)).parentFlushed=!0,e=je(t,e,null,r,l,K,null,ue),o.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(r,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ct,0,(function(){c=!0})),tt(e),lt(e,n),1===e.status)e.status=2,l.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=l;try{ot(e,l)}catch(t){He(e,t),Ge(e,t)}}if(i)throw s;if(!c)throw Error(a(426));return o}t.renderToNodeStream=function(){throw Error(a(207))},t.renderToStaticMarkup=function(e,t){return ut(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(a(208))},t.renderToString=function(e,t){return ut(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.2.0"},8094:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8587),a=r(8168);const i=["values","unit","step"],s=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,a.A)({},e,{[t.key]:t.val})),{})};function o(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5}=e,l=(0,n.A)(e,i),c=s(t),u=Object.keys(c);function p(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${r})`}function f(e,n){const a=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==a&&"number"==typeof t[u[a]]?t[u[a]]:n)-o/100}${r})`}return(0,a.A)({keys:u,values:c,up:p,down:d,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):p(e)},not:function(e){const t=u.indexOf(e);return 0===t?p(u[1]):t===u.length-1?d(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}},8168:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},8217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(8659)},8248:(e,t,r)=>{"use strict";r.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>y,Ms:()=>v});var n=r(9452),a=r(6481),i=r(4620);const s={m:"margin",p:"padding"},o={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=s[t],a=o[r]||"";return Array.isArray(a)?a.map((e=>n+e)):[n+a]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...p];function f(e,t,r,n){var i;const s=null!=(i=(0,a.Yn)(e,t,!1))?i:r;return"number"==typeof s?e=>"string"==typeof e?e:s*e:Array.isArray(s)?e=>"string"==typeof e?e:s[e]:"function"==typeof s?s:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function g(e,t){const r=h(e.theme);return Object.keys(e).map((a=>function(e,t,r,a){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=m(t,r),e)),{})}(c(r),a),s=e[r];return(0,n.NI)(e,s,i)}(e,t,a,r))).reduce(i.A,{})}function y(e){return g(e,u)}function v(e){return g(e,p)}function b(e){return g(e,d)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=p,b.propTypes={},b.filterProps=d},8336:(e,t,r)=>{"use strict";function n(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},8587:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},8659:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(5697);function a(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8749:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(8168),a=r(8587),i=r(4521),s=r(8094);const o={borderRadius:4};var l=r(8248),c=r(3571),u=r(4188),p=r(8336);const d=["breakpoints","palette","spacing","shape"],f=function(e={},...t){const{breakpoints:r={},palette:f={},spacing:h,shape:m={}}=e,g=(0,a.A)(e,d),y=(0,s.A)(r),v=function(e=8){if(e.mui)return e;const t=(0,l.LX)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(h);let b=(0,i.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},f),spacing:v,shape:(0,n.A)({},o,m)},g);return b.applyStyles=p.A,b=t.reduce(((e,t)=>(0,i.A)(e,t)),b),b.unstable_sxConfig=(0,n.A)({},u.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},9452:(e,t,r)=>{"use strict";r.d(t,{EU:()=>s,NI:()=>i,kW:()=>l,vf:()=>o,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||a;return t.reduce(((n,a,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=i.breakpoints||a;return Object.keys(t).reduce(((a,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i))a[e.up(i)]=r(t[i],i);else{const e=i;a[e]=t[e]}return a}),{})}return r(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function o(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function l({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),a=Object.keys(n);if(0===a.length)return e;let i;return a.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[i],i=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[i],i=r):t[r]=e,t)),{})}},9599:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),a=r(8587),i=r(4521),s=r(4188);const o=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},a=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:s.A;return Object.keys(e).forEach((t=>{a[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function c(e){const{sx:t}=e,r=(0,a.A)(e,o),{systemProps:s,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[s,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,i.Q)(r)?(0,n.A)({},s,r):s}:(0,n.A)({},s,t),(0,n.A)({},c,{sx:u})}},9676:(e,t,r)=>{"use strict";var n={};r.r(n),r.d(n,{VERSION:()=>l,after:()=>Nt,all:()=>ar,allKeys:()=>xe,any:()=>ir,assign:()=>Ne,before:()=>Bt,bind:()=>At,bindAll:()=>Tt,chain:()=>Et,chunk:()=>zr,clone:()=>He,collect:()=>Yt,compact:()=>Ir,compose:()=>Vt,constant:()=>re,contains:()=>sr,countBy:()=>xr,create:()=>ze,debounce:()=>Rt,default:()=>Wr,defaults:()=>Be,defer:()=>Mt,delay:()=>Ft,detect:()=>$t,difference:()=>Mr,drop:()=>Pr,each:()=>Zt,escape:()=>ut,every:()=>ar,extend:()=>Ve,extendOwn:()=>Ne,filter:()=>rr,find:()=>$t,findIndex:()=>Gt,findKey:()=>zt,findLastIndex:()=>Wt,findWhere:()=>Jt,first:()=>_r,flatten:()=>Fr,foldl:()=>er,foldr:()=>tr,forEach:()=>Zt,functions:()=>Le,get:()=>Xe,groupBy:()=>vr,has:()=>Qe,head:()=>_r,identity:()=>$e,include:()=>sr,includes:()=>sr,indexBy:()=>br,indexOf:()=>Xt,initial:()=>Ar,inject:()=>er,intersection:()=>Or,invert:()=>Re,invoke:()=>or,isArguments:()=>K,isArray:()=>J,isArrayBuffer:()=>z,isBoolean:()=>M,isDataView:()=>$,isDate:()=>V,isElement:()=>D,isEmpty:()=>de,isEqual:()=>be,isError:()=>B,isFinite:()=>ee,isFunction:()=>W,isMap:()=>Pe,isMatch:()=>fe,isNaN:()=>te,isNull:()=>I,isNumber:()=>O,isObject:()=>T,isRegExp:()=>N,isSet:()=>Ie,isString:()=>L,isSymbol:()=>j,isTypedArray:()=>le,isUndefined:()=>F,isWeakMap:()=>Te,isWeakSet:()=>Fe,iteratee:()=>et,keys:()=>pe,last:()=>Tr,lastIndexOf:()=>Qt,map:()=>Yt,mapObject:()=>rt,matcher:()=>Je,matches:()=>Je,max:()=>ur,memoize:()=>It,methods:()=>Le,min:()=>pr,mixin:()=>Gr,negate:()=>Ot,noop:()=>nt,now:()=>ot,object:()=>Br,omit:()=>Cr,once:()=>jt,pairs:()=>De,partial:()=>Ct,partition:()=>wr,pick:()=>Sr,pluck:()=>lr,property:()=>Ze,propertyOf:()=>at,random:()=>st,range:()=>jr,reduce:()=>er,reduceRight:()=>tr,reject:()=>nr,rest:()=>Pr,restArguments:()=>P,result:()=>bt,sample:()=>hr,select:()=>rr,shuffle:()=>mr,size:()=>Er,some:()=>ir,sortBy:()=>gr,sortedIndex:()=>qt,tail:()=>Pr,take:()=>_r,tap:()=>Ge,template:()=>vt,templateSettings:()=>dt,throttle:()=>Dt,times:()=>it,toArray:()=>fr,toPath:()=>We,transpose:()=>Vr,unescape:()=>pt,union:()=>Lr,uniq:()=>Rr,unique:()=>Rr,uniqueId:()=>wt,unzip:()=>Vr,values:()=>Me,where:()=>cr,without:()=>Dr,wrap:()=>Lt,zip:()=>Nr});var a=r(1609),i=r.t(a,2),s=r.n(a);const o=window.ReactDOM;var l="1.13.6",c="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},u=Array.prototype,p=Object.prototype,d="undefined"!=typeof Symbol?Symbol.prototype:null,f=u.push,h=u.slice,m=p.toString,g=p.hasOwnProperty,y="undefined"!=typeof ArrayBuffer,v="undefined"!=typeof DataView,b=Array.isArray,x=Object.keys,w=Object.create,E=y&&ArrayBuffer.isView,k=isNaN,S=isFinite,C=!{toString:null}.propertyIsEnumerable("toString"),A=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1;function P(e,t){return t=null==t?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),a=0;a<r;a++)n[a]=arguments[a+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var i=Array(t+1);for(a=0;a<t;a++)i[a]=arguments[a];return i[t]=n,e.apply(this,i)}}function T(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function I(e){return null===e}function F(e){return void 0===e}function M(e){return!0===e||!1===e||"[object Boolean]"===m.call(e)}function D(e){return!(!e||1!==e.nodeType)}function R(e){var t="[object "+e+"]";return function(e){return m.call(e)===t}}const L=R("String"),O=R("Number"),V=R("Date"),N=R("RegExp"),B=R("Error"),j=R("Symbol"),z=R("ArrayBuffer");var H=R("Function"),G=c.document&&c.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof G&&(H=function(e){return"function"==typeof e||!1});const W=H,q=R("Object");var U=v&&q(new DataView(new ArrayBuffer(8))),X="undefined"!=typeof Map&&q(new Map),Q=R("DataView");const $=U?function(e){return null!=e&&W(e.getInt8)&&z(e.buffer)}:Q,J=b||R("Array");function Z(e,t){return null!=e&&g.call(e,t)}var Y=R("Arguments");!function(){Y(arguments)||(Y=function(e){return Z(e,"callee")})}();const K=Y;function ee(e){return!j(e)&&S(e)&&!isNaN(parseFloat(e))}function te(e){return O(e)&&k(e)}function re(e){return function(){return e}}function ne(e){return function(t){var r=e(t);return"number"==typeof r&&r>=0&&r<=_}}function ae(e){return function(t){return null==t?void 0:t[e]}}const ie=ae("byteLength"),se=ne(ie);var oe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const le=y?function(e){return E?E(e)&&!$(e):se(e)&&oe.test(m.call(e))}:re(!1),ce=ae("length");function ue(e,t){t=function(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(e){return!0===t[e]},push:function(r){return t[r]=!0,e.push(r)}}}(t);var r=A.length,n=e.constructor,a=W(n)&&n.prototype||p,i="constructor";for(Z(e,i)&&!t.contains(i)&&t.push(i);r--;)(i=A[r])in e&&e[i]!==a[i]&&!t.contains(i)&&t.push(i)}function pe(e){if(!T(e))return[];if(x)return x(e);var t=[];for(var r in e)Z(e,r)&&t.push(r);return C&&ue(e,t),t}function de(e){if(null==e)return!0;var t=ce(e);return"number"==typeof t&&(J(e)||L(e)||K(e))?0===t:0===ce(pe(e))}function fe(e,t){var r=pe(t),n=r.length;if(null==e)return!n;for(var a=Object(e),i=0;i<n;i++){var s=r[i];if(t[s]!==a[s]||!(s in a))return!1}return!0}function he(e){return e instanceof he?e:this instanceof he?void(this._wrapped=e):new he(e)}function me(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,ie(e))}he.VERSION=l,he.prototype.value=function(){return this._wrapped},he.prototype.valueOf=he.prototype.toJSON=he.prototype.value,he.prototype.toString=function(){return String(this._wrapped)};var ge="[object DataView]";function ye(e,t,r,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var a=typeof e;return("function"===a||"object"===a||"object"==typeof t)&&ve(e,t,r,n)}function ve(e,t,r,n){e instanceof he&&(e=e._wrapped),t instanceof he&&(t=t._wrapped);var a=m.call(e);if(a!==m.call(t))return!1;if(U&&"[object Object]"==a&&$(e)){if(!$(t))return!1;a=ge}switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return d.valueOf.call(e)===d.valueOf.call(t);case"[object ArrayBuffer]":case ge:return ve(me(e),me(t),r,n)}var i="[object Array]"===a;if(!i&&le(e)){if(ie(e)!==ie(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,o=t.constructor;if(s!==o&&!(W(s)&&s instanceof s&&W(o)&&o instanceof o)&&"constructor"in e&&"constructor"in t)return!1}n=n||[];for(var l=(r=r||[]).length;l--;)if(r[l]===e)return n[l]===t;if(r.push(e),n.push(t),i){if((l=e.length)!==t.length)return!1;for(;l--;)if(!ye(e[l],t[l],r,n))return!1}else{var c,u=pe(e);if(l=u.length,pe(t).length!==l)return!1;for(;l--;)if(!Z(t,c=u[l])||!ye(e[c],t[c],r,n))return!1}return r.pop(),n.pop(),!0}function be(e,t){return ye(e,t)}function xe(e){if(!T(e))return[];var t=[];for(var r in e)t.push(r);return C&&ue(e,t),t}function we(e){var t=ce(e);return function(r){if(null==r)return!1;var n=xe(r);if(ce(n))return!1;for(var a=0;a<t;a++)if(!W(r[e[a]]))return!1;return e!==Ae||!W(r[Ee])}}var Ee="forEach",ke=["clear","delete"],Se=["get","has","set"],Ce=ke.concat(Ee,Se),Ae=ke.concat(Se),_e=["add"].concat(ke,Ee,"has");const Pe=X?we(Ce):R("Map"),Te=X?we(Ae):R("WeakMap"),Ie=X?we(_e):R("Set"),Fe=R("WeakSet");function Me(e){for(var t=pe(e),r=t.length,n=Array(r),a=0;a<r;a++)n[a]=e[t[a]];return n}function De(e){for(var t=pe(e),r=t.length,n=Array(r),a=0;a<r;a++)n[a]=[t[a],e[t[a]]];return n}function Re(e){for(var t={},r=pe(e),n=0,a=r.length;n<a;n++)t[e[r[n]]]=r[n];return t}function Le(e){var t=[];for(var r in e)W(e[r])&&t.push(r);return t.sort()}function Oe(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||null==r)return r;for(var a=1;a<n;a++)for(var i=arguments[a],s=e(i),o=s.length,l=0;l<o;l++){var c=s[l];t&&void 0!==r[c]||(r[c]=i[c])}return r}}const Ve=Oe(xe),Ne=Oe(pe),Be=Oe(xe,!0);function je(e){if(!T(e))return{};if(w)return w(e);var t=function(){};t.prototype=e;var r=new t;return t.prototype=null,r}function ze(e,t){var r=je(e);return t&&Ne(r,t),r}function He(e){return T(e)?J(e)?e.slice():Ve({},e):e}function Ge(e,t){return t(e),e}function We(e){return J(e)?e:[e]}function qe(e){return he.toPath(e)}function Ue(e,t){for(var r=t.length,n=0;n<r;n++){if(null==e)return;e=e[t[n]]}return r?e:void 0}function Xe(e,t,r){var n=Ue(e,qe(t));return F(n)?r:n}function Qe(e,t){for(var r=(t=qe(t)).length,n=0;n<r;n++){var a=t[n];if(!Z(e,a))return!1;e=e[a]}return!!r}function $e(e){return e}function Je(e){return e=Ne({},e),function(t){return fe(t,e)}}function Ze(e){return e=qe(e),function(t){return Ue(t,e)}}function Ye(e,t,r){if(void 0===t)return e;switch(null==r?3:r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,a){return e.call(t,r,n,a)};case 4:return function(r,n,a,i){return e.call(t,r,n,a,i)}}return function(){return e.apply(t,arguments)}}function Ke(e,t,r){return null==e?$e:W(e)?Ye(e,t,r):T(e)&&!J(e)?Je(e):Ze(e)}function et(e,t){return Ke(e,t,1/0)}function tt(e,t,r){return he.iteratee!==et?he.iteratee(e,t):Ke(e,t,r)}function rt(e,t,r){t=tt(t,r);for(var n=pe(e),a=n.length,i={},s=0;s<a;s++){var o=n[s];i[o]=t(e[o],o,e)}return i}function nt(){}function at(e){return null==e?nt:function(t){return Xe(e,t)}}function it(e,t,r){var n=Array(Math.max(0,e));t=Ye(t,r,1);for(var a=0;a<e;a++)n[a]=t(a);return n}function st(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}he.toPath=We,he.iteratee=et;const ot=Date.now||function(){return(new Date).getTime()};function lt(e){var t=function(t){return e[t]},r="(?:"+pe(e).join("|")+")",n=RegExp(r),a=RegExp(r,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(a,t):e}}const ct={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ut=lt(ct),pt=lt(Re(ct)),dt=he.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ft=/(.)^/,ht={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},mt=/\\|'|\r|\n|\u2028|\u2029/g;function gt(e){return"\\"+ht[e]}var yt=/^\s*(\w|\$)+\s*$/;function vt(e,t,r){!t&&r&&(t=r),t=Be({},t,he.templateSettings);var n=RegExp([(t.escape||ft).source,(t.interpolate||ft).source,(t.evaluate||ft).source].join("|")+"|$","g"),a=0,i="__p+='";e.replace(n,(function(t,r,n,s,o){return i+=e.slice(a,o).replace(mt,gt),a=o+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":s&&(i+="';\n"+s+"\n__p+='"),t})),i+="';\n";var s,o=t.variable;if(o){if(!yt.test(o))throw new Error("variable is not a bare identifier: "+o)}else i="with(obj||{}){\n"+i+"}\n",o="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{s=new Function(o,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return s.call(this,e,he)};return l.source="function("+o+"){\n"+i+"}",l}function bt(e,t,r){var n=(t=qe(t)).length;if(!n)return W(r)?r.call(e):r;for(var a=0;a<n;a++){var i=null==e?void 0:e[t[a]];void 0===i&&(i=r,a=n),e=W(i)?i.call(e):i}return e}var xt=0;function wt(e){var t=++xt+"";return e?e+t:t}function Et(e){var t=he(e);return t._chain=!0,t}function kt(e,t,r,n,a){if(!(n instanceof t))return e.apply(r,a);var i=je(e.prototype),s=e.apply(i,a);return T(s)?s:i}var St=P((function(e,t){var r=St.placeholder,n=function(){for(var a=0,i=t.length,s=Array(i),o=0;o<i;o++)s[o]=t[o]===r?arguments[a++]:t[o];for(;a<arguments.length;)s.push(arguments[a++]);return kt(e,n,this,this,s)};return n}));St.placeholder=he;const Ct=St,At=P((function(e,t,r){if(!W(e))throw new TypeError("Bind must be called on a function");var n=P((function(a){return kt(e,n,t,this,r.concat(a))}));return n})),_t=ne(ce);function Pt(e,t,r,n){if(n=n||[],t||0===t){if(t<=0)return n.concat(e)}else t=1/0;for(var a=n.length,i=0,s=ce(e);i<s;i++){var o=e[i];if(_t(o)&&(J(o)||K(o)))if(t>1)Pt(o,t-1,r,n),a=n.length;else for(var l=0,c=o.length;l<c;)n[a++]=o[l++];else r||(n[a++]=o)}return n}const Tt=P((function(e,t){var r=(t=Pt(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=At(e[n],e)}return e}));function It(e,t){var r=function(n){var a=r.cache,i=""+(t?t.apply(this,arguments):n);return Z(a,i)||(a[i]=e.apply(this,arguments)),a[i]};return r.cache={},r}const Ft=P((function(e,t,r){return setTimeout((function(){return e.apply(null,r)}),t)})),Mt=Ct(Ft,he,1);function Dt(e,t,r){var n,a,i,s,o=0;r||(r={});var l=function(){o=!1===r.leading?0:ot(),n=null,s=e.apply(a,i),n||(a=i=null)},c=function(){var c=ot();o||!1!==r.leading||(o=c);var u=t-(c-o);return a=this,i=arguments,u<=0||u>t?(n&&(clearTimeout(n),n=null),o=c,s=e.apply(a,i),n||(a=i=null)):n||!1===r.trailing||(n=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(n),o=0,n=a=i=null},c}function Rt(e,t,r){var n,a,i,s,o,l=function(){var c=ot()-a;t>c?n=setTimeout(l,t-c):(n=null,r||(s=e.apply(o,i)),n||(i=o=null))},c=P((function(c){return o=this,i=c,a=ot(),n||(n=setTimeout(l,t),r&&(s=e.apply(o,i))),s}));return c.cancel=function(){clearTimeout(n),n=i=o=null},c}function Lt(e,t){return Ct(t,e)}function Ot(e){return function(){return!e.apply(this,arguments)}}function Vt(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}function Nt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Bt(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}const jt=Ct(Bt,2);function zt(e,t,r){t=tt(t,r);for(var n,a=pe(e),i=0,s=a.length;i<s;i++)if(t(e[n=a[i]],n,e))return n}function Ht(e){return function(t,r,n){r=tt(r,n);for(var a=ce(t),i=e>0?0:a-1;i>=0&&i<a;i+=e)if(r(t[i],i,t))return i;return-1}}const Gt=Ht(1),Wt=Ht(-1);function qt(e,t,r,n){for(var a=(r=tt(r,n,1))(t),i=0,s=ce(e);i<s;){var o=Math.floor((i+s)/2);r(e[o])<a?i=o+1:s=o}return i}function Ut(e,t,r){return function(n,a,i){var s=0,o=ce(n);if("number"==typeof i)e>0?s=i>=0?i:Math.max(i+o,s):o=i>=0?Math.min(i+1,o):i+o+1;else if(r&&i&&o)return n[i=r(n,a)]===a?i:-1;if(a!=a)return(i=t(h.call(n,s,o),te))>=0?i+s:-1;for(i=e>0?s:o-1;i>=0&&i<o;i+=e)if(n[i]===a)return i;return-1}}const Xt=Ut(1,Gt,qt),Qt=Ut(-1,Wt);function $t(e,t,r){var n=(_t(e)?Gt:zt)(e,t,r);if(void 0!==n&&-1!==n)return e[n]}function Jt(e,t){return $t(e,Je(t))}function Zt(e,t,r){var n,a;if(t=Ye(t,r),_t(e))for(n=0,a=e.length;n<a;n++)t(e[n],n,e);else{var i=pe(e);for(n=0,a=i.length;n<a;n++)t(e[i[n]],i[n],e)}return e}function Yt(e,t,r){t=tt(t,r);for(var n=!_t(e)&&pe(e),a=(n||e).length,i=Array(a),s=0;s<a;s++){var o=n?n[s]:s;i[s]=t(e[o],o,e)}return i}function Kt(e){return function(t,r,n,a){var i=arguments.length>=3;return function(t,r,n,a){var i=!_t(t)&&pe(t),s=(i||t).length,o=e>0?0:s-1;for(a||(n=t[i?i[o]:o],o+=e);o>=0&&o<s;o+=e){var l=i?i[o]:o;n=r(n,t[l],l,t)}return n}(t,Ye(r,a,4),n,i)}}const er=Kt(1),tr=Kt(-1);function rr(e,t,r){var n=[];return t=tt(t,r),Zt(e,(function(e,r,a){t(e,r,a)&&n.push(e)})),n}function nr(e,t,r){return rr(e,Ot(tt(t)),r)}function ar(e,t,r){t=tt(t,r);for(var n=!_t(e)&&pe(e),a=(n||e).length,i=0;i<a;i++){var s=n?n[i]:i;if(!t(e[s],s,e))return!1}return!0}function ir(e,t,r){t=tt(t,r);for(var n=!_t(e)&&pe(e),a=(n||e).length,i=0;i<a;i++){var s=n?n[i]:i;if(t(e[s],s,e))return!0}return!1}function sr(e,t,r,n){return _t(e)||(e=Me(e)),("number"!=typeof r||n)&&(r=0),Xt(e,t,r)>=0}const or=P((function(e,t,r){var n,a;return W(t)?a=t:(t=qe(t),n=t.slice(0,-1),t=t[t.length-1]),Yt(e,(function(e){var i=a;if(!i){if(n&&n.length&&(e=Ue(e,n)),null==e)return;i=e[t]}return null==i?i:i.apply(e,r)}))}));function lr(e,t){return Yt(e,Ze(t))}function cr(e,t){return rr(e,Je(t))}function ur(e,t,r){var n,a,i=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,l=(e=_t(e)?e:Me(e)).length;o<l;o++)null!=(n=e[o])&&n>i&&(i=n);else t=tt(t,r),Zt(e,(function(e,r,n){((a=t(e,r,n))>s||a===-1/0&&i===-1/0)&&(i=e,s=a)}));return i}function pr(e,t,r){var n,a,i=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,l=(e=_t(e)?e:Me(e)).length;o<l;o++)null!=(n=e[o])&&n<i&&(i=n);else t=tt(t,r),Zt(e,(function(e,r,n){((a=t(e,r,n))<s||a===1/0&&i===1/0)&&(i=e,s=a)}));return i}var dr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function fr(e){return e?J(e)?h.call(e):L(e)?e.match(dr):_t(e)?Yt(e,$e):Me(e):[]}function hr(e,t,r){if(null==t||r)return _t(e)||(e=Me(e)),e[st(e.length-1)];var n=fr(e),a=ce(n);t=Math.max(Math.min(t,a),0);for(var i=a-1,s=0;s<t;s++){var o=st(s,i),l=n[s];n[s]=n[o],n[o]=l}return n.slice(0,t)}function mr(e){return hr(e,1/0)}function gr(e,t,r){var n=0;return t=tt(t,r),lr(Yt(e,(function(e,r,a){return{value:e,index:n++,criteria:t(e,r,a)}})).sort((function(e,t){var r=e.criteria,n=t.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return e.index-t.index})),"value")}function yr(e,t){return function(r,n,a){var i=t?[[],[]]:{};return n=tt(n,a),Zt(r,(function(t,a){var s=n(t,a,r);e(i,t,s)})),i}}const vr=yr((function(e,t,r){Z(e,r)?e[r].push(t):e[r]=[t]})),br=yr((function(e,t,r){e[r]=t})),xr=yr((function(e,t,r){Z(e,r)?e[r]++:e[r]=1})),wr=yr((function(e,t,r){e[r?0:1].push(t)}),!0);function Er(e){return null==e?0:_t(e)?e.length:pe(e).length}function kr(e,t,r){return t in r}const Sr=P((function(e,t){var r={},n=t[0];if(null==e)return r;W(n)?(t.length>1&&(n=Ye(n,t[1])),t=xe(e)):(n=kr,t=Pt(t,!1,!1),e=Object(e));for(var a=0,i=t.length;a<i;a++){var s=t[a],o=e[s];n(o,s,e)&&(r[s]=o)}return r})),Cr=P((function(e,t){var r,n=t[0];return W(n)?(n=Ot(n),t.length>1&&(r=t[1])):(t=Yt(Pt(t,!1,!1),String),n=function(e,r){return!sr(t,r)}),Sr(e,n,r)}));function Ar(e,t,r){return h.call(e,0,Math.max(0,e.length-(null==t||r?1:t)))}function _r(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[0]:Ar(e,e.length-t)}function Pr(e,t,r){return h.call(e,null==t||r?1:t)}function Tr(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[e.length-1]:Pr(e,Math.max(0,e.length-t))}function Ir(e){return rr(e,Boolean)}function Fr(e,t){return Pt(e,t,!1)}const Mr=P((function(e,t){return t=Pt(t,!0,!0),rr(e,(function(e){return!sr(t,e)}))})),Dr=P((function(e,t){return Mr(e,t)}));function Rr(e,t,r,n){M(t)||(n=r,r=t,t=!1),null!=r&&(r=tt(r,n));for(var a=[],i=[],s=0,o=ce(e);s<o;s++){var l=e[s],c=r?r(l,s,e):l;t&&!r?(s&&i===c||a.push(l),i=c):r?sr(i,c)||(i.push(c),a.push(l)):sr(a,l)||a.push(l)}return a}const Lr=P((function(e){return Rr(Pt(e,!0,!0))}));function Or(e){for(var t=[],r=arguments.length,n=0,a=ce(e);n<a;n++){var i=e[n];if(!sr(t,i)){var s;for(s=1;s<r&&sr(arguments[s],i);s++);s===r&&t.push(i)}}return t}function Vr(e){for(var t=e&&ur(e,ce).length||0,r=Array(t),n=0;n<t;n++)r[n]=lr(e,n);return r}const Nr=P(Vr);function Br(e,t){for(var r={},n=0,a=ce(e);n<a;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function jr(e,t,r){null==t&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),a=Array(n),i=0;i<n;i++,e+=r)a[i]=e;return a}function zr(e,t){if(null==t||t<1)return[];for(var r=[],n=0,a=e.length;n<a;)r.push(h.call(e,n,n+=t));return r}function Hr(e,t){return e._chain?he(t).chain():t}function Gr(e){return Zt(Le(e),(function(t){var r=he[t]=e[t];he.prototype[t]=function(){var e=[this._wrapped];return f.apply(e,arguments),Hr(this,r.apply(he,e))}})),he}Zt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=u[e];he.prototype[e]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),"shift"!==e&&"splice"!==e||0!==r.length||delete r[0]),Hr(this,r)}})),Zt(["concat","join","slice"],(function(e){var t=u[e];he.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Hr(this,e)}}));const Wr=he;var qr=Gr(n);qr._=qr;var Ur,Xr,Qr=r(6997);function $r(){return $r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$r.apply(this,arguments)}(Xr=Ur||(Ur={})).Pop="POP",Xr.Push="PUSH",Xr.Replace="REPLACE";const Jr="popstate";function Zr(e,t){if(!1===e||null==e)throw new Error(t)}function Yr(e,t){return{usr:e.state,key:e.key,idx:t}}function Kr(e,t,r,n){return void 0===r&&(r=null),$r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?tn(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function en(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function tn(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var rn;function nn(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(rn||(rn={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const an=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",sn=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const on=["post","put","patch","delete"],ln=(new Set(on),["get",...on]);function cn(){return cn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cn.apply(this,arguments)}new Set(ln),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const un=a.createContext(null),pn=a.createContext(null),dn=a.createContext(null),fn=a.createContext({outlet:null,matches:[],isDataRoute:!1});function hn(){return null!=a.useContext(dn)}function mn(e){a.useContext(pn).static||a.useLayoutEffect(e)}function gn(){let{isDataRoute:e}=a.useContext(fn);return e?function(){let{router:e}=function(){let e=a.useContext(un);return e||Zr(!1),e}(yn.UseNavigateStable),t=function(){let e=function(){let e=a.useContext(fn);return e||Zr(!1),e}(),t=e.matches[e.matches.length-1];return t.route.id||Zr(!1),t.route.id}(vn.UseNavigateStable),r=a.useRef(!1);return mn((()=>{r.current=!0})),a.useCallback((function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,cn({fromRouteId:t},a)))}),[e,t])}():function(){hn()||Zr(!1);let e=a.useContext(un),{basename:t,future:r,navigator:n}=a.useContext(pn),{matches:i}=a.useContext(fn),{pathname:s}=(hn()||Zr(!1),a.useContext(dn).location),o=JSON.stringify(function(e,t){let r=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?r.map(((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)):r.map((e=>e.pathnameBase))}(i,r.v7_relativeSplatPath)),l=a.useRef(!1);return mn((()=>{l.current=!0})),a.useCallback((function(r,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof r)return void n.go(r);let i=function(e,t,r,n){let a;void 0===n&&(n=!1),"string"==typeof e?a=tn(e):(a=$r({},e),Zr(!a.pathname||!a.pathname.includes("?"),nn("?","pathname","search",a)),Zr(!a.pathname||!a.pathname.includes("#"),nn("#","pathname","hash",a)),Zr(!a.search||!a.search.includes("#"),nn("#","search","hash",a)));let i,s=""===e||""===a.pathname,o=s?"/":a.pathname;if(null==o)i=r;else{let e=t.length-1;if(!n&&o.startsWith("..")){let t=o.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}i=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:a=""}="string"==typeof e?tn(e):e,i=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:i,search:an(n),hash:sn(a)}}(a,i),c=o&&"/"!==o&&o.endsWith("/"),u=(s||"."===o)&&r.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}(r,JSON.parse(o),s,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:[t,i.pathname].join("/").replace(/\/\/+/g,"/")),(a.replace?n.replace:n.push)(i,a.state,a)}),[t,n,o,s,e])}()}a.Component;var yn=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(yn||{}),vn=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(vn||{});function bn(e){let{basename:t="/",children:r=null,location:n,navigationType:i=Ur.Pop,navigator:s,static:o=!1,future:l}=e;hn()&&Zr(!1);let c=t.replace(/^\/*/,"/"),u=a.useMemo((()=>({basename:c,navigator:s,static:o,future:cn({v7_relativeSplatPath:!1},l)})),[c,l,s,o]);"string"==typeof n&&(n=tn(n));let{pathname:p="/",search:d="",hash:f="",state:h=null,key:m="default"}=n,g=a.useMemo((()=>{let e=function(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}(p,c);return null==e?null:{location:{pathname:e,search:d,hash:f,state:h,key:m},navigationType:i}}),[c,p,d,f,h,m,i]);return null==g?null:a.createElement(pn.Provider,{value:u},a.createElement(dn.Provider,{children:r,value:g}))}a.startTransition,new Promise((()=>{})),a.Component;const xn=window.wp.htmlEntities,wn=window.wp.i18n;var En=function(){return En=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},En.apply(this,arguments)};function kn(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create;var Sn=r(2833),Cn=r.n(Sn),An="-ms-",Pn="-moz-",Tn="-webkit-",In="comm",Fn="rule",Mn="decl",Dn="@keyframes",Rn=Math.abs,Ln=String.fromCharCode,On=Object.assign;function Vn(e){return e.trim()}function Nn(e,t){return(e=t.exec(e))?e[0]:e}function Bn(e,t,r){return e.replace(t,r)}function jn(e,t,r){return e.indexOf(t,r)}function zn(e,t){return 0|e.charCodeAt(t)}function Hn(e,t,r){return e.slice(t,r)}function Gn(e){return e.length}function Wn(e){return e.length}function qn(e,t){return t.push(e),e}function Un(e,t){return e.filter((function(e){return!Nn(e,t)}))}var Xn=1,Qn=1,$n=0,Jn=0,Zn=0,Yn="";function Kn(e,t,r,n,a,i,s,o){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Xn,column:Qn,length:s,return:"",siblings:o}}function ea(e,t){return On(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ta(e){for(;e.root;)e=ea(e.root,{children:[e]});qn(e,e.siblings)}function ra(){return Zn=Jn>0?zn(Yn,--Jn):0,Qn--,10===Zn&&(Qn=1,Xn--),Zn}function na(){return Zn=Jn<$n?zn(Yn,Jn++):0,Qn++,10===Zn&&(Qn=1,Xn++),Zn}function aa(){return zn(Yn,Jn)}function ia(){return Jn}function sa(e,t){return Hn(Yn,e,t)}function oa(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function la(e){return Vn(sa(Jn-1,pa(91===e?e+2:40===e?e+1:e)))}function ca(e){for(;(Zn=aa())&&Zn<33;)na();return oa(e)>2||oa(Zn)>3?"":" "}function ua(e,t){for(;--t&&na()&&!(Zn<48||Zn>102||Zn>57&&Zn<65||Zn>70&&Zn<97););return sa(e,ia()+(t<6&&32==aa()&&32==na()))}function pa(e){for(;na();)switch(Zn){case e:return Jn;case 34:case 39:34!==e&&39!==e&&pa(Zn);break;case 40:41===e&&pa(e);break;case 92:na()}return Jn}function da(e,t){for(;na()&&e+Zn!==57&&(e+Zn!==84||47!==aa()););return"/*"+sa(t,Jn-1)+"*"+Ln(47===e?e:na())}function fa(e){for(;!oa(aa());)na();return sa(e,Jn)}function ha(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function ma(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Mn:return e.return=e.return||e.value;case In:return"";case Dn:return e.return=e.value+"{"+ha(e.children,n)+"}";case Fn:if(!Gn(e.value=e.props.join(",")))return""}return Gn(r=ha(e.children,n))?e.return=e.value+"{"+r+"}":""}function ga(e,t,r){switch(function(e,t){return 45^zn(e,0)?(((t<<2^zn(e,0))<<2^zn(e,1))<<2^zn(e,2))<<2^zn(e,3):0}(e,t)){case 5103:return Tn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Tn+e+e;case 4789:return Pn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Tn+e+Pn+e+An+e+e;case 5936:switch(zn(e,t+11)){case 114:return Tn+e+An+Bn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Tn+e+An+Bn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Tn+e+An+Bn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Tn+e+An+e+e;case 6165:return Tn+e+An+"flex-"+e+e;case 5187:return Tn+e+Bn(e,/(\w+).+(:[^]+)/,Tn+"box-$1$2"+An+"flex-$1$2")+e;case 5443:return Tn+e+An+"flex-item-"+Bn(e,/flex-|-self/g,"")+(Nn(e,/flex-|baseline/)?"":An+"grid-row-"+Bn(e,/flex-|-self/g,""))+e;case 4675:return Tn+e+An+"flex-line-pack"+Bn(e,/align-content|flex-|-self/g,"")+e;case 5548:return Tn+e+An+Bn(e,"shrink","negative")+e;case 5292:return Tn+e+An+Bn(e,"basis","preferred-size")+e;case 6060:return Tn+"box-"+Bn(e,"-grow","")+Tn+e+An+Bn(e,"grow","positive")+e;case 4554:return Tn+Bn(e,/([^-])(transform)/g,"$1"+Tn+"$2")+e;case 6187:return Bn(Bn(Bn(e,/(zoom-|grab)/,Tn+"$1"),/(image-set)/,Tn+"$1"),e,"")+e;case 5495:case 3959:return Bn(e,/(image-set\([^]*)/,Tn+"$1$`$1");case 4968:return Bn(Bn(e,/(.+:)(flex-)?(.*)/,Tn+"box-pack:$3"+An+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Tn+e+e;case 4200:if(!Nn(e,/flex-|baseline/))return An+"grid-column-align"+Hn(e,t)+e;break;case 2592:case 3360:return An+Bn(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,Nn(e.props,/grid-\w+-end/)}))?~jn(e+(r=r[t].value),"span",0)?e:An+Bn(e,"-start","")+e+An+"grid-row-span:"+(~jn(r,"span",0)?Nn(r,/\d+/):+Nn(r,/\d+/)-+Nn(e,/\d+/))+";":An+Bn(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return Nn(e.props,/grid-\w+-start/)}))?e:An+Bn(Bn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Bn(e,/(.+)-inline(.+)/,Tn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gn(e)-1-t>6)switch(zn(e,t+1)){case 109:if(45!==zn(e,t+4))break;case 102:return Bn(e,/(.+:)(.+)-([^]+)/,"$1"+Tn+"$2-$3$1"+Pn+(108==zn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~jn(e,"stretch",0)?ga(Bn(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Bn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,n,a,i,s,o){return An+r+":"+n+o+(a?An+r+"-span:"+(i?s:+s-+n)+o:"")+e}));case 4949:if(121===zn(e,t+6))return Bn(e,":",":"+Tn)+e;break;case 6444:switch(zn(e,45===zn(e,14)?18:11)){case 120:return Bn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Tn+(45===zn(e,14)?"inline-":"")+"box$3$1"+Tn+"$2$3$1"+An+"$2box$3")+e;case 100:return Bn(e,":",":"+An)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Bn(e,"scroll-","scroll-snap-")+e}return e}function ya(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Mn:return void(e.return=ga(e.value,e.length,r));case Dn:return ha([ea(e,{value:Bn(e.value,"@","@"+Tn)})],n);case Fn:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(Nn(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ta(ea(e,{props:[Bn(t,/:(read-\w+)/,":-moz-$1")]})),ta(ea(e,{props:[t]})),On(e,{props:Un(r,n)});break;case"::placeholder":ta(ea(e,{props:[Bn(t,/:(plac\w+)/,":"+Tn+"input-$1")]})),ta(ea(e,{props:[Bn(t,/:(plac\w+)/,":-moz-$1")]})),ta(ea(e,{props:[Bn(t,/:(plac\w+)/,An+"input-$1")]})),ta(ea(e,{props:[t]})),On(e,{props:Un(r,n)})}return""}))}}function va(e){return function(e){return Yn="",e}(ba("",null,null,null,[""],e=function(e){return Xn=Qn=1,$n=Gn(Yn=e),Jn=0,[]}(e),0,[0],e))}function ba(e,t,r,n,a,i,s,o,l){for(var c=0,u=0,p=s,d=0,f=0,h=0,m=1,g=1,y=1,v=0,b="",x=a,w=i,E=n,k=b;g;)switch(h=v,v=na()){case 40:if(108!=h&&58==zn(k,p-1)){-1!=jn(k+=Bn(la(v),"&","&\f"),"&\f",Rn(c?o[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:k+=la(v);break;case 9:case 10:case 13:case 32:k+=ca(h);break;case 92:k+=ua(ia()-1,7);continue;case 47:switch(aa()){case 42:case 47:qn(wa(da(na(),ia()),t,r,l),l);break;default:k+="/"}break;case 123*m:o[c++]=Gn(k)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(k=Bn(k,/\f/g,"")),f>0&&Gn(k)-p&&qn(f>32?Ea(k+";",n,r,p-1,l):Ea(Bn(k," ","")+";",n,r,p-2,l),l);break;case 59:k+=";";default:if(qn(E=xa(k,t,r,c,u,a,o,b,x=[],w=[],p,i),i),123===v)if(0===u)ba(k,t,E,E,x,i,p,o,w);else switch(99===d&&110===zn(k,3)?100:d){case 100:case 108:case 109:case 115:ba(e,E,E,n&&qn(xa(e,E,E,0,0,a,o,b,a,x=[],p,w),w),a,w,p,o,n?x:w);break;default:ba(k,E,E,E,[""],w,0,o,w)}}c=u=f=0,m=y=1,b=k="",p=s;break;case 58:p=1+Gn(k),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==ra())continue;switch(k+=Ln(v),v*m){case 38:y=u>0?1:(k+="\f",-1);break;case 44:o[c++]=(Gn(k)-1)*y,y=1;break;case 64:45===aa()&&(k+=la(na())),d=aa(),u=p=Gn(b=k+=fa(ia())),v++;break;case 45:45===h&&2==Gn(k)&&(m=0)}}return i}function xa(e,t,r,n,a,i,s,o,l,c,u,p){for(var d=a-1,f=0===a?i:[""],h=Wn(f),m=0,g=0,y=0;m<n;++m)for(var v=0,b=Hn(e,d+1,d=Rn(g=s[m])),x=e;v<h;++v)(x=Vn(g>0?f[v]+" "+b:Bn(b,/&\f/g,f[v])))&&(l[y++]=x);return Kn(e,t,r,0===a?Fn:o,l,c,u,p)}function wa(e,t,r,n){return Kn(e,t,r,In,Ln(Zn),Hn(e,2,-2),0,n)}function Ea(e,t,r,n,a){return Kn(e,t,r,Mn,Hn(e,0,n),Hn(e,n+1,-1),n,a)}const ka={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Sa="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ca="active",Aa="data-styled-version",_a="6.1.8",Pa="/*!sc*/\n",Ta="undefined"!=typeof window&&"HTMLElement"in window,Ia=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Fa=(new Set,Object.freeze([])),Ma=Object.freeze({});var Da=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Ra=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,La=/(^-|-$)/g;function Oa(e){return e.replace(Ra,"-").replace(La,"")}var Va=/(a)(d)/gi,Na=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ba(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Na(t%52)+r;return(Na(t%52)+r).replace(Va,"$1-$2")}var ja,za=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ha=function(e){return za(5381,e)};function Ga(e){return"string"==typeof e&&!0}var Wa="function"==typeof Symbol&&Symbol.for,qa=Wa?Symbol.for("react.memo"):60115,Ua=Wa?Symbol.for("react.forward_ref"):60112,Xa={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Qa={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ja=((ja={})[Ua]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ja[qa]=$a,ja);function Za(e){return("type"in(t=e)&&t.type.$$typeof)===qa?$a:"$$typeof"in e?Ja[e.$$typeof]:Xa;var t}var Ya=Object.defineProperty,Ka=Object.getOwnPropertyNames,ei=Object.getOwnPropertySymbols,ti=Object.getOwnPropertyDescriptor,ri=Object.getPrototypeOf,ni=Object.prototype;function ai(e,t,r){if("string"!=typeof t){if(ni){var n=ri(t);n&&n!==ni&&ai(e,n,r)}var a=Ka(t);ei&&(a=a.concat(ei(t)));for(var i=Za(e),s=Za(t),o=0;o<a.length;++o){var l=a[o];if(!(l in Qa||r&&r[l]||s&&l in s||i&&l in i)){var c=ti(t,l);try{Ya(e,l,c)}catch(e){}}}}return e}function ii(e){return"function"==typeof e}function si(e){return"object"==typeof e&&"styledComponentId"in e}function oi(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function li(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function ci(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ui(e,t,r){if(void 0===r&&(r=!1),!r&&!ci(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=ui(e[n],t[n]);else if(ci(t))for(var n in t)e[n]=ui(e[n],t[n]);return e}function pi(e,t){Object.defineProperty(e,"toString",{value:t})}function di(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var fi=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,a=n;e>=a;)if((a<<=1)<0)throw di(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var i=n;i<a;i++)this.groupSizes[i]=0}for(var s=this.indexOfGroup(e+1),o=(i=0,t.length);i<o;i++)this.tag.insertRule(s,t[i])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var a=r;a<n;a++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),a=n+r,i=n;i<a;i++)t+="".concat(this.tag.getRule(i)).concat(Pa);return t},e}(),hi=new Map,mi=new Map,gi=1,yi=function(e){if(hi.has(e))return hi.get(e);for(;mi.has(gi);)gi++;var t=gi++;return hi.set(e,t),mi.set(t,e),t},vi=function(e,t){gi=t+1,hi.set(e,t),mi.set(t,e)},bi="style[".concat(Sa,"][").concat(Aa,'="').concat(_a,'"]'),xi=new RegExp("^".concat(Sa,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),wi=function(e,t,r){for(var n,a=r.split(","),i=0,s=a.length;i<s;i++)(n=a[i])&&e.registerName(t,n)},Ei=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(Pa),a=[],i=0,s=n.length;i<s;i++){var o=n[i].trim();if(o){var l=o.match(xi);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(vi(u,c),wi(e,u,l[3]),e.getTag().insertRules(c,a)),a.length=0}else a.push(o)}}};function ki(){return r.nc}var Si=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Sa,"]")));return t[t.length-1]}(r),i=void 0!==a?a.nextSibling:null;n.setAttribute(Sa,Ca),n.setAttribute(Aa,_a);var s=ki();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},Ci=function(){function e(e){this.element=Si(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var a=t[r];if(a.ownerNode===e)return a}throw di(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ai=function(){function e(e){this.element=Si(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),_i=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Pi=Ta,Ti={isServer:!Ta,useCSSOMInjection:!Ia},Ii=function(){function e(e,t,r){void 0===e&&(e=Ma),void 0===t&&(t={});var n=this;this.options=En(En({},Ti),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Ta&&Pi&&(Pi=!1,function(e){for(var t=document.querySelectorAll(bi),r=0,n=t.length;r<n;r++){var a=t[r];a&&a.getAttribute(Sa)!==Ca&&(Ei(e,a),a.parentNode&&a.parentNode.removeChild(a))}}(this)),pi(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,n="",a=function(r){var a=function(e){return mi.get(e)}(r);if(void 0===a)return"continue";var i=e.names.get(a),s=t.getGroup(r);if(void 0===i||0===s.length)return"continue";var o="".concat(Sa,".g").concat(r,'[id="').concat(a,'"]'),l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),n+="".concat(s).concat(o,'{content:"').concat(l,'"}').concat(Pa)},i=0;i<r;i++)a(i);return n}(n)}))}return e.registerId=function(e){return yi(e)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(En(En({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new _i(r):t?new Ci(r):new Ai(r)}(this.options),new fi(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(yi(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(yi(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(yi(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Fi=/&/g,Mi=/^\s*\/\/.*$/gm;function Di(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Di(e.children,t)),e}))}function Ri(e){var t,r,n,a=void 0===e?Ma:e,i=a.options,s=void 0===i?Ma:i,o=a.plugins,l=void 0===o?Fa:o,c=function(e,n,a){return a.startsWith(r)&&a.endsWith(r)&&a.replaceAll(r,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===Fn&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Fi,r).replace(n,c))})),s.prefix&&u.push(ya),u.push(ma);var p=function(e,a,i,o){void 0===a&&(a=""),void 0===i&&(i=""),void 0===o&&(o="&"),t=o,r=a,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Mi,""),c=va(i||a?"".concat(i," ").concat(a," { ").concat(l," }"):l);s.namespace&&(c=Di(c,s.namespace));var p,d,f,h=[];return ha(c,(p=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),d=Wn(p),function(e,t,r,n){for(var a="",i=0;i<d;i++)a+=p[i](e,t,r,n)||"";return a})),h};return p.hash=l.length?l.reduce((function(e,t){return t.name||di(15),za(e,t.name)}),5381).toString():"",p}var Li=new Ii,Oi=Ri(),Vi=s().createContext({shouldForwardProp:void 0,styleSheet:Li,stylis:Oi}),Ni=(Vi.Consumer,s().createContext(void 0));function Bi(){return(0,a.useContext)(Vi)}function ji(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],i=Bi().styleSheet,o=(0,a.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,i]),l=(0,a.useMemo)((function(){return Ri({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);(0,a.useEffect)((function(){Cn()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var c=(0,a.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:l}}),[e.shouldForwardProp,o,l]);return s().createElement(Vi.Provider,{value:c},s().createElement(Ni.Provider,{value:l},e.children))}var zi=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Oi);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,pi(this,(function(){throw di(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Oi),this.name+e.hash},e}(),Hi=function(e){return e>="A"&&e<="Z"};function Gi(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Hi(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Wi=function(e){return null==e||!1===e||""===e},qi=function(e){var t,r,n=[];for(var a in e){var i=e[a];e.hasOwnProperty(a)&&!Wi(i)&&(Array.isArray(i)&&i.isCss||ii(i)?n.push("".concat(Gi(a),":"),i,";"):ci(i)?n.push.apply(n,kn(kn(["".concat(a," {")],qi(i),!1),["}"],!1)):n.push("".concat(Gi(a),": ").concat((t=a,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in ka||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ui(e,t,r,n){return Wi(e)?[]:si(e)?[".".concat(e.styledComponentId)]:ii(e)?!ii(a=e)||a.prototype&&a.prototype.isReactComponent||!t?[e]:Ui(e(t),t,r,n):e instanceof zi?r?(e.inject(r,n),[e.getName(n)]):[e]:ci(e)?qi(e):Array.isArray(e)?Array.prototype.concat.apply(Fa,e.map((function(e){return Ui(e,t,r,n)}))):[e.toString()];var a}function Xi(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ii(r)&&!si(r))return!1}return!0}var Qi=Ha(_a),$i=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Xi(e),this.componentId=t,this.baseHash=za(Qi,t),this.baseStyle=r,Ii.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=oi(n,this.staticRulesId);else{var a=li(Ui(this.rules,e,t,r)),i=Ba(za(this.baseHash,a)>>>0);if(!t.hasNameForId(this.componentId,i)){var s=r(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,s)}n=oi(n,i),this.staticRulesId=i}else{for(var o=za(this.baseHash,r.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var p=li(Ui(u,e,t,r));o=za(o,p+c),l+=p}}if(l){var d=Ba(o>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,r(l,".".concat(d),void 0,this.componentId)),n=oi(n,d)}}return n},e}(),Ji=s().createContext(void 0);Ji.Consumer;var Zi={};function Yi(e,t,r){var n=si(e),i=e,o=!Ga(e),l=t.attrs,c=void 0===l?Fa:l,u=t.componentId,p=void 0===u?function(e,t){var r="string"!=typeof e?"sc":Oa(e);Zi[r]=(Zi[r]||0)+1;var n="".concat(r,"-").concat(function(e){return Ba(Ha(e)>>>0)}(_a+r+Zi[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):u,d=t.displayName,f=void 0===d?function(e){return Ga(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):d,h=t.displayName&&t.componentId?"".concat(Oa(t.displayName),"-").concat(t.componentId):t.componentId||p,m=n&&i.attrs?i.attrs.concat(c).filter(Boolean):c,g=t.shouldForwardProp;if(n&&i.shouldForwardProp){var y=i.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;g=function(e,t){return y(e,t)&&v(e,t)}}else g=y}var b=new $i(r,h,n?i.componentStyle:void 0);function x(e,t){return function(e,t,r){var n=e.attrs,i=e.componentStyle,o=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,p=s().useContext(Ji),d=Bi(),f=e.shouldForwardProp||d.shouldForwardProp,h=function(e,t,r){return void 0===r&&(r=Ma),e.theme!==r.theme&&e.theme||t||r.theme}(t,p,o)||Ma,m=function(e,t,r){for(var n,a=En(En({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var s=ii(n=e[i])?n(a):n;for(var o in s)a[o]="className"===o?oi(a[o],s[o]):"style"===o?En(En({},a[o]),s[o]):s[o]}return t.className&&(a.className=oi(a.className,t.className)),a}(n,t,h),g=m.as||u,y={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===h||("forwardedAs"===v?y.as=m.forwardedAs:f&&!f(v,g)||(y[v]=m[v]));var b=function(e,t){var r=Bi();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(i,m),x=oi(l,c);return b&&(x+=" "+b),m.className&&(x+=" "+m.className),y[Ga(g)&&!Da.has(g)?"class":"className"]=x,y.ref=r,(0,a.createElement)(g,y)}(w,e,t)}x.displayName=f;var w=s().forwardRef(x);return w.attrs=m,w.componentStyle=b,w.displayName=f,w.shouldForwardProp=g,w.foldedComponentIds=n?oi(i.foldedComponentIds,i.styledComponentId):"",w.styledComponentId=h,w.target=n?i.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,a=t;n<a.length;n++)ui(e,a[n],!0);return e}({},i.defaultProps,e):e}}),pi(w,(function(){return".".concat(w.styledComponentId)})),o&&ai(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Ki(e,t){for(var r=[e[0]],n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}new Set;var es=function(e){return Object.assign(e,{isCss:!0})};function ts(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ii(e)||ci(e))return es(Ui(Ki(Fa,kn([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?Ui(n):es(Ui(Ki(n,t)))}function rs(e,t,r){if(void 0===r&&(r=Ma),!t)throw di(1,t);var n=function(n){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];return e(t,r,ts.apply(void 0,kn([n],a,!1)))};return n.attrs=function(n){return rs(e,t,En(En({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return rs(e,t,En(En({},r),n))},n}var ns=function(e){return rs(Yi,e)},as=ns;Da.forEach((function(e){as[e]=ns(e)})),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Xi(e),Ii.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,r,n){var a=n(li(Ui(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,a)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&Ii.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=ki(),n=li([r&&'nonce="'.concat(r,'"'),"".concat(Sa,'="true"'),"".concat(Aa,'="').concat(_a,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw di(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw di(2);var r=((t={})[Sa]="",t[Aa]=_a,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=ki();return n&&(r.nonce=n),[s().createElement("style",En({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Ii({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw di(2);return s().createElement(ji,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw di(3)}}(),"__sc-".concat(Sa,"__"),as.div` display: ${e=>e.hidden?"none":"flex"}; justify-content: space-between; ${e=>e.maxHeight&&`\n\t\tmax-height: ${e.maxHeight}px;\n\t`} `,as.div` width: 50%; ${e=>e.width&&`\n width: ${e.width};\n `} `;const is=as.button` color: var( --st-background-primary ); border: none; margin-top: 1em; display: flex; flex-direction: row; justify-content: center; align-items: center; position: relative; background: var( --st-color-accent ); border-radius: var( --st-border-radius-6 ); margin: 0; cursor: pointer; line-height: 1; font-size: 15px; font-weight: var( --st-font-weight-bold ); padding: 15px 28px; transition: background 200ms ease-in-out; &:hover { background: var( --st-color-accent-hover ); } &:focus { outline: none; background: var( --st-color-accent-hover ); } svg { fill: #fff; } ${e=>e.before&&"\n svg {\n margin: 0 12px 0 0;\n }\n "} ${e=>e.after&&"\n svg {\n\t\t\tmargin: 0 0 0 12px;\n }\n "} ${e=>e.ml1&&"\n margin-left: 1em;\n "} ${e=>e.type&&"primary"===e.type&&"\n\t\tbackground: #2271b1;\n "} ${e=>e.type&&"secondary"===e.type&&"\n\t\tbackground: #f6f7f7;\n\t\tcolor: #2563EB;\n\t\tborder-color: #2271b1;\n\t\t&:hover {\n\t\t\tbackground: #f6f7f7;\n\t\t}\n\t\t&:focus {\n\t\t\tbackground: #f6f7f7;\n\t\t}\n "} `,ss=(as.progress` width: 100%; `,as.span` cursor: pointer; font-size: var(--st-font-size-xs); color: var(--st-color-body); svg { fill: #757575; } &: hover, &: focus { color: #2d4ad1; outline: none; svg { fill: #2d4ad1; } } ${e=>e.$before&&"\n\t\tsvg {\n\t\t\tmargin-right: 10px;\n\t\t}\n\t"} ${e=>e.$after&&"\n\t\tsvg {\n\t\t\tmargin-left: 10px;\n\t\t}\n\t"} `),os=({className:e,children:t,onClick:r,after:n,before:i,gray:s,large:o,mb1:l,ml1:c,disabled:u,type:p})=>(0,a.createElement)(is,{className:e,gray:s,large:o,mb1:l,ml1:c,after:n,before:i,onClick:r,disabled:u,type:p},i?(0,a.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0009 4.4999C14.0009 4.36729 13.9482 4.24011 13.8544 4.14635C13.7607 4.05258 13.6335 3.9999 13.5009 3.9999H1.70789L4.85489 0.853899C4.90138 0.807411 4.93826 0.752222 4.96342 0.691483C4.98858 0.630743 5.00153 0.565643 5.00153 0.499899C5.00153 0.434155 4.98858 0.369055 4.96342 0.308316C4.93826 0.247576 4.90138 0.192387 4.85489 0.145899C4.80841 0.0994111 4.75322 0.062535 4.69248 0.0373759C4.63174 0.0122168 4.56664 -0.000732422 4.50089 -0.000732422C4.43515 -0.000732422 4.37005 0.0122168 4.30931 0.0373759C4.24857 0.062535 4.19338 0.0994111 4.14689 0.145899L0.146894 4.1459C0.100331 4.19234 0.0633877 4.24752 0.0381812 4.30827C0.0129748 4.36901 0 4.43413 0 4.4999C0 4.56567 0.0129748 4.63079 0.0381812 4.69153C0.0633877 4.75228 0.100331 4.80745 0.146894 4.8539L4.14689 8.8539C4.19338 8.90039 4.24857 8.93726 4.30931 8.96242C4.37005 8.98758 4.43515 9.00053 4.50089 9.00053C4.56664 9.00053 4.63174 8.98758 4.69248 8.96242C4.75322 8.93726 4.80841 8.90039 4.85489 8.8539C4.90138 8.80741 4.93826 8.75222 4.96342 8.69148C4.98858 8.63074 5.00153 8.56564 5.00153 8.4999C5.00153 8.43416 4.98858 8.36905 4.96342 8.30832C4.93826 8.24758 4.90138 8.19239 4.85489 8.1459L1.70789 4.9999H13.5009C13.6335 4.9999 13.7607 4.94722 13.8544 4.85345C13.9482 4.75968 14.0009 4.63251 14.0009 4.4999Z"})):"",t,n?(0,a.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4.50002C0 4.36741 0.0526784 4.24024 0.146447 4.14647C0.240215 4.0527 0.367392 4.00002 0.5 4.00002H12.293L9.146 0.854021C9.05211 0.760135 8.99937 0.632797 8.99937 0.500021C8.99937 0.367245 9.05211 0.239908 9.146 0.146021C9.23989 0.0521345 9.36722 -0.000610348 9.5 -0.000610352C9.63278 -0.000610355 9.76011 0.0521345 9.854 0.146021L13.854 4.14602C13.9006 4.19247 13.9375 4.24764 13.9627 4.30839C13.9879 4.36913 14.0009 4.43425 14.0009 4.50002C14.0009 4.56579 13.9879 4.63091 13.9627 4.69165C13.9375 4.7524 13.9006 4.80758 13.854 4.85402L9.854 8.85402C9.76011 8.94791 9.63278 9.00065 9.5 9.00065C9.36722 9.00065 9.23989 8.94791 9.146 8.85402C9.05211 8.76013 8.99937 8.6328 8.99937 8.50002C8.99937 8.36725 9.05211 8.23991 9.146 8.14602L12.293 5.00002H0.5C0.367392 5.00002 0.240215 4.94734 0.146447 4.85357C0.0526784 4.75981 0 4.63263 0 4.50002Z"})):""),ls=(0,a.createContext)(),cs=()=>(0,a.useContext)(ls),us=({children:e,after:t,before:r,onClick:n,customizeStep:i,disabled:s,hidden:o})=>{const[{currentIndex:l},c]=cs(),u=e=>{!0!==i&&c({type:"set",currentIndex:l-1}),"function"==typeof n&&n(e)};return(0,a.createElement)(ss,{$before:r,$after:t,className:`ist-link\n\t\t\t\t${s?"disabled":""}\n\t\t\t\t${o?"hidden-btn":""}\n\t\t\t`,onClick:u,tabIndex:o?-1:0,onKeyPress:u},r?(0,a.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0009 4.4999C14.0009 4.36729 13.9482 4.24011 13.8544 4.14635C13.7607 4.05258 13.6335 3.9999 13.5009 3.9999H1.70789L4.85489 0.853899C4.90138 0.807411 4.93826 0.752222 4.96342 0.691483C4.98858 0.630743 5.00153 0.565643 5.00153 0.499899C5.00153 0.434155 4.98858 0.369055 4.96342 0.308316C4.93826 0.247576 4.90138 0.192387 4.85489 0.145899C4.80841 0.0994111 4.75322 0.062535 4.69248 0.0373759C4.63174 0.0122168 4.56664 -0.000732422 4.50089 -0.000732422C4.43515 -0.000732422 4.37005 0.0122168 4.30931 0.0373759C4.24857 0.062535 4.19338 0.0994111 4.14689 0.145899L0.146894 4.1459C0.100331 4.19234 0.0633877 4.24752 0.0381812 4.30827C0.0129748 4.36901 0 4.43413 0 4.4999C0 4.56567 0.0129748 4.63079 0.0381812 4.69153C0.0633877 4.75228 0.100331 4.80745 0.146894 4.8539L4.14689 8.8539C4.19338 8.90039 4.24857 8.93726 4.30931 8.96242C4.37005 8.98758 4.43515 9.00053 4.50089 9.00053C4.56664 9.00053 4.63174 8.98758 4.69248 8.96242C4.75322 8.93726 4.80841 8.90039 4.85489 8.8539C4.90138 8.80741 4.93826 8.75222 4.96342 8.69148C4.98858 8.63074 5.00153 8.56564 5.00153 8.4999C5.00153 8.43416 4.98858 8.36905 4.96342 8.30832C4.93826 8.24758 4.90138 8.19239 4.85489 8.1459L1.70789 4.9999H13.5009C13.6335 4.9999 13.7607 4.94722 13.8544 4.85345C13.9482 4.75968 14.0009 4.63251 14.0009 4.4999Z"})):"",e,t?(0,a.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4.50002C0 4.36741 0.0526784 4.24024 0.146447 4.14647C0.240215 4.0527 0.367392 4.00002 0.5 4.00002H12.293L9.146 0.854021C9.05211 0.760135 8.99937 0.632797 8.99937 0.500021C8.99937 0.367245 9.05211 0.239908 9.146 0.146021C9.23989 0.0521345 9.36722 -0.000610348 9.5 -0.000610352C9.63278 -0.000610355 9.76011 0.0521345 9.854 0.146021L13.854 4.14602C13.9006 4.19247 13.9375 4.24764 13.9627 4.30839C13.9879 4.36913 14.0009 4.43425 14.0009 4.50002C14.0009 4.56579 13.9879 4.63091 13.9627 4.69165C13.9375 4.7524 13.9006 4.80758 13.854 4.85402L9.854 8.85402C9.76011 8.94791 9.63278 9.00065 9.5 9.00065C9.36722 9.00065 9.23989 8.94791 9.146 8.85402C9.05211 8.76013 8.99937 8.6328 8.99937 8.50002C8.99937 8.36725 9.05211 8.23991 9.146 8.14602L12.293 5.00002H0.5C0.367392 5.00002 0.240215 4.94734 0.146447 4.85357C0.0526784 4.75981 0 4.63263 0 4.50002Z"})):"")},ps={dashboard:(0,a.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),tada:(0,a.createElement)("svg",{width:"40",height:"41",viewBox:"0 0 40 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M29.5749 28.3335L3.52519 39.6683C1.82715 40.3441 0.139647 38.6711 0.800662 36.9674L12.1842 10.5077",fill:"#FFB636"}),(0,a.createElement)("path",{d:"M0.79938 36.9688L1.70407 34.866C1.78165 34.7477 1.85899 34.6292 1.93665 34.511C6.43641 27.656 11.0021 20.8429 15.7238 14.1385L21.0179 19.5651C17.0234 22.3075 4.05305 35.7111 1.33625 39.2664C0.744848 38.7225 0.457426 37.8502 0.79938 36.9688Z",fill:"#FFD469"}),(0,a.createElement)("path",{d:"M23.78 16.5201C28.6123 21.3524 31.2554 26.5442 29.6834 28.1162C28.1115 29.6882 22.9198 27.0451 18.0873 22.2128C13.2549 17.3804 10.6119 12.1887 12.1839 10.6167C13.7559 9.04464 18.9476 11.6877 23.78 16.5201Z",fill:"#A06C33"}),(0,a.createElement)("path",{d:"M12.1563 26.1402C12.1563 26.6099 11.7756 26.9906 11.306 26.9906C10.8363 26.9906 10.4556 26.6099 10.4556 26.1402C10.4556 25.6705 10.8363 25.2898 11.306 25.2898C11.7756 25.2898 12.1563 25.6705 12.1563 26.1402Z",fill:"#F7F9AA"}),(0,a.createElement)("path",{d:"M39.2181 17.2028C39.2181 17.8768 38.6717 18.4232 37.9976 18.4232C37.3236 18.4232 36.7772 17.8768 36.7772 17.2028C36.7772 16.5287 37.3236 15.9823 37.9976 15.9823C38.6717 15.9823 39.2181 16.5287 39.2181 17.2028ZM31.0679 33.4545C30.3938 33.4545 29.8474 34.0009 29.8474 34.675C29.8474 35.349 30.3938 35.8954 31.0679 35.8954C31.7419 35.8954 32.2884 35.349 32.2884 34.675C32.2884 34.0009 31.7419 33.4545 31.0679 33.4545Z",fill:"#FFB636"}),(0,a.createElement)("path",{d:"M27.8093 6.76157C27.7046 7.46978 27.2471 8.09532 26.5539 8.47782C26.0753 8.74189 25.5125 8.87915 24.9283 8.87915C24.7422 8.87906 24.5564 8.86533 24.3723 8.83806C23.9592 8.77696 23.5457 8.83931 23.2379 9.00907C23.1 9.08517 22.8629 9.25165 22.8244 9.51204C22.786 9.77243 22.9647 10.0004 23.0746 10.1131C23.3135 10.3581 23.6782 10.5335 24.0785 10.5991C24.0895 10.6002 24.1004 10.6006 24.1114 10.6023C25.8004 10.852 27.0068 12.1898 26.8006 13.5845C26.6959 14.2928 26.2383 14.9184 25.545 15.3009C25.0664 15.5649 24.5037 15.7022 23.9196 15.7022C23.7335 15.7021 23.5476 15.6884 23.3635 15.6611C22.9505 15.5999 22.5368 15.6623 22.2291 15.8321C22.0911 15.9082 21.8541 16.0747 21.8156 16.3351C21.7539 16.753 22.267 17.3047 23.1023 17.4281C23.5568 17.4953 23.8707 17.9182 23.8035 18.3727C23.7425 18.786 23.3873 19.0831 22.9817 19.0831C22.9411 19.0831 22.9002 19.0801 22.8589 19.074C21.17 18.8243 19.9636 17.4864 20.1698 16.0917C20.2745 15.3834 20.7321 14.7579 21.4253 14.3754C22.0546 14.0282 22.8294 13.9002 23.6069 14.0152C24.02 14.0762 24.4335 14.0139 24.7413 13.8442C24.8793 13.7681 25.1163 13.6016 25.1548 13.3412C25.2155 12.9301 24.7191 12.3903 23.9077 12.2554C23.8944 12.2541 23.881 12.253 23.8677 12.251C23.0903 12.136 22.3856 11.7895 21.8837 11.275C21.3308 10.7083 21.0738 9.97704 21.1785 9.26868C21.2832 8.56048 21.7408 7.93493 22.434 7.55243C23.0633 7.20525 23.8381 7.07728 24.6156 7.1922C25.0285 7.25314 25.4422 7.19095 25.75 7.02118C25.8879 6.94509 26.125 6.7786 26.1635 6.51821C26.2019 6.25782 26.0232 6.02985 25.9132 5.91712C25.6678 5.66556 25.29 5.48618 24.8768 5.42517C24.4223 5.35798 24.1083 4.93509 24.1755 4.48056C24.2426 4.02603 24.6657 3.71243 25.1201 3.77923C25.8975 3.89423 26.6022 4.24079 27.1041 4.75525C27.6571 5.32204 27.9141 6.05329 27.8093 6.76157Z",fill:"#BEA4FF"}),(0,a.createElement)("path",{d:"M6.38487 13.0244C6.38487 13.7882 5.76565 14.4075 5.00182 14.4075C4.23799 14.4075 3.61877 13.7882 3.61877 13.0244C3.61877 12.2606 4.23799 11.6414 5.00182 11.6414C5.76565 11.6414 6.38487 12.2605 6.38487 13.0244ZM31.1071 11.4265C30.2246 11.4265 29.5093 12.1419 29.5093 13.0243C29.5093 13.9067 30.2247 14.6221 31.1071 14.6221C31.9896 14.6221 32.7049 13.9067 32.7049 13.0243C32.7049 12.1419 31.9896 11.4265 31.1071 11.4265ZM16.8378 31.4783C15.9553 31.4783 15.24 32.1937 15.24 33.0761C15.24 33.9585 15.9554 34.6739 16.8378 34.6739C17.7203 34.6739 18.4357 33.9585 18.4357 33.0761C18.4357 32.1937 17.7203 31.4783 16.8378 31.4783ZM38.0334 24.1622C38.275 23.6943 38.0916 23.1191 37.6237 22.8775C37.4371 22.7812 37.2145 22.6534 36.9567 22.5055C34.6916 21.206 29.9786 18.5022 24.4292 22.9828C24.0194 23.3135 23.9555 23.9139 24.2863 24.3236C24.617 24.7334 25.2173 24.7975 25.6271 24.4665C30.1611 20.8059 33.821 22.9052 36.0077 24.1596C36.2735 24.3121 36.5246 24.4562 36.7485 24.5718C36.8598 24.6293 36.9813 24.6643 37.1061 24.6748C37.2309 24.6853 37.3565 24.6712 37.4758 24.6331C37.5951 24.5951 37.7058 24.5339 37.8014 24.4531C37.8971 24.3723 37.9759 24.2735 38.0334 24.1622Z",fill:"#FF6E83"}),(0,a.createElement)("path",{d:"M33.972 5.45348C33.972 5.92317 33.5912 6.30387 33.1216 6.30387C32.6519 6.30387 32.2712 5.92317 32.2712 5.45348C32.2712 4.98379 32.6519 4.60309 33.1216 4.60309C33.5913 4.60301 33.972 4.98379 33.972 5.45348ZM3.61968 1.47832C3.14999 1.47832 2.76929 1.85903 2.76929 2.32871C2.76929 2.7984 3.14999 3.17911 3.61968 3.17911C4.08937 3.17911 4.47015 2.7984 4.47015 2.32871C4.47015 1.85903 4.08937 1.47832 3.61968 1.47832ZM16.9541 12.5765C17.0503 12.3879 17.1689 12.1732 17.2944 11.9458C17.9315 10.7918 18.8038 9.21153 18.8563 7.3709C18.9194 5.15965 17.7677 3.152 15.4335 1.40372C15.0283 1.1002 14.4539 1.18278 14.1506 1.58786C13.8472 1.99301 13.9296 2.56739 14.3348 2.87075C16.1902 4.26043 17.0699 5.71536 17.0242 7.31864C16.9844 8.71489 16.2666 10.0152 15.6898 11.06C15.5569 11.3008 15.4313 11.5282 15.3216 11.7433C15.0916 12.1942 15.2705 12.7461 15.7213 12.9762C15.85 13.0422 15.9926 13.0766 16.1372 13.0766C16.3062 13.0767 16.472 13.0301 16.6162 12.9418C16.7604 12.8535 16.8773 12.7271 16.9541 12.5765Z",fill:"#59CAFC"})),tooltip:(0,a.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M7 0.875C3.61758 0.875 0.875 3.61758 0.875 7C0.875 10.3824 3.61758 13.125 7 13.125C10.3824 13.125 13.125 10.3824 13.125 7C13.125 3.61758 10.3824 0.875 7 0.875ZM7 12.0859C4.1918 12.0859 1.91406 9.8082 1.91406 7C1.91406 4.1918 4.1918 1.91406 7 1.91406C9.8082 1.91406 12.0859 4.1918 12.0859 7C12.0859 9.8082 9.8082 12.0859 7 12.0859Z",fill:"#3B3F5C"}),(0,a.createElement)("path",{d:"M8.52578 4.32988C8.11562 3.97031 7.57422 3.77344 7 3.77344C6.42578 3.77344 5.88437 3.97168 5.47422 4.32988C5.04766 4.70313 4.8125 5.20488 4.8125 5.74219V5.84609C4.8125 5.90625 4.86172 5.95547 4.92187 5.95547H5.57812C5.63828 5.95547 5.6875 5.90625 5.6875 5.84609V5.74219C5.6875 5.13926 6.27676 4.64844 7 4.64844C7.72324 4.64844 8.3125 5.13926 8.3125 5.74219C8.3125 6.16738 8.01172 6.55703 7.54551 6.73613C7.25566 6.84688 7.00957 7.04102 6.8332 7.29531C6.6541 7.55508 6.56113 7.8668 6.56113 8.18262V8.47656C6.56113 8.53672 6.61035 8.58594 6.67051 8.58594H7.32676C7.38691 8.58594 7.43613 8.53672 7.43613 8.47656V8.16621C7.43684 8.03349 7.47753 7.90405 7.55288 7.7948C7.62824 7.68554 7.73478 7.60152 7.85859 7.55371C8.66523 7.24336 9.18613 6.53242 9.18613 5.74219C9.1875 5.20488 8.95234 4.70313 8.52578 4.32988ZM6.45312 10.0078C6.45312 10.1529 6.51074 10.292 6.6133 10.3945C6.71586 10.4971 6.85496 10.5547 7 10.5547C7.14504 10.5547 7.28414 10.4971 7.3867 10.3945C7.48926 10.292 7.54687 10.1529 7.54687 10.0078C7.54687 9.86277 7.48926 9.72367 7.3867 9.62111C7.28414 9.51855 7.14504 9.46094 7 9.46094C6.85496 9.46094 6.71586 9.51855 6.6133 9.62111C6.51074 9.72367 6.45312 9.86277 6.45312 10.0078Z",fill:"#3B3F5C"})),youtube:(0,a.createElement)("svg",{width:"70",height:"50",viewBox:"0 0 70 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,a.createElement)("path",{d:"M68.454 7.67676C68.0525 6.19296 67.2693 4.84024 66.1824 3.75328C65.0955 2.66632 63.7428 1.88306 62.259 1.48148C56.8269 0 34.9645 0 34.9645 0C34.9645 0 13.101 0.0448436 7.66888 1.52633C6.18507 1.92793 4.83236 2.71123 3.74545 3.79824C2.65853 4.88525 1.87535 6.23803 1.47388 7.72187C-0.169205 17.3737 -0.806588 32.0808 1.519 41.3465C1.92051 42.8303 2.70371 44.183 3.79062 45.27C4.87753 46.3569 6.23022 47.1402 7.714 47.5418C13.1461 49.0232 35.0091 49.0232 35.0091 49.0232C35.0091 49.0232 56.8718 49.0232 62.3036 47.5418C63.7874 47.1402 65.1402 46.357 66.2271 45.27C67.3141 44.1831 68.0973 42.8303 68.4989 41.3465C70.2319 31.681 70.766 16.9832 68.454 7.67703V7.67676Z",fill:"#FF0000"})," ",(0,a.createElement)("path",{d:"M26 35.0098L44.1368 24.5049L26.0003 14L26 35.0098Z",fill:"white"})," "),clickToPlay:(0,a.createElement)("svg",{width:"301",height:"210",viewBox:"0 0 301 210",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"}," ",(0,a.createElement)("rect",{width:"301",height:"210",fill:"url(#pattern0)"})," ",(0,a.createElement)("defs",null," ",(0,a.createElement)("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"}," ",(0,a.createElement)("use",{xlinkHref:"#image0_114_1409",transform:"translate(-0.00133934) scale(0.00182637 0.0026178)"})," ")," ",(0,a.createElement)("image",{id:"image0_114_1409",width:"549",height:"382",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiUAAAF+CAYAAABdzGpCAAAgAElEQVR4Ae29UXLrvI6F2wPoEfRrv95p3kH2TO5LV91ajj/3MgxQkuNkO9ZSlQIQJEHwoyzgONn/+Y//yBUCIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIbAm8J/r7vSGQAiEQAiEQAiEwOsIeOGxR3/dyvEUAiEQAiEQAiEQAg2BriDpbEz1PmyRIRACIRACIRACIXCYAEUFUg7Q98rDi2ZCCIRACIRACIRACDiBVdHhfdK9jY/ORl9kCIRACIRACIRACGwSoJjQQHSXR/TOx2YAGRACIRACIRACIXBuAhQbooAuWXVsK+k+zk01uw+BEAiBEAiBEDhMoBYfcrAqPLb6fD764aAyIQRCIARCIARC4DwEKEa0Y/StgmNvPz7xS/s8dLPTEAiBEAiBEAiBQwQoGlzuLTy2xikQxhwKKoNDIARCIARCIATOQ6AWIdo5BcSrJb5dnod0dhoCIRACIRACIbBJoBYmm8XIf//3f/8///M///P/6pa+o5BREL7OZlAZEAIhEAIhEAIhcB4CtUjYLEb+4z/+479UXKgY+d///d//j3tnYYJ/EWbt89DOTkMgBEIgBEIgBDYJUCzskSpK/otiBKkihYIl35ps8s6AEAiBEAiBEAiBQoBvK1x2hcnl2xErOh6KEhUn12KEsZ0fX0eh0C5hpRkCIRACIRACIXA2AhQFUwHhdoqN9puSa1HCGM1z3f2gn4119hsCIRACIRACIbAgoAJBF4VCJykuLsWIig39/Qi/tnG585uSuuY1hIgQCIEQCIEQCIGzEqjFQVeQYLsVJCpK6h+5qjCxvylhLHMnKe7qyxUCIRACIRACIRACt6JgKhz8WxKNuRQci6KEMS4730Ive64QCIEQCIEQCIEQuBUFXdHgRQXffNxkV5Rc/0kwY+r8bg0dgey5QiAEQiAEQiAEQuBSFHQFQy0qKDYu0v+OBJ1vUUy6j24Nx6/+XCEQAiEQAiEQAiclQCHQFQzYKEbURn/458DN35NoLD5WUujVnysEQiAEQiAEQuAAAZIn0qd2Nu9/R10xTzcFiPrRL7L7lzdDUbJVmIjJX+T2jmeZmEIgBEIgBD6YAMkSyVa97Tr9kpPdx/xrnRglu/uuEPHCpPt7Eu+/6vJJUYKs6/wVVv/6rLJ+CIRACITAiQkoefpFe6/0ue+o+z6kr+6H4qQWJRvfkqQgeccnIDGFQAiEQAi8PQGStQJFX8na5/Oq/m6b99il+00h8VCQ6NuPFxUlvv67sUk8IRACIRACIfBPCZAkFQS6S+n1rmMZ7/Z/uqlhceKs+6FNMaI2+k3yr22QT35TQgxDiDGHQAiEQAiEwPkIeHIkKYsCdmxbss6BJH5ov4vc2s+tCPHCpPsj1/LfJ/F5W2s4s3fhkjhCIARCIARC4J8ToHhwuZVUV/3aEL7++eauARCPy7oHFRWyeXFx0+uvbvRtyTT2aq/+ab8jn3c5p8QRAiEQAiFwQgJKkLpckjSflfhzn9gui/3jHx5X3eOyIFGRUYuSjV/d4B+/tJH/GEWWD4EQCIEQCIH3IKDEqKuTJM3vys7/16q//9P3udoXBcTt2xH/JoS/I0EuihL3063nbH6fRlYMgRAIgRAIgTcksDdZd4l1r03bZp2qvxLJtAZ2l9L99iKiLUgO/j0J/nyNqr9y7/EVAiEQAiEQAn+SgJKjLpc1YXbty68vrt8OdP0rW13vK4Lv/dR69XJb1af4KCBcPhQm9Vc3G39PorXw161b4047BEIgBEIgBE5LgITdJczO9vD3FNd/ddKNXdkEXP0ur80HwTgfu7LRh2QebcnppoB4KEb49U0tSnb86mZai7geNhxDCIRACIRACJyNwJ4kTUIlWf9nTcrXbwo07jZmkfTx52vDfWWrY9Su4/Fd+6qdtktiH4uRJ4sS/PparrOvyBAIgRAIgRA4LQElRl0uPVlW/Zas+eNOl6Ug2UrE7psYiIN2lfSvpPutOv6qnVhv+6P4mGQtyhbflGgt/Nd11SamqxoRAiEQAiEQAucl4ImxS5qykVQvSbv7I8/yTYmPn3x2dp0CdnSk7K53beYekR5r1S/7rYVJt//rr6/a8banLi729LW7/AyBEAiBEAiBExI4ktRJtprz8PckKkjKNwWXcaWY6RLyEZuOiPGuY3tG7ipCalFSvyXR/oeiRDGxxhTfCR+9bDkEQiAEQiAEHgkoUeqaEiYJ1eWeokTjfc6e5DzF8BN2j41Yd8uuKKmFi7VXe4f91ynkZwiEQAiEQAiclICSpa6tpP+QwLukPHxTMCX6VaLeimdvP3Ez3ttTXJt27bPbvxUh7mPPPq/HEBECIRACIRAC5yWghKmLpN1JErkn2vabkiEp3827ruU+uzW/a6v+iUF+0Q9LL7r8j3ubX125b9ac9gT/r5PIzxAIgRAIgRA4IQElSV1TsvRk6kn2oh/4puBhrhUGdY0uFs2vdrehd+vgfzWmm/dgoyBBvrAoUYy5QiAEQiAETkZgevlP9k/Gw54lp3uZyGtSVtuKjYekvqNPcdQ1q22r/cy6tzkUHHtk3b+KtGaPHq/07tZzJnuuEAiBEAiBkxCoL/3a/jQMdX/eRncp3e9aHNwSN4m3JuUXFCW+hmLxtuve57qP2aV78cE3P5K6vU+xeFt63f9QlCgO59rpn/bsZT8hEAIhEAJXAnrpc3U6SUFj6J8kfv6KrPvY2iMsJklCbRN8l5RJ3IuCovX1ivFauxYUk1/ilGTetB/G1MKkjsdnWVNs4dhx9jP6K89Z4gyBEAiBEDhIQAmAC31LMv6vSPajeNE7OdlkrzcJ1OVDIaEEXJMy3xRMSdyTekncD/6P9q/iqb4oHohTUrF3+/ExPq8bT39dr2FcmfO8cU60I0MgBEIgBP4oAX+ho/Py15bQvc/t6J2U7d0u9qG40F1Kf/beLBK6pCwbidml6yRsbLS/K7t4VGTILt9aj7u2Ze/mM76T3fhhD1tn4Of3bs9Y4gmBEAiBEHiCAMlYU9Fd7k0MPocwsNF+B0lMLquu9pF7+c2IJ9xVEifhV6k52FzHhqSIoC25ut1XVyioMNGYrbt+S7I1r1uriVP84bo6i3d4phJDCIRACITACwjoZc+F7nKVDGqf/Phc/Lrdbb+tE5vHg63uZW+bpLlM/jXhdkl5K/FP/Z0v2brxikP2Khl7xBdzJI8WJd0c2SqnjcKwO8fffqayXgiEQAiEwIsJfDcxdwlcIbpfb784/E13xOExdDEfsT1VjFAMdMmfPk/2W3rnxwuErfldv8+XPhU4zJ1ioH+SdR2NG4oSWHfns3n4GRACIRACIfD+BEjULruX/itsosE6Vf8tUnX9I/vypFh1tXfdJF3JLpFPyXuydz5qot9TVFT/1a/adYy3uzVl8zGdXudpTGG5dUb/6ln6rWc264RACITAqQiQqLde/t7vSdntW7rAMgb9t2Gz/h5JocFY9o39KUlyrgl5K/Ezz2X1sWr7vC29FiXyu5rTrbtnP3UdtQ8WJTobXchrMyIEQiAEQuAvEeAl7lL66iYpawx6lav59ImT9E5ezS8Tvk7ViadKig3Z0b8tldTlj+ReE/meJM5cyTpfbXzUZO997mPSu/lHxu5dTzx8LenGHP71fGj78/OyByaOQiAEQiAEfp+AXuy6eMGvpBcelySi5KEkdU0gmsuYqq/8sv5XJOtCRX6+czF/FQ97+HYBYon17o9KPbHXogKmPmbSPZHjp87vxkz+qv3IXNavssZT1/A2Y52bPVOcS3d2eiY42+88H5kbAiEQAiHwjwjwEu9e8m4jGdyStBKJJx9LJprHOPdxRBcOje/kZPsaPf90f1uxePyX4kv7tX3R30rGkmyZ53bZ6HeO0mFJ/0rWuWp34+u4vWtoXJ3b+e/GMa8bX20wGuTWefnZzk9AekIgBEIgBN6WQH2Rdy9+JV3ZSb43vUtCstlYn8u8bo3OJmjY0ZGyo1/Vtt314XOSHvNlz77PZn9wuRUY2j8Jd9LpR5K8kVqHvpX02Lbm0o/8zhpdTPjtZDe+s5Vn58b2ap/ObHoe/Pyjh0AIhEAIvDkBf5l3L/yHBO1Jo0s+q6RtxU231hGbsHrsYMZW29hdSu/umgj/q+7T96jESuGB7JLtytYVFqvx3tfF5v2uHxnr8/bE143x9dzfpMPPn7Gr3p1TZ6vnTjsyBEIgBELgzQnopa6re7nLtixIlFg86aB7wm6Si/v0NaYY9th9D187+r+ChTZjkJPfh4JEe2BvSO1R+1fflGCP2LuEvmd+N4/Y6vwjY/fMrWNg08kppupjeF44k+nMZOdcr2pECIRACITAXySwetF7MkC/yS7JKSFtJJbb/Bd+a1KTEm2dR9W39qt+j/Gid4m2JtTvtDuWe/wdiatbY2+x0M31+Gp/1/bxnU6B59LOgnNZnV8977/4eUzMIRACIXBaAtMLXomYJPCQoEkUNfGQIOnfKX0d9CmuvXYdqMZyoa/mj3tWAmVvLmtiFY961zFTu2M5jcXezZGN/io9dvTV+K353o8/ZI1tzzrdHHuGVmfn56szp835R4ZACIRACLw5AV7c08t+maSVLGoSUUKSTX1KWJZQxsKmjFEsvi6xYaO9ksJOv+uy1TbjJFnjLlYSL8nWJX0dB8apj3ErWX3smVfnaM1pjW6sxu9ZB5/sCYm9+la7szG+k/isUn6sQPbz6nTO9+uk8zMEQiAEQuBPEehe7GOCVuJWQkHWBKL2NYncjbsm/Ltkv8PmcbhO8TDFjl0H0enYqnyIb7XXLvF2PLB1idhtR5O45uIbKR/u03XGVLma4/NX67lP/LlNevXl7bp3n6u+67NSz8vbnPWf+vAl2BAIgRAIgf8joJe6Ln+5SyfpL5N0l6Q8+ciPxri8+n7we9BOjMRZ46/tbo8+Bj8PcZE4V0nTE+hKJ1njs8q6xtHxzn7Ld42zjp/adV6N2WOoYyefstex3tYa1+fDz6zqfsaXhzo/QiAEQiAE/g4BvdR11Zf7mKApHDy5ePJA9350zZWOjxdJxU68dR9H2w8FCTEr7i75st8qV2Ph0cnqpxvjtm4d73e9+q5tH7vSuzXdl/o1v47D3vmuY92fdM1pntPufK+P9OWZRo8MgRAIgRB4cwJ6oevqXuyyjQl6K1Gvkg8JCR8upzV32ol52s+WncLmbt/EK7mVOJU86967OXWMr1GT8Wqs5u0dX+Oo7Rq7+qe1u7keB/up4yZ/jHcfrmve9TnljLqz5Fl2eXnA8yMEQiAEQuBvENDLXVd9yd8lZooCJQ+KCBJJTTw1ufk49E7il7Wq1DrX5NTGdh2vfawSV92nt1u/Hmu3V0+ePtZ1HzPxYfyRsZqzd3wdp7ndfjobsbms/mhrPuOwIbF3UucmO2Ml8XWgINF55gqBEAiBEPiDBHiBe2J2fTNJK4msktiqb5WYvCDpfFiy6mL0PezVKWTu/ClGkmVNmJ48pXf7wVbHEj/9yNVeGVNl9V371a5+ff06v2vv8al57ldzqq/Oj2ww5twZR/sqt85SH0GN4XIdW2QIhEAIhMCTBPylukc/sgz+JOt9l5hJDJ48SBqSNfFstWvicl9V3+OL+BpZ97XVHvdNXFM89E+yzpsYyF7HTj6xb42vPuvatb/6q+NZF6l+bmyS1e/kpzm3eg6rc9MzTz/Pv9q5QiAEQuBGwF8Krt8GRHkgACckA7yNXmU3FluVzJUdXdJvJQW175KDJxzXaxLbavvclb7lh34luxqrxe/7mvR2v/Kp+JDSWdPlag/0+XjpU4KuiVxj8TFJ99359f7JX7cu86Z1t+zMR3ax4aM5P3/2pnOTvT7HV1NECITA2QnwgnAObnNdY2rb551FhwHSuWCT5F71w4x5Prbq3sa3S08IF13Jw5Oz2koyq2RGMkKukhLJCcmcvZL4SnLzPU16LUg07rZ/4kHWePbsqWOEv07WNboxbvPxNR7vk177Jz/M8/6jOj6QdT7Pk0tnf9Wnc5O9PsdXU0QIhMAZCdSXghhU29Q+I6+6Z9hM3NTPzRjaLr2PNdTv19R2P+g1Sd+KEiWVLsGSdDqp8atEWBOV2p0f2fDVxSBbk9DYC3tbScZe9osvxSN92vuevXX76faNrY7HPslpfLVvxap9whae05pbdvx4DHUOjBdS58W51LPT8y1bvTpbHZN2CITAhxDwD/xKVx/9SCFAr/JD8IzbYL8rBhpTb8ZXe9f2segupevS3Cqrv1tiViLpEownm6prvO6ahPa0p7Xq3G7NJrlpX1NSY8/03/bsfnzdLjbv7/Rn5tS9dX7dVsdPbZ8z6dq7+iY5zav2rX0740FfnZ0/v65rTq4QCIETEuDD30m3TXpFxrhq/4tt30vVabuU/spbzNw/DKttWvOSnLukMiW7aq8Jam97WrOb341dJLdurxQj6kN/KEx87W5N7696N16s6rjaPsqzju/aioV1tF/p35X462SNgfV9zSv3B+bX55cz6c6OZ1x9uUIgBE5KwF8AVfcXh/DQ7vRq+6s4nQF72pJw+S1JPMTayS6W29f4NbnQVpLhxobsktQeG/NdkszqfNl9nPQhyWl/U4Jze5ccL8mbteuaU2waX8cSK75WkrFIxnpCl432tBbziZPxLqVz45P2JBlHXFV28eyNwdbsnsv6/PLuwE47MgRC4IMJ+AceXZJbW0ffK+sc2u+MUXvThXQdm0vpr7o9eR71OcU5xXpLUkokfnfJiMSHJPnURLXV1jx8IFe+uvGW0G57uNq2mDFe49Av0uMmLuQUXxeb5kzjtaazxT/S+2p8zNWYbl3ZGMNc/NF+RuLDpXTde+MY1l2dlT/L0nOFQAi8GQESy0+H5eugr14eW32K1/38dPwr/8TBGNrPSM35zq1EqPlH5Z41O+Z1nq97ScqeOEg6LkmcyCnx+pxOZ77Lbhy2LvF5rKY7T9d9r9jv9qy15Ic1PTbpda9dTMypY6tv1pFkDpKxtqe7OLFrnNZhLew/JYmryo6DYmDcIh7OQXK6+ZxGhkAI/GMC+pDqQl6bNzHZbwOeUNyndNror5AKy/0+EebmlM4/NibTRnZx0Sf5qrtLjvLdJR63o2/FwT40Dh05ze3WvtiUWLi75EPfEdn5UUJe+ejmDIlvDyc/g7u9ewwUCUjFoP4uFsZIMs59Se/OuPPXjXs3G/uR9L2j74h365y+nt7/e1dMbeyRIRACLyZQk4i7r320NWbSff5RHZ+SP3G/Km6Pc/LZjdmyvWrPJD/5Q79Lgjte3nW8+1rF6TxW48a4PPF0yVMJSPajd5fUp0SO727OwI69si/nha0yvWuzJgl2r5z2oDjlc4j3tjbzt8a9oB8mzsNtt5hWa7Gnykf7WM27vlNYm/Ny6c+u9FwhEAK/SEAfxu7iQ6o+xrit2jsfR2y+Br5Zb5R6MekldH0RjeOa4oY1jsTIWGLt2sTg/lc2+l4p/YW76wW/8RLvfCheX2eKHw7qd53x+Lhbg4Qjya0z9gSkNn1HpPtA35rPOCRrN9y2uLT7xY/HwVp7JPH4fHR8/yPpPHzv3fnXsXfPRBd/fSbESrZu7NXmaxBDlTynX09sfoZACPwzAvpw6nLpOn3YaF8m2TzaRyV+JauO7U76S8leRndjmoKEfo9ftq2rjql+pjb2V8v6kvf25gt98eK+zN2R1Fb7EUv6Xcfmso1V6ytG4qjJWedN317pz4v725rvYzcSn+/LdT8b2Zd7nuKscag9xT6tsdPuMe7R2Q9jJauObSV3cWIPHSfZ6C9yTzxb74D0h0AI/BABfUC50HlZyI7eSe9Hr75o75U1hm5dt11eXvWldH0h+bhJ97g1ZuvyMfjUHPTfkLywtVbV1X76VmLTfMnKdCMJexzPMCBm9kT7Ij2umpAV55SQJ/u0t2m87N0cWBXm7MFlZQKvu33ihzi6NffuH19DjL6ux+lxuX3S8TP1y/7dm5hYgzVvsuPk+zcdH6uY+DxvvQvSHwIh8EME9AHV5XL1oZ363EfVLwts/PD1mT+tdfeiqi8lta8voml+tbMeIRIL7a6fMdXXK9t3+7QXPPbbi9levIdsSoCai6wsaxJUm7G2pvZMTN3+4df1YWvjZi3JLjbZj97TnlZ+6tpqa7wx8PjZk0vng+7yNh+/dU3Ys3YX7xDPzXdzTh6DxzvpjJ/6f8ru697tpzvPwkEx+fwpRp5T/9xHD4EQ+CUC+mDqcjl9WFd2fDCGdidlW11HYuEl8/DPGfWSuu6LMcQ2SWJifdqSbpvmv8pOvEj5lU4b/VuSpOdSepcEuxc+ydFiI77vcGj35DF28an/6N3tactHnaNYyv6JHwbOZKUz704qniP7VSya43IRn8dDvH9BErfLh89/ORvti/GrPdbPur8DoodACPwSAX1IdfFhdR3bs/LL8/6fNZZpXV4wkhd9kTDkg/GTP+zsfZIaRx9zjkpiQWo+ukvpL709YXUJuEuAcO36youfWI/yYDzzW0nsNQ61u71s2diXy9Wcuq7m6XyIq5yVnyn76yR7ZTztm+zW7eJcxHLzdY2Rtbp4ftvGZwl5dH3t7bIfP0fp4vbEfolDMlcIhMAvEtAHWZfLqqv97I1v9/m14vyzjt1a++5lu3gp3V5cO/dD7ERKXNi34vJ+X9t1jSF+130M/S+RJE+XNblVhrzcGdclSNuHx+4MjurjfhVHjVExEd8RedRPN77snbg5z9W+YcVY5t5J7adj7vtUDGq7HOLyNVex/WQfn6H62dKaulweiqNyUnvn593X9Bi+IsrPEAiBHyfQfQjdduhlsPHB12bwXfVuo4ydYuDF+vDy3pE05JP5k3/sxKq26/RPEv/Ep3HVRl9nZ7yP2a2TxPRC1k3yImHR7mR9qYun+2BO5TwkwInPyt7xuOxda7OHun4XI7Gu5BE/HRvi+cb+fb/tuSv+ujb7revDaIinrrU6h1WffxZc15ypjb2TbnO98zfFddlbx2nj3VT9+frSc4VACPwygfqh3GpfPvy8zPUS2Pmh17bke8/FuFUs/oKV3v6fuA0vafll/mqN2qfYq402/lxWXe0fu0m+9cWss7qe0+V/TTOuymleHac2548c9gWbo3JkpLW1FusiZevi3LIxHzmN79gwttm79svZ7937cs91fT9P9t7EUX3ujUXjeNa35N6xXx6P/ex8b+5B5+LnufjMui/f57EoMzoE/hgBPljvFjZx8cFUfOid5CX7kPyvL8huTrWxxhYLzdNV56t9i6O+hOuLWy+mOsba7qtb54htjMnWqwniW229eOXbpb+MeSm7VP/q9rHo3fjKmQRZ9vos302WdX3F2sXZ8cHG+OpLbfqQdYzWk63s18/zyLNTObmfi644agzsw+UiHpjWtTxOPm9I9aGvZNfnNum68Hdt7hbMcyn9lbfHxzq7A8zAEHg1gfoQ0q5S61bbVttjncb6mN/SPRbpWzcvtYskYSGvL2j5YNzKn3Os+9U8Xav5rMNakpe7vrgVH32NxI/LrXVr/0MMzTq3+I72KRlpjkvt0dv0y8Z5TFJjprtjx1p1TvVPf7O/ymtve8m1xupxwmNLEvPKl8bUfu2d9Zr9ctZ796lxvlfa+LnJylwx+B4XsVT/XWx85lxePog7fsjfT1347mS3j2dsir36/6n9xG8ILAnwIGoQOrKzdX0+rtOZU6XG6urs2K5DfkywjuR0+wvt8oKcXtLmgzmTz2nfbHQrLvxf4vGXcY2NF7ePGXStid8pbrcz9iGGzj/JTfHoJiFqrHTmoCPpr/tSgsIHshtTExljO9nN3zOO/bCHIo9yhfGSaxcrrFy6rr107c6XbNyVoez4kr9yP7vf5b61XhdHWbvGQhvfneQz10mNf6eLeDrZ7W3Lpr0xBv2d9ptYTkCge5j9YeweUJ/jOvPcNumMrZLx1a72T19ae+vWS01jXD786oYEaS/ILb/qny76Jh93sdialxfwN17c7ndaG3sde1m7xqJ2l/A8Rk/6Gk/b9S4hyQfJUf1b69TxrKN5+PG4uvHTGvjq9r/jGYPpJFu2XSwwIw7FVXVsVda9T22ti8+FnPayx+7P1t3ea0wHYsFnt74+h7L/lctjRe/2Ndm0T5/nbRjQTzsyBF5OwB8ydJfSubU4epVdHzak5rhefdD2MeidlO3V194YeZktX456WdoLWr59HvutUnsijk6v4719F4+t/fDHjztf3O5P63TxV5vPafUucdbEojZJfZIrP8ypfrs5jEXWObUtH9y1jza+JP0ciu5nt1d33g98WR+pOIkBWWK4+ej6ZcPXJLXG5PNq37u3adzhPe+IB5/dmvVz9+r3zKv9aQ9c6OxL9k7HhmScy6qrnSsEfoyAHkYudB7Qd5KK0eOjXW3s5bvS/VYOvMhuL3Jeft3Le3hZ4xNftF12e1C/Lh+Hji+XtxhXsXWJiD0tpNb1tWjf1vS5rCEpJlNy6+yaM90rX12fbPiS7m3skt3cLrbJ5r6kOwvTObtnJJwfuNeY2KOty9y7X491/dhWTOSfcYMkxmf2Wef4M3fbR7fnIRafX33T5jP29Wn7+z+1L111f26nv5OXyfkRAj9JgIdRa3QPKrZ3l69m1HHpGNxehv7i6xLZxgu78+02zqdKH+O6v3DvYnwitrv5vs9GVwyb40nUNYGorfimfuydZF/IzrfbOh+Tzeft1X0f+BUb6Q0jP7tn9JZ5x0Jry97E0PqYxmkf8sM9jTM7z8a0v73PNvPbeOv5LPa6FY/6//Ll8Xe6bNhdut7tn/6uL7YQ+BYBHi7JqmN7dykAHiPtbz37P7AAACAASURBVIG5Tna/nc5LUX3oF1lfjGrXMdZmfreGbLo6OY1XDOq7i4m2XtI1PpImCRPJnFdIfLJWjUFtxUa/ZI219vtY1+u8upaP3atv+ST+rRgblpzVdJ5b9vG867693cTRPi8vGLcVv/rrM75nDmPu4vY9ciZlD5rHHHx00mP6ivBv/9QedSFX+tfIr58+3u3RQ+ClBPxBQ5d85ualqLmuP+PrFXMESn6+czG/i4c98mJ7kDtejA9zNthpLx4T7Sm+1r8ScJdctbYnZ9rXmFpfR/rc9xRDl8xrrN2Y6pt2PQPaR3zgC4kPl/TtkQuu3TkesemMNP7urDzOqtexL24Ti8tpP/4so1fZzfU9s87ev5fq/LnN15f+iZf2yzXp9EeGwK8Q4EH0D+Ok8wJQPzqys636WIMxW5Lxe6TAaZzLa3O38PnTmoq5vWsiVTKQTeOVuKZ5llSmNX1P0xjZneddjFq/i69LqB4vcSMXe3hYr/qRj5og1e5iqLGq3Y3rbN0a0zrd/M7W+ezGdTbFrntgtzrPPX3tmXfxYhviuDu/HWPq8+axEpPbqu7PtOt13NRmjVvc9ZnRWdg+5MfnTH5l/+Tr0/f3yWf3cXvzh3H1gaSPD7Datw9+o3u/68xH0ufSdcZNUmP33Do4jeNyHdskGduto7g8NtoXqRdgfSmSCBtmd3OL327tVVyMX8amNUhKSMXbJVFsmuMvdte39oQPlxMfH4NOjMitWJnXrSEfe+fjp8rObx3TtX2e9MJNZ8e5cY5IPaPoW5LnSeMuOtw6yZidEp8uXff4XdeY6WZvLjt9mo/d13v45+XX9RmDZG4nPQb15wqBEPhBAnzIug+j2/zDK51bY9CPyDqvti++SBrXNRgj6brGYpukEKrP5Ur3vskn67b7JhlNCYD+Hfym9Ylx6pd9jFHrq7/GB3Pim6Tm4gNZ94LdpXS/j6xfx7qfle5FgPtYzdnT1/ndmlfnqF24rc7T+7bO/+Hsfe+uNzHUZ7o+S972mJ7V2YvLSd+7xmUPvk/pOp8r7z1+agxq5wqBEPgBAvpAcm19OB9ebuUlWl9gL2n7y3t4aSpuYqv6tCftWX0uJ93HTf7avfLik6wvRe2lJi7tgzkNW63t+5xi6extfL7envhqvFtt98++pjl1/WmcPw/MmcZWeze3O4c6b6vd+d2aQ+xI+Shn3p0jNp5V2luS5+byHHTxKo4mhrt5VvRj31r3SD97cindL/nT5XK1xi3Oumedz9XPbYztr/Pp635FkZ8hEAIvJcAHW075ELqOTZIPruSv3ry0kRsvzi5mt7nOXoGqPl2d9Hmuw0I29JskMdUXovZCX5Xyc31h3vyYb1/7iC5fDzGyThefbDW2qa2x3NOYlb1bfxrPc4A8GifzkEfmTzHJjj/kamy3Xztjzn06X55R9bs+jcd+ewa69RW3YrY4NI851QftV0j24PKysfJDa/lFe08MD7++ue51z1ytyVq+fvQQCIEfIMCHbfXh5MXEy7KV+pDrZed3ecm18+wl2PbzkkfK/9YcK7JW+6p9wovNdWydbGNWfNo7+++SAP2dZP6wzy6OlU0xqv8h1mfjI+ZuXyQ3xuyRkx/ZfX43zvu3dJ4hl8zpmKvP7d5mHtJ9Sq+xM67bg2zlfDiv6Vzr81nb07zbs1DjVdueE1+fOZPPZ+3E7FL61qX1dB1at3I/MJ+1XF4CyI8QCIHXEeCDLY/o3YecF9JDQuMlqpdt/cD7C099vJD9Bc/8Lem+0LfmXPu1H+Lv9jbZYKJ+1308flsu2q/WZt/E7ZK+STL/ugdfx+PYo4+xsnZ3fvRN0vfS6dO8zt7Nx6bYuvjU789W57fa8OmyctacavMz8H7XuxhrfNMY93/Vp3P15xEdOc3B7s/Bfyp2j0d6KUo0jzn4eFZ6jOgupeuS/z0X41wuY9N+OXfb62qO4qB/T0wZEwIh8E0CWx9oXkiSDzcvZH+x8aHvpMYzp/pb2Ttfdf7Q1v7YAy+XV8kHHsTAXtivZN2DmHn/pOOzyCP7Yv8P8WpN+ZXsznCKaRr/7B7lr87d217F2PVVv5xD4XtjJR9dX7Wr3TFkvVVf59+SYX1e9ZGXbUvWebXNcyH7pNc5e9pTXJrb9bnta8Txn8SFL9rflfgjIvZAOzIEQuCFBPiArT64t5ezvzh5IW+9iHkhI0kAmuc+8F1tK//MqVJr6Da79ucv3dV+9/Thq2WjtXwf0x4qC43rbtuHr3d0T23MHqfi4ZwkV/HVsT6v6t2equ2IP/df/exp+3zpWrue2cD8dq7erzW9Xf1vtev8q6/pOdTHX31+0XY5ze/sPBtd3xGbYmI8usuqq/2dS2vpQqITw3ckvlxKzxUCIfBDBPggrz64vKw8Gd5ezHqZrpLJ1FcTh17CvJiRbuv8kEg8GUivY93fdexqv3v6WiYeR92f2jUukmE3lvGao1tt92/60Xg1/u4s1SaGmjxZm35ktxf20/VNfvAnOc2rMdHe49P9o3frqK/j8qxt2g+xI9lDsw7n1J2vvw7Uz4Xuspv/EzbF4OsSU5WMqfZXtfHvUvrRW/G4D+LDRjsyBELghQT4gE0f2Db58gJfvXh52U5jvF9j3KcnSfq6RCIbY/2lXscy7jpGe/V9TXvv7MzDx0Ny93iIHVnjUmKiz2U3TmPd93UPrN/F2tkYfye1Nr5JlkjF4rFJn+LzscxHel/1R7v69TnS/WbOM7KuoxgLzzs+3+kjZjggZVfsg+/u7LDp4y/d5bV5J3xM1fH1Hcn67hsbgdA3tbG/SrJeJ2XbcyuWOt9tr4o1fkIgBAoB/+B1H1a9mGVvX9B6oXYvd710eeF6wuBljOzG+Hit6+1uLdm6+FjDpXyVsezZ91ltXbvlgW/W8djRPR50+pDYOznslzMi1k76Htv4p/WxI7tzUKz0I+s4temb5DNzJl/VzvMkWdlqXc7vDeTqPPURVr/LPXr3TDxrY70ujktgb/Kjxsd+p/jp7+a9yZYSRgh8LgH/4PmHseoPCYyXfU0gvOin5EO/S3ztkd16nmjkg7avgU5/k3R8z568ZWf/rmN7kKwx7YdYkJUV9pVkDYuNmH0frtPv8i524u0Y04fsYqPPZfVV9+pj0Z+Zw9yV5LlA1j1o3cLT+XD2kxy5Lny6f3T37+dXdb2VZNt7MdZl9bmnrfUYh04M+Kb9r6XH0+nYJLl9T/T/631k/RA4FQE+eHwoXbYvWr34pxc7L/opOdDvchrb2X0eOrF4XDWx+dgmSWjPJAWX2Kv0MXe6x9DFLxuxID1RY9uSrFPi9jilT/ddzPjAZ8fO99LF5v2uV1++Vx/n+jNzfD7xyY/2pj6X0usamsN4eFwlDMXM+da297nesm7WYBzrTVIvJ/W5vDZbwVjvxOZS+nSzFuNp49Pt2N5Repzs1fdS+9mD27FFhkAIvJgAHzQ+nJ3kRXknSQDdi10vd/o7ScJw2Y2bbD5PumLQWL3kXdZxjC3J4G5f3+3z9af4O2aM7WIm7jqPtUrM3Rm6TftV2+WFAf4k61qKgRi7Ptnor7IbX8fUdp2z8l/nVoaFz/IZkS8bXzk5x706nDtf9F34LwoCX0uvALVdXputYCyd3kZ36TprdDb8Mcbb766zH+Ks7bqnrp+5kSEQAi8mwAdOst71pcnL8yL1Aq8JgARaE4W3uznev6XX+SQsJRPNRXaJzRLO3V5eYfe1V3uocWk/Gl/3pTZ7U3+dx3oldp0h51bPk/a4d3zWtYixi9NjVH931711Y9xW19+zRp0DP+ejNbxd51gfrH5C+vm4vnctvQI0tl6drY6h7WM7XbbJ3vnA9pdktz/F7/a/tJ/EGgIfQYCXTyd5Yd4lMV7sNdHQ9uTS6Yxz2Y3rbDWJyIePU1JRG+njsVviudvXXrt8crM269FeSY/JGVRd49xP7V/Ey1lyfrSrbPevNbsYZa8x1Bg9XtfrPO+b9KNz6ni1F4zu9q4YrmNhtMWOcb8p9cLRej914RupdVz/qXXfye/Z9vtO7BPLyQnw4ZPsbl7Kdy9vkm+XtJQEtpJUN29rjietbj79xNbJa8J52MsRe7c2e2ZNYlnJLnlWW8fEx9DfxM9Zcn5de5ND3ava1aZ4Vvv0Po9dOv4kfZzrdY73ud7FxRoNn27vYgQvJNzeQepVpTg6eTV/S+C7Oql2b7te56UdAiEQAk8R4MUi2d0PL3AlA73Ap0TgyaLTu3mrxFR91Pl1rmIjxi25M2Fd/NUEWds1jhq3t+vc2u58Tfse9uBnWZOstx/OF37dejVO39OWXufW9p49a05dp8aJX40b2PiexYk2urM7ousD6ONr2/uO6PhxKf2nLsWWKwRCIAR+nQAvn+4FyYu6lXrh8/J3WRNG1/bx6F1C6uZ263ZzSaz4oO3SktG4R8YT55bsYiEGlys/nQ/Z6hz8NfvQeWpP3blio3/ce7emx9DFSUyd3OMP3j7f10Tf66th4/vdwwleLvVBpe26bFtt5m1J/CDxTVsyVwiEQAh8DAFecquX45i4pqTgyaTTn53nvkhMSPn0fvSa4Gi7JGlpTtXxwzpVat1uP8xbyerL290875fuY4i7SM6VM6Ttkj5P1De925vH4TFMumJSH3LyKbuPY7xs0xyPxXX8FB63fV3t4uD7dy6Trg8/feguO13j3V7n00Yyts7DfnGWHyEQAiHwiQT8xcdLUdJf1vVlPv4qg8SipDDdXYLZM8/9eQKSfnQ+SWsl6evi1ZpiREw1HuyTnHzKTzen+q/7vZ6Xn5OfoZ9rpzOPObTHX88pnhoDccPFpesaV/evdh1T23VOZeIxae7ihoHGoG9JffY1ppNX87K/m9vZ3P9KZ83IEAiBEPgYAv5SlF7v8cU+JQgS00qukgnzSEi0XXZre/8eHf9bUr66eOsadUztr+1uD55UfXw31vulDwlY57mVeL3/4by7tdkr7FgfWWOZ7HXc1Pb50ruYZNM9+TD7Hib1c6APvGwur83R1vVXH7Tdb2dzX9FDIARC4CMJ8PKTrDeJ6iFJ6eW+Sgzq27pJakglE+bgv0r6Jbuk5P179bpGbU9rebysxV6Q2CfZ7UFz6/huXF1fcTe3zpRzrOdb24x78NOtrzhlr7y83cTz4PuXxxzhAR8++Gp3V7XXdjens3XzOls3N7YQCIEQ+BgCevFNd5tESJokX5ckJcYgsZOEaqLTOMa47jZ8Sdb5anv/EZ01kHWu749kXMeoXWPqxritjp981/XVdj/oir+5p7Nd2e/8dHEqhmatu3lv1K+9KrbVnrs+fchld1n1r97nfuL7udmZFQIhEAIfRoCXYvdC5iXeJpouUclGgnSphKC2SxIW42pfHc84ZE3U09qM3yuJg/FH9qk5jN8TT92D2nXenjFaF55Fdue6ZXs4d/bkschW1mqfk388hr2yJ9orqY+4+jt5NUeEQAiEQAj8BAF/+dYX9TLJeIJCJ5EjlZBImMjO5n2exLC7lK6bNZE1mTPOJcl1z1jm4d8lfd+V7tN1xUesbpc+xe7cTNeZHknI/gww73KGHodisDWWz4mNI5ab32vy39PeWgPfLquu9urW54t+9J/4zMVnCIRACIRAQ0AvYF28iKscE4GSsSepmiyViDTGZdUtWY3r+Bz3160v2+quSX5K7u6jzqn79LHP6JXhVnsV88CznunR9l3BwB6HtfwctQ5tdNbGp9s7W9fPOKSPqbrae27/DHx9Ir7mobuUv1whEAIhEAI/RGB6afPSl3y4p2StsUpcLrv5z9jcr/SawEmYk+xinsZif2YOc/fIuodVe6sg0XqF63S2z9h5BjQXXXJqY39mrdUc1qz+3b6aX/v0sZLN5bUZEQIhEAIh8FsE/EVcX9Rqe+K505X8uuSpOSRG5MrPM33yy11jwD7JZwqMusaqMJjWnexdPHU9b6/WXrDszvY7Nk/+k87z8511fnquPmdaw+W1ebPTjgyBEAiBEPhhAquXPsnmrhgh8SnJerKUTsLUGPUz9ickSd5jYH36Ounj0btxbmMccs86Pn+lyxd+kRrf2env1h8Yr86XPj1i6Eckz4fmuN61j/j9rbHs22XV1c4VAiEQAiHwwwT04udaJYG2IFES6pKmbOpTUnV5TVqjr6P9JPkaQ5esGYsksbukb5I+VvqeddyXxk9zZK/+69zaT9vHSR84rs7X+/Q8ePsTdfbYSbdJzxUCIRACIbAgoCTBhb4lNZ4xna6+7uZ/+bq8KyqmZDokxru53x1DAq4xTInfkzcJHfnMHPe3pXuM3VjvJ6Y6rhvDWPUteHZn6zZ/JmSvbR/7E3pdj7bH8t118bmS6ssVAiEQAiEwEPCXsobQdh3bSnZ9su25x4JESZCk6FJ2JVSXi4RZCxXFVG0Pbffva0tXgq4JvbZfMaf6nNp1rW5cV3B042Sr/mjLR1OcwHM6673PkuYzdvK1svtc9FfLGuMe/xqTKwRCIARCYEGAlytDaLuUvro1d+pf9TFnWYxQOJAQXdKnBIq+kFqPomPS6b9JfHdJ+p2KEueCrpjrfaQo0dxuPP5LYcJ5dpLnYK+UD8ZW3f0zppNuW+nq4/K1ZPtuG7+RIRACIRACA4E9L1p/8f+GvlmYkAiRFARWaNwKicamPXRrYF/NvfQ9U5R0CZ24a7HgbfaI9L5O79bpxsl2ZCw+ujnEpr5r8obv6nnRI6n+6fI+/Ghs1bG5dN39yO6X97nuY6ru41yv49IOgRAIgRDYScBfpugupf/2TSIbi4IpkV6T4e3XN00hMvlkj94vm7dvutZXnySJGEnSnmSXzKexbse/pHx4X9W7NVZzuvHVJ232jezmynZlB9cqeTxl53JdtqmNfZLdXNb4CUkcne9VXzc+thAIgRA4HQFelJ2U7V/eSvxa3+WtGLjaL+1VMlQC9bGDPq2DvV0XX1qji4HkPcln5sjX3qKk8y+bfCj2TtY5jK9j2XuVGu/3dd7Wc8QHT+O4XMfWydW4VV/nK7YQCIEQCIF/RIAXdifdJv3oTSFxdF4dj59lUVATKd8geOKtybNpa23WQUdiH2UXgxLy6vbiAr2O9z3QV9dSW32MlV7HwAQfjK1S/cTCnDpG7Z03/CTrrcdeNpfX5tMCf52DVV83PrYQCIEQCIFfIMDLuZOyHb2VoDSHRMV8t9NP30oyjzn4HeWUgD2ZWnyjn2YfxLKac+nrYqAAmKQnfwoAxnrs1datJRt39eu+Kwf59rWku3/667wd7dUZ06fHXTqX69giQyAEQiAEPpCAv/DRJY/cnqQ1j2SNjuzGsQ59tDtZ/dJupSdRErJsxPeNxNquh1+k/HcxqF99002sSPnwscz3dbAxZ498hgVxsPYByTPgsp6xPl7YPvCjli2FQAiEQAhMBPTy5yIRHJFKzBrv0pM1fW6ruo9Bl/Tb/fuY6uuureTZFQTfSKp3/hf7vhu3isFjQZesBQVFidZUfy0E3NbNr/7U9oKk+ntx28/Mz7XqehZl43IdW2QIhEAIhMAHE+DF7wlC2/V21ZV0ZSP5Tjr9eyQ+OtnZ9vi8+3UDiVlJ25O47WOXz6Pju6JEPoihk8SK9KJkz/ryydwq5esHC5LprGRf3f7MffDHLVsLgRAIgRCoBJQcdLlcJQz6lLSld/LVCX1aB/tyPRJ9VxCQkBnjBcKehH90TI1BbdaeZFdIHF1X47UWN2s948fOHe5+Dugupe+9/Vms+uVBzY8QCIEQCIHPJKBEwbU3afxGEUKy69ZSnN6/W68FgZJ9VxQ863/PvBqD2j6vFgtqb83x+T+gw7uTk032Z289j5rr8tqMCIEQCIEQ+EQC9aW/J4F0BcLuguDFyVLxHlq7S+4UJfJFMVDl0XUYjx/ayK7AqGO7tn9bUgsZfD8hK0dvd7psP3XrcybfXK7LVtuMiwyBEAiBEPjDBPzlLn3P7QXJoWLAEyXJFkmf2txKuNNd5inuQ7HUgoCiBL+TPLKOfLCOZJ1LnxcZjGF92i593mqcz9nQnR96J2X76VsfJ62RKwRCIARC4CQE/KVPktHW0TtJ0lcf+i5J4pTUraTK7Qn5qC4fR2NhvOKo68kfMWqc9E7iYyWrf3z5nDpG8Xj/StfcYf+cT5U6q2rztvSujf0npD9z6C6l5wqBEAiBEDgBASUZXS67xOPJbLMI8eSL/ooCpBYQtC1xK/bN+HwMPlyqX3ET+yTdT9U1x31Kr2No13GsR/8B6ftHd+k6Zyqb35Pdxzyj85xpbqdj++rNzxAIgRAIgdMR2JtcDiV6JVEl1p8sRDyRP5vEidF9SZcdn+je3ioSNLbzOc0TJx8/fPvRnYHOjyICufdMf2KcPkD47XRsLqXr0rxcIRACIRACJyPAy98liaTKLhEubUrINcl6wn21XhK44ic+17HdJEVGFys+GSPpOmtMtrpH/DGvSvnxOcN49rOS6vvNWx8d1kN36R8tjeuuzt7ZurmxhUAIhEAI/GECvOwlV7eSt/pd3hK6J1VPzF2C92T7al3rsb7Fuxmzx9/FjF/5xn+V7gNdY+oe5Yv+ldRcjb2Ohz17oc2ZYUdi/y2pj4DW2iN9zNeM/AyBEAiBEDg9gS6JTElMyW7zJlErkdZkvKdNEkbib8/aVoRoD8TKfryN3squkFDsxCLJzTreh61jIBv9ByT78b2g/wupD47WXclr920c7cgQCIEQCIEQeCDgSWWV2JS41d8mcOyelLtkvCpINN7n41MSu9s2dGJlT8SNfdd+uj1QUBCTJLrHKttq/hB/Fx82l9JffevhqD6xIdWP7rLql0H5EQIhEAIhEAJHCXiiqUlJ7V0JnMTcJeKpGNFY5tWE7u0hgVNoIGus7IX4aSOxM/9BTnshNmKvcpon+7AXYicm2p0k/mekng3Nq9J91T5vu44ft0nPFQIhEAIhEAKHCZBUPCFVnST5kLC75Dol41qU1ORMUifZd7532BQ78dZ90Ka/k+0ea+xqEz9xu5wYMKfZh8fdxUXs35V6QOSjk52NsV3fxUl+hEAIhEAIhMB3CZBsXEqvtyfINmF7Mu6Sd7WRmH2ekjTtJmG365ZxiptYq173VNvMc3m35laRodh1T+O8iClx1zWJDTvtZ6SeEc1byWv3bRztyBAIgRAIgRD4NQKerKaER2K8S9CeVCkkJGvxUdtTMYI/fNHeKRU7cVZ92tdkH/epNep+jrTZ+2JPxOR7wbYl9dBoTJXVdh1yJxjjxmqrbR8bPQRCIARCIASeJkCCcSm93iTHMVFTRKy+HSBxM7bKRZIe17UixGOs8R9tV18P6yt29nNEsudmr4qxrns0bj0IzEH3h0N9uUIgBEIgBELgbQmQqEhmVXqifEjOnly3ChL/hoDkjHQ/B3TFSnxVr/t4to3/h70fKUx874v9PRujHi7N9Ys20vuih0AIhEAIhMBbESBZuZRe74dk7EmVomJvQcJ4+XDdfW7ois8LBeLFRvtVEr8jh9Xe1bdjn9OetvagB4ox6G/1kCWYEAiBEAiBENhDQMlMF0mtSk/G6ntIyiTbVVLWrzYYh+x87bARg8uqq/1Tt/N4YEH8YrGzEMHf0Xg5M5eXg8yPEAiBEAiBEPiLBJQIdW0lxDH5ehJe/U2FChEvRlzHx0IqvmeTd90b+0V6f2fzfteJZ5PNjn25L1+j0z1GdEldGp8rBEIgBEIgBP4cARJYl/hk80TZJl4Ki9U3JOqTL8YiF4na16pxTLHuseuAGIdeZe2n3Unno36Pe0tnfOd3ZfN4q652rhAIgRAIgRD4swRWCZDEuUywWwWJihAKEeSOBM7aW/Ht6dfhMI6DUlvXSjJnS07FiebBDh1fdQ72SXqsVb9sJD9CIARCIARC4K8SUPLTNSVB2UmoD5LiYk9BIj+Mr/qwBmuvYlv1sS+Xl81aEUK7k/Kty+VqPfooNGobe5WM25I1lq/o8jMEQiAEQiAEPoCAkqAul54YPXlKb28VGtPfkKhYoRBBTn7MrhhY2+NZ6XUf3r5ssuwTW5Vao17YVut3fd0eOls3122Kh3aNjb7OHlsIhEAIhEAI/BkCSnS6SHhVtkWIFQ+Xbz6OFCQ7ChPFcCRxE7/Lla6+Zy5npfmV1Z72kX3hj7U8ZmJxW/QQCIEQCIEQ+JMEPKmR/KokgT4UJhQWkqtf2/g4L2QGXeuzZo3F2wKuNpfr2H5Ssp5L6a++tQdfw9s/ub/4DoEQCIEQCIFfJ7CVRB+KES8mXlyQ7ClG3ilBeyxV3+K66tdD4P5+/aHIgiEQAiEQAiHwmwRq0qtJkgKhLUr824/p1zY+RoUMbS9qTK/rd23xIe7fZLV3LWImTtrPStZ95z0TY2QIhEAIhEAIfJvAKmG2BQmFhIqMqSDRr3N2FCL4VwwUQV082mRNzLX9bRBPOiAOpMeKTXK6p/GEgw/akSEQAiEQAiHwcQRIktoYukuKBAqHBzn9HYn/SxsKmIXUmqzl66MT3185AMWtq8rO1o35mv1/82lHhkAIhEAIhMBHEvBkKL3eDwUIRQW/gpkKEn1zorGMQzK/kXVtbwu+2n/5In6k9rJH/8t7TuwhEAIhEAIhsItATYhq+823FsvCZPq1jYoQChFkU4j4Gr6269qM2p98ffr+PvnssrcQCIEQCIEXEfDkX3UvGB4KExUa07cksvu3JEMx4v7r2iRp5Iu2GzchEAIhEAIhEALvSICE3xUEsj0UIm5TUTJ9S7KzIKEomdYXM4/xHRkmphAIgRAIgRAIgRcQ8IRfCwMKhofChF/FTN+SqJ8xSC9mTNearFPX1/aI7wVbjYsQCIEQCIEQCIF3JUDCr8WA2hQKhwsSFSobhQg+fZ0aw7syS1whEAIhEAIhEAIvJqAiQFctBrxN8XAnKTh+8Nc2xPUVYX6GQAiEQAiEQAh8PAEvQFxXEaL2XTGiNgXJ9Gsb/ri1m1tsvl7VAS97rhAIIWbeGQAAIABJREFUgRAIgRAIgQ8nQMKvBQHth4KEokKFyTe/JdEaFD6sJ6kLeW1GhEAIhEAIhEAIfDIBEr8XBOgUCw9FyYu+JdE6rMGaSDGXnisEQiAEQiAEQuBEBGohQPuhGOEbEskXfEuSguRED1m2GgIhEAIhEAJbBPg2gkLEJUXDXXHywm9JfC3XFbPauUIgBEIgBEIgBE5CgMTvBQF6W5DwTYkKk+kPXPkWhbELyVouhV7tXCEQAiEQAiEQAicj4AWB62NRooJk+tXNzn9xo3Xw72sKvdq5QiAEQiAEQiAETkSA5O9Fget3v7Lh246tX91oHGOQzDXp61T9REeQrYZACIRACIRACECgFgTebosSio7unwHrWxIKEaQVIu7P10FXTNJzhUAIhEAIhEAInIwABQBFgUsvIB50FRxdUSL7RjEiX76O68Kvdq4QCIEQCIEQCIGTEaAA8MJAOoXDQzHCtx6rP3DlmxTGFun+67onw5/thkAIhEAIhEAIQKAWBd4eC5LpW5Kdf+BKweNrSdeFvDYjQiAEQiAEQiAEzkCAAqAWB2pTODwUJvx6ZvrVTb4lOcOjkz2GQAiEQAiEwOsJHCpI+DXM6lc3T/49iXZGkfT6XcZjCIRACIRACITAWxOgCJgKk4dvSfgWpCtKZHuyICGOt4aV4EIgBEIgBEIgBH6OQFeMyDb+6oZvSrpf3ez4exL3Xdf+uV3GcwiEQAiEQAiEwFsTUFGgqxYHtNtvSVSUdN+SqEjhWxQKl0Hi3yVxfEWUnyEQAiEQAiEQAqcj4IUBOsWI2uh38htFCT5Zy+Xp4GfDIRACIRACIRACXwRUEOjywgD9rgjx4kR/M9IVJbJt/D2JfMsva7i8hhIRAiEQAiEQAiFwVgJeGLi+LEqe/HuSVUGitXOFQAiEQAiEQAickABFgBci6BQPbWGib0O6omTjWxL3yTouT3gE2XIIhEAIhEAIhAAEvChwvS1G+BVO96sb/siVMYP0NVxXPGrnCoEQCIEQCIEQOCEBigAvDqT7NxptcdIVJTv+nsT91jVPiD9bDoEQCIEQCIEQcAK1ONhVlHS/ulFRooJm8Ssc913X9Ziih0AIhEAIhEAInIyACgNdtUCgeGi/JVHhsSpKhl/brL4l8TiuIUWEQAiEQAiEQAichYAXArUooRhpi5OtP3Ld+KakruVxnIV99hkCIRACIRACIdAQ6IqEthjhG5Du70n4I9dFQeKFTl1TYVGcNCHGFAIhEAIhEAIh8MkEamHgbf9VC8XETU5FyUZBIv/49bWk5wqBEAiBEAiBEDg5gVoc0L4VIHw7IknRMRUlPsbnmY7/KnUMsuUKgRAIgRAIgRA4IQGKgFog8G3GWJh0RYlsFC1WhLgPrYPvuuYJ8WfLIRACIRACIRACTqAWB7S9mLjTVXhMRYmKjkVhkqLEyUcPgRAIgRAIgRC4EaAAqZJvM+6KES84nvznwPit66mdKwRCIARCIARC4OQEugJBtoeCBJu+CXmiKMFnt56OQPZcIRACIRACIRACJyVAIVALBb7ReChM+NVMV5TQh6SIKbKuRfukR5Bth0AIhEAIhEAIiAAFQZUPxQiFBQXHqihhbCPrOrSJJacSAiEQAiEQAiFwYgIUBlUuC5NvFCV8C1PXO/ERZOshEAIhEAIhEAK1MKBN4dAWJvq2pCtK9M0I36Q035LgkzVc6iTUzhUCIRACIRACIXBiAl4cuN4WJBQeU1EyFCMUJEhfh2IEeeKjyNZDIARCIARC4LwEanFAm+KhLUxW35QsihL3yTrI855Adh4CIRACIRACIXAhoKJAF8UBsi1GKDhWRUl+fXMlGhECIRACIRACIXCYAIVIlWNh0v3XXPXrHIqWQco/35bUtdTOFQIhEAIhEAIhcGICXXHgxUNbmDxZlKQgOfGDlq2HQAiEQAiEwBaBVVFCEfFQmKx+fTN8S4KPaT3Zc4VACIRACIRACJyYAMVAVyxQSNxJFSSromTxNyVaQ766tXQExHLi48jWQyAEQiAEQuC8BLoCwYuHu4KEb0FWRQljBum+69rnPYXsPARCIARCIAROTkBFga5aHFA4tAWJio1VUbL4pmT6loQ4ruFEhEAIhEAIhEAInJFAV5BQlCDvihOKju4/nkYfsvm2ZFpP9lwhEAIhEAIhEAInJkAx0BULd8WIFxgqOlZFiY9t9G4tHQGxnPg4svUQCIEQCIEQODeBrkjgVy1tYfIDRUkKknM/g9l9CIRACIRACNy+nZgKk7Yo0bcf3Tcl+u+XqG/Hr28oenzdHEcIhEAIhEAIhMDJCXhhgE7R0BYlKjq6/4AaRUnzKxv3wxqdPPlRZPshEAIhEAIhcF4CKgx0dQXCWJh8oyjROvj1NYnhK5r8DIEQCIEQCIEQOCUBLw5c9283bjq/mpm+KaF/8W2Jr+G64KudKwRCIARCIARC4IQEKAq0dXQk32jcChIKjdU3JTuLEnyzFvKER5Ath0AIhEAIhEAIQICCwCVFw0NBQmHSfVPC/1PwRmGidfDvayoetXOFQAiEQAiEQAicmIAXB+gUDm1hosKj+xc4FCRIihiT+O/kiY8gWw+BEAiBEAiBEFBxoKsrEsaCREVGV5TwL3AWRQnFTl2PGL6iyc8QCIEQCIEQCIHTEajFgbcpIB6KExUd3a9wKErsm5E6V/7x62tJ14W8NiNCIARCIARCIATORKAWB2pTONSi4taeipKNb0ncb7fumbhnryEQAiEQAiEQAkaAbya6AuFWgNRvPqZvSnb+sSuFSV1TYRGPhRg1BEIgBEIgBELgLAQoBGqRoPayMOn+roRvSpCND/x2652FefYZAiEQAiEQAiFQCKgw0NUVCBQPY2HSFSU7/q5k+qaEGK4hRYRACIRACIRACJyRAAWBS4qHtiiZfoWjokR9i29K8OdroYu99FwhEAIhEAIhEAInJEARQGHgcixMpqLkm39X4rGc8Ciy5RAIgRAIgRAIAS9Eqs43Gw9ShcnqVzjf+LYkJxICIRACIRACIXBSAv4NhRclFCKyoV8kBcdUlNCPrPOvv6aRL18PXccgPVcIhEAIhEAIhMCJCJD8KQiqvCtGvLhQwdH990pe9CucEx1BthoCIRACIRACIeAEVsXJsjCZvi1RAbP4pgSftQii7bFFD4EQCIEQCIEQOAmBrYJE/RQRD3IqSnYWJPJHIYIUdo/pJMeQbYZACIRACIRACIiAFwEUB0gKh4eCRMXK9CscFSXfKEyIJ6cTAiEQAiEQAiFwMgIUARQiLttihG9PVHhM35bs+BWO1qHo8TWl60JemxEhEAIhEAIhEAJnIEABUIsDtdvChG9Cpm9LdhQlFCTIuvYZuGePIRACIRACIRAChcBWUdIWJypMpqJE9gOFSVeQEFMJNc0QCIEQCIEQCIFPJkABUIsD2u23JXyL0v0KRzb6N6TW6L4tEW/i+mT22VsIhEAIhEAIhEAhQAFAIeKSouGuONn6Fc43vy3xeEqoaYZACIRACIRACHwqAS8AvBhBb4sSfcNBYbL6toQxO74xYT2XYq52rhAIgRAIgRAIgRMRIPl7UYB+9y1JLTD2/m3JokDROhQ/rInUEUjPFQIhEAIhEAIhcAICJH0KAZcUC8vCZPq2hEIEWQsaa/uaVecIZM8VAiEQAiEQAiFwAgIk/VoU0G4LExUcq29LKEiQVohUf6zjUtjVzhUCIRACIRACIXACAiR9LwaqXguIh/bq2xIKEmRTmGg9+azrevsER5EthkAIhEAIhEAIQEBFgC4vBlx/KEZUTKjY0D0VJoxxeS1Cqj+t1RUnxOTyEmh+hEAIhEAIhEAIfB6BVUFCoVCLiFtbRcnq1zg7ChJ8eRFUdagTK+3IEAiBEAiBEAiBDyNAsq/FAO1lcbL6tkR9XpjQLt+YaB3WYM0qQS57rhAIgRAIgRAIgQ8mQLKvxQBtvtG4kxQZ07cl+tWOFyWlGLnztbMwIc4PPopsLQRCIARCIARCgIRPIeKyKyDubFNhIjvFC3JRnGhN+fW10XVC0rlcxxYZAiEQAiEQAiHwxwmQ4CkAOnlXhFBYUGhITn/0qsJE430s8xvZre02oVY7VwiEQAiEQAiEwAcTINl7EeD6sjCZvi1RsaKChKKkKUQ6v75u1XUEsuUKgRAIgRAIgRD4YAK1AKDNr1W6AuJm21OYUJwgmyJFa7Ie67sUfrVdXpsRIRACIRACIRACn0LAk70XAui3AqQpJi59069xnvzD173FifgT+6ecRfYRAiEQAiEQAqclQFJ3STGCpEh4KE745kNyKkxe+IevxKPDIt7THlw2HgIhEAIhEAKfSoCEP8mHgsS/NVFR8sLCxIugKR6Kkio/9XyyrxAIgRAIgRA4DQFP7qtCYCxOVJSs/r7k4DcmFCaKxXVi08FU/TSHlY2GQAiEQAiEwKcTUJLXRbKvcixI/FuTo4WJihmf3+g1jq59DT2/1gFEZAiEQAiEQAj8dQJK+Lq6xI+tLU4oLn7oG5Pu2xLicUnsX7vIzxAIgRAIgRAIgT9LQAlelyf6qrdFiX/DcaQw8XkLXTFsFSbE7fKymfwIgRAIgRAIgRD4mwT2FCYUCW2BoqLkSGGisYuCpK5Ri6SuLfK+j795Eok6BEIgBEIgBELgQsCTek38fGtRC4Zb+9nCZKNAURy+do2rtjlK2XOFQAiEQAiEQAj8QQIk8Zrkve3Fwa0YUdHghYX01R+/dv9Jep+/+AZFsRCDx+W60Kvt8tqMCIEQCIEQCIEQ+CsEPJl7onedouCuKKmFxN7CxAuaFxYmxCvu7OmvnEHiDIEQCIEQCIEQMAIkcpJ7lZuFiQqMPYWJvlH5pcKEPWmbrtu2o4ZACIRACIRACLwTARK2S+n1Xn5TwjcnewuTnd+SdGvWuKa2GKvP5bUZEQIhEAIhEAIh8O4ESPCKE73KrlC4sx0pTChOkBQ3g1QsrFXjmtrsxeW7n0PiC4EQCIEQCIHTE1Bi1zUleNlVFCApEC6yFhZqT/8nftg1hnlIKzzu/A/2Vaz0sadOXjacH29DQGfG5Tq2yBAIgRAIgRMRIBGQ0Du5WSxQYEhSgEyy+//MYf5QiLC+YpPusosXm45ROhc6Envk7xPYOoOt/t+POCuGQAiEQAj8CgESgOTqpjhYShUYW/9kWAULhQhyoyCpaxInRQrtSQqk+nL9GwLOHn1LKlLGVP3f7CKrhkAIhEAI/AoBXv6S000BUAuEW5sCY29h8uS/zrmtd42VuKa43S6Yarus+ldvfr6KALwrZ+ycj/e7ze1VVztXCIRACITABxKoSYLE4JICwAuDUVdxMv0ax+0a5wXNE9+aeFwe70rXEaqfy3Vskc8TcJ7oktzyXO3Y3I7NpfRcIRACIRACH07AkwHJo0ovANqChAKD4mLPr3P8b000r/rA1yAVo8dVY57aOk76OFq1c72WgDOF9xGpaBiPToTuG1tkCIRACITAhxDgJU8S6KQXAG1hQvFAcbGnMPG/NdF85iLxuSEVL/F1sXc2HZ3snbyaI3YSgGNlCXfstI9In4sumSsEQiAEQuCDCZBYVgmDxL8sSryAUHGxpzjxb00oSJDub9AVMzGhr/bR9eloZe/k1RyxQaDj17F+1paz2TiAdIdACITAJxEgqWhPW4mDImCUFBV7CxN9a6LiRAWGz7WCY1zLxihujXO5tRf62XcnP+mcX70X8eOC5U9LrVfXJYbIEAiBEAiBP06AF7zLKbGQ9NW/p1C4jPlOcXJkHRtLfNM+VnYdp/o7eTVHGIGO1Yqv+vw52hrb9fvZWChRQyAEQiAEPomAEgBXlwywkVQ2CxP/5kO6/0ucSf/mr3S6mBQ3MbOHvVI8NLaTV/NpRcdli6ufAzpyay79fhZVP+1hZOMhEAIh8EkEpgSjPZIMXJJIJHfdFCh7/taEX+loDvOq3LmuYvZYfQ/P6jDh/OXnbBd73svQz8B1zZ/aW77FnDjOxj/7DYEQCIHTEOBFv5UUvF+JZfetAuPZ4kTrUKAcWfOawIhRsZMMfR97dT0MjEXnAZH9LBcMRslZ+zdgG+cmX3vPRpzPxPssz1X2GQIhEAItgTHZWFImgZDwW1kLCbV1T7/GqXaSGn6QGwmujcWSnse+Z6/TGMHz5IiObOH+USN7cim9u/+rnuPGucmHnxntzje2yv6PYk3YIRACIRACKwJ66XORAFbSE7wnllEnQe391mT1a52SzMY1h3Hal8e/2ueePnHTOC50JPa/LNmLZHf/13Susg/n0J2bfHM23TrYxFJ6rhAIgRAIgQ8mwIveJYmgSpJHl1xuNooRJRvXpyRW/9f2i4sT7YHY0DtZ93qkrcdD4zt5Nf8p4XsZOazOM4XJnzrvBBsCIRACb0mABKTg0CdJoj8kVaSsklktUDRWcyhuqrSC41Ac1/1pjvZX5bTnPXbYraT3SX+nS3vUtdrrhZfOop6Xtw8WJnvOgLhcXoLNjxAIgRAIgc8ksEpGXZ+SyXhTRPgY2XQfKU749kR+8Il030/q2leXFLF1+37GpidG81by2v3Phcc57fVyFl6IdPrBc9JaW9yd3z8HlQBCIARCIAReT4AkJM9VH5OS/S/qsTDpCgUSleQzxYnPl3/a3VoHbJ4QPTG6PrF4xu6sNb9ru+1rxM/+9DhWe4LJhf3WGR48H62L/ymG3+bys9TjPQRCIARCYElgb3LyBKJEcuhWsuLeSmz1f4VrvG6tSdKr8mg8w/i6R29Lf9WtA5GvSda+69CboP9mOKgw36X0elMw3J311vlxNgPjO1/XNVmnrk9b25Pu8tqMCIEQCIEQ+DQCvPC1LxLBHlkTzK72s8UJv9oh6VW5MwnuiVF790SJjtzD5jtjOAekfKGvpPddJlx/MN/7sa3iHFltFSa1iNxxNopjxddj971FD4EQCIEQ+FACnqi0xa2ERf+YvHYko/GfnNZvTLytpFcTH0XKnjWfGONJk+SJhMNPS85kr1Q809itWNlbe7ZifbQw2XE+xMTatJHsRe1cIRACIRACJyDAC98lSWGSJJE2gdUCgOSEpH8ryXlR4npXoODzB6QYsE/0TrpN+m/dekRZCx2Jfa/cPNetM1O/zpmzRhpDWLpUfKzdxcp+JHOFQAiEQAichIASgq4uMXQ2EoknmF26JyvpW8nOixLXa4GC3yo3kuKumBsfYsJc+KiNHds7S4+XvdzJylJtP4Oqe2Giscw3Vnf+r/YtZjyXLi8Pa36EQAiEQAh8HgElBV2d3Eqqm4ltSkg1YT1bnCgx1gKFNesa2L8pSaJ179hX0vuk/6t7iv2haKC4cFmLkdr2segbzPdwuT6mt+eUdmQIhEAIhMCHElBy0EWydB1blZ7g1PeQ2LZsSlyMkf6HCpQ9e4WJS9fh5zbpP3F3a7V74EwoKqrcOqM6njbnPMgVA57FywOaHyEQAiEQAucjcDQxkvTaRDckooexSmAayzcg9X+J720z3xMivpF7Y3rROJKuc8J2RHIu+KHdSca4rLratxs2LqXX+x8UJuxPn0TpuUIgBEIgBE5AgBe+SxLClvSEp7G3ZHdErwlxKwHuKVS8SFEsvoa3j8T5g2Nh5xK9Y0zfltx1Hs6mFiPe3joX9ft41zfYaR/drY+f7LlCIARCIAROSMATAHqXLDqbJ89dyXAjUe36r43uKVA0hiJFaypZdnIrnh/oF8cVK+9H3ys3z8M5eAGx0n+oMPE9SfdbH0O1c4VACIRACJyUAEnAk8MenUSosatke7hPiXIrIe4tULxI8cSsmGv71ft4R3++Z+l77hXrJ78xWT1f+hiqP1cIhEAIhEAI3BLCKnF4Xy1O1He4EPEiwecrafLNxyo5HunDn2Rd15N27fO4/pru+9pTiNQxK76rwoR1B17+HLmuj6HauUIgBEIgBE5OgGRAkhAO9C1JgeLycIFCIqtSiY2CYpUkn+nD76cVKs6w6mofube4Tr6GgsSfkfpc8cyd/KOY7YdACIRACDgBJQtdLmsCmdo16RwuTmoyI6liV5tiYithPtOPb6TWJYYtSYzvJBXzd2+xWLFc+R9YTM+PP3dfT2F+hkAIhEAInJ6AFySCMSWRzv6ywqQWAZ7g6KN42Eqcq6S6p8/Xkc76W1IxM8bj/ymdtTop27P3Ft/J77BPPTc8JzxDPGen//AFQAiEQAiEwExASUMXyeNZybcmmo/+tCTpVl+yU0DsKTZeMYb1kMR2VGovzKn7mtrdeGySr7y3ChP1d+sNsXfPEc/Z1xOXnyEQAiEQAiHQEFAC4SKZqI2+kvV/EVOIaA76U9KTr3zRdl02ioVXFCDP+GB9l8T6XVn3Stv9Sn/VrT2sGKi/rqWYmnt6ZniueN4iQyAEQiAEQqAloETChT4lly27EpXGkLBcx/YtSWK2NS7+ZKdAWCXY3+wjnk6yj5X0Puk/fa/YfLMwqc8X7cgQCIEQCIEQaAmogNCFRFf72VsFg+Z+qxDp5nvC9n7sskn3gmCVdN+lz+Od9J8sTlYcamHi3E2fnpWvpys/QyAEQiAEQuAgASUWLvQp2azsFCWMof3yIsWS4sW3FyfeR0L3hL9KxJ/Q53vdo2/tGYYDY87apZ4ltXOFQAiEQAiEwFMEPImgu5R+5KYg0Rx0l5diwguIV+pDAn34m5WatLcS9Fn7KUyGM+qei6cewkwKgRAIgRAIgRUBEo7GoB+RFCKag+6y6mr/+t0VMbLVokXtMxcmzdn4ufJc8Kysnqv0hUAIhEAIhMAhAkoyXOidJBk9K70wkY9fL0q0ZleYEMvUNxUun1q8wKPI7tz13MieKwRCIARCIAR+lADJhmSkxdCPyq4gkQ+3U6Rgp/1P5FSgkKhX/epbFTJ8M/Ou38awR5OcST33H30A4zwEQiAEQiAEOgJKRrpISq5je1ZSmDCfIkRt9LeVq+Kkxk+xIjvzOsk4lxQyz8q9BZD8E1OJn/NB8gxcHoz8CIEQCIEQCIHfJKBkxIXukmT1rPTiBH2PfNuCxZN6TfS0vfD4SV3FxlZhcqAg4Yzr80A7MgRCIARCIAR+hQCFCIvR7iTJ6ztyT2Ei/3+iOOni/OkC5ZsFCfzrGer8ZcsVAiEQAiEQAm9JgCRFAlOQ6K+QniDR90iNeaubQkRxof/ENyVb346o39cdOE1n95YPYYIKgRAIgRAIgY6AkhkX+pTgXmmvhYp8V5u3V7r6fuT2YoTixAuE7+hHvh1hHWJo9tudjc5V9lwhEAIhEAIh8KcIkLyQCh5d8qdvig7WoY2UHV3SdfrcxpiXSS9QKBKelXsKks53U4ywZ7gh/fz+1IOYYEMgBEIgBEKgElBy04V0ncT3W9ITb6djW0nvk37o9oJEc7uCYa9t69c1/DFr9TfErDNgb/U8vk4wP0MgBEIgBELgwwgo4dULG8lQ/ej/SnqCrjptyUO3FyW1WNjb3vPtyKogIYYS+8SZs1J/rhAIgRAIgRD4WAKe6FY6fZL/8qYYUQxV3yxOKAZc7i1EGLf17Uj9Y1bmsWYpRIi57scZ6+FTO1cIhEAIhEAInI6AJ8AtnX6X0n/rroWJ1iXRt5LiwKUXDpP+nW9HfK0mvomVHjz15QqBEAiBEAiBEBgIkCiPyCnxvsJeC5O2GPFiwIuEqQhx+w8WJMSOrDx0BHAejiPmEAiBEAiBEAiBjoAnUHSkxqMjsan93ZvEvlmUqEDxomOlb/26ZvrbEfn0QmjQtWfi9v3DpWMcWwiEQAiEQAiEwDcJKOn6RXslPVHv0UnwY2FCsbAqRNT3nW9HKEBYi3aRW/sRK9g4t+ghEAIhEAIhEAL/gABJ2eVWMqcg0Tj0m6QYUR96lVvfjmz9MWuKkX/wpGTJEAiBEAiBEPgFAkcLkrYYqQUKhYgXJ89+O1J9L9rEJtnd4FRfrhAIgRAIgRAIgTci4MkZ3aX0eutbEdlu345MOoWJ5NGCRD75RgQ5rWPx1Fi9Lexq5wqBEAiBEAiBEPgDBEjansyrfrgo2fp1jf8x6y8UI+zxDxxHQgyBEAiBEAiBcxIgWbusBYnafEPiOrY7uffbkYOFCGuwfhcjNp2kdJfXZkQIhEAIhEAIhMA7E/AETmKvUkWBbBQHD3Lvr2v4tUyVK9+2do2rtsVZtlwhEAIhEAIhEAJ/iIAn75rcvb1ZkDzz7Yh/U7IoSIiDGGhXKeyy5QqBEAiBEAiBEPjDBGqC9zbFwMM3IxQSzxQkfEuCj0EqDtb3mKou9LL5VdveFz0EQiAEQiAEQuDNCJC4XUqvd1uQqLDY+8esKi52FiJehLheYyJmIXX9zRAnnBAIgRAIgRAIgSMEuoRfbXeFyZFvR54oSPYUI8R3ZJ8ZGwIhEAIhEAIh8KYE+IaBBF8lxcGtING3HXsKkgPfitx8X7/xYM0aS22DVPZcIRACIRACIRACH0CApF6TPm2KhP/aU4xozPD3IV58VJ21tqRwa0yuEAiBEAiBEAiBDyNAgt8qBn66IKHwWcUh9MT7YceQ7YRACIRACIRACJDkXdbCYLMg0bcjT/y6RuvsLUZ0UsSYUwuBEAiBEAiBEPhAAiT6WojctVe/tvnGr2v2FiTE+IH4s6UQCIEQCIEQCAEnQNK/K0Su30zINn5T8uS3Ixef5r9bV/HJzuU6tsgQCIEQCIEQCIEPIeCJvisM7mz+bckT347IF9+MIO/8W5EivOrjch1bZAiEQAiEQAiEwAcSIOm7lD7dFBWSfmt81578dHbhld3ltRkRAiEQAiEQAiHw6QS8COgKBWwUI2qju3TdxzB/JcVY/blCIARCIARCIAROToCCYFU41L5ahKgfWx27agu9+rlcxxYZAiEQAiEQAiFwIgIUAy6l/9QttKxV9RNhz1ZDIARCIARCIAScAMWBy58qRnwNxUDb44keAiEQAiEQAiFwcgIUCBQkwoH+KonPk6PO9kMgBEIgBEIgBDoCFCPS8ZyHAAABCUlEQVTqQ6cIwUb7qGQ+6+KfdmQIhEAIhEAIhEAIPBCgYHB5tAjxuVqgth8WjSEEQiAEQiAEQiAEnADFAzbanXSb65qrdrXhk35vRw+BEAiBEAiBEAiBkQBFhQagd7Kz4ZQ+2pEhEAIhEAIhEAIh8C0CXlxM+rcWyOQQCIEQCIEQCIEQeAUBL1Re4S8+QiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEzkbg/weHhyJVF3c2ogAAAABJRU5ErkJggg=="})," ")," "),twitter:(0,a.createElement)("svg",{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M14 1.18378C13.4848 1.38455 12.9313 1.52024 12.3503 1.58129C12.9434 1.26885 13.3988 0.774108 13.6132 0.184623C13.0494 0.478685 12.4326 0.685871 11.7893 0.797228C11.2654 0.306615 10.5189 0 9.69276 0C8.10649 0 6.82041 1.13033 6.82041 2.52444C6.82041 2.72233 6.84584 2.91498 6.89478 3.0998C4.50767 2.99448 2.39127 1.98946 0.974586 0.462109C0.727398 0.83496 0.585758 1.26866 0.585758 1.73125C0.585758 2.60712 1.09288 3.37978 1.86353 3.83252C1.40741 3.81996 0.961324 3.71168 0.562516 3.51672C0.562352 3.5273 0.562352 3.53787 0.562352 3.54849C0.562352 4.77164 1.55241 5.79199 2.86634 6.02391C2.44338 6.12501 1.99972 6.13981 1.56926 6.06717C1.93473 7.07012 2.99551 7.79996 4.25234 7.82039C3.26933 8.49745 2.03082 8.90106 0.68518 8.90106C0.453305 8.90106 0.224711 8.88909 0 8.86578C1.2711 9.58206 2.78086 10 4.40289 10C9.68609 10 12.5751 6.15321 12.5751 2.81721C12.5751 2.70772 12.5723 2.59885 12.5668 2.4906C13.1291 2.13332 13.6144 1.69079 14 1.18378Z",fill:"#59CAFC"})),angleLeft:(0,a.createElement)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M11.115 15.885L4.245 9L11.115 2.115L9 0L0 9L9 18L11.115 15.885Z",fill:"black"})),angleRight:(0,a.createElement)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M0.000232837 15.885L6.87023 9L0.000232837 2.115L2.11523 0L11.1152 9L2.11523 18L0.000232837 15.885Z",fill:"black"})),sync:(0,a.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M4.5835 7.33332L8.25016 11H5.50016C5.50016 14.0342 7.966 16.5 11.0002 16.5C11.926 16.5 12.806 16.2708 13.5668 15.8583L14.9052 17.1967C13.7777 17.9117 12.4393 18.3333 11.0002 18.3333C6.9485 18.3333 3.66683 15.0517 3.66683 11H0.916832L4.5835 7.33332ZM16.5002 11C16.5002 7.96582 14.0343 5.49999 11.0002 5.49999C10.0743 5.49999 9.19433 5.72916 8.4335 6.14166L7.09516 4.80332C8.22266 4.08832 9.561 3.66666 11.0002 3.66666C15.0518 3.66666 18.3335 6.94832 18.3335 11H21.0835L17.4168 14.6667L13.7502 11H16.5002Z",fill:"#6B7280"})),angleUP:(0,a.createElement)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M4.47171 0.204743L0.220381 4.1544C-0.0734605 4.4274 -0.0734605 4.86883 0.220381 5.13892L0.926852 5.79526C1.22069 6.06825 1.69584 6.06825 1.98656 5.79526L5 2.99564L8.01344 5.79526C8.30728 6.06825 8.78243 6.06825 9.07315 5.79526L9.77962 5.13892C10.0735 4.86592 10.0735 4.42449 9.77962 4.1544L5.52829 0.204743C5.2407 -0.0682478 4.76555 -0.0682478 4.47171 0.204743Z",fill:"#3B3F5C"})),angleDown:(0,a.createElement)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,a.createElement)("path",{d:"M4.47171 5.79526L0.220381 1.8456C-0.0734605 1.5726 -0.0734605 1.13117 0.220381 0.861084L0.926852 0.204743C1.22069 -0.0682478 1.69584 -0.0682478 1.98656 0.204743L5 3.00436L8.01344 0.204743C8.30728 -0.0682478 8.78243 -0.0682478 9.07315 0.204743L9.77962 0.861084C10.0735 1.13408 10.0735 1.57551 9.77962 1.8456L5.52829 5.79526C5.2407 6.06825 4.76555 6.06825 4.47171 5.79526Z",fill:"#3B3F5C"})," "),arrowRight:(0,a.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000488281 4.50001C-0.000488281 4.3674 0.0521901 4.24022 0.145958 4.14645C0.239726 4.05268 0.366903 4.00001 0.499512 4.00001H12.2925L9.14551 0.854006C9.05162 0.760119 8.99888 0.632782 8.99888 0.500006C8.99888 0.36723 9.05162 0.239893 9.14551 0.146006C9.2394 0.0521192 9.36674 -0.000625607 9.49951 -0.00062561C9.63229 -0.000625613 9.75963 0.0521192 9.85351 0.146006L13.8535 4.14601C13.9001 4.19245 13.937 4.24763 13.9622 4.30837C13.9874 4.36912 14.0004 4.43424 14.0004 4.50001C14.0004 4.56577 13.9874 4.63089 13.9622 4.69164C13.937 4.75238 13.9001 4.80756 13.8535 4.85401L9.85351 8.85401C9.75963 8.94789 9.63229 9.00064 9.49951 9.00064C9.36674 9.00064 9.2394 8.94789 9.14551 8.85401C9.05162 8.76012 8.99888 8.63278 8.99888 8.50001C8.99888 8.36723 9.05162 8.23989 9.14551 8.14601L12.2925 5.00001H0.499512C0.366903 5.00001 0.239726 4.94733 0.145958 4.85356C0.0521901 4.75979 -0.000488281 4.63261 -0.000488281 4.50001V4.50001Z",fill:"white"})," "),arrowRightDisabled:(0,a.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000488281 4.50001C-0.000488281 4.3674 0.0521901 4.24022 0.145958 4.14645C0.239726 4.05268 0.366903 4.00001 0.499512 4.00001H12.2925L9.14551 0.854006C9.05162 0.760119 8.99888 0.632782 8.99888 0.500006C8.99888 0.36723 9.05162 0.239893 9.14551 0.146006C9.2394 0.0521192 9.36674 -0.000625607 9.49951 -0.00062561C9.63229 -0.000625613 9.75963 0.0521192 9.85351 0.146006L13.8535 4.14601C13.9001 4.19245 13.937 4.24763 13.9622 4.30837C13.9874 4.36912 14.0004 4.43424 14.0004 4.50001C14.0004 4.56577 13.9874 4.63089 13.9622 4.69164C13.937 4.75238 13.9001 4.80756 13.8535 4.85401L9.85351 8.85401C9.75963 8.94789 9.63229 9.00064 9.49951 9.00064C9.36674 9.00064 9.2394 8.94789 9.14551 8.85401C9.05162 8.76012 8.99888 8.63278 8.99888 8.50001C8.99888 8.36723 9.05162 8.23989 9.14551 8.14601L12.2925 5.00001H0.499512C0.366903 5.00001 0.239726 4.94733 0.145958 4.85356C0.0521901 4.75979 -0.000488281 4.63261 -0.000488281 4.50001V4.50001Z",fill:"white"})," "),questionMarkNoFill:(0,a.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,a.createElement)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"#09090B",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("path",{d:"M9.08984 9C9.32495 8.33167 9.789 7.7681 10.3998 7.40913C11.0106 7.05016 11.7287 6.91894 12.427 7.03871C13.1253 7.15848 13.7587 7.52152 14.2149 8.06353C14.6712 8.60553 14.9209 9.29152 14.9198 10C14.9198 12 11.9198 13 11.9198 13",stroke:"#09090B",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("path",{d:"M12 17H12.01",stroke:"#09090B",strokeLinecap:"round",strokeLinejoin:"round"})," "),questionMark:(0,a.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,a.createElement)("path",{d:"M8 0C3.58214 0 0 3.58214 0 8C0 12.4179 3.58214 16 8 16C12.4179 16 16 12.4179 16 8C16 3.58214 12.4179 0 8 0ZM8 12.6429C7.60536 12.6429 7.28571 12.3232 7.28571 11.9286C7.28571 11.5339 7.60536 11.2143 8 11.2143C8.39464 11.2143 8.71429 11.5339 8.71429 11.9286C8.71429 12.3232 8.39464 12.6429 8 12.6429ZM9.12321 8.72322C8.9615 8.78566 8.82235 8.8954 8.72392 9.0381C8.62549 9.18081 8.57235 9.34986 8.57143 9.52321V9.92857C8.57143 10.0071 8.50714 10.0714 8.42857 10.0714H7.57143C7.49286 10.0714 7.42857 10.0071 7.42857 9.92857V9.54464C7.42857 9.13214 7.54821 8.725 7.78393 8.38571C8.01429 8.05357 8.33571 7.8 8.71429 7.65536C9.32143 7.42143 9.71429 6.9125 9.71429 6.35714C9.71429 5.56964 8.94464 4.92857 8 4.92857C7.05536 4.92857 6.28571 5.56964 6.28571 6.35714V6.49286C6.28571 6.57143 6.22143 6.63571 6.14286 6.63571H5.28571C5.20714 6.63571 5.14286 6.57143 5.14286 6.49286V6.35714C5.14286 5.65536 5.45 5 6.00714 4.5125C6.54286 4.04286 7.25 3.78571 8 3.78571C8.75 3.78571 9.45714 4.04464 9.99286 4.5125C10.55 5 10.8571 5.65536 10.8571 6.35714C10.8571 7.38929 10.1768 8.31786 9.12321 8.72322Z",fill:"#3B3F5C"})," "),favorite:(0,a.createElement)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),arrowRightBold:(0,a.createElement)("svg",{width:"51",height:"44",viewBox:"0 0 51 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 22C0 21.1712 0.329241 20.3763 0.915292 19.7903C1.50134 19.2042 2.2962 18.875 3.125 18.875H39.3313L25.9125 5.46248C25.3257 4.87569 24.9961 4.07983 24.9961 3.24998C24.9961 2.42013 25.3257 1.62427 25.9125 1.03748C26.4993 0.450689 27.2952 0.121033 28.125 0.121033C28.9548 0.121033 29.7507 0.450689 30.3375 1.03748L49.0875 19.7875C49.3785 20.0778 49.6094 20.4226 49.767 20.8023C49.9245 21.1819 50.0056 21.5889 50.0056 22C50.0056 22.411 49.9245 22.818 49.767 23.1977C49.6094 23.5773 49.3785 23.9222 49.0875 24.2125L30.3375 42.9625C29.7507 43.5493 28.9548 43.8789 28.125 43.8789C27.2952 43.8789 26.4993 43.5493 25.9125 42.9625C25.3257 42.3757 24.9961 41.5798 24.9961 40.75C24.9961 39.9201 25.3257 39.1243 25.9125 38.5375L39.3313 25.125H3.125C2.2962 25.125 1.50134 24.7957 0.915292 24.2097C0.329241 23.6236 0 22.8288 0 22Z",fill:"black"})),spinner:(0,a.createElement)("svg",{width:"16px",height:"16px",viewBox:"0 0 1024 1024",className:"icon",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{fill:"black",d:"M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"})),cross:(0,a.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),reset:(0,a.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M1.76219 1.7625C2.84969 0.675 4.34219 0 5.99969 0C9.31469 0 11.9922 2.685 11.9922 6C11.9922 9.315 9.31469 12 5.99969 12C3.20219 12 0.869689 10.0875 0.202188 7.5H1.76219C2.37719 9.2475 4.04219 10.5 5.99969 10.5C8.48219 10.5 10.4997 8.4825 10.4997 6C10.4997 3.5175 8.48219 1.5 5.99969 1.5C4.75469 1.5 3.64469 2.0175 2.83469 2.835L5.24969 5.25H-0.000311852V0L1.76219 1.7625Z",fill:"#6B7280"})),remove:(0,a.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),premiumIcon:(0,a.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("g",{clipPath:"url(#clip0_26119_59306)"},(0,a.createElement)("path",{d:"M18 9C18 4.02944 13.9706 0 9 0C4.02944 0 0 4.02944 0 9C0 13.9706 4.02944 18 9 18C13.9706 18 18 13.9706 18 9Z",fill:"url(#paint0_linear_26119_59306)"}),(0,a.createElement)("path",{d:"M13.7502 5.84406C13.652 5.75804 13.5327 5.70272 13.406 5.6844C13.2793 5.66609 13.1503 5.68552 13.0336 5.74048L10.8624 6.75372L9.60092 4.36699C9.54062 4.25556 9.45327 4.1629 9.34774 4.09843C9.24222 4.03396 9.1223 4 9.0002 4C8.8781 4 8.75819 4.03396 8.65266 4.09843C8.54714 4.1629 8.45978 4.25556 8.39949 4.36699L7.13798 6.75372L4.96682 5.74048C4.8499 5.6856 4.72068 5.66614 4.59377 5.68431C4.46686 5.70247 4.34733 5.75753 4.24867 5.84326C4.15002 5.929 4.07619 6.04198 4.03552 6.16945C3.99486 6.29692 3.98898 6.43379 4.01855 6.56458L5.10842 11.4416C5.12926 11.536 5.16815 11.625 5.22273 11.7032C5.27731 11.7814 5.34644 11.8471 5.42594 11.8964C5.53358 11.964 5.65664 11.9998 5.78208 12C5.84306 11.9999 6 12 6 12C6 12 9.96618 12 12 12C12.1992 12 12.4081 11.9955 12.5702 11.8964C12.6502 11.8477 12.7197 11.7822 12.7743 11.7039C12.829 11.6256 12.8676 11.5363 12.8877 11.4416L13.9819 6.56458C14.0111 6.43375 14.0049 6.29695 13.964 6.16963C13.923 6.0423 13.849 5.92953 13.7502 5.84406Z",fill:"white"}),(0,a.createElement)("path",{d:"M12.5 13H5.5C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14H12.5C12.7761 14 13 13.7761 13 13.5C13 13.2239 12.7761 13 12.5 13Z",fill:"white"})),(0,a.createElement)("defs",null,(0,a.createElement)("linearGradient",{id:"paint0_linear_26119_59306",x1:"8.175",y1:"1.18801e-05",x2:"22.2753",y2:"0.536807",gradientUnits:"userSpaceOnUse"},(0,a.createElement)("stop",{stopColor:"#492CDD"}),(0,a.createElement)("stop",{offset:"1",stopColor:"#AD38E2"})),(0,a.createElement)("clipPath",{id:"clip0_26119_59306"},(0,a.createElement)("rect",{width:"18",height:"18",fill:"white"})))),signatureIcon:(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 27 27",fill:"none"},(0,a.createElement)("circle",{cx:"13.5",cy:"13.5",r:"13.5",fill:"url(#paint0_linear_6_4)"}),(0,a.createElement)("mask",{id:"mask0_6_4",maskUnits:"userSpaceOnUse",x:"8",y:"13",width:"6",height:"9"},(0,a.createElement)("path",{d:"M8.45253 13.1124L13.1737 21.9088V13.1124H8.45253Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask0_6_4)"},(0,a.createElement)("path",{d:"M13.1737 13.1124H8.45253V21.9088H13.1737V13.1124Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask1_6_4",maskUnits:"userSpaceOnUse",x:"4",y:"13",width:"9",height:"9"},(0,a.createElement)("path",{d:"M4.51796 13.1124L12.0278 21.1529L7.71256 13.1124H4.51796Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask1_6_4)"},(0,a.createElement)("path",{d:"M12.0278 13.1124H4.51796V21.1529H12.0278V13.1124Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask2_6_4",maskUnits:"userSpaceOnUse",x:"4",y:"8",width:"6",height:"5"},(0,a.createElement)("path",{d:"M9.45087 8.64623H7.93509L4.50002 12.4588H7.69907L9.45087 8.64623Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask2_6_4)"},(0,a.createElement)("path",{d:"M9.45087 8.64623H4.50002V12.4588H9.45087V8.64623Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask3_6_4",maskUnits:"userSpaceOnUse",x:"8",y:"8",width:"6",height:"5"},(0,a.createElement)("path",{d:"M13.1735 8.64622H10.1671L8.41516 12.4588H13.1735V8.64622Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask3_6_4)"},(0,a.createElement)("path",{d:"M13.1735 8.64622H8.41516V12.4588H13.1735V8.64622Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask4_6_4",maskUnits:"userSpaceOnUse",x:"13",y:"13",width:"6",height:"9"},(0,a.createElement)("path",{d:"M13.8267 21.9088L18.5476 13.1124H13.8267V21.9088Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask4_6_4)"},(0,a.createElement)("path",{d:"M18.5475 13.1124H13.8267V21.9088H18.5475V13.1124Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask5_6_4",maskUnits:"userSpaceOnUse",x:"14",y:"13",width:"9",height:"9"},(0,a.createElement)("path",{d:"M19.288 13.1124L14.9725 21.1529L22.4822 13.1124H19.288Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask5_6_4)"},(0,a.createElement)("path",{d:"M22.482 13.1124H14.9725V21.1529H22.482V13.1124Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask6_6_4",maskUnits:"userSpaceOnUse",x:"13",y:"8",width:"6",height:"5"},(0,a.createElement)("path",{d:"M18.5848 12.4588L16.8328 8.64622H13.8267V12.4588H18.5848Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask6_6_4)"},(0,a.createElement)("path",{d:"M18.5848 8.64622H13.8267V12.4588H18.5848V8.64622Z",fill:"white"})),(0,a.createElement)("mask",{id:"mask7_6_4",maskUnits:"userSpaceOnUse",x:"17",y:"8",width:"6",height:"5"},(0,a.createElement)("path",{d:"M17.5496 8.64622L19.3012 12.4588H22.5002L19.0655 8.64622H17.5496Z",fill:"white"})),(0,a.createElement)("g",{mask:"url(#mask7_6_4)"},(0,a.createElement)("path",{d:"M22.5002 8.64622H17.5496V12.4588H22.5002V8.64622Z",fill:"white"})),(0,a.createElement)("defs",null,(0,a.createElement)("linearGradient",{id:"paint0_linear_6_4",x1:"25.5",y1:"1.875",x2:"-1.125",y2:"24",gradientUnits:"userSpaceOnUse"},(0,a.createElement)("stop",{"stop-color":"#AD38E2"}),(0,a.createElement)("stop",{offset:"1","stop-color":"#492CDD"})))),reloadIcon:(0,a.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M17.5 1.6665V6.6665H12.5",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("path",{d:"M2.5 10C2.50132 8.55277 2.92133 7.13682 3.70938 5.92295C4.49743 4.70909 5.61985 3.74914 6.94126 3.15891C8.26267 2.56868 9.72662 2.37338 11.1566 2.59655C12.5865 2.81973 13.9213 3.45185 15 4.41667L17.5 6.66667",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("path",{d:"M2.5 18.3335V13.3335H7.5",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("path",{d:"M17.5 10C17.4987 11.4472 17.0787 12.8632 16.2906 14.0771C15.5026 15.2909 14.3802 16.2509 13.0587 16.8411C11.7373 17.4313 10.2734 17.6266 8.84345 17.4035C7.41352 17.1803 6.07871 16.5482 5 15.5833L2.5 13.3333",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),options:(0,a.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M5.80488 1.70732C6.08775 1.70732 6.31707 1.93664 6.31707 2.21951V7.68293H11.7805C12.0398 7.68293 12.2541 7.87565 12.288 8.1256L12.2927 8.19512C12.2927 11.5897 9.5409 14 6.14634 14C2.75181 14 0 11.2482 0 7.85366C0 4.45913 2.41035 1.70732 5.80488 1.70732ZM7.85366 0C11.2482 0 14 2.75181 14 6.14634C14 6.42921 13.7707 6.65854 13.4878 6.65854H7.85366C7.57079 6.65854 7.34146 6.42921 7.34146 6.14634V0.512195C7.34146 0.22932 7.57079 0 7.85366 0Z",fill:"#6B7280"}))};function ds(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=ds(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const fs=function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=ds(e))&&(n&&(n+=" "),n+=t);return n};function hs(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},a=function(e,t){return t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e}(Object.entries(e.classGroups),r);return a.forEach((([e,r])=>{ys(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),ms(r,t)||function(e){if(gs.test(e)){const t=gs.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const a=r[e]||[];return t&&n[e]?[...a,...n[e]]:a}}}function ms(e,t){if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?ms(e.slice(1),n):void 0;if(a)return a;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const gs=/^\[(.+)\]$/;function ys(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void ys(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{ys(a,vs(t,e),r,n)}))}else(""===e?t:vs(t,e)).classGroupId=r}))}function vs(e,t){let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function bs(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function a(a,i){r.set(a,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(a(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):a(e,t)}}}function xs(e){const t=e.separator,r=1===t.length,n=t[0],a=t.length;return function(e){const i=[];let s,o=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===o){if(u===n&&(r||e.slice(c,c+a)===t)){i.push(e.slice(l,c)),l=c+a;continue}if("/"===u){s=c;continue}}"["===u?o++:"]"===u&&o--}const c=0===i.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:i,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:s&&s>l?s-l:void 0}}}const ws=/\s+/;function Es(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=ks(e))&&(n&&(n+=" "),n+=t);return n}function ks(e){if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ks(e[n]))&&(r&&(r+=" "),r+=t);return r}function Ss(e,...t){let r,n,a,i=function(o){const l=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:bs(e.cacheSize),splitModifiers:xs(e),...hs(e)}}(l),n=r.cache.get,a=r.cache.set,i=s,s(o)};function s(e){const t=n(e);if(t)return t;const i=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,i=new Set;return e.trim().split(ws).map((e=>{const{modifiers:t,hasImportantModifier:a,baseClassName:i,maybePostfixModifierPosition:s}=r(e);let o=n(s?i.substring(0,s):i),l=Boolean(s);if(!o){if(!s)return{isTailwindClass:!1,originalClassName:e};if(o=n(i),!o)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:a?c+"!":c,classGroupId:o,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,s=t+r;return!i.has(s)&&(i.add(s),a(r,n).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return a(e,i),i}return function(){return i(Es.apply(null,arguments))}}function Cs(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const As=/^\[(?:([a-z-]+):)?(.+)\]$/i,_s=/^\d+\/\d+$/,Ps=new Set(["px","full","screen"]),Ts=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Is=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ms=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ds=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Rs(e){return Os(e)||Ps.has(e)||_s.test(e)}function Ls(e){return $s(e,"length",Js)}function Os(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Vs(e){return $s(e,"number",Os)}function Ns(e){return Boolean(e)&&Number.isInteger(Number(e))}function Bs(e){return e.endsWith("%")&&Os(e.slice(0,-1))}function js(e){return As.test(e)}function zs(e){return Ts.test(e)}const Hs=new Set(["length","size","percentage"]);function Gs(e){return $s(e,Hs,Zs)}function Ws(e){return $s(e,"position",Zs)}const qs=new Set(["image","url"]);function Us(e){return $s(e,qs,Ks)}function Xs(e){return $s(e,"",Ys)}function Qs(){return!0}function $s(e,t,r){const n=As.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Js(e){return Is.test(e)&&!Fs.test(e)}function Zs(){return!1}function Ys(e){return Ms.test(e)}function Ks(e){return Ds.test(e)}function eo(){const e=Cs("colors"),t=Cs("spacing"),r=Cs("blur"),n=Cs("brightness"),a=Cs("borderColor"),i=Cs("borderRadius"),s=Cs("borderSpacing"),o=Cs("borderWidth"),l=Cs("contrast"),c=Cs("grayscale"),u=Cs("hueRotate"),p=Cs("invert"),d=Cs("gap"),f=Cs("gradientColorStops"),h=Cs("gradientColorStopPositions"),m=Cs("inset"),g=Cs("margin"),y=Cs("opacity"),v=Cs("padding"),b=Cs("saturate"),x=Cs("scale"),w=Cs("sepia"),E=Cs("skew"),k=Cs("space"),S=Cs("translate"),C=()=>["auto",js,t],A=()=>[js,t],_=()=>["",Rs,Ls],P=()=>["auto",Os,js],T=()=>["","0",js],I=()=>[Os,Vs],F=()=>[Os,js];return{cacheSize:500,separator:":",theme:{colors:[Qs],spacing:[Rs,Ls],blur:["none","",zs,js],brightness:I(),borderColor:[e],borderRadius:["none","","full",zs,js],borderSpacing:A(),borderWidth:_(),contrast:I(),grayscale:T(),hueRotate:F(),invert:T(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[Bs,Ls],inset:C(),margin:C(),opacity:I(),padding:A(),saturate:I(),scale:I(),sepia:T(),skew:F(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",js]}],container:["container"],columns:[{columns:[zs]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",js]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ns,js]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",js]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",Ns,js]}],"grid-cols":[{"grid-cols":[Qs]}],"col-start-end":[{col:["auto",{span:["full",Ns,js]},js]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[Qs]}],"row-start-end":[{row:["auto",{span:[Ns,js]},js]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",js]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",js]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",js,t]}],"min-w":[{"min-w":[js,t,"min","max","fit"]}],"max-w":[{"max-w":[js,t,"none","full","min","max","fit","prose",{screen:[zs]},zs]}],h:[{h:[js,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[js,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[js,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[js,t,"auto","min","max","fit"]}],"font-size":[{text:["base",zs,Ls]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Vs]}],"font-family":[{font:[Qs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",js]}],"line-clamp":[{"line-clamp":["none",Os,Vs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Rs,js]}],"list-image":[{"list-image":["none",js]}],"list-style-type":[{list:["none","disc","decimal",js]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Rs,Ls]}],"underline-offset":[{"underline-offset":["auto",Rs,js]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",js]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",js]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Ws]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gs]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Us]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Rs,js]}],"outline-w":[{outline:[Rs,Ls]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Rs,Ls]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",zs,Xs]}],"shadow-color":[{shadow:[Qs]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",zs,js]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[b]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",js]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",js]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",js]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Ns,js]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",js]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",js]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",js]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Rs,Ls,Vs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}Symbol.toStringTag;const to=Ss(eo);var ro,no,ao,io,so,oo,lo,co,uo,po,fo,ho,mo,go,yo,vo;function bo(){return bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bo.apply(null,arguments)}var xo=function(e){return a.createElement("svg",bo({xmlns:"http://www.w3.org/2000/svg",width:18,height:13.2,fill:"none",viewBox:"0 0 173 127"},e),a.createElement("mask",{id:"black-diamond_svg__a",width:46,height:85,x:38,y:42,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},ro||(ro=a.createElement("path",{fill:"#fff",d:"m38.461 42.807 45.054 83.944V42.807z"}))),no||(no=a.createElement("g",{mask:"url(#black-diamond_svg__a)"},a.createElement("path",{fill:"#000",d:"M83.515 42.807H38.461v83.944h45.054z"}))),a.createElement("mask",{id:"black-diamond_svg__b",width:73,height:78,x:0,y:42,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},ao||(ao=a.createElement("path",{fill:"#fff",d:"m.913 42.807 71.667 76.73-41.18-76.73z"}))),io||(io=a.createElement("g",{mask:"url(#black-diamond_svg__b)"},a.createElement("path",{fill:"#000",d:"M72.58 42.807H.913v76.73H72.58z"}))),a.createElement("mask",{id:"black-diamond_svg__c",width:48,height:37,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},so||(so=a.createElement("path",{fill:"#fff",d:"M47.99.188H33.525L.745 36.57h30.528z"}))),oo||(oo=a.createElement("g",{mask:"url(#black-diamond_svg__c)"},a.createElement("path",{fill:"#000",d:"M47.99.188H.745V36.57H47.99z"}))),a.createElement("mask",{id:"black-diamond_svg__d",width:46,height:37,x:38,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},lo||(lo=a.createElement("path",{fill:"#fff",d:"M83.516.188h-28.69L38.109 36.57h45.408z"}))),co||(co=a.createElement("g",{mask:"url(#black-diamond_svg__d)"},a.createElement("path",{fill:"#000",d:"M83.516.188H38.108V36.57h45.408z"}))),a.createElement("mask",{id:"black-diamond_svg__e",width:46,height:85,x:89,y:42,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},uo||(uo=a.createElement("path",{fill:"#fff",d:"m89.75 126.751 45.053-83.944H89.75z"}))),po||(po=a.createElement("g",{mask:"url(#black-diamond_svg__e)"},a.createElement("path",{fill:"#000",d:"M134.801 42.807h-45.05v83.944h45.05z"}))),a.createElement("mask",{id:"black-diamond_svg__f",width:73,height:78,x:100,y:42,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},fo||(fo=a.createElement("path",{fill:"#fff",d:"m141.866 42.807-41.182 76.73 71.665-76.73z"}))),ho||(ho=a.createElement("g",{mask:"url(#black-diamond_svg__f)"},a.createElement("path",{fill:"#000",d:"M172.347 42.807h-71.663v76.73h71.663z"}))),a.createElement("mask",{id:"black-diamond_svg__g",width:47,height:37,x:89,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},mo||(mo=a.createElement("path",{fill:"#fff",d:"M135.157 36.57 118.438.189H89.75V36.57z"}))),go||(go=a.createElement("g",{mask:"url(#black-diamond_svg__g)"},a.createElement("path",{fill:"#000",d:"M135.157.188H89.75V36.57h45.407z"}))),a.createElement("mask",{id:"black-diamond_svg__h",width:48,height:37,x:125,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},yo||(yo=a.createElement("path",{fill:"#fff",d:"m125.275.188 16.716 36.383h30.528L139.742.188z"}))),vo||(vo=a.createElement("g",{mask:"url(#black-diamond_svg__h)"},a.createElement("path",{fill:"#000",d:"M172.519.188h-47.244V36.57h47.244z"}))))};const wo=()=>!!astraSitesVars?.isWhiteLabeled,Eo=e=>{const t=document.getElementById("astra-starter-templates-preview");t&&t.contentWindow.postMessage({call:"starterTemplatePreviewDispatch",value:e},"*")},ko=(e,t)=>{const r=new Image;r.onload=function(){const e=document.createElement("canvas");e.width=this.naturalWidth,e.height=this.naturalHeight,e.getContext("2d").drawImage(this,0,0),t(e.toDataURL("image/png"))},r.src=e},So=e=>{try{localStorage.setItem("starter-templates-onboarding",JSON.stringify(e))}catch(e){return!1}},Co=e=>{let t=e["thumbnail-image-url"]||"";""===t&&!1===wo()&&(t="fse"===astraSitesVars?.default_page_builder?`${starterTemplates.imageDir}spectra-placeholder.png`:`${starterTemplates.imageDir}placeholder.png`);let r="",n="free";return"signature"===e["astra-sites-type"]?(r=(0,a.createElement)(a.Fragment,null,(0,a.createElement)(xo,null)," ",(0,wn.__)("Signature","astra-sites")),n="signature"):"free"!==e["astra-sites-type"]&&(r=(0,a.createElement)(a.Fragment,null,(0,wn.__)("Premium","astra-sites")),n="premium"),{id:e.id,image:t,title:(0,xn.decodeEntities)(e.title),type:n,badge:r,...e}},Ao=(...e)=>to(fs(e)),_o=(e,t,r)=>{let n;return(...a)=>{const i=r&&!n;clearTimeout(n),n=setTimeout((()=>{n=null,r||e(...a)}),t),i&&e(...a)}},Po=(e="")=>ZI.findIndex((t=>t.name===e));var To=r(8168);function Io(e){return Io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Io(e)}function Fo(e,t,r){return(t=function(e){var t=function(e){if("object"!=Io(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Io(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Io(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Do(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mo(Object(r),!0).forEach((function(t){Fo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ro=r(8587);var Lo=r(6942),Oo=r.n(Lo),Vo={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},No=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"];const Bo=function(e){var t=Do(Do({},Vo),e),r=t.className,n=t.percent,i=t.prefixCls,s=t.strokeColor,o=t.strokeLinecap,l=t.strokeWidth,c=t.style,u=t.trailColor,p=t.trailWidth,d=t.transition,f=function(e,t){if(null==e)return{};var r,n,a=(0,Ro.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(t,No);delete f.gapPosition;var h,m,g=Array.isArray(n)?n:[n],y=Array.isArray(s)?s:[s],v=(h=(0,a.useRef)([]),m=(0,a.useRef)(null),(0,a.useEffect)((function(){var e=Date.now(),t=!1;h.current.forEach((function(r){if(r){t=!0;var n=r.style;n.transitionDuration=".3s, .3s, .3s, .06s",m.current&&e-m.current<100&&(n.transitionDuration="0s, 0s")}})),t&&(m.current=Date.now())})),h.current),b=l/2,x=100-l/2,w="M ".concat("round"===o?b:0,",").concat(b,"\n L ").concat("round"===o?x:100,",").concat(b),E="0 0 100 ".concat(l),k=0;return a.createElement("svg",(0,To.A)({className:Oo()("".concat(i,"-line"),r),viewBox:E,preserveAspectRatio:"none",style:c},f),a.createElement("path",{className:"".concat(i,"-line-trail"),d:w,strokeLinecap:o,stroke:u,strokeWidth:p||l,fillOpacity:"0"}),g.map((function(e,t){var r=1;switch(o){case"round":r=1-l/100;break;case"square":r=1-l/2/100;break;default:r=1}var n={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(k,"px"),transition:d||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},s=y[t]||y[y.length-1];return k+=e,a.createElement("path",{key:t,className:"".concat(i,"-line-path"),d:w,strokeLinecap:o,stroke:s,strokeWidth:l,fillOpacity:"0",ref:function(e){v[t]=e},style:n})})))};"undefined"==typeof window||!window.document||window.document.createElement;const jo=({open:e=!1})=>{const[{syncPageCount:t,syncPageInProgress:r}]=cs(),n=()=>t>0?r/t*100:0,[i,s]=(0,a.useState)(n());return(0,a.useEffect)((()=>{r>0&&s(n())}),[r]),(0,a.createElement)("div",{className:Ao("w-full absolute hidden h-screen top-0 left-0 bg-st-background-secondary/80",e&&"flex justify-center items-center")},(0,a.createElement)("div",{className:"bg-white w-[296px] rounded-lg shadow-2xl flex flex-col items-center justify-center -mt-36 p-5"},(0,a.createElement)("div",{className:"flex justify-between"},(0,a.createElement)("p",{className:"!text-base !font-semibold text-nav-active"},(0,wn.__)("Syncing Templates Library…","astra-sites")),(0,a.createElement)("div",{className:"flex items-center justify-center text-blue-500 animate-spin w-[15px] ml-3"},ps.reloadIcon)),(0,a.createElement)("p",{className:"text-sm text-[#4B5563] text-center !mt-1"},(0,wn.__)("Updating the library to include all the latest templates.","astra-sites")),t>0?(0,a.createElement)("div",{className:"progress-bar w-full flex justify-between mt-4"},(0,a.createElement)(Bo,{percent:i,strokeWidth:2,trailWidth:2,trailColor:"#E5E7EB",strokeColor:"#3B82F6"})):""))},zo=({preview:e,content:t,controls:r,actions:n,stepName:i})=>{const[{bgSyncInProgress:s,showSidebar:o,currentIndex:l,sitesSyncing:c},u]=cs();return(0,a.useEffect)((()=>{document.querySelector(".step-content").addEventListener("scroll",(e=>{setTimeout((()=>{1===e.target.classList.length&&localStorage.setItem("st-scroll-position",e.target.scrollTop)}),200)}))}),[]),(0,a.useLayoutEffect)((()=>{const e=document.querySelector(".step-content"),t=localStorage.getItem("st-scroll-position");t&&t>100&&l===Po("site-list")&&1===e.classList.length&&e.scrollTo(0,t)})),(0,a.createElement)("div",{className:`step-row\n\t\t\t\t${e?"":"step-full-width"}\n\t\t\t\t${o?"show-sidebar":"hide-sidebar"}\n\t\t\t`},(0,a.createElement)("div",{className:`step-col ${e?"step-col-left":""} `},(0,a.createElement)("div",{className:"toggle-sidebar-wrap",onClick:()=>{u({type:"set",showSidebar:!o})}},o&&ps.angleLeft,!o&&ps.angleRight),(0,a.createElement)("div",{className:`step-content ${i||""}`,style:{padding:l===Po("site-list")?"5% 6% 6% 6%":""}},(0,a.createElement)("div",{className:`content-wrapper pb-14 sm:pb-0\n\t\t\t\t\t${l===Po("customizer")?"flex flex-col items-start h-full":""}\n\t\t\t\t\t`},t&&t,r&&(0,a.createElement)("div",{className:`step-controls\n\t\t\t\t\t\t\t${l===Po("customizer")?"flex flex-col items-start h-full w-full":""}\n\t\t\t\t\t\t\t`,tabIndex:"1"},r)),(0,a.createElement)(jo,{open:(s||c)&&2===l})),n&&l!==Po("page-builder")&&(0,a.createElement)("div",{className:"step-actions",tabIndex:"1"},n)),e&&(0,a.createElement)("div",{className:"step-col step-col-right"},e))},Ho=window.wp.url,Go=/^(?:[a-z]+:|#|\?|\.|\/)/i;var Wo=r(7437);function qo(e,t,r=void 0){const n={};return Object.keys(e).forEach((a=>{n[a]=e[a].reduce(((e,n)=>{if(n){const a=t(n);""!==a&&e.push(a),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}var Uo=r(5697),Xo=r(6937);function Qo(e){if(e.type)return e;if("#"===e.charAt(0))return Qo(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,Uo.A)(9,e));let n,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),n=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,Uo.A)(10,n))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:n}}function $o(e,t){return e=Qo(e),t=function(e,t=0,r=1){return(0,Xo.A)(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}var Jo=r(6461),Zo=r(4521),Yo=r(4188),Ko=r(3571),el=r(8749);function tl(e,t){return(0,To.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var rl=r(771);const nl={black:"#000",white:"#fff"},al={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},il="#f3e5f5",sl="#ce93d8",ol="#ba68c8",ll="#ab47bc",cl="#9c27b0",ul="#7b1fa2",pl="#e57373",dl="#ef5350",fl="#f44336",hl="#d32f2f",ml="#c62828",gl="#ffb74d",yl="#ffa726",vl="#ff9800",bl="#f57c00",xl="#e65100",wl="#e3f2fd",El="#90caf9",kl="#42a5f5",Sl="#1976d2",Cl="#1565c0",Al="#4fc3f7",_l="#29b6f6",Pl="#03a9f4",Tl="#0288d1",Il="#01579b",Fl="#81c784",Ml="#66bb6a",Dl="#4caf50",Rl="#388e3c",Ll="#2e7d32",Ol="#1b5e20",Vl=["mode","contrastThreshold","tonalOffset"],Nl={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:nl.white,default:nl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Bl={text:{primary:nl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:nl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function jl(e,t,r,n){const a=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,rl.a)(e.main,a):"dark"===t&&(e.dark=(0,rl.e$)(e.main,i)))}const zl=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Hl={textTransform:"uppercase"},Gl='"Roboto", "Helvetica", "Arial", sans-serif';function Wl(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Gl,fontSize:a=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:o=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:p}=r,d=(0,Ro.A)(r,zl),f=a/14,h=p||(e=>e/c*f+"rem"),m=(e,t,r,a,i)=>{return(0,To.A)({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===Gl?{letterSpacing:(s=a/t,Math.round(1e5*s)/1e5+"em")}:{},i,u);var s},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(o,14,1.75,.4,Hl),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Hl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Zo.A)((0,To.A)({htmlFontSize:c,pxToRem:h,fontFamily:n,fontSize:a,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:o,fontWeightBold:l},g),d,{clone:!1})}function ql(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ul=["none",ql(0,2,1,-1,0,1,1,0,0,1,3,0),ql(0,3,1,-2,0,2,2,0,0,1,5,0),ql(0,3,3,-2,0,3,4,0,0,1,8,0),ql(0,2,4,-1,0,4,5,0,0,1,10,0),ql(0,3,5,-1,0,5,8,0,0,1,14,0),ql(0,3,5,-1,0,6,10,0,0,1,18,0),ql(0,4,5,-2,0,7,10,1,0,2,16,1),ql(0,5,5,-3,0,8,10,1,0,3,14,2),ql(0,5,6,-3,0,9,12,1,0,3,16,2),ql(0,6,6,-3,0,10,14,1,0,4,18,3),ql(0,6,7,-4,0,11,15,1,0,4,20,3),ql(0,7,8,-4,0,12,17,2,0,5,22,4),ql(0,7,8,-4,0,13,19,2,0,5,24,4),ql(0,7,9,-4,0,14,21,2,0,5,26,4),ql(0,8,9,-5,0,15,22,2,0,6,28,5),ql(0,8,10,-5,0,16,24,2,0,6,30,5),ql(0,8,11,-5,0,17,26,2,0,6,32,5),ql(0,9,11,-5,0,18,28,2,0,7,34,6),ql(0,9,12,-6,0,19,29,2,0,7,36,6),ql(0,10,13,-6,0,20,31,3,0,8,38,7),ql(0,10,13,-6,0,21,33,3,0,8,40,7),ql(0,10,14,-6,0,22,35,3,0,8,42,7),ql(0,11,14,-7,0,23,36,3,0,9,44,8),ql(0,11,15,-7,0,24,38,3,0,9,46,8)],Xl=["duration","easing","delay"],Ql={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Jl(e){return`${Math.round(e)}ms`}function Zl(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Yl(e){const t=(0,To.A)({},Ql,e.easing),r=(0,To.A)({},$l,e.duration);return(0,To.A)({getAutoHeightDuration:Zl,create:(e=["all"],n={})=>{const{duration:a=r.standard,easing:i=t.easeInOut,delay:s=0}=n;return(0,Ro.A)(n,Xl),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:Jl(a)} ${i} ${"string"==typeof s?s:Jl(s)}`)).join(",")}},e,{easing:t,duration:r})}const Kl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ec=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const tc=function(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:i={}}=e,s=(0,Ro.A)(e,ec);if(e.vars)throw new Error((0,Uo.A)(18));const o=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=(0,Ro.A)(e,Vl),i=e.primary||function(e="light"){return"dark"===e?{main:El,light:wl,dark:kl}:{main:Sl,light:kl,dark:Cl}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:sl,light:il,dark:ll}:{main:cl,light:ol,dark:ul}}(t),o=e.error||function(e="light"){return"dark"===e?{main:fl,light:pl,dark:hl}:{main:hl,light:dl,dark:ml}}(t),l=e.info||function(e="light"){return"dark"===e?{main:_l,light:Al,dark:Tl}:{main:Tl,light:Pl,dark:Il}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Ml,light:Fl,dark:Rl}:{main:Ll,light:Dl,dark:Ol}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:yl,light:gl,dark:bl}:{main:"#ed6c02",light:vl,dark:xl}}(t);function p(e){return(0,rl.eM)(e,Bl.text.primary)>=r?Bl.text.primary:Nl.text.primary}const d=({color:e,name:t,mainShade:r=500,lightShade:a=300,darkShade:i=700})=>{if(!(e=(0,To.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,Uo.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,Uo.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return jl(e,"light",a,n),jl(e,"dark",i,n),e.contrastText||(e.contrastText=p(e.main)),e},f={dark:Bl,light:Nl};return(0,Zo.A)((0,To.A)({common:(0,To.A)({},nl),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:o,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:al,contrastThreshold:r,getContrastText:p,augmentColor:d,tonalOffset:n},f[t]),a)}(n),l=(0,el.A)(e);let c=(0,Zo.A)(l,{mixins:tl(l.breakpoints,r),palette:o,shadows:Ul.slice(),typography:Wl(o,i),transitions:Yl(a),zIndex:(0,To.A)({},Kl)});return c=(0,Zo.A)(c,s),c=t.reduce(((e,t)=>(0,Zo.A)(e,t)),c),c.unstable_sxConfig=(0,To.A)({},Yo.A,null==s?void 0:s.unstable_sxConfig),c.unstable_sx=function(e){return(0,Ko.A)({sx:e,theme:this})},c},rc=tc(),nc="$$material",ac=(0,Jo.Ay)({themeId:nc,defaultTheme:rc,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e});function ic(e,t){const r=(0,To.A)({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,To.A)({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const a=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?a&&Object.keys(a)?(r[n]=(0,To.A)({},i),Object.keys(a).forEach((e=>{r[n][e]=ic(a[e],i[e])}))):r[n]=i:r[n]=a}else void 0===r[n]&&(r[n]=e[n])})),r}function sc(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?ic(t.components[r].defaultProps,n):n}var oc=r(5684);const lc=(0,el.A)(),cc=function(e=lc){return function(e=null){const t=a.useContext(oc.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}(e)};function uc({props:e,name:t}){return function({props:e,name:t,defaultTheme:r,themeId:n}){let a=cc(r);return n&&(a=a[n]||a),sc({theme:a,name:t,props:e})}({props:e,name:t,defaultTheme:rc,themeId:nc})}const pc=e=>e,dc=(()=>{let e=pc;return{configure(t){e=t},generate:t=>e(t),reset(){e=pc}}})(),fc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function hc(e,t,r="Mui"){const n=fc[t];return n?`${r}-${n}`:`${dc.generate(e)}-${t}`}function mc(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=hc(e,t,r)})),n}function gc(e){return hc("MuiSkeleton",e)}mc("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var yc=r(4848);const vc=["animation","className","component","height","style","variant","width"];let bc,xc,wc,Ec,kc=e=>e;const Sc=(0,Wo.i7)(bc||(bc=kc` 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } `)),Cc=(0,Wo.i7)(xc||(xc=kc` 0% { transform: translateX(-100%); } 50% { /* +0.5s of delay between each loop */ transform: translateX(100%); } 100% { transform: translateX(100%); } `)),Ac=ac("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const r=function(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}(e.shape.borderRadius)||"px",n=(a=e.shape.borderRadius,parseFloat(a));var a;return(0,To.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:$o(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&(0,Wo.AH)(wc||(wc=kc` animation: ${0} 2s ease-in-out 0.5s infinite; `),Sc)),(({ownerState:e,theme:t})=>"wave"===e.animation&&(0,Wo.AH)(Ec||(Ec=kc` position: relative; overflow: hidden; /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ -webkit-mask-image: -webkit-radial-gradient(white, black); &::after { animation: ${0} 2s linear 0.5s infinite; background: linear-gradient( 90deg, transparent, ${0}, transparent ); content: ''; position: absolute; transform: translateX(-100%); /* Avoid flash during server-side hydration */ bottom: 0; left: 0; right: 0; top: 0; } `),Cc,(t.vars||t).palette.action.hover))),_c=a.forwardRef((function(e,t){const r=uc({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:a,component:i="span",height:s,style:o,variant:l="text",width:c}=r,u=(0,Ro.A)(r,vc),p=(0,To.A)({},r,{animation:n,component:i,variant:l,hasChildren:Boolean(u.children)}),d=(e=>{const{classes:t,variant:r,animation:n,hasChildren:a,width:i,height:s}=e;return qo({root:["root",r,n,a&&"withChildren",a&&!i&&"fitContent",a&&!s&&"heightAuto"]},gc,t)})(p);return(0,yc.jsx)(Ac,(0,To.A)({as:i,ref:t,className:fs(d.root,a),ownerState:p},u,{style:(0,To.A)({width:c,height:s},o)}))}));var Pc=r(9452),Tc=r(9599);const Ic=a.createContext();function Fc(e){return hc("MuiGrid",e)}const Mc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Dc=mc("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Mc.map((e=>`grid-xs-${e}`)),...Mc.map((e=>`grid-sm-${e}`)),...Mc.map((e=>`grid-md-${e}`)),...Mc.map((e=>`grid-lg-${e}`)),...Mc.map((e=>`grid-xl-${e}`))]),Rc=Dc,Lc=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Oc(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Vc({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const Nc=ac("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:a,item:i,spacing:s,wrap:o,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const a=e[t];Number(a)>0&&n.push(r[`spacing-${t}-${String(a)}`])})),n}(s,c,t));const p=[];return c.forEach((e=>{const n=r[e];n&&p.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,"row"!==a&&t[`direction-xs-${String(a)}`],"wrap"!==o&&t[`wrap-xs-${String(o)}`],...p]}})((({ownerState:e})=>(0,To.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){const r=(0,Pc.kW)({values:t.direction,breakpoints:e.breakpoints.values});return(0,Pc.NI)({theme:e},r,(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${Rc.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let a={};if(r&&0!==n){const t=(0,Pc.kW)({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Vc({breakpoints:e.breakpoints.values,values:t})),a=(0,Pc.NI)({theme:e},t,((t,n)=>{var a;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${Oc(i)}`,[`& > .${Rc.item}`]:{paddingTop:Oc(i)}}:null!=(a=r)&&a.includes(n)?{}:{marginTop:0,[`& > .${Rc.item}`]:{paddingTop:0}}}))}return a}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let a={};if(r&&0!==n){const t=(0,Pc.kW)({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Vc({breakpoints:e.breakpoints.values,values:t})),a=(0,Pc.NI)({theme:e},t,((t,n)=>{var a;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${Oc(i)})`,marginLeft:`-${Oc(i)}`,[`& > .${Rc.item}`]:{paddingLeft:Oc(i)}}:null!=(a=r)&&a.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${Rc.item}`]:{paddingLeft:0}}}))}return a}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,a)=>{let i={};if(t[a]&&(r=t[a]),!r)return n;if(!0===r)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=(0,Pc.kW)({values:t.columns,breakpoints:e.breakpoints.values}),o="object"==typeof s?s[a]:s;if(null==o)return n;const l=Math.round(r/o*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${Oc(r)})`;c={flexBasis:e,maxWidth:e}}}i=(0,To.A)({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[a]?Object.assign(n,i):n[e.breakpoints.up(a)]=i,n}),{})})),Bc=a.forwardRef((function(e,t){const r=uc({props:e,name:"MuiGrid"}),{breakpoints:n}=function(){const e=cc(rc);return e[nc]||e}(),i=(0,Tc.A)(r),{className:s,columns:o,columnSpacing:l,component:c="div",container:u=!1,direction:p="row",item:d=!1,rowSpacing:f,spacing:h=0,wrap:m="wrap",zeroMinWidth:g=!1}=i,y=(0,Ro.A)(i,Lc),v=f||h,b=l||h,x=a.useContext(Ic),w=u?o||12:x,E={},k=(0,To.A)({},y);n.keys.forEach((e=>{null!=y[e]&&(E[e]=y[e],delete k[e])}));const S=(0,To.A)({},i,{columns:w,container:u,direction:p,item:d,rowSpacing:v,columnSpacing:b,wrap:m,zeroMinWidth:g,spacing:h},E,{breakpoints:n.keys}),C=(e=>{const{classes:t,container:r,direction:n,item:a,spacing:i,wrap:s,zeroMinWidth:o,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(i,l));const u=[];return l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)})),qo({root:["root",r&&"container",a&&"item",o&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==s&&`wrap-xs-${String(s)}`,...u]},Fc,t)})(S);return(0,yc.jsx)(Ic.Provider,{value:w,children:(0,yc.jsx)(Nc,(0,To.A)({ownerState:S,className:fs(C.root,s),as:c,ref:t},k))})})),jc=Bc;var zc=r(4073);const Hc=["className","component"],Gc=mc("MuiBox",["root"]),Wc=tc(),qc=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:i}=e,s=(0,zc.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Ko.A);return a.forwardRef((function(e,a){const o=cc(r),l=(0,Tc.A)(e),{className:c,component:u="div"}=l,p=(0,Ro.A)(l,Hc);return(0,yc.jsx)(s,(0,To.A)({as:u,ref:a,className:fs(c,i?i(n):n),theme:t&&o[t]||o},p))}))}({themeId:nc,defaultTheme:Wc,defaultClassName:Gc.root,generateClassName:dc.generate}),Uc=({className:e})=>(0,a.createElement)("div",{className:Ao("site-loading-skeleton",e)},(0,a.createElement)(jc,{container:!0},(0,a.createElement)(jc,{item:!0,xs:4},(0,a.createElement)(qc,{p:"3em 8em",display:"flex"},(0,a.createElement)(_c,{variant:"rect",width:234,height:45,animation:"wave"}))),(0,a.createElement)(jc,{item:!0,xs:8},(0,a.createElement)(qc,{p:"3em 8em",display:"flex",justifyContent:"flex-end",gap:"25px"},(0,a.createElement)(_c,{variant:"rect",width:100,height:45,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",width:100,height:45,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",width:100,height:45,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",width:100,height:45,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",width:200,height:45,animation:"wave"}))),(0,a.createElement)(jc,{item:!0,xs:6},(0,a.createElement)(qc,{p:"1rem 2rem 1rem 8rem",display:"flex",flexDirection:"column",height:"100%"},(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",height:120,animation:"wave"})),(0,a.createElement)(qc,{m:"1em 0"},(0,a.createElement)(_c,{variant:"rect",height:20,animation:"wave"})),(0,a.createElement)(qc,{m:"1em 0"},(0,a.createElement)(_c,{variant:"rect",height:20,animation:"wave"})),(0,a.createElement)(qc,{m:"3em 0"},(0,a.createElement)(_c,{variant:"rect",width:250,height:50,animation:"wave"})))),(0,a.createElement)(jc,{item:!0,xs:6},(0,a.createElement)(qc,{p:"1rem 8rem 1rem 2rem",display:"flex",justifyContent:"flex-end",gap:"25px"},(0,a.createElement)(_c,{variant:"rect",width:516,height:320,animation:"wave"}))),(0,a.createElement)(jc,{item:!0,xs:12},(0,a.createElement)(qc,{p:"3em 8em",display:"flex",justifyContent:"space-evenly",gap:"25px"},(0,a.createElement)(_c,{variant:"rect",width:"100%",height:320,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",width:"100%",height:320,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",width:"100%",height:320,animation:"wave"}))))),Xc=(0,a.memo)((()=>{const[{templateResponse:e,showSidebar:t,siteLogo:r},n]=cs(),[i,s]=(0,a.useState)(""),[o,l]=(0,a.useState)(!0),c=(0,a.useRef)(null);(0,a.useEffect)((()=>{const t=e?e["astra-site-url"]:"";var r;""!==t&&s((r=(e=>e?(e=e.trim(),Go.test(e)||(0,Ho.isEmail)(e)?e:"https://"+e+"/"):e)(t.replace(/^\/+|\/+$/g,""))).endsWith("/")?r:r+"/")}),[e]),(0,a.useEffect)((()=>{!1===o&&Eo({param:"cleanStorage",data:r})}),[o]);const u=()=>{var e;const t=c.current;if(!t)return;const r=null!==(e=t.querySelector("iframe"))&&void 0!==e?e:t.children[1],n=document.body.clientWidth,a=document.body.clientHeight-44,i=n/r.clientWidth,s=a/r.clientHeight,o=Math.min(i,s);r.style.transform=`scale(${o})`,r.style.transformOrigin="top left",r.style.height=a/o+"px"};(0,a.useEffect)((()=>{const e=setInterval(u,125);return setTimeout((()=>{clearInterval(e)}),500),()=>{clearInterval(e)}}),[t]);const p=()=>{t&&(window.innerWidth<1024?n({type:"set",showSidebar:!1}):n({type:"set",showSidebar:!0})),u()};return(0,a.useEffect)((()=>(p(),window.addEventListener("resize",p),()=>{window.removeEventListener("resize",p)})),[]),(0,a.createElement)(a.Fragment,null,o?(0,a.createElement)(Uc,null):null,""!==i&&(0,a.createElement)("div",{className:"w-full h-full p-4"},(0,a.createElement)("div",{ref:c,className:"h-full relative overflow-hidden shadow-template-preview w-full mx-auto"},(0,a.createElement)("div",{className:Ao("flex items-center justify-start py-3 px-4 bg-browser-bar shadow-sm rounded-t-lg mx-auto h-[44px] z-[1] relative","w-full mx-0")},(0,a.createElement)("div",{className:"flex gap-2 py-[3px] w-20"},(0,a.createElement)("div",{className:"w-[14px] h-[14px] border border-solid border-border-primary rounded-full"}),(0,a.createElement)("div",{className:"w-[14px] h-[14px] border border-solid border-border-primary rounded-full"}),(0,a.createElement)("div",{className:"w-[14px] h-[14px] border border-solid border-border-primary rounded-full"}))),(0,a.createElement)("div",{className:"w-full h-full"},(0,a.createElement)("iframe",{id:"astra-starter-templates-preview",className:"w-full h-full",title:"Website Preview",height:"100%",width:"100%",src:i,onLoad:()=>{u(),l(!1)}})))))})),Qc=(e,t)=>{const r=new URLSearchParams(window.location.search);return t?r.set(e,t):r.delete(e),r.toString()},$c=()=>(0,a.createElement)("div",{className:"site-list-loading-skeleton"},(0,a.createElement)(jc,{container:!0},(0,a.createElement)(jc,{item:!0,xs:12},(0,a.createElement)(qc,{display:"flex",justifyContent:"center"},(0,a.createElement)(_c,{variant:"rect",width:600,height:36,animation:"wave"}))),(0,a.createElement)(jc,{item:!0,xs:12},(0,a.createElement)(qc,{display:"flex",justifyContent:"center",m:"44px 0 50px 0"},(0,a.createElement)(_c,{variant:"rect",width:740,height:48,animation:"wave"}))),(0,a.createElement)(jc,{item:!0,xs:12},(0,a.createElement)(qc,{display:"flex",justifyContent:"space-between",p:"0 0 8px 0"},(0,a.createElement)(qc,{display:"flex",gap:"15px",alignItems:"center"},(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:80,height:41,animation:"wave"}))),(0,a.createElement)(qc,{display:"flex",gap:"15px",alignItems:"center"},(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:110,height:40,animation:"wave"})),(0,a.createElement)(qc,null,(0,a.createElement)(_c,{variant:"rect",width:110,height:40,animation:"wave"}))))),(0,a.createElement)(jc,{item:!0,xs:12},(0,a.createElement)(qc,{p:"44px 0 0 0",display:"grid",gap:"40px",gridTemplateColumns:"1fr 1fr 1fr 1fr"},(0,a.createElement)(_c,{variant:"rect",height:380,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",height:380,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",height:380,animation:"wave"}),(0,a.createElement)(_c,{variant:"rect",height:380,animation:"wave"}))))),Jc=window.wp.element,Zc=()=>{const[e,t]=(0,Jc.useState)(4);(0,Jc.useEffect)((()=>{const e=()=>{window.innerWidth<=768?t(2):window.innerWidth>768&&window.innerWidth<=1024?t(3):t(4)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]);const r=[];for(let t=0;t<2*e;t++)r.push((0,a.createElement)(_c,{key:t,variant:"rect",height:380,animation:"wave"}));return(0,a.createElement)("div",{className:"st-grid-skeleton"},(0,a.createElement)(jc,{container:!0},(0,a.createElement)(jc,{item:!0,xs:12},(0,a.createElement)(qc,{p:"0",display:"grid",gap:"40px",gridTemplateColumns:`repeat(${e}, 1fr)`},r))))},Yc=window.wp.apiFetch;var Kc=r.n(Yc);const{themeStatus:eu}=starterTemplates,tu=async(e,t)=>{const[{currentIndex:r},n]=t,a=new FormData;a.append("action","astra-sites-api-request"),a.append("url","astra-sites/"+e),a.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:a}).then((e=>e.json())).then((t=>{if(t.success){const r=t?.data["required-plugins"]?.some((e=>"surecart"===e?.slug||"woocommerce"===e?.slug));starterTemplates.previewUrl="https:"+t.data["astra-site-url"],n({type:"set",templateId:e,templateResponse:t.data,importErrorMessages:{},importErrorResponse:[],importError:!1,isEcommerce:r})}else{let e={};if(void 0!==t.data.response_code){const a=t.data.code.toString();switch(a){case"401":case"404":e={primaryText:astraSitesVars?.server_import_primary_error,secondaryText:"",errorCode:a,errorText:t.data.message,solutionText:"",tryAgain:!0};break;case"500":e={primaryText:astraSitesVars?.server_import_primary_error,secondaryText:"",errorCode:a,errorText:t.data.message,solutionText:astraSitesVars?.ajax_request_failed_secondary,tryAgain:!0};break;case"WP_Error":e={primaryText:astraSitesVars?.client_import_primary_error,secondaryText:"",errorCode:a,errorText:t.data.message,solutionText:"",tryAgain:!0};break;case"Cloudflare":e={primaryText:astraSitesVars?.cloudflare_import_primary_error,secondaryText:"",errorCode:a,errorText:t.data.message,solutionText:"",tryAgain:!0};break;default:e={primaryText:(0,wn.__)("Fetching related demo failed.","astra-sites"),secondaryText:"",errorCode:"",errorText:t.data,solutionText:astraSitesVars?.ajax_request_failed_secondary,tryAgain:!1}}n({type:"set",importError:!0,importErrorMessages:e,importErrorResponse:t.data,templateResponse:null,currentIndex:r+3})}}})).catch((e=>{n({type:"set",importError:!0,importErrorMessages:{primaryText:(0,wn.__)("Fetching related demo failed.","astra-sites"),secondaryText:astraSitesVars?.ajax_request_failed_secondary,errorCode:"",errorText:e,solutionText:"",tryAgain:!1}})}))},ru=async e=>{const[{enabledFeatureIds:t,selectedEcommercePlugin:r},n]=e,a=new FormData;if(a.append("action","astra-sites-required_plugins"),a.append("_ajax_nonce",astraSitesVars?._ajax_nonce),0!==t.length){const e=function(e,t){const r=[];return e?.forEach((e=>{switch(e){case"ecommerce":"surecart"===t?r.push({name:"SureCart",slug:"surecart",init:"surecart/surecart.php"}):"woocommerce"===t&&(r.push({name:"WooCommerce",slug:"woocommerce",init:"woocommerce/woocommerce.php"}),r.push({name:"WooPayments",slug:"woocommerce-payments",init:"woocommerce-payments/woocommerce-payments.php"}));break;case"donations":r.push({name:"SureCart",slug:"surecart",init:"surecart/surecart.php"});break;case"automation-integrations":r.push({name:"SureTriggers",slug:"suretriggers",init:"suretriggers/suretriggers.php"});break;case"smtp":r.push({name:"Suremail",slug:"suremails",init:"suremails/suremails.php"});break;case"sales-funnels":r.push({name:"CartFlows",slug:"cartflows",init:"cartflows/cartflows.php"}),r.push({name:"Woocommerce Cart Abandonment Recovery",slug:"woo-cart-abandonment-recovery",init:"woo-cart-abandonment-recovery/woo-cart-abandonment-recovery.php"});break;case"video-player":r.push({name:"Preso Player",slug:"presto-player",init:"presto-player/presto-player.php"});break;case"appointment-bookings":r.push({name:"Latepoint",slug:"latepoint",init:"latepoint/latepoint.php"});break;case"live-chat":r.push({name:"WP Live Chat Support",slug:"wp-live-chat-support",init:"wp-live-chat-support/wp-live-chat-support.php"})}})),r}(t,r);a.append("feature_plugins",JSON.stringify(e))}await fetch(ajaxurl,{method:"post",body:a}).then((e=>e.json())).then((e=>{if(e.success){const t=e.data?.required_plugins,r=t.notinstalled||"",a=t.inactive||"";n({type:"set",requiredPlugins:e.data,notInstalledList:r,notActivatedList:a})}}))},nu=e=>{const[,t]=e,r=new FormData;r.append("action","astra-sites-activate_theme"),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce),fetch(ajaxurl,{method:"post",body:r}).then((e=>e.json())).then((e=>{e.success?t({type:"set",themeStatus:e,importStatus:(0,wn.__)("Astra Theme Installed.","astra-sites")}):t({type:"set",importError:!0,importErrorMessages:{primaryText:(0,wn.__)("Astra theme installation failed.","astra-sites"),secondaryText:"",errorCode:"",errorText:e.data,solutionText:"",tryAgain:!0}})})).catch((e=>{console.error(e)}))},au=e=>{const[{importPercent:t},r]=e;let n=t;"not-installed"===eu&&(wp.updates.shouldRequestFilesystemCredentials&&!wp.updates.ajaxLocked&&wp.updates.requestFilesystemCredentials(),n+=5,r({type:"set",importPercent:n,importStatus:(0,wn.__)("Installing Astra Theme…","astra-sites")}),wp.updates.installTheme({slug:"astra",ajax_nonce:astraSitesVars?._ajax_nonce}),jQuery(document).on("wp-theme-install-success",(function(){r({type:"set",importStatus:(0,wn.__)("Astra Theme Installed.","astra-sites")}),nu(e)}))),"installed-but-inactive"===eu&&setTimeout((()=>nu(e)),3e3),"installed-and-active"===eu&&r({type:"set",themeStatus:!0})},iu=async([,e])=>{try{const t=new FormData;t.append("action","astra-sites-filesystem_permission"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(astraSitesVars?.ajaxurl,{method:"POST",body:t});e({type:"set",fileSystemPermissions:(await r.json()).data})}catch(e){console.error(e)}},su=async(e,t,r)=>{const n=new FormData;n.append("action","astra-sites-generate-analytics-lead"),n.append("status",t),n.append("try-again-count",e),n.append("type","astra-sites"),n.append("_ajax_nonce",astraSitesVars?._ajax_nonce),Object.entries(r).forEach((([e,t])=>n.append(e,t))),await fetch(ajaxurl,{method:"post",body:n})},ou=({sites:e})=>{const t=e||{},r=cs(),[{favoriteSiteIDs:n,currentIndex:i},s]=r,[o,l]=(0,a.useState)(4),c=[];if(Object.keys(t).length)for(const e in t){const r=t[e];if(void 0!==r.related_ecommerce_template&&""!==r.related_ecommerce_template&&void 0!==r.ecommerce_parent_template&&""!==r.ecommerce_parent_template)continue;const n=Co(r);c.push(n)}const u=(e,t)=>{let r=n;t&&!r.includes(e)?r.push(e):r=n.filter((t=>t!==e)),s({type:"set",favoriteSiteIDs:r})};return(0,a.useEffect)((()=>{const e=()=>{window.innerWidth<=768?l(2):window.innerWidth>768&&window.innerWidth<=1024?l(3):l(4)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),(0,a.createElement)(Qr.Grid,{column:o,options:c,hasFavorite:!0,onFavoriteClick:async(e,t,r)=>{try{e.preventDefault();const n=`id-${t.id}`;u(n,r);const a=new FormData;a.append("action","astra-sites-favorite"),a.append("is_favorite",r),a.append("site_id",n),a.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const i=await fetch(ajaxurl,{method:"post",body:a});(await i.json()).success||u(n,!1)}catch(e){}},favoriteList:n,onClick:async(e,t)=>{e.stopPropagation(),s({type:"set",currentIndex:i+1,selectedTemplateName:t.title,selectedTemplateID:t.id,selectedTemplateType:t["astra-sites-type"]}),await tu(t.id,r),await ru(r),iu(r)}})},lu=({setSiteData:e})=>{const[{siteSearchTerm:t,searchTerms:r,searchTermsWithCount:n,builder:i,siteType:s,stagingConnected:o},l]=cs(),c=Iu(),u=gn(),p=(0,a.useRef)(),d=(0,a.useRef)(),f=e=>{if(e.preventDefault(),p&&d){const e=document.querySelector(".site-list-header");let t=0;e&&e.clientHeight&&(t=e.clientHeight),t-=p.current.clientHeight,(d.current.getBoundingClientRect().top||0)<=t?document.body.classList.add("st-search-box-fixed"):document.body.classList.remove("st-search-box-fixed")}};return(0,a.useEffect)((()=>(document.querySelector(".step-content")?.addEventListener("scroll",f),()=>document.querySelector(".step-content")?.removeEventListener("scroll",f))),[]),(0,a.createElement)("div",{className:"st-search-box-wrap",ref:d},(0,a.createElement)("div",{className:"st-search-filter st-search-box",ref:p},(0,a.createElement)(Qr.Search,{apiUrl:`${astraSitesVars?.ApiDomain}wp-json/starter-templates/v2/sites-search/?search=${t}&page-builder=${i}&type=${s}${o}`,beforeSearchResult:()=>{t&&e({gridSkeleton:!0})},onSearchResult:a=>{if(!t)return void e({gridSkeleton:!1});const i=[];if(a.success&&a.ids.length)for(const e of a.ids)if(c[e]){const t=c[e];if(void 0!==t.related_ecommerce_template&&""!==t.related_ecommerce_template&&void 0!==t.ecommerce_parent_template&&""!==t.ecommerce_parent_template)continue;i[e]=c[e]}(e=>{const a=t.toLowerCase(),i=r,s=n;""===a||a.length<3||r.includes(a)||(i.push(a),s.push({term:a,count:e}),l({type:"set",searchTerms:i,searchTermsWithCount:s}))})(Object.keys(i).length),e({sites:i,gridSkeleton:!1})},value:(0,xn.decodeEntities)(t),placeholder:(0,wn.__)("Search for Starter Templates","astra-sites"),onSearch:(t,r)=>{const n={gridSkeleton:!0};r||(n.sites=c),e(n),l({type:"set",siteSearchTerm:r,onMyFavorite:!1,siteBusinessType:"",selectedMegaMenu:"",siteType:"",siteOrder:"popular"});const a=Qc("s",r);u(`?${a}`)},onKeyUp:e=>{e.preventDefault();const t=document.querySelector(".st-templates-content");if((t?parseInt(t.getBoundingClientRect().top):0)<0&&32!==e.keyCode&&16!==e.keyCode&&17!==e.keyCode&&18!==e.keyCode){const e=document.querySelector(".site-list-header"),r=e?parseInt(e.clientHeight):0;document.querySelector(".step-content").scrollTo({behavior:"smooth",left:0,top:t.offsetTop-r-20})}}})))},cu=()=>(0,a.createElement)("div",{className:"st-no-favorites"},(0,a.createElement)("h3",null,(0,wn.__)("No favorites added. Press the heart icon to add templates as favorites.","astra-sites"))),uu=({sites:e})=>{const[{siteSearchTerm:t}]=cs(),r=Iu();let n=e;if(t){const e={multipurpose:{},top20:{}};for(const t in r){const n=r[t];Object.values(n.categories).includes("multipurpose")?e.multipurpose[t]=n:Object.keys(e.top20).length<=20&&(e.top20[t]=n)}n=Object.assign(e.multipurpose,e.top20)}return n.length?(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"st-sites-grid st-related-sites-grid"},(0,a.createElement)("div",{className:"st-sites-found-message"},(0,wn.__)("Other suggested Starter Templates","astra-sites")),(0,a.createElement)(ou,{sites:n}))):null},pu=()=>{const[e,t]=(0,a.useState)({skeleton:!0,allFavorites:[]}),[{favoriteSiteIDs:r,onMyFavorite:n}]=cs(),i=Iu();return(0,a.useEffect)((()=>{t({...e,skeleton:!0});const a=[];if(n&&Object.keys(i).length>0)for(const e in i)if(r.length&&r.includes(e)){const t=Co(i[e]);a.push(t)}t({...e,allFavorites:a,skeleton:!1})}),[r,n]),(0,a.createElement)(a.Fragment,null,e.skeleton?(0,a.createElement)("div",{className:"st-sites-grid st-sites-favorites-grid"},(0,a.createElement)(ou,{skeleton:e.skeleton})):(0,a.createElement)(a.Fragment,null,e.allFavorites.length?(0,a.createElement)("div",{className:"st-sites-grid"},(0,a.createElement)(ou,{sites:e.allFavorites})):(0,a.createElement)(a.Fragment,null,(0,a.createElement)(cu,null),(0,a.createElement)(uu,{sites:i}))))},du=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))})),{post:fu}=wp.ajax;let hu=[],mu=!1;const gu=(e,t)=>{const r=new FormData;return r.append(e,t),r},yu=()=>{if(hu&&mu){const e=hu.every(Boolean);return hu=[],mu=!1,e}},vu=async()=>{try{const e=new FormData;e.append("action","astra-sites-update-library"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}),r=await t.json();return"updated"===await r.data&&!astraSitesVars?.bgSyncInProgress&&(hu.push(!0),mu=!0,!0)}catch(e){return hu.push(!1),mu=!0,!0}},bu=async()=>{try{let e=null,t=null;return hu=[],hu.push(await Cu()),hu.push(await Su()),hu.push(await ku()),hu.push(await Eu()),hu.push(await wu()),hu.push(await xu()),e=await Pu(),t=await Tu(),mu=!0,{categories:e,tags:t}}catch(e){return hu.push(!1),mu=!0,!1}},xu=async()=>{try{const e=new FormData;return e.append("action","astra-sites-update-library-complete"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},wu=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-page-builders"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Eu=async()=>{try{const e=new FormData;e.append("action","astra-sites-get-blocks-request-count"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json())).then((e=>e.data));if(t){const e=[];for(let r=1;r<=t;r++){const t=new FormData;t.append("action","astra-sites-import-blocks"),t.append("page_no",r),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.push(fetch(ajaxurl,{method:"post",body:t}))}return(await Promise.allSettled(e).then((e=>Promise.all(e.map((e=>e.value.json())))))).every((e=>!0===e.success))}}catch(e){return!1}},ku=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-page-builders"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Su=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-all-categories"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Cu=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-all-categories-and-tags"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Au=async()=>{try{const e=await fu({action:"astra-sites-get-sites-request-count",_ajax_nonce:astraSitesVars?._ajax_nonce});return null!=e?e:0}catch(e){return 0}},_u=async e=>{let t=[];try{const r=new FormData;r.append("action","astra-sites-import-sites"),r.append("page_no",e),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const n=await fetch(ajaxurl,{method:"post",body:r});if(!n.ok)throw new Error("Error fetching templates");const a=await n.json();return t=Object.values(a.data),t}catch(e){return null}},Pu=async()=>{try{const e=await fetch(ajaxurl,{method:"post",body:gu("action","astra-sites-get-all-categories")}),t=await e.json();return t.data.length?t.data:null}catch(e){return null}},Tu=async()=>{try{const e=await fetch(ajaxurl,{method:"post",body:gu("action","astra-sites-get-all-categories-and-tags")}),t=await e.json();return t.data.length?t.data:null}catch(e){return null}},Iu=()=>{const[{builder:e,siteType:t,siteOrder:r,allSitesData:n}]=cs();let a=n&&Object.keys(n).length?n:astraSitesVars?.all_sites,i=[];if(n&&Array.isArray(a)&&(a=n.reduce(((e,t)=>(t.id&&(e[`id-${t.id}`]=t),e)),{})),e)for(const t in a)e===a[t]["astra-site-page-builder"]&&(i[t]=a[t]);if(t)for(const e in i){const r=i[e]?.["astra-sites-type"]||"";switch(t){case"signature":r!==t&&delete i[e];break;case"agency-mini":"agency-mini"!==r&&delete i[e]}}return"latest"===r&&Object.keys(i).length&&(i=gr(Object.values(i),"publish-date").reverse()),i},{imageDir:Fu}=starterTemplates,Mu=()=>(0,a.createElement)("div",{className:"branding-wrap"},wo()?(0,a.createElement)("h3",null,astraSitesVars?.whiteLabelName):(0,a.createElement)(Qr.Logo,{className:"ist-logo",src:`${Fu}logo.svg`,alt:(0,wn.__)("Starter Templates","astra-sites"),onClick:()=>window.open(astraSitesVars?.st_page_url,"_self")}));function Du(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ru(e){return e instanceof Du(e).Element||e instanceof Element}function Lu(e){return e instanceof Du(e).HTMLElement||e instanceof HTMLElement}function Ou(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Du(e).ShadowRoot||e instanceof ShadowRoot)}var Vu=Math.max,Nu=Math.min,Bu=Math.round;function ju(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function zu(){return!/^((?!chrome|android).)*safari/i.test(ju())}function Hu(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),a=1,i=1;t&&Lu(e)&&(a=e.offsetWidth>0&&Bu(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Bu(n.height)/e.offsetHeight||1);var s=(Ru(e)?Du(e):window).visualViewport,o=!zu()&&r,l=(n.left+(o&&s?s.offsetLeft:0))/a,c=(n.top+(o&&s?s.offsetTop:0))/i,u=n.width/a,p=n.height/i;return{width:u,height:p,top:c,right:l+u,bottom:c+p,left:l,x:l,y:c}}function Gu(e){var t=Du(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wu(e){return e?(e.nodeName||"").toLowerCase():null}function qu(e){return((Ru(e)?e.ownerDocument:e.document)||window.document).documentElement}function Uu(e){return Hu(qu(e)).left+Gu(e).scrollLeft}function Xu(e){return Du(e).getComputedStyle(e)}function Qu(e){var t=Xu(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function $u(e,t,r){void 0===r&&(r=!1);var n=Lu(t),a=Lu(t)&&function(e){var t=e.getBoundingClientRect(),r=Bu(t.width)/e.offsetWidth||1,n=Bu(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),i=qu(t),s=Hu(e,a,r),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&(("body"!==Wu(t)||Qu(i))&&(o=function(e){return e!==Du(e)&&Lu(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Gu(e);var t}(t)),Lu(t)?((l=Hu(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Uu(i))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function Ju(e){var t=Hu(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Zu(e){return"html"===Wu(e)?e:e.assignedSlot||e.parentNode||(Ou(e)?e.host:null)||qu(e)}function Yu(e){return["html","body","#document"].indexOf(Wu(e))>=0?e.ownerDocument.body:Lu(e)&&Qu(e)?e:Yu(Zu(e))}function Ku(e,t){var r;void 0===t&&(t=[]);var n=Yu(e),a=n===(null==(r=e.ownerDocument)?void 0:r.body),i=Du(n),s=a?[i].concat(i.visualViewport||[],Qu(n)?n:[]):n,o=t.concat(s);return a?o:o.concat(Ku(Zu(s)))}function ep(e){return["table","td","th"].indexOf(Wu(e))>=0}function tp(e){return Lu(e)&&"fixed"!==Xu(e).position?e.offsetParent:null}function rp(e){for(var t=Du(e),r=tp(e);r&&ep(r)&&"static"===Xu(r).position;)r=tp(r);return r&&("html"===Wu(r)||"body"===Wu(r)&&"static"===Xu(r).position)?t:r||function(e){var t=/firefox/i.test(ju());if(/Trident/i.test(ju())&&Lu(e)&&"fixed"===Xu(e).position)return null;var r=Zu(e);for(Ou(r)&&(r=r.host);Lu(r)&&["html","body"].indexOf(Wu(r))<0;){var n=Xu(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var np="top",ap="bottom",ip="right",sp="left",op="auto",lp=[np,ap,ip,sp],cp="start",up="end",pp="viewport",dp="popper",fp=lp.reduce((function(e,t){return e.concat([t+"-"+cp,t+"-"+up])}),[]),hp=[].concat(lp,[op]).reduce((function(e,t){return e.concat([t,t+"-"+cp,t+"-"+up])}),[]),mp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function gp(e){var t=new Map,r=new Set,n=[];function a(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&a(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||a(e)})),n}var yp={placement:"bottom",modifiers:[],strategy:"absolute"};function vp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function bp(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,a=t.defaultOptions,i=void 0===a?yp:a;return function(e,t,r){void 0===r&&(r=i);var a,s,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},yp,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:o,setOptions:function(r){var a="function"==typeof r?r(o.options):r;p(),o.options=Object.assign({},i,o.options,a),o.scrollParents={reference:Ru(e)?Ku(e):e.contextElement?Ku(e.contextElement):[],popper:Ku(t)};var s,c,d=function(e){var t=gp(e);return mp.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((s=[].concat(n,o.options.modifiers),c=s.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return o.orderedModifiers=d.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,a=e.effect;if("function"==typeof a){var i=a({state:o,name:t,instance:u,options:n});l.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,r=e.popper;if(vp(t,r)){o.rects={reference:$u(t,rp(r),"fixed"===o.options.strategy),popper:Ju(r)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var a=o.orderedModifiers[n],i=a.fn,s=a.options,l=void 0===s?{}:s,p=a.name;"function"==typeof i&&(o=i({state:o,options:l,name:p,instance:u})||o)}else o.reset=!1,n=-1}}},update:(a=function(){return new Promise((function(e){u.forceUpdate(),e(o)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(a())}))}))),s}),destroy:function(){p(),c=!0}};if(!vp(e,t))return u;function p(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var xp={passive:!0};const Ep={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=void 0===a||a,s=n.resize,o=void 0===s||s,l=Du(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",r.update,xp)})),o&&l.addEventListener("resize",r.update,xp),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",r.update,xp)})),o&&l.removeEventListener("resize",r.update,xp)}},data:{}};function kp(e){return e.split("-")[0]}function Sp(e){return e.split("-")[1]}function Cp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ap(e){var t,r=e.reference,n=e.element,a=e.placement,i=a?kp(a):null,s=a?Sp(a):null,o=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case np:t={x:o,y:r.y-n.height};break;case ap:t={x:o,y:r.y+r.height};break;case ip:t={x:r.x+r.width,y:l};break;case sp:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?Cp(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case cp:t[c]=t[c]-(r[u]/2-n[u]/2);break;case up:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}const _p={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Ap({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Pp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Tp(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,d=s.x,f=void 0===d?0:d,h=s.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var y=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),b=sp,x=np,w=window;if(c){var E=rp(r),k="clientHeight",S="clientWidth";E===Du(r)&&"static"!==Xu(E=qu(r)).position&&"absolute"===o&&(k="scrollHeight",S="scrollWidth"),(a===np||(a===sp||a===ip)&&i===up)&&(x=ap,m-=(p&&E===w&&w.visualViewport?w.visualViewport.height:E[k])-n.height,m*=l?1:-1),a!==sp&&(a!==np&&a!==ap||i!==up)||(b=ip,f-=(p&&E===w&&w.visualViewport?w.visualViewport.width:E[S])-n.width,f*=l?1:-1)}var C,A=Object.assign({position:o},c&&Pp),_=!0===u?function(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Bu(r*a)/a||0,y:Bu(n*a)/a||0}}({x:f,y:m},Du(r)):{x:f,y:m};return f=_.x,m=_.y,l?Object.assign({},A,((C={})[x]=v?"0":"",C[b]=y?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},A,((t={})[x]=v?m+"px":"",t[b]=y?f+"px":"",t.transform="",t))}const Ip={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},a=t.elements[e];Lu(a)&&Wu(a)&&(Object.assign(a.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],a=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});Lu(n)&&Wu(n)&&(Object.assign(n.style,i),Object.keys(a).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},Fp={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=void 0===a?[0,0]:a,s=hp.reduce((function(e,r){return e[r]=function(e,t,r){var n=kp(e),a=[sp,np].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=i[0],o=i[1];return s=s||0,o=(o||0)*a,[sp,ip].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}(r,t.rects,i),e}),{}),o=s[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=s}};var Mp={left:"right",right:"left",bottom:"top",top:"bottom"};function Dp(e){return e.replace(/left|right|bottom|top/g,(function(e){return Mp[e]}))}var Rp={start:"end",end:"start"};function Lp(e){return e.replace(/start|end/g,(function(e){return Rp[e]}))}function Op(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ou(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Vp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Np(e,t,r){return t===pp?Vp(function(e,t){var r=Du(e),n=qu(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,l=0;if(a){i=a.width,s=a.height;var c=zu();(c||!c&&"fixed"===t)&&(o=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:o+Uu(e),y:l}}(e,r)):Ru(t)?function(e,t){var r=Hu(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Vp(function(e){var t,r=qu(e),n=Gu(e),a=null==(t=e.ownerDocument)?void 0:t.body,i=Vu(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=Vu(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+Uu(e),l=-n.scrollTop;return"rtl"===Xu(a||r).direction&&(o+=Vu(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:o,y:l}}(qu(e)))}function Bp(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function jp(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function zp(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=void 0===n?e.placement:n,i=r.strategy,s=void 0===i?e.strategy:i,o=r.boundary,l=void 0===o?"clippingParents":o,c=r.rootBoundary,u=void 0===c?pp:c,p=r.elementContext,d=void 0===p?dp:p,f=r.altBoundary,h=void 0!==f&&f,m=r.padding,g=void 0===m?0:m,y=Bp("number"!=typeof g?g:jp(g,lp)),v=d===dp?"reference":dp,b=e.rects.popper,x=e.elements[h?v:d],w=function(e,t,r,n){var a="clippingParents"===t?function(e){var t=Ku(Zu(e)),r=["absolute","fixed"].indexOf(Xu(e).position)>=0&&Lu(e)?rp(e):e;return Ru(r)?t.filter((function(e){return Ru(e)&&Op(e,r)&&"body"!==Wu(e)})):[]}(e):[].concat(t),i=[].concat(a,[r]),s=i[0],o=i.reduce((function(t,r){var a=Np(e,r,n);return t.top=Vu(a.top,t.top),t.right=Nu(a.right,t.right),t.bottom=Nu(a.bottom,t.bottom),t.left=Vu(a.left,t.left),t}),Np(e,s,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(Ru(x)?x:x.contextElement||qu(e.elements.popper),l,u,s),E=Hu(e.elements.reference),k=Ap({reference:E,element:b,strategy:"absolute",placement:a}),S=Vp(Object.assign({},b,k)),C=d===dp?S:E,A={top:w.top-C.top+y.top,bottom:C.bottom-w.bottom+y.bottom,left:w.left-C.left+y.left,right:C.right-w.right+y.right},_=e.modifiersData.offset;if(d===dp&&_){var P=_[a];Object.keys(A).forEach((function(e){var t=[ip,ap].indexOf(e)>=0?1:-1,r=[np,ap].indexOf(e)>=0?"y":"x";A[e]+=P[r]*t}))}return A}const Hp={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=void 0===a||a,s=r.altAxis,o=void 0===s||s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,p=r.rootBoundary,d=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,g=t.options.placement,y=kp(g),v=l||(y!==g&&h?function(e){if(kp(e)===op)return[];var t=Dp(e);return[Lp(e),t,Lp(t)]}(g):[Dp(g)]),b=[g].concat(v).reduce((function(e,r){return e.concat(kp(r)===op?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,o=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?hp:l,u=Sp(n),p=u?o?fp:fp.filter((function(e){return Sp(e)===u})):lp,d=p.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=p);var f=d.reduce((function(t,r){return t[r]=zp(e,{placement:r,boundary:a,rootBoundary:i,padding:s})[kp(r)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:r,boundary:u,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),x=t.rects.reference,w=t.rects.popper,E=new Map,k=!0,S=b[0],C=0;C<b.length;C++){var A=b[C],_=kp(A),P=Sp(A)===cp,T=[np,ap].indexOf(_)>=0,I=T?"width":"height",F=zp(t,{placement:A,boundary:u,rootBoundary:p,altBoundary:d,padding:c}),M=T?P?ip:sp:P?ap:np;x[I]>w[I]&&(M=Dp(M));var D=Dp(M),R=[];if(i&&R.push(F[_]<=0),o&&R.push(F[M]<=0,F[D]<=0),R.every((function(e){return e}))){S=A,k=!1;break}E.set(A,R)}if(k)for(var L=function(e){var t=b.find((function(t){var r=E.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},O=h?3:1;O>0&&"break"!==L(O);O--);t.placement!==S&&(t.modifiersData[n]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Gp(e,t,r){return Vu(e,Nu(t,r))}const Wp={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=void 0===a||a,s=r.altAxis,o=void 0!==s&&s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,p=r.padding,d=r.tether,f=void 0===d||d,h=r.tetherOffset,m=void 0===h?0:h,g=zp(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),y=kp(t.placement),v=Sp(t.placement),b=!v,x=Cp(y),w="x"===x?"y":"x",E=t.modifiersData.popperOffsets,k=t.rects.reference,S=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,A="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(E){if(i){var T,I="y"===x?np:sp,F="y"===x?ap:ip,M="y"===x?"height":"width",D=E[x],R=D+g[I],L=D-g[F],O=f?-S[M]/2:0,V=v===cp?k[M]:S[M],N=v===cp?-S[M]:-k[M],B=t.elements.arrow,j=f&&B?Ju(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=z[I],G=z[F],W=Gp(0,k[M],j[M]),q=b?k[M]/2-O-W-H-A.mainAxis:V-W-H-A.mainAxis,U=b?-k[M]/2+O+W+G+A.mainAxis:N+W+G+A.mainAxis,X=t.elements.arrow&&rp(t.elements.arrow),Q=X?"y"===x?X.clientTop||0:X.clientLeft||0:0,$=null!=(T=null==_?void 0:_[x])?T:0,J=D+U-$,Z=Gp(f?Nu(R,D+q-$-Q):R,D,f?Vu(L,J):L);E[x]=Z,P[x]=Z-D}if(o){var Y,K="x"===x?np:sp,ee="x"===x?ap:ip,te=E[w],re="y"===w?"height":"width",ne=te+g[K],ae=te-g[ee],ie=-1!==[np,sp].indexOf(y),se=null!=(Y=null==_?void 0:_[w])?Y:0,oe=ie?ne:te-k[re]-S[re]-se+A.altAxis,le=ie?te+k[re]+S[re]-se-A.altAxis:ae,ce=f&&ie?function(e,t,r){var n=Gp(e,t,r);return n>r?r:n}(oe,te,le):Gp(f?oe:ne,te,f?le:ae);E[w]=ce,P[w]=ce-te}t.modifiersData[n]=P}},requiresIfExists:["offset"]},qp={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,o=kp(r.placement),l=Cp(o),c=[sp,ip].indexOf(o)>=0?"height":"width";if(i&&s){var u=function(e,t){return Bp("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:jp(e,lp))}(a.padding,r),p=Ju(i),d="y"===l?np:sp,f="y"===l?ap:ip,h=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],m=s[l]-r.rects.reference[l],g=rp(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=u[d],x=y-p[c]-u[f],w=y/2-p[c]/2+v,E=Gp(b,w,x),k=l;r.modifiersData[n]=((t={})[k]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Op(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Up(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Xp(e){return[np,ip,ap,sp].some((function(t){return e[t]>=0}))}const Qp={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,s=zp(t,{elementContext:"reference"}),o=zp(t,{altBoundary:!0}),l=Up(s,n),c=Up(o,a,i),u=Xp(l),p=Xp(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}};var $p=bp({defaultModifiers:[Ep,_p,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=void 0===n||n,i=r.adaptive,s=void 0===i||i,o=r.roundOffsets,l=void 0===o||o,c={placement:kp(t.placement),variation:Sp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Tp(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Tp(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ip,Fp,Hp,Wp,qp,Qp]}),Jp={passive:!0,capture:!0},Zp=function(){return document.body};function Yp(e,t,r){if(Array.isArray(e)){var n=e[t];return null==n?Array.isArray(r)?r[t]:r:n}return e}function Kp(e,t){var r={}.toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function ed(e,t){return"function"==typeof e?e.apply(void 0,t):e}function td(e,t){return 0===t?e:function(n){clearTimeout(r),r=setTimeout((function(){e(n)}),t)};var r}function rd(e){return[].concat(e)}function nd(e,t){-1===e.indexOf(t)&&e.push(t)}function ad(e){return[].slice.call(e)}function id(e){return Object.keys(e).reduce((function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t}),{})}function sd(e){return["Element","Fragment"].some((function(t){return Kp(e,t)}))}function od(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function ld(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function cd(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,r)}))}function ud(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var pd={isTouch:!1},dd=0;function fd(){pd.isTouch||(pd.isTouch=!0,window.performance&&document.addEventListener("mousemove",hd))}function hd(){var e=performance.now();e-dd<20&&(pd.isTouch=!1,document.removeEventListener("mousemove",hd)),dd=e}function md(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var r=t._tippy;t.blur&&!r.state.isVisible&&t.blur()}}var gd=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),yd=Object.assign({appendTo:Zp,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),vd=Object.keys(yd);function bd(e){var t=(e.plugins||[]).reduce((function(t,r){var n,a=r.name,i=r.defaultValue;return a&&(t[a]=void 0!==e[a]?e[a]:null!=(n=yd[a])?n:i),t}),{});return Object.assign({},e,t)}function xd(e,t){var r=Object.assign({},t,{content:ed(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(bd(Object.assign({},yd,{plugins:t}))):vd).reduce((function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim();if(!n)return t;if("content"===r)t[r]=n;else try{t[r]=JSON.parse(n)}catch(e){t[r]=n}return t}),{})}(e,t.plugins));return r.aria=Object.assign({},yd.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function wd(e){var t=e.firstElementChild,r=ad(t.children);return{box:t,content:r.find((function(e){return e.classList.contains("tippy-content")})),arrow:r.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:r.find((function(e){return e.classList.contains("tippy-backdrop")}))}}var Ed=1,kd=[],Sd=[];function Cd(e,t){var r,n,a,i,s,o,l,c,u=xd(e,Object.assign({},yd,bd(id(t)))),p=!1,d=!1,f=!1,h=!1,m=[],g=td(X,u.interactiveDebounce),y=Ed++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:document.createElement("div"),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(n),cancelAnimationFrame(a)},setProps:function(t){if(!b.state.isDestroyed){D("onBeforeUpdate",[b,t]),q();var r=b.props,n=xd(e,Object.assign({},r,id(t),{ignoreAttributes:!0}));b.props=n,W(),r.interactiveDebounce!==n.interactiveDebounce&&(O(),g=td(X,n.interactiveDebounce)),r.triggerTarget&&!n.triggerTarget?rd(r.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded"),L(),M(),E&&E(r,n),b.popperInstance&&(Z(),K().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),D("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=pd.isTouch&&!b.props.touch,a=Yp(b.props.duration,0,yd.duration);if(!(e||t||r||n||P().hasAttribute("disabled")||(D("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,_()&&(w.style.visibility="visible"),M(),j(),b.state.isMounted||(w.style.transition="none"),_()){var i=I();od([i.box,i.content],0)}o=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,_()&&b.props.animation){var t=I(),r=t.box,n=t.content;od([r,n],a),ld([r,n],"visible")}R(),L(),nd(Sd,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&_()&&function(e){H(e,(function(){b.state.isShown=!0,D("onShown",[b])}))}(a)}},function(){var e,t=b.props.appendTo,r=P();(e=b.props.interactive&&t===Zp||"parent"===t?r.parentNode:ed(t,[r])).contains(w)||e.appendChild(w),b.state.isMounted=!0,Z()}()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=Yp(b.props.duration,1,yd.duration);if(!(e||t||r)&&(D("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,p=!1,_()&&(w.style.visibility="hidden"),O(),z(),M(!0),_()){var a=I(),i=a.box,s=a.content;b.props.animation&&(od([i,s],n),ld([i,s],"hidden"))}R(),L(),b.props.animation?_()&&function(e,t){H(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(n,b.unmount):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),nd(kd,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Y(),K().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w),Sd=Sd.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b]))}};if(!u.render)return b;var x=u.render(b),w=x.popper,E=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var k=v.map((function(e){return e.fn(b)})),S=e.hasAttribute("aria-expanded");return W(),L(),M(),D("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)})),b;function C(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===C()[0]}function _(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function P(){return l||e}function T(){var e,t,r=P().parentNode;return r?null!=(t=rd(r)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function I(){return wd(w)}function F(e){return b.state.isMounted&&!b.state.isVisible||pd.isTouch||i&&"focus"===i.type?0:Yp(b.props.delay,e?0:1,yd.delay)}function M(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function D(e,t,r){var n;void 0===r&&(r=!0),k.forEach((function(r){r[e]&&r[e].apply(r,t)})),r&&(n=b.props)[e].apply(n,t)}function R(){var t=b.props.aria;if(t.content){var r="aria-"+t.content,n=w.id;rd(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(r);if(b.state.isVisible)e.setAttribute(r,t?t+" "+n:n);else{var a=t&&t.replace(n,"").trim();a?e.setAttribute(r,a):e.removeAttribute(r)}}))}}function L(){!S&&b.props.aria.expanded&&rd(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===P()?"true":"false"):e.removeAttribute("aria-expanded")}))}function O(){T().removeEventListener("mousemove",g),kd=kd.filter((function(e){return e!==g}))}function V(t){if(!pd.isTouch||!f&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!ud(w,r)){if(rd(b.props.triggerTarget||e).some((function(e){return ud(e,r)}))){if(pd.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||z())}}}function N(){f=!0}function B(){f=!1}function j(){var e=T();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,Jp),e.addEventListener("touchstart",B,Jp),e.addEventListener("touchmove",N,Jp)}function z(){var e=T();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,Jp),e.removeEventListener("touchstart",B,Jp),e.removeEventListener("touchmove",N,Jp)}function H(e,t){var r=I().box;function n(e){e.target===r&&(cd(r,"remove",n),t())}if(0===e)return t();cd(r,"remove",s),cd(r,"add",n),s=n}function G(t,r,n){void 0===n&&(n=!1),rd(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,r,n),m.push({node:e,eventType:t,handler:r,options:n})}))}function W(){var e;A()&&(G("touchstart",U,{passive:!0}),G("touchend",Q,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(G(e,U),e){case"mouseenter":G("mouseleave",Q);break;case"focus":G(gd?"focusout":"blur",$);break;case"focusin":G("focusout",$)}}))}function q(){m.forEach((function(e){var t=e.node,r=e.eventType,n=e.handler,a=e.options;t.removeEventListener(r,n,a)})),m=[]}function U(e){var t,r=!1;if(b.state.isEnabled&&!J(e)&&!d){var n="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,L(),!b.state.isVisible&&Kp(e,"MouseEvent")&&kd.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?r=!0:ee(e),"click"===e.type&&(p=!r),r&&!n&&te(e)}}function X(e){var t=e.target,r=P().contains(t)||w.contains(t);if("mousemove"!==e.type||!r){var n=K().concat(w).map((function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:u}:null})).filter(Boolean);(function(e,t){var r=t.clientX,n=t.clientY;return e.every((function(e){var t=e.popperRect,a=e.popperState,i=e.props.interactiveBorder,s=a.placement.split("-")[0],o=a.modifiersData.offset;if(!o)return!0;var l="bottom"===s?o.top.y:0,c="top"===s?o.bottom.y:0,u="right"===s?o.left.x:0,p="left"===s?o.right.x:0,d=t.top-n+l>i,f=n-t.bottom-c>i,h=t.left-r+u>i,m=r-t.right-p>i;return d||f||h||m}))})(n,e)&&(O(),te(e))}}function Q(e){J(e)||b.props.trigger.indexOf("click")>=0&&p||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==P()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function J(e){return!!pd.isTouch&&A()!==e.type.indexOf("touch")>=0}function Z(){Y();var t=b.props,r=t.popperOptions,n=t.placement,a=t.offset,i=t.getReferenceClientRect,s=t.moveTransition,l=_()?wd(w).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:e,u=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(_()){var r=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];_()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==r?void 0:r.modifiers)||[]),b.popperInstance=$p(c,w,Object.assign({},r,{placement:n,onFirstUpdate:o,modifiers:u}))}function Y(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function K(){return ad(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),j();var t=F(!0),n=C(),a=n[0],i=n[1];pd.isTouch&&"hold"===a&&i&&(t=i),t?r=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=F(!1);t?n=setTimeout((function(){b.state.isVisible&&b.hide()}),t):a=requestAnimationFrame((function(){b.hide()}))}}else z()}}function Ad(e,t){void 0===t&&(t={});var r=yd.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",fd,Jp),window.addEventListener("blur",md);var n,a=Object.assign({},t,{plugins:r}),i=(n=e,sd(n)?[n]:function(e){return Kp(e,"NodeList")}(n)?ad(n):Array.isArray(n)?n:ad(document.querySelectorAll(n))).reduce((function(e,t){var r=t&&Cd(t,a);return r&&e.push(r),e}),[]);return sd(e)?i[0]:i}Ad.defaultProps=yd,Ad.setDefaultProps=function(e){Object.keys(e).forEach((function(t){yd[t]=e[t]}))},Ad.currentInput=pd,Object.assign({},Ip,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),Ad.setDefaultProps({animation:!1});const _d=Ad;function Pd(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Td="undefined"!=typeof window&&"undefined"!=typeof document;function Id(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Fd(){return Td&&document.createElement("div")}function Md(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e){if(!t.hasOwnProperty(r))return!1;if(!Md(e[r],t[r]))return!1}return!0}return!1}function Dd(e){var t=[];return e.forEach((function(e){t.find((function(t){return Md(e,t)}))||t.push(e)})),t}var Rd=Td?a.useLayoutEffect:a.useEffect;function Ld(e,t,r){r.split(/\s+/).forEach((function(r){r&&e.classList[t](r)}))}var Od={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,r=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function n(){e.props.className&&!r()||Ld(t,"add",e.props.className)}return{onCreate:n,onBeforeUpdate:function(){r()&&Ld(t,"remove",e.props.className)},onAfterUpdate:n}}};function Vd(e){return function(t){var r,n,i=t.children,l=t.content,c=t.visible,u=t.singleton,p=t.render,d=t.reference,f=t.disabled,h=void 0!==f&&f,m=t.ignoreAttributes,g=void 0===m||m,y=(t.__source,t.__self,Pd(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==c,b=void 0!==u,x=(0,a.useState)(!1),w=x[0],E=x[1],k=(0,a.useState)({}),S=k[0],C=k[1],A=(0,a.useState)(),_=A[0],P=A[1],T=(r=function(){return{container:Fd(),renders:1}},(n=(0,a.useRef)()).current||(n.current="function"==typeof r?r():r),n.current),I=Object.assign({ignoreAttributes:g},y,{content:T.container});v&&(I.trigger="manual",I.hideOnClick=!1),b&&(h=!0);var F=I,M=I.plugins||[];p&&(F=Object.assign({},I,{plugins:b&&null!=u.data?[].concat(M,[{fn:function(){return{onTrigger:function(e,t){var r=u.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=r.instance,P(r.content)}}}}]):M,render:function(){return{popper:T.container}}}));var D=[d].concat(i?[i.type]:[]);return Rd((function(){var t=d;d&&d.hasOwnProperty("current")&&(t=d.current);var r=e(t||T.ref||Fd(),Object.assign({},F,{plugins:[Od].concat(I.plugins||[])}));return T.instance=r,h&&r.disable(),c&&r.show(),b&&u.hook({instance:r,content:l,props:F,setSingletonContent:P}),E(!0),function(){r.destroy(),null==u||u.cleanup(r)}}),D),Rd((function(){var e,t,r,n,a;if(1!==T.renders){var i=T.instance;i.setProps((t=i.props,r=F,Object.assign({},r,{popperOptions:Object.assign({},t.popperOptions,r.popperOptions,{modifiers:Dd([].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],(null==(a=r.popperOptions)?void 0:a.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),h?i.disable():i.enable(),v&&(c?i.show():i.hide()),b&&u.hook({instance:i,content:l,props:F,setSingletonContent:P})}else T.renders++})),Rd((function(){var e;if(p){var t=T.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,r=e.state,n=null==(t=r.modifiersData)?void 0:t.hide;S.placement===r.placement&&S.referenceHidden===(null==n?void 0:n.isReferenceHidden)&&S.escaped===(null==n?void 0:n.hasPopperEscaped)||C({placement:r.placement,referenceHidden:null==n?void 0:n.isReferenceHidden,escaped:null==n?void 0:n.hasPopperEscaped}),r.attributes.popper={}}}])})})}}),[S.placement,S.referenceHidden,S.escaped].concat(D)),s().createElement(s().Fragment,null,i?(0,a.cloneElement)(i,{ref:function(e){T.ref=e,Id(i.ref,e)}}):null,w&&(0,o.createPortal)(p?p(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(S),_,T.instance):l,T.container))}}var Nd=function(e,t){return(0,a.forwardRef)((function(r,n){var i=r.children,o=Pd(r,["children"]);return s().createElement(e,Object.assign({},t,o),i?(0,a.cloneElement)(i,{ref:function(e){Id(n,e),Id(i.ref,e)}}):null)}))};const Bd=Nd(Vd(_d),{render:function(){return""}});var jd=function(e,t){return jd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},jd(e,t)};function zd(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}jd(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var Hd=function(){return Hd=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Hd.apply(this,arguments)};function Gd(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}function Wd(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return s}function qd(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Ud=("undefined"==typeof process||process.env,"production"),Xd=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Qd={measureLayout:Xd(["layout","layoutId","drag"]),animation:Xd(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Xd(["exit"]),drag:Xd(["drag","dragControls"]),focus:Xd(["whileFocus"]),hover:Xd(["whileHover","onHoverStart","onHoverEnd"]),tap:Xd(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Xd(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Xd(["whileInView","onViewportEnter","onViewportLeave"])},$d=(0,a.createContext)({strict:!1}),Jd=Object.keys(Qd),Zd=Jd.length,Yd=(0,a.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Kd=(0,a.createContext)({}),ef=(0,a.createContext)(null),tf="undefined"!=typeof document,rf=tf?a.useLayoutEffect:a.useEffect,nf={current:null},af=!1;function sf(e,t,r,n){var i,s,o=(0,a.useContext)($d),l=(0,a.useContext)(Kd).visualElement,c=(0,a.useContext)(ef),u=(!af&&function(){if(af=!0,tf)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return nf.current=e.matches};e.addListener(t),t()}else nf.current=!1}(),i=Wd((0,a.useState)(nf.current),1)[0],"never"!==(s=(0,a.useContext)(Yd).reducedMotion)&&("always"===s||i)),p=(0,a.useRef)(void 0);n||(n=o.renderer),!p.current&&n&&(p.current=n(e,{visualState:t,parent:l,props:r,presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial),shouldReduceMotion:u}));var d=p.current;return rf((function(){null==d||d.syncRender()})),(0,a.useEffect)((function(){var e;null===(e=null==d?void 0:d.animationState)||void 0===e||e.animateChanges()})),rf((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}function of(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function lf(e){return Array.isArray(e)}function cf(e){return"string"==typeof e||lf(e)}function uf(e,t,r,n,a){var i;return void 0===n&&(n={}),void 0===a&&(a={}),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,a)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,a)),t}function pf(e,t,r){var n=e.getProps();return uf(n,t,null!=r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function df(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||cf(e.initial)||cf(e.animate)||cf(e.whileHover)||cf(e.whileDrag)||cf(e.whileTap)||cf(e.whileFocus)||cf(e.exit)}function ff(e){return Boolean(df(e)||e.variants)}function hf(e){return Array.isArray(e)?e.join(" "):e}function mf(e){var t=(0,a.useRef)(null);return null===t.current&&(t.current=e()),t.current}var gf={hasAnimatedSinceResize:!0,hasEverUpdated:!1},yf=1,vf=(0,a.createContext)({}),bf=(0,a.createContext)({}),xf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zd(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(a.Component);function wf(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,s=e.useVisualState,o=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Qd.projectionNodeConstructor=e[t]:Qd[t].Component=e[t])}(t),(0,a.forwardRef)((function(e,l){var c=function(e){var t,r=e.layoutId,n=null===(t=(0,a.useContext)(vf))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=Hd(Hd({},e),{layoutId:c});var u=(0,a.useContext)(Yd),p=null,d=function(e){var t=function(e,t){if(df(e)){var r=e.initial,n=e.animate;return{initial:!1===r||cf(r)?r:void 0,animate:cf(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(Kd)),r=t.initial,n=t.animate;return(0,a.useMemo)((function(){return{initial:r,animate:n}}),[hf(r),hf(n)])}(e),f=u.isStatic?void 0:mf((function(){if(gf.hasEverUpdated)return yf++})),h=s(e,u.isStatic);return!u.isStatic&&tf&&(d.visualElement=sf(o,h,Hd(Hd({},u),e),r),function(e,t,r,n){var i,s=t.layoutId,o=t.layout,l=t.drag,c=t.dragConstraints,u=t.layoutScroll,p=(0,a.useContext)(bf);n&&r&&!(null==r?void 0:r.projection)&&(r.projection=new n(e,r.getLatestValues(),null===(i=r.parent)||void 0===i?void 0:i.projection),r.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(l)||c&&of(c),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof o?o:"both",initialPromotionConfig:p,layoutScroll:u}))}(f,e,d.visualElement,n||Qd.projectionNodeConstructor),p=function(e,t,r){var n=[],i=(0,a.useContext)($d);if(!t)return null;"production"!==Ud&&r&&i.strict;for(var s=0;s<Zd;s++){var o=Jd[s],l=Qd[o],c=l.isEnabled,u=l.Component;c(e)&&u&&n.push(a.createElement(u,Hd({key:o},e,{visualElement:t})))}return n}(e,d.visualElement,t)),a.createElement(xf,{visualElement:d.visualElement,props:Hd(Hd({},u),e)},p,a.createElement(Kd.Provider,{value:d},i(o,e,f,function(e,t,r){return(0,a.useCallback)((function(n){var a;n&&(null===(a=e.mount)||void 0===a||a.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):of(r)&&(r.current=n))}),[t])}(h,d.visualElement,l),h,u.isStatic,d.visualElement)))}))}function Ef(e){function t(t,r){return void 0===r&&(r={}),wf(e(t,r))}if("undefined"==typeof Proxy)return t;var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var kf=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Sf(e){return"string"==typeof e&&!e.includes("-")&&!!(kf.indexOf(e)>-1||/[A-Z]/.test(e))}var Cf={},Af=["","X","Y","Z"],_f=["transformPerspective","x","y","z"];function Pf(e,t){return _f.indexOf(e)-_f.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Af.forEach((function(t){return _f.push(e+t)}))}));var Tf=new Set(_f);function If(e){return Tf.has(e)}var Ff=new Set(["originX","originY","originZ"]);function Mf(e){return Ff.has(e)}function Df(e,t){var r=t.layout,n=t.layoutId;return If(e)||Mf(e)||(r||void 0!==n)&&(!!Cf[e]||"opacity"===e)}var Rf=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},Lf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Of(e){return e.startsWith("--")}var Vf=function(e,t){return t&&"number"==typeof e?t.transform(e):e};const Nf=(e,t)=>r=>Math.max(Math.min(r,t),e),Bf=e=>e%1?Number(e.toFixed(5)):e,jf=/(-)?([\d]*\.?[\d])+/g,zf=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Hf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Gf(e){return"string"==typeof e}const Wf=e=>({test:t=>Gf(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),qf=Wf("deg"),Uf=Wf("%"),Xf=Wf("px"),Qf=Wf("vh"),$f=Wf("vw"),Jf=Object.assign(Object.assign({},Uf),{parse:e=>Uf.parse(e)/100,transform:e=>Uf.transform(100*e)}),Zf={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Yf=Object.assign(Object.assign({},Zf),{transform:Nf(0,1)}),Kf=Object.assign(Object.assign({},Zf),{default:1});var eh=Hd(Hd({},Zf),{transform:Math.round}),th={borderWidth:Xf,borderTopWidth:Xf,borderRightWidth:Xf,borderBottomWidth:Xf,borderLeftWidth:Xf,borderRadius:Xf,radius:Xf,borderTopLeftRadius:Xf,borderTopRightRadius:Xf,borderBottomRightRadius:Xf,borderBottomLeftRadius:Xf,width:Xf,maxWidth:Xf,height:Xf,maxHeight:Xf,size:Xf,top:Xf,right:Xf,bottom:Xf,left:Xf,padding:Xf,paddingTop:Xf,paddingRight:Xf,paddingBottom:Xf,paddingLeft:Xf,margin:Xf,marginTop:Xf,marginRight:Xf,marginBottom:Xf,marginLeft:Xf,rotate:qf,rotateX:qf,rotateY:qf,rotateZ:qf,scale:Kf,scaleX:Kf,scaleY:Kf,scaleZ:Kf,skew:qf,skewX:qf,skewY:qf,distance:Xf,translateX:Xf,translateY:Xf,translateZ:Xf,x:Xf,y:Xf,z:Xf,perspective:Xf,transformPerspective:Xf,opacity:Yf,originX:Jf,originY:Jf,originZ:Xf,zIndex:eh,fillOpacity:Yf,strokeOpacity:Yf,numOctaves:eh};function rh(e,t,r,n){var a,i=e.style,s=e.vars,o=e.transform,l=e.transformKeys,c=e.transformOrigin;l.length=0;var u=!1,p=!1,d=!0;for(var f in t){var h=t[f];if(Of(f))s[f]=h;else{var m=th[f],g=Vf(h,m);if(If(f)){if(u=!0,o[f]=g,l.push(f),!d)continue;h!==(null!==(a=m.default)&&void 0!==a?a:0)&&(d=!1)}else Mf(f)?(c[f]=g,p=!0):i[f]=g}}u?i.transform=function(e,t,r,n){var a=e.transform,i=e.transformKeys,s=t.enableHardwareAcceleration,o=void 0===s||s,l=t.allowTransformNone,c=void 0===l||l,u="";i.sort(Pf);for(var p=!1,d=i.length,f=0;f<d;f++){var h=i[f];u+="".concat(Lf[h]||h,"(").concat(a[h],") "),"z"===h&&(p=!0)}return!p&&o?u+="translateZ(0)":u=u.trim(),n?u=n(a,r?"":u):c&&r&&(u="none"),u}(e,r,d,n):n?i.transform=n({},""):!t.transform&&i.transform&&(i.transform="none"),p&&(i.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,a=void 0===n?"50%":n,i=e.originZ,s=void 0===i?0:i;return"".concat(r," ").concat(a," ").concat(s)}(c))}function nh(e,t,r){for(var n in t)Rf(t[n])||Df(n,r)||(e[n]=t[n])}function ah(e,t,r){var n={},i=function(e,t,r){var n={};return nh(n,e.style||{},e),Object.assign(n,function(e,t,r){var n=e.transformTemplate;return(0,a.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};rh(e,t,{enableHardwareAcceleration:!r},n);var a=e.style;return Hd(Hd({},e.vars),a)}),[t])}(e,t,r)),e.transformValues&&(n=e.transformValues(n)),n}(e,t,r);return Boolean(e.drag)&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),n.style=i,n}var ih=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function sh(e){return ih.has(e)}var oh,lh=function(e){return!sh(e)};try{(oh=require("@emotion/is-prop-valid").default)&&(lh=function(e){return e.startsWith("on")?!sh(e):oh(e)})}catch(e){}function ch(e,t,r){return"string"==typeof e?e:Xf.transform(t+r*e)}var uh={offset:"stroke-dashoffset",array:"stroke-dasharray"},ph={offset:"strokeDashoffset",array:"strokeDasharray"};function dh(e,t,r,n){var a=t.attrX,i=t.attrY,s=t.originX,o=t.originY,l=t.pathLength,c=t.pathSpacing,u=void 0===c?1:c,p=t.pathOffset,d=void 0===p?0:p;rh(e,Gd(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n),e.attrs=e.style,e.style={};var f=e.attrs,h=e.style,m=e.dimensions;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==s||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,r){var n=ch(t,e.x,e.width),a=ch(r,e.y,e.height);return"".concat(n," ").concat(a)}(m,void 0!==s?s:.5,void 0!==o?o:.5)),void 0!==a&&(f.x=a),void 0!==i&&(f.y=i),void 0!==l&&function(e,t,r,n,a){void 0===r&&(r=1),void 0===n&&(n=0),void 0===a&&(a=!0),e.pathLength=1;var i=a?uh:ph;e[i.offset]=Xf.transform(-n);var s=Xf.transform(t),o=Xf.transform(r);e[i.array]="".concat(s," ").concat(o)}(f,l,u,d,!1)}var fh=function(){return Hd(Hd({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function hh(e,t){var r=(0,a.useMemo)((function(){var r=fh();return dh(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),Hd(Hd({},r.attrs),{style:Hd({},r.style)})}),[t]);if(e.style){var n={};nh(n,e.style,e),r.style=Hd(Hd({},n),r.style)}return r}function mh(e){return void 0===e&&(e=!1),function(t,r,n,i,s,o){var l=s.latestValues,c=(Sf(t)?hh:ah)(r,l,o),u=function(e,t,r){var n={};for(var a in e)(lh(a)||!0===r&&sh(a)||!t&&!sh(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(r,"string"==typeof t,e),p=Hd(Hd(Hd({},u),c),{ref:i});return n&&(p["data-projection-id"]=n),(0,a.createElement)(t,p)}}var gh=/([a-z])([A-Z])/g,yh=function(e){return e.replace(gh,"$1-$2").toLowerCase()};function vh(e,t,r,n){var a=t.style,i=t.vars;for(var s in Object.assign(e.style,a,n&&n.getProjectionStyles(r)),i)e.style.setProperty(s,i[s])}var bh=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function xh(e,t,r,n){for(var a in vh(e,t,void 0,n),t.attrs)e.setAttribute(bh.has(a)?a:yh(a),t.attrs[a])}function wh(e){var t=e.style,r={};for(var n in t)(Rf(t[n])||Df(n,e))&&(r[n]=t[n]);return r}function Eh(e){var t=wh(e);for(var r in e)Rf(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function kh(e){return"object"==typeof e&&"function"==typeof e.start}var Sh=function(e){return Array.isArray(e)},Ch=function(e){return Sh(e)?e[e.length-1]||0:e};function Ah(e){var t=Rf(e)?e.get():e;return function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(t)?t.toValue():t}function _h(e,t,r,n){var a=e.scrapeMotionValuesFromProps,i=e.createRenderState,s=e.onMount,o={latestValues:Th(t,r,n,a),renderState:i()};return s&&(o.mount=function(e){return s(t,e,o)}),o}var Ph=function(e){return function(t,r){var n=(0,a.useContext)(Kd),i=(0,a.useContext)(ef);return r?_h(e,t,n,i):mf((function(){return _h(e,t,n,i)}))}};function Th(e,t,r,n){var a={},i=!1===(null==r?void 0:r.initial),s=n(e);for(var o in s)a[o]=Ah(s[o]);var l=e.initial,c=e.animate,u=df(e),p=ff(e);t&&p&&!u&&!1!==e.inherit&&(null!=l||(l=t.initial),null!=c||(c=t.animate));var d=i||!1===l,f=d?c:l;return f&&"boolean"!=typeof f&&!kh(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var r=uf(e,t);if(r){var n=r.transitionEnd;r.transition;var i=Gd(r,["transitionEnd","transition"]);for(var s in i){var o=i[s];Array.isArray(o)&&(o=o[d?o.length-1:0]),null!==o&&(a[s]=o)}for(var s in n)a[s]=n[s]}})),a}var Ih,Fh={useVisualState:Ph({scrapeMotionValuesFromProps:Eh,createRenderState:fh,onMount:function(e,t,r){var n=r.renderState,a=r.latestValues;try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}dh(n,a,{enableHardwareAcceleration:!1},e.transformTemplate),xh(t,n)}})},Mh={useVisualState:Ph({scrapeMotionValuesFromProps:wh,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function Dh(e,t,r,n){return void 0===n&&(n={passive:!0}),e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r)}}function Rh(e,t,r,n){(0,a.useEffect)((function(){var a=e.current;if(r&&a)return Dh(a,t,r,n)}),[e,t,r,n])}function Lh(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Oh(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(Ih||(Ih={}));var Vh={pageX:0,pageY:0};function Nh(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Vh;return{x:r[t+"X"],y:r[t+"Y"]}}function Bh(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function jh(e,t){return void 0===t&&(t="page"),{point:Oh(e)?Nh(e,t):Bh(e,t)}}var zh=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,jh(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},Hh={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Gh={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Wh(e){return tf&&null===window.onpointerdown?e:tf&&null===window.ontouchstart?Gh[e]:tf&&null===window.onmousedown?Hh[e]:e}function qh(e,t,r,n){return Dh(e,Wh(t),zh(r,"pointerdown"===t),n)}function Uh(e,t,r,n){return Rh(e,Wh(t),r&&zh(r,"pointerdown"===t),n)}function Xh(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Qh=Xh("dragHorizontal"),$h=Xh("dragVertical");function Jh(e){var t=!1;if("y"===e)t=$h();else if("x"===e)t=Qh();else{var r=Qh(),n=$h();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function Zh(){var e=Jh(!0);return!e||(e(),!1)}function Yh(e,t,r){return function(n,a){var i;Lh(n)&&!Zh()&&(null===(i=e.animationState)||void 0===i||i.setActive(Ih.Hover,t),null==r||r(n,a))}}var Kh=function(e,t){return!!t&&(e===t||Kh(e,t.parentElement))};function em(e){return(0,a.useEffect)((function(){return function(){return e()}}),[])}const tm=(e,t)=>r=>t(e(r)),rm=(...e)=>e.reduce(tm);var nm=new Set,am=new WeakMap,im=new WeakMap,sm=function(e){var t;null===(t=am.get(e.target))||void 0===t||t(e)},om=function(e){e.forEach(sm)};var lm={some:0,all:1};function cm(e,t,r,n){var i=n.root,s=n.margin,o=n.amount,l=void 0===o?"some":o,c=n.once;(0,a.useEffect)((function(){if(e){var n={root:null==i?void 0:i.current,rootMargin:s,threshold:"number"==typeof l?l:lm[l]};return function(e,t,r){var n=function(e){var t=e.root,r=Gd(e,["root"]),n=t||document;im.has(n)||im.set(n,{});var a=im.get(n),i=JSON.stringify(r);return a[i]||(a[i]=new IntersectionObserver(om,Hd({root:t},r))),a[i]}(t);return am.set(e,r),n.observe(e),function(){am.delete(e),n.unobserve(e)}}(r.getInstance(),n,(function(e){var n,a=e.isIntersecting;if(t.isInView!==a&&(t.isInView=a,!c||a||!t.hasEnteredView)){a&&(t.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(Ih.InView,a);var i=r.getProps(),s=a?i.onViewportEnter:i.onViewportLeave;null==s||s(e)}}))}}),[e,i,s,l])}function um(e,t,r,n){var i=n.fallback,s=void 0===i||i;(0,a.useEffect)((function(){var n;e&&s&&("production"!==Ud&&(n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",nm.has(n)||(console.warn(n),nm.add(n))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null==n||n(null),null===(e=r.animationState)||void 0===e||e.setActive(Ih.InView,!0)})))}),[e])}var pm=function(e){return function(t){return e(t),null}},dm={inView:pm((function(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,s=e.viewport,o=void 0===s?{}:s,l=(0,a.useRef)({hasEnteredView:!1,isInView:!1}),c=Boolean(r||n||i);o.once&&l.current.hasEnteredView&&(c=!1),("undefined"==typeof IntersectionObserver?um:cm)(c,l.current,t,o)})),tap:pm((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,s=e.visualElement,o=t||r||n||i,l=(0,a.useRef)(!1),c=(0,a.useRef)(null),u={passive:!(r||t||n||m)};function p(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function d(){var e;return p(),l.current=!1,null===(e=s.animationState)||void 0===e||e.setActive(Ih.Tap,!1),!Zh()}function f(e,r){d()&&(Kh(s.getInstance(),e.target)?null==t||t(e,r):null==n||n(e,r))}function h(e,t){d()&&(null==n||n(e,t))}function m(e,t){var n;p(),l.current||(l.current=!0,c.current=rm(qh(window,"pointerup",f,u),qh(window,"pointercancel",h,u)),null===(n=s.animationState)||void 0===n||n.setActive(Ih.Tap,!0),null==r||r(e,t))}Uh(s,"pointerdown",o?m:void 0,u),em(p)})),focus:pm((function(e){var t=e.whileFocus,r=e.visualElement;Rh(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Ih.Focus,!0)}:void 0),Rh(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Ih.Focus,!1)}:void 0)})),hover:pm((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,a=e.visualElement;Uh(a,"pointerenter",t||n?Yh(a,!0,t):void 0,{passive:!t}),Uh(a,"pointerleave",r||n?Yh(a,!1,r):void 0,{passive:!r})}))},fm=0,hm=function(){return fm++};function mm(){var e=(0,a.useContext)(ef);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=mf(hm);return(0,a.useEffect)((function(){return n(i)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(i)}]:[!0]}function gm(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const ym=(e,t,r)=>Math.min(Math.max(r,e),t);const vm=12;function bm(e,t){return e*Math.sqrt(1-t*t)}const xm=["duration","bounce"],wm=["stiffness","damping","mass"];function Em(e,t){return t.some((t=>void 0!==e[t]))}function km(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:a}=e,i=Gd(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:o,damping:l,mass:c,velocity:u,duration:p,isResolvedFromDuration:d}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Em(e,wm)&&Em(e,xm)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let a,i,s=1-t;s=ym(.05,1,s),e=ym(.01,10,e/1e3),s<1?(a=t=>{const n=t*s,a=n*e;return.001-(n-r)/bm(t,s)*Math.exp(-a)},i=t=>{const n=t*s*e,i=n*r+r,o=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=bm(Math.pow(t,2),s);return(.001-a(t)>0?-1:1)*((i-o)*l)/c}):(a=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const o=function(e,t,r){let n=r;for(let r=1;r<vm;r++)n-=e(n)/t(n);return n}(a,i,5/e);if(e*=1e3,isNaN(o))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(o,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(i),f=Sm,h=Sm;function m(){const e=u?-u/1e3:0,n=r-t,i=l/(2*Math.sqrt(o*c)),s=Math.sqrt(o/c)/1e3;if(void 0===a&&(a=Math.min(Math.abs(r-t)/100,.4)),i<1){const t=bm(s,i);f=a=>{const o=Math.exp(-i*s*a);return r-o*((e+i*s*n)/t*Math.sin(t*a)+n*Math.cos(t*a))},h=r=>{const a=Math.exp(-i*s*r);return i*s*a*(Math.sin(t*r)*(e+i*s*n)/t+n*Math.cos(t*r))-a*(Math.cos(t*r)*(e+i*s*n)-t*n*Math.sin(t*r))}}else if(1===i)f=t=>r-Math.exp(-s*t)*(n+(e+s*n)*t);else{const t=s*Math.sqrt(i*i-1);f=a=>{const o=Math.exp(-i*s*a),l=Math.min(t*a,300);return r-o*((e+i*s*n)*Math.sinh(l)+t*n*Math.cosh(l))/t}}}return m(),{next:e=>{const t=f(e);if(d)s.done=e>=p;else{const i=1e3*h(e),o=Math.abs(i)<=n,l=Math.abs(r-t)<=a;s.done=o&&l}return s.value=s.done?r:t,s},flipTarget:()=>{u=-u,[t,r]=[r,t],m()}}}km.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const Sm=e=>0,Cm=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},Am=(e,t,r)=>-r*e+r*t+e,_m=(e,t)=>r=>Boolean(Gf(r)&&Hf.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Pm=(e,t,r)=>n=>{if(!Gf(n))return n;const[a,i,s,o]=n.match(jf);return{[e]:parseFloat(a),[t]:parseFloat(i),[r]:parseFloat(s),alpha:void 0!==o?parseFloat(o):1}},Tm=Nf(0,255),Im=Object.assign(Object.assign({},Zf),{transform:e=>Math.round(Tm(e))}),Fm={test:_m("rgb","red"),parse:Pm("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Im.transform(e)+", "+Im.transform(t)+", "+Im.transform(r)+", "+Bf(Yf.transform(n))+")"},Mm={test:_m("#"),parse:function(e){let t="",r="",n="",a="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}},transform:Fm.transform},Dm={test:_m("hsl","hue"),parse:Pm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Uf.transform(Bf(t))+", "+Uf.transform(Bf(r))+", "+Bf(Yf.transform(n))+")"};function Rm(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Lm({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let a=0,i=0,s=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,o=2*r-n;a=Rm(o,n,e+1/3),i=Rm(o,n,e),s=Rm(o,n,e-1/3)}else a=i=s=r;return{red:Math.round(255*a),green:Math.round(255*i),blue:Math.round(255*s),alpha:n}}const Om=(e,t,r)=>{const n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},Vm=[Mm,Fm,Dm],Nm=e=>Vm.find((t=>t.test(e))),Bm=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,jm=(e,t)=>{let r=Nm(e),n=Nm(t);Bm(e),Bm(t);let a=r.parse(e),i=n.parse(t);r===Dm&&(a=Lm(a),r=Fm),n===Dm&&(i=Lm(i),n=Fm);const s=Object.assign({},a);return e=>{for(const t in s)"alpha"!==t&&(s[t]=Om(a[t],i[t],e));return s.alpha=Am(a.alpha,i.alpha,e),r.transform(s)}},zm={test:e=>Fm.test(e)||Mm.test(e)||Dm.test(e),parse:e=>Fm.test(e)?Fm.parse(e):Dm.test(e)?Dm.parse(e):Mm.parse(e),transform:e=>Gf(e)?e:e.hasOwnProperty("red")?Fm.transform(e):Dm.transform(e)},Hm="${c}",Gm="${n}";function Wm(e){"number"==typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(zf);n&&(r=n.length,e=e.replace(zf,Hm),t.push(...n.map(zm.parse)));const a=e.match(jf);return a&&(e=e.replace(jf,Gm),t.push(...a.map(Zf.parse))),{values:t,numColors:r,tokenised:e}}function qm(e){return Wm(e).values}function Um(e){const{values:t,numColors:r,tokenised:n}=Wm(e),a=t.length;return e=>{let t=n;for(let n=0;n<a;n++)t=t.replace(n<r?Hm:Gm,n<r?zm.transform(e[n]):Bf(e[n]));return t}}const Xm=e=>"number"==typeof e?0:e,Qm={test:function(e){var t,r,n,a;return isNaN(e)&&Gf(e)&&(null!==(r=null===(t=e.match(jf))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(a=null===(n=e.match(zf))||void 0===n?void 0:n.length)&&void 0!==a?a:0)>0},parse:qm,createTransformer:Um,getAnimatableNone:function(e){const t=qm(e);return Um(e)(t.map(Xm))}},$m=e=>"number"==typeof e;function Jm(e,t){return $m(e)?r=>Am(e,t,r):zm.test(e)?jm(e,t):eg(e,t)}const Zm=(e,t)=>{const r=[...e],n=r.length,a=e.map(((e,r)=>Jm(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}},Ym=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const a in r)void 0!==e[a]&&void 0!==t[a]&&(n[a]=Jm(e[a],t[a]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function Km(e){const t=Qm.parse(e),r=t.length;let n=0,a=0,i=0;for(let e=0;e<r;e++)n||"number"==typeof t[e]?n++:void 0!==t[e].hue?i++:a++;return{parsed:t,numNumbers:n,numRGB:a,numHSL:i}}const eg=(e,t)=>{const r=Qm.createTransformer(t),n=Km(e),a=Km(t);return n.numHSL===a.numHSL&&n.numRGB===a.numRGB&&n.numNumbers>=a.numNumbers?rm(Zm(n.parsed,a.parsed),r):r=>`${r>0?t:e}`},tg=(e,t)=>r=>Am(e,t,r);function rg(e,t,{clamp:r=!0,ease:n,mixer:a}={}){const i=e.length;t.length,!n||!Array.isArray(n)||n.length,e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const s=function(e,t,r){const n=[],a=r||function(e){return"number"==typeof e?tg:"string"==typeof e?zm.test(e)?jm:eg:Array.isArray(e)?Zm:"object"==typeof e?Ym:void 0}(e[0]),i=e.length-1;for(let r=0;r<i;r++){let i=a(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]:t;i=rm(e,i)}n.push(i)}return n}(t,n,a),o=2===i?function([e,t],[r]){return n=>r(Cm(e,t,n))}(e,s):function(e,t){const r=e.length,n=r-1;return a=>{let i=0,s=!1;if(a<=e[0]?s=!0:a>=e[n]&&(i=n-1,s=!0),!s){let t=1;for(;t<r&&!(e[t]>a||t===n);t++);i=t-1}const o=Cm(e[i],e[i+1],a);return t[i](o)}}(e,s);return r?t=>o(ym(e[0],e[i-1],t)):o}const ng=e=>t=>1-e(1-t),ag=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ig=e=>t=>t*t*((e+1)*t-e),sg=4/11,og=8/11,lg=e=>e,cg=e=>Math.pow(e,2);const ug=ng(cg),pg=ag(cg),dg=e=>1-Math.sin(Math.acos(e)),fg=ng(dg),hg=ag(fg),mg=ig(1.525),gg=ng(mg),yg=ag(mg),vg=(()=>{const e=ig(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),bg=4356/361,xg=35442/1805,wg=16061/1805,Eg=e=>{if(1===e||0===e)return e;const t=e*e;return e<sg?7.5625*t:e<og?9.075*t-9.9*e+3.4:e<.9?bg*t-xg*e+wg:10.8*e*e-20.52*e+10.72},kg=ng(Eg);function Sg(e,t){return e.map((()=>t||pg)).splice(0,e.length-1)}function Cg({from:e=0,to:t=1,ease:r,offset:n,duration:a=300}){const i={done:!1,value:e},s=Array.isArray(t)?t:[e,t],o=function(e,t){return e.map((e=>e*t))}(n&&n.length===s.length?n:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(s),a);function l(){return rg(o,s,{ease:Array.isArray(r)?r:Sg(s,r)})}let c=l();return{next:e=>(i.value=c(e),i.done=e>=a,i),flipTarget:()=>{s.reverse(),c=l()}}}const Ag={keyframes:Cg,spring:km,decay:function({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:a=.5,modifyTarget:i}){const s={done:!1,value:t};let o=r*e;const l=t+o,c=void 0===i?l:i(l);return c!==l&&(o=c-t),{next:e=>{const t=-o*Math.exp(-e/n);return s.done=!(t>a||t<-a),s.value=s.done?c:c+t,s},flipTarget:()=>{}}}},_g=1/60*1e3,Pg="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Tg="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(Pg())),_g);let Ig=!0,Fg=!1,Mg=!1;const Dg={delta:0,timestamp:0},Rg=["read","update","preRender","render","postRender"],Lg=Rg.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,a=!1,i=!1;const s=new WeakSet,o={schedule:(e,i=!1,o=!1)=>{const l=o&&a,c=l?t:r;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&a&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),s.delete(e)},process:l=>{if(a)i=!0;else{if(a=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(l),s.has(n)&&(o.schedule(n),e())}a=!1,i&&(i=!1,o.process(l))}}};return o}((()=>Fg=!0)),e)),{}),Og=Rg.reduce(((e,t)=>{const r=Lg[t];return e[t]=(e,t=!1,n=!1)=>(Fg||zg(),r.schedule(e,t,n)),e}),{}),Vg=Rg.reduce(((e,t)=>(e[t]=Lg[t].cancel,e)),{}),Ng=Rg.reduce(((e,t)=>(e[t]=()=>Lg[t].process(Dg),e)),{}),Bg=e=>Lg[e].process(Dg),jg=e=>{Fg=!1,Dg.delta=Ig?_g:Math.max(Math.min(e-Dg.timestamp,40),1),Dg.timestamp=e,Mg=!0,Rg.forEach(Bg),Mg=!1,Fg&&(Ig=!1,Tg(jg))},zg=()=>{Fg=!0,Ig=!0,Mg||Tg(jg)},Hg=()=>Dg,Gg=Og;function Wg(e,t,r=0){return e-t-r}const qg=e=>{const t=({delta:t})=>e(t);return{start:()=>Gg.update(t,!0),stop:()=>Vg.update(t)}};function Ug(e){var t,r,{from:n,autoplay:a=!0,driver:i=qg,elapsed:s=0,repeat:o=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:p,onComplete:d,onRepeat:f,onUpdate:h}=e,m=Gd(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,y,v,{to:b}=m,x=0,w=m.duration,E=!1,k=!0;const S=function(e){if(Array.isArray(e.to))return Cg;if(Ag[e.type])return Ag[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Cg:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?km:Cg}(m);(null===(r=(t=S).needsInterpolation)||void 0===r?void 0:r.call(t,n,b))&&(v=rg([0,100],[n,b],{clamp:!1}),n=0,b=100);const C=S(Object.assign(Object.assign({},m),{from:n,to:b}));return a&&(null==u||u(),g=i((function(e){if(k||(e=-e),s+=e,!E){const e=C.next(Math.max(0,s));y=e.value,v&&(y=v(y)),E=k?e.done:s<=0}null==h||h(y),E&&(0===x&&(null!=w||(w=s)),x<o?function(e,t,r,n){return n?e>=t+r:e<=-r}(s,w,c,k)&&(x++,"reverse"===l?(k=x%2==0,s=function(e,t,r=0,n=!0){return n?Wg(t+-e,t,r):t-(e-t)+r}(s,w,c,k)):(s=Wg(s,w,c),"mirror"===l&&C.flipTarget()),E=!1,f&&f()):(g.stop(),d&&d()))})),g.start()),{stop:()=>{null==p||p(),g.stop()}}}function Xg(e,t){return t?e*(1e3/t):0}var Qg=function(e){return 1e3*e};const $g=(e,t)=>1-3*t+3*e,Jg=(e,t)=>3*t-6*e,Zg=e=>3*e,Yg=(e,t,r)=>(($g(t,r)*e+Jg(t,r))*e+Zg(t))*e,Kg=(e,t,r)=>3*$g(t,r)*e*e+2*Jg(t,r)*e+Zg(t),ey=.1;function ty(e,t,r,n){if(e===t&&r===n)return lg;const a=new Float32Array(11);for(let t=0;t<11;++t)a[t]=Yg(t*ey,e,r);return i=>0===i||1===i?i:Yg(function(t){let n=0,i=1;for(;10!==i&&a[i]<=t;++i)n+=ey;--i;const s=n+(t-a[i])/(a[i+1]-a[i])*ey,o=Kg(s,e,r);return o>=.001?function(e,t,r,n){for(let a=0;a<8;++a){const a=Kg(t,r,n);if(0===a)return t;t-=(Yg(t,r,n)-e)/a}return t}(t,s,e,r):0===o?s:function(e,t,r,n,a){let i,s,o=0;do{s=t+(r-t)/2,i=Yg(s,n,a)-e,i>0?r=s:t=s}while(Math.abs(i)>1e-7&&++o<10);return s}(t,n,n+ey,e,r)}(i),t,n)}var ry={linear:lg,easeIn:cg,easeInOut:pg,easeOut:ug,circIn:dg,circInOut:hg,circOut:fg,backIn:mg,backInOut:yg,backOut:gg,anticipate:vg,bounceIn:kg,bounceInOut:e=>e<.5?.5*(1-Eg(1-2*e)):.5*Eg(2*e-1)+.5,bounceOut:Eg},ny=function(e){if(Array.isArray(e)){e.length;var t=Wd(e,4);return ty(t[0],t[1],t[2],t[3])}return"string"==typeof e?("Invalid easing type '".concat(e,"'"),ry[e]):e},ay=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Qm.test(t)||t.startsWith("url(")))},iy=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},sy=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},oy=function(){return{type:"keyframes",ease:"linear",duration:.3}},ly=function(e){return{type:"keyframes",duration:.8,values:e}},cy={x:iy,y:iy,z:iy,rotate:iy,rotateX:iy,rotateY:iy,rotateZ:iy,scaleX:sy,scaleY:sy,scale:sy,opacity:oy,backgroundColor:oy,color:oy,default:sy};const uy=new Set(["brightness","contrast","saturate","opacity"]);function py(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(jf)||[];if(!n)return e;const a=r.replace(n,"");let i=uy.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+a+")"}const dy=/([a-z-]*)\(.*?\)/g,fy=Object.assign(Object.assign({},Qm),{getAnimatableNone:e=>{const t=e.match(dy);return t?t.map(py).join(" "):e}});var hy=Hd(Hd({},th),{color:zm,backgroundColor:zm,outlineColor:zm,fill:zm,stroke:zm,borderColor:zm,borderTopColor:zm,borderRightColor:zm,borderBottomColor:zm,borderLeftColor:zm,filter:fy,WebkitFilter:fy}),my=function(e){return hy[e]};function gy(e,t){var r,n=my(e);return n!==fy&&(n=Qm),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}function yy(e,t,r){var n,a,i,s;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=qd([],Wd(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Gd(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Hd(Hd({},e),(a=r,i=t.to,s=Sh(i)?ly:cy[a]||cy.default,Hd({to:i},s(i))))),Hd(Hd({},t),function(e){var t=e.ease,r=e.times,n=e.yoyo,a=e.flip,i=e.loop,s=Gd(e,["ease","times","yoyo","flip","loop"]),o=Hd({},s);return r&&(o.offset=r),s.duration&&(o.duration=Qg(s.duration)),s.repeatDelay&&(o.repeatDelay=Qg(s.repeatDelay)),t&&(o.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(ny):ny(t)),"tween"===s.type&&(o.type="keyframes"),(n||i||a)&&(n?o.repeatType="reverse":i?o.repeatType="loop":a&&(o.repeatType="mirror"),o.repeat=i||n||a||s.repeat),"spring"!==s.type&&(o.type="keyframes"),o}(e))}function vy(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function by(e){return"number"==typeof e?0:gy("",e)}function xy(e,t){return e[t]||e.default||e}function wy(e,t,r,n){return void 0===n&&(n={}),t.start((function(a){var i,s,o=function(e,t,r,n,a){var i,s=xy(n,e),o=null!==(i=s.from)&&void 0!==i?i:t.get(),l=ay(e,r);"none"===o&&l&&"string"==typeof r?o=gy(e,r):vy(o)&&"string"==typeof r?o=by(r):!Array.isArray(r)&&vy(r)&&"string"==typeof o&&(r=by(o));var c=ay(e,o);return"You are trying to animate ".concat(e,' from "').concat(o,'" to "').concat(r,'". ').concat(o," is not an animatable value - to enable this animation set ").concat(o," to a value animatable to ").concat(r," via the `style` property."),c&&l&&!1!==s.type?function(){var n={from:o,to:r,velocity:t.getVelocity(),onComplete:a,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function({from:e=0,velocity:t=0,min:r,max:n,power:a=.8,timeConstant:i=750,bounceStiffness:s=500,bounceDamping:o=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:p,onComplete:d,onStop:f}){let h;function m(e){return void 0!==r&&e<r||void 0!==n&&e>n}function g(e){return void 0===r?n:void 0===n||Math.abs(r-e)<Math.abs(n-e)?r:n}function y(e){null==h||h.stop(),h=Ug(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var r;null==p||p(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:d,onStop:f}))}function v(e){y(Object.assign({type:"spring",stiffness:s,damping:o,restDelta:l},e))}if(m(e))v({from:e,velocity:t,to:g(e)});else{let n=a*t+e;void 0!==c&&(n=c(n));const s=g(n),o=s===r?-1:1;let u,p;const d=e=>{u=p,p=e,t=Xg(e-u,Hg().delta),(1===o&&e>s||-1===o&&e<s)&&v({from:e,to:s,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:i,power:a,restDelta:l,modifyTarget:c,onUpdate:m(n)?d:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(Hd(Hd({},n),s)):Ug(Hd(Hd({},yy(s,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;n.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e,n,i=Ch(r);return t.set(i),a(),null===(e=null==s?void 0:s.onUpdate)||void 0===e||e.call(s,i),null===(n=null==s?void 0:s.onComplete)||void 0===n||n.call(s),{stop:function(){}}}}(e,t,r,n,a),l=function(e,t){var r,n;return null!==(n=null!==(r=(xy(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==n?n:0}(n,e),c=function(){return s=o()};return l?i=window.setTimeout(c,Qg(l)):c(),function(){clearTimeout(i),null==s||s.stop()}}))}var Ey=function(e){return/^\-?\d*\.?\d+$/.test(e)},ky=function(e){return/^0[^.\s]+$/.test(e)};function Sy(e,t){-1===e.indexOf(t)&&e.push(t)}function Cy(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ay=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Sy(this.subscriptions,e),function(){return Cy(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var a=0;a<n;a++){var i=this.subscriptions[a];i&&i(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),_y=function(){function e(e){var t,r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Ay,this.velocityUpdateSubscribers=new Ay,this.renderSubscribers=new Ay,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=Hg(),a=n.delta,i=n.timestamp;r.lastUpdated!==i&&(r.timeDelta=a,r.lastUpdated=i,Gg.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Gg.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Xg(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Py(e){return new _y(e)}var Ty=function(e){return function(t){return t.test(e)}},Iy=[Zf,Xf,Uf,qf,$f,Qf,{test:function(e){return"auto"===e},parse:function(e){return e}}],Fy=function(e){return Iy.find(Ty(e))},My=qd(qd([],Wd(Iy),!1),[zm,Qm],!1),Dy=function(e){return My.find(Ty(e))};function Ry(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Py(r))}function Ly(e,t){if(t)return(t[e]||t.default||t).from}function Oy(e,t,r){var n;void 0===r&&(r={});var a=pf(e,t,r.custom),i=(a||{}).transition,s=void 0===i?e.getDefaultTransition()||{}:i;r.transitionOverride&&(s=r.transitionOverride);var o=a?function(){return Vy(e,a,r)}:function(){return Promise.resolve()},l=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var a=s.delayChildren,i=void 0===a?0:a,o=s.staggerChildren,l=s.staggerDirection;return function(e,t,r,n,a,i){void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=1);var s=[],o=(e.variantChildren.size-1)*n,l=1===a?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),o-e*n};return Array.from(e.variantChildren).sort(Ny).forEach((function(e,n){s.push(Oy(e,t,Hd(Hd({},i),{delay:r+l(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,i+n,o,l,r)}:function(){return Promise.resolve()},c=s.when;if(c){var u=Wd("beforeChildren"===c?[o,l]:[l,o],2),p=u[0],d=u[1];return p().then(d)}return Promise.all([o(),l(r.delay)])}function Vy(e,t,r){var n,a=void 0===r?{}:r,i=a.delay,s=void 0===i?0:i,o=a.transitionOverride,l=a.type,c=e.makeTargetAnimatable(t),u=c.transition,p=void 0===u?e.getDefaultTransition():u,d=c.transitionEnd,f=Gd(c,["transition","transitionEnd"]);o&&(p=o);var h=[],m=l&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[l]);for(var g in f){var y=e.getValue(g),v=f[g];if(!(!y||void 0===v||m&&By(m,g))){var b=Hd({delay:s},p);e.shouldReduceMotion&&If(g)&&(b=Hd(Hd({},b),{type:!1,delay:0}));var x=wy(g,y,v,b);h.push(x)}}return Promise.all(h).then((function(){d&&function(e,t){var r=pf(e,t),n=r?e.makeTargetAnimatable(r,!1):{},a=n.transitionEnd,i=void 0===a?{}:a;n.transition;var s=Gd(n,["transitionEnd","transition"]);for(var o in s=Hd(Hd({},s),i))Ry(e,o,Ch(s[o]))}(e,d)}))}function Ny(e,t){return e.sortNodePosition(t)}function By(e,t){var r=e.protectedKeys,n=e.needsAnimating,a=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,a}var jy=[Ih.Animate,Ih.InView,Ih.Focus,Ih.Hover,Ih.Tap,Ih.Drag,Ih.Exit],zy=qd([],Wd(jy),!1).reverse(),Hy=jy.length;function Gy(e){var t,r=function(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(t),Array.isArray(t)){var a=t.map((function(t){return Oy(e,t,r)}));n=Promise.all(a)}else if("string"==typeof t)n=Oy(e,t,r);else{var i="function"==typeof t?pf(e,t,r.custom):t;n=Vy(e,i,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}(e),n=((t={})[Ih.Animate]=Wy(!0),t[Ih.InView]=Wy(),t[Ih.Hover]=Wy(),t[Ih.Tap]=Wy(),t[Ih.Drag]=Wy(),t[Ih.Focus]=Wy(),t[Ih.Exit]=Wy(),t),a={},i=!0,s=function(t,r){var n=pf(e,r);if(n){n.transition;var a=n.transitionEnd,i=Gd(n,["transition","transitionEnd"]);t=Hd(Hd(Hd({},t),i),a)}return t};function o(t,o){for(var l,c=e.getProps(),u=e.getVariantContext(!0)||{},p=[],d=new Set,f={},h=1/0,m=function(r){var a=zy[r],m=n[a],g=null!==(l=c[a])&&void 0!==l?l:u[a],y=cf(g),v=a===o?m.isActive:null;!1===v&&(h=r);var b=g===u[a]&&g!==c[a]&&y;if(b&&i&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=Hd({},f),!m.isActive&&null===v||!g&&!m.prevProp||kh(g)||"boolean"==typeof g)return"continue";var x=function(e,t){return"string"==typeof t?t!==e:!!lf(t)&&!gm(t,e)}(m.prevProp,g),w=x||a===o&&m.isActive&&!b&&y||r>h&&y,E=Array.isArray(g)?g:[g],k=E.reduce(s,{});!1===v&&(k={});var S=m.prevResolvedValues,C=void 0===S?{}:S,A=Hd(Hd({},C),k),_=function(e){w=!0,d.delete(e),m.needsAnimating[e]=!0};for(var P in A){var T=k[P],I=C[P];f.hasOwnProperty(P)||(T!==I?Sh(T)&&Sh(I)?!gm(T,I)||x?_(P):m.protectedKeys[P]=!0:void 0!==T?_(P):d.add(P):void 0!==T&&d.has(P)?_(P):m.protectedKeys[P]=!0)}m.prevProp=g,m.prevResolvedValues=k,m.isActive&&(f=Hd(Hd({},f),k)),i&&e.blockInitialAnimation&&(w=!1),w&&!b&&p.push.apply(p,qd([],Wd(E.map((function(e){return{animation:e,options:Hd({type:a},t)}}))),!1))},g=0;g<Hy;g++)m(g);if(a=Hd({},f),d.size){var y={};d.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(y[t]=r)})),p.push({animation:y})}var v=Boolean(p.length);return i&&!1===c.initial&&!e.manuallyAnimateOnMount&&(v=!1),i=!1,v?r(p):Promise.resolve()}return{isAnimated:function(e){return void 0!==a[e]},animateChanges:o,setActive:function(t,r,a){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var s=o(a,t);for(var l in n)n[l].protectedKeys={};return s},setAnimateFunction:function(t){r=t(e)},getState:function(){return n}}}function Wy(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var qy={animation:pm((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=Gy(t)),kh(r)&&(0,a.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:pm((function(e){var t=e.custom,r=e.visualElement,n=Wd(mm(),2),i=n[0],s=n[1],o=(0,a.useContext)(ef);(0,a.useEffect)((function(){var e,n;r.isPresent=i;var a=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Ih.Exit,!i,{custom:null!==(n=null==o?void 0:o.custom)&&void 0!==n?n:t});!i&&(null==a||a.then(s))}),[i])}))};const Uy=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Xy=e=>Uy(e)&&e.hasOwnProperty("z"),Qy=(e,t)=>Math.abs(e-t);function $y(e,t){if($m(e)&&$m(t))return Qy(e,t);if(Uy(e)&&Uy(t)){const r=Qy(e.x,t.x),n=Qy(e.y,t.y),a=Xy(e)&&Xy(t)?Qy(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(a,2))}}var Jy=function(){function e(e,t,r){var n=this,a=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=Ky(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=$y(e.offset,{x:0,y:0})>=3;if(t||r){var a=e.point,i=Hg().timestamp;n.history.push(Hd(Hd({},a),{timestamp:i}));var s=n.handlers,o=s.onStart,l=s.onMove;t||(o&&o(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),l&&l(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=Zy(t,n.transformPagePoint),Lh(e)&&0===e.buttons?n.handlePointerUp(e,t):Gg.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,a=r.onEnd,i=r.onSessionEnd,s=Ky(Zy(t,n.transformPagePoint),n.history);n.startEvent&&a&&a(e,s),i&&i(e,s)},!(Oh(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=a;var i=Zy(jh(e),this.transformPagePoint),s=i.point,o=Hg().timestamp;this.history=[Hd(Hd({},s),{timestamp:o})];var l=t.onSessionStart;l&&l(e,Ky(i,this.history)),this.removeListeners=rm(qh(window,"pointermove",this.handlePointerMove),qh(window,"pointerup",this.handlePointerUp),qh(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Vg.update(this.updatePoint)},e}();function Zy(e,t){return t?{point:t(e.point)}:e}function Yy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ky(e,t){var r=e.point;return{point:r,delta:Yy(r,tv(t)),offset:Yy(r,ev(t)),velocity:rv(t,.1)}}function ev(e){return e[0]}function tv(e){return e[e.length-1]}function rv(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=tv(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Qg(t)));)r--;if(!n)return{x:0,y:0};var i=(a.timestamp-n.timestamp)/1e3;if(0===i)return{x:0,y:0};var s={x:(a.x-n.x)/i,y:(a.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function nv(e){return e.max-e.min}function av(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),$y(e,t)<r}function iv(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=Am(t.min,t.max,e.origin),e.scale=nv(r)/nv(t),(av(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Am(r.min,r.max,e.origin)-e.originPoint,(av(e.translate)||isNaN(e.translate))&&(e.translate=0)}function sv(e,t,r,n){iv(e.x,t.x,r.x,null==n?void 0:n.originX),iv(e.y,t.y,r.y,null==n?void 0:n.originY)}function ov(e,t,r){e.min=r.min+t.min,e.max=e.min+nv(t)}function lv(e,t,r){e.min=t.min-r.min,e.max=e.min+nv(t)}function cv(e,t,r){lv(e.x,t.x,r.x),lv(e.y,t.y,r.y)}function uv(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function pv(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=Wd([a,n],2))[0],a=r[1]),{min:n,max:a}}var dv=.35;function fv(e,t,r){return{min:hv(e,t),max:hv(e,r)}}function hv(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}function mv(e){return[e("x"),e("y")]}function gv(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function yv(e){return void 0===e||1===e}function vv(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!yv(t)||!yv(r)||!yv(n)}function bv(e){return vv(e)||xv(e.x)||xv(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function xv(e){return e&&"0%"!==e}function wv(e,t,r){return r+t*(e-r)}function Ev(e,t,r,n,a){return void 0!==a&&(e=wv(e,a,n)),wv(e,r,n)+t}function kv(e,t,r,n,a){void 0===t&&(t=0),void 0===r&&(r=1),e.min=Ev(e.min,t,r,n,a),e.max=Ev(e.max,t,r,n,a)}function Sv(e,t){var r=t.x,n=t.y;kv(e.x,r.translate,r.scale,r.originPoint),kv(e.y,n.translate,n.scale,n.originPoint)}function Cv(e,t){e.min=e.min+t,e.max=e.max+t}function Av(e,t,r){var n=Wd(r,3),a=n[0],i=n[1],s=n[2],o=void 0!==t[s]?t[s]:.5,l=Am(e.min,e.max,o);kv(e,t[a],t[i],l,t.scale)}var _v=["x","scaleX","originX"],Pv=["y","scaleY","originY"];function Tv(e,t){Av(e.x,t,_v),Av(e.y,t,Pv)}function Iv(e,t){return gv(function(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}var Fv=new WeakMap,Mv=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var r=this,n=(void 0===t?{}:t).snapToCursor,a=void 0!==n&&n;!1!==this.visualElement.isPresent&&(this.panSession=new Jy(e,{onSessionStart:function(e){r.stopAnimation(),a&&r.snapToCursor(jh(e,"page").point)},onStart:function(e,t){var n,a=r.getProps(),i=a.drag,s=a.dragPropagation,o=a.onDragStart;(!i||s||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=Jh(i),r.openGlobalLock))&&(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),mv((function(e){var t,n,a=r.getAxisMotionValue(e).get()||0;if(Uf.test(a)){var i=null===(n=null===(t=r.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];i&&(a=nv(i)*(parseFloat(a)/100))}r.originPoint[e]=a})),null==o||o(e,t),null===(n=r.visualElement.animationState)||void 0===n||n.setActive(Ih.Drag,!0))},onMove:function(e,t){var n=r.getProps(),a=n.dragPropagation,i=n.dragDirectionLock,s=n.onDirectionLock,o=n.onDrag;if(a||r.openGlobalLock){var l=t.offset;if(i&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(l),void(null!==r.currentDirection&&(null==s||s(r.currentDirection)));r.updateAxis("x",t.point,l),r.updateAxis("y",t.point,l),r.visualElement.syncRender(),null==o||o(e,t)}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var n=t.velocity;this.startAnimation(n);var a=this.getProps().onDragEnd;null==a||a(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Ih.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n,a,i,s,o,l=this.getProps().drag;if(r&&Dv(e,l,this.currentDirection)){var c=this.getAxisMotionValue(e),u=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(n=u,a=this.constraints[e],i=this.elastic[e],s=a.min,o=a.max,void 0!==s&&n<s?n=i?Am(s,n,i.min):Math.max(n,s):void 0!==o&&n>o&&(n=i?Am(o,n,i.max):Math.min(n,o)),u=n),c.set(u)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,n=t.dragElastic,a=(this.visualElement.projection||{}).layout,i=this.constraints;r&&of(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!a)&&function(e,t){var r=t.top,n=t.left,a=t.bottom,i=t.right;return{x:uv(e.x,n,i),y:uv(e.y,r,a)}}(a.actual,r),this.elastic=function(e){return void 0===e&&(e=dv),!1===e?e=0:!0===e&&(e=dv),{x:fv(e,"left","right"),y:fv(e,"top","bottom")}}(n),i!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&mv((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(a.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!of(t))return!1;var n=t.current,a=this.visualElement.projection;if(!a||!a.layout)return!1;var i=function(e,t,r){var n=Iv(e,r),a=t.scroll;return a&&(Cv(n.x,a.x),Cv(n.y,a.y)),n}(n,a.root,this.visualElement.getTransformPagePoint()),s=function(e,t){return{x:pv(e.x,t.x),y:pv(e.y,t.y)}}(a.layout.actual,i);if(r){var o=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(s));this.hasMutatedConstraints=!!o,o&&(s=gv(o))}return s},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,a=r.dragMomentum,i=r.dragElastic,s=r.dragTransition,o=r.dragSnapToOrigin,l=r.onDragTransitionEnd,c=this.constraints||{},u=mv((function(r){var l;if(Dv(r,n,t.currentDirection)){var u=null!==(l=null==c?void 0:c[r])&&void 0!==l?l:{};o&&(u={min:0,max:0});var p=i?200:1e6,d=i?40:1e7,f=Hd(Hd({type:"inertia",velocity:a?e[r]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),u);return t.startAxisValueAnimation(r,f)}}));return Promise.all(u).then(l)},e.prototype.startAxisValueAnimation=function(e,t){return wy(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;mv((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;mv((function(r){if(Dv(r,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,a=t.getAxisMotionValue(r);if(n&&n.layout){var i=n.layout.actual[r],s=i.min,o=i.max;a.set(e[r]-Am(s,o,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),n=r.drag,a=r.dragConstraints,i=this.visualElement.projection;if(of(a)&&i&&this.constraints){this.stopAnimation();var s={x:0,y:0};mv((function(e){var r,n,a,i,o,l=t.getAxisMotionValue(e);if(l){var c=l.get();s[e]=(r={min:c,max:c},n=t.constraints[e],a=.5,i=nv(r),(o=nv(n))>i?a=Cm(n.min,n.max-i,r.min):i>o&&(a=Cm(r.min,r.max-o,n.min)),ym(0,1,a))}}));var o=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=o?o({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),mv((function(e){if(Dv(e,n,null)){var r=t.getAxisMotionValue(e),a=t.constraints[e],i=a.min,o=a.max;r.set(Am(i,o,s[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;Fv.set(this.visualElement,this);var r=qh(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),n=r.drag,a=r.dragListener;n&&(void 0===a||a)&&t.start(e)})),n=function(){of(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,i=a.addEventListener("measure",n);a&&!a.layout&&(null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout()),n();var s=Dh(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return a.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(mv((function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=r[e].translate,n.set(n.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){s(),r(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,a=void 0!==n&&n,i=e.dragPropagation,s=void 0!==i&&i,o=e.dragConstraints,l=void 0!==o&&o,c=e.dragElastic,u=void 0===c?dv:c,p=e.dragMomentum,d=void 0===p||p;return Hd(Hd({},e),{drag:r,dragDirectionLock:a,dragPropagation:s,dragConstraints:l,dragElastic:u,dragMomentum:d})},e}();function Dv(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var Rv={pan:pm((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,s=e.visualElement,o=t||r||n||i,l=(0,a.useRef)(null),c=(0,a.useContext)(Yd).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(e,t){l.current=null,n&&n(e,t)}};(0,a.useEffect)((function(){null!==l.current&&l.current.updateHandlers(u)})),Uh(s,"pointerdown",o&&function(e){l.current=new Jy(e,u,{transformPagePoint:c})}),em((function(){return l.current&&l.current.end()}))})),drag:pm((function(e){var t=e.dragControls,r=e.visualElement,n=mf((function(){return new Mv(r)}));(0,a.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,a.useEffect)((function(){return n.addListeners()}),[n])}))},Lv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],Ov=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,a=e.getBaseTarget,i=e.makeTargetAnimatable,s=e.measureViewportBox,o=e.render,l=e.readValueFromInstance,c=e.removeValueFromRenderState,u=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var d=e.parent,f=e.props,h=e.presenceId,m=e.blockInitialAnimation,g=e.visualState,y=e.shouldReduceMotion;void 0===t&&(t={});var v,b,x=!1,w=g.latestValues,E=g.renderState,k=function(){var e=Lv.map((function(){return new Ay})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){Lv.forEach((function(n){var a,i="on"+n,s=e[i];null===(a=t[n])||void 0===a||a.call(t),s&&(t[n]=r[i](s))}))}};return e.forEach((function(e,t){r["on"+Lv[t]]=function(t){return e.add(t)},r["notify"+Lv[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,qd([],Wd(t),!1))}})),r}(),S=new Map,C=new Map,A={},_=Hd({},w);function P(){v&&x&&(T(),o(v,E,f.style,V.projection))}function T(){n(V,E,w,t,f)}function I(){k.notifyUpdate(w)}function F(e,t){var r=t.onChange((function(t){w[e]=t,f.onUpdate&&Gg.update(I,!1,!0)})),n=t.onRenderRequest(V.scheduleRender);C.set(e,(function(){r(),n()}))}var M=p(f);for(var D in M){var R=M[D];void 0!==w[D]&&Rf(R)&&R.set(w[D],!1)}var L=df(f),O=ff(f),V=Hd(Hd({treeType:r,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:h,shouldReduceMotion:y,variantChildren:O?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(v)},mount:function(e){x=!0,v=V.current=e,V.projection&&V.projection.mount(e),O&&d&&!L&&(b=null==d?void 0:d.addVariantChild(V)),S.forEach((function(e,t){return F(t,e)})),null==d||d.children.add(V),V.setProps(f)},unmount:function(){var e;null===(e=V.projection)||void 0===e||e.unmount(),Vg.update(I),Vg.render(P),C.forEach((function(e){return e()})),null==b||b(),null==d||d.children.delete(V),k.clearAllListeners(),v=void 0,x=!1},addVariantChild:function(e){var t,r=V.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return u&&r===e.treeType?u(V.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return O?V:null==d?void 0:d.getClosestVariantNode()},getLayoutId:function(){return f.layoutId},getInstance:function(){return v},getStaticValue:function(e){return w[e]},setStaticValue:function(e,t){return w[e]=t},getLatestValues:function(){return w},setVisibility:function(e){V.isVisible!==e&&(V.isVisible=e,V.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(V,e,f,t)},measureViewportBox:function(){return s(v,f)},addValue:function(e,t){V.hasValue(e)&&V.removeValue(e),S.set(e,t),w[e]=t.get(),F(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=C.get(e))||void 0===t||t(),C.delete(e),delete w[e],c(e,E)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var r=S.get(e);return void 0===r&&void 0!==t&&(r=Py(t),V.addValue(e,r)),r},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var r;return null!==(r=w[e])&&void 0!==r?r:l(v,e,t)},setBaseTarget:function(e,t){_[e]=t},getBaseTarget:function(e){if(a){var t=a(f,e);if(void 0!==t&&!Rf(t))return t}return _[e]}},k),{build:function(){return T(),E},scheduleRender:function(){Gg.render(P,!1,!0)},syncRender:P,setProps:function(e){(e.transformTemplate||f.transformTemplate)&&V.scheduleRender(),f=e,k.updatePropListeners(e),A=function(e,t,r){var n;for(var a in t){var i=t[a],s=r[a];if(Rf(i))e.addValue(a,i);else if(Rf(s))e.addValue(a,Py(i));else if(s!==i)if(e.hasValue(a)){var o=e.getValue(a);!o.hasAnimated&&o.set(i)}else e.addValue(a,Py(null!==(n=e.getStaticValue(a))&&void 0!==n?n:i))}for(var a in r)void 0===t[a]&&e.removeValue(a);return t}(V,p(f),A)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getTransformPagePoint:function(){return f.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==d?void 0:d.getVariantContext();if(!L){var t=(null==d?void 0:d.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var r={},n=0;n<Nv;n++){var a=Vv[n],i=f[a];(cf(i)||!1===i)&&(r[a]=i)}return r}});return V}},Vv=qd(["initial"],Wd(jy),!1),Nv=Vv.length;function Bv(e){return"string"==typeof e&&e.startsWith("var(--")}var jv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function zv(e,t,r){void 0===r&&(r=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var n=Wd(function(e){var t=jv.exec(e);if(!t)return[,];var r=Wd(t,3);return[r[1],r[2]]}(e),2),a=n[0],i=n[1];if(a){var s=window.getComputedStyle(t).getPropertyValue(a);return s?s.trim():Bv(i)?zv(i,t,r+1):i}}var Hv,Gv=new Set(["width","height","top","left","right","bottom","x","y"]),Wv=function(e){return Gv.has(e)},qv=function(e,t){e.set(t,!1),e.set(t)},Uv=function(e){return e===Zf||e===Xf};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Hv||(Hv={}));var Xv=function(e,t){return parseFloat(e.split(", ")[t])},Qv=function(e,t){return function(r,n){var a=n.transform;if("none"===a||!a)return 0;var i=a.match(/^matrix3d\((.+)\)$/);if(i)return Xv(i[1],t);var s=a.match(/^matrix\((.+)\)$/);return s?Xv(s[1],e):0}},$v=new Set(["x","y","z"]),Jv=_f.filter((function(e){return!$v.has(e)})),Zv={width:function(e,t){var r=e.x,n=t.paddingLeft,a=void 0===n?"0":n,i=t.paddingRight,s=void 0===i?"0":i;return r.max-r.min-parseFloat(a)-parseFloat(s)},height:function(e,t){var r=e.y,n=t.paddingTop,a=void 0===n?"0":n,i=t.paddingBottom,s=void 0===i?"0":i;return r.max-r.min-parseFloat(a)-parseFloat(s)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Qv(4,13),y:Qv(5,14)};function Yv(e,t,r,n){return function(e){return Object.keys(e).some(Wv)}(t)?function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=Hd({},t),n=Hd({},n);var a=Object.keys(t).filter(Wv),i=[],s=!1,o=[];if(a.forEach((function(a){var l=e.getValue(a);if(e.hasValue(a)){var c,u=r[a],p=Fy(u),d=t[a];if(Sh(d)){var f=d.length,h=null===d[0]?1:0;u=d[h],p=Fy(u);for(var m=h;m<f;m++)c?Fy(d[m]):(c=Fy(d[m]))===p||Uv(p)&&Uv(c)}else c=Fy(d);if(p!==c)if(Uv(p)&&Uv(c)){var g=l.get();"string"==typeof g&&l.set(parseFloat(g)),"string"==typeof d?t[a]=parseFloat(d):Array.isArray(d)&&c===Xf&&(t[a]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==c?void 0:c.transform)&&(0===u||0===d)?0===u?l.set(c.transform(u)):t[a]=p.transform(d):(s||(i=function(e){var t=[];return Jv.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),o.push(a),n[a]=void 0!==n[a]?n[a]:t[a],qv(l,d))}})),o.length){var l=o.indexOf("height")>=0?window.pageYOffset:null,c=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),i=getComputedStyle(a),s=i.display,o={};"none"===s&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){o[e]=Zv[e](n,i)})),t.syncRender();var l=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);qv(n,o[r]),e[r]=Zv[r](l,i)})),e}(t,e,o);return i.length&&i.forEach((function(t){var r=Wd(t,2),n=r[0],a=r[1];e.getValue(n).set(a)})),e.syncRender(),null!==l&&window.scrollTo({top:l}),{target:c,transitionEnd:n}}return{target:t,transitionEnd:n}}(e,t,r,n):{target:t,transitionEnd:n}}var Kv={treeType:"dom",readValueFromInstance:function(e,t){if(If(t)){var r=my(t);return r&&r.default||0}var n,a=(n=e,window.getComputedStyle(n));return(Of(t)?a.getPropertyValue(t):a[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return Iv(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var a=r.transformValues;void 0===n&&(n=!0);var i=t.transition,s=t.transitionEnd,o=Gd(t,["transition","transitionEnd"]),l=function(e,t,r){var n,a,i={};for(var s in e)i[s]=null!==(n=Ly(s,t))&&void 0!==n?n:null===(a=r.getValue(s))||void 0===a?void 0:a.get();return i}(o,i||{},e);if(a&&(s&&(s=a(s)),o&&(o=a(o)),l&&(l=a(l))),n){!function(e,t,r){var n,a,i,s,o=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=o.length;if(l)for(var c=0;c<l;c++){var u=o[c],p=t[u],d=null;Array.isArray(p)&&(d=p[0]),null===d&&(d=null!==(a=null!==(n=r[u])&&void 0!==n?n:e.readValue(u))&&void 0!==a?a:t[u]),null!=d&&("string"==typeof d&&(Ey(d)||ky(d))?d=parseFloat(d):!Dy(d)&&Qm.test(p)&&(d=gy(u,p)),e.addValue(u,Py(d)),null!==(i=(s=r)[u])&&void 0!==i||(s[u]=d),e.setBaseTarget(u,d))}}(e,o,l);var c=function(e,t,r,n){var a=function(e,t,r){var n,a=Gd(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:a,transitionEnd:r};for(var s in r&&(r=Hd({},r)),e.forEachValue((function(e){var t=e.get();if(Bv(t)){var r=zv(t,i);r&&e.set(r)}})),a){var o=a[s];if(Bv(o)){var l=zv(o,i);l&&(a[s]=l,r&&(null!==(n=r[s])&&void 0!==n||(r[s]=o)))}}return{target:a,transitionEnd:r}}(e,t,n);return Yv(e,t=a.target,r,n=a.transitionEnd)}(e,o,l,s);s=c.transitionEnd,o=c.target}return Hd({transition:i,transitionEnd:s},o)},scrapeMotionValuesFromProps:wh,build:function(e,t,r,n,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),rh(t,r,n,a.transformTemplate)},render:vh},eb=Ov(Kv),tb=Ov(Hd(Hd({},Kv),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return If(t)?(null===(r=my(t))||void 0===r?void 0:r.default)||0:(t=bh.has(t)?t:yh(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Eh,build:function(e,t,r,n,a){dh(t,r,n,a.transformTemplate)},render:xh})),rb=function(e,t){return Sf(e)?tb(t,{enableHardwareAcceleration:!1}):eb(t,{enableHardwareAcceleration:!0})};function nb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ab={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!Xf.test(e))return e;e=parseFloat(e)}var r=nb(e,t.target.x),n=nb(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},ib="_$css",sb={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,a=e,i=e.includes("var("),s=[];i&&(e=e.replace(jv,(function(e){return s.push(e),ib})));var o=Qm.parse(e);if(o.length>5)return a;var l=Qm.createTransformer(e),c="number"!=typeof o[0]?1:0,u=n.x.scale*r.x,p=n.y.scale*r.y;o[0+c]/=u,o[1+c]/=p;var d=Am(u,p,.5);"number"==typeof o[2+c]&&(o[2+c]/=d),"number"==typeof o[3+c]&&(o[3+c]/=d);var f=l(o);if(i){var h=0;f=f.replace(ib,(function(){var e=s[h];return h++,e}))}return f}},ob=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zd(t,e),t.prototype.componentDidMount=function(){var e,t=this,r=this.props,n=r.visualElement,a=r.layoutGroup,i=r.switchLayoutGroup,s=r.layoutId,o=n.projection;e=lb,Object.assign(Cf,e),o&&((null==a?void 0:a.group)&&a.group.add(o),(null==i?void 0:i.register)&&s&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(function(){t.safeToRemove()})),o.setOptions(Hd(Hd({},o.options),{onExitComplete:function(){return t.safeToRemove()}}))),gf.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,n=r.layoutDependency,a=r.visualElement,i=r.drag,s=r.isPresent,o=a.projection;return o?(o.isPresent=s,i||e.layoutDependency!==n||void 0===n?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||Gg.postRender((function(){var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,n=e.switchLayoutGroup,a=t.projection;a&&(a.scheduleCheckAfterUnmount(),(null==r?void 0:r.group)&&r.group.remove(a),(null==n?void 0:n.deregister)&&n.deregister(a))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(a.Component),lb={borderRadius:Hd(Hd({},ab),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ab,borderTopRightRadius:ab,borderBottomLeftRadius:ab,borderBottomRightRadius:ab,boxShadow:sb},cb={measureLayout:function(e){var t=Wd(mm(),2),r=t[0],n=t[1],i=(0,a.useContext)(vf);return a.createElement(ob,Hd({},e,{layoutGroup:i,switchLayoutGroup:(0,a.useContext)(bf),isPresent:r,safeToRemove:n}))}},ub=["TopLeft","TopRight","BottomLeft","BottomRight"],pb=ub.length,db=function(e){return"string"==typeof e?parseFloat(e):e},fb=function(e){return"number"==typeof e||Xf.test(e)};function hb(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var mb=yb(0,.5,fg),gb=yb(.5,.95,lg);function yb(e,t,r){return function(n){return n<e?0:n>t?1:r(Cm(e,t,n))}}function vb(e,t){e.min=t.min,e.max=t.max}function bb(e,t){vb(e.x,t.x),vb(e.y,t.y)}function xb(e,t,r,n,a){return e=wv(e-=t,1/r,n),void 0!==a&&(e=wv(e,1/a,n)),e}function wb(e,t,r,n,a){var i=Wd(r,3),s=i[0],o=i[1],l=i[2];!function(e,t,r,n,a,i,s){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5),void 0===i&&(i=e),void 0===s&&(s=e),Uf.test(t)&&(t=parseFloat(t),t=Am(s.min,s.max,t/100)-s.min),"number"==typeof t){var o=Am(i.min,i.max,n);e===i&&(o-=t),e.min=xb(e.min,t,r,o,a),e.max=xb(e.max,t,r,o,a)}}(e,t[s],t[o],t[l],t.scale,n,a)}var Eb=["x","scaleX","originX"],kb=["y","scaleY","originY"];function Sb(e,t,r,n){wb(e.x,t,Eb,null==r?void 0:r.x,null==n?void 0:n.x),wb(e.y,t,kb,null==r?void 0:r.y,null==n?void 0:n.y)}function Cb(e){return 0===e.translate&&1===e.scale}function Ab(e){return Cb(e.x)&&Cb(e.y)}function _b(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var Pb=function(){function e(){this.members=[]}return e.prototype.add=function(e){Sy(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Cy(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var n=r;n>=0;n--){var a=this.members[n];if(!1!==a.isPresent){t=a;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,n,a,i;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(i=null===(n=e.resumingFrom)||void 0===n?void 0:(a=n.options).onExitComplete)||void 0===i||i.call(a)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function Tb(e,t,r){var n=e.x.translate/t.x,a=e.y.translate/t.y,i="translate3d(".concat(n,"px, ").concat(a,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var s=r.rotate,o=r.rotateX,l=r.rotateY;s&&(i+="rotate(".concat(s,"deg) ")),o&&(i+="rotateX(".concat(o,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}var c=e.x.scale*t.x,u=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(c,", ").concat(u,")"))?"none":i}var Ib=function(e,t){return e.depth-t.depth},Fb=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Sy(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Cy(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Ib),this.isDirty=!1,this.children.forEach(e)},e}();function Mb(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,a=e.checkIsScrollRoot,i=e.resetTransform;return function(){function e(e,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n=null==r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){a.isUpdating&&(a.isUpdating=!1,a.clearAllSnapshots())},this.updateProjection=function(){a.nodes.forEach(Bb),a.nodes.forEach(jb)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?qd(qd([],Wd(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new Fb)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ay),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=this.eventHandlers.get(e);null==n||n.notify.apply(n,qd([],Wd(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,r){var n,a=this;if(void 0===r&&(r=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,s=i.layoutId,o=i.layout,l=i.visualElement;if(l&&!l.getInstance()&&l.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),r&&(o||s)&&(this.isLayoutDirty=!0),t){var c,u=function(){return a.root.updateBlockedByResize=!1};t(e,(function(){a.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(u,250),gf.hasAnimatedSinceResize&&(gf.hasAnimatedSinceResize=!1,a.nodes.forEach(Nb))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&l&&(s||o)&&this.addEventListener("didUpdate",(function(e){var t,r,n,i,s,o=e.delta,c=e.hasLayoutChanged,u=e.hasRelativeTargetChanged,p=e.layout;if(a.isTreeAnimationBlocked())return a.target=void 0,void(a.relativeTarget=void 0);var d=null!==(r=null!==(t=a.options.transition)&&void 0!==t?t:l.getDefaultTransition())&&void 0!==r?r:Ub,f=l.getProps(),h=f.onLayoutAnimationStart,m=f.onLayoutAnimationComplete,g=!a.targetLayout||!_b(a.targetLayout,p)||u,y=!c&&u;if((null===(n=a.resumeFrom)||void 0===n?void 0:n.instance)||y||c&&(g||!a.currentAnimation)){a.resumeFrom&&(a.resumingFrom=a.resumeFrom,a.resumingFrom.resumingFrom=void 0),a.setAnimationOrigin(o,y);var v=Hd(Hd({},xy(d,"layout")),{onPlay:h,onComplete:m});l.shouldReduceMotion&&(v.delay=0,v.type=!1),a.startAnimation(v)}else c||0!==a.animationProgress||a.finishAnimation(),a.isLead()&&(null===(s=(i=a.options).onExitComplete)||void 0===s||s.call(i));a.targetLayout=p}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,Vg.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(zb))},e.prototype.willUpdate=function(e){var t,r,n;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var a=0;a<this.path.length;a++){var i=this.path[a];i.shouldResetTransform=!0,i.updateScroll()}var s=this.options,o=s.layoutId,l=s.layout;if(void 0!==o||l){var c=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Ob);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Xb),this.potentialNodes.clear()),this.nodes.forEach(Vb),this.nodes.forEach(Db),this.nodes.forEach(Rb),this.clearAllSnapshots(),Ng.update(),Ng.preRender(),Ng.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(Lb),this.sharedNodes.forEach(Hb)},e.prototype.scheduleUpdateProjection=function(){Gg.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;Gg.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));$b(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var r=this.measure();$b(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==n?void 0:n.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=a(this.instance),this.scroll=n(this.instance))},e.prototype.resetTransform=function(){var e;if(i){var t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!Ab(this.projectionDelta),n=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,a=null==n?void 0:n(this.latestValues,""),s=a!==this.prevTransformTemplateValue;t&&(r||bv(this.latestValues)||s)&&(i(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),r=this.root.scroll;return r&&(Cv(t.x,r.x),Cv(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};bb(t,e);for(var r=0;r<this.path.length;r++){var n=this.path[r],a=n.scroll,i=n.options,s=n.isScrollRoot;if(n!==this.root&&a&&i.layoutScroll){if(s){bb(t,e);var o=this.root.scroll;o&&(Cv(t.x,-o.x),Cv(t.y,-o.y))}Cv(t.x,a.x),Cv(t.y,a.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r={x:{min:0,max:0},y:{min:0,max:0}};bb(r,e);for(var n=0;n<this.path.length;n++){var a=this.path[n];!t&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Tv(r,{x:-a.scroll.x,y:-a.scroll.y}),bv(a.latestValues)&&Tv(r,a.latestValues)}return bv(this.latestValues)&&Tv(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r={x:{min:0,max:0},y:{min:0,max:0}};bb(r,e);for(var n=0;n<this.path.length;n++){var a=this.path[n];if(a.instance&&bv(a.latestValues)){vv(a.latestValues)&&a.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};bb(i,a.measure()),Sb(r,a.latestValues,null===(t=a.snapshot)||void 0===t?void 0:t.layout,i)}}return bv(this.latestValues)&&Sb(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=Hd(Hd(Hd({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,r,n,a=this.options,i=a.layout,s=a.layoutId;this.layout&&(i||s)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},cv(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),bb(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,r=this.relativeTarget,n=this.relativeParent.target,ov(t.x,r.x,n.x),ov(t.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):bb(this.target,this.layout.actual),Sv(this.target,this.targetDelta)):bb(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},cv(this.relativeTargetOrigin,this.target,this.relativeParent.target),bb(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!bv(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,r=t.layout,n=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||n)){var a=this.getLead();bb(this.layoutCorrected,this.layout.actual),function(e,t,r,n){var a,i;void 0===n&&(n=!1);var s=r.length;if(s){var o,l;t.x=t.y=1;for(var c=0;c<s;c++)l=(o=r[c]).projectionDelta,"contents"!==(null===(i=null===(a=o.instance)||void 0===a?void 0:a.style)||void 0===i?void 0:i.display)&&(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Tv(e,{x:-o.scroll.x,y:-o.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,Sv(e,l)),n&&bv(o.latestValues)&&Tv(e,o.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==a);var i=a.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var s=this.treeScale.x,o=this.treeScale.y,l=this.projectionTransform;sv(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=Tb(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===s&&this.treeScale.y===o||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,r,n;void 0===e&&(e=!0),null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var r,n=this;void 0===t&&(t=!1);var a=this.snapshot,i=(null==a?void 0:a.latestValues)||{},s=Hd({},this.latestValues),o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var l={x:{min:0,max:0},y:{min:0,max:0}},c=null==a?void 0:a.isShared,u=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,p=Boolean(c&&!u&&!0===this.options.crossfade&&!this.path.some(qb));this.animationProgress=0,this.mixTargetDelta=function(t){var r,a=t/1e3;Gb(o.x,e.x,a),Gb(o.y,e.y,a),n.setTargetDelta(o),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(r=n.relativeParent)||void 0===r?void 0:r.layout)&&(cv(l,n.layout.actual,n.relativeParent.layout.actual),function(e,t,r,n){Wb(e.x,t.x,r.x,n),Wb(e.y,t.y,r.y,n)}(n.relativeTarget,n.relativeTargetOrigin,l,a)),c&&(n.animationValues=s,function(e,t,r,n,a,i){var s,o,l,c;a?(e.opacity=Am(0,null!==(s=r.opacity)&&void 0!==s?s:1,mb(n)),e.opacityExit=Am(null!==(o=t.opacity)&&void 0!==o?o:1,0,gb(n))):i&&(e.opacity=Am(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(c=r.opacity)&&void 0!==c?c:1,n));for(var u=0;u<pb;u++){var p="border".concat(ub[u],"Radius"),d=hb(t,p),f=hb(r,p);void 0===d&&void 0===f||(d||(d=0),f||(f=0),0===d||0===f||fb(d)===fb(f)?(e[p]=Math.max(Am(db(d),db(f),n),0),(Uf.test(f)||Uf.test(d))&&(e[p]+="%")):e[p]=f)}(t.rotate||r.rotate)&&(e.rotate=Am(t.rotate||0,r.rotate||0,n))}(s,i,n.latestValues,a,p,u)),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=a},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,r,n=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(Vg.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gg.update((function(){gf.hasAnimatedSinceResize=!0,n.currentAnimation=function(e,t,r){void 0===r&&(r={});var n=Rf(0)?0:Py(0);return wy("",n,1e3,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}(0,0,Hd(Hd({},e),{onUpdate:function(t){var r;n.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,r=e.target,n=e.layout,a=e.latestValues;t&&r&&n&&(bb(t,r),Tv(t,a),sv(this.projectionDeltaWithTransform,this.layoutCorrected,t,a))},e.prototype.registerSharedNode=function(e,t){var r,n,a;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pb),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(a=null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===a?void 0:a.call(n,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,r=t.needsReset,n=t.transition,a=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,a),r&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,r={},n=0;n<Af.length;n++){var a="rotate"+Af[n];e.getStaticValue(a)&&(t=!0,r[a]=e.getStaticValue(a),e.setStaticValue(a,0))}if(t){for(var a in null==e||e.syncRender(),r)e.setStaticValue(a,r[a]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,r,n,a,i,s;void 0===e&&(e={});var o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";var l=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Ah(e.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none",o;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var u={};return this.options.layoutId&&(u.opacity=null!==(r=this.latestValues.opacity)&&void 0!==r?r:1,u.pointerEvents=Ah(e.pointerEvents)||""),this.hasProjected&&!bv(this.latestValues)&&(u.transform=l?l({},""):"none",this.hasProjected=!1),u}var p=c.animationValues||c.latestValues;this.applyTransformsToTarget(),o.transform=Tb(this.projectionDeltaWithTransform,this.treeScale,p),l&&(o.transform=l(p,o.transform));var d=this.projectionDelta,f=d.x,h=d.y;for(var m in o.transformOrigin="".concat(100*f.origin,"% ").concat(100*h.origin,"% 0"),c.animationValues?o.opacity=c===this?null!==(a=null!==(n=p.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==a?a:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:o.opacity=c===this?null!==(i=p.opacity)&&void 0!==i?i:"":null!==(s=p.opacityExit)&&void 0!==s?s:0,Cf)if(void 0!==p[m]){var g=Cf[m],y=g.correct,v=g.applyTo,b=y(p[m],c);if(v)for(var x=v.length,w=0;w<x;w++)o[v[w]]=b;else o[m]=b}return this.options.layoutId&&(o.pointerEvents=c===this?Ah(e.pointerEvents)||"":"none"),o},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Ob),this.root.sharedNodes.clear()},e}()}function Db(e){e.updateLayout()}function Rb(e){var t,r,n,a,i=null!==(r=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==r?r:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var s=e.layout,o=s.actual,l=s.measured;"size"===e.options.animationType?mv((function(e){var t=i.isShared?i.measured[e]:i.layout[e],r=nv(t);t.min=o[e].min,t.max=t.min+r})):"position"===e.options.animationType&&mv((function(e){var t=i.isShared?i.measured[e]:i.layout[e],r=nv(o[e]);t.max=t.min+r}));var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};sv(c,o,i.layout);var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?sv(u,e.applyTransform(l,!0),i.measured):sv(u,o,i.layout);var p=!Ab(c),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var f=e.relativeParent,h=f.snapshot,m=f.layout;if(h&&m){var g={x:{min:0,max:0},y:{min:0,max:0}};cv(g,i.layout,h.layout);var y={x:{min:0,max:0},y:{min:0,max:0}};cv(y,o,m.actual),_b(g,y)||(d=!0)}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:u,layoutDelta:c,hasLayoutChanged:p,hasRelativeTargetChanged:d})}else e.isLead()&&(null===(a=(n=e.options).onExitComplete)||void 0===a||a.call(n));e.options.transition=void 0}function Lb(e){e.clearSnapshot()}function Ob(e){e.clearMeasurements()}function Vb(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function Nb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Bb(e){e.resolveTargetDelta()}function jb(e){e.calcProjection()}function zb(e){e.resetRotation()}function Hb(e){e.removeLeadSnapshot()}function Gb(e,t,r){e.translate=Am(t.translate,0,r),e.scale=Am(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Wb(e,t,r,n){e.min=Am(t.min,r.min,n),e.max=Am(t.max,r.max,n)}function qb(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var Ub={duration:.45,ease:[.4,0,.1,1]};function Xb(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var a=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));a&&e.mount(a,!0)}function Qb(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function $b(e){Qb(e.x),Qb(e.y)}var Jb=Mb({attachResizeListener:function(e,t){return Dh(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Zb={current:void 0},Yb=Mb({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Zb.current){var e=new Jb(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Zb.current=e}return Zb.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Kb=Hd(Hd(Hd(Hd({},qy),dm),Rv),cb),ex=Ef((function(e,t){return function(e,t,r,n,a){var i=t.forwardMotionProps,s=void 0!==i&&i,o=Sf(e)?Fh:Mh;return Hd(Hd({},o),{preloadedFeatures:r,useRender:mh(s),createVisualElement:n,projectionNodeConstructor:a,Component:e})}(e,t,Kb,rb,Yb)}));const tx=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))})),rx=({className:e})=>(0,a.createElement)("svg",{className:e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",strokeWidth:"1.5"},(0,a.createElement)("path",{d:"M12.5 5L15 7.5M5 17.5L17.5 5L15 2.5L2.5 15L5 17.5ZM7.5 2.5C7.5 2.94203 7.67559 3.36595 7.98816 3.67851C8.30072 3.99107 8.72464 4.16667 9.16667 4.16667C8.72464 4.16667 8.30072 4.34226 7.98816 4.65482C7.67559 4.96738 7.5 5.39131 7.5 5.83333C7.5 5.39131 7.3244 4.96738 7.01184 4.65482C6.69928 4.34226 6.27536 4.16667 5.83333 4.16667C6.27536 4.16667 6.69928 3.99107 7.01184 3.67851C7.3244 3.36595 7.5 2.94203 7.5 2.5ZM15.8333 10.8333C15.8333 11.2754 16.0089 11.6993 16.3215 12.0118C16.634 12.3244 17.058 12.5 17.5 12.5C17.058 12.5 16.634 12.6756 16.3215 12.9882C16.0089 13.3007 15.8333 13.7246 15.8333 14.1667C15.8333 13.7246 15.6577 13.3007 15.3452 12.9882C15.0326 12.6756 14.6087 12.5 14.1667 12.5C14.6087 12.5 15.0326 12.3244 15.3452 12.0118C15.6577 11.6993 15.8333 11.2754 15.8333 10.8333Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),nx=({className:e})=>(0,a.createElement)("svg",{className:Ao(e),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,a.createElement)("path",{d:"M12.0003 9.00043V12.7504M2.69702 16.1261C1.83163 17.6261 2.9142 19.5004 4.64593 19.5004H19.3546C21.0863 19.5004 22.1689 17.6261 21.3035 16.1261L13.9492 3.37855C13.0833 1.87772 10.9172 1.87772 10.0513 3.37855L2.69702 16.1261ZM12.0003 15.7504H12.0078V15.7579H12.0003V15.7504Z",stroke:"url(#paint0_linear_17495_33324)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("defs",null,(0,a.createElement)("linearGradient",{id:"paint0_linear_17495_33324",x1:"12.0003",y1:"2.25293",x2:"12.0003",y2:"19.5004",gradientUnits:"userSpaceOnUse"},(0,a.createElement)("stop",{stopColor:"#B809A7"}),(0,a.createElement)("stop",{offset:"0.46875",stopColor:"#E90B76"}),(0,a.createElement)("stop",{offset:"1",stopColor:"#FC8536"})))),ax=({className:e})=>(0,a.createElement)("svg",{className:e,width:"52",height:"36",viewBox:"0 0 52 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("g",{clipPath:"url(#clip0_27794_45971)"},(0,a.createElement)("rect",{width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"32",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"16",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"48",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{y:"16",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"32",y:"16",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"16",y:"16",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"48",y:"16",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"8",y:"8",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"8",y:"24",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"24",y:"8",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"40",y:"8",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"24",y:"24",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"40",y:"24",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{y:"32",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"32",y:"32",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"16",y:"32",width:"8",height:"8",fill:"#333E52"}),(0,a.createElement)("rect",{x:"48",y:"32",width:"8",height:"8",fill:"#333E52"})),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:"clip0_27794_45971"},(0,a.createElement)("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H70C71.1046 0 72 0.895431 72 2V42C72 43.1046 71.1046 44 70 44H2C0.895431 44 0 43.1046 0 42V2Z",fill:"white"})))),ix=()=>(0,a.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("g",{clipPath:"url(#clip0_2088_1759)"},(0,a.createElement)("path",{d:"M15.3828 16.0001V7.6001H17.0268V16.0001H15.3828Z",fill:"url(#paint0_linear_2088_1759)"}),(0,a.createElement)("path",{d:"M12.636 16.0001L9.42 7.6001H11.064L14.376 16.0001H12.636ZM6 16.0001L9.312 7.6001H10.956L7.74 16.0001H6ZM7.56 14.1521V12.7001H12.828V14.1521H7.56Z",fill:"url(#paint1_linear_2088_1759)"}),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6C3.79086 4 2 5.79086 2 8V16C2 18.2091 3.79086 20 6 20H18C20.2091 20 22 18.2091 22 16V8C22 5.79086 20.2091 4 18 4ZM6 2C2.68629 2 0 4.68629 0 8V16C0 19.3137 2.68629 22 6 22H18C21.3137 22 24 19.3137 24 16V8C24 4.68629 21.3137 2 18 2H6Z",fill:"url(#paint2_linear_2088_1759)"})),(0,a.createElement)("defs",null,(0,a.createElement)("linearGradient",{id:"paint0_linear_2088_1759",x1:"18.9044",y1:"16.0001",x2:"11.7628",y2:"4.39495",gradientUnits:"userSpaceOnUse"},(0,a.createElement)("stop",{stopColor:"#FE5BE4"}),(0,a.createElement)("stop",{offset:"1",stopColor:"#5A03EF"})),(0,a.createElement)("linearGradient",{id:"paint1_linear_2088_1759",x1:"18.904",y1:"16.0001",x2:"11.7624",y2:"4.39495",gradientUnits:"userSpaceOnUse"},(0,a.createElement)("stop",{stopColor:"#FE5BE4"}),(0,a.createElement)("stop",{offset:"1",stopColor:"#5A03EF"})),(0,a.createElement)("linearGradient",{id:"paint2_linear_2088_1759",x1:"24",y1:"22",x2:"4.32787",y2:"-1.60656",gradientUnits:"userSpaceOnUse"},(0,a.createElement)("stop",{stopColor:"#FE5BE4"}),(0,a.createElement)("stop",{offset:"1",stopColor:"#5A03EF"})),(0,a.createElement)("clipPath",{id:"clip0_2088_1759"},(0,a.createElement)("rect",{width:"24",height:"24",fill:"white"})))),{imageDir:sx,isElementorDisabled:ox,isBeaverBuilderDisabled:lx,showOtherBuilders:cx=!1}=starterTemplates,ux=astraSitesVars?.zip_plans,px=ux?.plan_data?.remaining,dx=px?.ai_sites_count,fx=({placement:e="bottom-end",isDisabled:t})=>{const[{builder:r,currentIndex:n,dismissAINotice:i,limitExceedModal:s},o]=cs(),[l,c]=(0,a.useState)("true"!==i),u=()=>{c(!1);const e=new FormData;e.append("action","astra-sites-dismiss-ai-promotion"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("dismiss_ai_promotion",!0),fetch(ajaxurl,{method:"post",body:e}),o({type:"set",dismissAINotice:"true"})};if("fse"===r)return null;if(!cx&&1===n)return;const p="number"==typeof dx&&dx<=0,d=[{id:"gutenberg",title:(0,wn.__)("Block Editor","astra-sites"),image:`${sx}block-editor.svg`,extraText:""},{id:"elementor",title:(0,wn.__)("Elementor","astra-sites"),image:`${sx}elementor.svg`,extraText:""},{id:"beaver-builder",title:(0,wn.__)("Beaver Builder","astra-sites"),image:`${sx}beaver-builder.svg`,extraText:""},{id:"ai-builder",title:(0,wn.__)("AI Website Builder","astra-sites"),image:`${sx}ai-builder.svg`,extraText:(0,wn.__)("Hot!","astra-sites")}];if("1"===ox){const e=d.findIndex((e=>"elementor"===e.id));-1!==e&&d.splice(e,1)}if("1"===lx){const e=d.findIndex((e=>"beaver-builder"===e.id));-1!==e&&d.splice(e,1)}cx&&d.push({id:"show-other-builders",title:(0,wn.__)("Show Other Builders","astra-sites"),image:`${sx}ellipsis.svg`});const f=()=>{if("number"==typeof dx&&dx<=0)return void o({type:"set",limitExceedModal:{...s,open:!0}});const e=new FormData;e.append("action","astra-sites-change-page-builder"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("page_builder","ai-builder"),fetch(ajaxurl,{method:"post",body:e}),l&&u(),window.location.href=astraSitesVars?.adminURL+"themes.php?page=ai-builder"};return(0,a.createElement)("div",{className:"relative"},(0,a.createElement)(Bd,{visible:l,arrow:!1,offset:[60,8],render:e=>n===Po("site-list")&&(0,a.createElement)(ex.div,{className:"flex flex-col items-start gap-5 min-w-[250px] sm:min-w-[304px] bg-white rounded-lg shadow-lg p-4 border border-button-disabled",...e},(0,a.createElement)("div",{className:"flex-row sm:flex-col flex-wrap flex bg-white text-left relative rounded-xl max-w-[356px]",tabIndex:"0"},(0,a.createElement)(ix,null),(0,a.createElement)("div",{className:"mt-0 sm:mt-2 ml-2 sm:ml-0 mb-1 text-heading-text flex gap-2"},(0,a.createElement)("span",{className:"text-base font-semibold leading-1"},(0,wn.__)("Build website 10x faster!","astra-sites"))),(0,a.createElement)("div",{className:"zw-sm-normal text-body-text sm:block hidden"}," ",(0,wn.__)("Experience the future of website building.","astra-sites")," "),(0,a.createElement)("div",{className:"pt-2 sm:pt-4 mt-auto flex gap-5 items-center"},(0,a.createElement)(os,{className:"!p-2 !px-3",onClick:f},(0,a.createElement)("span",{className:"text-xs"},(0,wn.__)("Try AI Builder","astra-sites"))," ",(0,a.createElement)(tx,{className:"size-4 ml-2"})),(0,a.createElement)("a",{className:"!text-zip-app-inactive-icon !text-center !text-xs !font-semibold",rel:"noreferrer",onClick:u},(0,wn.__)("Maybe Later","astra-sites"))))),interactive:!0,interactiveBorder:20,placement:e},(0,a.createElement)("div",{className:"st-page-builder-filter"},(0,a.createElement)(Qr.ToggleDropdown,{value:r,options:d,className:"st-page-builder-toggle",onClick:(e,t)=>{if("show-other-builders"===t.id)return void(()=>{const e=new FormData;e.append("action","astra-sites-show-other-builders"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),fetch(ajaxurl,{method:"POST",body:e}).then((e=>e.json())).then((e=>{e.success?window.location.reload():console.error("Failed to show other builders:",e.error)})).catch((e=>{console.error("Error fetching data:",e)}))})();if("ai-builder"===t.id)return p?void o({type:"set",limitExceedModal:{...s,open:!0},currentIndex:0}):window.location=`${astraSitesVars?.adminURL}themes.php?page=ai-builder`;o({type:"set",builder:t.id,siteSearchTerm:"",siteBusinessType:tF.siteBusinessType,selectedMegaMenu:tF.selectedMegaMenu,siteType:"",siteOrder:"popular",onMyFavorite:!1,currentIndex:2});const r=p&&"ai-builder"===t.id?"gutenberg":t.id,n=new FormData;n.append("action","astra-sites-change-page-builder"),n.append("_ajax_nonce",astraSitesVars?._ajax_nonce),n.append("page_builder",r),fetch(ajaxurl,{method:"post",body:n})},dismissAiPopup:()=>{c(!1)}}))),t&&(0,a.createElement)("div",{className:"w-full absolute h-full top-0 bg-white/75 cursor-not-allowed"}))};var hx="tippy-content",mx="tippy-arrow",gx="tippy-svg-arrow",yx={passive:!0,capture:!0},vx=function(){return document.body};function bx(e,t,r){if(Array.isArray(e)){var n=e[t];return null==n?Array.isArray(r)?r[t]:r:n}return e}function xx(e,t){var r={}.toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function wx(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ex(e,t){return 0===t?e:function(n){clearTimeout(r),r=setTimeout((function(){e(n)}),t)};var r}function kx(e){return[].concat(e)}function Sx(e,t){-1===e.indexOf(t)&&e.push(t)}function Cx(e){return[].slice.call(e)}function Ax(e){return Object.keys(e).reduce((function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t}),{})}function Px(){return document.createElement("div")}function Tx(e){return["Element","Fragment"].some((function(t){return xx(e,t)}))}function Ix(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Fx(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Mx(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,r)}))}function Dx(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var Rx={isTouch:!1},Lx=0;function Ox(){Rx.isTouch||(Rx.isTouch=!0,window.performance&&document.addEventListener("mousemove",Vx))}function Vx(){var e=performance.now();e-Lx<20&&(Rx.isTouch=!1,document.removeEventListener("mousemove",Vx)),Lx=e}function Nx(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var r=t._tippy;t.blur&&!r.state.isVisible&&t.blur()}}var Bx=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),jx=Object.assign({appendTo:vx,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),zx=Object.keys(jx);function Hx(e){var t=(e.plugins||[]).reduce((function(t,r){var n,a=r.name,i=r.defaultValue;return a&&(t[a]=void 0!==e[a]?e[a]:null!=(n=jx[a])?n:i),t}),{});return Object.assign({},e,t)}function Gx(e,t){var r=Object.assign({},t,{content:wx(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Hx(Object.assign({},jx,{plugins:t}))):zx).reduce((function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim();if(!n)return t;if("content"===r)t[r]=n;else try{t[r]=JSON.parse(n)}catch(e){t[r]=n}return t}),{})}(e,t.plugins));return r.aria=Object.assign({},jx.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function Wx(e,t){e.innerHTML=t}function qx(e){var t=Px();return!0===e?t.className=mx:(t.className=gx,Tx(e)?t.appendChild(e):Wx(t,e)),t}function Ux(e,t){Tx(t.content)?(Wx(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Wx(e,t.content):e.textContent=t.content)}function Xx(e){var t=e.firstElementChild,r=Cx(t.children);return{box:t,content:r.find((function(e){return e.classList.contains(hx)})),arrow:r.find((function(e){return e.classList.contains(mx)||e.classList.contains(gx)})),backdrop:r.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Qx(e){var t=Px(),r=Px();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Px();function a(r,n){var a=Xx(t),i=a.box,s=a.content,o=a.arrow;n.theme?i.setAttribute("data-theme",n.theme):i.removeAttribute("data-theme"),"string"==typeof n.animation?i.setAttribute("data-animation",n.animation):i.removeAttribute("data-animation"),n.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),r.content===n.content&&r.allowHTML===n.allowHTML||Ux(s,e.props),n.arrow?o?r.arrow!==n.arrow&&(i.removeChild(o),i.appendChild(qx(n.arrow))):i.appendChild(qx(n.arrow)):o&&i.removeChild(o)}return n.className=hx,n.setAttribute("data-state","hidden"),Ux(n,e.props),t.appendChild(r),r.appendChild(n),a(e.props,e.props),{popper:t,onUpdate:a}}Qx.$$tippy=!0;var $x=1,Jx=[],Zx=[];function Yx(e,t){var r,n,a,i,s,o,l,c,u=Gx(e,Object.assign({},jx,Hx(Ax(t)))),p=!1,d=!1,f=!1,h=!1,m=[],g=Ex(X,u.interactiveDebounce),y=$x++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:Px(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(n),cancelAnimationFrame(a)},setProps:function(t){if(!b.state.isDestroyed){D("onBeforeUpdate",[b,t]),q();var r=b.props,n=Gx(e,Object.assign({},r,Ax(t),{ignoreAttributes:!0}));b.props=n,W(),r.interactiveDebounce!==n.interactiveDebounce&&(O(),g=Ex(X,n.interactiveDebounce)),r.triggerTarget&&!n.triggerTarget?kx(r.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded"),L(),M(),E&&E(r,n),b.popperInstance&&(Z(),K().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),D("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=Rx.isTouch&&!b.props.touch,a=bx(b.props.duration,0,jx.duration);if(!(e||t||r||n||P().hasAttribute("disabled")||(D("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,_()&&(w.style.visibility="visible"),M(),j(),b.state.isMounted||(w.style.transition="none"),_()){var i=I();Ix([i.box,i.content],0)}o=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,_()&&b.props.animation){var t=I(),r=t.box,n=t.content;Ix([r,n],a),Fx([r,n],"visible")}R(),L(),Sx(Zx,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&_()&&function(e){H(e,(function(){b.state.isShown=!0,D("onShown",[b])}))}(a)}},function(){var e,t=b.props.appendTo,r=P();(e=b.props.interactive&&t===vx||"parent"===t?r.parentNode:wx(t,[r])).contains(w)||e.appendChild(w),b.state.isMounted=!0,Z()}()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=bx(b.props.duration,1,jx.duration);if(!(e||t||r)&&(D("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,p=!1,_()&&(w.style.visibility="hidden"),O(),z(),M(!0),_()){var a=I(),i=a.box,s=a.content;b.props.animation&&(Ix([i,s],n),Fx([i,s],"hidden"))}R(),L(),b.props.animation?_()&&function(e,t){H(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(n,b.unmount):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),Sx(Jx,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Y(),K().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w),Zx=Zx.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b]))}};if(!u.render)return b;var x=u.render(b),w=x.popper,E=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var k=v.map((function(e){return e.fn(b)})),S=e.hasAttribute("aria-expanded");return W(),L(),M(),D("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)})),b;function C(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===C()[0]}function _(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function P(){return l||e}function T(){var e,t,r=P().parentNode;return r?null!=(t=kx(r)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function I(){return Xx(w)}function F(e){return b.state.isMounted&&!b.state.isVisible||Rx.isTouch||i&&"focus"===i.type?0:bx(b.props.delay,e?0:1,jx.delay)}function M(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function D(e,t,r){var n;void 0===r&&(r=!0),k.forEach((function(r){r[e]&&r[e].apply(r,t)})),r&&(n=b.props)[e].apply(n,t)}function R(){var t=b.props.aria;if(t.content){var r="aria-"+t.content,n=w.id;kx(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(r);if(b.state.isVisible)e.setAttribute(r,t?t+" "+n:n);else{var a=t&&t.replace(n,"").trim();a?e.setAttribute(r,a):e.removeAttribute(r)}}))}}function L(){!S&&b.props.aria.expanded&&kx(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===P()?"true":"false"):e.removeAttribute("aria-expanded")}))}function O(){T().removeEventListener("mousemove",g),Jx=Jx.filter((function(e){return e!==g}))}function V(t){if(!Rx.isTouch||!f&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Dx(w,r)){if(kx(b.props.triggerTarget||e).some((function(e){return Dx(e,r)}))){if(Rx.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||z())}}}function N(){f=!0}function B(){f=!1}function j(){var e=T();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,yx),e.addEventListener("touchstart",B,yx),e.addEventListener("touchmove",N,yx)}function z(){var e=T();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,yx),e.removeEventListener("touchstart",B,yx),e.removeEventListener("touchmove",N,yx)}function H(e,t){var r=I().box;function n(e){e.target===r&&(Mx(r,"remove",n),t())}if(0===e)return t();Mx(r,"remove",s),Mx(r,"add",n),s=n}function G(t,r,n){void 0===n&&(n=!1),kx(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,r,n),m.push({node:e,eventType:t,handler:r,options:n})}))}function W(){var e;A()&&(G("touchstart",U,{passive:!0}),G("touchend",Q,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(G(e,U),e){case"mouseenter":G("mouseleave",Q);break;case"focus":G(Bx?"focusout":"blur",$);break;case"focusin":G("focusout",$)}}))}function q(){m.forEach((function(e){var t=e.node,r=e.eventType,n=e.handler,a=e.options;t.removeEventListener(r,n,a)})),m=[]}function U(e){var t,r=!1;if(b.state.isEnabled&&!J(e)&&!d){var n="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,L(),!b.state.isVisible&&xx(e,"MouseEvent")&&Jx.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?r=!0:ee(e),"click"===e.type&&(p=!r),r&&!n&&te(e)}}function X(e){var t=e.target,r=P().contains(t)||w.contains(t);if("mousemove"!==e.type||!r){var n=K().concat(w).map((function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:u}:null})).filter(Boolean);(function(e,t){var r=t.clientX,n=t.clientY;return e.every((function(e){var t=e.popperRect,a=e.popperState,i=e.props.interactiveBorder,s=a.placement.split("-")[0],o=a.modifiersData.offset;if(!o)return!0;var l="bottom"===s?o.top.y:0,c="top"===s?o.bottom.y:0,u="right"===s?o.left.x:0,p="left"===s?o.right.x:0,d=t.top-n+l>i,f=n-t.bottom-c>i,h=t.left-r+u>i,m=r-t.right-p>i;return d||f||h||m}))})(n,e)&&(O(),te(e))}}function Q(e){J(e)||b.props.trigger.indexOf("click")>=0&&p||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==P()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function J(e){return!!Rx.isTouch&&A()!==e.type.indexOf("touch")>=0}function Z(){Y();var t=b.props,r=t.popperOptions,n=t.placement,a=t.offset,i=t.getReferenceClientRect,s=t.moveTransition,l=_()?Xx(w).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:e,u=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(_()){var r=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];_()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==r?void 0:r.modifiers)||[]),b.popperInstance=$p(c,w,Object.assign({},r,{placement:n,onFirstUpdate:o,modifiers:u}))}function Y(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function K(){return Cx(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),j();var t=F(!0),n=C(),a=n[0],i=n[1];Rx.isTouch&&"hold"===a&&i&&(t=i),t?r=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=F(!1);t?n=setTimeout((function(){b.state.isVisible&&b.hide()}),t):a=requestAnimationFrame((function(){b.hide()}))}}else z()}}function Kx(e,t){void 0===t&&(t={});var r=jx.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ox,yx),window.addEventListener("blur",Nx);var n,a=Object.assign({},t,{plugins:r}),i=(n=e,Tx(n)?[n]:function(e){return xx(e,"NodeList")}(n)?Cx(n):Array.isArray(n)?n:Cx(document.querySelectorAll(n))).reduce((function(e,t){var r=t&&Yx(t,a);return r&&e.push(r),e}),[]);return Tx(e)?i[0]:i}Kx.defaultProps=jx,Kx.setDefaultProps=function(e){Object.keys(e).forEach((function(t){jx[t]=e[t]}))},Kx.currentInput=Rx,Object.assign({},Ip,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),Kx.setDefaultProps({render:Qx});const ew=Kx;function tw(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var rw="undefined"!=typeof window&&"undefined"!=typeof document;function nw(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function aw(){return rw&&document.createElement("div")}function iw(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e){if(!t.hasOwnProperty(r))return!1;if(!iw(e[r],t[r]))return!1}return!0}return!1}function sw(e){var t=[];return e.forEach((function(e){t.find((function(t){return iw(e,t)}))||t.push(e)})),t}var ow=rw?a.useLayoutEffect:a.useEffect;function lw(e,t,r){r.split(/\s+/).forEach((function(r){r&&e.classList[t](r)}))}var cw={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,r=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function n(){e.props.className&&!r()||lw(t,"add",e.props.className)}return{onCreate:n,onBeforeUpdate:function(){r()&&lw(t,"remove",e.props.className)},onAfterUpdate:n}}};function uw(e){return function(t){var r,n,i=t.children,l=t.content,c=t.visible,u=t.singleton,p=t.render,d=t.reference,f=t.disabled,h=void 0!==f&&f,m=t.ignoreAttributes,g=void 0===m||m,y=(t.__source,t.__self,tw(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==c,b=void 0!==u,x=(0,a.useState)(!1),w=x[0],E=x[1],k=(0,a.useState)({}),S=k[0],C=k[1],A=(0,a.useState)(),_=A[0],P=A[1],T=(r=function(){return{container:aw(),renders:1}},(n=(0,a.useRef)()).current||(n.current="function"==typeof r?r():r),n.current),I=Object.assign({ignoreAttributes:g},y,{content:T.container});v&&(I.trigger="manual",I.hideOnClick=!1),b&&(h=!0);var F=I,M=I.plugins||[];p&&(F=Object.assign({},I,{plugins:b&&null!=u.data?[].concat(M,[{fn:function(){return{onTrigger:function(e,t){var r=u.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=r.instance,P(r.content)}}}}]):M,render:function(){return{popper:T.container}}}));var D=[d].concat(i?[i.type]:[]);return ow((function(){var t=d;d&&d.hasOwnProperty("current")&&(t=d.current);var r=e(t||T.ref||aw(),Object.assign({},F,{plugins:[cw].concat(I.plugins||[])}));return T.instance=r,h&&r.disable(),c&&r.show(),b&&u.hook({instance:r,content:l,props:F,setSingletonContent:P}),E(!0),function(){r.destroy(),null==u||u.cleanup(r)}}),D),ow((function(){var e,t,r,n,a;if(1!==T.renders){var i=T.instance;i.setProps((t=i.props,r=F,Object.assign({},r,{popperOptions:Object.assign({},t.popperOptions,r.popperOptions,{modifiers:sw([].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],(null==(a=r.popperOptions)?void 0:a.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),h?i.disable():i.enable(),v&&(c?i.show():i.hide()),b&&u.hook({instance:i,content:l,props:F,setSingletonContent:P})}else T.renders++})),ow((function(){var e;if(p){var t=T.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,r=e.state,n=null==(t=r.modifiersData)?void 0:t.hide;S.placement===r.placement&&S.referenceHidden===(null==n?void 0:n.isReferenceHidden)&&S.escaped===(null==n?void 0:n.hasPopperEscaped)||C({placement:r.placement,referenceHidden:null==n?void 0:n.isReferenceHidden,escaped:null==n?void 0:n.hasPopperEscaped}),r.attributes.popper={}}}])})})}}),[S.placement,S.referenceHidden,S.escaped].concat(D)),s().createElement(s().Fragment,null,i?(0,a.cloneElement)(i,{ref:function(e){T.ref=e,nw(i.ref,e)}}):null,w&&(0,o.createPortal)(p?p(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(S),_,T.instance):l,T.container))}}var pw=function(e,t){return(0,a.forwardRef)((function(r,n){var i=r.children,o=tw(r,["children"]);return s().createElement(e,Object.assign({},t,o),i?(0,a.cloneElement)(i,{ref:function(e){nw(n,e),nw(i.ref,e)}}):null)}))};const dw=pw(uw(ew)),fw=({children:e,content:t,offset:r,placement:n="top",interactive:i=!1,delay:s=[300,0]})=>t?(0,a.createElement)(dw,{arrow:!0,content:t,className:"zw-tooltip zw-xs-normal flex items-center justify-left",offset:r,placement:n,interactive:i,delay:s},e):(0,a.createElement)("div",null,e),{adminUrl:hw}=starterTemplates,mw=()=>(0,a.createElement)("a",{className:"st-exit-to-dashboard",href:hw},(0,a.createElement)(fw,{content:(0,wn.__)("Exit to Dashboard","astra-sites")},ps.remove)),gw=({isDisabled:e})=>{const[t,r]=cs(),{onMyFavorite:n}=t;return Po("page-builder")===t.currentIndex||Po("classic-page-builder")===t.currentIndex?null:(0,a.createElement)("div",{className:"st-my-favorite relative "+(n?"active":""),onClick:t=>{t.stopPropagation(),e||r({type:"set",onMyFavorite:!n,siteType:"",siteOrder:tF.siteOrder,siteBusinessType:tF.siteBusinessType,selectedMegaMenu:tF.selectedMegaMenu,siteSearchTerm:""})}},(0,a.createElement)(fw,{content:(0,wn.__)("My Favorite","astra-sites"),offset:[5,20]},ps.favorite),e&&(0,a.createElement)("div",{className:"w-full absolute h-full top-0 bg-white/75 cursor-not-allowed"}))};function yw(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function vw(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function bw(e){let t=null;return()=>(null==t&&(t=e()),t)}const xw=bw((function(){return vw(/^Mac/i)})),ww=bw((function(){return vw(/^iPhone/i)})),Ew=bw((function(){return vw(/^iPad/i)||xw()&&navigator.maxTouchPoints>1})),kw=bw((function(){return ww()||Ew()})),Sw=(bw((function(){return xw()||kw()})),bw((function(){return yw(/AppleWebKit/i)&&!Sw()})),bw((function(){return yw(/Chrome/i)}))),Cw=bw((function(){return yw(/Android/i)}));bw((function(){return yw(/Firefox/i)}));const Aw=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},_w=e=>e&&"window"in e&&e.window===e?e:Aw(e).defaultView||window;let Pw=null,Tw=new Set,Iw=new Map,Fw=!1,Mw=!1;const Dw={Tab:!0,Escape:!0};function Rw(e,t){for(let r of Tw)r(e,t)}function Lw(e){Fw=!0,function(e){return!(e.metaKey||!xw()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(Pw="keyboard",Rw("keyboard",e))}function Ow(e){Pw="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(Fw=!0,Rw("pointer",e))}function Vw(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(Cw()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(Fw=!0,Pw="virtual")}function Nw(e){e.target!==window&&e.target!==document&&(Fw||Mw||(Pw="virtual",Rw("virtual",e)),Fw=!1,Mw=!1)}function Bw(){Fw=!1,Mw=!0}function jw(e){if("undefined"==typeof window||Iw.get(_w(e)))return;const t=_w(e),r=Aw(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Fw=!0,n.apply(this,arguments)},r.addEventListener("keydown",Lw,!0),r.addEventListener("keyup",Lw,!0),r.addEventListener("click",Vw,!0),t.addEventListener("focus",Nw,!0),t.addEventListener("blur",Bw,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",Ow,!0),r.addEventListener("pointermove",Ow,!0),r.addEventListener("pointerup",Ow,!0)):(r.addEventListener("mousedown",Ow,!0),r.addEventListener("mousemove",Ow,!0),r.addEventListener("mouseup",Ow,!0)),t.addEventListener("beforeunload",(()=>{zw(e)}),{once:!0}),Iw.set(t,{focus:n})}const zw=(e,t)=>{const r=_w(e),n=Aw(e);t&&n.removeEventListener("DOMContentLoaded",t),Iw.has(r)&&(r.HTMLElement.prototype.focus=Iw.get(r).focus,n.removeEventListener("keydown",Lw,!0),n.removeEventListener("keyup",Lw,!0),n.removeEventListener("click",Vw,!0),r.removeEventListener("focus",Nw,!0),r.removeEventListener("blur",Bw,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",Ow,!0),n.removeEventListener("pointermove",Ow,!0),n.removeEventListener("pointerup",Ow,!0)):(n.removeEventListener("mousedown",Ow,!0),n.removeEventListener("mousemove",Ow,!0),n.removeEventListener("mouseup",Ow,!0)),Iw.delete(r))};function Hw(){return"pointer"!==Pw}"undefined"!=typeof document&&function(e){const t=Aw(e);let r;"loading"!==t.readyState?jw(e):(r=()=>{jw(e)},t.addEventListener("DOMContentLoaded",r))}();const Gw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);const Ww="undefined"!=typeof document?a.useLayoutEffect:()=>{};class qw{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function Uw(e){let t=(0,a.useRef)({isFocused:!1,observer:null});Ww((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let r=function(e){const t=(0,a.useRef)(null);return Ww((()=>{t.current=e}),[e]),(0,a.useCallback)(((...e)=>{const r=t.current;return null==r?void 0:r(...e)}),[])}((t=>{null==e||e(t)}));return(0,a.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target,a=e=>{t.current.isFocused=!1,n.disabled&&r(new qw("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}})),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}}),[r])}function Xw(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=(0,a.useRef)({isFocused:!1,isFocusVisible:t||Hw()}),[s,o]=(0,a.useState)(!1),[l,c]=(0,a.useState)((()=>i.current.isFocused&&i.current.isFocusVisible)),u=(0,a.useCallback)((()=>c(i.current.isFocused&&i.current.isFocusVisible)),[]),p=(0,a.useCallback)((e=>{i.current.isFocused=e,o(e),u()}),[u]);var d,f,h;d=e=>{i.current.isFocusVisible=e,u()},f=[],h={isTextInput:r},jw(),(0,a.useEffect)((()=>{let e=(e,t)=>{(function(e,t,r){var n;const a="undefined"!=typeof window?_w(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?_w(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?_w(null==r?void 0:r.target).HTMLElement:HTMLElement,o="undefined"!=typeof window?_w(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof a&&!Gw.has(null==r||null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof i||(null==r?void 0:r.target)instanceof s&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof o&&!Dw[r.key])})(!!(null==h?void 0:h.isTextInput),e,t)&&d(Hw())};return Tw.add(e),()=>{Tw.delete(e)}}),f);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const s=(0,a.useCallback)((e=>{if(e.target===e.currentTarget)return n&&n(e),i&&i(!1),!0}),[n,i]),o=Uw(s),l=(0,a.useCallback)((e=>{const t=Aw(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),i&&i(!0),o(e))}),[i,r,o]);return{focusProps:{onFocus:!t&&(r||i||n)?l:void 0,onBlur:t||!n&&!i?void 0:s}}}({isDisabled:n,onFocusChange:p}),{focusWithinProps:g}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,s=(0,a.useRef)({isFocusWithin:!1}),o=(0,a.useCallback)((e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,r&&r(e),i&&i(!1))}),[r,i,s]),l=Uw(o),c=(0,a.useCallback)((e=>{s.current.isFocusWithin||document.activeElement!==e.target||(n&&n(e),i&&i(!0),s.current.isFocusWithin=!0,l(e))}),[n,i,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:o}}}({isDisabled:!n,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:l,focusProps:n?g:m}}let Qw=!1,$w=0;function Jw(){Qw=!0,setTimeout((()=>{Qw=!1}),50)}function Zw(e){"touch"===e.pointerType&&Jw()}function Yw(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",Zw):document.addEventListener("touchend",Jw),$w++,()=>{$w--,$w>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",Zw):document.removeEventListener("touchend",Jw))}}function Kw(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[s,o]=(0,a.useState)(!1),l=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(Yw,[]);let{hoverProps:c,triggerHoverEnd:u}=(0,a.useMemo)((()=>{let e=(e,n)=>{if(l.pointerType=n,i||"touch"===n||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let a=e.currentTarget;l.target=a,t&&t({type:"hoverstart",target:a,pointerType:n}),r&&r(!0),o(!0)},a=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let a=e.currentTarget;n&&n({type:"hoverend",target:a,pointerType:t}),r&&r(!1),o(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{Qw&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&a(e,e.pointerType)}):(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||Qw||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&a(e,"mouse")}),{hoverProps:s,triggerHoverEnd:a}}),[t,r,n,i,l]);return(0,a.useEffect)((()=>{i&&u({currentTarget:l.target},l.pointerType)}),[i]),{hoverProps:c,isHovered:s}}var eE=Object.defineProperty,tE=(e,t,r)=>(((e,t,r)=>{t in e?eE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let rE=new class{constructor(){tE(this,"current",this.detect()),tE(this,"handoffState","pending"),tE(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function nE(e){return rE.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function aE(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function iE(){let e=[],t={addEventListener:(e,r,n,a)=>(e.addEventListener(r,n,a),t.add((()=>e.removeEventListener(r,n,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return aE((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=iE();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function sE(){let[e]=(0,a.useState)(iE);return(0,a.useEffect)((()=>()=>e.dispose()),[e]),e}let oE=(e,t)=>{rE.isServer?(0,a.useEffect)(e,t):(0,a.useLayoutEffect)(e,t)};function lE(e){let t=(0,a.useRef)(e);return oE((()=>{t.current=e}),[e]),t}let cE=function(e){let t=lE(e);return a.useCallback(((...e)=>t.current(...e)),[t])};function uE({disabled:e=!1}={}){let t=(0,a.useRef)(null),[r,n]=(0,a.useState)(!1),i=sE(),s=cE((()=>{t.current=null,n(!1),i.dispose()})),o=cE((e=>{if(i.dispose(),null===t.current){t.current=e.currentTarget,n(!0);{let r=nE(e.currentTarget);i.addEventListener(r,"pointerup",s,!1),i.addEventListener(r,"pointermove",(e=>{if(t.current){let r=function(e){let t=e.width/2,r=e.height/2;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}(e);n(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(r,t.current.getBoundingClientRect()))}}),!1),i.addEventListener(r,"pointercancel",s,!1)}}}));return{pressed:r,pressProps:e?{}:{onPointerDown:o,onPointerUp:s,onClick:s}}}function pE(e,t,r){let[n,i]=(0,a.useState)(r),s=void 0!==e,o=(0,a.useRef)(s),l=(0,a.useRef)(!1),c=(0,a.useRef)(!1);return!s||o.current||l.current?!s&&o.current&&!c.current&&(c.current=!0,o.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,o.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:n,cE((e=>(s||i(e),null==t?void 0:t(e))))]}function dE(e){let[t]=(0,a.useState)(e);return t}function fE(e,t){return(0,a.useMemo)((()=>{var r;if(e.type)return e.type;let n=null!=(r=e.as)?r:"button";return"string"==typeof n&&"button"===n.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0}),[e.type,e.as,t])}let hE=Symbol();function mE(...e){let t=(0,a.useRef)(e);(0,a.useEffect)((()=>{t.current=e}),[e]);let r=cE((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[hE])))?void 0:r}let gE=(0,a.createContext)(void 0);function yE(){return(0,a.useContext)(gE)}function vE({value:e,children:t}){return a.createElement(gE.Provider,{value:e},t)}function bE(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))wE(r,xE(t,n),a);return r}function xE(e,t){return e?e+"["+t+"]":t}function wE(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())wE(e,xE(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):bE(r,t,e)}function EE(e){var t,r;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(r=n.requestSubmit)||r.call(n)}}function kE(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}function SE(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,SE),n}var CE,AE=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(AE||{}),_E=((CE=_E||{})[CE.Unmount=0]="Unmount",CE[CE.Hidden=1]="Hidden",CE);function PE(){let e=function(){let e=(0,a.useRef)([]),t=(0,a.useCallback)((t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)}),[]);return(...r)=>{if(!r.every((e=>null==e)))return e.current=r,t}}();return(0,a.useCallback)((t=>function({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:i=!0,name:s,mergeRefs:o}){o=null!=o?o:IE;let l=FE(t,e);if(i)return TE(l,r,n,s,o);let c=null!=a?a:0;if(2&c){let{static:e=!1,...t}=l;if(e)return TE(t,r,n,s,o)}if(1&c){let{unmount:e=!0,...t}=l;return SE(e?0:1,{0:()=>null,1:()=>TE({...t,hidden:!0,style:{display:"none"}},r,n,s,o)})}return TE(l,r,n,s,o)}({mergeRefs:e,...t})),[e])}function TE(e,t={},r,n,i){let{as:s=r,children:o,refName:l="ref",...c}=LE(e,["unmount","static"]),u=void 0!==e.ref?{[l]:e.ref}:{},p="function"==typeof o?o(t):o;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let d={};if(t){let e=!1,r=[];for(let[n,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&r.push(n.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){d["data-headlessui-state"]=r.join(" ");for(let e of r)d[`data-${e}`]=""}}if(s===a.Fragment&&(Object.keys(RE(c)).length>0||Object.keys(RE(d)).length>0)){if((0,a.isValidElement)(p)&&!(Array.isArray(p)&&p.length>1)){let e=p.props,t=null==e?void 0:e.className,r="function"==typeof t?(...e)=>kE(t(...e),c.className):kE(t,c.className),n=r?{className:r}:{},s=FE(p.props,RE(LE(c,["ref"])));for(let e in d)e in s&&delete d[e];return(0,a.cloneElement)(p,Object.assign({},s,d,u,{ref:i(OE(p),u.ref)},n))}if(Object.keys(RE(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(RE(c)).concat(Object.keys(RE(d))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))}return(0,a.createElement)(s,Object.assign({},LE(c,["ref"]),s!==a.Fragment&&u,s!==a.Fragment&&d),p)}function IE(...e){return e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function FE(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])for(let e in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(r[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function ME(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];for(let e in r)Object.assign(t,{[e](...t){let n=r[e];for(let e of n)null==e||e(...t)}});return t}function DE(e){var t;return Object.assign((0,a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function RE(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function LE(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function OE(e){return a.version.split(".")[0]>="19"?e.props.ref:e.ref}var VE=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(VE||{});let NE=DE((function(e,t){var r;let{features:n=1,...a}=e,i={ref:t,"aria-hidden":!(2&~n)||(null!=(r=a["aria-hidden"])?r:void 0),hidden:!(4&~n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~n)&&!!(2&~n)&&{display:"none"}}};return PE()({ourProps:i,theirProps:a,slot:{},defaultTag:"span",name:"Hidden"})})),BE=(0,a.createContext)(null);function jE(e){let[t,r]=(0,a.useState)(null);return a.createElement(BE.Provider,{value:{target:t}},e.children,a.createElement(NE,{features:VE.Hidden,ref:r}))}function zE({children:e}){let t=(0,a.useContext)(BE);if(!t)return a.createElement(a.Fragment,null,e);let{target:r}=t;return r?(0,o.createPortal)(a.createElement(a.Fragment,null,e),r):null}function HE({data:e,form:t,disabled:r,onReset:n,overrides:i}){let[s,o]=(0,a.useState)(null),l=sE();return(0,a.useEffect)((()=>{if(n&&s)return l.addEventListener(s,"reset",n)}),[s,t,n]),a.createElement(zE,null,a.createElement(GE,{setForm:o,formId:t}),bE(e).map((([e,n])=>a.createElement(NE,{features:VE.Hidden,...RE({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:e,value:n,...i})}))))}function GE({setForm:e,formId:t}){return(0,a.useEffect)((()=>{if(t){let r=document.getElementById(t);r&&e(r)}}),[e,t]),t?null:a.createElement(NE,{features:VE.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let r=t.closest("form");r&&e(r)}})}let WE=(0,a.createContext)(void 0);function qE(){return(0,a.useContext)(WE)}function UE({id:e,children:t}){return a.createElement(WE.Provider,{value:e},t)}function XE(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}let QE=(0,a.createContext)(null);function $E(){let e=(0,a.useContext)(QE);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,$E),e}return e}function JE(){var e,t;return null!=(t=null==(e=(0,a.useContext)(QE))?void 0:e.value)?t:void 0}function ZE(){let[e,t]=(0,a.useState)([]);return[e.length>0?e.join(" "):void 0,(0,a.useMemo)((()=>function(e){let r=cE((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),n=(0,a.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value})),[r,e.slot,e.name,e.props,e.value]);return a.createElement(QE.Provider,{value:n},e.children)}),[t])]}QE.displayName="DescriptionContext";let YE=DE((function(e,t){let r=(0,a.useId)(),n=yE(),{id:i=`headlessui-description-${r}`,...s}=e,o=$E(),l=mE(t);oE((()=>o.register(i)),[i,o.register]);let c=n||!1,u=(0,a.useMemo)((()=>({...o.slot,disabled:c})),[o.slot,c]),p={ref:l,...o.props,id:i};return PE()({ourProps:p,theirProps:s,slot:u,defaultTag:"p",name:o.name||"Description"})})),KE=Object.assign(YE,{});var ek=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ek||{});let tk=(0,a.createContext)(null);function rk(){let e=(0,a.useContext)(tk);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,rk),e}return e}function nk(e){var t,r,n;let i=null!=(r=null==(t=(0,a.useContext)(tk))?void 0:t.value)?r:void 0;return(null!=(n=null==e?void 0:e.length)?n:0)>0?[i,...e].filter(Boolean).join(" "):i}function ak({inherit:e=!1}={}){let t=nk(),[r,n]=(0,a.useState)([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,(0,a.useMemo)((()=>function(e){let t=cE((e=>(n((t=>[...t,e])),()=>n((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),r=(0,a.useMemo)((()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value})),[t,e.slot,e.name,e.props,e.value]);return a.createElement(tk.Provider,{value:r},e.children)}),[n])]}tk.displayName="LabelContext";let ik=DE((function(e,t){var r;let n=(0,a.useId)(),i=rk(),s=qE(),o=yE(),{id:l=`headlessui-label-${n}`,htmlFor:c=(null!=s?s:null==(r=i.props)?void 0:r.htmlFor),passive:u=!1,...p}=e,d=mE(t);oE((()=>i.register(l)),[l,i.register]);let f=cE((e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let r=e.getAttribute("aria-disabled");if("true"===r||""===r)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),h=o||!1,m=(0,a.useMemo)((()=>({...i.slot,disabled:h})),[i.slot,h]),g={ref:d,...i.props,id:l,htmlFor:c,onClick:f};return u&&("onClick"in g&&(delete g.htmlFor,delete g.onClick),"onClick"in p&&delete p.onClick),PE()({ourProps:g,theirProps:p,slot:m,defaultTag:c?"label":"div",name:i.name||"Label"})})),sk=Object.assign(ik,{}),ok=(0,a.createContext)(null);ok.displayName="GroupContext";let lk=a.Fragment,ck=DE((function(e,t){var r;let n=(0,a.useId)(),i=qE(),s=yE(),{id:o=i||`headlessui-switch-${n}`,disabled:l=s||!1,checked:c,defaultChecked:u,onChange:p,name:d,value:f,form:h,autoFocus:m=!1,...g}=e,y=(0,a.useContext)(ok),[v,b]=(0,a.useState)(null),x=mE((0,a.useRef)(null),t,null===y?null:y.setSwitch,b),w=dE(u),[E,k]=pE(c,p,null!=w&&w),S=sE(),[C,A]=(0,a.useState)(!1),_=cE((()=>{A(!0),null==k||k(!E),S.nextFrame((()=>{A(!1)}))})),P=cE((e=>{if(XE(e.currentTarget))return e.preventDefault();e.preventDefault(),_()})),T=cE((e=>{e.key===ek.Space?(e.preventDefault(),_()):e.key===ek.Enter&&EE(e.currentTarget)})),I=cE((e=>e.preventDefault())),F=nk(),M=JE(),{isFocusVisible:D,focusProps:R}=Xw({autoFocus:m}),{isHovered:L,hoverProps:O}=Kw({isDisabled:l}),{pressed:V,pressProps:N}=uE({disabled:l}),B=(0,a.useMemo)((()=>({checked:E,disabled:l,hover:L,focus:D,active:V,autofocus:m,changing:C})),[E,L,D,V,l,C,m]),j=ME({id:o,ref:x,role:"switch",type:fE(e,v),tabIndex:-1===e.tabIndex?0:null!=(r=e.tabIndex)?r:0,"aria-checked":E,"aria-labelledby":F,"aria-describedby":M,disabled:l||void 0,autoFocus:m,onClick:P,onKeyUp:T,onKeyPress:I},R,O,N),z=(0,a.useCallback)((()=>{if(void 0!==w)return null==k?void 0:k(w)}),[k,w]),H=PE();return a.createElement(a.Fragment,null,null!=d&&a.createElement(HE,{disabled:l,data:{[d]:f||"on"},overrides:{type:"checkbox",checked:E},form:h,onReset:z}),H({ourProps:j,theirProps:g,slot:B,defaultTag:"button",name:"Switch"}))})),uk=sk,pk=KE,dk=Object.assign(ck,{Group:function(e){var t;let[r,n]=(0,a.useState)(null),[i,s]=ak(),[o,l]=ZE(),c=(0,a.useMemo)((()=>({switch:r,setSwitch:n})),[r,n]),u=e,p=PE();return a.createElement(l,{name:"Switch.Description",value:o},a.createElement(s,{name:"Switch.Label",value:i,props:{htmlFor:null==(t=c.switch)?void 0:t.id,onClick(e){r&&(e.currentTarget instanceof HTMLLabelElement&&e.preventDefault(),r.click(),r.focus({preventScroll:!0}))}}},a.createElement(ok.Provider,{value:c},p({ourProps:{},theirProps:u,slot:{},defaultTag:lk,name:"Switch.Group"}))))},Label:uk,Description:pk});const fk=(0,Jc.memo)((({onChange:e,value:t,variant:r="light"})=>{const n={dark:{wrapper:["w-10",t?"bg-accent-st-secondary":"bg-zip-dark-theme-border"],background:[t?"bg-accent-st-secondary":"bg-zip-dark-theme-border"],switch:["size-5",t?"translate-x-5":"translate-x-0"]},light:{wrapper:["w-9",t?"bg-accent-st-secondary":"bg-border-tertiary"],background:[t?"bg-accent-st-secondary":"bg-border-tertiary"],switch:["size-4",t?"translate-x-[1.15rem]":"translate-x-[0.15rem]"]}};return(0,a.createElement)(dk,{checked:t,onChange:e,className:Ao("group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none border-0 bg-transparent",n[r].wrapper)},(0,a.createElement)("span",{className:"sr-only"},(0,wn.__)("Use setting","astra-sites")),(0,a.createElement)("span",{"aria-hidden":"true",className:"pointer-events-none absolute h-full w-full rounded-md bg-transparent"}),(0,a.createElement)("span",{"aria-hidden":"true",className:Ao("pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-150 ease-out",n[r].background)}),(0,a.createElement)("span",{"aria-hidden":"true",className:Ao("pointer-events-none absolute size-5 left-0 inline-block transform rounded-full bg-white shadow transition-transform duration-150 ease-out",n[r].switch)}))})),hk=()=>{const[e,t]=(0,a.useState)(!1),[r,n]=(0,a.useState)(!!starterTemplates?.bsfUsageTracking),[i,s]=(0,a.useState)({}),o=(0,a.useRef)(null),l=()=>{n(!r);const e=new FormData;e.append("action","bsf_analytics_optin_status"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("bsfUsageTracking",!r),fetch(astraSitesVars?.ajaxurl,{method:"POST",body:e}).then((e=>e.json())).then((e=>{e.success?starterTemplates.bsfUsageTracking=!r:(n(r),s({isError:!0,message:e?.data}))})).catch((e=>{n(r),console.error(e),s({isError:!0,message:e?.message})}))};return(0,a.useEffect)((()=>{const e=e=>{o.current&&!o.current.contains(e.target)&&t(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),(0,a.createElement)("div",{id:"st-options",className:"relative",ref:o},(0,a.createElement)(fw,{content:(0,wn.__)("Analytics","astra-sites")},(0,a.createElement)("button",{className:"inline-flex mx-1 mb-1 p-3 bg-transparent border-none cursor-pointer",onClick:()=>t(!e)},ps.options)),e&&(0,a.createElement)("div",{id:"st-options-popup-wrapper",className:"fixed top-[57px] right-3 w-[min(calc(100%-24px),384px)] flex gap-3 p-2.5 bg-white border border-solid border-[#E6E6EF] rounded-md z-10 md:top-[78px]",style:{boxShadow:"0 10px 32px -12px #95A0B266"}},(0,a.createElement)("div",{className:"relative top-0.5"},(0,a.createElement)(fk,{onChange:l,value:r,requiredClass:r?"bg-accent-st-secondary":"bg-border-tertiary"})),(0,a.createElement)("div",{className:"flex flex-col gap-1"},(0,a.createElement)("h6",{className:"cursor-pointer",onClick:l},(0,wn.__)("Enable Anonymous Analytics","astra-sites")),(0,a.createElement)("p",{className:"!text-xs"},(0,wn.__)("Collect non-sensitive information from your website, such as the PHP version and features used, to help us fix bugs faster, make smarter decisions, and build features that actually matter to you.","astra-sites")," ",(0,a.createElement)("a",{className:"!inline !text-xs !underline",href:"https://store.brainstormforce.com/usage-tracking/?utm_source=st_header&utm_medium=st_dashboard&utm_campaign=usage_tracking",rel:"noopener noreferrer",target:"_blank"},(0,wn.__)("Learn More","astra-sites"))),i?.message&&(0,a.createElement)("p",{className:"!text-xs "+(i?.isError?"!text-red-600":"!text-green-600")},i?.message))))},mk=()=>{const[{currentIndex:e,bgSyncInProgress:t,sitesSyncing:r},n]=cs(),[i,s]=(0,a.useState)({updatedData:null,syncStatus:null}),{updatedData:o,syncStatus:l}=i;if((0,a.useEffect)((()=>{if(r)return window.onbeforeunload=()=>!0,()=>{window.onbeforeunload=null}}),[r]),Po("page-builder")===e||Po("classic-page-builder")===e)return null;if(!0===l&&o){const{sites:e,categories:t,categoriesAndTags:r}=o;e&&t&&r&&n({type:"set",allSitesData:e,allCategories:t,allCategoriesAndTags:r}),s({...i,updatedData:null})}return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:Ao("relative st-sync-library",r&&"loading",t&&"cursor-not-allowed"),onClick:async e=>{if(e.stopPropagation(),!r&&!t)if(n({type:"set",sitesSyncing:!0,syncPageCount:0,syncPageInProgress:0}),await vu())s({updatedData:{allSitesData:null,categories:null,categoriesAndTags:null},syncStatus:yu()}),n({type:"set",sitesSyncing:!1});else{const e=await(async()=>{const e=await Au();n({type:"set",syncPageCount:e});const t=[];for(let r=0;r<e;r++)t.push(await _u(r+1)),n({type:"set",syncPageInProgress:r+1});return t.length>0?t:null})(),{categories:t,tags:r}=await bu();s({updatedData:{allSitesData:e,categories:t,categoriesAndTags:r},syncStatus:yu()}),n({type:"set",sitesSyncing:!1})}}},(0,a.createElement)(fw,{content:!t&&(0,wn.__)("Sync Library","astra-sites")},(0,a.createElement)("div",{className:"inline-flex items-center justify-center"},(0,a.createElement)("span",{className:Ao(t&&"opacity-50")},ps.sync),t&&(0,a.createElement)("span",{className:"absolute bottom-[18%] left-1/2 -translate-x-1/2 translate-y-1/2 rounded bg-credit-warning pb-px px-1 pt-0 text-white shadow-sm text-[0.625rem] leading-[0.9375rem]"},(0,wn.__)("Syncing","astra-sites"))))),!r&&!0===l&&(0,a.createElement)(Qr.Toaster,{type:"success",message:(0,wn.__)("Library refreshed successfully","astra-sites"),autoHideDuration:5,bottomRight:!0}),!r&&!1===l&&(0,a.createElement)(Qr.Toaster,{type:"error",message:(0,wn.__)("Library refreshed failed!","astra-sites"),autoHideDuration:5,bottomRight:!0}))};var gk=function(){return gk=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},gk.apply(this,arguments)},yk=function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,o)}l((n=n.apply(e,t||[])).next())}))},vk=function(e,t){var r,n,a,i,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(s=0)),s;)try{if(r=1,n&&(a=2&o[0]?n.return:o[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;switch(n=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((a=(a=s.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){s.label=o[1];break}if(6===o[0]&&s.label<a[1]){s.label=a[1],a=o;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(o);break}a[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},bk={rssFeedURL:"",selector:"",loaderIcon:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">\n\t<circle cx="50" cy="50" fill="none" stroke="#9f9f9f" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">\n\t\t<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>\n\t</circle>\n\t</svg>',viewAll:{link:"",label:"View All"},triggerButton:{icon:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.61703 13.1998C8.04294 13.1503 7.46192 13.125 6.875 13.125H6.25C4.17893 13.125 2.5 11.4461 2.5 9.375C2.5 7.30393 4.17893 5.625 6.25 5.625H6.875C7.46192 5.625 8.04294 5.59972 8.61703 5.55018M8.61703 13.1998C8.82774 14.0012 9.1031 14.7764 9.43719 15.5195C9.64341 15.9782 9.48685 16.5273 9.05134 16.7787L8.50441 17.0945C8.04492 17.3598 7.45466 17.1921 7.23201 16.7106C6.70983 15.5811 6.30451 14.3866 6.03155 13.1425M8.61703 13.1998C8.29598 11.9787 8.125 10.6968 8.125 9.375C8.125 8.05316 8.29598 6.77125 8.61703 5.55018M8.61703 13.1998C11.25 13.427 13.737 14.1643 15.9789 15.3124M8.61703 5.55018C11.25 5.323 13.737 4.58569 15.9789 3.43757M15.9789 3.43757C15.8808 3.12162 15.7751 2.80903 15.662 2.5M15.9789 3.43757C16.4247 4.87356 16.7131 6.37885 16.8238 7.93326M15.9789 15.3124C15.8808 15.6284 15.7751 15.941 15.662 16.25M15.9789 15.3124C16.4247 13.8764 16.7131 12.3711 16.8238 10.8167M16.8238 7.93326C17.237 8.2772 17.5 8.79539 17.5 9.375C17.5 9.95461 17.237 10.4728 16.8238 10.8167M16.8238 7.93326C16.8578 8.40942 16.875 8.8902 16.875 9.375C16.875 9.8598 16.8578 10.3406 16.8238 10.8167" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',beforeBtn:"",afterBtn:"",className:"",onClick:function(){}},notification:{setLastPostUnixTime:null,getLastPostUnixTime:null},flyout:{title:"What's New?",innerContent:{titleLink:!0,additionalClasses:[]},excerpt:{wordLimit:500,moreSymbol:"…",readMore:{label:"Read More",className:""}},className:"",closeOnEsc:!0,closeOnOverlayClick:!0,closeBtnIcon:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 18L18 6M6 6L18 18" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',formatDate:null,onOpen:function(){},onClose:function(){},onReady:function(){}}},xk=function(){function e(e){this.rssFeedURLs=[],this.lastPostUnixTime=0,this.multiLastPostUnixTime={},this.notificationsCount=0,this.multiNotificationCount={},this.hasNewFeeds=!1,this.multiHasNewFeeds={},this.validateArgs(e),this.parseDefaults(e),this.setElement(),this.getElement()?(this.setID(),this.setRSSFeedURLs(),wk.setInstanceID(this.getID()),this.RSS_Fetch_Instance=new Ek(this),this.RSS_View_Instance=new kk(this),this.setNotificationsCount(),this.setTriggers()):console.warn("WNR: Cannot find element with",this.getArgs().selector)}return e.prototype.validateArgs=function(e){["rssFeedURL","selector"].map((function(t){if(!e[t])throw new Error("".concat(t," is a required argument. It cannot be empty or undefined."));if("rssFeedURL"===t){var r=e[t];Array.isArray(r)&&r.forEach((function(e){if(!(null==e?void 0:e.key))throw new Error('The parameter "key" is required for "'.concat(t,'" parameter in multi-feed mode.'));if(e.key.includes(" "))throw new Error('The parameter "key" cannot have spaces for "'.concat(t,'" parameter in multi-feed mode. Ref Key: "').concat(e.key,'"'))}))}}))},e.prototype.parseDefaults=function(e){var t,r;this.args=gk(gk(gk({},bk),e),{viewAll:gk(gk({},bk.viewAll),null==e?void 0:e.viewAll),triggerButton:gk(gk({},bk.triggerButton),null==e?void 0:e.triggerButton),flyout:gk(gk(gk({},bk.flyout),null==e?void 0:e.flyout),{innerContent:gk(gk({},bk.flyout.innerContent),null===(t=null==e?void 0:e.flyout)||void 0===t?void 0:t.innerContent),excerpt:gk(gk({},bk.flyout.excerpt),null===(r=null==e?void 0:e.flyout)||void 0===r?void 0:r.excerpt)})})},e.prototype.getArgs=function(){return this.args},e.prototype.setElement=function(){this.element=document.querySelector(this.args.selector)},e.prototype.getElement=function(){return this.element},e.prototype.setID=function(){var e=[this.getArgs().selector],t=this.getArgs().rssFeedURL;Array.isArray(t)?t.forEach((function(t){e.push(t.key)})):e.push(t),this.ID=btoa(e.join("-")).slice(-12).replace(/=/g,"")},e.prototype.isMultiFeedRSS=function(){return"string"!=typeof this.getArgs().rssFeedURL},e.prototype.setRSSFeedURLs=function(){var e=this,t=this.getArgs().rssFeedURL;this.isMultiFeedRSS()?Array.isArray(t)&&t.forEach((function(t){e.rssFeedURLs.push(t)})):this.rssFeedURLs.push({key:null,label:"",url:t.toString()})},e.prototype.getRSSFeedURLs=function(){return this.rssFeedURLs},e.prototype.getID=function(){return this.ID},e.prototype.setNotificationsCount=function(){return yk(this,void 0,void 0,(function(){var e=this;return vk(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.getRSSFeedURLs().map((function(t){var r=t.key;return yk(e,void 0,void 0,(function(){var e;return vk(this,(function(t){switch(t.label){case 0:return e=0,"function"!=typeof this.getArgs().notification.getLastPostUnixTime?[3,2]:[4,this.getArgs().notification.getLastPostUnixTime(r,this)];case 1:return e=t.sent(),[3,3];case 2:e=wk.getLastPostUnixTime(r),t.label=3;case 3:return this.isMultiFeedRSS()?this.multiLastPostUnixTime[r]=+e:this.lastPostUnixTime=+e,[2]}}))}))})))];case 1:return t.sent(),[4,this.RSS_Fetch_Instance.fetchData().then((function(t){Object.keys(t).forEach((function(r){var n=t[r];if(n.length){e.multiNotificationCount[r]=0;var a=+n[0].date,i=e.isMultiFeedRSS()?e.multiLastPostUnixTime[r]:e.lastPostUnixTime;a>i&&(n.forEach((function(t){t.date>i&&(e.isMultiFeedRSS()&&(e.multiNotificationCount[r]++,e.multiHasNewFeeds[r]=!0),e.notificationsCount++,e.hasNewFeeds=!0)})),e.RSS_View_Instance.setNotification(e.notificationsCount))}}))}))];case 2:return t.sent(),[2]}}))}))},e.prototype.getNotificationsCount=function(){return this.notificationsCount},e.prototype.setTriggers=function(){var e=this,t=document.getElementById(this.RSS_View_Instance.getTriggerButtonID()),r=document.getElementById(this.RSS_View_Instance.getFlyoutID()),n=r.querySelector(".whats-new-rss-flyout-inner-content"),a=document.getElementById(this.RSS_View_Instance.getFlyoutCloseBtnID()),i=document.getElementById(this.RSS_View_Instance.getFlyoutMultiFeedNavID()),s=function(t){e.RSS_Fetch_Instance.fetchData().then((function(a){n.innerHTML="";var i=a[t];if(i.length){var s=+i[0].date,o=e.isMultiFeedRSS()?e.multiLastPostUnixTime[t]:e.lastPostUnixTime;i.forEach((function(r){var a=!!o&&r.date>o,i=e.getArgs().flyout.innerContent.titleLink?'<a href="'.concat(r.postLink,'" target="_blank">\n\t\t\t\t\t\t\t\t<h2>').concat(r.title,"</h2>\n\t\t\t\t\t\t\t</a>"):"<h2>".concat(r.title,"</h2>"),s='\n\t\t\t\t\t\t\t\t<div class="rss-content-header">\n\t\t\t\t\t\t\t\t\t<p>'.concat(e.RSS_View_Instance.formatDate(new Date(r.date)),"</p>\n\t\t\t\t\t\t\t\t\t").concat(i,"\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.createExcerpt(r.description,r.postLink,e.getArgs().flyout.excerpt),"\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.listChildrenPosts(r.children),"\n\t\t\t\t\t\t\t"),l=e.getArgs().flyout.innerContent.additionalClasses;t&&l.push("`inner-content-item-feed-key-${key}`"),n.innerHTML+=e.RSS_View_Instance.innerContentWrapper(s,a,l.join(" "))})),e.getArgs().viewAll.link&&(n.innerHTML+=e.RSS_View_Instance.innerContentWrapper('\n\t\t\t\t\t\t\t<a href="'.concat(e.getArgs().viewAll.link,'" class="button view-all">').concat(e.getArgs().viewAll.label,"</a>\n\t\t\t\t\t\t\t"))),e.RSS_View_Instance.setIsLoading(!1),r.classList.add("ready"),e.getArgs().flyout.onReady(e),r.focus(),e.isMultiFeedRSS()||(e.lastPostUnixTime=s,e.hasNewFeeds&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(s,t):wk.setLastPostUnixTime(s,t)))}}))};t.addEventListener("click",(function(t){if(t.preventDefault(),e.getArgs().triggerButton.onClick(e),e.RSS_View_Instance.setIsLoading(!0),r.classList.remove("closed"),r.classList.add("open"),document.body.classList.add("whats-new-rss-is-active"),e.getArgs().flyout.onOpen(e),!e.isMultiFeedRSS())return s(null);var n=i.querySelectorAll("button");n.forEach((function(t){e.RSS_View_Instance.setMultiFeedTabNotificationCount(t.dataset.feedKey,e.multiNotificationCount[t.dataset.feedKey]),t.addEventListener("click",(function(r){r.preventDefault();var a=t.dataset.feedKey;e.multiNotificationCount[a]=0,e.RSS_Fetch_Instance.fetchData().then((function(t){var r=t[a][0].date;e.multiLastPostUnixTime[a]=r,!0===e.multiHasNewFeeds[a]&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(r,a):wk.setLastPostUnixTime(r,a)),e.multiHasNewFeeds[a]=!1})),n.forEach((function(e){e.classList.remove("selected");var t=e.dataset.feedKey,r=".inner-content-item-feed-key-".concat(t);document.querySelectorAll(r).forEach((function(e){a!==t?e.classList.add("hidden"):e.classList.remove("hidden")}))})),t.classList.add("selected"),s(a)}))})),n[0].click()}));var o=function(){r.classList.add("closed"),r.classList.remove("open"),r.classList.remove("ready"),document.body.classList.remove("whats-new-rss-is-active"),e.isMultiFeedRSS()?e.RSS_View_Instance.setNotification(Object.values(e.multiNotificationCount).filter(Boolean).length):(e.hasNewFeeds=!1,e.RSS_View_Instance.setNotification(!1)),n.innerHTML="",e.getArgs().flyout.onClose(e),t.focus()};this.getArgs().flyout.closeOnEsc&&document.addEventListener("keydown",(function(e){"Escape"===e.key&&r.classList.contains("open")&&o()})),this.getArgs().flyout.closeOnOverlayClick&&r.querySelector(".whats-new-rss-flyout-overlay").addEventListener("click",o),a.addEventListener("click",o)},e}(),wk=function(){function e(){}return e.setInstanceID=function(e){this.instanceID||(this.instanceID=e)},e.prefixer=function(e,t){if(void 0===t&&(t=""),!this.instanceID)throw new Error("Instance ID not set.");return t?"".concat(this.keys[e],"-").concat(this.instanceID,"-").concat(t):"".concat(this.keys[e],"-").concat(this.instanceID)},e._setDataExpiry=function(e){void 0===e&&(e="");var t=(new Date).getTime()+864e5;sessionStorage.setItem(this.prefixer("SESSION_DATA_EXPIRY",e),JSON.stringify(t))},e._isDataExpired=function(e){void 0===e&&(e="");var t=this.prefixer("SESSION_DATA_EXPIRY",e),r=window.sessionStorage.getItem(t);if(!r)return!0;var n=JSON.parse(r);return(new Date).getTime()>n&&(window.sessionStorage.removeItem(t),!0)},e.setSessionData=function(e,t){return void 0===t&&(t=""),this._setDataExpiry(t),window.sessionStorage.setItem(this.prefixer("SESSION",t),e)},e.getSessionData=function(e){return void 0===e&&(e=""),this._isDataExpired(e)?"{}":window.sessionStorage.getItem(this.prefixer("SESSION",e))},e.setLastPostUnixTime=function(e,t){return void 0===t&&(t=""),window.localStorage.setItem(this.prefixer("LAST_LATEST_POST",t),e.toString())},e.getLastPostUnixTime=function(e){return void 0===e&&(e=""),+window.localStorage.getItem(this.prefixer("LAST_LATEST_POST",e))},e.keys={SESSION_DATA_EXPIRY:"whats-new-cache-expiry",LAST_LATEST_POST:"whats-new-last-unixtime",SESSION:"whats-new-cache"},e}(),Ek=function(){function e(e){var t=this;this.data={},this.RSS=e,this.RSS.getRSSFeedURLs().forEach((function(e){var r=JSON.parse(wk.getSessionData(e.key));r&&r.length&&(t.data[e.key]=r)}))}return e.prototype.fetchData=function(){return yk(this,void 0,void 0,(function(){var e,t=this;return vk(this,(function(r){switch(r.label){case 0:return Object.keys(this.data).length?[2,this.data]:(e=this.RSS.getRSSFeedURLs().map((function(e){return yk(t,void 0,void 0,(function(){var t,r,n=this;return vk(this,(function(a){switch(a.label){case 0:return this.data[e.key]=[],[4,fetch(e.url)];case 1:return[4,a.sent().text()];case 2:return t=(t=a.sent()).replace(/»/g,"&raquo;"),r=new DOMParser,r.parseFromString(t,"text/xml").querySelectorAll("item").forEach((function(t){var r,a=t.querySelector("title").textContent,i=t.querySelector("link").textContent,s=t.querySelector("content\\:encoded, encoded"),o=s?s.textContent:"",l=t.querySelector("pubDate").innerHTML;n.data[e.key].push({title:a,date:l?+new Date(l):null,postLink:i,description:o.replace(/<a\b((?:(?!target=)[^>])*)>/g,'<a$1 target="_blank">').replace(/<p>\s*<\/p>/g,""),children:JSON.parse((null===(r=t.querySelector("children"))||void 0===r?void 0:r.innerHTML)||"{}")})})),wk.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return r.sent(),[2,this.data]}}))}))},e}(),kk=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);var t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){var t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){var e="\n\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t<a class="whats-new-rss-trigger-button" id="').concat(this.getTriggerButtonID(),'">\n\t\t\t').concat(this.RSS.getArgs().triggerButton.icon,'\n\t\t\t<div class="whats-new-rss-notification-badge hide">0</div>\n\t\t</a>\n\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t");this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){var e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);var t=[];this.RSS.isMultiFeedRSS()&&(t.push('<nav id="'.concat(this.getFlyoutMultiFeedNavID(),'" class="whats-new-rss-multi-feed-nav">')),this.RSS.getRSSFeedURLs().forEach((function(e){t.push('<button type="button" data-feed-key="'.concat(e.key,'">\n\t\t\t\t\t\t').concat(e.label,'\n\t\t\t\t\t\t<div class="new-notification-count"></div>\n\t\t\t\t\t</button>\n\t\t\t\t\t'))})),t.push("</nav>"));var r=document.createElement("div");r.setAttribute("id",this.getFlyoutID()),r.setAttribute("class",e.join(" ")),r.setAttribute("role","dialog"),r.innerHTML='\n\t\t<div class="whats-new-rss-flyout-contents">\n\n\t\t\t<div class="whats-new-rss-flyout-inner-header">\n\n\t\t\t\t<div class="whats-new-rss-flyout-inner-header__title-icon-wrapper">\n\t\t\t\t\t<h3>'.concat(this.RSS.getArgs().flyout.title,'</h3>\n\n\t\t\t\t\t<span class="whats-new-rss-flyout-inner-header__loading-icon">\n\t\t\t\t\t').concat(this.RSS.getArgs().loaderIcon,'\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\n\t\t\t\t<button type="button" id="').concat(this.getFlyoutCloseBtnID(),'">').concat(this.RSS.getArgs().flyout.closeBtnIcon,"</button>\n\t\t\t</div>\n\n\t\t\t").concat(t.join(""),'\n\n\t\t\t<div class="whats-new-rss-flyout-inner-content">\n\t\t\t\t<div class="skeleton-container">\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t</div>\n\n\t\t<div class="whats-new-rss-flyout-overlay"></div>\n\t\t'),document.body.appendChild(r)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);var r=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(r){var n=r.querySelector(".new-notification-count");if(t){var a=t>9?"9+":t;n.innerHTML=a.toString()}else n.innerHTML=""}},e.prototype.innerContentWrapper=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r="");var n=["whats-new-rss-flyout-inner-content-item"];return t&&n.push("rss-new-post"),r&&n.push(r),'\n\t\t<div class="'.concat(n.join(" "),'">\n\t\t\t').concat(t?'<small class="new-post-badge">New ✨</small>':"","\n\t\t\t").concat(e,"\n\t\t</div>\n\t\t")},e.prototype.createExcerpt=function(e,t,r){var n=r.wordLimit,a=r.moreSymbol,i=r.readMore;if(!n)return e;var s=e.replace(/<[^>]*>/g,"").split(/\s+/),o=s.slice(0,n).join(" ");return a&&(o+=a),n>s.length?e:t&&(null==i?void 0:i.label)?"<p>".concat(o,' <a href="').concat(t,'" target="_blank" class="').concat(i.className,'">').concat(i.label,"</a></p>"):"<p>".concat(o,"</p>")},e.prototype.listChildrenPosts=function(e){var t=this,r=Object.values(e);if(!r.length)return"";var n=document.createElement("details"),a=document.createElement("summary"),i=document.createElement("div");return r.forEach((function(e){var r=(new DOMParser).parseFromString(e.post_content,"text/html"),n=document.createElement("div");n.classList.add("sub-version-item"),n.innerHTML='\n\t\t\t\t<div class="sub-version-header">\n\t\t\t\t\t<h4 class="sub-version-title">'.concat(e.post_title,'</h4>\n\t\t\t\t\t<span class="sub-version-date">').concat(t.formatDate(new Date(e.post_date)),'</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="sub-version-content">').concat(r.documentElement.textContent,"</div>\n\t\t\t"),i.appendChild(n)})),a.innerHTML='<p class="text-see-more">See More</p><p class="text-see-less">See Less</p>',n.appendChild(a),n.appendChild(i),i.classList.add("sub-version-items-wrapper"),n.classList.add("whats-new-rss-sub-version-details"),n.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);var t=new Date,r=e.getTime(),n=t.getTime()-r,a=36e5,i=24*a,s=7*i,o=30*i;if(n<6e4)return"Just now";if(n<a){var l=Math.floor(n/6e4);return"".concat(l," minute").concat(l>1?"s":""," ago")}if(n<i){var c=Math.floor(n/a);return"".concat(c," hour").concat(c>1?"s":""," ago")}if(n<s){var u=Math.floor(n/i);return"".concat(u," day").concat(u>1?"s":""," ago")}if(n<o){var p=Math.floor(n/s);return"".concat(p," week").concat(p>1?"s":""," ago")}var d=Math.floor(n/o);return"".concat(d," month").concat(d>1?"s":""," ago")},e}();const Sk=()=>{const[{bgSyncInProgress:e,sitesSyncing:t,currentIndex:r}]=cs(),n=(e||t)&&2===r;return function({selector:e,...t}){const r=(0,a.useRef)(null);(0,a.useEffect)((()=>{var n;return async function(){const e="whats-new-rss-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerHTML=await async function(){return".whats-new-rss-is-active{overflow:hidden}.whats-new-rss-trigger-button{display:flex;align-items:center;position:relative;width:auto;padding:5px;cursor:pointer}.whats-new-rss-trigger-button .whats-new-rss-notification-badge{position:absolute;top:-8px;right:-5px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red;transition:transform .2s ease-in-out}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.is-multi-feed{top:-2px;right:-2px;font-size:0;width:10px;height:10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.hide{display:none}.whats-new-rss-trigger-button:hover .whats-new-rss-notification-badge{transform:scale(1.2)}.whats-new-rss-flyout{position:fixed;top:0;right:0;bottom:0;width:100%;z-index:99999;transition:visibility .3s ease-in-out;font-family:Arial,Helvetica,sans-serif}.whats-new-rss-flyout .lightbox-trigger,.whats-new-rss-flyout.hidden{display:none}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon{display:block;margin:auto}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon svg{display:block;background:0 0;width:25px;height:25px}.whats-new-rss-flyout .whats-new-rss-flyout-contents{position:fixed;display:flex;right:0;width:30%;height:100%;flex-direction:column;background-color:#fff;transition:transform .3s ease-in-out;z-index:9999}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 16px 24px;border-bottom:1px solid #ccc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header button{border:none;background:0 0;font-size:30px;cursor:pointer;color:#94a3b8;padding:0;margin:0;box-shadow:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper{display:flex;gap:10px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper h3{margin:0;padding:0;color:#0f172a;font-weight:600;font-size:16px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav{display:flex;padding:0 30px;border-bottom:1px solid #ccc;gap:2em;overflow:auto;white-space:nowrap}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button{position:relative;background:0 0;color:inherit;padding:15px 0;border-bottom:2px solid transparent}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:focus,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:hover{border-color:inherit}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button.selected{border-color:#5d5d5d}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button .new-notification-count{position:absolute;top:0;right:-10px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content{flex:1;overflow-y:auto}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .skeleton-container{margin:30px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item{border-bottom:1px solid #d8dfe9;padding:30px 24px;color:#475569;font-weight:400;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:13px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item>*{margin:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.skeleton-row{height:25vh;margin:40px 0;background:linear-gradient(90deg,#eee 25%,#ddd 50%,#eee 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post{position:relative}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post .new-post-badge{background:#ff3d3d;border-radius:5px;position:absolute;right:45px;padding:0 5px;color:#fff}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header{display:flex;flex-direction:column;gap:15px;padding:0 0 8px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header p{color:#94a3b8;margin:0;padding:0;font-weight:600;font-size:14px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header h2{margin:0;color:#0f172a;font-weight:700;line-height:28px;font-size:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h2{font-weight:700;font-size:18px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h3{font-weight:700;font-size:16px;line-height:22px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h4{font-weight:700;font-size:15px;line-height:20px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h5{font-weight:700;font-size:14px;line-height:18px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h6{font-weight:700;font-size:13px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p{padding:0;font-size:14px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p:last-child{margin-bottom:0;padding-bottom:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item a{color:#1170ff;text-decoration:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure{margin:10px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure.wp-block-embed.is-type-video{position:relative;width:100%;height:0;padding-bottom:56.25%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item video{vertical-align:middle;width:100%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item strong{font-weight:600}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{padding-inline-start:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol li,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul li{margin-bottom:5px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{list-style-type:disc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol{list-style-type:decimal}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details{line-height:20px;font-size:.9em;margin:10px 0;background:#f9fafb}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary{display:flex;justify-content:space-between;cursor:pointer;padding:20px 15px;height:1em;line-height:20px;font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary::after{content:'⌃';font-size:20px;transform:rotateX(180deg);font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-more{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-less{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary{border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary::after{transform:rotateX(45deg)}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-more{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-less{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item{position:relative;padding:1em;border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-header{display:flex;justify-content:space-between}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-content{margin-top:1em}.whats-new-rss-flyout .whats-new-rss-flyout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);transition:all .3s ease-in-out}.whats-new-rss-flyout.closed{visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-overlay{opacity:0;visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-contents{transform:translateX(100%)}.whats-new-rss-flyout .whats-new-rss-flyout-inner-header__loading-icon{display:none}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}@media screen and (max-width:1024px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:40%}}@media screen and (max-width:768px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:85%}}"}(),document.head.appendChild(t)}}(),r.current||(r.current=(n={selector:e,...t},new xk(n))),()=>{r.current&&"function"==typeof r.current.destroy&&r.current.destroy()}}),[e,...Object.values(t)]),r.current}({rssFeedURL:"https://startertemplates.com/whats-new/feed/",selector:"#st-whats-new",triggerButton:{beforeBtn:'<div class="w-4 sm:w-8 h-8 sm:h-10 flex items-center whitespace-nowrap justify-center cursor-pointer rounded-full border border-slate-200">',icon:'<svg data-slot="icon" width="18" height="18" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M16.881 4.345A23.112 23.112 0 0 1 8.25 6H7.5a5.25 5.25 0 0 0-.88 10.427 21.593 21.593 0 0 0 1.378 3.94c.464 1.004 1.674 1.32 2.582.796l.657-.379c.88-.508 1.165-1.593.772-2.468a17.116 17.116 0 0 1-.628-1.607c1.918.258 3.76.75 5.5 1.446A21.727 21.727 0 0 0 18 11.25c0-2.414-.393-4.735-1.119-6.905ZM18.26 3.74a23.22 23.22 0 0 1 1.24 7.51 23.22 23.22 0 0 1-1.41 7.992.75.75 0 1 0 1.409.516 24.555 24.555 0 0 0 1.415-6.43 2.992 2.992 0 0 0 .836-2.078c0-.807-.319-1.54-.836-2.078a24.65 24.65 0 0 0-1.415-6.43.75.75 0 1 0-1.409.516c.059.16.116.321.17.483Z"></path></svg>',afterBtn:"</div>"},flyout:{title:(0,wn.__)("What's New?","astra-sites"),formatDate:e=>`${e.toLocaleDateString("en-US",{weekday:"long"})} ${e.toLocaleDateString("en-US",{month:"long"})} ${e.getDate()}, ${e.getFullYear()}`}}),(0,a.createElement)("div",{className:"site-list-header row"},(0,a.createElement)("div",{className:"st-header-left"},(0,a.createElement)(Mu,null)),(0,a.createElement)("div",{className:"st-header-right"},(0,a.createElement)(hk,null),(0,a.createElement)("div",{className:"relative"},(0,a.createElement)(fw,{content:(0,wn.__)("What's New","astra-sites")},(0,a.createElement)("div",{id:"st-whats-new"})),n&&(0,a.createElement)("div",{className:"w-full absolute h-full top-0 bg-white/75 cursor-not-allowed"})),(0,a.createElement)(gw,{isDisabled:n}),(0,a.createElement)(mk,null),(0,a.createElement)(fx,{isDisabled:n}),(0,a.createElement)(mw,null)))},Ck=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})),Ak=()=>{const[{selectedTemplateName:e,currentIndex:t,licenseStatus:r,selectedTemplateType:n},i]=cs();return(0,a.createElement)("div",{className:"change-template-wrap w-full"},(0,a.createElement)("div",{className:"template-name"},(0,a.createElement)("p",{className:"label"},(0,wn.__)("Selected Template:","astra-sites")),(0,a.createElement)("div",{className:"flex gap-2 items-center"},(0,a.createElement)("h5",null,(0,xn.decodeEntities)(e)),!r&&"free"!==n&&(0,a.createElement)("span",null,"signature"===n?ps.signatureIcon:ps.premiumIcon))),(0,a.createElement)("div",{className:"change-btn-wrap",onClick:()=>{Eo({param:"clearPreviewAssets",data:{}}),setTimeout((()=>{i({type:"set",currentIndex:t-1,currentCustomizeIndex:0})}),300)}},(0,a.createElement)(Ck,{className:"w-6 h-6 text-zip-body-text"})))};function _k(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}let Pk=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),Tk=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var Ik,Fk,Mk=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(Mk||{}),Dk=((Fk=Dk||{})[Fk.Error=0]="Error",Fk[Fk.Overflow=1]="Overflow",Fk[Fk.Success=2]="Success",Fk[Fk.Underflow=3]="Underflow",Fk),Rk=((Ik=Rk||{})[Ik.Previous=-1]="Previous",Ik[Ik.Next=1]="Next",Ik);function Lk(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Pk)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Ok=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Ok||{});function Vk(e,t=0){var r;return e!==(null==(r=nE(e))?void 0:r.body)&&SE(t,{0:()=>e.matches(Pk),1(){let t=e;for(;null!==t;){if(t.matches(Pk))return!0;t=t.parentElement}return!1}})}function Nk(e){let t=nE(e);iE().nextFrame((()=>{t&&!Vk(t.activeElement,0)&&jk(e)}))}var Bk=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Bk||{});function jk(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let zk=["textarea","input"].join(",");function Hk(e,t=e=>e){return e.slice().sort(((e,r)=>{let n=t(e),a=t(r);if(null===n||null===a)return 0;let i=n.compareDocumentPosition(a);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Gk(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?Hk(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Tk)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):Lk(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),n=null!=n?n:i.activeElement;let o,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},p=0,d=s.length;do{if(p>=d||p+d<=0)return 0;let e=c+p;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}o=s[e],null==o||o.focus(u),p+=l}while(o!==i.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,zk))&&r}(o)&&o.select(),2}var Wk=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Wk||{});let qk={0(e,t){let r=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:Hk(r,(e=>e.element.current))}},1(e,t){let r=e.options.slice(),n=e.options.findIndex((e=>e.id===t.id));return-1===n?e:(r.splice(n,1),{...e,options:r})}},Uk=(0,a.createContext)(null);function Xk(e){let t=(0,a.useContext)(Uk);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Xk),t}return t}Uk.displayName="RadioGroupDataContext";let Qk=(0,a.createContext)(null);function $k(e){let t=(0,a.useContext)(Qk);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$k),t}return t}function Jk(e,t){return SE(t.type,qk,e,t)}Qk.displayName="RadioGroupActionsContext";let Zk=DE((function(e,t){let r=(0,a.useId)(),n=yE(),{id:i=`headlessui-radiogroup-${r}`,value:s,form:o,name:l,onChange:c,by:u,disabled:p=n||!1,defaultValue:d,...f}=e,h=function(e=_k){return(0,a.useCallback)(((t,r)=>{if("string"==typeof e){let n=e;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e(t,r)}),[e])}(u),[m,g]=(0,a.useReducer)(Jk,{options:[]}),y=m.options,[v,b]=ak(),[x,w]=ZE(),E=(0,a.useRef)(null),k=mE(E,t),S=dE(d),[C,A]=pE(s,c,S),_=(0,a.useMemo)((()=>y.find((e=>!e.propsRef.current.disabled))),[y]),P=(0,a.useMemo)((()=>y.some((e=>h(e.propsRef.current.value,C)))),[y,C]),T=cE((e=>{var t;if(p||h(e,C))return!1;let r=null==(t=y.find((t=>h(t.propsRef.current.value,e))))?void 0:t.propsRef.current;return!(null!=r&&r.disabled||(null==A||A(e),0))})),I=cE((e=>{let t=E.current;if(!t)return;let r=nE(t),n=y.filter((e=>!1===e.propsRef.current.disabled)).map((e=>e.element.current));switch(e.key){case ek.Enter:EE(e.currentTarget);break;case ek.ArrowLeft:case ek.ArrowUp:if(e.preventDefault(),e.stopPropagation(),Gk(n,Mk.Previous|Mk.WrapAround)===Dk.Success){let e=y.find((e=>e.element.current===(null==r?void 0:r.activeElement)));e&&T(e.propsRef.current.value)}break;case ek.ArrowRight:case ek.ArrowDown:if(e.preventDefault(),e.stopPropagation(),Gk(n,Mk.Next|Mk.WrapAround)===Dk.Success){let e=y.find((e=>e.element.current===(null==r?void 0:r.activeElement)));e&&T(e.propsRef.current.value)}break;case ek.Space:{e.preventDefault(),e.stopPropagation();let t=y.find((e=>e.element.current===(null==r?void 0:r.activeElement)));t&&T(t.propsRef.current.value)}}})),F=cE((e=>(g({type:0,...e}),()=>g({type:1,id:e.id})))),M=(0,a.useMemo)((()=>({value:C,firstOption:_,containsCheckedOption:P,disabled:p,compare:h,...m})),[C,_,P,p,h,m]),D=(0,a.useMemo)((()=>({registerOption:F,change:T})),[F,T]),R={ref:k,id:i,role:"radiogroup","aria-labelledby":v,"aria-describedby":x,onKeyDown:I},L=(0,a.useMemo)((()=>({value:C})),[C]),O=(0,a.useCallback)((()=>{if(void 0!==S)return T(S)}),[T,S]),V=PE();return a.createElement(w,{name:"RadioGroup.Description"},a.createElement(b,{name:"RadioGroup.Label"},a.createElement(Qk.Provider,{value:D},a.createElement(Uk.Provider,{value:M},null!=l&&a.createElement(HE,{disabled:p,data:{[l]:C||"on"},overrides:{type:"radio",checked:null!=C},form:o,onReset:O}),V({ourProps:R,theirProps:f,slot:L,defaultTag:"div",name:"RadioGroup"})))))})),Yk=DE((function(e,t){var r;let n=Xk("RadioGroup.Option"),i=$k("RadioGroup.Option"),s=(0,a.useId)(),{id:o=`headlessui-radiogroup-option-${s}`,value:l,disabled:c=n.disabled||!1,autoFocus:u=!1,...p}=e,d=(0,a.useRef)(null),f=mE(d,t),[h,m]=ak(),[g,y]=ZE(),v=lE({value:l,disabled:c});oE((()=>i.registerOption({id:o,element:d,propsRef:v})),[o,i,d,v]);let b=cE((e=>{var t;if(XE(e.currentTarget))return e.preventDefault();i.change(l)&&(null==(t=d.current)||t.focus())})),x=(null==(r=n.firstOption)?void 0:r.id)===o,{isFocusVisible:w,focusProps:E}=Xw({autoFocus:u}),{isHovered:k,hoverProps:S}=Kw({isDisabled:c}),C=n.compare(n.value,l),A=ME({ref:f,id:o,role:"radio","aria-checked":C?"true":"false","aria-labelledby":h,"aria-describedby":g,"aria-disabled":!!c||void 0,tabIndex:c?-1:C||!n.containsCheckedOption&&x?0:-1,onClick:c?void 0:b,autoFocus:u},E,S),_=(0,a.useMemo)((()=>({checked:C,disabled:c,active:w,hover:k,focus:w,autofocus:u})),[C,c,k,w,u]),P=PE();return a.createElement(y,{name:"RadioGroup.Description"},a.createElement(m,{name:"RadioGroup.Label"},P({ourProps:A,theirProps:p,slot:_,defaultTag:"div",name:"RadioGroup.Option"})))})),Kk=DE((function(e,t){var r;let n=Xk("Radio"),i=$k("Radio"),s=(0,a.useId)(),o=qE(),l=yE(),{id:c=o||`headlessui-radio-${s}`,value:u,disabled:p=n.disabled||l||!1,autoFocus:d=!1,...f}=e,h=(0,a.useRef)(null),m=mE(h,t),g=nk(),y=JE(),v=lE({value:u,disabled:p});oE((()=>i.registerOption({id:c,element:h,propsRef:v})),[c,i,h,v]);let b=cE((e=>{var t;if(XE(e.currentTarget))return e.preventDefault();i.change(u)&&(null==(t=h.current)||t.focus())})),{isFocusVisible:x,focusProps:w}=Xw({autoFocus:d}),{isHovered:E,hoverProps:k}=Kw({isDisabled:p}),S=(null==(r=n.firstOption)?void 0:r.id)===c,C=n.compare(n.value,u),A=ME({ref:m,id:c,role:"radio","aria-checked":C?"true":"false","aria-labelledby":g,"aria-describedby":y,"aria-disabled":!!p||void 0,tabIndex:p?-1:C||!n.containsCheckedOption&&S?0:-1,autoFocus:d,onClick:p?void 0:b},w,k),_=(0,a.useMemo)((()=>({checked:C,disabled:p,hover:E,focus:x,autofocus:d})),[C,p,E,x,d]);return PE()({ourProps:A,theirProps:f,slot:_,defaultTag:"span",name:"Radio"})})),eS=sk,tS=KE,rS=Object.assign(Zk,{Option:Yk,Radio:Kk,Label:eS,Description:tS});const{imageDir:nS}=starterTemplates,aS=()=>{const e=cs(),[{selectedTemplateID:t,allSitesData:r,currentCustomizeIndex:n},i]=cs(),[s,o]=(0,a.useState)(t),l=r[`id-${t}`],c=l?.related_ecommerce_template||"";(0,a.useEffect)((()=>{o(t)}),[t,c]),(0,a.useEffect)((()=>{c||i({type:"set",currentCustomizeIndex:n+1})}),[c,n,i]);const u=[{name:(0,wn.__)("SureCart","astra-sites"),value:t,id:"surecart",icon:`${nS}surecart-icon.svg`,description:(0,wn.__)("Seamless all-in-one ecommerce platform for selling physical, digital, or subscription, products.","astra-sites"),recommended:!0},{name:(0,wn.__)("WooCommerce","astra-sites"),value:c,id:"woocommerce",icon:`${nS}woocommerce-icon.svg`,description:(0,wn.__)("Open source e-commerce plugin for WordPress.","astra-sites"),recommended:!1}];return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"w-full mt-2.5"},(0,a.createElement)(rS,{by:"value",value:u.find((e=>e.value===s)),onChange:async t=>{const r=parseInt(t?.value);i({type:"set",templateId:t?.id}),o(r),e[0].selectedEcommercePlugin=t?.id,await tu(r,e),await ru(e),iu(e)},"aria-label":(0,wn.__)("Choose E-commerce template","astra-sites"),className:"space-y-2 flex flex-col gap-4"},u?.map((e=>(0,a.createElement)(Kk,{key:e.name,value:e},(({checked:t})=>(0,a.createElement)("div",{className:Ao("w-full p-3 border border-button-disabled !border-solid rounded-lg bg-white cursor-pointer",t&&"shadow-lg border-accent-st-secondary")},(0,a.createElement)("div",{className:"flex items-center justify-between p-1"},(0,a.createElement)("div",{className:"flex items-center"},(0,a.createElement)("img",{className:"size-6",alt:e?.name,src:e?.icon}),(0,a.createElement)("span",{className:"ml-2 text-base font-semibold"},e?.name)),(0,a.createElement)("div",{className:"flex gap-2 items-center"},e?.recommended&&(0,a.createElement)("span",{className:"border-solid border-[0.5px] border-[#BBF7D0] bg-alert-success-bg text-[#15803D] text-xs font-medium rounded-full px-2 py-0.5"},(0,wn.__)("Recommended","astra-sites")),(0,a.createElement)("span",{className:Ao("flex size-4 border-2 border-button-disabled items-center justify-center border-solid rounded-full",t&&"border-accent-st-secondary border-[5px]")}))),(0,a.createElement)("div",{className:"mt-1 p-1 pr-5 text-sm font-normal"},(0,a.createElement)("p",null,e?.description))))))))))},iS=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}));var sS=e=>"checkbox"===e.type,oS=e=>e instanceof Date,lS=e=>null==e;const cS=e=>"object"==typeof e;var uS=e=>!lS(e)&&!Array.isArray(e)&&cS(e)&&!oS(e),pS="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function dS(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(pS&&(e instanceof Blob||e instanceof FileList)||!r&&!uS(e))return e;if(t=r?[]:{},r||(e=>{const t=e.constructor&&e.constructor.prototype;return uS(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=dS(e[r]));else t=e}return t}var fS=e=>Array.isArray(e)?e.filter(Boolean):[],hS=e=>void 0===e,mS=(e,t,r)=>{if(!t||!uS(e))return r;const n=fS(t.split(/[,[\].]+?/)).reduce(((e,t)=>lS(e)?e:e[t]),e);return hS(n)||n===e?hS(e[t])?r:e[t]:n},gS=e=>"boolean"==typeof e;const yS="onChange",vS="onSubmit",bS="all",xS="pattern",wS="required";a.createContext(null);var ES=e=>uS(e)&&!Object.keys(e).length,kS=e=>Array.isArray(e)?e:[e];var SS=e=>"string"==typeof e,CS=e=>/^\w*$/.test(e),AS=e=>fS(e.replace(/["|']|\]/g,"").split(/\.|\[/)),_S=(e,t,r)=>{let n=-1;const a=CS(t)?[t]:AS(t),i=a.length,s=i-1;for(;++n<i;){const t=a[n];let i=r;if(n!==s){const r=e[t];i=uS(r)||Array.isArray(r)?r:isNaN(+a[n+1])?{}:[]}e[t]=i,e=e[t]}return e},PS=(e,t,r,n,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:a||!0}}:{},TS=e=>({isOnSubmit:!e||e===vS,isOnBlur:"onBlur"===e,isOnChange:e===yS,isOnAll:e===bS,isOnTouch:"onTouched"===e}),IS=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const FS=(e,t,r,n)=>{for(const a of r||Object.keys(e)){const r=mS(e,a);if(r){const{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],a)&&!n)break;if(e.ref&&t(e.ref,e.name)&&!n)break;FS(i,t)}else uS(i)&&FS(i,t)}}};var MS=(e,t,r)=>{const n=fS(mS(e,r));return _S(n,"root",t[r]),_S(e,r,n),e},DS=e=>"file"===e.type,RS=e=>"function"==typeof e,LS=e=>{if(!pS)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},OS=e=>SS(e),VS=e=>"radio"===e.type,NS=e=>e instanceof RegExp;const BS={value:!1,isValid:!1},jS={value:!0,isValid:!0};var zS=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!hS(e[0].attributes.value)?hS(e[0].value)||""===e[0].value?jS:{value:e[0].value,isValid:!0}:jS:BS}return BS};const HS={isValid:!1,value:null};var GS=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),HS):HS;function WS(e,t,r="validate"){if(OS(e)||Array.isArray(e)&&e.every(OS)||gS(e)&&!e)return{type:r,message:OS(e)?e:"",ref:t}}var qS=e=>uS(e)&&!NS(e)?e:{value:e,message:""},US=async(e,t,r,n,a)=>{const{ref:i,refs:s,required:o,maxLength:l,minLength:c,min:u,max:p,pattern:d,validate:f,name:h,valueAsNumber:m,mount:g,disabled:y}=e._f,v=mS(t,h);if(!g||y)return{};const b=s?s[0]:i,x=e=>{n&&b.reportValidity&&(b.setCustomValidity(gS(e)?"":e||""),b.reportValidity())},w={},E=VS(i),k=sS(i),S=E||k,C=(m||DS(i))&&hS(i.value)&&hS(v)||LS(i)&&""===i.value||""===v||Array.isArray(v)&&!v.length,A=PS.bind(null,h,r,w),_=(e,t,r,n="maxLength",a="minLength")=>{const s=e?t:r;w[h]={type:e?n:a,message:s,ref:i,...A(e?n:a,s)}};if(a?!Array.isArray(v)||!v.length:o&&(!S&&(C||lS(v))||gS(v)&&!v||k&&!zS(s).isValid||E&&!GS(s).isValid)){const{value:e,message:t}=OS(o)?{value:!!o,message:o}:qS(o);if(e&&(w[h]={type:wS,message:t,ref:b,...A(wS,t)},!r))return x(t),w}if(!(C||lS(u)&&lS(p))){let e,t;const n=qS(p),a=qS(u);if(lS(v)||isNaN(v)){const r=i.valueAsDate||new Date(v),s=e=>new Date((new Date).toDateString()+" "+e),o="time"==i.type,l="week"==i.type;SS(n.value)&&v&&(e=o?s(v)>s(n.value):l?v>n.value:r>new Date(n.value)),SS(a.value)&&v&&(t=o?s(v)<s(a.value):l?v<a.value:r<new Date(a.value))}else{const r=i.valueAsNumber||(v?+v:v);lS(n.value)||(e=r>n.value),lS(a.value)||(t=r<a.value)}if((e||t)&&(_(!!e,n.message,a.message,"max","min"),!r))return x(w[h].message),w}if((l||c)&&!C&&(SS(v)||a&&Array.isArray(v))){const e=qS(l),t=qS(c),n=!lS(e.value)&&v.length>+e.value,a=!lS(t.value)&&v.length<+t.value;if((n||a)&&(_(n,e.message,t.message),!r))return x(w[h].message),w}if(d&&!C&&SS(v)){const{value:e,message:t}=qS(d);if(NS(e)&&!v.match(e)&&(w[h]={type:xS,message:t,ref:i,...A(xS,t)},!r))return x(t),w}if(f)if(RS(f)){const e=WS(await f(v,t),b);if(e&&(w[h]={...e,...A("validate",e.message)},!r))return x(e.message),w}else if(uS(f)){let e={};for(const n in f){if(!ES(e)&&!r)break;const a=WS(await f[n](v,t),b,n);a&&(e={...a,...A(n,a.message)},x(a.message),r&&(w[h]=e))}if(!ES(e)&&(w[h]={ref:b,...e},!r))return w}return x(!0),w};function XS(e,t){const r=Array.isArray(t)?t:CS(t)?[t]:AS(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=hS(e)?n++:e[t[n++]];return e}(e,r),a=r.length-1,i=r[a];return n&&delete n[i],0!==a&&(uS(n)&&ES(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!hS(e[t]))return!1;return!0}(n))&&XS(e,r.slice(0,-1)),e}var QS=()=>{let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},$S=e=>lS(e)||!cS(e);function JS(e,t){if($S(e)||$S(t))return e===t;if(oS(e)&&oS(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const a of r){const r=e[a];if(!n.includes(a))return!1;if("ref"!==a){const e=t[a];if(oS(r)&&oS(e)||uS(r)&&uS(e)||Array.isArray(r)&&Array.isArray(e)?!JS(r,e):r!==e)return!1}}return!0}var ZS=e=>"select-multiple"===e.type,YS=e=>LS(e)&&e.isConnected,KS=e=>{for(const t in e)if(RS(e[t]))return!0;return!1};function eC(e,t={}){const r=Array.isArray(e);if(uS(e)||r)for(const r in e)Array.isArray(e[r])||uS(e[r])&&!KS(e[r])?(t[r]=Array.isArray(e[r])?[]:{},eC(e[r],t[r])):lS(e[r])||(t[r]=!0);return t}function tC(e,t,r){const n=Array.isArray(e);if(uS(e)||n)for(const n in e)Array.isArray(e[n])||uS(e[n])&&!KS(e[n])?hS(t)||$S(r[n])?r[n]=Array.isArray(e[n])?eC(e[n],[]):{...eC(e[n])}:tC(e[n],lS(t)?{}:t[n],r[n]):r[n]=!JS(e[n],t[n]);return r}var rC=(e,t)=>tC(e,t,eC(t)),nC=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>hS(e)?e:t?""===e?NaN:e?+e:e:r&&SS(e)?new Date(e):n?n(e):e;function aC(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return DS(t)?t.files:VS(t)?GS(e.refs).value:ZS(t)?[...t.selectedOptions].map((({value:e})=>e)):sS(t)?zS(e.refs).value:nC(hS(t.value)?e.ref.value:t.value,e)}var iC=e=>hS(e)?e:NS(e)?e.source:uS(e)?NS(e.value)?e.value.source:e.value:e;function sC(e,t,r){const n=mS(e,r);if(n||CS(r))return{error:n,name:r};const a=r.split(".");for(;a.length;){const n=a.join("."),i=mS(t,n),s=mS(e,n);if(i&&!Array.isArray(i)&&r!==n)return{name:r};if(s&&s.type)return{name:n,error:s};a.pop()}return{name:r}}const oC={mode:vS,reValidateMode:yS,shouldFocusError:!0};function lC(e={},t){let r,n={...oC,...e},a={submitCount:0,isDirty:!1,isLoading:RS(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},s=(uS(n.values)||uS(n.defaultValues))&&dS(n.values||n.defaultValues)||{},o=n.shouldUnregister?{}:dS(s),l={action:!1,mount:!1,watch:!1},c={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u=0;const p={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:QS(),array:QS(),state:QS()},f=TS(n.mode),h=TS(n.reValidateMode),m=n.criteriaMode===bS,g=async e=>{if(p.isValid||e){const e=n.resolver?ES((await x()).errors):await w(i,!0);e!==a.isValid&&d.state.next({isValid:e})}},y=e=>p.isValidating&&d.state.next({isValidating:e}),v=(e,t,r,n)=>{const a=mS(i,e);if(a){const i=mS(o,e,hS(r)?mS(s,e):r);hS(i)||n&&n.defaultChecked||t?_S(o,e,t?i:aC(a._f)):S(e,i),l.mount&&g()}},b=(e,t,r,n,o)=>{let l=!1,c=!1;const u={name:e},f=!(!mS(i,e)||!mS(i,e)._f.disabled);if(!r||n){p.isDirty&&(c=a.isDirty,a.isDirty=u.isDirty=E(),l=c!==u.isDirty);const r=f||JS(mS(s,e),t);c=!(f||!mS(a.dirtyFields,e)),r||f?XS(a.dirtyFields,e):_S(a.dirtyFields,e,!0),u.dirtyFields=a.dirtyFields,l=l||p.dirtyFields&&c!==!r}if(r){const t=mS(a.touchedFields,e);t||(_S(a.touchedFields,e,r),u.touchedFields=a.touchedFields,l=l||p.touchedFields&&t!==r)}return l&&o&&d.state.next(u),l?u:{}},x=async e=>n.resolver(o,n.context,((e,t,r,n)=>{const a={};for(const r of e){const e=mS(t,r);e&&_S(a,r,e._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:n}})(e||c.mount,i,n.criteriaMode,n.shouldUseNativeValidation)),w=async(e,t,r={valid:!0})=>{for(const i in e){const s=e[i];if(s){const{_f:e,...i}=s;if(e){const i=c.array.has(e.name),l=await US(s,o,m,n.shouldUseNativeValidation&&!t,i);if(l[e.name]&&(r.valid=!1,t))break;!t&&(mS(l,e.name)?i?MS(a.errors,l,e.name):_S(a.errors,e.name,l[e.name]):XS(a.errors,e.name))}i&&await w(i,t,r)}}return r.valid},E=(e,t)=>(e&&t&&_S(o,e,t),!JS(I(),s)),k=(e,t,r)=>((e,t,r,n,a)=>SS(e)?(n&&t.watch.add(e),mS(r,e,a)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),mS(r,e)))):(n&&(t.watchAll=!0),r))(e,c,{...l.mount?o:hS(t)?s:SS(e)?{[e]:t}:t},r,t),S=(e,t,r={})=>{const n=mS(i,e);let a=t;if(n){const r=n._f;r&&(!r.disabled&&_S(o,e,nC(t,r)),a=LS(r.ref)&&lS(t)?"":t,ZS(r.ref)?[...r.ref.options].forEach((e=>e.selected=a.includes(e.value))):r.refs?sS(r.ref)?r.refs.length>1?r.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value))):r.refs[0]&&(r.refs[0].checked=!!a):r.refs.forEach((e=>e.checked=e.value===a)):DS(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||d.values.next({name:e,values:{...o}})))}(r.shouldDirty||r.shouldTouch)&&b(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&T(e)},C=(e,t,r)=>{for(const n in t){const a=t[n],s=`${e}.${n}`,o=mS(i,s);!c.array.has(e)&&$S(a)&&(!o||o._f)||oS(a)?S(s,a,r):C(s,a,r)}},A=(e,r,n={})=>{const u=mS(i,e),f=c.array.has(e),h=dS(r);_S(o,e,h),f?(d.array.next({name:e,values:{...o}}),(p.isDirty||p.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:rC(s,o),isDirty:E(e,h)})):!u||u._f||lS(h)?S(e,h,n):C(e,h,n),IS(e,c)&&d.state.next({...a}),d.values.next({name:e,values:{...o}}),!l.mount&&t()},_=async t=>{const s=t.target;let l=s.name,v=!0;const E=mS(i,l),k=e=>{v=Number.isNaN(e)||e===mS(o,l,e)};if(E){let C,A;const _=s.type?aC(E._f):(e=>uS(e)&&e.target?sS(e.target)?e.target.checked:e.target.value:e)(t),P="blur"===t.type||"focusout"===t.type,I=!((S=E._f).mount&&(S.required||S.min||S.max||S.maxLength||S.minLength||S.pattern||S.validate)||n.resolver||mS(a.errors,l)||E._f.deps)||((e,t,r,n,a)=>!a.isOnAll&&(!r&&a.isOnTouch?!(t||e):(r?n.isOnBlur:a.isOnBlur)?!e:!(r?n.isOnChange:a.isOnChange)||e))(P,mS(a.touchedFields,l),a.isSubmitted,h,f),F=IS(l,c,P);_S(o,l,_),P?(E._f.onBlur&&E._f.onBlur(t),r&&r(0)):E._f.onChange&&E._f.onChange(t);const M=b(l,_,P,!1),D=!ES(M)||F;if(!P&&d.values.next({name:l,type:t.type,values:{...o}}),I)return p.isValid&&g(),D&&d.state.next({name:l,...F?{}:M});if(!P&&F&&d.state.next({...a}),y(!0),n.resolver){const{errors:e}=await x([l]);if(k(_),v){const t=sC(a.errors,i,l),r=sC(e,i,t.name||l);C=r.error,l=r.name,A=ES(e)}}else C=(await US(E,o,m,n.shouldUseNativeValidation))[l],k(_),v&&(C?A=!1:p.isValid&&(A=await w(i,!0)));v&&(E._f.deps&&T(E._f.deps),((t,n,i,s)=>{const o=mS(a.errors,t),l=p.isValid&&gS(n)&&a.isValid!==n;var c;if(e.delayError&&i?(c=()=>((e,t)=>{_S(a.errors,e,t),d.state.next({errors:a.errors})})(t,i),r=e=>{clearTimeout(u),u=setTimeout(c,e)},r(e.delayError)):(clearTimeout(u),r=null,i?_S(a.errors,t,i):XS(a.errors,t)),(i?!JS(o,i):o)||!ES(s)||l){const e={...s,...l&&gS(n)?{isValid:n}:{},errors:a.errors,name:t};a={...a,...e},d.state.next(e)}y(!1)})(l,A,C,M))}var S},P=(e,t)=>{if(mS(a.errors,t)&&e.focus)return e.focus(),1},T=async(e,t={})=>{let r,s;const o=kS(e);if(y(!0),n.resolver){const t=await(async e=>{const{errors:t}=await x(e);if(e)for(const r of e){const e=mS(t,r);e?_S(a.errors,r,e):XS(a.errors,r)}else a.errors=t;return t})(hS(e)?e:o);r=ES(t),s=e?!o.some((e=>mS(t,e))):r}else e?(s=(await Promise.all(o.map((async e=>{const t=mS(i,e);return await w(t&&t._f?{[e]:t}:t)})))).every(Boolean),(s||a.isValid)&&g()):s=r=await w(i);return d.state.next({...!SS(e)||p.isValid&&r!==a.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:a.errors,isValidating:!1}),t.shouldFocus&&!s&&FS(i,P,e?o:c.mount),s},I=e=>{const t={...s,...l.mount?o:{}};return hS(e)?t:SS(e)?mS(t,e):e.map((e=>mS(t,e)))},F=(e,t)=>({invalid:!!mS((t||a).errors,e),isDirty:!!mS((t||a).dirtyFields,e),isTouched:!!mS((t||a).touchedFields,e),error:mS((t||a).errors,e)}),M=(e,t,r)=>{const n=(mS(i,e,{_f:{}})._f||{}).ref;_S(a.errors,e,{...t,ref:n}),d.state.next({name:e,errors:a.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},D=(e,t={})=>{for(const r of e?kS(e):c.mount)c.mount.delete(r),c.array.delete(r),t.keepValue||(XS(i,r),XS(o,r)),!t.keepError&&XS(a.errors,r),!t.keepDirty&&XS(a.dirtyFields,r),!t.keepTouched&&XS(a.touchedFields,r),!n.shouldUnregister&&!t.keepDefaultValue&&XS(s,r);d.values.next({values:{...o}}),d.state.next({...a,...t.keepDirty?{isDirty:E()}:{}}),!t.keepIsValid&&g()},R=({disabled:e,name:t,field:r,fields:n,value:a})=>{if(gS(e)){const i=e?void 0:hS(a)?aC(r?r._f:mS(n,t)._f):a;_S(o,t,i),b(t,i,!1,!1,!0)}},L=(e,t={})=>{let r=mS(i,e);const a=gS(t.disabled);return _S(i,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),c.mount.add(e),r?R({field:r,disabled:t.disabled,name:e,value:t.value}):v(e,!0,t.value),{...a?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:iC(t.min),max:iC(t.max),minLength:iC(t.minLength),maxLength:iC(t.maxLength),pattern:iC(t.pattern)}:{},name:e,onChange:_,onBlur:_,ref:a=>{if(a){L(e,t),r=mS(i,e);const n=hS(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,o=(e=>VS(e)||sS(e))(n),l=r._f.refs||[];if(o?l.find((e=>e===n)):n===r._f.ref)return;_S(i,e,{_f:{...r._f,...o?{refs:[...l.filter(YS),n,...Array.isArray(mS(s,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),v(e,!1,void 0,n)}else r=mS(i,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!((e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)))(c.array,e)||!l.action)&&c.unMount.add(e)}}},O=()=>n.shouldFocusError&&FS(i,P,c.mount),V=(e,t)=>async r=>{let s;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let l=dS(o);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await x();a.errors=e,l=t}else await w(i);if(XS(a.errors,"root"),ES(a.errors)){d.state.next({errors:{}});try{await e(l,r)}catch(e){s=e}}else t&&await t({...a.errors},r),O(),setTimeout(O);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ES(a.errors)&&!s,submitCount:a.submitCount+1,errors:a.errors}),s)throw s},N=(r,n={})=>{const u=r?dS(r):s,f=dS(u),h=r&&!ES(r)?f:s;if(n.keepDefaultValues||(s=u),!n.keepValues){if(n.keepDirtyValues)for(const e of c.mount)mS(a.dirtyFields,e)?_S(h,e,mS(o,e)):A(e,mS(h,e));else{if(pS&&hS(r))for(const e of c.mount){const t=mS(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(LS(e)){const t=e.closest("form");if(t){t.reset();break}}}}i={}}o=e.shouldUnregister?n.keepDefaultValues?dS(s):{}:dS(h),d.array.next({values:{...h}}),d.values.next({values:{...h}})}c={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!l.mount&&t(),l.mount=!p.isValid||!!n.keepIsValid||!!n.keepDirtyValues,l.watch=!!e.shouldUnregister,d.state.next({submitCount:n.keepSubmitCount?a.submitCount:0,isDirty:n.keepDirty?a.isDirty:!(!n.keepDefaultValues||JS(r,s)),isSubmitted:!!n.keepIsSubmitted&&a.isSubmitted,dirtyFields:n.keepDirtyValues?n.keepDefaultValues&&o?rC(s,o):a.dirtyFields:n.keepDefaultValues&&r?rC(s,r):{},touchedFields:n.keepTouched?a.touchedFields:{},errors:n.keepErrors?a.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},B=(e,t)=>N(RS(e)?e(o):e,t);return{control:{register:L,unregister:D,getFieldState:F,handleSubmit:V,setError:M,_executeSchema:x,_getWatch:k,_getDirty:E,_updateValid:g,_removeUnmounted:()=>{for(const e of c.unMount){const t=mS(i,e);t&&(t._f.refs?t._f.refs.every((e=>!YS(e))):!YS(t._f.ref))&&D(e)}c.unMount=new Set},_updateFieldArray:(e,t=[],r,n,c=!0,u=!0)=>{if(n&&r){if(l.action=!0,u&&Array.isArray(mS(i,e))){const t=r(mS(i,e),n.argA,n.argB);c&&_S(i,e,t)}if(u&&Array.isArray(mS(a.errors,e))){const t=r(mS(a.errors,e),n.argA,n.argB);c&&_S(a.errors,e,t),((e,t)=>{!fS(mS(e,t)).length&&XS(e,t)})(a.errors,e)}if(p.touchedFields&&u&&Array.isArray(mS(a.touchedFields,e))){const t=r(mS(a.touchedFields,e),n.argA,n.argB);c&&_S(a.touchedFields,e,t)}p.dirtyFields&&(a.dirtyFields=rC(s,o)),d.state.next({name:e,isDirty:E(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else _S(o,e,t)},_updateDisabledField:R,_getFieldArray:t=>fS(mS(l.mount?o:s,t,e.shouldUnregister?mS(s,t,[]):[])),_reset:N,_resetDefaultValues:()=>RS(n.defaultValues)&&n.defaultValues().then((e=>{B(e,n.resetOptions),d.state.next({isLoading:!1})})),_updateFormState:e=>{a={...a,...e}},_disableForm:e=>{gS(e)&&(d.state.next({disabled:e}),FS(i,((t,r)=>{let n=e;const a=mS(i,r);a&&gS(a._f.disabled)&&(n||(n=a._f.disabled)),t.disabled=n}),0,!1))},_subjects:d,_proxyFormState:p,_setErrors:e=>{a.errors=e,d.state.next({errors:a.errors,isValid:!1})},get _fields(){return i},get _formValues(){return o},get _state(){return l},set _state(e){l=e},get _defaultValues(){return s},get _names(){return c},set _names(e){c=e},get _formState(){return a},set _formState(e){a=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:T,register:L,handleSubmit:V,watch:(e,t)=>RS(e)?d.values.subscribe({next:r=>e(k(void 0,t),r)}):k(e,t,!0),setValue:A,getValues:I,reset:B,resetField:(e,t={})=>{mS(i,e)&&(hS(t.defaultValue)?A(e,dS(mS(s,e))):(A(e,t.defaultValue),_S(s,e,dS(t.defaultValue))),t.keepTouched||XS(a.touchedFields,e),t.keepDirty||(XS(a.dirtyFields,e),a.isDirty=t.defaultValue?E(e,dS(mS(s,e))):E()),t.keepError||(XS(a.errors,e),p.isValid&&g()),d.state.next({...a}))},clearErrors:e=>{e&&kS(e).forEach((e=>XS(a.errors,e))),d.state.next({errors:e?a.errors:{}})},unregister:D,setError:M,setFocus:(e,t={})=>{const r=mS(i,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:F}}const cC=(0,Jc.forwardRef)((({disabled:e=!1,className:t,inputClassName:r,error:n,name:i,validations:s,label:o,noBorder:l,height:c="[42px]",labelColorClassName:u="text-heading-text",enableDebounce:p,onChange:d,prefixIcon:f,suffixIcon:h,enableAutoGrow:m=!1,register:g,...y},v)=>{const{ref:b,...x}=(0,Jc.useMemo)((()=>"function"==typeof g?g(i,s):{}),[i,g,s]);return(0,a.createElement)("div",{className:t},o&&(0,a.createElement)("label",{htmlFor:i,className:Ao("sp-text-base font-medium text-heading-text",u)},o,s?.required&&(0,a.createElement)("span",{className:"text-alert-error"}," *")),(0,a.createElement)("div",{className:"flex relative items-center"},f&&f,(0,a.createElement)("div",{className:Ao(m?"relative overflow-hidden flex justify-start items-center":"w-full")},(0,a.createElement)("input",{ref:e=>{if(e&&"function"==typeof b&&b(e),v)switch(typeof v){case"function":v(e);break;case"object":v.current=e}},name:i,disabled:e,className:Ao("w-full px-[1rem] placeholder:text-secondary-text rounded-md outline-none text-[0.9rem] placeholder:!text-base",`h-${c}`,o?"mt-2":"",l?"bg-transparent":"px-3 border border-solid focus:ring-1 focus:ring-accent-st",m&&"absolute left-0 min-w-[50px]",e?"cursor-not-allowed":"",r,!l&&"input-focus-border"),style:{borderColor:n&&!l?"#EF4444":"#E5E7EB",boxShadow:n&&!l?"0px 1px 1px 0px #EF4444, 0px 0px 0px 1px #EF4444":"0px 1px 2px 0px rgba(0, 0, 0, 0.05)"},onChange:p?_o(d,500):d,...y,...x}),m&&(0,a.createElement)("span",{className:"invisible inline whitespace-pre text-[0.9rem]"},y.value||y.placeholder)),h&&h),n&&(0,a.createElement)("div",{className:"mt-1 text-sm text-alert-error "},n.message))})),{restNonce:uC}=starterTemplates,pC=e=>{const{}=function(e={}){const t=a.useRef(),r=a.useRef(),[n,i]=a.useState({isDirty:!1,isValidating:!1,isLoading:RS(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:RS(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...lC(e,(()=>i((e=>({...e}))))),formState:n});const s=t.current.control;return s._options=e,function(e){const t=a.useRef(e);t.current=e,a.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}({subject:s._subjects.state,next:e=>{((e,t,r,n)=>{r(e);const{name:a,...i}=e;return ES(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find((e=>t[e]===(!n||bS)))})(e,s._proxyFormState,s._updateFormState,!0)&&i({...s._formState})}}),a.useEffect((()=>s._disableForm(e.disabled)),[s,e.disabled]),a.useEffect((()=>{if(s._proxyFormState.isDirty){const e=s._getDirty();e!==n.isDirty&&s._subjects.state.next({isDirty:e})}}),[s,n.isDirty]),a.useEffect((()=>{e.values&&!JS(e.values,r.current)?(s._reset(e.values,s._options.resetOptions),r.current=e.values,i((e=>({...e})))):s._resetDefaultValues()}),[e.values,s]),a.useEffect((()=>{e.errors&&s._setErrors(e.errors)}),[e.errors,s]),a.useEffect((()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()})),a.useEffect((()=>{e.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})}),[e.shouldUnregister,s]),t.current.formState=((e,t,r,n=!0)=>{const a={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(a,i,{get:()=>{const a=i;return t._proxyFormState[a]!==bS&&(t._proxyFormState[a]=!n||bS),r&&(r[a]=!0),e[a]}});return a})(n,s),t.current}({defaultValues:{"license-key":""}}),t=cs(),[{templateId:r,currentIndex:n,validateLicenseStatus:i,builder:s},o]=t,[l,c]=(0,a.useState)(!1),[u,p]=(0,a.useState)(!1),[d,f]=(0,a.useState)("");(0,a.useEffect)((()=>{o({type:"set",designStep:2})}),[]);const h=(0,wn.__)("Access this template and all others with Essentials & Business Toolkit package starting at just $79.","astra-sites"),m=(0,wn.__)("Please enter your licence key.","astra-sites"),g=()=>{""!==d?(p(!0),Kc().use(Kc().createNonceMiddleware(uC)),Kc()({path:"/bsf-core/v1/license/activate",method:"POST",data:{"license-key":d,"product-id":"astra-pro-sites"}}).then((async a=>{a.success?(await tu(r,t),await ru(t),o({type:"set",licenseStatus:!0,currentIndex:n+1})):e.setErrorCB(a.message),p(!1)}))):e.setErrorCB((0,wn.__)("Please Enter License Key","astra-sites"))},y=u?"processing":"",v=(0,wn.sprintf)( //translators: %1$s Opening anchor tag %2$s Closing anchor tag. //translators: %1$s Opening anchor tag %2$s Closing anchor tag. (0,wn.__)("If you have already purchased the Essential or Business Toolkit, please install the premium version of the Starter Templates plugin from our %1$sstore%2$s.","astra-sites"),'<a href="https://wpastra.com/support/free-support/" target="_blank">',"</a>"),b=(0,wn.sprintf)( //translators: %1$s Opening anchor tag %2$s Closing anchor tag. //translators: %1$s Opening anchor tag %2$s Closing anchor tag. (0,wn.__)("Need help? feel free to get in touch with our %1$ssupport team%2$s.","astra-sites"),'<a href="https://wpastra.com/support/free-support/" target="_blank">',"</a>");return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"flex flex-col p-4 rounded-md border border-solid border-blue-500 gap-3 via-blue-500 bg-background-primary"},(0,a.createElement)("div",{className:"flex gap-2 flex-col"},(0,a.createElement)("div",{className:"flex gap-2 items-center"},(0,a.createElement)("span",{className:"w-5 h-5"},ps.premiumIcon),(0,a.createElement)("h4",{className:"text-base font-semibold text-16 leading-24 tracking-normal text-left"},(0,wn.__)("Premium Template","astra-sites"))),(0,a.createElement)("p",null,l?" ":h)),l&&!i&&(0,a.createElement)("p",null,(0,wn.__)("You are currently using the Free version.","astra-sites"),(0,a.createElement)("br",null),(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:v}}),(0,a.createElement)("br",null),(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:b}})),l&&i&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("p",null,m),(0,a.createElement)("form",{className:"",onSubmit:g},(0,a.createElement)("div",{style:{position:"relative"}},(0,a.createElement)(cC,{className:"w-full",inputClassName:"pr-10",height:"12",name:"license-key",placeholder:(0,wn.__)("License key","astra-sites"),onChange:t=>{f(t.target.value),e.setErrorCB("")},value:d}),(0,a.createElement)("button",{type:"button",className:`absolute right-0 top-0 h-full p-1 pl-2 flex items-center justify-center cursor-pointer bg-transparent border-0 focus:outline-none ${y}`,onClick:g},u?ps.spinner:(0,a.createElement)(tx,{className:"w-5 h-5"})))),(0,a.createElement)("div",{className:"text-xs flex gap-6 flex-row"},(0,a.createElement)("p",null,(0,a.createElement)("a",{href:"https://store.brainstormforce.com/login/",target:"_blank",rel:"noreferrer"},(0,wn.__)("Get your key here","astra-sites"))),(0,a.createElement)("p",null,(0,a.createElement)("a",{href:"https://wpastra.com/support/free-support/",target:"_blank",rel:"noreferrer"},(0,wn.__)("Need help?","astra-sites"))))),!l&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(os,{className:"px-3 py-2 rounded-md gap-2 flex !mt-1",onClick:wo()?()=>{"#"!==astraSitesVars?.whiteLabelUrl&&window.open(astraSitesVars?.whiteLabelUrl)}:()=>{window.open(astraSitesVars?.cta_links[s])}},(0,wn.__)("Get Access","astra-sites"),(0,a.createElement)(tx,{className:"w-4 h-4 text-zip-dark-theme-heading"})),(0,a.createElement)("div",{className:"text-center"},(0,a.createElement)("a",{href:"#",className:"w-fill h-hug",onClick:e=>{e.preventDefault(),c(!0)}},(0,wn.__)("Already purchased?","astra-sites"))))))},dC=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))})),fC=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))})),hC=window.wp.hooks,mC=window.wp.components,gC=window.wp.mediaUtils,yC=()=>{const[{siteLogo:e},t]=cs();(0,hC.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",(()=>gC.MediaUpload));const r=(e,t)=>{Eo({param:e,data:t})},n=e=>{t({type:"set",siteLogo:e}),r("siteLogo",e)},i=()=>{n(tF.siteLogo)};return(0,a.useEffect)((()=>{if(astraSitesVars?.isRTLEnabled){const e=document.querySelector(".components-range-control__wrapper");if(null===e)return;const t=e.children[3].style.left;e.children[3].style.marginRight="-10px",e.children[3].style.removeProperty("margin-left"),e.children[3].style.right=t,e.children[4].style.removeProperty("transform"),e.children[4].style.removeProperty("left"),e.children[4].style.right=t,e.children[4].style.transform="translateX(50%)"}})),(0,a.createElement)(a.Fragment,null,(0,a.createElement)("h5",{className:"!text-sm !font-semibold !mb-1 !mt-5"},"Site Logo"),(0,a.createElement)(gC.MediaUpload,{onSelect:t=>(t=>{const r={id:t.id,url:t.url,width:e.width};"http:"===window.location.protocol?ko(t.url,(function(e){r.dataUri=e,n(r)})):n(r)})(t),allowedTypes:["image"],value:e.id,render:({open:n})=>(0,a.createElement)("div",{className:"space-y-3"},!!e.url&&(0,a.createElement)("div",{className:"w-full py-2.5 px-3 flex items-start justify-start gap-3 rounded-md border border-solid border-border-tertiary bg-background-primary"},(0,a.createElement)("div",{className:"w-full flex items-center justify-between"},(0,a.createElement)("div",{className:"flex items-center justify-center rounded-sm bg-zip-dark-theme-border p-1"},(0,a.createElement)("img",{className:"w-8 h-8 object-contain",alt:(0,wn.__)("Site Logo","astra-sites"),src:e.url})),(0,a.createElement)("div",{className:"flex items-center justify-end gap-4"},(0,a.createElement)("button",{onClick:n,className:"inline-flex border-0 focus:outline-none bg-transparent text-sm font-normal cursor-pointer"},(0,wn.__)("Change","astra-sites")),(0,a.createElement)("button",{onClick:i,className:"inline-flex border-0 focus:outline-none bg-transparent cursor-pointer"},(0,a.createElement)(dC,{className:"h-5 w-5 text-alert-error"}))))),!e.url&&(0,a.createElement)("button",{className:"w-full py-2.5 px-3 flex items-start justify-start gap-3 rounded-md border border-solid border-border-tertiary cursor-pointer bg-background-primary",onClick:n},(0,a.createElement)(fC,{className:"h-5 w-5 text-zip-app-inactive-icon"}),(0,a.createElement)("div",{className:"space-y-5"},(0,a.createElement)("p",{className:"text-start !text-sm !font-normal !leading-5 !m-0"},(0,wn.__)("Upload File Here","astra-sites")))),e.url&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"flex items-center justify-between gap-2"},(0,a.createElement)("div",{className:"flex-1 text-sm font-normal"},(0,wn.__)("Logo width","astra-sites")),(0,a.createElement)("div",{className:"w-20 [&_.components\\-base\\-control\\_\\_field]:mb-0"},(0,a.createElement)(mC.RangeControl,{className:"[&_.components\\-range\\-control\\_\\_thumb-wrapper]:border [&_.components\\-range\\-control\\_\\_thumb-wrapper]:border-solid [&_.components\\-range\\-control\\_\\_thumb-wrapper]:border-white [&_.components\\-range\\-control\\_\\_thumb-wrapper]:w-[14px] [&_.components\\-range\\-control\\_\\_thumb-wrapper]:h-[14px] [&_.components\\-range\\-control\\_\\_thumb-wrapper]:mt-2",value:e.width,min:50,max:250,step:1,onChange:n=>{(n=>{const a={...e,width:n};t({type:"set",siteLogo:a}),r("siteLogo",a)})(n)},trackColor:"#2563EB",color:"#2563EB",railColor:"#FFFFFF",disabled:""===e.url,withInputField:!1})),(0,a.createElement)("div",{className:"w-16 flex items-center justify-center gap-1 px-2 py-1 pointer-events-none"},(0,a.createElement)("span",{className:"text-sm font-normal"},e.width),(0,a.createElement)("span",{className:"text-sm font-normal text-zip-app-inactive-icon"},"px"))),(0,a.createElement)("hr",{className:"my-6 border-b-0 border-t border-border-tertiary w-full"})))}))},vC=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))})),bC=[{slug:"style-1",title:(0,wn.__)("Style 1","astra-sites"),colors:["#0085FF","#0177E3","#FFFFFF","#E7F6FF","#212A37","#0F172A","#4F5B62","#070614","#222222"]},{slug:"style-2",title:(0,wn.__)("Style 2","astra-sites"),colors:["#8B5DFF","#7B47FF","#FFFFFF","#F2F0FE","#1B203A","#0F102A","#4B4D56","#0D0614","#222222"]},{slug:"style-3",title:(0,wn.__)("Style 3","astra-sites"),colors:["#21B4A6","#0FAF9F","#FFFFFF","#EDF6F3","#1C2A3C","#111A28","#4E4E4E","#061314","#222222"]},{slug:"style-4",title:(0,wn.__)("Style 4","astra-sites"),colors:["#FF6210","#FF5700","#FFFFFF","#FEF1E4","#21201F","#171615","#373532","#140B06","#222222"]},{slug:"style-5",title:(0,wn.__)("Style 5","astra-sites"),colors:["#239D60","#039A4F","#FFFFFF","#EDF6F1","#202B29","#131D19","#353A36","#0C1406","#222222"]},{slug:"style-6",title:(0,wn.__)("Style 6","astra-sites"),colors:["#FB5FAB","#EA559D","#FFFFFF","#FCEEF5","#29223C","#180F2A","#4B3F4A","#140610","#222222"]},{slug:"style-7",title:(0,wn.__)("Style 7","astra-sites"),colors:["#DD183B","#CC1939","#FFFFFF","#FFEDE6","#231417","#150B0F","#3D2E32","#140609","#222222"]},{slug:"style-8",title:(0,wn.__)("Style 8","astra-sites"),colors:["#FD9800","#E98C00","#FFFFFF","#FEF9E1","#161923","#090C17","#2E2D2A","#141006","#222222"]},{slug:"style-9",title:(0,wn.__)("Style 9","astra-sites"),colors:["#DCA54A","#D09A40","#FFFFFF","#FAF5E5","#1B1B1B","#0E0D06","#2E2D2A","#141006","#222222"]},{slug:"style-10",title:(0,wn.__)("Style 10","astra-sites"),colors:["#3AA6B9","#2997AA","#FFFFFF","#E9F8F9","#1C2125","#091118","#2E2D2A","#061114","#222222"]}],xC=[{slug:"style-1",title:(0,wn.__)("Style 1","astra-sites"),colors:["#0067FF","#005EE9","#0F172A","#364151","#E7F6FF","#FFFFFF","#D1DAE5","#070614","#222222"]},{slug:"style-2",title:(0,wn.__)("Style 2","astra-sites"),colors:["#54B435","#379237","#0F172A","#2F3B40","#EDFBE2","#FFFFFF","#D5EAD8","#0C1406","#222222"]},{slug:"style-3",title:(0,wn.__)("Style 3","astra-sites"),colors:["#DD183B","#CC1939","#0F172A","#3A3A3A","#FFEDE6","#FFFFFF","#FFD1BF","#140609","#222222"]},{slug:"style-4",title:(0,wn.__)("Style 4","astra-sites"),colors:["#FB5FAB","#EA559D","#0F172A","#454F5E","#FCEEF5","#FFFFFF","#FAD8E9","#140610","#222222"]},{slug:"style-5",title:(0,wn.__)("Style 5","astra-sites"),colors:["#FF6210","#F15808","#1C0D0A","#353535","#FEF1E4","#FFFFFF","#E5D7D1","#140B06","#222222"]},{slug:"style-6",title:(0,wn.__)("Style 6","astra-sites"),colors:["#6528F7","#5511F8","#0F172A","#454F5E","#F2F0FE","#FFFFFF","#D8D8F5","#0D0614","#222222"]},{slug:"style-7",title:(0,wn.__)("Style 7","astra-sites"),colors:["#FD9800","#E98C00","#0F172A","#454F5E","#FEF9E1","#FFFFFF","#F9F0C8","#141006","#222222"]},{slug:"style-8",title:(0,wn.__)("Style 8","astra-sites"),colors:["#1B9C85","#178E79","#0F172A","#454F5E","#EDF6EE","#FFFFFF","#D4F3D7","#06140C","#222222"]},{slug:"style-9",title:(0,wn.__)("Style 9","astra-sites"),colors:["#DCA54A","#D09A40","#0F172A","#4A4A4A","#FAF5E5","#FFFFFF","#F0E6C5","#141004","#222222"]},{slug:"style-10",title:(0,wn.__)("Style 10","astra-sites"),colors:["#3AA6B9","#2997AA","#0F172A","#454F5E","#E9F8F9","#FFFFFF","#CAE6E8","#181823","#222222"]}],wC=(0,a.memo)((()=>{const[{activePalette:e,templateResponse:t},r]=cs(),[n,i]=(0,a.useState)(xC),s=e=>{Eo(e)};return(0,a.useEffect)((()=>{const e=(e=>{let t=[];if(e&&"astra-site-customizer-data"in e){const r=e["astra-site-customizer-data"]||"";if(r){const e=r["astra-settings"]["global-color-palette"]?.palette||[];e&&(t=[{slug:"default",title:(0,wn.__)("Original","astra-sites"),colors:e}])}}return t})(t);let n="light"===(e=>{let t="light";return e&&"astra-site-color-scheme"in e&&""!==e["astra-site-color-scheme"]&&(t=e["astra-site-color-scheme"]),t})(t)?xC:bC;const a=t?.["astra-custom-palettes"]||[];if(a.length&&a.length%2==0){let e=a;const t=[];e.map((e=>{const r={slug:e.slug,title:e.slug},a=[...n[0].colors];return a[0]=e.colors[0],a[1]=e.colors[1],r.colors=a,t.push(r),t})),e=[...t,...n],e.map(((t,r)=>(e[r].title="Style"+(r+1),e[r].slug="style-"+(r+1),e))),n=e}i([...e,...n]),r({type:"set",activePalette:e[0]})}),[t]),(0,a.createElement)("div",{className:"space-y-2"},(0,a.createElement)("div",{className:"flex items-center justify-between"},(0,a.createElement)("p",{className:"text-zip-app-heading text-sm"},(0,a.createElement)("span",{className:"font-semibold"},(0,wn.__)("Color Palette","astra-sites"),":"," "),(0,a.createElement)("span",null,e?.title)),(0,a.createElement)("button",{key:"reset-to-default-colors",className:Ao("inline-flex p-px items-center justify-center text-button-disabled border-0 bg-transparent focus:outline-none transition-colors duration-200 ease-in-out","default"!==e?.slug&&"text-zip-app-inactive-icon cursor-pointer"),..."default"!==e?.slug&&{onClick:()=>{const e=n[0];s({param:"colorPalette",data:e}),r({type:"set",activePalette:e})}}},(0,a.createElement)(vC,{className:"w-[0.875rem] h-[0.875rem]",strokeWidth:2}))),(0,a.createElement)("div",{className:"grid grid-cols-5 gap-3 auto-rows-[36px]"},n.map((t=>{return(0,a.createElement)("div",{key:t.slug,className:Ao("flex justify-center items-center gap-3 text-body-text rounded-md border border-solid border-button-disabled h-9 w-full cursor-pointer",e?.slug===t.slug&&"outline-1 outline outline-offset-2 outline-accent-st-secondary"),onClick:(n=t,()=>{s({param:"colorPalette",data:n}),r({type:"set",activePalette:n})})},!!t?.colors?.length&&(0,a.createElement)("div",{className:"w-full h-full flex items-center justify-center gap-1 rounded-md",style:{background:t?.colors?.[5]}},(0,a.createElement)("span",{className:"inline-block w-[14px] h-[14px] rounded-full shrink-0",style:{background:t?.colors?.[0]}}),(0,a.createElement)("span",{className:"inline-block w-[14px] h-[14px] rounded-full shrink-0",style:{background:t?.colors?.[1]}})),!t?.colors?.length&&(0,a.createElement)(ax,{className:"!shrink-0 w-full h-full rounded-md"}));var n}))))})),EC=[{"body-font-family":"'Manrope', sans-serif","body-font-family-slug":"manrope","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Plus Jakarta Sans', sans-serif","headings-font-family-slug":"plus-jakarta-sans","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'DM Sans', sans-serif","body-font-family-slug":"dm-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Lexend', sans-serif","headings-font-family-slug":"lexend","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-family-slug":"inter","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Work Sans', sans-serif","headings-font-family-slug":"work-sans","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Poppins', sans-serif","body-font-family-slug":"poppins","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Inter', sans-serif","headings-font-family-slug":"inter","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Lora', serif","body-font-family-slug":"lora","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Nunito Sans', sans-serif","headings-font-family-slug":"nunito-sans","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-family-slug":"inter","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Manrope', sans-serif","headings-font-family-slug":"manrope","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'DM Sans', sans-serif","body-font-family-slug":"dm-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Outfit', sans-serif","headings-font-family-slug":"outfit","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-family-slug":"inter","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'IBM Plex Serif', serif","headings-font-family-slug":"ibm-plex-serif","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Plus Jakarta Sans', sans-serif","body-font-family-slug":"plus-jakarta-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Crimson Text', serif","headings-font-family-slug":"crimson-text","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'IBM Plex Sans', sans-serif","body-font-family-slug":"ibm-plex-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'EB Garamond', serif","headings-font-family-slug":"eb-garamond","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""}],kC=(e,t)=>{if(!e)return"";if(e){const r=e.match(/'([^']+)'/);return r?r[1]:"inherit"===e?t:e}return t||void 0},SC=(0,a.memo)((()=>{const[{typography:e,templateResponse:t},r]=cs(),[n,i]=(0,a.useState)(EC.map(((e,t)=>({...e,id:t})))),s=(e=>{const t={},r=["h1","h2","h3","h4","h5","h6"];if(e&&"astra-site-customizer-data"in e){const n=e["astra-site-customizer-data"]||"";if(n){const e=n["astra-settings"]||[];r.forEach((r=>{t["font-family-"+r]=e[`font-family-${r}`],t["font-weight-"+r]=e[`font-weight-${r}`],t["text-transform-"+r]=e[`text-transform-${r}`],t["line-height-"+r]=e[`line-height-${r}`]}))}}return t})(t);(0,a.useEffect)((()=>{const e=document.getElementById("google-fonts-url");if(t){const a=[],s=(e=>{let t={};if(e&&"astra-site-customizer-data"in e){const r=e["astra-site-customizer-data"]||"";if(r){const e=r["astra-settings"]||[],n=e["headings-font-family"];t={default:!0,"body-font-family":e["body-font-family"],"body-font-variant":e["body-font-variant"],"body-font-weight":e["body-font-weight"],"font-size-body":e["font-size-body"],"body-line-height":e["body-line-height"],"headings-font-family":n,"headings-font-weight":e["headings-font-weight"],"headings-line-height":e["headings-line-height"],"headings-font-variant":e["headings-font-variant"]}}}return t})(t);if(a.push({id:"default-font",...s}),!document.getElementById("google-fonts-domain")){const e=document.createElement("link");e.id="google-fonts-domain",e.setAttribute("rel","preconnect"),e.setAttribute("href","https://fonts.gstatic.com"),document.head.appendChild(e)}e&&e.remove();const o=document.createElement("link");o.id="google-fonts-url",o.setAttribute("rel","stylesheet");const l=[];let c=s["body-font-family"]||"",u=parseInt(s["body-font-weight"])||"";u&&(u=`:wght@${u}`),c&&(c=kC(c),c=void 0!==c?c.replace(" ","+"):c,l.push(`family=${c}${u}`));let p=s["headings-font-family"]||"",d=parseInt(s["headings-font-weight"])||"";d&&(d=`:wght@${d}`),p&&(p=kC(p,c),p=void 0!==p?p.replace(" ","+"):p,l.push(`family=${p}${d}`));let f="";if(n){for(const e of n)f+=`&family=${kC(e["headings-font-family"]).replaceAll(" ","+")}:wght@${e["headings-font-weight"]}&family=${kC(e["body-font-family"]).replaceAll(" ","+")}:wght@${e["body-font-weight"]}`;f=f.replace(/[&]{1}$/i,"")}if(l){const e=`https://fonts.googleapis.com/css2?${l.join("&")}${f}&display=swap`;o.setAttribute("href",e),document.head.insertAdjacentElement("afterbegin",o)}const h=a.concat(n);r({type:"set",typography:h[0]}),i(h)}}),[t]);const o=e=>{Eo(e)},l=kC(e?.["headings-font-family"])||"",c=kC(e?.["body-font-family"])||"";return(0,a.createElement)("div",{className:"space-y-2"},(0,a.createElement)("div",{className:"flex items-center justify-between"},(0,a.createElement)("p",{className:"text-zip-app-heading text-sm w-full truncate"},(0,a.createElement)("span",{className:"font-semibold"},(0,wn.__)("Font Pair","astra-sites"),":"),(0,a.createElement)("span",{className:"font-normal"}," ",l," & ",c," ")),(0,a.createElement)("button",{key:"reset-to-default-fonts",className:Ao("inline-flex p-px items-center justify-center text-button-disabled border-0 bg-transparent focus:outline-none transition-colors duration-200 ease-in-out cursor-default",!e?.default&&"text-zip-app-inactive-icon cursor-pointer"),...!e?.default&&{onClick:()=>{const e=n[0];o({param:"siteTypography",data:JSON.parse(JSON.stringify(e))}),r({type:"set",typography:e})}}},(0,a.createElement)(vC,{className:"w-[0.875rem] h-[0.875rem]",strokeWidth:2}))),(0,a.createElement)("div",{className:"grid grid-cols-5 gap-3 auto-rows-[36px]"},n.map((t=>{const n=kC(t["body-font-family"])||"",i=kC(t["headings-font-family"],n)||"";return(0,a.createElement)("div",{key:t.id,className:Ao("flex justify-center items-center text-body-text font-normal px-2 py-1 border border-solid border-button-disabled rounded-md bg-st-background-secondary hover:bg-white transition duration-150 ease-in-out cursor-pointer w-full h-9",e?.id===t.id&&"outline-1 outline outline-offset-2 outline-accent-st-secondary bg-white"),onClick:(l=t,()=>{const e=s?{...l,...s}:l;o({param:"siteTypography",data:JSON.parse(JSON.stringify(e))}),r({type:"set",typography:l})})},(0,a.createElement)("span",{className:"truncate text-xl font-normal",style:{fontFamily:i}},"A"),(0,a.createElement)("span",{className:"truncate text-sm font-normal",style:{fontFamily:n}},"g"));var l}))))})),CC=[{content:()=>{const[{},e]=cs();return(0,a.useEffect)((()=>{e({type:"set",designStep:1})}),[]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Ak,null),(0,a.createElement)("div",{className:"customizer-header"},(0,a.createElement)("div",{className:"header-name"},(0,a.createElement)("h3",{className:"ist-customizer-heading"},(0,wn.__)("Choose eCommerce Platform","astra-sites")),(0,a.createElement)("p",{className:"screen-description"},(0,wn.__)("Choose your preferred e-Commerce platform. Based on your selection, you will receive the account setup and cart options.","astra-sites")))))},controls:()=>{const[{currentCustomizeIndex:e,currentIndex:t,templateId:r},n]=cs();return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(aS,null),(0,a.createElement)("div",{className:"w-full flex flex-col gap-4 mt-auto"},(0,a.createElement)(os,{className:"w-full flex gap-2 items-center "+(0===r?"!bg-border-tertiary !text-zip-app-inactive-icon":""),onClick:()=>{n({type:"set",currentCustomizeIndex:e+1})},disabled:0===r},(0,a.createElement)("span",null,(0,wn.__)("Continue","astra-sites")),(0,a.createElement)(iS,{className:"w-4 h-4 !fill-none"})),(0,a.createElement)(us,{onClick:()=>{setTimeout((()=>{n({type:"set",currentIndex:t-1,currentCustomizeIndex:0})}),300)}},(0,wn.__)("Back","astra-sites"))))},class:"customize-ecommerce-selections"},{content:()=>{const[{currentCustomizeIndex:e,templateResponse:t,licenseStatus:r,selectedTemplateType:n,templateId:i,currentIndex:s,builder:o},l]=cs(),[c,u]=(0,a.useState)("");(0,a.useEffect)((()=>{"free"!==t?.["astra-site-type"]&&!r&&astraSitesVars?.isPro&&l({type:"set",validateLicenseStatus:!0})}),[t]);const p=e=>(e.returnValue=(0,wn.__)("Are you sure you want to cancel the site import process?","astra-sites"),e);return(0,a.useEffect)((()=>(window.addEventListener("beforeunload",p),()=>window.removeEventListener("beforeunload",p)))),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Ak,null),(0,a.createElement)("div",{className:"flex flex-col gap-2 text-sm px-6 font-normal leading-5 mt-3"},(0,a.createElement)("h5",null,(0,wn.__)("Customize","astra-sites")),(0,a.createElement)("p",{className:"!text-zip-app-inactive-icon"},(0,wn.__)("Add your own logo, change color and font.","astra-sites"))),(0,a.createElement)("div",{className:"st-preview-section px-6 mb-5 w-full space-y-5"},(0,a.createElement)(yC,null),t?(0,a.createElement)(a.Fragment,null,(0,a.createElement)(SC,null),"beaver-builder"!==o&&(0,a.createElement)(wC,null)):(0,a.createElement)("div",{className:"space-y-5"},(0,a.createElement)("div",{"data-placeholder":!0,className:"relative animate-pulse overflow-hidden bg-gray-300 h-[50px] w-full rounded-md"}),"beaver-builder"!==o&&(0,a.createElement)("div",{"data-placeholder":!0,className:"relative animate-pulse overflow-hidden bg-gray-300 h-[50px] w-full rounded-md"}))),(0,a.createElement)("div",{className:"w-full flex flex-col gap-4 mt-auto px-6 sm:pb-0 pb-14"},!r&&"free"!==n&&(0,a.createElement)(pC,{setErrorCB:e=>{u(e)}}),(0,a.createElement)("div",{className:"flex flex-col gap-2 mt-2"},(r&&"free"!==n||"free"===n)&&(0,a.createElement)(os,{className:"w-full flex gap-2 items-center "+(!r&&"free"!==n||0===i&&"free"===n?"!bg-border-tertiary !text-zip-app-inactive-icon":""),onClick:()=>{l({type:"set",currentIndex:s+1})},disabled:!r&&"free"!==n||0===i&&"free"===n},(0,a.createElement)("span",null,(0,wn.__)("Continue","astra-sites")),(0,a.createElement)(iS,{className:"w-4 h-4 !fill-none"})),(0,a.createElement)(us,{className:"w-full",onClick:()=>{l({type:"set",currentCustomizeIndex:e-1,currentIndex:s-1})},customizeStep:!0},(0,wn.__)("Back","astra-sites")))),""!==c&&(0,a.createElement)(Qr.Toaster,{type:"error",message:c,autoHideDuration:5,className:"flex relative"}))},class:"customize-business-logo"}];var AC=r(9891),_C=r.n(AC),PC=r(5095),TC=r.n(PC),IC=r(3885),FC=r.n(IC);function MC(){return MC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},MC.apply(this,arguments)}function DC(e,t){return e(t={exports:{}},t.exports),t.exports}var RC="function"==typeof Symbol&&Symbol.for,LC=RC?Symbol.for("react.element"):60103,OC=RC?Symbol.for("react.portal"):60106,VC=RC?Symbol.for("react.fragment"):60107,NC=RC?Symbol.for("react.strict_mode"):60108,BC=RC?Symbol.for("react.profiler"):60114,jC=RC?Symbol.for("react.provider"):60109,zC=RC?Symbol.for("react.context"):60110,HC=RC?Symbol.for("react.async_mode"):60111,GC=RC?Symbol.for("react.concurrent_mode"):60111,WC=RC?Symbol.for("react.forward_ref"):60112,qC=RC?Symbol.for("react.suspense"):60113,UC=RC?Symbol.for("react.suspense_list"):60120,XC=RC?Symbol.for("react.memo"):60115,QC=RC?Symbol.for("react.lazy"):60116,$C=RC?Symbol.for("react.block"):60121,JC=RC?Symbol.for("react.fundamental"):60117,ZC=RC?Symbol.for("react.responder"):60118,YC=RC?Symbol.for("react.scope"):60119;function KC(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case LC:switch(e=e.type){case HC:case GC:case VC:case BC:case NC:case qC:return e;default:switch(e=e&&e.$$typeof){case zC:case WC:case QC:case XC:case jC:return e;default:return t}}case OC:return t}}}function eA(e){return KC(e)===GC}var tA={AsyncMode:HC,ConcurrentMode:GC,ContextConsumer:zC,ContextProvider:jC,Element:LC,ForwardRef:WC,Fragment:VC,Lazy:QC,Memo:XC,Portal:OC,Profiler:BC,StrictMode:NC,Suspense:qC,isAsyncMode:function(e){return eA(e)||KC(e)===HC},isConcurrentMode:eA,isContextConsumer:function(e){return KC(e)===zC},isContextProvider:function(e){return KC(e)===jC},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===LC},isForwardRef:function(e){return KC(e)===WC},isFragment:function(e){return KC(e)===VC},isLazy:function(e){return KC(e)===QC},isMemo:function(e){return KC(e)===XC},isPortal:function(e){return KC(e)===OC},isProfiler:function(e){return KC(e)===BC},isStrictMode:function(e){return KC(e)===NC},isSuspense:function(e){return KC(e)===qC},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===VC||e===GC||e===BC||e===NC||e===qC||e===UC||"object"==typeof e&&null!==e&&(e.$$typeof===QC||e.$$typeof===XC||e.$$typeof===jC||e.$$typeof===zC||e.$$typeof===WC||e.$$typeof===JC||e.$$typeof===ZC||e.$$typeof===YC||e.$$typeof===$C)},typeOf:KC};DC((function(e,t){})),DC((function(e){e.exports=tA})),Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;(function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}})()&&Object.assign;function rA(){}function nA(){}Function.call.bind(Object.prototype.hasOwnProperty),nA.resetWarningCache=rA;var aA,iA,sA,oA=DC((function(e){e.exports=function(){function e(e,t,r,n,a,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:nA,resetWarningCache:rA};return r.PropTypes=r,r}()})),lA={animationData:oA.object,path:oA.string,play:oA.bool,goTo:oA.number,speed:oA.number,direction:oA.number,loop:oA.oneOfType([oA.number,oA.bool]),useSubframes:oA.bool,segments:oA.oneOfType([oA.arrayOf(oA.number),oA.bool]),rendererSettings:oA.object,renderer:oA.string,audioFactory:oA.func,onComplete:oA.func,onLoopComplete:oA.func,onEnterFrame:oA.func,onSegmentStart:oA.func},cA={},uA=function(){},pA=(aA=_C(),iA=aA.loadAnimation,sA=(0,a.memo)((0,a.forwardRef)((function(e,t){var r=e.animationData,n=void 0===r?null:r,i=e.path,o=void 0===i?null:i,l=e.play,c=void 0===l?null:l,u=e.speed,p=void 0===u?1:u,d=e.direction,f=void 0===d?1:d,h=e.segments,m=void 0===h?null:h,g=e.goTo,y=void 0===g?null:g,v=e.useSubframes,b=void 0===v||v,x=e.renderer,w=void 0===x?"svg":x,E=e.loop,k=void 0===E||E,S=e.rendererSettings,C=void 0===S?cA:S,A=e.audioFactory,_=void 0===A?null:A,P=e.onLoad,T=void 0===P?uA:P,I=e.onComplete,F=void 0===I?uA:I,M=e.onLoopComplete,D=void 0===M?uA:M,R=e.onEnterFrame,L=void 0===R?uA:R,O=e.onSegmentStart,V=void 0===O?uA:O,N=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,["animationData","path","play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),B=(0,a.useRef)(),j=(0,a.useRef)(),z=(0,a.useState)(!1),H=z[0],G=z[1],W=(0,a.useState)(m),q=W[0],U=W[1];(0,a.useEffect)((function(){TC()(q,m)||U(m)}),[m,q]);var X=(0,a.useState)(C),Q=X[0],$=X[1];(0,a.useEffect)((function(){TC()(Q,C)||$(C)}),[C,Q]),(0,a.useEffect)((function(){return function(){return j.current.removeEventListener("complete",F)}}),[F]),(0,a.useEffect)((function(){return function(){return j.current.removeEventListener("loopComplete",D)}}),[D]),(0,a.useEffect)((function(){return function(){return j.current.removeEventListener("enterFrame",L)}}),[L]),(0,a.useEffect)((function(){return function(){return j.current.removeEventListener("segmentStart",V)}}),[V]),(0,a.useEffect)((function(){return function(){return j.current.removeEventListener("DOMLoaded",T)}}),[T]);var J=(0,a.useCallback)((function(e){j.current=e,"function"==typeof t?t(e):null!=t&&(t.current=e)}),[t]);(0,a.useEffect)((function(){var e=iA({animationData:null==n||"object"!=typeof n?n:"object"==typeof n.default?FC()(n.default):FC()(n),path:o,container:B.current,renderer:w,loop:!1,autoplay:!1,rendererSettings:Q,audioFactory:_});J(e);var t=function(){return G(!0)};return j.current.addEventListener("DOMLoaded",t),function(){j.current.removeEventListener("DOMLoaded",t),G(!1),j.current.destroy(),J(void 0)}}),[k,w,Q,n,o,_,J]),(0,a.useEffect)((function(){j.current.addEventListener("DOMLoaded",T)}),[T]),(0,a.useEffect)((function(){j.current.addEventListener("complete",F)}),[F]),(0,a.useEffect)((function(){j.current.addEventListener("loopComplete",D)}),[D]),(0,a.useEffect)((function(){j.current.addEventListener("enterFrame",L)}),[L]),(0,a.useEffect)((function(){j.current.addEventListener("segmentStart",V)}),[V]),(0,a.useEffect)((function(){H&&(j.current.loop=k)}),[H,k]);var Z=(0,a.useRef)(!1);return(0,a.useEffect)((function(){if(H)if(!0===c){var e=!0;q?(j.current.playSegments(q,e),Z.current=!0,-1===f&&t(q[1])):(Z.current&&j.current.resetSegments(e),Z.current=!1,-1===f?t(j.current.getDuration(!0)):j.current.play())}else!1===c&&j.current.pause();function t(e){j.current.goToAndPlay(e,!0),j.current.setDirection(f)}}),[c,q,H,f]),(0,a.useEffect)((function(){H&&(Number.isNaN(p)||j.current.setSpeed(p))}),[p,H]),(0,a.useEffect)((function(){H&&j.current.setDirection(f)}),[f,H]),(0,a.useEffect)((function(){if(H&&null!=y){var e=!0;c?j.current.goToAndPlay(y,e):j.current.goToAndStop(y,e)}}),[y,c,H]),(0,a.useEffect)((function(){j.current.setSubframe&&j.current.setSubframe(b)}),[b]),s().createElement("div",MC({},N,{ref:B}))}))),sA.propTypes=lA,sA);const dA=pA;var fA={};!function e(t,r,n,a){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),s="function"==typeof Path2D&&"function"==typeof DOMMatrix;function o(){}function l(e){var n=r.exports.Promise,a=void 0!==n?n:t.Promise;return"function"==typeof a?new a(e):(e(o,o),null)}var c,u,p,d,f,h,m,g,y,v=function(e,t){return{transform:function(r){if(e)return r;if(t.has(r))return t.get(r);var n=new OffscreenCanvas(r.width,r.height);return n.getContext("2d").drawImage(r,0,0),t.set(r,n),n},clear:function(){t.clear()}}}(function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),r=e.getContext("2d");r.fillRect(0,0,1,1);var n=e.transferToImageBitmap();try{r.createPattern(n,"no-repeat")}catch(e){return!1}return!0}(),new Map),b=(p=Math.floor(1e3/60),d={},f=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(c=function(e){var t=Math.random();return d[t]=requestAnimationFrame((function r(n){f===n||f+p-1<n?(f=n,delete d[t],e()):d[t]=requestAnimationFrame(r)})),t},u=function(e){d[e]&&cancelAnimationFrame(d[e])}):(c=function(e){return setTimeout(e,p)},u=function(e){return clearTimeout(e)}),{frame:c,cancel:u}),x=(g={},function(){if(h)return h;if(!n&&i){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,r){e.postMessage({options:t||{},callback:r})}e.init=function(t){var r=t.transferControlToOffscreen();e.postMessage({canvas:r},[r])},e.fire=function(r,n,a){if(m)return t(r,null),m;var i=Math.random().toString(36).slice(2);return m=l((function(n){function s(t){t.data.callback===i&&(delete g[i],e.removeEventListener("message",s),m=null,v.clear(),a(),n())}e.addEventListener("message",s),t(r,i),g[i]=s.bind(null,{data:{callback:i}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),g)g[t](),delete g[t]}}(h)}return h}),w={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function E(e,t,r){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:w[t],r)}function k(e){return e<0?0:Math.floor(e)}function S(e){return parseInt(e,16)}function C(e){return e.map(A)}function A(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:S(t.substring(0,2)),g:S(t.substring(2,4)),b:S(t.substring(4,6))}}function _(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function P(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function T(e,r){var o,c=!e,u=!!E(r||{},"resize"),p=!1,d=E(r,"disableForReducedMotion",Boolean),f=i&&E(r||{},"useWorker")?x():null,h=c?_:P,m=!(!e||!f||!e.__confetti_initialized),g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function y(t,r,i){for(var c,u,p,d=E(t,"particleCount",k),f=E(t,"angle",Number),m=E(t,"spread",Number),g=E(t,"startVelocity",Number),y=E(t,"decay",Number),x=E(t,"gravity",Number),w=E(t,"drift",Number),S=E(t,"colors",C),A=E(t,"ticks",Number),_=E(t,"shapes"),P=E(t,"scalar"),T=!!E(t,"flat"),I=function(e){var t=E(e,"origin",Object);return t.x=E(t,"x",Number),t.y=E(t,"y",Number),t}(t),F=d,M=[],D=e.width*I.x,R=e.height*I.y;F--;)M.push((void 0,void 0,u=(c={x:D,y:R,angle:f,spread:m,startVelocity:g,color:S[F%S.length],shape:_[(L=0,O=_.length,Math.floor(Math.random()*(O-L))+L)],ticks:A,decay:y,gravity:x,drift:w,scalar:P,flat:T}).angle*(Math.PI/180),p=c.spread*(Math.PI/180),{x:c.x,y:c.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*c.startVelocity+Math.random()*c.startVelocity,angle2D:-u+(.5*p-Math.random()*p),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:c.color,shape:c.shape,tick:0,totalTicks:c.ticks,decay:c.decay,drift:c.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*c.gravity,ovalScalar:.6,scalar:c.scalar,flat:c.flat}));var L,O;return o?o.addFettis(M):(o=function(e,t,r,i,o){var c,u,p=t.slice(),d=e.getContext("2d"),f=l((function(t){function l(){c=u=null,d.clearRect(0,0,i.width,i.height),v.clear(),o(),t()}c=b.frame((function t(){!n||i.width===a.width&&i.height===a.height||(i.width=e.width=a.width,i.height=e.height=a.height),i.width||i.height||(r(e),i.width=e.width,i.height=e.height),d.clearRect(0,0,i.width,i.height),(p=p.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var r=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,a=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,o=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),s&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill(function(e,t,r,n,a,i,s){var o=new Path2D(e),l=new Path2D;l.addPath(o,new DOMMatrix(t));var c=new Path2D;return c.addPath(l,new DOMMatrix([Math.cos(s)*a,Math.sin(s)*a,-Math.sin(s)*i,Math.cos(s)*i,r,n])),c}(t.shape.path,t.shape.matrix,t.x,t.y,.1*Math.abs(i-n),.1*Math.abs(o-a),Math.PI/10*t.wobble));else if("bitmap"===t.shape.type){var l=Math.PI/10*t.wobble,c=.1*Math.abs(i-n),u=.1*Math.abs(o-a),p=t.shape.bitmap.width*t.scalar,d=t.shape.bitmap.height*t.scalar,f=new DOMMatrix([Math.cos(l)*c,Math.sin(l)*c,-Math.sin(l)*u,Math.cos(l)*u,t.x,t.y]);f.multiplySelf(new DOMMatrix(t.shape.matrix));var h=e.createPattern(v.transform(t.shape.bitmap),"no-repeat");h.setTransform(f),e.globalAlpha=1-r,e.fillStyle=h,e.fillRect(t.x-p/2,t.y-d/2,p,d),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(o-a)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,r,n,a,i,s,o){e.save(),e.translate(t,r),e.rotate(i),e.scale(n,a),e.arc(0,0,1,0,o,void 0),e.restore()}(e,t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(o-a)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var m=Math.PI/2*3,g=4*t.scalar,y=8*t.scalar,b=t.x,x=t.y,w=5,E=Math.PI/w;w--;)b=t.x+Math.cos(m)*y,x=t.y+Math.sin(m)*y,e.lineTo(b,x),m+=E,b=t.x+Math.cos(m)*g,x=t.y+Math.sin(m)*g,e.lineTo(b,x),m+=E;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(a)),e.lineTo(Math.floor(i),Math.floor(o)),e.lineTo(Math.floor(n),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(d,e)}))).length?c=b.frame(t):l()})),u=l}));return{addFettis:function(e){return p=p.concat(e),f},canvas:e,promise:f,reset:function(){c&&b.cancel(c),u&&u()}}}(e,M,h,r,i),o.promise)}function w(r){var n=d||E(r,"disableForReducedMotion",Boolean),a=E(r,"zIndex",Number);if(n&&g)return l((function(e){e()}));c&&o?e=o.canvas:c&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(a),document.body.appendChild(e)),u&&!m&&h(e);var i={width:e.width,height:e.height};function s(){if(f){var t={getBoundingClientRect:function(){if(!c)return e.getBoundingClientRect()}};return h(t),void f.postMessage({resize:{width:t.width,height:t.height}})}i.width=i.height=null}function v(){o=null,u&&(p=!1,t.removeEventListener("resize",s)),c&&e&&(document.body.removeChild(e),e=null,m=!1)}return f&&!m&&f.init(e),m=!0,f&&(e.__confetti_initialized=!0),u&&!p&&(p=!0,t.addEventListener("resize",s,!1)),f?f.fire(r,i,v):y(r,i,v)}return w.reset=function(){f&&f.reset(),o&&o.reset()},w}function I(){return y||(y=T(null,{useWorker:!0,resize:!0})),y}r.exports=function(){return I().apply(this,arguments)},r.exports.reset=function(){I().reset()},r.exports.create=T,r.exports.shapeFromPath=function(e){if(!s)throw new Error("path confetti are not supported in this browser");var t,r;"string"==typeof e?t=e:(t=e.path,r=e.matrix);var n=new Path2D(t),a=document.createElement("canvas").getContext("2d");if(!r){for(var i,o,l=1e3,c=l,u=l,p=0,d=0,f=0;f<l;f+=2)for(var h=0;h<l;h+=2)a.isPointInPath(n,f,h,"nonzero")&&(c=Math.min(c,f),u=Math.min(u,h),p=Math.max(p,f),d=Math.max(d,h));i=p-c,o=d-u;var m=Math.min(10/i,10/o);r=[m,0,0,m,-Math.round(i/2+c)*m,-Math.round(o/2+u)*m]}return{type:"path",path:t,matrix:r}},r.exports.shapeFromText=function(e){var t,r=1,n="#000000",a='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,r="scalar"in e?e.scalar:r,a="fontFamily"in e?e.fontFamily:a,n="color"in e?e.color:n);var i=10*r,s=i+"px "+a,o=new OffscreenCanvas(i,i),l=o.getContext("2d");l.font=s;var c=l.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),p=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),d=c.actualBoundingBoxLeft+2,f=c.actualBoundingBoxAscent+2;u+=4,p+=4,(l=(o=new OffscreenCanvas(u,p)).getContext("2d")).font=s,l.fillStyle=n,l.fillText(t,d,f);var h=1/r;return{type:"bitmap",bitmap:o.transferToImageBitmap(),matrix:[h,0,0,h,-u*h/2,-p*h/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),fA,!1);const hA=fA.exports;fA.exports.create;const{siteUrl:mA}=starterTemplates,gA=()=>{const[{importPercent:e,importStatus:t,builder:r,confettiDone:n},i]=cs(),s=100===e?"import-done":"";let o="",l="";e<=25&&(o="import-1",l=(0,wn.__)("1. Installing required theme, plugins, forms, etc","astra-sites")),e>25&&e<=50&&(o="import-2",l=(0,wn.__)("2. Importing pages, menus, posts, etc","astra-sites")),e>50&&e<=75&&(o="import-3",l=(0,wn.__)("3. Setting up customizer settings and the site settings","astra-sites")),e>75&&e<=100&&(o="import-4",l=(0,wn.__)("4. Finalizing last few settings","astra-sites"));const c=localStorage.getItem("st-import-start"),u=localStorage.getItem("st-import-end"),p=u-c,d=Math.floor(p/1e3),f=c&&u?(e=>{const t=Math.floor(e/60/60),r=Math.floor(e/60)-60*t,n=e%60;return r?r+"."+n:"0."+n})(d):0,h=f>1?"minutes":"seconds";let m,g,y=f;const v="fse"!==r?"@AstraWP":"@WPSpectra";y>0&&y<=5?(y=y<1?y.split(".")[1]:y,m=(0,wn.sprintf)( //translators: %1$s Time taken %2$s Time Type %3$s Website Url. //translators: %1$s Time taken %2$s Time Type %3$s Website Url. (0,wn.__)("Your Website is ready and it took just %1$s %2$s to build.","astra-sites"),y,h),g=(0,wn.sprintf)( //translators: %1$s Time taken %2$s Time Type %3$s theme name. //translators: %1$s Time taken %2$s Time Type %3$s theme name. (0,wn.__)("I just built my website in %1$s %2$s with Starter Templates by %3$s. Can’t believe how easy it was!!! 😍","astra-sites"),y,h,v)):(m=(0,wn.__)("Your Website is ready. It took just 25 seconds to build it.","astra-sites"),g=(0,wn.sprintf)( //translators: %1$s theme name. //translators: %1$s theme name. (0,wn.__)("I just built my website with Starter Templates by %1$s in minutes. Can't believe how easy it is! 😍","astra-sites"),v));const b=hA.create(document.getElementById("ist-bashcanvas"),{resize:!0});return n||100!==e||(document.body.classList.add("step-import-site-done"),setTimeout((function(){b({particleCount:250,origin:{x:1,y:1.4},gravity:.4,spread:80,ticks:300,angle:120,startVelocity:100,colors:["#0e6ef1","#f5b800","#ff344c","#98e027","#9900f1"]})}),100),setTimeout((function(){b({particleCount:250,origin:{x:0,y:1.4},gravity:.4,spread:80,ticks:300,angle:60,startVelocity:100,colors:["#0e6ef1","#f5b800","#ff344c","#98e027","#9900f1"]}),i({type:"set",confettiDone:!0})}),500)),(0,a.createElement)("div",{className:"ist-import-progress"},(0,a.createElement)("div",{className:"ist-import-progress-info"},(0,a.createElement)("div",{className:`ist-import-progress-info-text ${s}`},(0,a.createElement)("span",{className:"ist-import-text-inner"},l),(0,a.createElement)("span",{className:"ist-import-done-inner"},m)),(0,a.createElement)("div",{className:"ist-import-progress-info-precent"},e>100?90:e,"%")),(0,a.createElement)("div",{className:"ist-import-progress-bar-wrap"},(0,a.createElement)("div",{className:"ist-import-progress-bar-bg"},(0,a.createElement)("div",{className:`ist-import-progress-bar ${s} ${o}`})),(0,a.createElement)("div",{className:"import-progress-gap"},(0,a.createElement)("span",null),(0,a.createElement)("span",null),(0,a.createElement)("span",null))),(0,a.createElement)("div",{className:"ist-import-progress-info"},(0,a.createElement)("div",{className:`ist-import-progress-info-text ${s}`},(0,a.createElement)("span",{className:"import-status-string"},!t.includes("Failed")&&(0,a.createElement)("p",null,t+(0,xn.decodeEntities)(" "))),(0,a.createElement)("div",{className:"import-done-section"},(0,a.createElement)("div",{className:"tweet-import-success"},(0,a.createElement)("p",{className:"tweet-text"},g),(0,a.createElement)("a",{href:`https://twitter.com/intent/tweet?text=${g}`,target:"_blank",className:"twitter-btn-wrap",rel:"noreferrer"},(0,a.createElement)("p",{className:"tweet-btn"},(0,wn.__)("Tweet this","astra-sites")),ps.twitter)),(0,a.createElement)("div",{className:"import-done-text"},(0,a.createElement)(os,{className:"view-website-btn import-done-button",after:!0,onClick:()=>{window.open(mA,"_blank")}},(0,wn.__)("View Your Website","astra-sites")),(0,a.createElement)("a",{className:"view-dashboard-link",href:astraSitesVars?.dashboard_url},(0,wn.__)("Visit Dashboard","astra-sites")))))))},yA=()=>{const[{importErrorMessages:e,currentIndex:t,tryAgainCount:r,templateId:n},i]=cs(),s=((e,t)=>`${starterTemplates.supportLink}&template-id=${e}&subject=${t}`)(n,e.errorText),o=(0,a.createElement)("h5",{className:"ist-import-error-solution-heading"},(0,wn.__)("Still no luck? Other potential solution:","astra-sites"));return(0,a.createElement)("div",{className:"ist-import-error"},(0,a.createElement)("div",{className:"ist-import-progress-info"},(0,a.createElement)("div",{className:"ist-import-progress-info-text label-text"},(0,wn.__)("Sorry, something went wrong.","astra-sites"))),(0,a.createElement)("div",{className:"ist-import-error-box"},(0,a.createElement)("h5",{className:"ist-import-error-box-heading"},(0,wn.__)("What went wrong?","astra-sites")),(0,a.createElement)("div",{className:"ist-import-error-wrap ist-import-error-primary-wrap"},e.primaryText&&(0,a.createElement)("p",{className:"website-import-subtitle"},e.primaryText)),e.secondaryText&&(0,a.createElement)("div",{className:"ist-import-error-wrap ist-import-error-secondary-wrap"},e.secondaryText&&(0,a.createElement)("p",{dangerouslySetInnerHTML:{__html:e.secondaryText}})),(0,a.createElement)("div",{className:"ist-import-error-wrap ist-import-error-text-wrap"},(0,a.createElement)("h5",{className:"ist-import-error-text-heading"},(0,wn.__)("More technical information from console:","astra-sites")),e.errorText&&"object"!=typeof e.errorText&&(0,a.createElement)("p",{className:"ist-import-error-text"},e.errorText),e.errorText&&"object"==typeof e.errorText&&(0,a.createElement)("div",{className:"ist-import-error-text"},(0,a.createElement)("pre",null,JSON.stringify(e.errorText,void 0,2))))),e.tryAgain&&r<3&&(0,a.createElement)(os,{className:"ist-button",after:!0,onClick:()=>{i({type:"set",importErrorMessages:{},importErrorResponse:[],importError:!1,tryAgainCount:r+1,xmlImportDone:!1,resetData:[],importStart:!1,importEnd:!1,importPercent:0,requiredPluginsDone:!1,notInstalledList:[],notActivatedList:[],currentIndex:t-1})}},(0,wn.__)("Click here and we’ll try again","astra-sites")),(0,a.createElement)("div",{className:"ist-import-error-solution-wrapper"},e.solutionText&&(0,a.createElement)(a.Fragment,null,o,(0,a.createElement)("p",{className:"ist-import-error-solution",dangerouslySetInnerHTML:{__html:e.solutionText}})),!e.solutionText&&!e.tryAgain||e.tryAgain&&r>1&&(0,a.createElement)(a.Fragment,null,o,(0,a.createElement)("p",{className:"ist-import-error-solution"},(0,xn.decodeEntities)((0,wn.__)("Please report this error ","astra-sites")),(0,a.createElement)("a",{href:s,target:"_blank",rel:"noreferrer"},"here"),(0,xn.decodeEntities)((0,wn.__)(" so we can fix it.","astra-sites"))))))},vA=JSON.parse('{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.20","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":119,"w":500,"h":500,"nm":"site","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Layer 3 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-112.987,131.818,0],"ix":2},"a":{"a":0,"k":[9.342,9.342,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":4,"s":[0,0,100]},{"t":8,"s":[100,100,100]}],"ix":6,"x":"var $bm_rt;\\nvar n, n, t, t, v, amp, freq, decay;\\n$bm_rt = n = 0;\\nif (numKeys > 0) {\\n $bm_rt = n = nearestKey(time).index;\\n if (key(n).time > time) {\\n n--;\\n }\\n}\\nif (n == 0) {\\n $bm_rt = t = 0;\\n} else {\\n $bm_rt = t = $bm_sub(time, key(n).time);\\n}\\nif (n > 0) {\\n v = velocityAtTime($bm_sub(key(n).time, $bm_div(thisComp.frameDuration, 10)));\\n amp = 0.05;\\n freq = 2;\\n decay = 5;\\n $bm_rt = $bm_sum(value, $bm_div($bm_mul($bm_mul(v, amp), Math.sin($bm_mul($bm_mul($bm_mul(freq, t), 2), Math.PI))), Math.exp($bm_mul(decay, t))));\\n} else {\\n $bm_rt = value;\\n}"}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.01,-5.016],[5.016,-0.01],[0.011,5.016],[-5.016,0.01]],"o":[[0.01,5.016],[-5.016,0.01],[-0.01,-5.016],[5.016,-0.011]],"v":[[9.082,-0.019],[0.019,9.082],[-9.082,0.02],[-0.019,-9.082]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[9.342,9.343],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":119,"st":4,"bm":0},{"ddd":0,"ind":3,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Layer 4 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-44.158,131.676,0],"ix":2},"a":{"a":0,"k":[55.121,5.122,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":5,"s":[0,100,100]},{"t":15,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.004,2.477],[0,0],[-2.477,0.005],[0,0],[-0.006,-2.477],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.477]],"v":[[50.39,4.659],[-50.37,4.867],[-54.864,0.391],[-54.866,-0.165],[-50.39,-4.659],[50.37,-4.867],[54.866,-0.391],[54.867,0.165]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[55.121,5.122],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":5,"op":119,"st":5,"bm":0},{"ddd":0,"ind":5,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Layer 5 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":18,"s":[98.188,117.519,0],"to":[0,7.333,0],"ti":[0,-7.333,0]},{"t":38,"s":[98.188,161.519,0]}],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":18,"s":[100,0,100]},{"t":38,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.092,-0.008],[0,0],[0.009,4.09],[0,0],[-4.09,0.008],[0,0],[-0.007,-4.091],[0,0]],"o":[[0,0],[-4.091,0.008],[0,0],[-0.008,-4.091],[0,0],[4.092,-0.009],[0,0],[0.008,4.09]],"v":[[64.321,34.868],[-64.176,35.135],[-71.599,27.743],[-71.713,-27.446],[-64.321,-34.869],[64.176,-35.133],[71.599,-27.742],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.393],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":18,"op":123,"st":18,"bm":0},{"ddd":0,"ind":7,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Layer 6 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-108.233,200.976,0],"ix":2},"a":{"a":0,"k":[14.041,50.652,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.008,3.464],[0,0],[-3.5,0.007],[0,0]],"o":[[0,0],[-3.464,0.007],[0,0],[-0.008,-3.501],[0,0],[0,0]],"v":[[13.792,50.351],[-7.316,50.395],[-13.603,44.135],[-13.784,-43.996],[-7.458,-50.348],[13.667,-50.402]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.041,50.653],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Layer 7 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-67.538,200.9,0],"ix":2},"a":{"a":0,"k":[54.735,50.718,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.084,0],[0,0],[0,0],[-0.008,-4.092],[0,0],[-4.084,0],[0,0],[0,0],[0.009,4.091],[0,0]],"o":[[0,0],[0,0],[-4.091,0.008],[0,0],[0.009,4.086],[0,0],[0,0],[4.091,-0.008],[0,0],[-0.009,-4.086]],"v":[[46.892,-50.469],[46.876,-50.469],[-47.084,-50.275],[-54.476,-42.852],[-54.299,43.077],[-46.892,50.469],[-46.876,50.469],[47.083,50.274],[54.476,42.852],[54.299,-43.076]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.008,-3.398],[0,0],[1.164,-1.169],[1.65,-0.004],[0,0],[0.006,3.398],[0,0],[-1.164,1.169],[-1.649,0.004],[0,0]],"o":[[0,0],[3.398,0],[0,0],[0.003,1.65],[-1.163,1.168],[0,0],[-3.398,0],[0,0],[-0.003,-1.65],[1.164,-1.169],[0,0],[0,0]],"v":[[46.892,-50.469],[46.892,-49.236],[53.066,-43.073],[53.243,42.854],[51.443,47.225],[47.081,49.043],[-46.892,49.236],[-53.066,43.074],[-53.244,-42.854],[-51.444,-47.224],[-47.082,-49.042],[46.88,-49.236]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.735,50.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Layer 8 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.332,233.613,0],"ix":2},"a":{"a":0,"k":[71.911,5.157,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":60,"s":[0,100,100]},{"t":70,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.006],[0,0],[0.006,2.477],[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.476,0.006],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[67.182,4.624],[-67.161,4.9],[-71.655,0.426],[-71.656,-0.131],[-67.18,-4.625],[67.161,-4.902],[71.656,-0.427],[71.658,0.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.911,5.157],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":60,"op":119,"st":60,"bm":0},{"ddd":0,"ind":13,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Layer 9 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.16,276.976,0],"ix":2},"a":{"a":0,"k":[68.492,5.149,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":84,"s":[0,100,100]},{"t":94,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.005,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":84,"op":119,"st":84,"bm":0},{"ddd":0,"ind":15,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Layer 10 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.119,296.67,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":92,"s":[0,100,100]},{"t":102,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.005,2.478],[0,0],[-2.478,0.005],[0,0],[-0.005,-2.477],[0,0]],"o":[[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.476]],"v":[[63.761,4.631],[-63.742,4.894],[-68.236,0.418],[-68.237,-0.138],[-63.761,-4.632],[63.741,-4.895],[68.236,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":92,"op":119,"st":92,"bm":0},{"ddd":0,"ind":17,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Layer 11 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.079,316.364,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":101,"s":[0,100,100]},{"t":111,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.006,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":101,"op":119,"st":101,"bm":0},{"ddd":0,"ind":19,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":20,"ty":4,"nm":"Layer 1 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":92,"s":[98.468,243.97,0],"to":[0,9.167,0],"ti":[0,-9.167,0]},{"t":112,"s":[98.468,298.97,0]}],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":92,"s":[100,0,100]},{"t":112,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.091,-0.009],[0,0],[0.009,4.091],[0,0],[-4.09,0.008],[0,0],[-0.008,-4.091],[0,0]],"o":[[0,0],[-4.091,0.007],[0,0],[-0.009,-4.092],[0,0],[4.091,-0.008],[0,0],[0.008,4.091]],"v":[[64.322,34.869],[-64.177,35.135],[-71.6,27.742],[-71.712,-27.445],[-64.322,-34.868],[64.176,-35.134],[71.599,-27.741],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.392],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":21,"ty":3,"nm":"Null 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[250,250,0],"to":[0,-37.5,0],"ti":[0,37.5,0]},{"t":119,"s":[250,25,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":22,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":23,"ty":4,"nm":"Layer 3 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-112.987,-93.182,0],"ix":2},"a":{"a":0,"k":[9.342,9.342,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.01,-5.016],[5.016,-0.01],[0.011,5.016],[-5.016,0.01]],"o":[[0.01,5.016],[-5.016,0.01],[-0.01,-5.016],[5.016,-0.011]],"v":[[9.082,-0.019],[0.019,9.082],[-9.082,0.02],[-0.019,-9.082]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[9.342,9.343],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":24,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":25,"ty":4,"nm":"Layer 4 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-44.158,-93.324,0],"ix":2},"a":{"a":0,"k":[55.121,5.122,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.004,2.477],[0,0],[-2.477,0.005],[0,0],[-0.006,-2.477],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.477]],"v":[[50.39,4.659],[-50.37,4.867],[-54.864,0.391],[-54.866,-0.165],[-50.39,-4.659],[50.37,-4.867],[54.866,-0.391],[54.867,0.165]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[55.121,5.122],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":26,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":27,"ty":4,"nm":"Layer 5 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.188,-63.481,0],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.092,-0.008],[0,0],[0.009,4.09],[0,0],[-4.09,0.008],[0,0],[-0.007,-4.091],[0,0]],"o":[[0,0],[-4.091,0.008],[0,0],[-0.008,-4.091],[0,0],[4.092,-0.009],[0,0],[0.008,4.09]],"v":[[64.321,34.868],[-64.176,35.135],[-71.599,27.743],[-71.713,-27.446],[-64.321,-34.869],[64.176,-35.133],[71.599,-27.742],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.393],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":28,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":29,"ty":4,"nm":"Layer 6 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-108.233,-24.024,0],"ix":2},"a":{"a":0,"k":[14.041,50.652,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.008,3.464],[0,0],[-3.5,0.007],[0,0]],"o":[[0,0],[-3.464,0.007],[0,0],[-0.008,-3.501],[0,0],[0,0]],"v":[[13.792,50.351],[-7.316,50.395],[-13.603,44.135],[-13.784,-43.996],[-7.458,-50.348],[13.667,-50.402]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.041,50.653],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":30,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":31,"ty":4,"nm":"Layer 7 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-67.538,-24.1,0],"ix":2},"a":{"a":0,"k":[54.735,50.718,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.084,0],[0,0],[0,0],[-0.008,-4.092],[0,0],[-4.084,0],[0,0],[0,0],[0.009,4.091],[0,0]],"o":[[0,0],[0,0],[-4.091,0.008],[0,0],[0.009,4.086],[0,0],[0,0],[4.091,-0.008],[0,0],[-0.009,-4.086]],"v":[[46.892,-50.469],[46.876,-50.469],[-47.084,-50.275],[-54.476,-42.852],[-54.299,43.077],[-46.892,50.469],[-46.876,50.469],[47.083,50.274],[54.476,42.852],[54.299,-43.076]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.008,-3.398],[0,0],[1.164,-1.169],[1.65,-0.004],[0,0],[0.006,3.398],[0,0],[-1.164,1.169],[-1.649,0.004],[0,0]],"o":[[0,0],[3.398,0],[0,0],[0.003,1.65],[-1.163,1.168],[0,0],[-3.398,0],[0,0],[-0.003,-1.65],[1.164,-1.169],[0,0],[0,0]],"v":[[46.892,-50.469],[46.892,-49.236],[53.066,-43.073],[53.243,42.854],[51.443,47.225],[47.081,49.043],[-46.892,49.236],[-53.066,43.074],[-53.244,-42.854],[-51.444,-47.224],[-47.082,-49.042],[46.88,-49.236]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.735,50.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":32,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":33,"ty":4,"nm":"Layer 8 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.332,8.613,0],"ix":2},"a":{"a":0,"k":[71.911,5.157,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.006],[0,0],[0.006,2.477],[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.476,0.006],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[67.182,4.624],[-67.161,4.9],[-71.655,0.426],[-71.656,-0.131],[-67.18,-4.625],[67.161,-4.902],[71.656,-0.427],[71.658,0.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.911,5.157],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":34,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":35,"ty":4,"nm":"Layer 9 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.16,51.976,0],"ix":2},"a":{"a":0,"k":[68.492,5.149,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.005,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":36,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":37,"ty":4,"nm":"Layer 10 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.119,71.67,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.005,2.478],[0,0],[-2.478,0.005],[0,0],[-0.005,-2.477],[0,0]],"o":[[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.476]],"v":[[63.761,4.631],[-63.742,4.894],[-68.236,0.418],[-68.237,-0.138],[-63.761,-4.632],[63.741,-4.895],[68.236,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":38,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":39,"ty":4,"nm":"Layer 11 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.079,91.364,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.006,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":40,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":41,"ty":4,"nm":"Layer 1 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.468,73.97,0],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.091,-0.009],[0,0],[0.009,4.091],[0,0],[-4.09,0.008],[0,0],[-0.008,-4.091],[0,0]],"o":[[0,0],[-4.091,0.007],[0,0],[-0.009,-4.092],[0,0],[4.091,-0.008],[0,0],[0.008,4.091]],"v":[[64.322,34.869],[-64.177,35.135],[-71.6,27.742],[-71.712,-27.445],[-64.322,-34.868],[64.176,-35.134],[71.599,-27.741],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.392],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":42,"ty":4,"nm":"Layer 12 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250.038,250.001,0],"ix":2},"a":{"a":0,"k":[194.843,132.395,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.937,0],[0.007,0],[0,0],[-0.01,-4.947],[0,0],[-4.939,0],[0,0],[0,0],[0.01,4.946],[0,0]],"o":[[-0.006,0],[0,0],[-4.946,0.009],[0,0],[0.01,4.94],[0,0],[0,0],[4.947,-0.009],[0,0],[-0.011,-4.94]],"v":[[185.12,-132.145],[185.1,-132.145],[-185.646,-131.379],[-194.584,-122.405],[-194.076,123.208],[-185.12,132.145],[-185.102,132.145],[185.644,131.38],[194.583,122.406],[194.076,-123.207]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[-0.007,-3.572],[0,0],[3.58,-0.008],[0,0],[0.007,3.572],[0,0],[-3.58,0.007],[0,0]],"o":[[3.571,0],[0,0],[0.008,3.58],[0,0],[-3.572,0],[0,0],[-0.007,-3.58],[0,0],[0,0]],"v":[[185.121,-129.681],[191.611,-123.202],[192.118,122.411],[185.64,128.917],[-185.12,129.68],[-191.613,123.203],[-192.119,-122.41],[-185.64,-128.915],[185.1,-129.681]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.1450980392156863,0.38823529411764707,0.9215686274509803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.843,132.395],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":43,"ty":4,"nm":"Layer 2 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[249.947,250,0],"ix":2},"a":{"a":0,"k":[194.843,132.406,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.935,-0.002],[0,0],[0.002,0.935],[0,0],[-0.935,0.002],[0,0],[-0.001,-0.934],[0,0]],"o":[[0,0],[-0.935,0.002],[0,0],[-0.002,-0.935],[0,0],[0.934,-0.001],[0,0],[0.002,0.935]],"v":[[20.118,1.755],[-20.111,1.838],[-21.805,0.149],[-21.807,-0.059],[-20.117,-1.756],[20.111,-1.839],[21.805,-0.15],[21.807,0.059]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.276,92.986],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.935,-0.001],[0,0],[0.002,0.934],[0,0],[-0.935,0.002],[0,0],[-0.001,-0.935],[0,0]],"o":[[0,0],[-0.935,0.002],[0,0],[-0.002,-0.935],[0,0],[0.935,-0.002],[0,0],[0.002,0.935]],"v":[[20.118,1.755],[-20.11,1.838],[-21.806,0.15],[-21.806,-0.059],[-20.117,-1.756],[20.11,-1.839],[21.806,-0.15],[21.806,0.059]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.26,85.305],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.735],[1.734,-0.003],[0.004,1.735],[-1.735,0.003]],"o":[[0.003,1.735],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.004]],"v":[[3.141,-0.007],[0.007,3.14],[-3.141,0.006],[-0.006,-3.14]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[45.222,9.906],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.734],[1.734,-0.003],[0.004,1.735],[-1.735,0.003]],"o":[[0.003,1.735],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.004]],"v":[[3.141,-0.007],[0.007,3.14],[-3.141,0.006],[-0.006,-3.14]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[31.925,9.933],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.735],[1.735,-0.003],[0.004,1.735],[-1.735,0.004]],"o":[[0.004,1.734],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.003]],"v":[[3.141,-0.007],[0.007,3.14],[-3.142,0.006],[-0.007,-3.141]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[18.629,9.961],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.475,-0.007],[0,0],[0.007,3.475],[0,0],[-3.475,0.006],[0,0],[-0.008,-3.475],[0,0]],"o":[[0,0],[-3.474,0.007],[0,0],[-0.007,-3.474],[0,0],[3.476,-0.008],[0,0],[0.007,3.475]],"v":[[18.349,24.552],[-18.248,24.629],[-24.552,18.35],[-24.628,-18.247],[-18.349,-24.551],[18.247,-24.628],[24.553,-18.349],[24.628,18.247]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.477,54.832],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":2,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.896,-0.004],[0,0],[0.004,1.897],[0,0],[-1.896,0.004],[0,0],[-0.004,-1.897],[0,0]],"o":[[0,0],[-1.896,0.004],[0,0],[-0.004,-1.896],[0,0],[1.896,-0.004],[0,0],[0.004,1.896]],"v":[[21.5,3.603],[-21.485,3.691],[-24.926,0.264],[-24.927,-0.161],[-21.5,-3.602],[21.485,-3.691],[24.926,-0.264],[24.927,0.162]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[35.495,242.198],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.384,0.011],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0.011,5.378]],"v":[[-22.762,122.702],[33.017,122.587],[32.51,-122.712],[-33.016,-122.577],[-32.531,112.984]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.386,141.849],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":2,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[5.385,-0.011],[0,0],[-0.011,-5.384],[0,0],[0,0],[0,0]],"o":[[0,0],[-5.384,0.011],[0,0],[0,0],[0,0],[-0.011,-5.384]],"v":[[184.557,-9.499],[-184.604,-8.737],[-194.333,1.032],[-194.316,9.51],[194.344,8.708],[194.327,0.23]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.1450980392156863,0.38823529411764707,0.9215686274509803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.785,9.762],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":2,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.946,-0.01],[0,0],[0.011,4.946],[0,0],[-4.946,0.01],[0,0],[-0.011,-4.947],[0,0]],"o":[[0,0],[-4.946,0.009],[0,0],[-0.01,-4.946],[0,0],[4.946,-0.01],[0,0],[0.009,4.947]],"v":[[185.646,131.38],[-185.102,132.146],[-194.077,123.208],[-194.583,-122.405],[-185.646,-131.38],[185.102,-132.145],[194.077,-123.207],[194.584,122.405]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.843,132.405],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 10","np":2,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0}],"markers":[]}'),bA={complete:{posts:0,media:0,users:0,comments:0,terms:0},updateDelta(e,t){this.complete[e]+=t;const r=this;requestAnimationFrame((function(){r.render()}))},updateProgress(e,t,r,n,a){"undefined"!==e&&"undefined"!=t+"/"+r&&((0===(r=parseInt(r))||isNaN(r))&&(r=1),parseInt(t)/r*100<=100&&"function"==typeof n&&(n({type:"set",importStatus:(0,wn.__)("Importing Content…","astra-sites")}),n({type:"set",importPercent:(a+=5)>=90?90:a})))},render(e,t){const r=Object.keys(this.complete);let n=0,a=0;for(let i=r.length-1;i>=0;i--){const s=r[i];this.updateProgress(s,this.complete[s],this.data.count[s],e,t),n+=this.complete[s],a+=this.data.count[s]}this.updateProgress("total",n,a,e,t)}},xA=bA,{reportError:wA}=starterTemplates,EA=({formDetails:e,updateFormDetails:t})=>{const[r,n]=(0,a.useState)({option1:e.wp_user_type?parseInt(e.wp_user_type):0,option2:e.build_website_for?parseInt(e.build_website_for):0});return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("p",{className:"label-text row-label !mb-2"},(0,wn.__)("Tell us a little bit about yourself","astra-sites")),(0,a.createElement)("div",{className:"survey-fields-wrap"},(0,a.createElement)("input",{type:"text",className:"survey-text-input",name:"first_name",placeholder:(0,wn.__)("Your First Name","astra-sites"),value:e.first_name,onChange:e=>t("first_name",e.target.value)}),(0,a.createElement)("input",{type:"email",className:"survey-text-input",name:"email",placeholder:(0,wn.__)("Your Work Email","astra-sites"),value:e.email,onChange:e=>t("email",e.target.value)}),(0,a.createElement)("select",{name:"wp_user_type",className:0!==r.option1?"survey-select-input":"survey-select-input initial",value:e.wp_user_type,onChange:e=>{t("wp_user_type",e.target.value),n({...r,option1:parseInt(e.target.value)})}},(0,a.createElement)("option",{value:"",disabled:!0},(0,wn.__)("I am…","astra-sites")),(0,a.createElement)("option",{value:"1"},(0,wn.__)("Beginner","astra-sites")),(0,a.createElement)("option",{value:"2"},(0,wn.__)("Intermediate","astra-sites")),(0,a.createElement)("option",{value:"3"},(0,wn.__)("Expert","astra-sites"))),(0,a.createElement)("select",{name:"build_website_for",className:0!==r.option2?"survey-select-input":"survey-select-input initial",value:e.build_website_for,onChange:e=>{t("build_website_for",e.target.value),n({...r,option2:parseInt(e.target.value)})}},(0,a.createElement)("option",{value:"",disabled:!0},(0,wn.__)("I am building website for…","astra-sites")),(0,a.createElement)("option",{value:"1"},(0,wn.__)("Myself/My Company","astra-sites")),(0,a.createElement)("option",{value:"2"},(0,wn.__)("My Client","astra-sites")))))},kA=r.p+"images/files-folder.7371f67a.png";let SA=DE((function(e,t){let r=`headlessui-control-${(0,a.useId)()}`,[n,i]=ak(),[s,o]=ZE(),l=yE(),{disabled:c=l||!1,...u}=e,p=(0,a.useMemo)((()=>({disabled:c})),[c]),d={ref:t,disabled:c||void 0,"aria-disabled":c||void 0},f=PE();return a.createElement(vE,{value:c},a.createElement(i,{value:n},a.createElement(o,{value:s},a.createElement(UE,{id:r},f({ourProps:d,theirProps:{...u,children:a.createElement(jE,null,"function"==typeof u.children?u.children(p):u.children)},slot:p,defaultTag:"div",name:"Field"})))))})),CA=DE((function(e,t){let r=(0,a.useId)(),n=qE(),i=yE(),{id:s=n||`headlessui-checkbox-${r}`,disabled:o=i||!1,autoFocus:l=!1,checked:c,defaultChecked:u,onChange:p,name:d,value:f,form:h,indeterminate:m=!1,...g}=e,y=dE(u),[v,b]=pE(c,p,null!=y&&y),x=nk(),w=JE(),E=sE(),[k,S]=(0,a.useState)(!1),C=cE((()=>{S(!0),null==b||b(!v),E.nextFrame((()=>{S(!1)}))})),A=cE((e=>{if(XE(e.currentTarget))return e.preventDefault();e.preventDefault(),C()})),_=cE((e=>{e.key===ek.Space?(e.preventDefault(),C()):e.key===ek.Enter&&EE(e.currentTarget)})),P=cE((e=>e.preventDefault())),{isFocusVisible:T,focusProps:I}=Xw({autoFocus:l}),{isHovered:F,hoverProps:M}=Kw({isDisabled:o}),{pressed:D,pressProps:R}=uE({disabled:o}),L=ME({ref:t,id:s,role:"checkbox","aria-checked":m?"mixed":v?"true":"false","aria-labelledby":x,"aria-describedby":w,"aria-disabled":!!o||void 0,indeterminate:m?"true":void 0,tabIndex:o?void 0:0,onKeyUp:o?void 0:_,onKeyPress:o?void 0:P,onClick:o?void 0:A},I,M,R),O=(0,a.useMemo)((()=>({checked:v,disabled:o,hover:F,focus:T,active:D,indeterminate:m,changing:k,autofocus:l})),[v,m,o,F,T,D,k,l]),V=(0,a.useCallback)((()=>{if(void 0!==y)return null==b?void 0:b(y)}),[b,y]),N=PE();return a.createElement(a.Fragment,null,null!=d&&a.createElement(HE,{disabled:o,data:{[d]:f||"on"},overrides:{type:"checkbox",checked:v},form:h,onReset:V}),N({ourProps:L,theirProps:g,slot:O,defaultTag:"span",name:"Checkbox"}))}));const{themeStatus:AA,firstImportStatus:_A,analytics:PA}=starterTemplates,TA=()=>{const[{reset:e,themeActivateFlag:t,analyticsFlag:r,allowResetSite:n},i]=cs(),s=!wo()&&"yes"!==PA||"installed-and-active"!==AA;return(0,a.createElement)("div",{className:"survey-form-advanced-wrapper show-section"},(0,a.createElement)("p",{className:"label-text row-label !mb-2",role:"presentation"},(0,wn.__)("Advanced Options","astra-sites")),s&&(0,a.createElement)("div",{className:"survey-advanced-section mb-6"},(0,a.createElement)("div",{className:"border border-solid border-border-primary rounded-md grid grid-cols-1 !divide-y !divide-border-primary divide-solid divide-x-0"},"installed-and-active"!==AA&&(0,a.createElement)("div",{className:"items-center py-3 px-4 grid grid-cols-[1fr_min-content] !gap-2"},(0,a.createElement)("div",{className:"flex-1 flex items-center space-x-2"},(0,a.createElement)("h6",{className:"text-sm !leading-6 text-zip-app-heading"}," ",(0,wn.__)("Install & Activate Astra Theme","astra-sites")),(0,a.createElement)(fw,{content:(0,wn.__)("To import the site in the original format, you would need the Astra theme activated. You can import it with any other theme, but the site might lose some of the design settings and look a bit different.","astra-sites")},ps.questionMarkNoFill)),(0,a.createElement)("div",null,(0,a.createElement)(fk,{onChange:()=>{i({type:"set",themeActivateFlag:!t,customizerImportFlag:!t})},value:t,requiredClass:t?"bg-accent-st-secondary":"bg-border-tertiary"}))),!wo()&&"yes"!==PA&&(0,a.createElement)("div",{className:"items-center py-3 px-4 grid grid-cols-[1fr_min-content] gap-4"},(0,a.createElement)("div",{className:"flex-1 flex items-center space-x-2"},(0,a.createElement)("h6",{className:"text-sm !leading-6 text-zip-app-heading"}," ",(0,wn.__)("Share Non-Sensitive Data","astra-sites")),(0,a.createElement)(fw,{interactive:!0,content:(0,a.createElement)("div",null,(0,wn.__)("Help our developers build better templates and products for you by sharing anonymous and non-sensitive data about your website.","astra-sites")," ",(0,a.createElement)("a",{href:"https://store.brainstormforce.com/usage-tracking/?utm_source=wp_dashboard&utm_medium=general_settings&utm_campaign=usage_tracking",target:"_blank",rel:"noreferrer noopener"},(0,wn.__)("Learn More","astra-sites")))},ps.questionMarkNoFill)),(0,a.createElement)("div",null,(0,a.createElement)(fk,{onChange:()=>{i({type:"set",analyticsFlag:!r})},value:r,requiredClass:r?"bg-accent-st-secondary":"bg-border-tertiary"}))))),"yes"===_A?(0,a.createElement)("div",{className:"flex items-center rounded-md p-4 border-solid border gap-6 border-[#FB7E0A1F] bg-[#FB7E0A0F] max-sm:flex-col"},(0,a.createElement)("div",{className:"mb-1"},(0,a.createElement)("p",{className:"text-sm text-body-text !leading-6 max-sm:text-center"},(0,wn.__)("It looks like you already have a website created with Starter Templates. Check this box to keep your existing content and images.","astra-sites")),(0,a.createElement)(SA,{className:"flex mt-2 gap-2"},(0,a.createElement)(CA,{className:"group flex justify-center items-center border-2 size-4 border-solid border-border-secondary rounded data-[checked]:bg-accent-st-secondary data-[checked]:border-accent-st-secondary",checked:!e,onChange:()=>{i({type:"set",reset:!e})}},(0,a.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-0 group-data-[checked]:opacity-100"},(0,a.createElement)("path",{d:"M9 1L3.5 6.5L1 4",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,a.createElement)(sk,{className:"text-sm leading-4 text-nav-active font-medium cursor-pointer"},(0,wn.__)("Keep existing data!","astra-sites")))),(0,a.createElement)("div",{className:"max-w-[104px] w-full"},(0,a.createElement)("img",{className:"w-full",src:kA,alt:""}))):(0,a.createElement)("div",{className:"flex items-center rounded-md p-4 border-solid border gap-6 border-[#FB7E0A1F] bg-[#FB7E0A0F] max-sm:flex-col"},(0,a.createElement)("div",{className:"mb-1"},(0,a.createElement)("p",{className:"text-sm text-body-text !leading-6 max-sm:text-center"},(0,wn.__)("This will overwrite your site settings and add new content. You might want to backup your site before proceeding.","astra-sites")),(0,a.createElement)(SA,{className:"flex mt-2 gap-2"},(0,a.createElement)(CA,{className:"group flex justify-center items-center border-2 size-4 border-solid border-border-secondary rounded data-[checked]:bg-accent-st-secondary data-[checked]:border-accent-st-secondary",checked:n,onChange:()=>{i({type:"set",allowResetSite:!n})}},(0,a.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-0 group-data-[checked]:opacity-100"},(0,a.createElement)("path",{d:"M9 1L3.5 6.5L1 4",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,a.createElement)(sk,{className:"text-sm leading-4 text-nav-active font-medium cursor-pointer"},(0,wn.__)("I understand, let's go!","astra-sites")))),(0,a.createElement)("div",{className:"max-w-[104px] w-full"},(0,a.createElement)("img",{className:"w-full",src:kA,alt:""}))))},IA=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))})),{phpVersion:FA,analytics:MA,firstImportStatus:DA}=starterTemplates,RA=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))})),LA=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}));var OA,VA,NA=r(5848);function BA(){let e=(0,a.useRef)(!1);return oE((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function jA(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in i&&(e=>e.useSyncExternalStore)(i)((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,r]=a.useState(rE.isHandoffComplete);return t&&!1===rE.isHandoffComplete&&r(!1),a.useEffect((()=>{!0!==t&&r(!0)}),[t]),a.useEffect((()=>rE.handoff()),[]),!e&&t}"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(OA=null==process?void 0:process.env)?void 0:OA.NODE_ENV)&&void 0===(null==(VA=null==Element?void 0:Element.prototype)?void 0:VA.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var zA=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(zA||{});function HA(e){let t={};for(let r in e)!0===e[r]&&(t[`data-${r}`]="");return t}function GA(e,t,r,n){let[i,s]=(0,a.useState)(r),{hasFlag:o,addFlag:l,removeFlag:c}=function(e=0){let[t,r]=(0,a.useState)(e),n=(0,a.useCallback)((e=>r(e)),[t]),i=(0,a.useCallback)((e=>r((t=>t|e))),[t]),s=(0,a.useCallback)((e=>(t&e)===e),[t]),o=(0,a.useCallback)((e=>r((t=>t&~e))),[r]),l=(0,a.useCallback)((e=>r((t=>t^e))),[r]);return{flags:t,setFlag:n,addFlag:i,hasFlag:s,removeFlag:o,toggleFlag:l}}(e&&i?3:0),u=(0,a.useRef)(!1),p=(0,a.useRef)(!1),d=sE();return oE((()=>{var a;if(e)return r&&s(!0),t?(null==(a=null==n?void 0:n.start)||a.call(n,r),function(e,{prepare:t,run:r,done:n,inFlight:a}){let i=iE();return function(e,{inFlight:t,prepare:r}){if(null!=t&&t.current)return void r();let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}(e,{prepare:t,inFlight:a}),i.nextFrame((()=>{r(),i.requestAnimationFrame((()=>{i.add(function(e,t){var r,n;let a=iE();if(!e)return a.dispose;let i=!1;a.add((()=>{i=!0}));let s=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter((e=>e instanceof CSSTransition)))?n:[];return 0===s.length?(t(),a.dispose):(Promise.allSettled(s.map((e=>e.finished))).then((()=>{i||t()})),a.dispose)}(e,n))}))})),i.dispose}(t,{inFlight:u,prepare(){p.current?p.current=!1:p.current=u.current,u.current=!0,!p.current&&(r?(l(3),c(4)):(l(4),c(2)))},run(){p.current?r?(c(3),l(4)):(c(4),l(3)):r?c(1):l(1)},done(){var e;p.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(u.current=!1,c(7),r||s(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})):void(r&&l(3))}),[e,r,t,d]),e?[i,{closed:o(1),enter:o(2),leave:o(4),transition:o(2)||o(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}let WA=(0,a.createContext)(null);WA.displayName="OpenClosedContext";var qA=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(qA||{});function UA(){return(0,a.useContext)(WA)}function XA({value:e,children:t}){return a.createElement(WA.Provider,{value:e},t)}function QA({children:e}){return a.createElement(WA.Provider,{value:null},e)}function $A(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:t_)!==a.Fragment||1===a.Children.count(e.children)}let JA=(0,a.createContext)(null);JA.displayName="TransitionContext";var ZA=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ZA||{});let YA=(0,a.createContext)(null);function KA(e){return"children"in e?KA(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function e_(e,t){let r=lE(e),n=(0,a.useRef)([]),i=BA(),s=sE(),o=cE(((e,t=_E.Hidden)=>{let a=n.current.findIndex((({el:t})=>t===e));-1!==a&&(SE(t,{[_E.Unmount](){n.current.splice(a,1)},[_E.Hidden](){n.current[a].state="hidden"}}),s.microTask((()=>{var e;!KA(n)&&i.current&&(null==(e=r.current)||e.call(r))})))})),l=cE((e=>{let t=n.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>o(e,_E.Unmount)})),c=(0,a.useRef)([]),u=(0,a.useRef)(Promise.resolve()),p=(0,a.useRef)({enter:[],leave:[]}),d=cE(((e,r,n)=>{c.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter((([t])=>t!==e))),null==t||t.chains.current[r].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[r].push([e,new Promise((e=>{Promise.all(p.current[r].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===r?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>n(r))):n(r)})),f=cE(((e,t,r)=>{Promise.all(p.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>r(t)))}));return(0,a.useMemo)((()=>({children:n,register:l,unregister:o,onStart:d,onStop:f,wait:u,chains:p})),[l,o,n,d,f,p,u])}YA.displayName="NestingContext";let t_=a.Fragment,r_=AE.RenderStrategy,n_=DE((function(e,t){let{show:r,appear:n=!1,unmount:i=!0,...s}=e,o=(0,a.useRef)(null),l=mE(...$A(e)?[o,t]:null===t?[]:[t]);jA();let c=UA();if(void 0===r&&null!==c&&(r=(c&qA.Open)===qA.Open),void 0===r)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,p]=(0,a.useState)(r?"visible":"hidden"),d=e_((()=>{r||p("hidden")})),[f,h]=(0,a.useState)(!0),m=(0,a.useRef)([r]);oE((()=>{!1!==f&&m.current[m.current.length-1]!==r&&(m.current.push(r),h(!1))}),[m,r]);let g=(0,a.useMemo)((()=>({show:r,appear:n,initial:f})),[r,n,f]);oE((()=>{r?p("visible"):!KA(d)&&null!==o.current&&p("hidden")}),[r,d]);let y={unmount:i},v=cE((()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)})),b=cE((()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)})),x=PE();return a.createElement(YA.Provider,{value:d},a.createElement(JA.Provider,{value:g},x({ourProps:{...y,as:a.Fragment,children:a.createElement(a_,{ref:l,...y,...s,beforeEnter:v,beforeLeave:b})},theirProps:{},defaultTag:a.Fragment,features:r_,visible:"visible"===u,name:"Transition"})))})),a_=DE((function(e,t){var r,n;let{transition:i=!0,beforeEnter:s,afterEnter:o,beforeLeave:l,afterLeave:c,enter:u,enterFrom:p,enterTo:d,entered:f,leave:h,leaveFrom:m,leaveTo:g,...y}=e,[v,b]=(0,a.useState)(null),x=(0,a.useRef)(null),w=$A(e),E=mE(...w?[x,t,b]:null===t?[]:[t]),k=null==(r=y.unmount)||r?_E.Unmount:_E.Hidden,{show:S,appear:C,initial:A}=function(){let e=(0,a.useContext)(JA);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[_,P]=(0,a.useState)(S?"visible":"hidden"),T=function(){let e=(0,a.useContext)(YA);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:I,unregister:F}=T;oE((()=>I(x)),[I,x]),oE((()=>{if(k===_E.Hidden&&x.current)return S&&"visible"!==_?void P("visible"):SE(_,{hidden:()=>F(x),visible:()=>I(x)})}),[_,x,I,F,S,k]);let M=jA();oE((()=>{if(w&&M&&"visible"===_&&null===x.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[x,_,M,w]);let D=A&&!C,R=C&&S&&A,L=(0,a.useRef)(!1),O=e_((()=>{L.current||(P("hidden"),F(x))}),T),V=cE((e=>{L.current=!0;let t=e?"enter":"leave";O.onStart(x,t,(e=>{"enter"===e?null==s||s():"leave"===e&&(null==l||l())}))})),N=cE((e=>{let t=e?"enter":"leave";L.current=!1,O.onStop(x,t,(e=>{"enter"===e?null==o||o():"leave"===e&&(null==c||c())})),"leave"===t&&!KA(O)&&(P("hidden"),F(x))}));(0,a.useEffect)((()=>{w&&i||(V(S),N(S))}),[S,w,i]);let B=!(!i||!w||!M||D),[,j]=GA(B,v,S,{start:V,end:N}),z=RE({ref:E,className:(null==(n=kE(y.className,R&&u,R&&p,j.enter&&u,j.enter&&j.closed&&p,j.enter&&!j.closed&&d,j.leave&&h,j.leave&&!j.closed&&m,j.leave&&j.closed&&g,!j.transition&&S&&f))?void 0:n.trim())||void 0,...HA(j)}),H=0;"visible"===_&&(H|=qA.Open),"hidden"===_&&(H|=qA.Closed),j.enter&&(H|=qA.Opening),j.leave&&(H|=qA.Closing);let G=PE();return a.createElement(YA.Provider,{value:O},a.createElement(XA,{value:H},G({ourProps:z,theirProps:y,defaultTag:t_,features:r_,visible:"visible"===_,name:"Transition.Child"})))})),i_=DE((function(e,t){let r=null!==(0,a.useContext)(JA),n=null!==UA();return a.createElement(a.Fragment,null,!r&&n?a.createElement(n_,{ref:t,...e}):a.createElement(a_,{ref:t,...e}))})),s_=Object.assign(n_,{Child:i_,Root:n_});function o_(e,t,r,n){let i=lE(r);(0,a.useEffect)((()=>{function r(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}),[e,t,n])}class l_ extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}function c_(e,t){let r=e(),n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...a){let i=t[e].call(r,...a);i&&(r=i,n.forEach((e=>e())))}}}function u_(e){return(0,a.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let p_=new l_((()=>c_((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let r=this.slice();return r.splice(t,1),r}})));function d_(e,t){let r=p_.get(t),n=(0,a.useId)(),i=u_(r);if(oE((()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)}),[r,e]),!e)return!1;let s=i.indexOf(n),o=i.length;return-1===s&&(s=o,o+=1),s===o-1}let f_=new Map,h_=new Map;function m_(e){var t;let r=null!=(t=h_.get(e))?t:0;return h_.set(e,r+1),0!==r||(f_.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>function(e){var t;let r=null!=(t=h_.get(e))?t:1;if(1===r?h_.delete(e):h_.set(e,r-1),1!==r)return;let n=f_.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,f_.delete(e))}(e)}function g_(e,{allowed:t,disallowed:r}={}){let n=d_(e,"inert-others");oE((()=>{var e,a;if(!n)return;let i=iE();for(let t of null!=(e=null==r?void 0:r())?e:[])t&&i.add(m_(t));let s=null!=(a=null==t?void 0:t())?a:[];for(let e of s){if(!e)continue;let t=nE(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)s.some((t=>e.contains(t)))||i.add(m_(e));r=r.parentElement}}return i.dispose}),[n,t,r])}function y_(e,t,r){let n=lE((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&r()}));(0,a.useEffect)((()=>{if(!e)return;let r=null===t?null:t instanceof HTMLElement?t:t.current;if(!r)return;let a=iE();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>n.current(r)));e.observe(r),a.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>n.current(r)));e.observe(r),a.add((()=>e.disconnect()))}return()=>a.dispose()}),[t,n,e])}function v_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function b_(e,t,r,n){let i=lE(r);(0,a.useEffect)((()=>{if(e)return document.addEventListener(t,r,n),()=>document.removeEventListener(t,r,n);function r(e){i.current(e)}}),[e,t,n])}function x_(e,t,r,n){let i=lE(r);(0,a.useEffect)((()=>{if(e)return window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n);function r(e){i.current(e)}}),[e,t,n])}function w_(e,t,r){let n=d_(e,"outside-click"),i=lE(r),s=(0,a.useCallback)((function(e,r){if(e.defaultPrevented)return;let n=r(e);if(null===n||!n.getRootNode().contains(n)||!n.isConnected)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of a)if(null!==t&&(t.contains(n)||e.composed&&e.composedPath().includes(t)))return;return!Vk(n,Ok.Loose)&&-1!==n.tabIndex&&e.preventDefault(),i.current(e,n)}),[i,t]),o=(0,a.useRef)(null);b_(n,"pointerdown",(e=>{var t,r;o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target}),!0),b_(n,"mousedown",(e=>{var t,r;o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target}),!0),b_(n,"click",(e=>{v_()||/Android/gi.test(window.navigator.userAgent)||o.current&&(s(e,(()=>o.current)),o.current=null)}),!0);let l=(0,a.useRef)({x:0,y:0});b_(n,"touchstart",(e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY}),!0),b_(n,"touchend",(e=>{let t=e.changedTouches[0].clientX,r=e.changedTouches[0].clientY;if(!(Math.abs(t-l.current.x)>=30||Math.abs(r-l.current.y)>=30))return s(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),x_(n,"blur",(e=>s(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function E_(...e){return(0,a.useMemo)((()=>nE(...e)),[...e])}let k_=(0,a.createContext)(null);function S_({children:e,node:t}){let[r,n]=(0,a.useState)(null),i=C_(null!=t?t:r);return a.createElement(k_.Provider,{value:i},e,null===i&&a.createElement(NE,{features:VE.Hidden,ref:e=>{var t,r;if(e)for(let a of null!=(r=null==(t=nE(e))?void 0:t.querySelectorAll("html > *, body > *"))?r:[])if(a!==document.body&&a!==document.head&&a instanceof HTMLElement&&null!=a&&a.contains(e)){n(a);break}}}))}function C_(e=null){var t;return null!=(t=(0,a.useContext)(k_))?t:e}function A_(){let e;return{before({doc:t}){var r;let n=t.documentElement,a=null!=(r=t.defaultView)?r:window;e=Math.max(0,a.innerWidth-n.clientWidth)},after({doc:t,d:r}){let n=t.documentElement,a=Math.max(0,n.clientWidth-n.offsetWidth),i=Math.max(0,e-a);r.style(n,"paddingRight",`${i}px`)}}}function P_(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let T_=c_((()=>new Map),{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:iE(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:P_(r)},a=[v_()?{before({doc:e,d:t,meta:r}){function n(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=iE();r.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>r.dispose()))))}let a=null!=(r=window.scrollY)?r:window.pageYOffset,i=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:a}=new URL(r.href),s=e.querySelector(a);s&&!n(s)&&(i=s)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(n(e.target)){let r=e.target;for(;r.parentElement&&n(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;a!==t&&window.scrollTo(0,a),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)}))}))}}:{},A_(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(n))),a.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function I_(e,t,r=()=>[document.body]){!function(e,t,r=()=>({containers:[]})){let n=u_(T_),a=t?n.get(t):void 0;!!a&&a.count;oE((()=>{if(t&&e)return T_.dispatch("PUSH",t,r),()=>T_.dispatch("POP",t,r)}),[e,t])}(d_(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}T_.subscribe((()=>{let e=T_.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&T_.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&T_.dispatch("TEARDOWN",r)}}));let F_=(0,a.createContext)((()=>{}));function M_({value:e,children:t}){return a.createElement(F_.Provider,{value:e},t)}let D_=(0,a.createContext)(!1);function R_(e){return a.createElement(D_.Provider,{value:e.force},e.children)}function L_(e){let t=cE(e),r=(0,a.useRef)(!1);(0,a.useEffect)((()=>(r.current=!1,()=>{r.current=!0,aE((()=>{r.current&&t()}))})),[t])}var O_=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(O_||{});function V_(e,t){let r=(0,a.useRef)([]),n=cE(e);(0,a.useEffect)((()=>{let e=[...r.current];for(let[a,i]of t.entries())if(r.current[a]!==i){let a=n(t,e);return r.current=t,a}}),[n,...t])}let N_=[];function B_(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||N_[0]===e.target)return;let t=e.target;t=t.closest(Pk),N_.unshift(null!=t?t:e.target),N_=N_.filter((e=>null!=e&&e.isConnected)),N_.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();var j_=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(j_||{});let z_=DE((function(e,t){let r=(0,a.useRef)(null),n=mE(r,t),{initialFocus:i,initialFocusFallback:s,containers:o,features:l=15,...c}=e;jA()||(l=0);let u=E_(r);!function(e,{ownerDocument:t}){let r=!!(8&e),n=function(e=!0){let t=(0,a.useRef)(N_.slice());return V_((([e],[r])=>{!0===r&&!1===e&&aE((()=>{t.current.splice(0)})),!1===r&&!0===e&&(t.current=N_.slice())}),[e,N_,t]),cE((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);V_((()=>{r||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&jk(n())}),[r]),L_((()=>{r&&jk(n())}))}(l,{ownerDocument:u});let p=function(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:i}){let s=(0,a.useRef)(null),o=d_(!!(1&e),"focus-trap#initial-focus"),l=BA();return V_((()=>{if(0===e)return;if(!o)return void(null!=i&&i.current&&jk(i.current));let a=r.current;a&&aE((()=>{if(!l.current)return;let r=null==t?void 0:t.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(s.current=r)}else if(a.contains(r))return void(s.current=r);if(null!=n&&n.current)jk(n.current);else{if(16&e){if(Gk(a,Mk.First|Mk.AutoFocus)!==Dk.Error)return}else if(Gk(a,Mk.First)!==Dk.Error)return;if(null!=i&&i.current&&(jk(i.current),(null==t?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=null==t?void 0:t.activeElement}))}),[i,o,e]),s}(l,{ownerDocument:u,container:r,initialFocus:i,initialFocusFallback:s});!function(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:a}){let i=BA(),s=!!(4&e);o_(null==t?void 0:t.defaultView,"focus",(e=>{if(!s||!i.current)return;let t=B_(n);r.current instanceof HTMLElement&&t.add(r.current);let o=a.current;if(!o)return;let l=e.target;l&&l instanceof HTMLElement?G_(t,l)?(a.current=l,jk(l)):(e.preventDefault(),e.stopPropagation(),jk(o)):jk(a.current)}),!0)}(l,{ownerDocument:u,container:r,containers:o,previousActiveElement:p});let d=function(){let e=(0,a.useRef)(0);return x_(!0,"keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),f=cE((e=>{let t=r.current;t&&SE(d.current,{[O_.Forwards]:()=>{Gk(t,Mk.First,{skipElements:[e.relatedTarget,s]})},[O_.Backwards]:()=>{Gk(t,Mk.Last,{skipElements:[e.relatedTarget,s]})}})})),h=d_(!!(2&l),"focus-trap#tab-lock"),m=sE(),g=(0,a.useRef)(!1),y={ref:n,onKeyDown(e){"Tab"==e.key&&(g.current=!0,m.requestAnimationFrame((()=>{g.current=!1})))},onBlur(e){if(!(4&l))return;let t=B_(o);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(G_(t,n)||(g.current?Gk(r.current,SE(d.current,{[O_.Forwards]:()=>Mk.Next,[O_.Backwards]:()=>Mk.Previous})|Mk.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&jk(e.target)))}},v=PE();return a.createElement(a.Fragment,null,h&&a.createElement(NE,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:VE.Focusable}),v({ourProps:y,theirProps:c,defaultTag:"div",name:"FocusTrap"}),h&&a.createElement(NE,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:VE.Focusable}))})),H_=Object.assign(z_,{features:j_});function G_(e,t){for(let r of e)if(r.contains(t))return!0;return!1}let W_=a.Fragment,q_=DE((function(e,t){let r=e,n=(0,a.useRef)(null),i=mE(function(e,t=!0){return Object.assign(e,{[hE]:t})}((e=>{n.current=e})),t),s=E_(n),l=function(e){let t=(0,a.useContext)(D_),r=(0,a.useContext)(X_),n=E_(e),[i,s]=(0,a.useState)((()=>{var e;if(!t&&null!==r)return null!=(e=r.current)?e:null;if(rE.isServer)return null;let a=null==n?void 0:n.getElementById("headlessui-portal-root");if(a)return a;if(null===n)return null;let i=n.createElement("div");return i.setAttribute("id","headlessui-portal-root"),n.body.appendChild(i)}));return(0,a.useEffect)((()=>{null!==i&&(null!=n&&n.body.contains(i)||null==n||n.body.appendChild(i))}),[i,n]),(0,a.useEffect)((()=>{t||null!==r&&s(r.current)}),[r,s,t]),i}(n),[c]=(0,a.useState)((()=>{var e;return rE.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),u=(0,a.useContext)(Q_),p=jA();oE((()=>{!l||!c||l.contains(c)||(c.setAttribute("data-headlessui-portal",""),l.appendChild(c))}),[l,c]),oE((()=>{if(c&&u)return u.register(c)}),[u,c]),L_((()=>{var e;!l||!c||(c instanceof Node&&l.contains(c)&&l.removeChild(c),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))}));let d=PE();return p&&l&&c?(0,o.createPortal)(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:W_,name:"Portal"}),c):null})),U_=a.Fragment,X_=(0,a.createContext)(null),Q_=(0,a.createContext)(null),$_=DE((function(e,t){let r=mE(t),{enabled:n=!0,...i}=e,s=PE();return n?a.createElement(q_,{...i,ref:r}):s({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:W_,name:"Portal"})})),J_=DE((function(e,t){let{target:r,...n}=e,i={ref:mE(t)},s=PE();return a.createElement(X_.Provider,{value:r},s({ourProps:i,theirProps:n,defaultTag:U_,name:"Popover.Group"}))})),Z_=Object.assign($_,{Group:J_});var Y_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Y_||{}),K_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(K_||{});let eP={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},tP=(0,a.createContext)(null);function rP(e){let t=(0,a.useContext)(tP);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,rP),t}return t}function nP(e,t){return SE(t.type,eP,e,t)}tP.displayName="DialogContext";let aP=DE((function(e,t){let r=(0,a.useId)(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:s,initialFocus:o,role:l="dialog",autoFocus:c=!0,__demoMode:u=!1,unmount:p=!1,...d}=e,f=(0,a.useRef)(!1);l="dialog"===l||"alertdialog"===l?l:(f.current||(f.current=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let h=UA();void 0===i&&null!==h&&(i=(h&qA.Open)===qA.Open);let m=(0,a.useRef)(null),g=mE(m,t),y=E_(m),v=i?0:1,[b,x]=(0,a.useReducer)(nP,{titleId:null,descriptionId:null,panelRef:(0,a.createRef)()}),w=cE((()=>s(!1))),E=cE((e=>x({type:0,id:e}))),k=!!jA()&&0===v,[S,C]=function(){let e=(0,a.useContext)(Q_),t=(0,a.useRef)([]),r=cE((r=>(t.current.push(r),e&&e.register(r),()=>n(r)))),n=cE((r=>{let n=t.current.indexOf(r);-1!==n&&t.current.splice(n,1),e&&e.unregister(r)})),i=(0,a.useMemo)((()=>({register:r,unregister:n,portals:t})),[r,n,t]);return[t,(0,a.useMemo)((()=>function({children:e}){return a.createElement(Q_.Provider,{value:i},e)}),[i])]}(),A={get current(){var e;return null!=(e=b.panelRef.current)?e:m.current}},_=C_(),{resolveContainers:P}=function({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=E_(r),a=cE((()=>{var a,i;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"current"in t&&t.current instanceof HTMLElement&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(a=null==n?void 0:n.querySelectorAll("html > *, body > *"))?a:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(r&&(e.contains(r)||e.contains(null==(i=null==r?void 0:r.getRootNode())?void 0:i.host))||s.some((t=>e.contains(t)))||s.push(e));return s}));return{resolveContainers:a,contains:cE((e=>a().some((t=>t.contains(e)))))}}({mainTreeNode:_,portals:S,defaultContainers:[A]}),T=null!==h&&(h&qA.Closing)===qA.Closing;g_(!u&&!T&&k,{allowed:cE((()=>{var e,t;return[null!=(t=null==(e=m.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]})),disallowed:cE((()=>{var e;return[null!=(e=null==_?void 0:_.closest("body > *:not(#headlessui-portal-root)"))?e:null]}))}),w_(k,P,(e=>{e.preventDefault(),w()})),function(e,t=("undefined"!=typeof document?document.defaultView:null),r){let n=d_(e,"escape");o_(t,"keydown",(e=>{n&&(e.defaultPrevented||e.key===ek.Escape&&r(e))}))}(k,null==y?void 0:y.defaultView,(e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),w()})),I_(!u&&!T&&k,y,P),y_(k,m,w);let[I,F]=ZE(),M=(0,a.useMemo)((()=>[{dialogState:v,close:w,setTitleId:E,unmount:p},b]),[v,b,w,E,p]),D=(0,a.useMemo)((()=>({open:0===v})),[v]),R={ref:g,id:n,role:l,tabIndex:-1,"aria-modal":u?void 0:0===v||void 0,"aria-labelledby":b.titleId,"aria-describedby":I,unmount:p},L=!function(){var e;let[t]=(0,a.useState)((()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null)),[r,n]=(0,a.useState)(null!=(e=null==t?void 0:t.matches)&&e);return oE((()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){n(e.matches)}}),[t]),r}(),O=j_.None;k&&!u&&(O|=j_.RestoreFocus,O|=j_.TabLock,c&&(O|=j_.AutoFocus),L&&(O|=j_.InitialFocus));let V=PE();return a.createElement(QA,null,a.createElement(R_,{force:!0},a.createElement(Z_,null,a.createElement(tP.Provider,{value:M},a.createElement(J_,{target:m},a.createElement(R_,{force:!1},a.createElement(F,{slot:D},a.createElement(C,null,a.createElement(H_,{initialFocus:o,initialFocusFallback:m,containers:P,features:O},a.createElement(M_,{value:w},V({ourProps:R,theirProps:d,slot:D,defaultTag:iP,features:sP,visible:0===v,name:"Dialog"})))))))))))})),iP="div",sP=AE.RenderStrategy|AE.Static,oP=DE((function(e,t){let{transition:r=!1,open:n,...i}=e,s=UA(),o=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!o&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!o)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===n&&!r||i.static?a.createElement(S_,null,a.createElement(aP,{ref:t,open:n,...i})):a.createElement(S_,null,a.createElement(s_,{show:n,transition:r,unmount:i.unmount},a.createElement(aP,{ref:t,...i})))})),lP=DE((function(e,t){let r=(0,a.useId)(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...s}=e,[{dialogState:o,unmount:l},c]=rP("Dialog.Panel"),u=mE(t,c.panelRef),p=(0,a.useMemo)((()=>({open:0===o})),[o]),d=cE((e=>{e.stopPropagation()})),f={ref:u,id:n,onClick:d},h=i?i_:a.Fragment,m=i?{unmount:l}:{},g=PE();return a.createElement(h,{...m},g({ourProps:f,theirProps:s,slot:p,defaultTag:"div",name:"Dialog.Panel"}))})),cP=(DE((function(e,t){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:s}]=rP("Dialog.Backdrop"),o=(0,a.useMemo)((()=>({open:0===i})),[i]),l={ref:t,"aria-hidden":!0},c=r?i_:a.Fragment,u=r?{unmount:s}:{},p=PE();return a.createElement(c,{...u},p({ourProps:l,theirProps:n,slot:o,defaultTag:"div",name:"Dialog.Backdrop"}))})),DE((function(e,t){let r=(0,a.useId)(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:s,setTitleId:o}]=rP("Dialog.Title"),l=mE(t);(0,a.useEffect)((()=>(o(n),()=>o(null))),[n,o]);let c=(0,a.useMemo)((()=>({open:0===s})),[s]),u={ref:l,id:n};return PE()({ourProps:u,theirProps:i,slot:c,defaultTag:"h2",name:"Dialog.Title"})}))),uP=Object.assign(oP,{Panel:lP,Title:cP,Description:KE});function pP({open:e=!1,setOpen:t,width:r=520,overflowHidden:n=!0,children:i,hideCloseIcon:s=!1,className:o,isErrorModal:l=!1,autoClose:c=!0}){let u="max-w-[35rem]";switch(r?.toString()){case"640":u="sm:max-w-[40rem]";break;case"520":u="sm:max-w-[32.5rem]";break;case"464":u="sm:max-w-[29rem]";break;case"480":u="sm:max-w-[30rem]";break;case"300":u="sm:max-w-[24rem]";break;default:u="sm:max-w-[35rem]"}return(0,a.createElement)(s_.Root,{show:e||!1,as:Jc.Fragment},(0,a.createElement)(uP,{as:"div",className:"spectra-ai relative z-[99999999]",onClose:c?t:()=>{}},(0,a.createElement)(s_.Child,{as:Jc.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,a.createElement)("div",{className:"fixed inset-0 bg-zip-app-heading bg-opacity-75 transition-opacity backdrop-blur opacity-100"})),(0,a.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,a.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,a.createElement)(s_.Child,{as:Jc.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,a.createElement)(uP.Panel,{className:Ao("relative w-full transform rounded-lg bg-white px-8 pt-8 pb-6 text-left shadow-xl transition-all sm:my-8 sm:w-full",u,n&&"overflow-hidden",o)},(0,a.createElement)("div",{className:"absolute right-0 top-0 pr-3 pt-3 block"},!s&&(0,a.createElement)("button",{type:"button",className:"rounded-md bg-white text-zip-app-inactive-icon hover:text-nav-active outline-none border-0 focus:outline-none transition duration-150 ease-in-out cursor-pointer",onClick:()=>t(!1,"close-icon")},(0,a.createElement)("span",{className:"sr-only"},"Close"),(0,a.createElement)(Ck,{className:"h-5 w-5","aria-hidden":"true"}))),(0,a.createElement)("div",{className:Ao("font-sans",!l&&"space-y-6")},i)))))))}pP.Title=({children:e,className:t})=>(0,a.createElement)("div",{className:Ao("flex items-center text-2xl font-semibold leading-8 text-heading-text space-x-3",t)},e);const dP=pP,fP=({onOpenChange:e,openTarget:t="_blank"})=>{const[{limitExceedModal:r},n]=cs(),i=(0,a.createElement)("span",{className:"zw-base-semibold text-app-heading capitalize"},astraSitesVars?.zip_plans?.active_plan?.slug),s=(0,a.createElement)("span",{className:"zw-base-semibold text-app-heading"},astraSitesVars?.zip_plans?.team?.name),o=(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:(0,wn.sprintf)(/* translators: %1$s: team name, %2$s: plan name */ /* translators: %1$s: team name, %2$s: plan name */ (0,wn.__)("Your current active organization is %1$s, which is on the %2$s plan.","astra-sites"),(0,NA.F0)(s),(0,NA.F0)(i))}}),l=(0,a.createElement)("span",{className:"zw-base-semibold text-app-heading "},(0,wn.sprintf)(/* translators: %s: daily limit */ /* translators: %s: daily limit */ (0,wn.__)("%s AI sites","astra-sites"),astraSitesVars?.zip_plans?.plan_data?.limit?.ai_sites_count_daily)),c=astraSitesVars?.zip_plans?.plan_data?.remaining?.ai_sites_count_daily,u=(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:"number"==typeof c&&c<=0?`\n\t\t\t\t<br />\n\t\t\t\t\t${(0,wn.sprintf)(/* translators: %s: daily limit */ /* translators: %s: daily limit */ (0,wn.__)("This plan allows you to generate %s per day, and you have reached this limit.","astra-sites"),(0,NA.F0)(l))}\n\t\t\t\t\t<br />\n\t\t\t\t\t<br />\n\t\t\t\t\t${(0,wn.__)("To create more AI websites, you will need to either upgrade your plan or wait until the limit resets.","astra-sites")}\n\t\t\t\t`:`\n\t\t\t\t${(0,wn.sprintf)(/* translators: %s: plan name */ /* translators: %s: plan name */ (0,wn.__)("You have reached the maximum number of sites allowed to be created on %s plan.","astra-sites"),(0,NA.F0)(i))}\n\t\t\t\t<br />\n\t\t\t\t<br />\n\t\t\t\t${(0,wn.sprintf)(/* translators: %s: team name */ /* translators: %s: team name */ (0,wn.__)("Please upgrade the plan for %s in order to create more sites.","astra-sites"),(0,NA.F0)(s))}\n\t\t\t\t`}});return(0,a.createElement)(dP,{open:r.open,setOpen:t=>{"function"==typeof e&&e(t),n({type:"set",limitExceedModal:{...r,open:t}})},width:464,height:"200",overflowHidden:!1},(0,a.createElement)(dP.Title,null,(0,a.createElement)(nx,{className:"w-6 h-6"}),(0,a.createElement)("span",null,(0,wn.__)("Limit reached","astra-sites"))),(0,a.createElement)("div",{className:"space-y-8"},(0,a.createElement)("div",{className:"text-app-text text-base leading-6"},(0,a.createElement)("div",null,o,u)),(0,a.createElement)(os,{className:"!bg-accent-st hover:!bg-accent-st w-full !text-base",onClick:()=>{n({type:"set",limitExceedModal:{...r,open:!1}}),"undefined"!=typeof window&&window.open("https://app.zipwp.com/founders-deal",t)}},(0,wn.__)("Unlock Full Power","astra-sites"))))},{showClassicTemplates:hP}=astraSitesVars,mP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))})),gP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 0 0 2.25-2.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v2.25A2.25 2.25 0 0 0 6 10.5Zm0 9.75h2.25A2.25 2.25 0 0 0 10.5 18v-2.25a2.25 2.25 0 0 0-2.25-2.25H6a2.25 2.25 0 0 0-2.25 2.25V18A2.25 2.25 0 0 0 6 20.25Zm9.75-9.75H18a2.25 2.25 0 0 0 2.25-2.25V6A2.25 2.25 0 0 0 18 3.75h-2.25A2.25 2.25 0 0 0 13.5 6v2.25a2.25 2.25 0 0 0 2.25 2.25Z"}))})),yP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))})),vP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))})),bP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 9.75a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 0 1 .778-.332 48.294 48.294 0 0 0 5.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))})),xP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))})),wP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 0 1 0 3.75H5.625a1.875 1.875 0 0 1 0-3.75Z"}))})),EP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"}))})),kP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))})),SP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))})),CP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))})),AP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.867 19.125h.008v.008h-.008v-.008Z"}))})),_P=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))})),PP=a.forwardRef((function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))})),TP=({children:e,className:t,as:r="div",...n})=>(0,a.createElement)(r,{className:Ao("max-w-container w-full bg-white p-8 flex flex-col gap-8 rounded-xl shadow-md",t),...n},e),{forwardRef:IP}=wp.element,FP=IP((({variant:e="",isSmall:t=!1,hasSuffixIcon:r=!1,hasPrefixIcon:n=!1,type:i="button",className:s,onClick:o,children:l,disabled:c=!1,id:u="",...p},d)=>{const f=t?"small":"base",h={base:{default:"px-6 py-3",hasPrefixIcon:"pl-4 pr-6 py-3",hasSuffixIcon:"pl-6 pr-4 py-3"},medium:{default:"px-4 py-3 h-11",hasPrefixIcon:"pl-4 pr-6 py-3",hasSuffixIcon:"pl-6 pr-4 py-3"},small:{default:"px-5 py-2 h-[2.625rem]",hasPrefixIcon:"pl-3 pr-5 py-2 h-[2.625rem]",hasSuffixIcon:"pl-5 pr-3 py-2 h-[2.625rem]"}};return(0,a.createElement)("button",{type:i,className:to("group flex items-center justify-center gap-2 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 transition duration-150 ease-in-out cursor-pointer border-0",{primary:"text-white bg-accent-st hover:bg-accent-hover-st focus-visible:ring-accent-st border border-solid border-accent-st",white:"text-accent-st bg-white border border-solid border-accent-st focus-visible:ring-accent-st",dark:"text-white border border-white bg-transparent border-solid",link:"underline border-0 bg-transparent",blank:"bg-transparent border-transparent",gray:"bg-transparent border border-solid border-zip-dark-theme-border text-zip-dark-theme-heading","gray-selected":"bg-zip-dark-theme-border text-white",other:"","gradient-border":"bg-transparent text-zip-app-heading zw-base-bold gradient-border-cover gradient-border-cover-button",gradient:"bg-gradient-to-r from-gradient-color-1 via-46.88 via-gradient-color-2 to-gradient-color-3 text-white zw-base-bold","border-secondary":"text-app-secondary bg-app-light-background border border-app-secondary shadow-sm"}[e],!n&&!r&&h[f].default,n&&h[f].hasPrefixIcon,r&&h[f].hasSuffixIcon,{base:"text-base font-medium",small:"text-sm font-medium"}[f],{base:"rounded-md",small:"rounded"}[f],c&&"cursor-not-allowed opacity-70",s),onClick:e=>{o&&"function"==typeof o&&o(e)},ref:d,disabled:c,...u&&{id:u},...p},l)}));function MP(e,t=!1){let[r,n]=(0,a.useReducer)((()=>({})),{}),i=(0,a.useMemo)((()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}(e)),[e,r]);return oE((()=>{if(!e)return;let t=new ResizeObserver(n);return t.observe(e),()=>{t.disconnect()}}),[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}let DP=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function RP(e){var t,r;let n=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return n;let i=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),i=!0;let s=i?null!=(r=a.innerText)?r:"":n;return DP.test(s)&&(s=s.replace(DP,"")),s}function LP(e){return[e.screenX,e.screenY]}const OP=Math.min,VP=Math.max,NP=Math.round,BP=Math.floor,jP=e=>({x:e,y:e}),zP={left:"right",right:"left",bottom:"top",top:"bottom"},HP={start:"end",end:"start"};function GP(e,t,r){return VP(e,OP(t,r))}function WP(e,t){return"function"==typeof e?e(t):e}function qP(e){return e.split("-")[0]}function UP(e){return e.split("-")[1]}function XP(e){return"x"===e?"y":"x"}function QP(e){return"y"===e?"height":"width"}function $P(e){return["top","bottom"].includes(qP(e))?"y":"x"}function JP(e){return XP($P(e))}function ZP(e){return e.replace(/start|end/g,(e=>HP[e]))}function YP(e){return e.replace(/left|right|bottom|top/g,(e=>zP[e]))}function KP(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function eT(){return"undefined"!=typeof window}function tT(e){return aT(e)?(e.nodeName||"").toLowerCase():"#document"}function rT(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function nT(e){var t;return null==(t=(aT(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function aT(e){return!!eT()&&(e instanceof Node||e instanceof rT(e).Node)}function iT(e){return!!eT()&&(e instanceof Element||e instanceof rT(e).Element)}function sT(e){return!!eT()&&(e instanceof HTMLElement||e instanceof rT(e).HTMLElement)}function oT(e){return!(!eT()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof rT(e).ShadowRoot)}function lT(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=hT(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function cT(e){return["table","td","th"].includes(tT(e))}function uT(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function pT(e){const t=dT(),r=iT(e)?hT(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function dT(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fT(e){return["html","body","#document"].includes(tT(e))}function hT(e){return rT(e).getComputedStyle(e)}function mT(e){return iT(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gT(e){if("html"===tT(e))return e;const t=e.assignedSlot||e.parentNode||oT(e)&&e.host||nT(e);return oT(t)?t.host:t}function yT(e){const t=gT(e);return fT(t)?e.ownerDocument?e.ownerDocument.body:e.body:sT(t)&&lT(t)?t:yT(t)}function vT(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const a=yT(e),i=a===(null==(n=e.ownerDocument)?void 0:n.body),s=rT(a);if(i){const e=function(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}(s);return t.concat(s,s.visualViewport||[],lT(a)?a:[],e&&r?vT(e):[])}return t.concat(a,vT(a,[],r))}function bT(e,t,r){let{reference:n,floating:a}=e;const i=$P(t),s=JP(t),o=QP(s),l=qP(t),c="y"===i,u=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,d=n[o]/2-a[o]/2;let f;switch(l){case"top":f={x:u,y:n.y-a.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-a.width,y:p};break;default:f={x:n.x,y:n.y}}switch(UP(t)){case"start":f[s]-=d*(r&&c?-1:1);break;case"end":f[s]+=d*(r&&c?-1:1)}return f}async function xT(e,t){var r;void 0===t&&(t={});const{x:n,y:a,platform:i,rects:s,elements:o,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:d=!1,padding:f=0}=WP(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),m=o[d?"floating"===p?"reference":"floating":p],g=KP(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===p?{...s.floating,x:n,y:a}:s.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(o.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},x=KP(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}const wT=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:i,placement:s,middlewareData:o}=t,l=await async function(e,t){const{placement:r,platform:n,elements:a}=e,i=await(null==n.isRTL?void 0:n.isRTL(a.floating)),s=qP(r),o=UP(r),l="y"===$P(r),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,p=WP(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return o&&"number"==typeof h&&(f="end"===o?-1*h:h),l?{x:f*u,y:d*c}:{x:d*c,y:f*u}}(t,e);return s===(null==(r=o.offset)?void 0:r.placement)&&null!=(n=o.arrow)&&n.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}};function ET(e){const t=hT(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=sT(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,o=NP(r)!==i||NP(n)!==s;return o&&(r=i,n=s),{width:r,height:n,$:o}}function kT(e){return iT(e)?e:e.contextElement}function ST(e){const t=kT(e);if(!sT(t))return jP(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:i}=ET(t);let s=(i?NP(r.width):r.width)/n,o=(i?NP(r.height):r.height)/a;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}const CT=jP(0);function AT(e){const t=rT(e);return dT()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:CT}function _T(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const a=e.getBoundingClientRect(),i=kT(e);let s=jP(1);t&&(n?iT(n)&&(s=ST(n)):s=ST(e));const o=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==rT(e))&&t}(i,r,n)?AT(i):jP(0);let l=(a.left+o.x)/s.x,c=(a.top+o.y)/s.y,u=a.width/s.x,p=a.height/s.y;if(i){const e=rT(i),t=n&&iT(n)?rT(n):n;let r=e,a=r.frameElement;for(;a&&n&&t!==r;){const e=ST(a),t=a.getBoundingClientRect(),n=hT(a),i=t.left+(a.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(a.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,p*=e.y,l+=i,c+=s,r=rT(a),a=r.frameElement}}return KP({width:u,height:p,x:l,y:c})}const PT=[":popover-open",":modal"];function TT(e){return PT.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function IT(e){return _T(nT(e)).left+mT(e).scrollLeft}function FT(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=rT(e),n=nT(e),a=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,o=0,l=0;if(a){i=a.width,s=a.height;const e=dT();(!e||e&&"fixed"===t)&&(o=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:o,y:l}}(e,r);else if("document"===t)n=function(e){const t=nT(e),r=mT(e),n=e.ownerDocument.body,a=VP(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=VP(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+IT(e);const o=-r.scrollTop;return"rtl"===hT(n).direction&&(s+=VP(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:o}}(nT(e));else if(iT(t))n=function(e,t){const r=_T(e,!0,"fixed"===t),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=sT(e)?ST(e):jP(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:a*i.x,y:n*i.y}}(t,r);else{const r=AT(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return KP(n)}function MT(e,t){const r=gT(e);return!(r===t||!iT(r)||fT(r))&&("fixed"===hT(r).position||MT(r,t))}function DT(e,t,r){const n=sT(t),a=nT(t),i="fixed"===r,s=_T(e,!0,i,t);let o={scrollLeft:0,scrollTop:0};const l=jP(0);if(n||!n&&!i)if(("body"!==tT(t)||lT(a))&&(o=mT(t)),n){const e=_T(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&(l.x=IT(a));return{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function RT(e,t){return sT(e)&&"fixed"!==hT(e).position?t?t(e):e.offsetParent:null}function LT(e,t){const r=rT(e);if(!sT(e)||TT(e))return r;let n=RT(e,t);for(;n&&cT(n)&&"static"===hT(n).position;)n=RT(n,t);return n&&("html"===tT(n)||"body"===tT(n)&&"static"===hT(n).position&&!pT(n))?r:n||function(e){let t=gT(e);for(;sT(t)&&!fT(t);){if(pT(t))return t;if(uT(t))return null;t=gT(t)}return null}(e)||r}const OT={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const i="fixed"===a,s=nT(n),o=!!t&&TT(t.floating);if(n===s||o&&i)return r;let l={scrollLeft:0,scrollTop:0},c=jP(1);const u=jP(0),p=sT(n);if((p||!p&&!i)&&(("body"!==tT(n)||lT(s))&&(l=mT(n)),sT(n))){const e=_T(n);c=ST(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x,y:r.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:nT,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const i="clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=vT(e,[],!1).filter((e=>iT(e)&&"body"!==tT(e))),a=null;const i="fixed"===hT(e).position;let s=i?gT(e):e;for(;iT(s)&&!fT(s);){const t=hT(s),r=pT(s);r||"fixed"!==t.position||(a=null),(i?!r&&!a:!r&&"static"===t.position&&a&&["absolute","fixed"].includes(a.position)||lT(s)&&!r&&MT(e,s))?n=n.filter((e=>e!==s)):a=t,s=gT(s)}return t.set(e,n),n}(t,this._c):[].concat(r),s=[...i,n],o=s[0],l=s.reduce(((e,r)=>{const n=FT(t,r,a);return e.top=VP(n.top,e.top),e.right=OP(n.right,e.right),e.bottom=OP(n.bottom,e.bottom),e.left=VP(n.left,e.left),e}),FT(t,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:LT,getElementRects:async function(e){const t=this.getOffsetParent||LT,r=this.getDimensions;return{reference:DT(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=ET(e);return{width:t,height:r}},getScale:ST,isElement:iT,isRTL:function(e){return"rtl"===hT(e).direction}};function VT(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=kT(e),u=a||i?[...c?vT(c):[],...vT(t)]:[];u.forEach((e=>{a&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const p=c&&o?function(e,t){let r,n=null;const a=nT(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function s(o,l){void 0===o&&(o=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:p,height:d}=e.getBoundingClientRect();if(o||t(),!p||!d)return;const f={rootMargin:-BP(u)+"px "+-BP(a.clientWidth-(c+p))+"px "+-BP(a.clientHeight-(u+d))+"px "+-BP(c)+"px",threshold:VP(0,OP(1,l))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return s();t?s(!1,t):r=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{n=new IntersectionObserver(m,{...f,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(m,f)}n.observe(e)}(!0),i}(c,r):null;let d,f=-1,h=null;s&&(h=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),r()})),c&&!l&&h.observe(c),h.observe(t));let m=l?_T(e):null;return l&&function t(){const n=_T(e);!m||n.x===m.x&&n.y===m.y&&n.width===m.width&&n.height===m.height||r(),m=n,d=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach((e=>{a&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(d)}}const NT=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:o={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=WP(e,t),c={x:r,y:n},u=await xT(t,l),p=$P(qP(a)),d=XP(p);let f=c[d],h=c[p];if(i){const e="y"===d?"bottom":"right";f=GP(f+u["y"===d?"top":"left"],f,f-u[e])}if(s){const e="y"===p?"bottom":"right";h=GP(h+u["y"===p?"top":"left"],h,h-u[e])}const m=o.fn({...t,[d]:f,[p]:h});return{...m,data:{x:m.x-r,y:m.y-n}}}}},BT=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:a,middlewareData:i,rects:s,initialPlacement:o,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=WP(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const y=qP(a),v=qP(o)===o,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=d||(v||!m?[YP(o)]:function(e){const t=YP(e);return[ZP(e),t,ZP(t)]}(o));d||"none"===h||x.push(...function(e,t,r,n){const a=UP(e);let i=function(e,t,r){const n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?a:n:t?n:a;case"left":case"right":return t?i:s;default:return[]}}(qP(e),"start"===r,n);return a&&(i=i.map((e=>e+"-"+a)),t&&(i=i.concat(i.map(ZP)))),i}(o,m,h,b));const w=[o,...x],E=await xT(t,g),k=[];let S=(null==(n=i.flip)?void 0:n.overflows)||[];if(u&&k.push(E[y]),p){const e=function(e,t,r){void 0===r&&(r=!1);const n=UP(e),a=JP(e),i=QP(a);let s="x"===a?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=YP(s)),[s,YP(s)]}(a,s,b);k.push(E[e[0]],E[e[1]])}if(S=[...S,{placement:a,overflows:k}],!k.every((e=>e<=0))){var C,A;const e=((null==(C=i.flip)?void 0:C.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let r=null==(A=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!r)switch(f){case"bestFit":{var _;const e=null==(_=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(r=e);break}case"initialPlacement":r=o}if(a!==r)return{reset:{placement:r}}}return{}}}},jT=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:a,elements:i}=t,{apply:s=()=>{},...o}=WP(e,t),l=await xT(t,o),c=qP(r),u=UP(r),p="y"===$P(r),{width:d,height:f}=n.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==a.isRTL?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=f-l[h],y=d-l[m],v=!t.middlewareData.shift;let b=g,x=y;if(p){const e=d-l.left-l.right;x=u||v?OP(y,e):e}else{const e=f-l.top-l.bottom;b=u||v?OP(g,e):e}if(v&&!u){const e=VP(l.left,0),t=VP(l.right,0),r=VP(l.top,0),n=VP(l.bottom,0);p?x=d-2*(0!==e||0!==t?e+t:VP(l.left,l.right)):b=f-2*(0!==r||0!==n?r+n:VP(l.top,l.bottom))}await s({...t,availableWidth:x,availableHeight:b});const w=await a.getDimensions(i.floating);return d!==w.width||f!==w.height?{reset:{rects:!0}}:{}}}},zT=(e,t,r)=>{const n=new Map,a={platform:OT,...r},i={...a.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,o=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:p}=bT(c,n,l),d=n,f={},h=0;for(let r=0;r<o.length;r++){const{name:i,fn:m}=o[r],{x:g,y,data:v,reset:b}=await m({x:u,y:p,initialPlacement:n,placement:d,strategy:a,middlewareData:f,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=g?g:u,p=null!=y?y:p,f={...f,[i]:{...f[i],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:a}):b.rects),({x:u,y:p}=bT(c,d,l))),r=-1)}return{x:u,y:p,placement:d,strategy:a,middlewareData:f}})(e,t,{...a,platform:i})};var HT="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function GT(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,a;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!GT(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;0!=n--;){const r=a[n];if(!("_owner"===r&&e.$$typeof||GT(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function WT(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qT(e,t){const r=WT(e);return Math.round(t*r)/r}function UT(e){const t=a.useRef(e);return HT((()=>{t.current=e})),t}const XT=(e,t)=>({...wT(e),options:[e,t]}),QT=(e,t)=>({...BT(e),options:[e,t]}),$T=(e,t)=>({...jT(e),options:[e,t]}),JT={...i},ZT=JT.useInsertionEffect||(e=>e());function YT(e){const t=a.useRef((()=>{}));return ZT((()=>{t.current=e})),a.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),[])}var KT="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;let eI=!1,tI=0;const rI=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+tI++,nI=JT.useId||function(){const[e,t]=a.useState((()=>eI?rI():void 0));return KT((()=>{null==e&&t(rI())}),[]),a.useEffect((()=>{eI=!0}),[]),e};const aI=a.createContext(null),iI=a.createContext(null),sI="data-floating-ui-focusable";function oI(e){void 0===e&&(e={});const{nodeId:t}=e,r=function(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=nI(),s=a.useRef({}),[o]=a.useState((()=>function(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,(null==(n=e.get(t))?void 0:n.filter((e=>e!==r)))||[])}}}())),l=null!=((null==(h=a.useContext(aI))?void 0:h.id)||null),[c,u]=a.useState(n.reference),p=YT(((e,t,n)=>{s.current.openEvent=e?t:void 0,o.emit("openchange",{open:e,event:t,reason:n,nested:l}),null==r||r(e,t,n)})),d=a.useMemo((()=>({setPositionReference:u})),[]),f=a.useMemo((()=>({reference:c||n.reference||null,floating:n.floating||null,domReference:n.reference})),[c,n.reference,n.floating]);var h;return a.useMemo((()=>({dataRef:s,open:t,onOpenChange:p,elements:f,events:o,floatingId:i,refs:d})),[t,p,f,o,i,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[s,l]=a.useState(null),[c,u]=a.useState(null),p=(null==i?void 0:i.domReference)||s,d=a.useRef(null),f=a.useContext(iI);KT((()=>{p&&(d.current=p)}),[p]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:u,open:p}=e,[d,f]=a.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=a.useState(n);GT(h,n)||m(n);const[g,y]=a.useState(null),[v,b]=a.useState(null),x=a.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),w=a.useCallback((e=>{e!==C.current&&(C.current=e,b(e))}),[]),E=s||g,k=l||v,S=a.useRef(null),C=a.useRef(null),A=a.useRef(d),_=null!=u,P=UT(u),T=UT(i),I=UT(p),F=a.useCallback((()=>{if(!S.current||!C.current)return;const e={placement:t,strategy:r,middleware:h};T.current&&(e.platform=T.current),zT(S.current,C.current,e).then((e=>{const t={...e,isPositioned:!1!==I.current};M.current&&!GT(A.current,t)&&(A.current=t,o.flushSync((()=>{f(t)})))}))}),[h,t,r,T,I]);HT((()=>{!1===p&&A.current.isPositioned&&(A.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[p]);const M=a.useRef(!1);HT((()=>(M.current=!0,()=>{M.current=!1})),[]),HT((()=>{if(E&&(S.current=E),k&&(C.current=k),E&&k){if(P.current)return P.current(E,k,F);F()}}),[E,k,F,P,_]);const D=a.useMemo((()=>({reference:S,floating:C,setReference:x,setFloating:w})),[x,w]),R=a.useMemo((()=>({reference:E,floating:k})),[E,k]),L=a.useMemo((()=>{const e={position:r,left:0,top:0};if(!R.floating)return e;const t=qT(R.floating,d.x),n=qT(R.floating,d.y);return c?{...e,transform:"translate("+t+"px, "+n+"px)",...WT(R.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,c,R.floating,d.x,d.y]);return a.useMemo((()=>({...d,update:F,refs:D,elements:R,floatingStyles:L})),[d,F,D,R,L])}({...e,elements:{...i,...c&&{reference:c}}}),m=a.useCallback((e=>{const t=iT(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),h.refs.setReference(t)}),[h.refs]),g=a.useCallback((e=>{(iT(e)||null===e)&&(d.current=e,l(e)),(iT(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!iT(e))&&h.refs.setReference(e)}),[h.refs]),y=a.useMemo((()=>({...h.refs,setReference:g,setPositionReference:m,domReference:d})),[h.refs,g,m]),v=a.useMemo((()=>({...h.elements,domReference:p})),[h.elements,p]),b=a.useMemo((()=>({...h,...n,refs:y,elements:v,nodeId:t})),[h,y,v,t,n]);return KT((()=>{n.dataRef.current.floatingContext=b;const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===t));e&&(e.context=b)})),a.useMemo((()=>({...h,context:b,refs:y,elements:v})),[h,y,v,b])}const lI="active",cI="selected";function uI(e,t,r){const n=new Map,a="item"===r;let i=e;if(a&&e){const{[lI]:t,[cI]:__,...r}=e;i=r}return{..."floating"===r&&{tabIndex:-1,[sI]:""},...i,...t.map((t=>{const n=t?t[r]:null;return"function"==typeof n?e?n(e):null:n})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,i]=t;var s;a&&[lI,cI].includes(r)||(0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof i&&(null==(s=n.get(r))||s.push(i),e[r]=function(){for(var e,t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];return null==(e=n.get(r))?void 0:e.map((e=>e(...a))).find((e=>void 0!==e))})):e[r]=i)})),e):e),{})}}function pI(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let dI=(0,a.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});dI.displayName="FloatingContext";let fI=(0,a.createContext)(null);function hI({children:e,enabled:t=!0}){let[r,n]=(0,a.useState)(null),[i,s]=(0,a.useState)(0),l=(0,a.useRef)(null),[c,u]=(0,a.useState)(null);!function(e){oE((()=>{if(!e)return;let t=new MutationObserver((()=>{let t=window.getComputedStyle(e).maxHeight,r=parseFloat(t);if(isNaN(r))return;let n=parseInt(t);isNaN(n)||r!==n&&(e.style.maxHeight=`${Math.ceil(r)}px`)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}}),[e])}(c);let p=t&&null!==r&&null!==c,{to:d="bottom",gap:f=0,offset:h=0,padding:m=0,inner:g}=function(e,t){var r,n,a;let i=mI(null!=(r=null==e?void 0:e.gap)?r:"var(--anchor-gap, 0)",t),s=mI(null!=(n=null==e?void 0:e.offset)?n:"var(--anchor-offset, 0)",t),o=mI(null!=(a=null==e?void 0:e.padding)?a:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:s,padding:o}}(r,c),[y,v="center"]=d.split(" ");oE((()=>{p&&s(0)}),[p]);let{refs:b,floatingStyles:x,context:w}=oI({open:p,placement:"selection"===y?"center"===v?"bottom":`bottom-${v}`:"center"===v?`${y}`:`${y}-${v}`,strategy:"absolute",transform:!1,middleware:[XT({mainAxis:"selection"===y?0:f,crossAxis:h}),(C={padding:m},{...NT(C),options:[C,undefined]}),"selection"!==y&&QT({padding:m}),"selection"===y&&g?(S={...g,padding:m,overflowRef:l,offset:i,minItemsVisible:4,referenceOverflowThreshold:m,onFallbackChange(e){var t,r;if(!e)return;let n=w.elements.floating;if(!n)return;let a=parseFloat(getComputedStyle(n).scrollPaddingBottom)||0,i=Math.min(4,n.childElementCount),o=0,l=0;for(let e of null!=(r=null==(t=w.elements.floating)?void 0:t.childNodes)?r:[])if(e instanceof HTMLElement){let t=e.offsetTop,r=t+e.clientHeight+a,s=n.scrollTop,c=s+n.clientHeight;if(!(t>=s&&r<=c)){l=Math.max(0,Math.min(r,c)-Math.max(t,s)),o=e.clientHeight;break}i--}i>=1&&s((e=>{let t=o*i-l+a;return e>=t?e:t}))}},{name:"inner",options:S,async fn(e){const{listRef:t,overflowRef:r,onFallbackChange:n,offset:a=0,index:i=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:c,...u}=WP(S,e),{rects:p,elements:{floating:d}}=e,f=t.current[i],h=(null==c?void 0:c.current)||d,m=d.clientTop||h.clientTop,g=0!==d.clientTop,y=0!==h.clientTop,v=d===h;if(!f)return{};const b={...e,...await XT(-f.offsetTop-d.clientTop-p.reference.height/2-f.offsetHeight/2-a).fn(e)},x=await xT(pI(b,h.scrollHeight+m+d.clientTop),u),w=await xT(b,{...u,elementContext:"reference"}),E=VP(0,x.top),k=b.y+E,C=h.scrollHeight>h.clientHeight?e=>e:NP,A=C(VP(0,h.scrollHeight+(g&&v||y?2*m:0)-E-VP(0,x.bottom)));if(h.style.maxHeight=A+"px",h.scrollTop=E,n){const e=h.offsetHeight<f.offsetHeight*OP(s,t.current.length)-1||w.top>=-l||w.bottom>=-l;o.flushSync((()=>n(e)))}return r&&(r.current=await xT(pI({...b,y:k},h.offsetHeight+m+d.clientTop),u)),{y:k}}}):null,$T({padding:m,apply({availableWidth:e,availableHeight:t,elements:r}){Object.assign(r.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:VT}),[E=y,k=v]=w.placement.split("-");var S,C;"selection"===y&&(E="selection");let A=(0,a.useMemo)((()=>({anchor:[E,k].filter(Boolean).join(" ")})),[E,k]),_=function(e,t){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:s,scrollRef:l,onChange:c}=t,u=YT(c),p=a.useRef(!1),d=a.useRef(null),f=a.useRef(null);a.useEffect((()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==s.current)return;const r=e.deltaY,n=s.current.top>=-.5,a=s.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,l=r<0?-1:1,c=r<0?"max":"min";t.scrollHeight<=t.clientHeight||(!n&&r>0||!a&&r<0?(e.preventDefault(),o.flushSync((()=>{u((e=>e+Math[c](r,i*l)))}))):/firefox/i.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}())&&(t.scrollTop+=r))}const t=(null==l?void 0:l.current)||n.floating;return r&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{d.current=t.scrollTop,null!=s.current&&(f.current={...s.current})})),()=>{d.current=null,f.current=null,t.removeEventListener("wheel",e)}):void 0}),[i,r,n.floating,s,l,u]);const h=a.useMemo((()=>({onKeyDown(){p.current=!0},onWheel(){p.current=!1},onPointerMove(){p.current=!1},onScroll(){const e=(null==l?void 0:l.current)||n.floating;if(s.current&&e&&p.current){if(null!==d.current){const t=e.scrollTop-d.current;(s.current.bottom<-.5&&t<-1||s.current.top<-.5&&t>1)&&o.flushSync((()=>u((e=>e+t))))}requestAnimationFrame((()=>{d.current=e.scrollTop}))}}})),[n.floating,u,s,l]);return a.useMemo((()=>i?{floating:h}:{}),[i,h])}(w,{overflowRef:l,onChange:s}),{getReferenceProps:P,getFloatingProps:T}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),r=e.map((e=>null==e?void 0:e.floating)),n=e.map((e=>null==e?void 0:e.item)),i=a.useCallback((t=>uI(t,e,"reference")),t),s=a.useCallback((t=>uI(t,e,"floating")),r),o=a.useCallback((t=>uI(t,e,"item")),n);return a.useMemo((()=>({getReferenceProps:i,getFloatingProps:s,getItemProps:o})),[i,s,o])}([_]),I=cE((e=>{u(e),b.setFloating(e)}));return a.createElement(fI.Provider,{value:n},a.createElement(dI.Provider,{value:{setFloating:I,setReference:b.setReference,styles:x,getReferenceProps:P,getFloatingProps:T,slot:A}},e))}function mI(e,t,r=void 0){let n=sE(),i=cE(((e,t)=>{if(null==e)return[r,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[r,null];let a=yI(e,t);return[a,r=>{let i=gI(e);{let s=i.map((e=>window.getComputedStyle(t).getPropertyValue(e)));n.requestAnimationFrame((function o(){n.nextFrame(o);let l=!1;for(let[e,r]of i.entries()){let n=window.getComputedStyle(t).getPropertyValue(r);if(s[e]!==n){s[e]=n,l=!0;break}}if(!l)return;let c=yI(e,t);a!==c&&(r(c),a=c)}))}return n.dispose}]}return[r,null]})),s=(0,a.useMemo)((()=>i(e,t)[0]),[e,t]),[o=s,l]=(0,a.useState)();return oE((()=>{let[r,n]=i(e,t);if(l(r),n)return n(l)}),[e,t]),o}function gI(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let r=t[1].slice(0,e).trim(),n=t[1].slice(e+1).trim();return n?[r,...gI(n)]:[r]}return[]}function yI(e,t){let r=document.createElement("div");t.appendChild(r),r.style.setProperty("margin-top","0px","important"),r.style.setProperty("margin-top",e,"important");let n=parseFloat(window.getComputedStyle(r).marginTop)||0;return t.removeChild(r),n}fI.displayName="PlacementContext";var vI,bI=((vI=bI||{})[vI.First=0]="First",vI[vI.Previous=1]="Previous",vI[vI.Next=2]="Next",vI[vI.Last=3]="Last",vI[vI.Specific=4]="Specific",vI[vI.Nothing=5]="Nothing",vI);function xI(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e<r.length;++e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 1:-1===a&&(a=r.length);for(let e=a-1;e>=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=a+1;e<r.length;++e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 3:for(let e=r.length-1;e>=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;n<r.length;++n)if(t.resolveId(r[n],n,r)===e.id)return n;return n;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}var wI=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wI||{}),EI=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(EI||{}),kI=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(kI||{});function SI(e,t=e=>e){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=Hk(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),a=r?n.indexOf(r):null;return-1===a&&(a=null),{items:n,activeItemIndex:a}}let CI={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var r,n,a,i,s;if(1===e.menuState)return e;let o={...e,searchQuery:"",activationTrigger:null!=(r=t.trigger)?r:1,__demoMode:!1};if(t.focus===bI.Nothing)return{...o,activeItemIndex:null};if(t.focus===bI.Specific)return{...o,activeItemIndex:e.items.findIndex((e=>e.id===t.id))};if(t.focus===bI.Previous){let r=e.activeItemIndex;if(null!==r){let i=e.items[r].dataRef.current.domRef,s=xI(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==s){let t=e.items[s].dataRef.current.domRef;if((null==(n=i.current)?void 0:n.previousElementSibling)===t.current||null===(null==(a=t.current)?void 0:a.previousElementSibling))return{...o,activeItemIndex:s}}}}else if(t.focus===bI.Next){let r=e.activeItemIndex;if(null!==r){let n=e.items[r].dataRef.current.domRef,a=xI(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.items[a].dataRef.current.domRef;if((null==(i=n.current)?void 0:i.nextElementSibling)===t.current||null===(null==(s=t.current)?void 0:s.nextElementSibling))return{...o,activeItemIndex:a}}}}let l=SI(e),c=xI(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...o,...l,activeItemIndex:c}},3:(e,t)=>{let r=""!==e.searchQuery?0:1,n=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+r).concat(e.items.slice(0,e.activeItemIndex+r)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled})),i=a?e.items.indexOf(a):-1;return-1===i||i===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:i,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let r=SI(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=SI(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},AI=(0,a.createContext)(null);function _I(e){let t=(0,a.useContext)(AI);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_I),t}return t}function PI(e,t){return SE(t.type,CI,e,t)}AI.displayName="MenuContext";let TI=a.Fragment,II=AE.RenderStrategy|AE.Static,FI=a.Fragment,MI=DE((function(e,t){let{__demoMode:r=!1,...n}=e,i=(0,a.useReducer)(PI,{__demoMode:r,menuState:r?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsElement:o,buttonElement:l},c]=i,u=mE(t);w_(0===s,[l,o],((e,t)=>{c({type:1}),Vk(t,Ok.Loose)||(e.preventDefault(),null==l||l.focus())}));let p=cE((()=>{c({type:1})})),d=(0,a.useMemo)((()=>({open:0===s,close:p})),[s,p]),f={ref:u},h=PE();return a.createElement(hI,null,a.createElement(AI.Provider,{value:i},a.createElement(XA,{value:SE(s,{0:qA.Open,1:qA.Closed})},h({ourProps:f,theirProps:n,slot:d,defaultTag:TI,name:"Menu"}))))})),DI=DE((function(e,t){var r;let n=(0,a.useId)(),{id:i=`headlessui-menu-button-${n}`,disabled:s=!1,autoFocus:l=!1,...c}=e,[u,p]=_I("Menu.Button"),d=(0,a.useContext)(dI).getReferenceProps,f=mE(t,(0,a.useContext)(dI).setReference,cE((e=>p({type:7,element:e})))),h=cE((e=>{switch(e.key){case ek.Space:case ek.Enter:case ek.ArrowDown:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>p({type:0}))),p({type:2,focus:bI.First});break;case ek.ArrowUp:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>p({type:0}))),p({type:2,focus:bI.Last})}})),m=cE((e=>{e.key===ek.Space&&e.preventDefault()})),g=cE((e=>{var t;if(XE(e.currentTarget))return e.preventDefault();s||(0===u.menuState?((0,o.flushSync)((()=>p({type:1}))),null==(t=u.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),p({type:0})))})),{isFocusVisible:y,focusProps:v}=Xw({autoFocus:l}),{isHovered:b,hoverProps:x}=Kw({isDisabled:s}),{pressed:w,pressProps:E}=uE({disabled:s}),k=(0,a.useMemo)((()=>({open:0===u.menuState,active:w||0===u.menuState,disabled:s,hover:b,focus:y,autofocus:l})),[u,b,y,w,s,l]),S=ME(d(),{ref:f,id:i,type:fE(e,u.buttonElement),"aria-haspopup":"menu","aria-controls":null==(r=u.itemsElement)?void 0:r.id,"aria-expanded":0===u.menuState,disabled:s||void 0,autoFocus:l,onKeyDown:h,onKeyUp:m,onClick:g},v,x,E);return PE()({ourProps:S,theirProps:c,slot:k,defaultTag:"button",name:"Menu.Button"})})),RI=DE((function(e,t){var r,n;let i=(0,a.useId)(),{id:s=`headlessui-menu-items-${i}`,anchor:l,portal:c=!1,modal:u=!0,transition:p=!1,...d}=e,f=function(e){return(0,a.useMemo)((()=>e?"string"==typeof e?{to:e}:e:null),[e])}(l),[h,m]=_I("Menu.Items"),[g,y]=function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,a.useContext)(fI),r=(0,a.useMemo)((()=>e),[JSON.stringify(e,((e,t)=>{var r;return null!=(r=null==t?void 0:t.outerHTML)?r:t}))]);oE((()=>{null==t||t(null!=r?r:null)}),[t,r]);let n=(0,a.useContext)(dI);return(0,a.useMemo)((()=>[n.setFloating,e?n.styles:{}]),[n.setFloating,e,n.styles])}(f),v=function(){let{getFloatingProps:e,slot:t}=(0,a.useContext)(dI);return(0,a.useCallback)(((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor})),[e,t])}(),[b,x]=(0,a.useState)(null),w=mE(t,f?g:null,cE((e=>m({type:8,element:e}))),x),E=E_(h.itemsElement);f&&(c=!0);let k=UA(),[S,C]=GA(p,b,null!==k?(k&qA.Open)===qA.Open:0===h.menuState);y_(S,h.buttonElement,(()=>{m({type:1})})),I_(!h.__demoMode&&u&&0===h.menuState,E),g_(!h.__demoMode&&u&&0===h.menuState,{allowed:(0,a.useCallback)((()=>[h.buttonElement,h.itemsElement]),[h.buttonElement,h.itemsElement])});let A=!function(e,t){let r=(0,a.useRef)({left:0,top:0});if(oE((()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(r.current=e)}),[e,t]),null==t||!e||t===document.activeElement)return!1;let n=t.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}(0!==h.menuState,h.buttonElement)&&S;(0,a.useEffect)((()=>{let e=h.itemsElement;e&&0===h.menuState&&e!==(null==E?void 0:E.activeElement)&&e.focus({preventScroll:!0})}),[h.menuState,h.itemsElement,E]),function(e,{container:t,accept:r,walk:n}){let i=(0,a.useRef)(r),s=(0,a.useRef)(n);(0,a.useEffect)((()=>{i.current=r,s.current=n}),[r,n]),oE((()=>{if(!t||!e)return;let r=nE(t);if(!r)return;let n=i.current,a=s.current,o=Object.assign((e=>n(e)),{acceptNode:n}),l=r.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,o,!1);for(;l.nextNode();)a(l.currentNode)}),[t,e,i,s])}(0===h.menuState,{container:h.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let _=sE(),P=cE((e=>{var t,r,n;switch(_.dispose(),e.key){case ek.Space:if(""!==h.searchQuery)return e.preventDefault(),e.stopPropagation(),m({type:3,value:e.key});case ek.Enter:if(e.preventDefault(),e.stopPropagation(),m({type:1}),null!==h.activeItemIndex){let{dataRef:e}=h.items[h.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}Nk(h.buttonElement);break;case ek.ArrowDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:bI.Next});case ek.ArrowUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:bI.Previous});case ek.Home:case ek.PageUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:bI.First});case ek.End:case ek.PageDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:bI.Last});case ek.Escape:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>m({type:1}))),null==(n=h.buttonElement)||n.focus({preventScroll:!0});break;case ek.Tab:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>m({type:1}))),function(e,t){Gk(Lk(),t,{relativeTo:e})}(h.buttonElement,e.shiftKey?Mk.Previous:Mk.Next);break;default:1===e.key.length&&(m({type:3,value:e.key}),_.setTimeout((()=>m({type:4})),350))}})),T=cE((e=>{e.key===ek.Space&&e.preventDefault()})),I=(0,a.useMemo)((()=>({open:0===h.menuState})),[h.menuState]),F=ME(f?v():{},{"aria-activedescendant":null===h.activeItemIndex||null==(r=h.items[h.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(n=h.buttonElement)?void 0:n.id,id:s,onKeyDown:P,onKeyUp:T,role:"menu",tabIndex:0===h.menuState?0:void 0,ref:w,style:{...d.style,...y,"--button-width":MP(h.buttonElement,!0).width},...HA(C)}),M=PE();return a.createElement(Z_,{enabled:!!c&&(e.static||S)},M({ourProps:F,theirProps:d,slot:I,defaultTag:"div",features:II,visible:A,name:"Menu.Items"}))})),LI=DE((function(e,t){let r=(0,a.useId)(),{id:n=`headlessui-menu-item-${r}`,disabled:i=!1,...s}=e,[o,l]=_I("Menu.Item"),c=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===n,u=(0,a.useRef)(null),p=mE(t,u);oE((()=>{if(!o.__demoMode&&0===o.menuState&&c&&0!==o.activationTrigger)return iE().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[o.__demoMode,u,c,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=function(e){let t=(0,a.useRef)(""),r=(0,a.useRef)("");return cE((()=>{let n=e.current;if(!n)return"";let a=n.innerText;if(t.current===a)return r.current;let i=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():RP(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return RP(e).trim()}(n).trim().toLowerCase();return t.current=a,r.current=i,i}))}(u),f=(0,a.useRef)({disabled:i,domRef:u,get textValue(){return d()}});oE((()=>{f.current.disabled=i}),[f,i]),oE((()=>(l({type:5,id:n,dataRef:f}),()=>l({type:6,id:n}))),[f,n]);let h=cE((()=>{l({type:1})})),m=cE((e=>{if(i)return e.preventDefault();l({type:1}),Nk(o.buttonElement)})),g=cE((()=>{if(i)return l({type:2,focus:bI.Nothing});l({type:2,focus:bI.Specific,id:n})})),y=function(){let e=(0,a.useRef)([-1,-1]);return{wasMoved(t){let r=LP(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=LP(t)}}}(),v=cE((e=>{y.update(e),!i&&(c||l({type:2,focus:bI.Specific,id:n,trigger:0}))})),b=cE((e=>{y.wasMoved(e)&&(i||c||l({type:2,focus:bI.Specific,id:n,trigger:0}))})),x=cE((e=>{y.wasMoved(e)&&(i||c&&l({type:2,focus:bI.Nothing}))})),[w,E]=ak(),[k,S]=ZE(),C=(0,a.useMemo)((()=>({active:c,focus:c,disabled:i,close:h})),[c,i,h]),A={id:n,ref:p,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-labelledby":w,"aria-describedby":k,disabled:void 0,onClick:m,onFocus:g,onPointerEnter:v,onMouseEnter:v,onPointerMove:b,onMouseMove:b,onPointerLeave:x,onMouseLeave:x},_=PE();return a.createElement(E,null,a.createElement(S,null,_({ourProps:A,theirProps:s,slot:C,defaultTag:FI,name:"Menu.Item"})))})),OI=DE((function(e,t){let[r,n]=ak(),i=e,s={ref:t,"aria-labelledby":r,role:"group"},o=PE();return a.createElement(n,null,o({ourProps:s,theirProps:i,slot:{},defaultTag:"div",name:"Menu.Section"}))})),VI=DE((function(e,t){let r=(0,a.useId)(),{id:n=`headlessui-menu-heading-${r}`,...i}=e,s=rk();oE((()=>s.register(n)),[n,s.register]);let o={id:n,ref:t,role:"presentation",...s.props};return PE()({ourProps:o,theirProps:i,slot:{},defaultTag:"header",name:"Menu.Heading"})})),NI=DE((function(e,t){let r=e,n={ref:t,role:"separator"};return PE()({ourProps:n,theirProps:r,slot:{},defaultTag:"div",name:"Menu.Separator"})})),BI=Object.assign(MI,{Button:DI,Items:RI,Item:LI,Section:OI,Heading:VI,Separator:NI});const jI=({placement:e="right",width:t="w-48",contentClassName:r="py-1 bg-white",trigger:n,offset:i=[0,0],children:s,disabled:o=!1,mainClassName:l=""})=>{let c="bottom-end";switch(e){case"left":c="bottom-start";break;case"right":default:c="bottom-end";break;case"top-start":c="top-start"}const[u,p]=(e=>{const t=(0,Jc.useRef)(null),r=(0,Jc.useRef)(null),n=(0,Jc.useRef)((()=>{})),a=(0,Jc.useCallback)((()=>{t.current&&r.current&&(n.current&&n.current(),n.current=$p(t.current,r.current,e).destroy)}),[t,r,n,e]);return(0,Jc.useMemo)((()=>[e=>{t.current=e,a()},e=>{r.current=e,a()}]),[t,r,a])})({placement:c,strategy:"fixed",modifiers:[{name:"offset",options:{offset:i}}]});switch(t?.toString()){case"48":t="w-48";break;case"60":t="w-60";break;case"72.5":t="w-[18.25rem]";break;case"80":t="w-80";break;default:t=t||"w-48"}return(0,a.createElement)(BI,{as:"div",className:`relative ${l}`},(({open:e})=>(0,a.createElement)(Jc.Fragment,null,(0,a.createElement)(BI.Button,{ref:u,as:Jc.Fragment,disabled:o},n),(0,a.createElement)("div",{ref:p,className:"z-50"},(0,a.createElement)(s_,{show:e,as:Jc.Fragment,enter:"transition ease-out duration-200",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},(0,a.createElement)("div",{className:`my-2 ${t} rounded-md shadow-lg`},(0,a.createElement)(BI.Items,{className:`rounded-md focus:outline-none ring-1 ring-black ring-opacity-5 ${r}`},s)))))))};jI.Item=BI.Item;const zI=jI,{imageDir:HI}=starterTemplates,GI={heart:mP,"squares-plus":gP,funnel:yP,"play-circle":vP,"live-chat":bP,"page-builder":xP,"contact-form":wP,blog:EP,ecommerce:kP,envelope:SP,calendar:CP},WI=e=>{switch(e){case"surecart":return{icon:(0,a.createElement)("img",{src:`${HI}surecart-icon.svg`,alt:"SureCart",className:"w-5 h-5"}),title:"SureCart"};case"woocommerce":return{icon:(0,a.createElement)("img",{src:`${HI}woocommerce-icon.svg`,alt:"WooCommerce",className:"w-5 h-5"}),title:"WooCommerce"};default:return{icon:(0,a.createElement)(kP,{className:"w-5 h-5"}),title:"Ecommerce"}}},qI=({ecomSupported:e,selectedEcom:t,onChange:r,disabled:n,dispatch:i})=>{const[s,o]=(0,a.useState)(!1);return(0,a.createElement)("div",{className:"bg-[#F6FAFE] z-50 py-1 px-2 shadow-sm rounded-md items-center justify-center w-fit"},(0,a.createElement)(zI,{width:"w-36",trigger:(0,a.createElement)("div",{className:"flex items-center cursor-pointer gap-1.5",onClick:e=>{n||(e.stopPropagation(),o(!s))}},(0,a.createElement)("div",{className:"flex items-center"},WI(t).icon,(0,a.createElement)("div",{className:"ml-2"},(0,a.createElement)("p",{className:"!text-xs leading-3 text-app-text"},WI(t).title))),!n&&(0,a.createElement)(du,{className:Ao("w-3 h-3 text-app-active-icon",s?"transform rotate-180":"")})),onOpenChange:o,disabled:n},!n&&(0,a.createElement)("div",{className:"py-0.5 px-2 mx-auto bg-white rounded-md"},e.map(((e,t)=>{const{icon:s,title:l}=WI(e);return(0,a.createElement)(zI.Item,{key:t,onClick:t=>((e,t)=>{n||(t.stopPropagation(),r(e),i({type:"set",selectedEcommercePlugin:e}),o(!1))})(e,t),className:Ao("flex items-center px-2 py-1 rounded-md cursor-pointer","hover:bg-container-background hover:bg-opacity-100")},(0,a.createElement)("div",{className:"flex items-center"},s,(0,a.createElement)("div",{className:"ml-2"},(0,a.createElement)("p",{className:"!text-xs leading-5 text-app-text"},l))))})))))},UI=()=>{const[{requiredPlugins:e,siteFeatures:t,currentIndex:r,selectedTemplateID:n,isEcommerce:i,selectedEcommercePlugin:s},o]=cs(),l=cs(),[c,u]=(0,a.useState)(),[p,d]=(0,a.useState)(["surecart","woocommerce"]);return(0,a.useEffect)((()=>{if(i){const r=[...e?.required_plugins?.active?.map((e=>e.slug))||[],...e?.required_plugins?.inactive?.map((e=>e.slug))||[],...e?.required_plugins?.notinstalled?.map((e=>e.slug))||[]];d(["surecart","woocommerce"]),c&&c===s||(r?.includes("surecart")?u("surecart"):u("woocommerce"));const n=t.map((e=>"ecommerce"===e.id?{...e,compulsory:!0,enabled:!0}:e));o({type:"set",siteFeatures:n})}else{d(["surecart","woocommerce"]),u(c||"surecart");const e=t.map((e=>"ecommerce"===e.id?{...e,compulsory:!1}:e));o({type:"set",siteFeatures:e})}}),[n,i,s]),(0,a.createElement)(TP,{className:"grid grid-cols-1 gap-8 auto-rows-auto !max-w-[55rem] w-full mx-auto"},(0,a.createElement)("div",{className:"space-y-4 text-left"},(0,a.createElement)("div",{className:"space-y-3"},(0,a.createElement)("div",{className:"text-heading-text !text-[1.75rem] font-semibold leading-9"},(0,wn.__)("Select features","astra-sites")),(0,a.createElement)("p",{className:"text-body-text !text-base font-normal leading-6"},(0,wn.__)("Select the features you want on this website","astra-sites")))),(0,a.createElement)("div",{className:"grid grid-cols-1 lg:grid-cols-2 auto-rows-auto gap-x-8 gap-y-5 w-full"},t.map((e=>{const r="ecommerce"===e.id,n=GI?.[e?.icon]||AP;return(0,a.createElement)("div",{key:e?.id,className:Ao("relative py-4 pl-4 pr-5 rounded-md shadow-sm border border-solid bg-white border-button-disabled transition-colors duration-150 ease-in-out",e?.enabled&&"border-classic-button","cursor-pointer")},(0,a.createElement)("div",{className:"!flex !items-start !w-full"},(0,a.createElement)(n,{className:"w-8 h-8 text-app-active-icon"}),(0,a.createElement)("div",{className:"!ml-3 !w-full text-left"},(0,a.createElement)("p",{className:"!text-md !mb-1 !text-base !font-semibold !leading-6"},e?.title),(0,a.createElement)("div",{className:"flex justify-between !items-start !w-full"},(0,a.createElement)("p",{className:"text-app-body-text text-sm font-normal leading-5 w-full"},e?.description),r&&(0,a.createElement)(qI,{ecomSupported:p,selectedEcom:c,onChange:u,dispatch:o})))),(0,a.createElement)("span",{className:Ao("inline-flex absolute top-4 right-4 p-[0.1875rem] border border-solid border-zip-app-inactive-icon rounded",e?.enabled&&"border-classic-button bg-classic-button",e?.compulsory&&"border-button-disabled bg-button-disabled")},(0,a.createElement)(_P,{className:"w-2.5 h-2.5 text-white",strokeWidth:4})),!e?.compulsory&&(0,a.createElement)("div",{className:"absolute inset-0 cursor-pointer",onClick:(i=e?.id,()=>{const e=t.map((e=>e.compulsory?e:e.id===i?{...e,enabled:!e.enabled}:e));o({type:"set",siteFeatures:e})})}));var i}))),(0,a.createElement)("div",{className:"flex justify-between items-center mt-2"},(0,a.createElement)("div",{className:"flex gap-4 max-md:flex-col flex-1"},(0,a.createElement)(FP,{variant:"primary",className:"!bg-classic-button border border-solid border-classic-button flex gap-2 items-center h-11 text-[15px] leading-[15px]",onClick:async()=>{o({type:"set",currentIndex:r+1});const e=t.filter((e=>e.enabled)).map((e=>e.id));o({type:"set",enabledFeatureIds:e}),l[0].enabledFeatureIds=e,l[0].selectedEcommercePlugin=c,await ru(l)}},(0,a.createElement)("span",null,(0,wn.__)("Continue","astra-sites")),(0,a.createElement)(PP,{className:"w-4 h-4 !fill-none"})),(0,a.createElement)("div",{className:"flex justify-between items-center w-full"},(0,a.createElement)(FP,{variant:"blank",className:"!bg-transparent !text-classic-button border border-solid border-classic-button px-4 py-2 rounded inline-flex items-center justify-center h-11 text-[15px] leading-[15px]",onClick:()=>o({type:"set",currentIndex:r-1})},(0,wn.__)("Back","astra-sites")),(0,a.createElement)("a",{className:"text-zip-body-text no-underline text-base font-normal cursor-pointer",onClick:()=>{o({type:"set",currentIndex:r+1})}},(0,wn.__)("Skip this step","astra-sites"))))))},{imageDir:XI,isBeaverBuilderDisabled:QI,isBrizyEnabled:$I,isElementorDisabled:JI}=starterTemplates,ZI=[{name:"page-builder",header:(0,a.createElement)(Sk,null),content:(0,a.createElement)((()=>{const[{builder:e,currentIndex:t,limitExceedModal:r},n]=cs(),i=astraSitesVars?.zip_plans,s=i?.plan_data?.remaining,o=s?.ai_sites_count;(0,a.useEffect)((()=>{const e=localStorage.getItem("st-import-start"),t=localStorage.getItem("st-import-end");(e||t)&&(localStorage.removeItem("st-import-start"),localStorage.removeItem("st-import-end"))}));const l=(e,t)=>{37===(e=e||window.event).keyCode?e.target.previousSibling&&e.target.previousSibling.focus():39===e.keyCode?e.target.nextSibling&&e.target.nextSibling.focus():"Enter"===e.key&&t()};(0,a.useEffect)((()=>{new URLSearchParams(window.location.search).get("token")&&n("number"==typeof o&&o<=0?{type:"set",limitExceedModal:{...r,open:!0}}:{type:"set",currentIndex:1})}),[]);const c=()=>{if("number"==typeof o&&o<=0)return void n({type:"set",limitExceedModal:{...r,open:!0}});const e=new FormData;e.append("action","astra-sites-change-page-builder"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("page_builder","ai-builder"),fetch(ajaxurl,{method:"post",body:e}),window.location.href=astraSitesVars?.adminURL+"themes.php?page=ai-builder"};(0,a.useEffect)((()=>{t===Po("page-builder")&&"fse"!==e&&n({type:"set",builder:"ai-builder"})}),[]);const u=hP?"md:grid-cols-2":"md:grid-cols-1";return(0,a.createElement)(zo,{content:(0,a.createElement)("div",{className:"flex-1 flex flex-col justify-center items-center pb-14 sm:pb-10 lg:pb-0"},(0,a.createElement)("div",{className:"w-full flex justify-center"},(0,a.createElement)("h1",{className:"w-[390px]"},(0,wn.__)("How would you like to build your website?","astra-sites"))),(0,a.createElement)("p",{className:"screen-description"}),(0,a.createElement)("div",{className:`max-w-full lg:max-w-[800px] grid grid-cols-1 ${u} place-content-center gap-6 ist-fadeinUp`},(0,a.createElement)("div",{className:"flex-col flex bg-white pt-10 pb-8 px-8 text-left relative rounded-xl shadow-card gradient-border-cover gradient-border-cover-button max-w-[356px]",tabIndex:"0",onKeyDown:e=>l(e,c)},(0,a.createElement)(rx,{className:"w-12 h-12 text-accent-st-secondary stroke-1"}),(0,a.createElement)("div",{className:"mt-6 text-xl font-semibold leading-7 mb-2.5 text-heading-text"},(0,wn.__)("AI Website Builder","astra-sites")),(0,a.createElement)("div",{className:"zw-sm-normal text-body-text"}," ",(0,wn.__)("Experience the future of website building. We offer AI features powered by ZipWP to help you build your website 10x faster.","astra-sites")," "),(0,a.createElement)("div",{className:"pt-10 mt-auto"},(0,a.createElement)(os,{className:"w-full h-10",onClick:c},(0,a.createElement)("span",null,(0,wn.__)("Build with AI","astra-sites"))," ",(0,a.createElement)(tx,{className:"w-5 h-5 ml-2"})))),hP&&(0,a.createElement)("div",{className:"flex-col flex bg-white pt-10 pb-8 px-8 text-left relative rounded-xl max-w-[356px]",tabIndex:"0",onKeyDown:e=>l(e,(()=>{n({type:"set",currentIndex:2})}))},(0,a.createElement)(RA,{className:"w-12 h-12 text-accent-st-secondary stroke-1"}),(0,a.createElement)("div",{className:"mt-6 text-xl font-semibold leading-7 mb-2.5 text-heading-text"},(0,wn.__)("Classic Starter Templates","astra-sites")),(0,a.createElement)("div",{className:"zw-sm-normal text-body-text"}," ",(0,wn.__)("Begin the website-building process with our extensive library of professionally designed templates tailored to meet your requirements.","astra-sites")," "),(0,a.createElement)("div",{className:"pt-10 mt-auto"},(0,a.createElement)(os,{className:"w-full h-10",type:"secondary",onClick:()=>{n({type:"set",builder:"ai-builder"===e?"gutenberg":e,currentIndex:"fse"===e?2:1}),(()=>{try{if("undefined"==typeof window)return;localStorage.removeItem("st-scroll-position")}catch(e){console.error("Error while removing localStorage:",e)}})()}},(0,a.createElement)("span",null,(0,wn.__)("Build with Templates","astra-sites"))," ",(0,a.createElement)(tx,{className:"w-5 h-5 ml-2"}))))),(0,a.createElement)(fP,{onOpenChange:()=>{if(new URLSearchParams(window.location.search).get("token")){const e=(0,Ho.removeQueryArgs)(window.location.href,"token","email","action","credit_token");window.location=e}}}),(0,a.createElement)("button",{className:"mx-auto flex items-center justify-center gap-2 mt-10 border-0 bg-transparent focus:outline-none text-zip-body-text text-sm font-normal cursor-pointer",onClick:()=>window.open(starterTemplates.adminUrl,"_self")},(0,a.createElement)(LA,{className:"w-5 h-5"}),(0,a.createElement)("span",null,(0,wn.__)("Exit to Dashboard","astra-sites")))),actions:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(us,{before:!0,customizeStep:!0,onClick:()=>{window.location.href=starterTemplates.adminUrl}},(0,wn.__)("Back","astra-sites")))})}),null),class:"step-page-builder"},{name:"classic-page-builder",header:(0,a.createElement)(Sk,null),content:(0,a.createElement)((()=>{const[{currentIndex:e},t]=cs();(0,a.useEffect)((()=>{const e=localStorage.getItem("st-import-start"),t=localStorage.getItem("st-import-end");(e||t)&&(localStorage.removeItem("st-import-start"),localStorage.removeItem("st-import-end"))}));const r=r=>{const n=new FormData;n.append("action","astra-sites-change-page-builder"),n.append("_ajax_nonce",astraSitesVars?._ajax_nonce),n.append("page_builder",r),fetch(ajaxurl,{method:"post",body:n}),t({type:"set",builder:r,currentIndex:e+1})},n=(e,t)=>{37===(e=e||window.event).keyCode?e.target.previousSibling&&e.target.previousSibling.focus():39===e.keyCode?e.target.nextSibling&&e.target.nextSibling.focus():"Enter"===e.key&&r(t)};return(0,a.createElement)(zo,{content:(0,a.createElement)("div",{className:"page-builder-screen-wrap"},(0,a.createElement)("h1",null,(0,wn.__)("Select Page Builder","astra-sites")),(0,a.createElement)("p",{className:"screen-description"},(0,wn.__)("Please choose your preferred page builder from the list below.","astra-sites")),(0,a.createElement)("div",{className:"flex items-center justify-center gap-4 max-sm:flex-col max-sm:gap-3"},(0,a.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("gutenberg")},tabIndex:"0",onKeyDown:e=>n(e,"gutenberg")},(0,a.createElement)("div",{className:"elementor-image-wrap image-wrap"},(0,a.createElement)("img",{src:`${XI}block-editor.svg`,alt:(0,wn.__)("Block Editor","astra-sites")})),(0,a.createElement)("h6",{className:"label-name"},(0,wn.__)("Block Editor","astra-sites"))),""===JI&&(0,a.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("elementor")},tabIndex:"0",onKeyDown:e=>n(e,"elementor")},(0,a.createElement)("div",{className:"elementor-image-wrap image-wrap"},(0,a.createElement)("img",{src:`${XI}elementor.svg`,alt:(0,wn.__)("Elementor","astra-sites")})),(0,a.createElement)("h6",{className:"label-name"},(0,wn.__)("Elementor","astra-sites"))),!QI&&(0,a.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("beaver-builder")},tabIndex:"0",onKeyDown:e=>n(e,"beaver-builder")},(0,a.createElement)("div",{className:"beaver-builder-image-wrap image-wrap"},(0,a.createElement)("img",{src:`${XI}beaver-builder.svg`,alt:(0,wn.__)("Beaver Builder","astra-sites")})),(0,a.createElement)("h6",{className:"label-name"},(0,wn.__)("Beaver Builder","astra-sites"))),"1"===$I&&(0,a.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("brizy")},tabIndex:"0",onKeyDown:e=>n(e,"brizy")},(0,a.createElement)("div",{className:"brizy-image-wrap image-wrap"},(0,a.createElement)("img",{src:`${XI}brizy.svg`,alt:(0,wn.__)("Brizy","astra-sites")})),(0,a.createElement)("h6",{className:"label-name"},(0,wn.__)("Brizy","astra-sites")))),(0,a.createElement)("div",{className:"mt-10 text-zip-body-text"},(0,a.createElement)(us,{customizeStep:!0,before:!0,onClick:()=>{t({type:"set",currentIndex:0,builder:"ai-builder"})}},(0,wn.__)("Back","astra-sites"))))})}),null),class:"step-page-builder"},{name:"site-list",header:(0,a.createElement)(Sk,null),content:(0,a.createElement)((()=>{const[e,t]=(0,a.useState)(!0),r=(0,a.useRef)(null),n=Iu(),i=gn(),[s,o]=(0,a.useReducer)(((e,t)=>({...e,...t})),{gridSkeleton:!1,sites:{}}),[l,c]=cs(),{onMyFavorite:u,builder:p,siteSearchTerm:d,siteType:f,siteOrder:h,siteBusinessType:m,selectedMegaMenu:g,allSitesData:y,bgSyncInProgress:v}=l;(0,a.useEffect)((()=>{const e=setTimeout((()=>{t(!1)}),800);return()=>clearTimeout(e)}),[]),(0,a.useEffect)((()=>{c({type:"set",templateResponse:null,selectedTemplateName:"",selectedTemplateType:"",shownRequirementOnce:!1,templateId:0}),o({sites:n})}),[p,f,h,y]),So(l);const b=Object.keys(s.sites).length,x=()=>{const e=document.querySelector(".step-content ");e&&e.scrollTo({top:0,behavior:"smooth"})};(0,a.useEffect)((()=>{const e=setTimeout((()=>{x()}),300);return()=>clearTimeout(e)}),[p]);const w=e=>{const t=e.target;if(!r.current)return;const n=r.current;t.scrollTop>250&&n.classList.contains("hidden")?n.classList.remove("hidden"):t.scrollTop<=250&&!n.classList.contains("hidden")&&n.classList.add("hidden")};(0,a.useEffect)((()=>{(async()=>{try{const e=await vu();if(c({type:"set",syncPageInProgress:0,syncPageCount:0}),e)return void c({type:"set",bgSyncInProgress:!1});const t=await(async()=>{const e=await Au();c({type:"set",syncPageCount:e});const t=[];for(let r=0;r<e;r++)(await _u(r+1)).forEach((e=>{t.push(e)})),c({type:"set",syncPageInProgress:r+1});return t.length>0?t:null})(),r=await Pu(),n=await Tu(),a={type:"set",bgSyncInProgress:!1,syncPageInProgress:0,syncPageCount:0};t&&r&&n?(a.allSitesData=t,a.categories=r,a.categoriesAndTags=r):(a.allSitesData=null!=t?t:null,a.categories=null!=r?r:null,a.categoriesAndTags=null!=n?n:null),c(a),astraSitesVars.bgSyncInProgress=!1}catch(e){console.error(e)}})()}),[]),(0,a.useEffect)((()=>{const e=document.querySelector(".step-content ");if(e)return e.addEventListener("scroll",w),()=>{e.removeEventListener("scroll",w)}}),[]);const E=s.gridSkeleton||v||e;return(0,a.createElement)(zo,{content:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"site-list-screen-container "+(e?"site-loading":"site-loaded")},(0,a.createElement)($c,null),(0,a.createElement)("div",{className:"site-list-screen-wrap flex flex-col gap-6 mx-auto"},(0,a.createElement)("div",null,(0,a.createElement)("h3",{className:"site-list-title"},(0,wn.__)("What type of website are you building?","astra-sites"))),(0,a.createElement)("div",{className:"site-list-content"},(0,a.createElement)(lu,{setSiteData:o}),(0,a.createElement)("div",{className:"st-templates-content"},(0,a.createElement)("div",{className:"st-other-filters"},(0,a.createElement)("div",{className:"st-category-filter"},(0,a.createElement)(Qr.SiteBusinessType,{parent:m,menu:g,onClick:(e,t,r)=>{c({type:"set",siteBusinessType:t.ID,selectedMegaMenu:r.ID,siteSearchTerm:r.title,onMyFavorite:!1,siteOrder:"popular"});const n=Qc("s",r.title);i(`?${n}`)}})),(0,a.createElement)("div",{className:"st-type-and-order-filters"},(0,a.createElement)(Qr.SiteType,{value:f,onClick:(e,t)=>{c({type:"set",siteType:t.id,onMyFavorite:!1})}}),(0,a.createElement)(Qr.SiteOrder,{value:h,onClick:(e,t)=>{c({type:"set",siteOrder:t.id,onMyFavorite:!1,siteBusinessType:"",selectedMegaMenu:"",siteSearchTerm:""});const r=Qc("s","");i(`?${r}`)}}))),u?(0,a.createElement)(pu,null):(0,a.createElement)(a.Fragment,null,(!!b||E)&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"st-sites-grid"},d?(0,a.createElement)("div",{className:"st-sites-found-message"},(0,wn.sprintf)(/* translators: %1$s: search term. */ /* translators: %1$s: search term. */ (0,wn.__)("Starter Templates for %1$s:","astra-sites"),(0,xn.decodeEntities)(d))):null,E?(0,a.createElement)(Zc,null):(0,a.createElement)(ou,{sites:s.sites}))),!b&&!E&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Qr.NoResultFound,{searchTerm:d}),(0,a.createElement)(uu,{sites:n})))))),(0,a.createElement)("div",{ref:r,className:"hidden absolute right-20 bottom-28 ml-auto"},(0,a.createElement)("button",{type:"button",className:"absolute bottom-0 right-0 z-10 w-8 h-8 rounded-full bg-accent-st-secondary border-0 border-solid text-white flex items-center justify-center shadow-sm cursor-pointer",onClick:x},(0,a.createElement)(du,{className:"w-5 h-5"}))))),actions:(0,a.createElement)("div",{className:"step-action-wrapper"},(0,a.createElement)(us,{before:!0,onClick:()=>{c({type:"set",siteSearchTerm:"",siteBusinessType:"",currentIndex:"fse"===p?0:1});const e=Qc("s");i(`?${e}`)}},(0,wn.__)("Back","astra-sites")),!astraSitesVars?.isPro&&!wo()&&(0,a.createElement)("div",{className:"cta-strip-right"},(0,a.createElement)("h5",null,(0,wn.__)("Get unlimited access to all Premium Starter Templates and more, at a single low cost!","astra-sites")),(0,a.createElement)(os,{className:"st-access-btn",onClick:()=>window.open(astraSitesVars?.cta_links[p])},(0,wn.__)("Get Essential Toolkit","astra-sites"))))})}),null),class:"step-site-list"},{name:"customizer",content:(0,a.createElement)((()=>{const[{currentCustomizeIndex:e,currentIndex:t,builder:r},n]=cs(),i=CC[e];let s,o;void 0!==i&&(s=i.content,o=i.controls),(0,a.useEffect)((()=>{const t=parseInt(e)-1,r=parseInt(e)+1;r>0&&r<CC.length&&document.body.classList.remove(CC[r].class),t>=0&&document.body.classList.remove(CC[t].class),document.body.classList.add(CC[e].class)}));const l=()=>{if(CC.length-1===e)return null;n("beaver-builder"===r||"brizy"===r?{type:"set",currentIndex:t+1}:{type:"set",currentCustomizeIndex:e+1})},c=()=>{if(0===e)return null;n({type:"set",currentCustomizeIndex:e-1})},u=e=>(e.returnValue=(0,wn.__)("Are you sure you want to cancel the site import process?","astra-sites"),e);return(0,a.useEffect)((()=>(window.addEventListener("beforeunload",u),()=>window.removeEventListener("beforeunload",u)))),(0,a.createElement)(zo,{stepName:CC[e].class,content:(0,a.createElement)(s,{customizeStep:!0,onNextClick:l,onPreviousClick:c}),controls:o&&(0,a.createElement)(o,{customizeStep:!0,onNextClick:l,onPreviousClick:c}),actions:null,preview:(0,a.createElement)(Xc,null)})}),null),class:"step-customizer"},{name:"features",content:(0,a.createElement)((()=>(0,a.createElement)(zo,{content:(0,a.createElement)("div",{className:"features-container"},UI())})),null),class:"step-feature"},{name:"survey",content:(0,a.createElement)((()=>{const e=cs(),[{currentIndex:t,builder:r,requiredPlugins:n,notInstalledList:i,notActivatedList:s,analyticsFlag:o,shownRequirementOnce:l,pluginInstallationAttempts:c,fileSystemPermissions:u,formDetails:p,allowResetSite:d},f]=e,h=n?.required_plugins?.notinstalled,m=n?.required_plugins?.inactive,g=[];h?.length>0&&h.map((e=>g.push({plugin:e,action:(0,wn.__)("Install & Activate","astra-sites")}))),m?.length>0&&m.map((e=>g.push({plugin:e,action:(0,wn.__)("Activate","astra-sites")})));const y=(0,a.createElement)("a",{className:"st-link",href:"https://store.brainstormforce.com/terms-and-conditions/",target:"_blank",rel:"noreferrer"},"Terms"),v=(0,a.createElement)("a",{className:"st-link",href:"https://store.brainstormforce.com/privacy-policy/",target:"_blank",rel:"noreferrer"},"Privacy Policy"),b=null!==n?n.third_party_required_plugins:[],x=b.length>0,[w,E]=(0,a.useState)(x),k=astraSitesVars?.compatibilities,S=k.errors;let C,A=k.warnings;if(n&&n.update_avilable_plugins.length>0){const e=[];n.update_avilable_plugins.map((t=>e.push(t.name)));const t=["<ul>"];e.forEach((function(e){t.push("<li>"+e+"</li>")})),t.push("</ul>");const r=astraSitesVars?.compatibilities_data["update-available"];r.tooltip=r.tooltip.replace("##LIST##",t.join("")),A={...A,"update-available":r}}C=!0!==l&&(Object.keys(S).length>0||Object.keys(A).length>0);const[_,P]=(0,a.useState)(C),T=d||DA,I=(0,wn.sprintf)( // translators: %1$s is a terms link, %2$s is a privacy policy link // translators: %1$s is a terms link, %2$s is a privacy policy link (0,wn.__)("By continuing, you agree to our %1$s and %2$s.","astra-sites"),"_terms_","_privacy_"),[F,M]=I.split("_terms_"),[D,R]=M.split("_privacy_");let L=(0,a.createElement)("form",{className:"survey-form",onSubmit:e=>{if(e.preventDefault(),T){if((()=>{const e=new FormData;e.append("action","astra-sites-set_start_flag"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("template_type","classic"),fetch(ajaxurl,{method:"post",body:e})})(),setTimeout((()=>{f({type:"set",currentIndex:t+1})}),500),"yes"!==MA){const e=o?"yes":"no",t=new FormData;t.append("action","astra-sites-update-analytics"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),t.append("data",e),fetch(ajaxurl,{method:"post",body:t}).then((e=>e.json())).then((t=>{t.success&&(starterTemplates.analytics=e)}))}if("yes"===astraSitesVars?.subscribed)return void f({type:"set",user_subscribed:!0});if(!p.opt_in&&!p.email)return;const e=n.required_plugins,a=[e?.active,e?.inactive,e?.notinstalled,i,s],l=Array.from(new Set(a.flatMap((e=>Array.isArray(e)?e:[])).map((e=>e?.slug)).filter(Boolean))),c={EMAIL:p.email,FIRSTNAME:p.first_name,PAGE_BUILDER:r,WP_USER_TYPE:p.wp_user_type,BUILD_WEBSITE_FOR:p.build_website_for,OPT_IN:p.opt_in,FEATURES:l},u=new FormData;u.append("action","astra-sites-update-subscription"),u.append("_ajax_nonce",astraSitesVars?._ajax_nonce),u.append("data",JSON.stringify(c)),fetch(ajaxurl,{method:"post",body:u}).then((e=>e.json())).then((()=>{f({type:"set",user_subscribed:!0})}))}}},"yes"!==astraSitesVars?.subscribed&&(0,a.createElement)(EA,{formDetails:p,updateFormDetails:(e,t)=>{f({type:"set",formDetails:{...p,[e]:t}})}}),(0,a.createElement)(TA,null),(0,a.createElement)("button",{type:"submit",className:"submit-survey-btn button-text d-flex-center-align",style:T?null:{backgroundColor:"#E5E7EB",cursor:"not-allowed",color:"#9CA3AF"}},(0,wn.__)("Submit & Build My Website","astra-sites"),T?ps.arrowRight:ps.arrowRightDisabled),(0,a.createElement)("p",{className:"!text-zip-app-inactive-icon subscription-agreement-text text-center mt-4"},F,y,D,v,R));return c>2&&g.length>0?L=(0,a.createElement)("form",{className:"install-plugins-form",onSubmit:t=>{t.preventDefault(),ru(e)}},(0,a.createElement)("h1",null,(0,wn.__)("Required plugins missing","astra-sites")),(0,a.createElement)("p",null,(0,wn.__)("Some required plugins could not be able to be installed/activated due to some limitations coming from this website’s hosting service provider.","astra-sites")),(0,a.createElement)("p",null,(0,wn.__)("We request you to please install/update the following plugins to proceed.","astra-sites")),(0,a.createElement)("h5",null,(0,wn.__)("Required plugins -","astra-sites")),(0,a.createElement)("ul",{className:"manual-required-plugins-list"},g.map(((e,t)=>(0,a.createElement)("li",{key:t},e.plugin.name," - ",(0,a.createElement)("a",{href:e.plugin?.action,target:"_blank",rel:"noreferrer"},e.action))))),(0,a.createElement)("button",{type:"submit",className:"submit-survey-btn button-text d-flex-center-align"},(0,wn.__)("Start Importing","astra-sites"),ps.arrowRight)):null===u||Object.values(u.permissions).every((e=>!0===e))?null!==n&&Object.keys(n.incompatible_plugins).length>0?L=(0,a.createElement)("div",{className:"requirement-check-wrap"},(0,a.createElement)("h1",{className:"text-3xl font-bold text-zip-app-heading max-md:!text-3xl max-sm:!text-2xl"},(0,wn.__)("We're Almost There!","astra-sites")),(0,a.createElement)("p",null,(0,wn.__)("The Starter Template you are trying to import requires a few plugins to be installed and activated. Your current PHP version does not match the minimum requirement for these plugins.","astra-sites")),(0,a.createElement)("p",{className:"current-php-version"},(0,a.createElement)("strong",null,`Current PHP version: ${FA}`)),(0,a.createElement)("ul",{className:"requirement-check-list"},Object.values(n.incompatible_plugins).map(((e,t)=>(0,a.createElement)("li",{key:t},(0,a.createElement)("div",{className:"requirement-list-item"},`${e.name} - PHP Version: ${e.min_php_version} or higher`)))))):_?L=(0,a.createElement)("div",{className:"requirement-check-wrap"},(0,a.createElement)("h1",{className:"text-3xl font-bold text-zip-app-heading max-md:!text-3xl max-sm:!text-2xl !text-center"},(0,wn.__)("We're Almost There!","astra-sites")),(0,a.createElement)("p",null,(0,wn.__)("You're close to importing the template. To complete the process, please clear the following conditions.","astra-sites")),(0,a.createElement)("ul",{className:"requirement-check-list"},Object.keys(S).length>0&&Object.values(S).map(((e,t)=>(0,a.createElement)("li",{key:t},(0,a.createElement)("div",{className:"requirement-list-item"},e.title,(0,a.createElement)(fw,{interactive:!0,content:(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:e.tooltip}})},ps.questionMark))))),Object.keys(A).length>0&&Object.values(A).map(((e,t)=>(0,a.createElement)("li",{key:t},(0,a.createElement)("div",{className:"requirement-list-item"},e.title,(0,a.createElement)(fw,{interactive:!0,content:(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:e.tooltip}})},ps.questionMark)))))),(0,a.createElement)("button",{className:"submit-survey-btn button-text d-flex-center-align",onClick:()=>{P(!1),f({type:"set",shownRequirementOnce:!0})},disabled:Object.keys(S).length>0},(0,a.createElement)("span",{className:"leading-[15px]"},(0,wn.__)("Skip & Continue","astra-sites")),ps.arrowRight)):w&&(L=(0,a.createElement)("form",{className:"required-plugins-form",onSubmit:e=>{e.preventDefault(),E(!1)}},(0,a.createElement)("h1",null,(0,wn.__)("Required plugins missing","astra-sites")),(0,a.createElement)("p",null,(0,wn.__)("This starter template requires premium plugins. As these are third party premium plugins, you'll need to purchase, install and activate them first.","astra-sites")),(0,a.createElement)("h5",null,(0,wn.__)("Required plugins -","astra-sites")),(0,a.createElement)("ul",{className:"third-party-required-plugins-list"},b.map(((e,t)=>(0,a.createElement)("li",{"data-slug":e.slug,"data-init":e.init,"data-name":e.name,key:t},(0,a.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer"},e.name))))),(0,a.createElement)("button",{type:"submit",className:"submit-survey-btn button-text d-flex-center-align"},(0,wn.__)("Skip & Start Importing","astra-sites"),ps.arrowRight))):L=(()=>{const{is_readable:e,is_writable:t,is_wp_filesystem:r}=u.permissions;return(0,a.createElement)("div",{className:"requirement-check-wrap"},(0,a.createElement)("h1",null,(0,wn.__)("We're Almost There!","astra-sites")),(0,a.createElement)("p",null,(0,wn.__)("The import process was interrupted due to the lack of file-system permissions from your host. It is required to import images, XML files, and more required for the template to work.","astra-sites")),(0,a.createElement)("p",{className:"current-file-system-permissions"},(0,a.createElement)("strong",null,(0,wn.__)("Current file-system permissions:","astra-sites"))),(0,a.createElement)("ul",{className:"requirement-check-list"},(0,a.createElement)("li",null,(0,a.createElement)("div",{className:"requirement-list-item"},(0,wn.__)("Read Permissions:","astra-sites"),(0,a.createElement)("span",{className:"dashicons "+(e?"dashicons-yes":"dashicons-no")}))),(0,a.createElement)("li",null,(0,a.createElement)("div",{className:"requirement-list-item"},(0,wn.__)("Write Permissions:","astra-sites"),(0,a.createElement)("span",{className:"dashicons "+(t?"dashicons-yes":"dashicons-no")}))),(0,a.createElement)("li",null,(0,a.createElement)("div",{className:"requirement-list-item"},(0,wn.__)("WP_Filesystem Permissions:","astra-sites"),(0,a.createElement)("span",{className:"dashicons "+(r?"dashicons-yes":"dashicons-no")})))),(0,a.createElement)("p",null,(0,wn.__)("Please contact the hosting service provider to help you update the permissions so that you can successfully import a complete template.","astra-sites")))})(),(0,a.createElement)(zo,{content:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"my-4"},(0,a.createElement)("h1",{className:"mb-4 text-3xl font-bold text-zip-app-heading max-md:!text-3xl max-sm:!text-2xl"},(0,wn.__)("Okay, just one last step…","astra-sites"))),(0,a.createElement)("div",{className:"survey-container"}," ",L," "),(0,a.createElement)(us,null,(0,a.createElement)("div",{className:"flex text-center justify-center items-center gap-2"},(0,a.createElement)(IA,{height:12.5,strokeWidth:2}),(0,wn.__)("Back","astra-sites"))))})}),null),class:"step-survey"},{name:"import-site",title:"We are buiding your website...",content:(0,a.createElement)((()=>{const e=cs(),[{importStart:t,importEnd:r,importPercent:n,templateResponse:i,reset:s,themeStatus:o,importError:l,siteLogo:c,activePalette:u,typography:p,customizerImportFlag:d,widgetImportFlag:f,contentImportFlag:h,themeActivateFlag:m,requiredPluginsDone:g,requiredPlugins:y,notInstalledList:v,notActivatedList:b,tryAgainCount:x,xmlImportDone:w,templateId:E,selectedTemplateType:k,builder:S,pluginInstallationAttempts:C},A]=e;let _=n;const P=(e="",t="",r="",n="",a="",i="")=>{A({type:"set",importError:!0,importErrorMessages:{primaryText:e,secondaryText:t,errorCode:n,errorText:r,solutionText:a,tryAgain:!0}}),localStorage.removeItem("st-import-start"),localStorage.removeItem("st-import-end"),T(e,t,r,n,a,i,x)},T=(e="",t="",r="",n="",a="",s="")=>{const o=JSON.stringify({primaryText:e,secondaryText:t,errorCode:n,errorText:r,solutionText:a,tryAgain:!0,stack:s,tryAgainCount:x});if(x>=2&&su(x,!1,{id:E,page_builder:S,template_type:k,error:o}),!wA)return;const l=new FormData;l.append("action","astra-sites-report_error"),l.append("_ajax_nonce",astraSitesVars?._ajax_nonce),l.append("type","classic"),l.append("page_builder",S),l.append("template_type",k),l.append("error",o),l.append("id",i.id),l.append("plugins",JSON.stringify(y)),fetch(ajaxurl,{method:"post",body:l})},I=async e=>{const t=new FormData;t.append("action","astra-sites-get_deleted_post_ids"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),A({type:"set",importStatus:(0,wn.__)("Resetting posts.","astra-sites")});const r=new FormData;return r.append("action","astra-sites-reset_posts"),r.append("ids",JSON.stringify(e)),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:r}).then((e=>e.text())).then((e=>{let t=[],r=!1;try{const r=JSON.parse(e);if(t=r,!r.success)throw r;_+=2,A({type:"set",importPercent:_>=50?50:_})}catch(t){return P((0,wn.__)("Resetting posts failed.","astra-sites"),"",t,"","",e),r=!0,!1}if(!t.success&&!1===r)throw t.data})).catch((e=>(P((0,wn.__)("Resetting posts failed.","astra-sites"),"",e?.message,"","",e),!1))),!0},F=async()=>{A({type:"set",importStatus:(0,wn.__)("Taking settings backup.","astra-sites")});const e=new FormData;e.append("action","astra-sites-backup_settings"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data})).catch((e=>(P((0,wn.__)("Taking settings backup failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},M=async()=>{A({type:"set",importStatus:(0,wn.__)("Resetting customizer.","astra-sites")});const e=new FormData;e.append("action","astra-sites-reset_customizer_data"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting customizer failed.","astra-sites"),"",t?.message,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting customizer failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},D=async()=>{A({type:"set",importStatus:(0,wn.__)("Resetting site options.","astra-sites")});const e=new FormData;e.append("action","astra-sites-reset_site_options"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting site options Failed.","astra-sites"),"",t?.message,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting site options Failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},R=async()=>{const e=new FormData;e.append("action","astra-sites-reset_widgets_data"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),A({type:"set",importStatus:(0,wn.__)("Resetting widgets.","astra-sites")});const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting widgets JSON parse failed.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting widgets failed.","astra-sites"),"",e,"","",e),!1)));return t},L=async()=>{const e=new FormData;e.append("action","astra-sites-reset_terms_and_forms"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),A({type:"set",importStatus:(0,wn.__)("Resetting terms and forms.","astra-sites")});const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting terms and forms failed.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting terms and forms failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},O=async()=>{const e=new FormData;e.append("action","astra-sites-get_deleted_post_ids"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),A({type:"set",importStatus:(0,wn.__)("Gathering posts for deletions.","astra-sites")});let t="";const r=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json())).then((async e=>{if(e.success){const t=((e,t)=>{const r=Object.keys(t),n=[];let a=0,i={};for(const e in t)0!==a&&a%10==0&&(n.push(i),i={}),i[e]=t[r[a]],a++;return n.push(i),n})(0,e.data);if(t.length>0)for(let e=0;e<t.length;e++)await I(t[e]);return!0}return t=e,!1}));return r?A({type:"set",importStatus:(0,wn.__)("Resetting posts done.","astra-sites")}):P((0,wn.__)("Resetting posts failed.","astra-sites"),"",t),r},V=e=>{xA.data=e,xA.render(A,_);const t=new EventSource(xA.data.url);t.onmessage=e=>{const r=JSON.parse(e.data);switch(r.action){case"updateDelta":xA.updateDelta(r.type,r.delta);break;case"complete":!1===r.error?(t.close(),A({type:"set",xmlImportDone:!0})):P(astraSitesVars?.xml_import_interrupted_primary,"",astraSitesVars?.xml_import_interrupted_error,"",astraSitesVars?.xml_import_interrupted_secondary)}},t.onerror=e=>{e&&e?.isTrusted||(t.close(),P((0,wn.__)("Importing Site Content Failed. - Import Process Interrupted","astra-sites"),"",e))},t.addEventListener("log",(function(e){const t=JSON.parse(e.data);let r=t.message||"";r&&"info"===t.level&&(r=r.replace(/"/g,(function(){return""}))),A({type:"set",importStatus:(0,wn.sprintf)( // translators: Response importMessage // translators: Response importMessage (0,wn.__)("Importing - %1$s","astra-sites"),r)})}))},N=e=>{if(n<100)return e.returnValue=(0,wn.__)("Are you sure you want to cancel the site import process?","astra-sites"),e};return(0,a.useEffect)((()=>(window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)})),[n]),(0,a.useEffect)((()=>{100===n&&window.removeEventListener("beforeunload",N)}),[n]),(0,a.useEffect)((()=>{x>0&&ru(e)}),[x]),(0,a.useEffect)((()=>{t||r||(l||(localStorage.setItem("st-import-start",+new Date),_+=5,A({type:"set",importStart:!0,importPercent:_,importStatus:(0,wn.__)("Starting Import.","astra-sites")})),m&&!1===o?au(e):A({type:"set",themeStatus:!0}),v.length<=0||(_+=2,A({type:"set",importStatus:(0,wn.__)("Installing Required Plugins.","astra-sites"),importPercent:_}),v.forEach((e=>{wp.updates.queue.push({action:"install-plugin",data:{slug:e.slug,init:e.init,name:e.name,is_ast_request:!0,clear_destination:!0,ajax_nonce:astraSitesVars?._ajax_nonce,success(){A({type:"set",importStatus:(0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("%1$s plugin installed successfully.","astra-sites"),e.name)});const t=b;t.push(e),A({type:"set",notActivatedList:t});const r=v;r.forEach(((t,n)=>{t.slug===e.slug&&r.splice(n,1)})),A({type:"set",notInstalledList:r})},error(t){A({type:"set",pluginInstallationAttempts:C+1});let r=t;if(t&&void 0!==t.errorMessage&&(r=t.errorMessage,void 0!==t.errorCode&&(r=t.errorCode+": "+r)),t&&void 0!==t.responseJSON){const e=t.responseJSON;void 0!==e.data&&void 0!==e.data.message&&(r=e.data.message)}P((0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("Could not install the plugin - %s","astra-sites"),e.name),"",r,"","",t)}}})})),wp.updates.queueChecker()))}),[i]),(0,a.useEffect)((()=>{g&&o&&(async()=>{let e=!1,t=!1,r=!1,n=!1,a=!1,o=!1,l=!1;e=await(async()=>{if(!s)return!0;_+=2,A({type:"set",importStatus:(0,wn.__)("Reseting site.","astra-sites"),importPercent:_});let e=!1,t=!1,r=!1,n=!1,a=!1,i=!1;return e=await F(),e&&(t=await M()),t&&(n=await D()),n&&(r=await R()),r&&(a=await L()),a&&(i=await O()),!!(t&&n&&r&&a&&i)&&(_+=10,A({type:"set",importPercent:_>=50?50:_,importStatus:(0,wn.__)("Reset for old website is done.","astra-sites")}),!0)})(),e&&(t=await(async()=>{const e=encodeURI(i["astra-site-cartflows-path"])||"";if(""===e||"null"===e)return!0;A({type:"set",importStatus:(0,wn.__)("Importing CartFlows flows.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import-cartflows"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing CartFlows flows failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing CartFlows flows Failed.","astra-sites"),"",e),!1)));return r})()),t&&(r=await(async()=>{const e=encodeURI(i["astra-site-latepoint-path"])||"";if(""===e||"null"===e)return!0;A({type:"set",importStatus:(0,wn.__)("Importing LatePoint data.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import-latepoint"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing LatePoint data failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing LatePoint data Failed.","astra-sites"),"",e),!1)));return r})()),r&&(n=await(async()=>{const e=encodeURI(i["astra-site-wpforms-path"])||"";if(""===e||"null"===e)return!0;A({type:"set",importStatus:(0,wn.__)("Importing forms.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import-wpforms"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_>=60?60:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing forms failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing forms Failed.","astra-sites"),"",e),!1)));return r})()),n&&(a=await(async()=>{if(!d)return _+=5,A({type:"set",importPercent:_>=65?65:_}),!0;A({type:"set",importStatus:(0,wn.__)("Importing forms.","astra-sites")});const e=new FormData;e.append("action","astra-sites-import_customizer_settings"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=5,A({type:"set",importPercent:_>=65?65:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Customizer failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Customizer Failed.","astra-sites"),"",e),!1)));return t})()),a&&(o=await(async()=>{const e=i["astra-site-spectra-options"]||"";if(""===e||"null"===e)return!0;A({type:"set",importStatus:(0,wn.__)("Importing Spectra Settings.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import_spectra_settings"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_>=75?75:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Spectra Settings failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Spectra Settings Failed.","astra-sites"),"",e),!1)));return r})()),o&&(l=await(async()=>{const e=i?.["astra-site-surecart-settings"]?.id||"",t=i?.["astra-site-surecart-settings"]?.currency||"usd";if(""===e||"null"===e)return!0;const r=new FormData;r.append("action","astra-sites-import_surecart_settings"),r.append("source_id",e),r.append("source_currency",t),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const n=await fetch(ajaxurl,{method:"post",body:r}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=2,A({type:"set",importPercent:_>=75?75:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Surecart Settings failed.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Surecart Settings Failed.","astra-sites"),"",e),!1)));return n})()),l&&await(async()=>{if(!h)return _+=20,A({type:"set",importPercent:_>=80?80:_,xmlImportDone:!0}),!0;const e=encodeURI(i["astra-site-wxr-path"])||"";if("null"===e||""===e){const t=(0,wn.__)("The XML URL for the site content is empty.","astra-sites");return P((0,wn.__)("Importing Site Content Failed","astra-sites"),"",t,"",astraSitesVars?.support_text,e),!1}A({type:"set",importStatus:(0,wn.__)("Importing Site Content.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import_prepare_xml"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(_+=2,A({type:"set",importPercent:_>=80?80:_}),!1===t.success)throw t.data.error||t.data;return V(t.data),!0}catch(t){return P((0,wn.__)("Importing Site Content failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Site Content Failed.","astra-sites"),"",e),!1)));return r})()})()}),[g,o]),(0,a.useEffect)((()=>{w&&(async()=>{let e=!1,t=!1,r=!1,n=!1;e=await(async()=>{A({type:"set",importStatus:(0,wn.__)("Importing Site Options.","astra-sites")});const e=new FormData;e.append("action","astra-sites-import_options"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return _+=5,A({type:"set",importPercent:_>=90?90:_}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Site Options failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Site Options Failed.","astra-sites"),"",e),!1)));return t})(),e&&(t=await(async()=>{if(!f)return A({type:"set",importPercent:90}),!0;A({type:"set",importStatus:(0,wn.__)("Importing Widgets.","astra-sites")});const e=i["astra-site-widgets-data"]||"",t=new FormData;t.append("action","astra-sites-import_widgets"),t.append("widgets_data",e),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A({type:"set",importPercent:90}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Widgets failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Widgets Failed.","astra-sites"),"",e),!1)));return r})()),t&&(r=await(async()=>(await(async e=>{if(""===e.id)return;const t=new FormData;t.append("action","astra-sites-set_site_data"),t.append("param","site-logo"),t.append("logo",e.id),t.append("logo-width",e.width),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:t})})(c),await(async e=>{if(!e)return;const t=new FormData;t.append("action","astra-sites-set_site_data"),t.append("param","site-colors"),t.append("palette",e),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:t})})(JSON.stringify(u)),await(async e=>{const t=new FormData;t.append("action","astra-sites-set_site_data"),t.append("param","site-typography"),t.append("typography",JSON.stringify(e)),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:t})})(p),!0))()),r&&(n=await(async()=>{A({type:"set",importStatus:(0,wn.__)("Final finishings.","astra-sites")});const e=new FormData;e.append("action","astra-sites-import_end"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return localStorage.setItem("st-import-end",+new Date),setTimeout((function(){A({type:"set",importPercent:100,importEnd:!0})}),8e3),!0;throw t.data}catch(t){return P((0,wn.__)("Final finishings failed due to parse JSON error.","astra-sites"),"",t,"","",e),setTimeout((function(){A({type:"set",importPercent:100,importEnd:!0})}),8e3),localStorage.setItem("st-import-end",+new Date),!1}})).catch((e=>(P((0,wn.__)("Final finishings Failed.","astra-sites"),"",e),!1)));return t})()),n&&su(x,!0,{id:E,page_builder:S,template_type:k})})()}),[w]),(0,a.useEffect)((()=>{b.length<=0&&v.length<=0&&A({type:"set",requiredPluginsDone:!0})}),[b.length,v.length]),(0,a.useEffect)((()=>{b.length>0&&(e=>{_+=2,A({type:"set",importStatus:(0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("Activating %1$s plugin.","astra-sites"),e.name),importPercent:_});const t=new FormData;t.append("action","astra-sites-required_plugin_activate"),t.append("init",e.init),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),t.append("slug",e.slug),fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((t=>{let r=[],n=!1;try{const n=JSON.parse(t);if(r=n,n.success){const t=b;t.forEach(((r,n)=>{r.slug===e.slug&&t.splice(n,1)})),A({type:"set",notActivatedList:t}),_+=2,A({type:"set",importStatus:(0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("%1$s activated.","astra-sites"),e.name),importPercent:_})}}catch(r){P((0,wn.sprintf)( // translators: Plugin name. // translators: Plugin name. (0,wn.__)("JSON_Error: Could not activate the required plugin - %1$s.","astra-sites"),e.name),"",r,"",(0,wn.sprintf)( // translators: Support article URL. // translators: Support article URL. (0,wn.__)('<a href="%1$s">Read article</a> to resolve the issue and continue importing template.',"astra-sites"),"https://wpastra.com/docs/enable-debugging-in-wordpress/#how-to-use-debugging"),t),n=!0}if(!r.success&&!1===n)throw r})).catch((t=>{A({type:"set",pluginInstallationAttempts:C+1}),P((0,wn.sprintf)( // translators: Plugin name. // translators: Plugin name. (0,wn.__)("Could not activate the required plugin - %1$s.","astra-sites"),e.name),"",t?.data?.message,"",(0,wn.sprintf)( // translators: Support article URL. // translators: Support article URL. (0,wn.__)('<a href="%1$s">Read article</a> to resolve the issue and continue importing template.',"astra-sites"),"https://wpastra.com/docs/enable-debugging-in-wordpress/#how-to-use-debugging"),t)}))})(b[0])}),[b.length]),(0,a.createElement)(zo,{content:(0,a.createElement)("div",{className:"middle-content middle-content-import"},(0,a.createElement)(a.Fragment,null,100===n?(0,a.createElement)("h1",{className:"import-done-congrats"},(0,wn.__)("Congratulations","astra-sites"),(0,a.createElement)("span",null,ps.tada)):(0,a.createElement)("h1",null,(0,wn.__)("We are building your website…","astra-sites")),l&&(0,a.createElement)("div",{className:"ist-import-process-step-wrap"},(0,a.createElement)(yA,null)),!l&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ist-import-process-step-wrap"},(0,a.createElement)(gA,null)),100!==n&&(0,a.createElement)(dA,{loop:!0,animationData:vA,play:!0,style:{height:400,margin:"-70px auto -90px auto"}})))),actions:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(us,{before:!0,disabled:!0,customizeStep:!0},(0,wn.__)("Back","astra-sites")))})}),null),class:"step-import-site"}];let YI=0,KI="gutenberg";astraSitesVars?.default_page_builder&&(YI=0,KI="brizy"===astraSitesVars?.default_page_builder?"gutenberg":astraSitesVars?.default_page_builder);const eF={id:"",thumbnail:"",url:"",width:120},tF={siteFeatures:[{title:(0,wn.__)("Page Builder","astra-sites"),id:"page-builder",description:(0,wn.__)("Design pages with visual website builder","astra-sites"),enabled:!0,compulsory:!0,icon:"page-builder"},{title:(0,wn.__)("Contact Form","astra-sites"),id:"contact-form",description:(0,wn.__)("Allow your visitors to get in touch with you","astra-sites"),enabled:!0,compulsory:!0,icon:"contact-form"},{title:(0,wn.__)("eCommerce","astra-sites"),id:"ecommerce",description:(0,wn.__)("Sell your products online","astra-sites"),enabled:!1,compulsory:!1,icon:"ecommerce"},{title:(0,wn.__)("Website Emails & SMTP","astra-sites"),id:"smtp",description:(0,wn.__)("Get emails from your website (forms, etc)","astra-sites"),enabled:!0,compulsory:!1,icon:"envelope"},{title:(0,wn.__)("Automation & Integrations","astra-sites"),id:"automation-integrations",description:(0,wn.__)("Automate your website & tasks","astra-sites"),enabled:!1,compulsory:!1,icon:"squares-plus"},{title:(0,wn.__)("Appointment & Bookings","astra-sites"),id:"appointment-bookings",description:(0,wn.__)("Easily manage bookings for your services","astra-sites"),enabled:!1,compulsory:!1,icon:"calendar"},{title:(0,wn.__)("Free Live Chat","astra-sites"),id:"live-chat",description:(0,wn.__)("Connect with your website visitors for free","astra-sites"),enabled:!1,compulsory:!1,icon:"live-chat"}],formDetails:{first_name:"",email:"",wp_user_type:"",build_website_for:"",opt_in:!0},selectedEcommercePlugin:"",isEcommerce:!1,allSitesData:astraSitesVars?.all_sites||{},allCategories:astraSitesVars?.allCategories||[],allCategoriesAndTags:astraSitesVars?.allCategoriesAndTags||[],aiActivePallette:null,aiActiveTypography:null,aiSiteLogo:eF,currentIndex:"ai-builder"===KI?0:YI,currentCustomizeIndex:0,siteLogo:eF,activePaletteSlug:"default",activePalette:{},typography:{},typographyIndex:0,stepsLength:Object.keys(ZI).length,builder:KI,siteType:"",siteOrder:"popular",siteBusinessType:"",selectedMegaMenu:"",siteSearchTerm:(rF=window.location.search,new URLSearchParams(rF).get("s")||""),userSubscribed:!1,showSidebar:!(window&&window?.innerWidth<1024),tryAgainCount:0,pluginInstallationAttempts:0,confettiDone:!1,templateId:0,templateResponse:null,requiredPlugins:null,fileSystemPermissions:null,selectedTemplateID:"",selectedTemplateName:"",selectedTemplateType:"",reset:"yes"===starterTemplates.firstImportStatus,allowResetSite:!1,themeStatus:!1,importStatusLog:"",importStatus:"",xmlImportDone:!1,requiredPluginsDone:!1,notInstalledList:[],notActivatedList:[],resetData:[],importStart:!1,importEnd:!1,importPercent:0,importError:!1,importErrorMessages:{primaryText:"",secondaryText:"",errorCode:"",errorText:"",solutionText:"",tryAgain:!1},importErrorResponse:[],importTimeTaken:{},customizerImportFlag:"fse"!==astraSitesVars?.default_page_builder,themeActivateFlag:"fse"!==astraSitesVars?.default_page_builder,widgetImportFlag:!0,contentImportFlag:!0,analyticsFlag:"yes"!==starterTemplates.analytics,shownRequirementOnce:!1,onMyFavorite:!1,favoriteSiteIDs:Object.values(astraSitesVars?.favorite_data)||[],licenseStatus:astraSitesVars?.license_status,validateLicenseStatus:!1,stagingConnected:"yes"!==astraSitesVars?.staging_connected?"":"&draft="+astraSitesVars?.staging_connected,searchTerms:[],searchTermsWithCount:[],enabledFeatureIds:[],dismissAINotice:astraSitesVars?.dismiss_ai_notice,bgSyncInProgress:!!astraSitesVars?.bgSyncInProgress,sitesSyncing:!1,syncPageCount:0,syncPageInProgress:0,limitExceedModal:{open:!1}};var rF;new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(CE){}new Map;const nF=a.startTransition;function aF(e){let{basename:t,children:r,future:n,window:i}=e,s=a.useRef();var o;null==s.current&&(s.current=(void 0===(o={window:i,v5Compat:!0})&&(o={}),function(e,t,r,n){void 0===n&&(n={});let{window:a=document.defaultView,v5Compat:i=!1}=n,s=a.history,o=Ur.Pop,l=null,c=u();function u(){return(s.state||{idx:null}).idx}function p(){o=Ur.Pop;let e=u(),t=null==e?null:e-c;c=e,l&&l({action:o,location:f.location,delta:t})}function d(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:en(e);return r=r.replace(/ $/,"%20"),Zr(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==c&&(c=0,s.replaceState($r({},s.state,{idx:c}),""));let f={get action(){return o},get location(){return e(a,s)},listen(e){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(Jr,p),l=e,()=>{a.removeEventListener(Jr,p),l=null}},createHref:e=>t(a,e),createURL:d,encodeLocation(e){let t=d(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){o=Ur.Push;let n=Kr(f.location,e,t);r&&r(n,e),c=u()+1;let p=Yr(n,c),d=f.createHref(n);try{s.pushState(p,"",d)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(d)}i&&l&&l({action:o,location:f.location,delta:1})},replace:function(e,t){o=Ur.Replace;let n=Kr(f.location,e,t);r&&r(n,e),c=u();let a=Yr(n,c),p=f.createHref(n);s.replaceState(a,"",p),i&&l&&l({action:o,location:f.location,delta:0})},go:e=>s.go(e)};return f}((function(e,t){let{pathname:r,search:n,hash:a}=e.location;return Kr("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:en(t)}),null,o)));let l=s.current,[c,u]=a.useState({action:l.action,location:l.location}),{v7_startTransition:p}=n||{},d=a.useCallback((e=>{p&&nF?nF((()=>u(e))):u(e)}),[u,p]);return a.useLayoutEffect((()=>l.listen(d)),[l,d]),a.createElement(bn,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:l,future:n})}var iF,sF;o.flushSync,a.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(iF||(iF={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(sF||(sF={}));const{adminUrl:oF}=starterTemplates,lF=jQuery,cF=["gutenberg","elementor","beaver-builder"],uF=()=>{const[e,t]=cs(),{builder:r,searchTerms:n,searchTermsWithCount:i,currentIndex:s,currentCustomizeIndex:o,templateResponse:l,designStep:c,importError:u}=e,[p,d]=(0,a.useState)(!0),[f,h]=(0,a.useState)(!0),m=ZI[s],g=gn();(0,a.useEffect)((()=>{lF(document).on("heartbeat-send",v),lF(document).on("heartbeat-tick",y)}),[n,i]);const y=(e,r)=>{r["ast-sites-search-terms"]&&t({type:"set",searchTerms:[],searchTermsWithCount:[]})},v=(e,t)=>{n.length>0&&(t["ast-sites-search-terms"]=i,t["ast-sites-builder"]=r)};return(0,a.useEffect)((()=>{const e=parseInt(s)-1,t=parseInt(s)+1;t>0&&t<ZI.length&&document.body.classList.remove(ZI[t].class),e>0&&document.body.classList.remove(ZI[e].class),document.body.classList.add(ZI[s].class)})),(0,a.useEffect)((()=>{u?document.body.classList.add("st-error"):document.body.classList.remove("st-error")}),[u]),(0,a.useEffect)((()=>{const e=new URLSearchParams(window.location.search),r=JSON.parse(localStorage.getItem("starter-templates-onboarding")),n=parseInt(e.get("ci"))||0,a=parseInt(e.get("designStep"))||0,i=e.get("s")||"";if(0!==n){const e={};for(const t in r)"currentIndex"!==t&&"siteSearchTerm"!==t&&"builder"!==t&&(e[t]=r[`${t}`]);t({type:"set",currentIndex:n,designStep:a,siteSearchTerm:i,...e})}else localStorage.removeItem("starter-templates-onboarding");d(!1)}),[g]),(0,a.useEffect)((()=>{const r=new URLSearchParams(window.location.search),n=parseInt(r.get("ci"))||0,a=r.get("builder")||"";s===Po("page-builder")&&(r.delete("ci"),r.delete("ai"),r.delete("builder"),a&&cF.includes(a)&&t({type:"set",builder:a,currentIndex:2}),g(window.location.pathname+"?"+r.toString())),(s!==Po("page-builder")&&n!==s||null!==l)&&(So(e),r.set("ci",s),g(window.location.pathname+"?"+r.toString())),0!==c&&n===ZI.length-1&&null!==l&&(So(e),r.set("designStep",c),g(window.location.pathname+"?"+r.toString())),s===Po("site-list")&&t({type:"set",activePalette:{},activePaletteSlug:"default",typography:{},typographyIndex:0}),h(!1)}),[s,l,c]),window.onpopstate=()=>{c&&1!==c&&s!==Po("site-list")&&(s>=Po("survey")?t({type:"set",currentIndex:s-1}):t({type:"set",designStep:c-1,currentCustomizeIndex:o-1,currentIndex:s})),s>Po("site-list")&&1===c&&t({type:"set",currentIndex:s-1})},(0,a.createElement)("div",{className:`st-step ${m.class}`},![Po("customizer")].includes(s)&&(0,a.createElement)("div",{className:"step-header"},m.header?m.header:(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col"},(0,a.createElement)(Mu,null)),(0,a.createElement)("div",{className:"right-col"},(0,a.createElement)("div",{className:"col exit-link"},(0,a.createElement)("a",{href:oF},(0,a.createElement)(fw,{content:(0,wn.__)("Exit to Dashboard","astra-sites")},ps.remove))))),(0,a.createElement)("canvas",{id:"ist-bashcanvas",width:window.innerWidth,height:window.innerHeight})),!1===p&&!1===f&&m?m.content:null)};let pF={data:""},dF=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,fF=/\/\*[^]*?\*\/| +/g,hF=/\n+/g,mF=(e,t)=>{let r="",n="",a="";for(let i in e){let s=e[i];"@"==i[0]?"i"==i[1]?r=i+" "+s+";":n+="f"==i[1]?mF(s,i):i+"{"+mF(s,"k"==i[1]?"":t)+"}":"object"==typeof s?n+=mF(s,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=s&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=mF.p?mF.p(i,s):i+":"+s+";")}return r+(t&&a?t+"{"+a+"}":a)+n},gF={},yF=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+yF(e[r]);return t}return e};function vF(e){let t=this||{},r=e.call?e(t.p):e;return((e,t,r,n,a)=>{let i=yF(e),s=gF[i]||(gF[i]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(i));if(!gF[s]){let t=i!==e?e:(e=>{let t,r,n=[{}];for(;t=dF.exec(e.replace(fF,""));)t[4]?n.shift():t[3]?(r=t[3].replace(hF," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(hF," ").trim();return n[0]})(e);gF[s]=mF(a?{["@keyframes "+s]:t}:t,r?"":"."+s)}let o=r&&gF.g?gF.g:null;return r&&(gF.g=gF[s]),((e,t,r,n)=>{n?t.data=t.data.replace(n,e):-1===t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e)})(gF[s],t,n,o),s})(r.unshift?r.raw?((e,t,r)=>e.reduce(((e,n,a)=>{let i=t[a];if(i&&i.call){let e=i(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":mF(e,""):!1===e?"":e}return e+n+(null==i?"":i)}),""))(r,[].slice.call(arguments,1),t.p):r.reduce(((e,r)=>Object.assign(e,r&&r.call?r(t.p):r)),{}):r,(e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||pF)(t.target),t.g,t.o,t.k)}vF.bind({g:1});let bF,xF,wF,EF=vF.bind({k:1});function kF(e,t){let r=this||{};return function(){let n=arguments;function a(i,s){let o=Object.assign({},i),l=o.className||a.className;r.p=Object.assign({theme:xF&&xF()},o),r.o=/ *go\d+/.test(l),o.className=vF.apply(r,n)+(l?" "+l:""),t&&(o.ref=s);let c=e;return e[0]&&(c=o.as||e,delete o.as),wF&&c[0]&&wF(o),bF(c,o)}return t?t(a):a}}var SF=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,CF=(()=>{let e=0;return()=>(++e).toString()})(),AF=(()=>{let e;return()=>{if(void 0===e&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),_F=new Map,PF=e=>{if(_F.has(e))return;let t=setTimeout((()=>{_F.delete(e),MF({type:4,toastId:e})}),1e3);_F.set(e,t)},TF=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&(e=>{let t=_F.get(e);t&&clearTimeout(t)})(t.toast.id),{...e,toasts:e.toasts.map((e=>e.id===t.toast.id?{...e,...t.toast}:e))};case 2:let{toast:r}=t;return e.toasts.find((e=>e.id===r.id))?TF(e,{type:1,toast:r}):TF(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?PF(n):e.toasts.forEach((e=>{PF(e.id)})),{...e,toasts:e.toasts.map((e=>e.id===n||void 0===n?{...e,visible:!1}:e))};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter((e=>e.id!==t.toastId))};case 5:return{...e,pausedAt:t.time};case 6:let a=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map((e=>({...e,pauseDuration:e.pauseDuration+a})))}}},IF=[],FF={toasts:[],pausedAt:void 0},MF=e=>{FF=TF(FF,e),IF.forEach((e=>{e(FF)}))},DF={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},RF=e=>(t,r)=>{let n=((e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(null==r?void 0:r.id)||CF()}))(t,e,r);return MF({type:2,toast:n}),n.id},LF=(e,t)=>RF("blank")(e,t);LF.error=RF("error"),LF.success=RF("success"),LF.loading=RF("loading"),LF.custom=RF("custom"),LF.dismiss=e=>{MF({type:3,toastId:e})},LF.remove=e=>MF({type:4,toastId:e}),LF.promise=(e,t,r)=>{let n=LF.loading(t.loading,{...r,...null==r?void 0:r.loading});return e.then((e=>(LF.success(SF(t.success,e),{id:n,...r,...null==r?void 0:r.success}),e))).catch((e=>{LF.error(SF(t.error,e),{id:n,...r,...null==r?void 0:r.error})})),e};var OF=(e,t)=>{MF({type:1,toast:{id:e,height:t}})},VF=()=>{MF({type:5,time:Date.now()})},NF=EF` from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: scale(1) rotate(45deg); opacity: 1; }`,BF=EF` from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; }`,jF=EF` from { transform: scale(0) rotate(90deg); opacity: 0; } to { transform: scale(1) rotate(90deg); opacity: 1; }`,zF=kF("div")` width: 20px; opacity: 0; height: 20px; border-radius: 10px; background: ${e=>e.primary||"#ff4b4b"}; position: relative; transform: rotate(45deg); animation: ${NF} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after, &:before { content: ''; animation: ${BF} 0.15s ease-out forwards; animation-delay: 150ms; position: absolute; border-radius: 3px; opacity: 0; background: ${e=>e.secondary||"#fff"}; bottom: 9px; left: 4px; height: 2px; width: 12px; } &:before { animation: ${jF} 0.15s ease-out forwards; animation-delay: 180ms; transform: rotate(90deg); } `,HF=EF` from { transform: rotate(0deg); } to { transform: rotate(360deg); } `,GF=kF("div")` width: 12px; height: 12px; box-sizing: border-box; border: 2px solid; border-radius: 100%; border-color: ${e=>e.secondary||"#e0e0e0"}; border-right-color: ${e=>e.primary||"#616161"}; animation: ${HF} 1s linear infinite; `,WF=EF` from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: scale(1) rotate(45deg); opacity: 1; }`,qF=EF` 0% { height: 0; width: 0; opacity: 0; } 40% { height: 0; width: 6px; opacity: 1; } 100% { opacity: 1; height: 10px; }`,UF=kF("div")` width: 20px; opacity: 0; height: 20px; border-radius: 10px; background: ${e=>e.primary||"#61d345"}; position: relative; transform: rotate(45deg); animation: ${WF} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after { content: ''; box-sizing: border-box; animation: ${qF} 0.2s ease-out forwards; opacity: 0; animation-delay: 200ms; position: absolute; border-right: 2px solid; border-bottom: 2px solid; border-color: ${e=>e.secondary||"#fff"}; bottom: 6px; left: 6px; height: 10px; width: 6px; } `,XF=kF("div")` position: absolute; `,QF=kF("div")` position: relative; display: flex; justify-content: center; align-items: center; min-width: 20px; min-height: 20px; `,$F=EF` from { transform: scale(0.6); opacity: 0.4; } to { transform: scale(1); opacity: 1; }`,JF=kF("div")` position: relative; transform: scale(0.6); opacity: 0.4; min-width: 20px; animation: ${$F} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; `,ZF=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return void 0!==t?"string"==typeof t?a.createElement(JF,null,t):t:"blank"===r?null:a.createElement(QF,null,a.createElement(GF,{...n}),"loading"!==r&&a.createElement(XF,null,"error"===r?a.createElement(zF,{...n}):a.createElement(UF,{...n})))},YF=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,KF=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,eM=kF("div")` display: flex; align-items: center; background: #fff; color: #363636; line-height: 1.3; will-change: transform; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); max-width: 350px; pointer-events: auto; padding: 8px 10px; border-radius: 8px; `,tM=kF("div")` display: flex; justify-content: center; margin: 4px 10px; color: inherit; flex: 1 1 auto; white-space: pre-line; `,rM=a.memo((({toast:e,position:t,style:r,children:n})=>{let i=e.height?((e,t)=>{let r=e.includes("top")?1:-1,[n,a]=AF()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[YF(r),KF(r)];return{animation:t?`${EF(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${EF(a)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(e.position||t||"top-center",e.visible):{opacity:0},s=a.createElement(ZF,{toast:e}),o=a.createElement(tM,{...e.ariaProps},SF(e.message,e));return a.createElement(eM,{className:e.className,style:{...i,...r,...e.style}},"function"==typeof n?n({icon:s,message:o}):a.createElement(a.Fragment,null,s,o))}));!function(e){mF.p=void 0,bF=e,xF=void 0,wF=void 0}(a.createElement);var nM=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let s=a.useCallback((t=>{if(t){let r=()=>{let r=t.getBoundingClientRect().height;n(e,r)};r(),new MutationObserver(r).observe(t,{subtree:!0,childList:!0,characterData:!0})}}),[e,n]);return a.createElement("div",{ref:s,className:t,style:r},i)},aM=vF` z-index: 9999; > * { pointer-events: auto; } `;(0,o.createRoot)(document.getElementById("starter-templates-ai-root")).render((0,a.createElement)((({reducer:e,initialState:t,children:r})=>(0,a.createElement)(ls.Provider,{value:(0,a.useReducer)(e,t)},r)),{reducer:(e=tF,{type:t,...r})=>"set"===t?{...e,...r}:e,initialState:tF},(0,a.createElement)((()=>(0,a.createElement)(aF,null,(0,a.createElement)("div",{className:"starter-templates-ai-steps "+(astraSitesVars?.isRTLEnabled?"st-rtl":"")},(0,a.createElement)(uF,null)))),null),(0,a.createElement)((({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:s,containerClassName:o})=>{let{toasts:l,handlers:c}=(e=>{let{toasts:t,pausedAt:r}=((e={})=>{let[t,r]=(0,a.useState)(FF);(0,a.useEffect)((()=>(IF.push(r),()=>{let e=IF.indexOf(r);e>-1&&IF.splice(e,1)})),[t]);let n=t.toasts.map((t=>{var r,n;return{...e,...e[t.type],...t,duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||DF[t.type],style:{...e.style,...null==(n=e[t.type])?void 0:n.style,...t.style}}}));return{...t,toasts:n}})(e);(0,a.useEffect)((()=>{if(r)return;let e=Date.now(),n=t.map((t=>{if(t.duration===1/0)return;let r=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(r<0))return setTimeout((()=>LF.dismiss(t.id)),r);t.visible&&LF.dismiss(t.id)}));return()=>{n.forEach((e=>e&&clearTimeout(e)))}}),[t,r]);let n=(0,a.useCallback)((()=>{r&&MF({type:6,time:Date.now()})}),[r]),i=(0,a.useCallback)(((e,r)=>{let{reverseOrder:n=!1,gutter:a=8,defaultPosition:i}=r||{},s=t.filter((t=>(t.position||i)===(e.position||i)&&t.height)),o=s.findIndex((t=>t.id===e.id)),l=s.filter(((e,t)=>t<o&&e.visible)).length;return s.filter((e=>e.visible)).slice(...n?[l+1]:[0,l]).reduce(((e,t)=>e+(t.height||0)+a),0)}),[t]);return{toasts:t,handlers:{updateHeight:OF,startPause:VF,endPause:n,calculateOffset:i}}})(r);return a.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...s},className:o,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map((r=>{let s=r.position||t,o=((e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},a=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:AF()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...a}})(s,c.calculateOffset(r,{reverseOrder:e,gutter:n,defaultPosition:t}));return a.createElement(nM,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?aM:"",style:o},"custom"===r.type?SF(r.message,r):i?i(r):a.createElement(rM,{toast:r,position:s}))})))}),{position:"top-right",reverseOrder:!1,gutter:8})))},9844:e=>{"use strict";function t(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){return(e=e||{}).circles?function(e){var r=[],n=[];return e.proto?function e(i){if("object"!=typeof i||null===i)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return a(i,e);if(i instanceof Map)return new Map(a(Array.from(i),e));if(i instanceof Set)return new Set(a(Array.from(i),e));var s={};for(var o in r.push(i),n.push(s),i){var l=i[o];if("object"!=typeof l||null===l)s[o]=l;else if(l instanceof Date)s[o]=new Date(l);else if(l instanceof Map)s[o]=new Map(a(Array.from(l),e));else if(l instanceof Set)s[o]=new Set(a(Array.from(l),e));else if(ArrayBuffer.isView(l))s[o]=t(l);else{var c=r.indexOf(l);s[o]=-1!==c?n[c]:e(l)}}return r.pop(),n.pop(),s}:function e(i){if("object"!=typeof i||null===i)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return a(i,e);if(i instanceof Map)return new Map(a(Array.from(i),e));if(i instanceof Set)return new Set(a(Array.from(i),e));var s={};for(var o in r.push(i),n.push(s),i)if(!1!==Object.hasOwnProperty.call(i,o)){var l=i[o];if("object"!=typeof l||null===l)s[o]=l;else if(l instanceof Date)s[o]=new Date(l);else if(l instanceof Map)s[o]=new Map(a(Array.from(l),e));else if(l instanceof Set)s[o]=new Set(a(Array.from(l),e));else if(ArrayBuffer.isView(l))s[o]=t(l);else{var c=r.indexOf(l);s[o]=-1!==c?n[c]:e(l)}}return r.pop(),n.pop(),s};function a(e,a){for(var i=Object.keys(e),s=new Array(i.length),o=0;o<i.length;o++){var l=i[o],c=e[l];if("object"!=typeof c||null===c)s[l]=c;else if(c instanceof Date)s[l]=new Date(c);else if(ArrayBuffer.isView(c))s[l]=t(c);else{var u=r.indexOf(c);s[l]=-1!==u?n[u]:a(c)}}return s}}(e):e.proto?function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return r(n,e);if(n instanceof Map)return new Map(r(Array.from(n),e));if(n instanceof Set)return new Set(r(Array.from(n),e));var a={};for(var i in n){var s=n[i];"object"!=typeof s||null===s?a[i]=s:s instanceof Date?a[i]=new Date(s):s instanceof Map?a[i]=new Map(r(Array.from(s),e)):s instanceof Set?a[i]=new Set(r(Array.from(s),e)):ArrayBuffer.isView(s)?a[i]=t(s):a[i]=e(s)}return a}:function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return r(n,e);if(n instanceof Map)return new Map(r(Array.from(n),e));if(n instanceof Set)return new Set(r(Array.from(n),e));var a={};for(var i in n)if(!1!==Object.hasOwnProperty.call(n,i)){var s=n[i];"object"!=typeof s||null===s?a[i]=s:s instanceof Date?a[i]=new Date(s):s instanceof Map?a[i]=new Map(r(Array.from(s),e)):s instanceof Set?a[i]=new Set(r(Array.from(s),e)):ArrayBuffer.isView(s)?a[i]=t(s):a[i]=e(s)}return a};function r(e,r){for(var n=Object.keys(e),a=new Array(n.length),i=0;i<n.length;i++){var s=n[i],o=e[s];"object"!=typeof o||null===o?a[s]=o:o instanceof Date?a[s]=new Date(o):ArrayBuffer.isView(o)?a[s]=t(o):a[s]=r(o)}return a}}},9891:function(module,exports,__webpack_require__){var factory;"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,a=e.length;for(r=0;r<a;r+=1)for(var i in n=e[r].prototype)Object.prototype.hasOwnProperty.call(n,i)&&(t.prototype[i]=n[i])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,n=0,a=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)a.push(r);return a}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,r){var n,a,i,s,o,l,c,u;switch(l=r*(1-t),c=r*(1-(o=6*e-(s=Math.floor(6*e)))*t),u=r*(1-(1-o)*t),s%6){case 0:n=r,a=u,i=l;break;case 1:n=c,a=r,i=l;break;case 2:n=l,a=r,i=u;break;case 3:n=l,a=c,i=r;break;case 4:n=u,a=l,i=r;break;case 5:n=r,a=l,i=c}return[n,a,i]}function RGBtoHSV(e,t,r){var n,a=Math.max(e,t,r),i=Math.min(e,t,r),s=a-i,o=0===a?0:s/a,l=a/255;switch(a){case i:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+2*s,n/=6*s;break;case r:n=e-t+4*s,n/=6*s}return[n,o,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],a={onmessage:function(){},postMessage:function(t){e({data:t})}},i={postMessage:function(e){a.onmessage({data:e})}};function s(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,a}((function(e){if(i.dataManager||(i.dataManager=function(){function e(a,i){var s,o,l,c,u,p,d,f=a.length;for(o=0;o<f;o+=1)if("ks"in(s=a[o])&&!s.completed){if(s.completed=!0,s.hasMask){var h=s.masksProperties;for(c=h.length,l=0;l<c;l+=1)if(h[l].pt.k.i)n(h[l].pt.k);else for(p=h[l].pt.k.length,u=0;u<p;u+=1)h[l].pt.k[u].s&&n(h[l].pt.k[u].s[0]),h[l].pt.k[u].e&&n(h[l].pt.k[u].e[0])}0===s.ty?(s.layers=t(s.refId,i),e(s.layers,i)):4===s.ty?r(s.shapes):5===s.ty&&(0===(d=s).t.a.length&&d.t.p)}}function t(e,t){var r=function(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,a,i;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(i=e[t].ks.k.length,a=0;a<i;a+=1)e[t].ks.k[a].s&&n(e[t].ks.k[a].s[0]),e[t].ks.k[a].e&&n(e[t].ks.k[a].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function a(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var i,s=function(){var e=[4,4,14];function t(e){var t,r,n,a=e.length;for(t=0;t<a;t+=1)5===e[t].ty&&(void 0,n=(r=e[t]).t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(a(e,r.v)&&(t(r.layers),r.assets)){var n,i=r.assets.length;for(n=0;n<i;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),o=(i=[4,7,99],function(e){if(e.chars&&!a(i,e.v)){var t,n=e.chars.length;for(t=0;t<n;t+=1){var s=e.chars[t];s.data&&s.data.shapes&&(r(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(s.data.shapes.push({ty:"no"}),s.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var e=[5,7,15];function t(e){var t,r,n=e.length;for(t=0;t<n;t+=1)5===e[t].ty&&(r=void 0,"number"==typeof(r=e[t].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(a(e,r.v)&&(t(r.layers),r.assets)){var n,i=r.assets.length;for(n=0;n<i;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),c=function(){var e=[4,1,9];function t(e){var r,n,a,i=e.length;for(r=0;r<i;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(a=e[r].c.k.length,n=0;n<a;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(a(e,t.v)&&(r(t.layers),t.assets)){var n,i=t.assets.length;for(n=0;n<i;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var r,n,a;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(a=e[r].ks.k.length,n=0;n<a;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,n,a,i,s,o,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(i=c.length,a=0;a<i;a+=1)if(c[a].pt.k.i)c[a].pt.k.c=c[a].cl;else for(o=c[a].pt.k.length,s=0;s<o;s+=1)c[a].pt.k[s].s&&(c[a].pt.k[s].s[0].c=c[a].cl),c[a].pt.k[s].e&&(c[a].pt.k[s].e[0].c=c[a].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(a(e,t.v)&&(r(t.layers),t.assets)){var n,i=t.assets.length;for(n=0;n<i;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();var p={completeData:function(r){r.__complete||(c(r),s(r),o(r),l(r),u(r),e(r.layers,r.assets),function(r,n){if(r){var a=0,i=r.length;for(a=0;a<i;a+=1)1===r[a].t&&(r[a].data.layers=t(r[a].data.refId,n),e(r[a].data.layers,n))}}(r.chars,r.assets),r.__complete=!0)}};return p.checkColors=c,p.checkChars=o,p.checkPathProperties=l,p.checkShapes=u,p.completeLayers=e,p}()),i.assetLoader||(i.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,n,a){var i,s=new XMLHttpRequest;try{s.responseType="json"}catch(e){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)i=e(s),n(i);else try{i=e(s),n(i)}catch(e){a&&a(e)}};try{s.open(["G","E","T"].join(""),t,!0)}catch(e){s.open(["G","E","T"].join(""),r+"/"+t,!0)}s.send()}}}()),"loadAnimation"===e.data.type)i.assetLoader.load(e.data.path,e.data.fullPath,(function(t){i.dataManager.completeData(t),i.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){i.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;i.dataManager.completeData(t),i.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&i.assetLoader.load(e.data.path,e.data.fullPath,(function(t){i.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){i.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,r=t.id,a=n[r];n[r]=null,"success"===t.status?a.onComplete(t.payload):a.onError&&a.onError()})}function o(e,t){var a="processId_"+(r+=1);return n[a]={onComplete:e,onError:t},a}return{loadAnimation:function(e,r,n){s();var a=o(r,n);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:a})},loadData:function(e,r,n){s();var a=o(r,n);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:a})},completeAnimation:function(e,r,n){s();var a=o(r,n);t.postMessage({type:"complete",animation:e,id:a})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(e,t,r){var n="";if(e.e)n=e.p;else if(t){var a=e.p;-1!==a.indexOf("images/")&&(a=a.split("/")[1]),n=t+a}else n=r,n+=e.u?e.u:"",n+=e.p;return n}function a(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function i(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=a.bind(this),this.createFootageData=i.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;r<n;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=n(t,this.assetsPath,this.path),a=createTag("img");a.crossOrigin="anonymous",a.addEventListener("load",this._imageLoaded,!1),a.addEventListener("error",function(){i.img=e,this._imageLoaded()}.bind(this),!1),a.src=r;var i={img:a,assetData:t};return i},createImageData:function(t){var r=n(t,this.assetsPath,this.path),a=createNS("image");isSafari?this.testImageLoaded(a):a.addEventListener("load",this._imageLoaded,!1),a.addEventListener("error",function(){i.img=e,this._imageLoaded()}.bind(this),!1),a.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(a):this._elementHelper.appendChild(a);var i={img:a,assetData:t};return i},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],n=0;n<r.length;n+=1)r[n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),n={},a=0,i=0;i<r.length;i+=1)2===(t=r[i].split(":")).length&&(n[t[0]]=t[1].trim(),a+=1);if(0===a)throw new Error;return n}return function(t){for(var r=[],n=0;n<t.length;n+=1){var a=t[n],i={time:a.tm,duration:a.dr};try{i.payload=JSON.parse(t[n].cm)}catch(r){try{i.payload=e(t[n].cm)}catch(e){i.payload={name:t[n].cm}}}r.push(i)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var a=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===a?r.loop=!1:"true"===a?r.loop=!0:""!==a&&(r.loop=parseInt(a,10));var i=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==i,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,a=n.length,i=e.layers,s=i.length;for(r=0;r<s;r+=1)for(t=0;t<a;){if(n[t].id===i[r].id){n[t]=i[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(a=e.assets.length,t=0;t<a;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r="number"==typeof e?e:void 0,n="number"==typeof t?t:void 0;this.renderer.updateContainerSize(r,n)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if((t=this.markers[r]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var a=this.getMarkerData(e);a&&this.goToAndStop(a.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var a=this.getMarkerData(e);a&&(a.duration?this.playSegments([a.time,a.time+a.duration],!0):this.goToAndStop(a.time,!0))}else this.goToAndStop(n,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,n=0,a=0,i=!0,s=!1;function o(e){for(var r=0,a=e.target;r<n;)t[r].animation===a&&(t.splice(r,1),r-=1,n-=1,a.isPaused||u()),r+=1}function l(e,r){if(!e)return null;for(var a=0;a<n;){if(t[a].elem===e&&null!==t[a].elem)return t[a].animation;a+=1}var i=new AnimationItem;return p(i,e),i.setData(e,r),i}function c(){a+=1,h()}function u(){a-=1}function p(e,r){e.addEventListener("destroy",o),e.addEventListener("_active",c),e.addEventListener("_idle",u),t.push({elem:r,animation:e}),n+=1}function d(e){var o,l=e-r;for(o=0;o<n;o+=1)t[o].animation.advanceTime(l);r=e,a&&!s?window.requestAnimationFrame(d):i=!0}function f(e){r=e,window.requestAnimationFrame(d)}function h(){!s&&a&&i&&(window.requestAnimationFrame(f),i=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return p(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var a;for(a=0;a<n;a+=1)t[a].animation.setSpeed(e,r)},e.setDirection=function(e,r){var a;for(a=0;a<n;a+=1)t[a].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,a=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),i=a.length;for(n=0;n<i;n+=1)r&&a[n].setAttribute("data-bm-type",r),l(a[n],e);if(t&&0===i){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,a){var i;for(i=0;i<n;i+=1)t[i].animation.goToAndStop(e,r,a)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,h()},e.setVolume=function(e,r){var a;for(a=0;a<n;a+=1)t[a].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,n,a,i){var s=i||("bez_"+e+"_"+r+"_"+n+"_"+a).replace(/\./g,"p");if(t[s])return t[s];var o=new u([e,r,n,a]);return t[s]=o,o}},t={},r=11,n=1/(r-1),a="function"==typeof Float32Array;function i(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,r){return((i(t,r)*e+s(t,r))*e+o(t))*e}function c(e,t,r){return 3*i(t,r)*e*e+2*s(t,r)*e+o(t)}function u(e){this._p=e,this._mSampleValues=a?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],a=this._p[3];return this._precomputed||this._precompute(),t===r&&n===a?e:0===e?0:1===e?1:l(this._getTForX(e),r,a)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],a=0;a<r;++a)this._mSampleValues[a]=l(a*n,e,t)},_getTForX:function(e){for(var t=this._p[0],a=this._p[2],i=this._mSampleValues,s=0,o=1,u=r-1;o!==u&&i[o]<=e;++o)s+=n;var p=s+(e-i[--o])/(i[o+1]-i[o])*n,d=c(p,t,a);return d>=.001?function(e,t,r,n){for(var a=0;a<4;++a){var i=c(t,r,n);if(0===i)return t;t-=(l(t,r,n)-e)/i}return t}(e,p,t,a):0===d?p:function(e,t,r,n,a){var i,s,o=0;do{(i=l(s=t+(r-t)/2,n,a)-e)>0?r=s:t=s}while(Math.abs(i)>1e-7&&++o<10);return s}(e,s,s+n,t,a)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,a=e,i=createSizedArray(a);return{newElement:function(){return n?i[n-=1]:t()},release:function(e){n===a&&(i=pooling.double(i),a*=2),r&&r(e),i[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,r,n,a,i){var s=e*n+t*a+r*i-a*n-i*e-r*t;return s>-.001&&s<.001}var r=function(e,t,r,n){var a,i,s,o,l,c,u=getDefaultCurveSegments(),p=0,d=[],f=[],h=bezierLengthPool.newElement();for(s=r.length,a=0;a<u;a+=1){for(l=a/(u-1),c=0,i=0;i<s;i+=1)o=bmPow(1-l,3)*e[i]+3*bmPow(1-l,2)*l*r[i]+3*(1-l)*bmPow(l,2)*n[i]+bmPow(l,3)*t[i],d[i]=o,null!==f[i]&&(c+=bmPow(d[i]-f[i],2)),f[i]=d[i];c&&(p+=c=bmSqrt(c)),h.percents[a]=l,h.lengths[a]=p}return h.addedLength=p,h};function n(e){this.segmentLength=0,this.points=new Array(e)}function a(e,t){this.partialLength=e,this.point=t}var i,s=(i={},function(e,r,s,o){var l=(e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!i[l]){var c,u,p,d,f,h,m,g=getDefaultCurveSegments(),y=0,v=null;2===e.length&&(e[0]!==r[0]||e[1]!==r[1])&&t(e[0],e[1],r[0],r[1],e[0]+s[0],e[1]+s[1])&&t(e[0],e[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(g=2);var b=new n(g);for(p=s.length,c=0;c<g;c+=1){for(m=createSizedArray(p),f=c/(g-1),h=0,u=0;u<p;u+=1)d=bmPow(1-f,3)*e[u]+3*bmPow(1-f,2)*f*(e[u]+s[u])+3*(1-f)*bmPow(f,2)*(r[u]+o[u])+bmPow(f,3)*r[u],m[u]=d,null!==v&&(h+=bmPow(m[u]-v[u],2));y+=h=bmSqrt(h),b.points[c]=new a(h,m),v=m}b.segmentLength=y,i[l]=b}return i[l]});function o(e,t){var r=t.percents,n=t.lengths,a=r.length,i=bmFloor((a-1)*e),s=e*t.addedLength,o=0;if(i===a-1||0===i||s===n[i])return r[i];for(var l=n[i]>s?-1:1,c=!0;c;)if(n[i]<=s&&n[i+1]>s?(o=(s-n[i])/(n[i+1]-n[i]),c=!1):i+=l,i<0||i>=a-1){if(i===a-1)return r[i];c=!1}return r[i]+(r[i+1]-r[i])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),a=e.c,i=e.v,s=e.o,o=e.i,l=e._length,c=n.lengths,u=0;for(t=0;t<l-1;t+=1)c[t]=r(i[t],i[t+1],s[t],o[t+1]),u+=c[t].addedLength;return a&&l&&(c[t]=r(i[t],i[0],s[t],o[0]),u+=c[t].addedLength),n.totalLength=u,n},getNewSegment:function(t,r,n,a,i,s,c){i<0?i=0:i>1&&(i=1);var u,p=o(i,c),d=o(s=s>1?1:s,c),f=t.length,h=1-p,m=1-d,g=h*h*h,y=p*h*h*3,v=p*p*h*3,b=p*p*p,x=h*h*m,w=p*h*m+h*p*m+h*h*d,E=p*p*m+h*p*d+p*h*d,k=p*p*d,S=h*m*m,C=p*m*m+h*d*m+h*m*d,A=p*d*m+h*d*d+p*m*d,_=p*d*d,P=m*m*m,T=d*m*m+m*d*m+m*m*d,I=d*d*m+m*d*d+d*m*d,F=d*d*d;for(u=0;u<f;u+=1)l[4*u]=e.round(1e3*(g*t[u]+y*n[u]+v*a[u]+b*r[u]))/1e3,l[4*u+1]=e.round(1e3*(x*t[u]+w*n[u]+E*a[u]+k*r[u]))/1e3,l[4*u+2]=e.round(1e3*(S*t[u]+C*n[u]+A*a[u]+_*r[u]))/1e3,l[4*u+3]=e.round(1e3*(P*t[u]+T*n[u]+I*a[u]+F*r[u]))/1e3;return l},getPointInSegment:function(t,r,n,a,i,s){var l=o(i,s),c=1-l;return[e.round(1e3*(c*c*c*t[0]+(l*c*c+c*l*c+c*c*l)*n[0]+(l*l*c+c*l*l+l*c*l)*a[0]+l*l*l*r[0]))/1e3,e.round(1e3*(c*c*c*t[1]+(l*c*c+c*l*c+c*c*l)*n[1]+(l*l*c+c*l*l+l*c*l)*a[1]+l*l*l*r[1]))/1e3]},buildBezierData:s,pointOnLine2D:t,pointOnLine3D:function(r,n,a,i,s,o,l,c,u){if(0===a&&0===o&&0===u)return t(r,n,i,s,l,c);var p,d=e.sqrt(e.pow(i-r,2)+e.pow(s-n,2)+e.pow(o-a,2)),f=e.sqrt(e.pow(l-r,2)+e.pow(c-n,2)+e.pow(u-a,2)),h=e.sqrt(e.pow(l-i,2)+e.pow(c-s,2)+e.pow(u-o,2));return(p=d>f?d>h?d-f-h:h-f-d:h>f?h-f-d:f-d-h)>-1e-4&&p<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,i,s,o,l,c,u,p,d,f=t.lastIndex,h=f,m=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[h],i=this.keyframes[h+1],h===m-1&&e>=i.t-n){a.h&&(a=i),f=0;break}if(i.t-n>e){f=h;break}h<m-1?h+=1:(f=0,g=!1)}s=this.keyframesMetadata[h]||{};var y,v=i.t-n,b=a.t-n;if(a.to){s.bezierData||(s.bezierData=bez.buildBezierData(a.s,i.s||a.e,a.to,a.ti));var x=s.bezierData;if(e>=v||e<b){var w=e>=v?x.points.length-1:0;for(l=x.points[w].point.length,o=0;o<l;o+=1)r[o]=x.points[w].point[o]}else{s.__fnct?d=s.__fnct:(d=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,s.__fnct=d),c=d((e-b)/(v-b));var E,k=x.segmentLength*c,S=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastAddedLength:0;for(p=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastPoint:0,g=!0,u=x.points.length;g;){if(S+=x.points[p].partialLength,0===k||0===c||p===x.points.length-1){for(l=x.points[p].point.length,o=0;o<l;o+=1)r[o]=x.points[p].point[o];break}if(k>=S&&k<S+x.points[p+1].partialLength){for(E=(k-S)/x.points[p+1].partialLength,l=x.points[p].point.length,o=0;o<l;o+=1)r[o]=x.points[p].point[o]+(x.points[p+1].point[o]-x.points[p].point[o])*E;break}p<u-1?p+=1:g=!1}t._lastPoint=p,t._lastAddedLength=S-x.points[p].partialLength,t._lastKeyframeIndex=h}}else{var C,A,_,P,T;if(m=a.s.length,y=i.s||a.e,this.sh&&1!==a.h)e>=v?(r[0]=y[0],r[1]=y[1],r[2]=y[2]):e<=b?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):quaternionToEuler(r,slerp(createQuaternion(a.s),createQuaternion(y),(e-b)/(v-b)));else for(h=0;h<m;h+=1)1!==a.h&&(e>=v?c=1:e<b?c=0:(a.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[h]?d=s.__fnct[h]:(C=void 0===a.o.x[h]?a.o.x[0]:a.o.x[h],A=void 0===a.o.y[h]?a.o.y[0]:a.o.y[h],_=void 0===a.i.x[h]?a.i.x[0]:a.i.x[h],P=void 0===a.i.y[h]?a.i.y[0]:a.i.y[h],d=BezierFactory.getBezierEasing(C,A,_,P).get,s.__fnct[h]=d)):s.__fnct?d=s.__fnct:(C=a.o.x,A=a.o.y,_=a.i.x,P=a.i.y,d=BezierFactory.getBezierEasing(C,A,_,P).get,a.keyframeMetadata=d),c=d((e-b)/(v-b)))),y=i.s||a.e,T=1===a.h?a.s[h]:a.s[h]+(y[h]-a.s[h])*c,"multidimensional"===this.propType?r[h]=T:r=T}return t.lastIndex=f,r}function slerp(e,t,r){var n,a,i,s,o,l=[],c=e[0],u=e[1],p=e[2],d=e[3],f=t[0],h=t[1],m=t[2],g=t[3];return(a=c*f+u*h+p*m+d*g)<0&&(a=-a,f=-f,h=-h,m=-m,g=-g),1-a>1e-6?(n=Math.acos(a),i=Math.sin(n),s=Math.sin((1-r)*n)/i,o=Math.sin(r*n)/i):(s=1-r,o=r),l[0]=s*c+o*f,l[1]=s*u+o*h,l[2]=s*p+o*m,l[3]=s*d+o*g,l}function quaternionToEuler(e,t){var r=t[0],n=t[1],a=t[2],i=t[3],s=Math.atan2(2*n*i-2*r*a,1-2*n*n-2*a*a),o=Math.asin(2*r*n+2*a*i),l=Math.atan2(2*r*i-2*n*a,1-2*r*r-2*a*a);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,a=Math.cos(t/2),i=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(n/2);return[o*l*s+a*i*c,o*i*s+a*l*c,a*l*s-o*i*c,a*i*s-o*l*c]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r<n;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,n){var a;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var i=t.k.length;for(this.v=createTypedArray("float32",i),this.pv=createTypedArray("float32",i),this.vel=createTypedArray("float32",i),a=0;a<i;a+=1)this.v[a]=t.k[a]*this.mult,this.pv[a]=t.k[a];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,n){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,n){var a;this.propType="multidimensional";var i,s,o,l,c=t.k.length;for(a=0;a<c-1;a+=1)t.k[a].to&&t.k[a].s&&t.k[a+1]&&t.k[a+1].s&&(i=t.k[a].s,s=t.k[a+1].s,o=t.k[a].to,l=t.k[a].ti,(2===i.length&&(i[0]!==s[0]||i[1]!==s[1])&&bez.pointOnLine2D(i[0],i[1],s[0],s[1],i[0]+o[0],i[1]+o[1])&&bez.pointOnLine2D(i[0],i[1],s[0],s[1],s[0]+l[0],s[1]+l[1])||3===i.length&&(i[0]!==s[0]||i[1]!==s[1]||i[2]!==s[2])&&bez.pointOnLine3D(i[0],i[1],i[2],s[0],s[1],s[2],i[0]+o[0],i[1]+o[1],i[2]+o[2])&&bez.pointOnLine3D(i[0],i[1],i[2],s[0],s[1],s[2],s[0]+l[0],s[1]+l[1],s[2]+l[2]))&&(t.k[a].to=null,t.k[a].ti=null),i[0]===s[0]&&i[1]===s[1]&&0===o[0]&&0===o[1]&&0===l[0]&&0===l[1]&&(2===i.length||i[2]===s[2]&&0===o[2]&&0===l[2])&&(t.k[a].to=null,t.k[a].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),a=0;a<u;a+=1)this.v[a]=initFrame,this.pv[a]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory={getProp:function(e,t,r,n,a){var i;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"==typeof t.k[0])i=new MultiDimensionalProperty(e,t,n,a);else switch(r){case 0:i=new KeyframedValueProperty(e,t,n,a);break;case 1:i=new KeyframedMultidimensionalProperty(e,t,n,a)}else i=new ValueProperty(e,t,n,a);return i.effectsSequence.length&&a.addDynamicProperty(i),i}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,n,a){var i;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":i=this.v;break;case"i":i=this.i;break;case"o":i=this.o;break;default:i=[]}(!i[n]||i[n]&&!a)&&(i[n]=pointPool.newElement()),i[n][0]=e,i[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,a,i,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(a,i,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,a=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),a=1);var i,s=this._length-1,o=this._length;for(i=a;i<o;i+=1)e.setTripleAt(t[s][0],t[s][1],n[s][0],n[s][1],r[s][0],r[s][1],i,!1),s-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,r=factory.newElement(),n=void 0===e._length?e.v.length:e._length;for(r.setLength(n),r.c=e.c,t=0;t<n;t+=1)r.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,r=e._length;for(t=0;t<r;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,a,i,s,o,l,c,u,p,d=r.lastIndex,f=this.keyframes;if(e<f[0].t-this.offsetTime)n=f[0].s[0],i=!0,d=0;else if(e>=f[f.length-1].t-this.offsetTime)n=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],i=!0;else{for(var h,m,g,y=d,v=f.length-1,b=!0;b&&(h=f[y],!((m=f[y+1]).t-this.offsetTime>e));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},d=y,!(i=1===h.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<h.t-this.offsetTime)u=0;else{var x;g.__fnct?x=g.__fnct:(x=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y).get,g.__fnct=x),u=x((e-(h.t-this.offsetTime))/(m.t-this.offsetTime-(h.t-this.offsetTime)))}a=m.s?m.s[0]:h.e[0]}n=h.s[0]}for(l=t._length,c=n.i[0].length,r.lastIndex=d,s=0;s<l;s+=1)for(o=0;o<c;o+=1)p=i?n.i[s][o]:n.i[s][o]+(a.i[s][o]-n.i[s][o])*u,t.i[s][o]=p,p=i?n.o[s][o]:n.o[s][o]+(a.o[s][o]-n.o[s][o])*u,t.o[s][o]=p,p=i?n.v[s][o]:n.v[s][o]+(a.v[s][o]-n.v[s][o])*u,t.v[s][o]=p}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,a=this._caching.lastFrame;return a!==e&&(a<r&&t<r||a>n&&t>n)||(this._caching.lastIndex=a<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function n(){this.paths=this.localShapeCollection}function a(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var a=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,a,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===i?a.pt.k:a.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=i,s.prototype.setVValue=a,s.prototype.addEffect=o,l.prototype.getValue=i,l.prototype.interpolateShape=t,l.prototype.setVValue=a,l.prototype.addEffect=o;var c=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,a=this.s.v[1]/2,i=3!==this.d,s=this.v;s.v[0][0]=t,s.v[0][1]=r-a,s.v[1][0]=i?t+n:t-n,s.v[1][1]=r,s.v[2][0]=t,s.v[2][1]=r+a,s.v[3][0]=i?t-n:t+n,s.v[3][1]=r,s.i[0][0]=i?t-n*e:t+n*e,s.i[0][1]=r-a,s.i[1][0]=i?t+n:t-n,s.i[1][1]=r-a*e,s.i[2][0]=i?t+n*e:t-n*e,s.i[2][1]=r+a,s.i[3][0]=i?t-n:t+n,s.i[3][1]=r+a*e,s.o[0][0]=i?t+n*e:t-n*e,s.o[0][1]=r-a,s.o[1][0]=i?t+n:t-n,s.o[1][1]=r+a*e,s.o[2][0]=i?t-n*e:t+n*e,s.o[2][1]=r+a,s.o[3][0]=i?t-n:t+n,s.o[3][1]=r-a*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,a=2*Math.floor(this.pt.v),i=2*Math.PI/a,s=!0,o=this.or.v,l=this.ir.v,c=this.os.v,u=this.is.v,p=2*Math.PI*o/(2*a),d=2*Math.PI*l/(2*a),f=-Math.PI/2;f+=this.r.v;var h=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<a;e+=1){r=s?c:u,n=s?p:d;var m=(t=s?o:l)*Math.cos(f),g=t*Math.sin(f),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*n*r*h,g-v*n*r*h,m+y*n*r*h,g+v*n*r*h,e,!0),s=!s,f+=i*h}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,a=this.os.v,i=2*Math.PI*n/(4*t),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(s),c=n*Math.sin(s),u=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),p=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-u*i*a*o,c-p*i*a*o,l+u*i*a*o,c+p*i*a*o,e,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,a=bmMin(r,n,this.r.v),i=a*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+a,e+r,t-n+a,e+r,t-n+i,0,!0),this.v.setTripleAt(e+r,t+n-a,e+r,t+n-i,e+r,t+n-a,1,!0),0!==a?(this.v.setTripleAt(e+r-a,t+n,e+r-a,t+n,e+r-i,t+n,2,!0),this.v.setTripleAt(e-r+a,t+n,e-r+i,t+n,e-r+a,t+n,3,!0),this.v.setTripleAt(e-r,t+n-a,e-r,t+n-a,e-r,t+n-i,4,!0),this.v.setTripleAt(e-r,t-n+a,e-r,t-n+i,e-r,t-n+a,5,!0),this.v.setTripleAt(e-r+a,t-n,e-r+a,t-n,e-r+i,t-n,6,!0),this.v.setTripleAt(e+r-a,t-n,e+r-i,t-n,e+r-a,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+i,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+i,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+a,e+r,t-n+i,e+r,t-n+a,0,!0),0!==a?(this.v.setTripleAt(e+r-a,t-n,e+r-a,t-n,e+r-i,t-n,1,!0),this.v.setTripleAt(e-r+a,t-n,e-r+i,t-n,e-r+a,t-n,2,!0),this.v.setTripleAt(e-r,t-n+a,e-r,t-n+a,e-r,t-n+i,3,!0),this.v.setTripleAt(e-r,t+n-a,e-r,t+n-i,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r+a,t+n,e-r+a,t+n,e-r+i,t+n,5,!0),this.v.setTripleAt(e+r-a,t+n,e+r-i,t+n,e+r-a,t+n,6,!0),this.v.setTripleAt(e+r,t+n-a,e+r,t+n-a,e+r,t+n-i,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+i,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-i,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-i,t+n,e+r,t+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],e),e}();return{getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new s(e,t,r):5===r?n=new p(e,t):6===r?n=new c(e,t):7===r&&(n=new u(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}}}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function a(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function i(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(n,-a,0,0,a,n,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(1,0,0,0,0,n,-a,0,0,a,n,0,0,0,0,1)}function o(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(n,0,a,0,0,1,0,0,-a,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(n,-a,0,0,a,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(r(e),r(t))}function p(n,a){var i=e(a),s=t(a);return this._t(i,s,0,0,-s,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(i,-s,0,0,s,i,0,0,0,0,1,0,0,0,0,1)}function d(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function f(e,t,r,n,a,i,s,o,l,c,u,p,d,f,h,m){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=a,this.props[5]=i,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=c,this.props[10]=u,this.props[11]=p,this.props[12]=d,this.props[13]=f,this.props[14]=h,this.props[15]=m,this}function h(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function m(e,t,r,n,a,i,s,o,l,c,u,p,d,f,h,m){var g=this.props;if(1===e&&0===t&&0===r&&0===n&&0===a&&1===i&&0===s&&0===o&&0===l&&0===c&&1===u&&0===p)return g[12]=g[12]*e+g[15]*d,g[13]=g[13]*i+g[15]*f,g[14]=g[14]*u+g[15]*h,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],x=g[3],w=g[4],E=g[5],k=g[6],S=g[7],C=g[8],A=g[9],_=g[10],P=g[11],T=g[12],I=g[13],F=g[14],M=g[15];return g[0]=y*e+v*a+b*l+x*d,g[1]=y*t+v*i+b*c+x*f,g[2]=y*r+v*s+b*u+x*h,g[3]=y*n+v*o+b*p+x*m,g[4]=w*e+E*a+k*l+S*d,g[5]=w*t+E*i+k*c+S*f,g[6]=w*r+E*s+k*u+S*h,g[7]=w*n+E*o+k*p+S*m,g[8]=C*e+A*a+_*l+P*d,g[9]=C*t+A*i+_*c+P*f,g[10]=C*r+A*s+_*u+P*h,g[11]=C*n+A*o+_*p+P*m,g[12]=T*e+I*a+F*l+M*d,g[13]=T*t+I*i+F*c+M*f,g[14]=T*r+I*s+F*u+M*h,g[15]=T*n+I*o+F*p+M*m,this._identityCalculated=!1,this}function g(e){var t=e.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function b(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function x(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function w(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function E(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function k(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function S(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function C(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,a=this.props[0]/e,i=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,o=new Matrix;return o.props[0]=t,o.props[1]=r,o.props[4]=n,o.props[5]=a,o.props[12]=i,o.props[13]=s,o}function A(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function _(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=A(e[t]);return n}function P(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var a=this.props[0],i=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],c=this.props[13];n[0]=e[0]*a+e[1]*s+l,n[1]=e[0]*i+e[1]*o+c,n[2]=t[0]*a+t[1]*s+l,n[3]=t[0]*i+t[1]*o+c,n[4]=r[0]*a+r[1]*s+l,n[5]=r[0]*i+r[1]*o+c}return n}function T(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function I(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function F(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function M(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function D(){var e=this.props;return"matrix("+M(e[0])+","+M(e[1])+","+M(e[4])+","+M(e[5])+","+M(e[12])+","+M(e[13])+")"}return function(){this.reset=a,this.rotate=i,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=u,this.skewFromAxis=p,this.shear=c,this.scale=d,this.setTransform=f,this.translate=h,this.transform=m,this.multiply=g,this.applyToPoint=w,this.applyToX=E,this.applyToY=k,this.applyToZ=S,this.applyToPointArray=T,this.applyToTriplePoints=P,this.applyToPointStringified=I,this.toCSS=F,this.to2dCSS=D,this.clone=b,this.cloneFromProps=x,this.equals=v,this.inversePoints=_,this.inversePoint=A,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,a){var i=[];t<=1?i.push({s:e,e:t}):e>=1?i.push({s:e-1,e:t-1}):(i.push({s:e,e:1}),i.push({s:0,e:t-1}));var s,o,l=[],c=i.length;for(s=0;s<c;s+=1){var u,p;(o=i[s]).e*a<n||o.s*a>n+r||(u=o.s*a<=n?0:(o.s*a-n)/r,p=o.e*a>=n+r?1:(o.e*a-n)/r,l.push([u,p]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n,a;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),(t=this.s.v>1?1+i:this.s.v<0?0+i:this.s.v+i)>(r=this.e.v>1?1+i:this.e.v<0?0+i:this.e.v+i)){var s=t;t=r,r=s}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var o,l,c,u,p,d=this.shapes.length,f=0;if(r===t)for(a=0;a<d;a+=1)this.shapes[a].localShapeCollection.releaseShapes(),this.shapes[a].shape._mdf=!0,this.shapes[a].shape.paths=this.shapes[a].localShapeCollection,this._mdf&&(this.shapes[a].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(a=0;a<d;a+=1)this.shapes[a].pathsData.length=0,this.shapes[a].shape._mdf=!0}else{var h,m,g=[];for(a=0;a<d;a+=1)if((h=this.shapes[a]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=h.shape.paths)._length,p=0,!h.shape._mdf&&h.pathsData.length)p=h.totalShapeLength;else{for(c=this.releasePathsData(h.pathsData),o=0;o<l;o+=1)u=bez.getSegmentsLength(n.shapes[o]),c.push(u),p+=u.totalLength;h.totalShapeLength=p,h.pathsData=c}f+=p,h.shape._mdf=!0}else h.shape.paths=h.localShapeCollection;var y,v=t,b=r,x=0;for(a=d-1;a>=0;a-=1)if((h=this.shapes[a]).shape._mdf){for((m=h.localShapeCollection).releaseShapes(),2===this.m&&d>1?(y=this.calculateShapeEdges(t,r,h.totalShapeLength,x,f),x+=h.totalShapeLength):y=[[v,b]],l=y.length,o=0;o<l;o+=1){v=y[o][0],b=y[o][1],g.length=0,b<=1?g.push({s:h.totalShapeLength*v,e:h.totalShapeLength*b}):v>=1?g.push({s:h.totalShapeLength*(v-1),e:h.totalShapeLength*(b-1)}):(g.push({s:h.totalShapeLength*v,e:h.totalShapeLength}),g.push({s:0,e:h.totalShapeLength*(b-1)}));var w=this.addShapes(h,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(h.shape.paths.shapes[h.shape.paths._length-1].c){var E=w.pop();this.addPaths(w,m),w=this.addShapes(h,g[1],E)}else this.addPaths(w,m),w=this.addShapes(h,g[1]);this.addPaths(w,m)}}h.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,a,i,s){a.setXYAt(t[0],t[1],"o",i),a.setXYAt(r[0],r[1],"i",i+1),s&&a.setXYAt(e[0],e[1],"v",i),a.setXYAt(n[0],n[1],"v",i+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,a,i,s,o,l,c,u,p=e.pathsData,d=e.shape.paths.shapes,f=e.shape.paths._length,h=0,m=[],g=!0;for(r?(o=r._length,u=r._length):(r=shapePool.newElement(),o=0,u=0),m.push(r),n=0;n<f;n+=1){for(l=p[n].lengths,r.c=d[n].c,i=d[n].c?l.length:l.length+1,a=1;a<i;a+=1)if(h+(s=l[a-1]).addedLength<t.s)h+=s.addedLength,r.c=!1;else{if(h>t.e){r.c=!1;break}t.s<=h&&t.e>=h+s.addedLength?(this.addSegment(d[n].v[a-1],d[n].o[a-1],d[n].i[a],d[n].v[a],r,o,g),g=!1):(c=bez.getNewSegment(d[n].v[a-1],d[n].v[a],d[n].o[a-1],d[n].i[a],(t.s-h)/s.addedLength,(t.e-h)/s.addedLength,l[a-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1),h+=s.addedLength,o+=1}if(d[n].c&&l.length){if(s=l[a-1],h<=t.e){var y=l[a-1].addedLength;t.s<=h&&t.e>=h+y?(this.addSegment(d[n].v[a-1],d[n].o[a-1],d[n].i[0],d[n].v[0],r,o,g),g=!1):(c=bez.getNewSegment(d[n].v[a-1],d[n].v[0],d[n].o[a-1],d[n].i[0],(t.s-h)/y,(t.e-h)/y,l[a-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1)}else r.c=!1;h+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[u][0],r.v[u][1],"i",u),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>t.e)break;n<f-1&&(r=shapePool.newElement(),g=!0,m.push(r),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,n=[0,0],a=e._length,i=0;for(i=0;i<a;i+=1)n[0]+=e.v[i][0],n[1]+=e.v[i][1];n[0]/=a,n[1]/=a;var s,o,l,c,u,p,d=shapePool.newElement();for(d.c=e.c,i=0;i<a;i+=1)s=e.v[i][0]+(n[0]-e.v[i][0])*r,o=e.v[i][1]+(n[1]-e.v[i][1])*r,l=e.o[i][0]+(n[0]-e.o[i][0])*-r,c=e.o[i][1]+(n[1]-e.o[i][1])*-r,u=e.i[i][0]+(n[0]-e.i[i][0])*-r,p=e.i[i][1]+(n[1]-e.i[i][1])*-r,d.setTripleAt(s,o,l,c,u,p,i);return d},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,n,a,i,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(i=this.shapes[r]).localShapeCollection,i.shape._mdf||this._mdf||e)for(s.releaseShapes(),i.shape._mdf=!0,t=i.shape.paths.shapes,a=i.shape.paths._length,n=0;n<a;n+=1)s.addShape(this.processPath(t[n],l));i.shape.paths=i.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,a=t.or.k.length;for(n=0;n<a;n+=1)t.or.k[n].to=null,t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,a;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),a=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,a=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],a=[];var i=this.px,s=this.py;i._caching.lastFrame+i.offsetTime<=i.keyframes[0].t?(n[0]=i.getValueAtTime((i.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),a[0]=i.getValueAtTime(i.keyframes[0].t/r,0),a[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):i._caching.lastFrame+i.offsetTime>=i.keyframes[i.keyframes.length-1].t?(n[0]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),a[0]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/r,0),a[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[i.pv,s.pv],a[0]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/r,i.offsetTime),a[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=a=e;this.v.rotate(-Math.atan2(n[1]-a[1],n[0]-a[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(0===e)return[];var n=t*t-4*e*r;if(n<0)return[];var a=-t/(2*e);if(0===n)return[a];var i=Math.sqrt(n)/(2*e);return[a-i,a+i]}function polynomialCoefficients(e,t,r,n){return[3*t-e-3*r+n,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,n,a){a&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),a&&pointEqual(r,n)&&(r=lerpPoint(e,n,2/3));var i=polynomialCoefficients(e[0],t[0],r[0],n[0]),s=polynomialCoefficients(e[1],t[1],r[1],n[1]);this.a=[i[0],s[0]],this.b=[i[1],s[1]],this.c=[i[2],s[2]],this.d=[i[3],s[3]],this.points=[e,t,r,n]}function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var a=n;n=r,r=a}for(var i=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),s=0;s<i.length;s+=1)if(i[s]>0&&i[s]<1){var o=e.point(i[s])[t];o<r?r=o:o>n&&(n=o)}return{min:r,max:n}}function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,r,n,a,i){if(boxIntersect(e,t))if(r>=i||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n)a.push([e.t,t.t]);else{var s=splitData(e),o=splitData(t);intersectsImpl(s[0],o[0],r+1,n,a,i),intersectsImpl(s[0],o[1],r+1,n,a,i),intersectsImpl(s[1],o[0],r+1,n,a,i),intersectsImpl(s[1],o[1],r+1,n,a,i)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,n){var a=[e[0],e[1],1],i=[t[0],t[1],1],s=[r[0],r[1],1],o=[n[0],n[1],1],l=crossProduct(crossProduct(a,i),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,r,n,a,i,s){var o=r-Math.PI/2,l=r+Math.PI/2,c=t[0]+Math.cos(r)*n*a,u=t[1]-Math.sin(r)*n*a;e.setTripleAt(c,u,c+Math.cos(o)*i,u-Math.sin(o)*i,c+Math.cos(l)*s,u-Math.sin(l)*s,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(e,t){var r=0===t?e.length()-1:t-1,n=(t+1)%e.length(),a=getPerpendicularVector(e.v[r],e.v[n]);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(e,t,r,n,a,i,s){var o=getProjectingAngle(t,r),l=t.v[r%t._length],c=t.v[0===r?t._length-1:r-1],u=t.v[(r+1)%t._length],p=2===i?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,d=2===i?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(e,t.v[r%t._length],o,s,n,d/(2*(a+1)),p/(2*(a+1)),i)}function zigZagSegment(e,t,r,n,a,i){for(var s=0;s<n;s+=1){var o=(s+1)/(n+1),l=2===a?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(o);setPoint(e,t.point(o),c,i,r,l/(2*(n+1)),l/(2*(n+1)),a),i=-i}return i}function linearOffset(e,t,r){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,r),polarOffset(t,n,r)]}function offsetSegment(e,t){var r,n,a,i,s,o,l;r=(l=linearOffset(e.points[0],e.points[1],t))[0],n=l[1],a=(l=linearOffset(e.points[1],e.points[2],t))[0],i=l[1],s=(l=linearOffset(e.points[2],e.points[3],t))[0],o=l[1];var c=lineIntersection(r,n,a,i);null===c&&(c=n);var u=lineIntersection(s,o,a,i);return null===u&&(u=s),new PolynomialBezier(r,c,u,o)}function joinLines(e,t,r,n,a){var i=t.points[3],s=r.points[0];if(3===n)return i;if(pointEqual(i,s))return i;if(2===n){var o=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(i,polarOffset(i,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),u=c?pointDistance(c,i):pointDistance(i,s)/2,p=polarOffset(i,o,2*u*roundCorner);return e.setXYAt(p[0],p[1],"o",e.length()-1),p=polarOffset(s,l,2*u*roundCorner),e.setTripleAt(s[0],s[1],s[0],s[1],p[0],p[1],e.length()),s}var d=lineIntersection(pointEqual(i,t.points[2])?t.points[0]:t.points[2],i,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return d&&pointDistance(d,i)<a?(e.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],e.length()),d):i}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),n=t.slice(),a=getIntersection(e[e.length-1],t[0]);return a&&(r[e.length-1]=e[e.length-1].split(a[0])[0],n[0]=t[0].split(a[1])[1]),e.length>1&&t.length>1&&(a=getIntersection(e[0],t[t.length-1]))?[[e[0].split(a[0])[0]],[t[t.length-1].split(a[1])[1]]]:[r,n]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r,n,a,i,s=e.inflectionPoints();if(0===s.length)return[offsetSegment(e,t)];if(1===s.length||floatEqual(s[1],1))return r=(a=e.split(s[0]))[0],n=a[1],[offsetSegment(r,t),offsetSegment(n,t)];r=(a=e.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return i=(a=a[1].split(o))[0],n=a[1],[offsetSegment(r,t),offsetSegment(i,t),offsetSegment(n,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",a=t.length,i=0;i<a;i+=1)switch(t[i].toLowerCase()){case"italic":n="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:n,weight:e.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,n,a,i){var s=i?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-a),l=n.s.v[1]+(1-n.s.v[1])*(1-a);e.translate(n.p.v[0]*s*a,n.p.v[1]*s*a,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*s*a),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(i?1/o:o,i?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,a,i,s=!1;if(this._mdf||e){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(i=0,n=0;n<=this._groups.length-1;n+=1){if(o=i<l,this._groups[n]._render=o,this.changeGroupRender(this._groups[n].it,o),!o){var u=this.elemsData[n].it,p=u[u.length-1];0!==p.transform.op.v?(p.transform.op._mdf=!0,p.transform.op.v=0):p.transform.op._mdf=!1}i+=1}this._currentCopies=l;var d=this.o.v,f=d%1,h=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,x=0;if(d>0){for(;x<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),x+=f)}else if(d<0){for(;x>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),x-=f)}for(n=1===this.data.m?0:this._currentCopies-1,a=1===this.data.m?1:-1,i=this._currentCopies;i;){if(b=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==x){for((0!==n&&1===a||n!==this._currentCopies-1&&-1===a)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];x+=1,i-=1,n+=a}}else for(i=this._currentCopies,n=0,a=1;i;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,i-=1,n+=a;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r,n=shapePool.newElement();n.c=e.c;var a,i,s,o,l,c,u,p,d,f,h,m,g=e._length,y=0;for(r=0;r<g;r+=1)a=e.v[r],s=e.o[r],i=e.i[r],a[0]===s[0]&&a[1]===s[1]&&a[0]===i[0]&&a[1]===i[1]?0!==r&&r!==g-1||e.c?(o=0===r?e.v[g-1]:e.v[r-1],c=(l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=h=a[0]+(o[0]-a[0])*c,p=m=a[1]-(a[1]-o[1])*c,d=u-(u-a[0])*roundCorner,f=p-(p-a[1])*roundCorner,n.setTripleAt(u,p,d,f,h,m,y),y+=1,o=r===g-1?e.v[0]:e.v[r+1],c=(l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=d=a[0]+(o[0]-a[0])*c,p=f=a[1]+(o[1]-a[1])*c,h=u-(u-a[0])*roundCorner,m=p-(p-a[1])*roundCorner,n.setTripleAt(u,p,d,f,h,m,y),y+=1):(n.setTripleAt(a[0],a[1],s[0],s[1],i[0],i[1],y),y+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],y),y+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,a,i,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(i=this.shapes[r]).localShapeCollection,i.shape._mdf||this._mdf||e)for(s.releaseShapes(),i.shape._mdf=!0,t=i.shape.paths.shapes,a=i.shape.paths._length,n=0;n<a;n+=1)s.addShape(this.processPath(t[n],l));i.shape.paths=i.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),n=lerpPoint(this.points[2],this.points[3],e),a=lerpPoint(t,r,e),i=lerpPoint(r,n,e),s=lerpPoint(a,i,e);return[new PolynomialBezier(this.points[0],t,a,s,!0),new PolynomialBezier(s,i,n,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,r){void 0===t&&(t=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,r,n){var a=e._length,i=shapePool.newElement();if(i.c=e.c,e.c||(a-=1),0===a)return i;var s=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(i,e,0,t,r,n,s);for(var l=0;l<a;l+=1)s=zigZagSegment(i,o,t,r,n,-s),o=l!==a-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%a):null,zigZagCorner(i,e,l+1,t,r,n,s);return i},ZigZagModifier.prototype.processShapes=function(e){var t,r,n,a,i,s,o=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(i=this.shapes[r]).localShapeCollection,i.shape._mdf||this._mdf||e)for(s.releaseShapes(),i.shape._mdf=!0,t=i.shape.paths.shapes,a=i.shape.paths._length,n=0;n<a;n+=1)s.addShape(this.processPath(t[n],l,c,u));i.shape.paths=i.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var a=shapePool.newElement();a.c=e.c;var i,s,o,l=e.length();e.c||(l-=1);var c=[];for(i=0;i<l;i+=1)o=PolynomialBezier.shapeSegment(e,i),c.push(offsetSegmentSplit(o,t));if(!e.c)for(i=l-1;i>=0;i-=1)o=PolynomialBezier.shapeSegmentInverted(e,i),c.push(offsetSegmentSplit(o,t));c=pruneIntersections(c);var u=null,p=null;for(i=0;i<c.length;i+=1){var d=c[i];for(p&&(u=joinLines(a,p,d[0],r,n)),p=d[d.length-1],s=0;s<d.length;s+=1)o=d[s],u&&pointEqual(o.points[0],u)?a.setXYAt(o.points[1][0],o.points[1][1],"o",a.length()-1):a.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],a.length()),a.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],a.length()),u=o.points[3]}return c.length&&joinLines(a,p,c[0][0],r,n),a},OffsetPathModifier.prototype.processShapes=function(e){var t,r,n,a,i,s,o=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,u=this.lineJoin;if(0!==l)for(r=0;r<o;r+=1){if(s=(i=this.shapes[r]).localShapeCollection,i.shape._mdf||this._mdf||e)for(s.releaseShapes(),i.shape._mdf=!0,t=i.shape.paths.shapes,a=i.shape.paths._length,n=0;n<a;n+=1)s.addShape(this.processPath(t[n],l,u,c));i.shape.paths=i.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function a(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var a=n.offsetWidth;return n.style.fontFamily=function(e){var t,r=e.split(","),n=r.length,a=[];for(t=0;t<n;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&a.push(r[t]);return a.join(",")}(e)+", "+t,{node:n,w:a,parent:r}}function i(e,t){var r,n=document.body&&t?"svg":"canvas",a=getFontProperties(e);if("svg"===n){var i=createNS("text");i.style.fontSize="100px",i.setAttribute("font-family",e.fFamily),i.setAttribute("font-style",a.style),i.setAttribute("font-weight",a.weight),i.textContent="1",e.fClass?(i.style.fontFamily="inherit",i.setAttribute("class",e.fClass)):i.style.fontFamily=e.fFamily,t.appendChild(i),r=i}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=a.style+" "+a.weight+" 100px "+e.fFamily,r=s}return{measureText:function(e){return"svg"===n?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}function s(e){var t=0,r=e.charCodeAt(0);if(r>=55296&&r<=56319){var n=e.charCodeAt(1);n>=56320&&n<=57343&&(t=1024*(r-55296)+n-56320+65536)}return t}function o(e){var t=s(e);return t>=127462&&t<=127487}var l=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};l.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==n.indexOf(r)},l.isZeroWidthJoiner=function(e){return 8205===e},l.isFlagEmoji=function(e){return o(e.substr(0,2))&&o(e.substr(2,2))},l.isRegionalCode=o,l.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},l.isRegionalFlag=function(e,t){var n=s(e.substr(t,2));if(n!==r)return!1;var a=0;for(t+=2;a<5;){if((n=s(e.substr(t,2)))<917601||n>917626)return!1;a+=1,t+=2}return 917631===s(e.substr(t,2))},l.isVariationSelector=function(e){return 65039===e},l.BLACK_FLAG_CODE_POINT=r;var c={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,n,a=e.length,i=this.chars.length;for(t=0;t<a;t+=1){for(r=0,n=!1;r<i;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),i+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=i(e),e.cache={}})),void(this.fonts=e.list);var r,n=e.list,s=n.length,o=s;for(r=0;r<s;r+=1){var l,c,u=!0;if(n[r].loaded=!1,n[r].monoCase=a(n[r].fFamily,"monospace"),n[r].sansCase=a(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(u=!1),u){var p=createTag("style");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.setAttribute("f-family",n[r].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(p)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(n[r].fPath)&&(u=!1);if(u){var d=createTag("link");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.type="text/css",d.rel="stylesheet",d.href=n[r].fPath,document.body.appendChild(d)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)n[r].fPath===l[c].src&&(u=!1);if(u){var f=createTag("link");f.setAttribute("f-forigin",n[r].fOrigin),f.setAttribute("f-origin",n[r].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",n[r].fPath),t.appendChild(f)}}}else n[r].loaded=!0,o-=1;n[r].helper=i(n[r],t),n[r].cache={},this.fonts.push(n[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,n){for(var a=0,i=this.chars.length;a<i;){if(this.chars[a].ch===t&&this.chars[a].style===r&&this.chars[a].fFamily===n)return this.chars[a];a+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,n)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var n=this.getFontByName(t),a=e;if(!n.cache[a]){var i=n.helper;if(" "===e){var s=i.measureText("|"+e+"|"),o=i.measureText("||");n.cache[a]=(s-o)/100}else n.cache[a]=i.measureText(e)/100}return n.cache[a]*r},checkLoadedFonts:function(){var e,t,r,n=this.fonts.length,a=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?a-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(a-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(a-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==a&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return l.prototype=c,l}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r,n=e.ef||[];this.effectElements=[];var a,i=n.length;for(r=0;r<i;r+=1)a=new GroupEffect(n[r],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,a=this.data.ef.length,i=this.data.ef;for(r=0;r<a;r+=1){switch(n=null,i[r].ty){case 0:n=new SliderEffect(i[r],t,this);break;case 1:n=new AngleEffect(i[r],t,this);break;case 2:n=new ColorEffect(i[r],t,this);break;case 3:n=new PointEffect(i[r],t,this);break;case 4:case 7:n=new CheckboxEffect(i[r],t,this);break;case 10:n=new LayerIndexEffect(i[r],t,this);break;case 11:n=new MaskIndexEffect(i[r],t,this);break;case 5:n=new EffectsManager(i[r],t,this);break;default:n=new NoValueEffect(i[r],t,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),n=e("shape"),a=e("text"),i=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=i(this):4===this.data.ty?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var r,n=e.length,a=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<a;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,a=this.layers,i=0,s=a.length;i<s;)a[i].ind==t&&(n[i]&&!0!==n[i]?(r.push(n[i]),n[i].setAsParent(),void 0!==a[i].parent?this.buildElementParenting(e,a[i].parent,r):e.setHierarchy(r)):(this.buildItem(i),this.addPendingElement(e))),i+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,r=e.shift();if("number"==typeof r)t=this.elements[r];else{var n,a=this.elements.length;for(n=0;n<a;n+=1)if(this.elements[n].data.nm===r){t=this.elements[n];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,a,i=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,c,u,p,d,f=this.masksProperties,h=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(n=0;n<s;n+=1)if(("a"!==f[n].mode&&"n"!==f[n].mode||f[n].inv||100!==f[n].o.k||f[n].o.x)&&(y="mask",v="mask"),"s"!==f[n].mode&&"i"!==f[n].mode||0!==h?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),a=createNS("path"),"n"===f[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:a,lastPath:""},i.appendChild(a);else{var b;if(h+=1,a.setAttribute("fill","s"===f[n].mode?"#000000":"#ffffff"),a.setAttribute("clip-rule","nonzero"),0!==f[n].x.k?(y="mask",v="mask",d=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(p=createNS("feMorphology")).setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),u.appendChild(p),i.appendChild(u),a.setAttribute("stroke","s"===f[n].mode?"#000000":"#ffffff")):(p=null,d=null),this.storedData[n]={elem:a,x:d,expan:p,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===f[n].mode){l=m.length;var x=createNS("g");for(o=0;o<l;o+=1)x.appendChild(m[o]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",g+"_"+h),w.appendChild(a),i.appendChild(w),x.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+h+")"),m.length=0,m.push(x)}else m.push(a);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:a,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),s=m.length,n=0;n<s;n+=1)this.maskElement.appendChild(m[n]);h>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)t.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),e=1;e<t;e+=1){var n=this.localTransforms[e].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)a*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,r=e.length;for(t=0;t<r;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,n=!0,a=this.comp;n;)a.finalTransform?(a.data.hasMask&&t.splice(0,0,a.finalTransform),a=a.comp):n=!1;var i,s=t.length;for(r=0;r<s;r+=1)i=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-i[0],e[1]-i[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var a=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),a.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,(e+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,a,i=" M"+t.v[0][0]+","+t.v[0][1];for(a=t._length,n=1;n<a;n+=1)i+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&a>1&&(i+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+i:i),r.elem.setAttribute("d",s)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}},featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",a=e.data.ef?e.data.ef.length:0,i=createElementID(),s=filtersFactory.createFilter(i,!0),o=0;for(this.filters=[],t=0;t<a;t+=1){r=null;var l=e.data.ef[t].ty;registeredEffects$1[l]&&(r=new(0,registeredEffects$1[l].effect)(s,e.effectsManager.effectElements[t],e,idPrefix+o,n),n=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+i+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(r.setAttribute("id",a),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var i=createNS("g");i.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),i.appendChild(this.layerElement),this.transformedElement=i,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,n,a,i=this.layerId+"_"+e;if(1===e||3===e){var s=createNS("mask");s.setAttribute("id",i),s.setAttribute("mask-type",3===e?"luminance":"alpha"),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(n),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==e||(s.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(a=createNS("g")).appendChild(n),s.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var o=createNS("mask");o.setAttribute("id",i),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),t=createElementID(),r=filtersFactory.createFilter(t);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),c.appendChild(u),this.globalData.defs.appendChild(r);var p=createNS("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(p),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(n),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),l.appendChild(p),a.appendChild(this.layerElement),l.appendChild(a)),this.globalData.defs.appendChild(o)}this.matteMasks[e]=i}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,a=e.length;n<a;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,n){var a;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var i,s=t.length||0;for(a=0;a<s;a+=1)i=PropertyFactory.getProp(e,t[a].v,0,0,this),this.k=i.k||this.k,this.dataProps[a]={n:t[a].n,p:i};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,a=4*this.data.p;for(t=0;t<a;t+=1)r=t%4==0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(a=this.prop.v.length,t=4*this.data.p;t<a;t+=1)r=t%2==0?100:1,n=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var a,i,s,o=[];for(s=4*t.g.p,i=0;i<s;i+=4)a=createNS("stop"),n.appendChild(a),o.push(a);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,a,i=createNS("mask"),s=createNS("path");i.appendChild(s);var o=createElementID(),l=createElementID();i.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),a=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(n=4*e.g.p;n<a;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),u.push(r);s.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===e.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=i,this.ost=u,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,n){if(0===t)return"";var a,i=e.o,s=e.i,o=e.v,l=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(a=1;a<t;a+=1)l+=" C"+n.applyToPointStringified(i[a-1][0],i[a-1][1])+" "+n.applyToPointStringified(s[a][0],s[a][1])+" "+n.applyToPointStringified(o[a][0],o[a][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(i[a-1][0],i[a-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(){}function a(r,n,a){var i,s,o,l,c,u,p,d,f,h,m=n.styles.length,g=n.lvl;for(u=0;u<m;u+=1){if(l=n.sh._mdf||a,n.styles[u].lvl<g){for(d=t.reset(),f=g-n.styles[u].lvl,h=n.transformers.length-1;!l&&f>0;)l=n.transformers[h].mProps._mdf||l,f-=1,h-=1;if(l)for(f=g-n.styles[u].lvl,h=n.transformers.length-1;f>0;)d.multiply(n.transformers[h].mProps.v),f-=1,h-=1}else d=e;if(s=(p=n.sh.paths)._length,l){for(o="",i=0;i<s;i+=1)(c=p.shapes[i])&&c._length&&(o+=buildShapeString(c,c._length,c.c,d));n.caches[u]=o}else o=n.caches[u];n.styles[u].d+=!0===r.hd?"":o,n.styles[u]._mdf=l||n.styles[u]._mdf}}function i(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function s(e,t,r){o(e,t,r),l(0,t,r)}function o(e,t,r){var n,a,i,s,o,l=t.gf,c=t.g._hasOpacity,u=t.s.v,p=t.e.v;if(t.o._mdf||r){var d="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(d,t.o.v)}if(t.s._mdf||r){var f=1===e.t?"x1":"cx",h="x1"===f?"y1":"cy";l.setAttribute(f,u[0]),l.setAttribute(h,u[1]),c&&!t.g._collapsable&&(t.of.setAttribute(f,u[0]),t.of.setAttribute(h,u[1]))}if(t.g._cmdf||r){n=t.cst;var m=t.g.c;for(i=n.length,a=0;a<i;a+=1)(s=n[a]).setAttribute("offset",m[4*a]+"%"),s.setAttribute("stop-color","rgb("+m[4*a+1]+","+m[4*a+2]+","+m[4*a+3]+")")}if(c&&(t.g._omdf||r)){var g=t.g.o;for(i=(n=t.g._collapsable?t.cst:t.ost).length,a=0;a<i;a+=1)s=n[a],t.g._collapsable||s.setAttribute("offset",g[2*a]+"%"),s.setAttribute("stop-opacity",g[2*a+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",p[0]),l.setAttribute("y2",p[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",p[0]),t.of.setAttribute("y2",p[1])));else if((t.s._mdf||t.e._mdf||r)&&(o=Math.sqrt(Math.pow(u[0]-p[0],2)+Math.pow(u[1]-p[1],2)),l.setAttribute("r",o),c&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||r){o||(o=Math.sqrt(Math.pow(u[0]-p[0],2)+Math.pow(u[1]-p[1],2)));var y=Math.atan2(p[1]-u[1],p[0]-u[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+t.a.v)*b+u[0],w=Math.sin(y+t.a.v)*b+u[1];l.setAttribute("fx",x),l.setAttribute("fy",w),c&&!t.g._collapsable&&(t.of.setAttribute("fx",x),t.of.setAttribute("fy",w))}}function l(e,t,r){var n=t.style,a=t.d;a&&(a._mdf||r)&&a.dashStr&&(n.pElem.setAttribute("stroke-dasharray",a.dashStr),n.pElem.setAttribute("stroke-dashoffset",a.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return i;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return a;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,a,i){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=a,this.p=i,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,a=this.shapes.length,i=this.stylesList.length,s=[],o=!1;for(r=0;r<i;r+=1){for(n=this.stylesList[r],o=!1,s.length=0,e=0;e<a;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(s.push(t),o=t._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),a=n.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,n):"fl"===e.ty?r=new SVGFillStyleData(this,e,n):"gf"===e.ty||"gs"===e.ty?(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),a.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===e.ty&&(r=new SVGNoStyleData(this,e,n)),"st"!==e.ty&&"gs"!==e.ty||(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),a.setAttribute("fill-opacity","0"),1===e.lj&&a.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&a.setAttribute("fill-rule","evenodd"),e.ln&&a.setAttribute("id",e.ln),e.cl&&a.setAttribute("class",e.cl),e.bm&&(a.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var a=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,a,i,s){var o,l,c,u,p,d,f=[].concat(i),h=e.length-1,m=[],g=[];for(o=h;o>=0;o-=1){if((d=this.searchProcessedElement(e[o]))?t[o]=r[d-1]:e[o]._render=s,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)d?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],a),e[o]._render&&t[o].style.pElem.parentNode!==n&&n.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"===e[o].ty){if(d)for(c=t[o].it.length,l=0;l<c;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,a+1,f,s),e[o]._render&&t[o].gr.parentNode!==n&&n.appendChild(t[o].gr)}else"tr"===e[o].ty?(d||(t[o]=this.createTransformElement(e[o],n)),u=t[o].transform,f.push(u)):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?(d||(t[o]=this.createShapeElement(e[o],f,a)),this.setElementStyles(t[o])):"tm"===e[o].ty||"rd"===e[o].ty||"ms"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(d?(p=t[o]).closed=!1:((p=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=p,this.shapeModifiers.push(p)),g.push(p)):"rp"===e[o].ty&&(d?(p=t[o]).closed=!0:(p=ShapeModifiers.getModifier(e[o].ty),t[o]=p,p.init(this,e,o,t),this.shapeModifiers.push(p),s=!1),g.push(p));this.addProcessedElement(e[o],o+1)}for(h=m.length,o=0;o<h;o+=1)m[o].closed=!0;for(h=g.length,o=0;o<h;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,n,a,i){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==a&&(this.m=a,this._mdf.m=!0,s=!0),!i.length||this.p[0]===i[0]&&this.p[1]===i[1]&&this.p[4]===i[4]&&this.p[5]===i[5]&&this.p[12]===i[12]&&this.p[13]===i[13]||(this.p=i,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var a=this.effectsSequence.length,i=e||this.data.d.k[this.keysIndex].s;for(n=0;n<a;n+=1)i=r!==this.keysIndex?this.effectsSequence[n](i,i.t):this.effectsSequence[n](this.currentData,i.t);t!==i&&this.setCurrentData(i),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&!(r===n-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,n=[],a=0,i=e.length,s=!1,o=!1,l="";a<i;)s=o,o=!1,t=e.charCodeAt(a),l=e.charAt(a),FontManager.isCombinedCharacter(t)?s=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,a)?l=e.substr(a,14):(r=e.charCodeAt(a+1))>=56320&&r<=57343&&(FontManager.isModifier(t,r)?(l=e.substr(a,2),s=!0):l=FontManager.isFlagEmoji(e.substr(a,4))?e.substr(a,4):e.substr(a,2)):t>56319?(r=e.charCodeAt(a+1),FontManager.isVariationSelector(t)&&(s=!0)):FontManager.isZeroWidthJoiner(t)&&(s=!0,o=!0),s?(n[n.length-1]+=l,s=!1):n.push(l),a+=l.length;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,a,i,s,o,l=this.elem.globalData.fontManager,c=this.data,u=[],p=0,d=c.m.g,f=0,h=0,m=0,g=[],y=0,v=0,b=l.getFontByName(e.f),x=0,w=getFontProperties(b);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var E,k=e.tr/1e3*e.finalSize;if(e.sz)for(var S,C,A=!0,_=e.sz[0],P=e.sz[1];A;){S=0,y=0,r=(C=this.buildFinalText(e.t)).length,k=e.tr/1e3*e.finalSize;var T=-1;for(t=0;t<r;t+=1)E=C[t].charCodeAt(0),n=!1," "===C[t]?T=t:13!==E&&3!==E||(y=0,n=!0,S+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(C[t],b.fStyle,b.fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(C[t],e.f,e.finalSize),y+x>_&&" "!==C[t]?(-1===T?r+=1:t=T,S+=e.finalLineHeight||1.2*e.finalSize,C.splice(t,T===t?1:0,"\r"),T=-1,y=0):(y+=x,y+=k);S+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&P<S?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=C,r=e.finalText.length,A=!1)}y=-k,x=0;var I,F=0;for(t=0;t<r;t+=1)if(n=!1,13===(E=(I=e.finalText[t]).charCodeAt(0))||3===E?(F=0,g.push(y),v=y>v?y:v,y=-2*k,a="",n=!0,m+=1):a=I,l.chars?(o=l.getCharData(I,b.fStyle,l.getFontByName(e.f).fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(a,e.f,e.finalSize)," "===I?F+=x+k:(y+=x+k+F,F=0),u.push({l:x,an:x,add:f,n,anIndexes:[],val:a,line:m,animatorJustifyOffset:0}),2==d){if(f+=x,""===a||" "===a||t===r-1){for(""!==a&&" "!==a||(f-=x);h<=t;)u[h].an=f,u[h].ind=p,u[h].extra=x,h+=1;p+=1,f=0}}else if(3==d){if(f+=x,""===a||t===r-1){for(""===a&&(f-=x);h<=t;)u[h].an=f,u[h].ind=p,u[h].extra=x,h+=1;f=0,p+=1}}else u[p].ind=p,u[p].extra=0,p+=1;if(e.l=u,v=y>v?y:v,g.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var M,D,R,L,O=c.a;s=O.length;var V=[];for(i=0;i<s;i+=1){for((M=O[i]).a.sc&&(e.strokeColorAnim=!0),M.a.sw&&(e.strokeWidthAnim=!0),(M.a.fc||M.a.fh||M.a.fs||M.a.fb)&&(e.fillColorAnim=!0),L=0,R=M.s.b,t=0;t<r;t+=1)(D=u[t]).anIndexes[i]=L,(1==R&&""!==D.val||2==R&&""!==D.val&&" "!==D.val||3==R&&(D.n||" "==D.val||t==r-1)||4==R&&(D.n||t==r-1))&&(1===M.s.rn&&V.push(L),L+=1);c.a[i].s.totalChars=L;var N,B=-1;if(1===M.s.rn)for(t=0;t<r;t+=1)B!=(D=u[t]).anIndexes[i]&&(B=D.anIndexes[i],N=V.splice(Math.floor(Math.random()*V.length),1)[0]),D.anIndexes[i]=N}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var a=0,i=0,s=1,o=1;this.ne.v>0?a=this.ne.v/100:i=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(a,i,s,o).get,c=0,u=this.finalS,p=this.finalE,d=this.data.sh;if(2===d)c=l(c=p===u?n>=p?1:0:e(0,t(.5/(p-u)+(n-u)/(p-u),1)));else if(3===d)c=l(c=p===u?n>=p?0:1:1-e(0,t(.5/(p-u)+(n-u)/(p-u),1)));else if(4===d)p===u?c=0:(c=e(0,t(.5/(p-u)+(n-u)/(p-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===d){if(p===u)c=0;else{var f=p-u,h=-f/2+(n=t(e(0,n+.5-u),p-u)),m=f/2;c=Math.sqrt(1-h*h/(m*m))}c=l(c)}else 6===d?(p===u?c=0:(n=t(e(0,n+.5-u),p-u),c=(1+Math.cos(Math.PI+2*Math.PI*n/(p-u)))/2),c=l(c)):(n>=r(u)&&(c=e(0,t(n-u<0?t(p,1)-(u-n):p-n,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;c<y?c=0:(c=(c-y)/g)>1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,a=this.e.v/t+r;if(n>a){var i=n;n=a,a=i}this.finalS=n,this.finalE=a}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},a=PropertyFactory.getProp,i=t.a;this.a={r:i.r?a(e,i.r,0,degToRads,r):n,rx:i.rx?a(e,i.rx,0,degToRads,r):n,ry:i.ry?a(e,i.ry,0,degToRads,r):n,sk:i.sk?a(e,i.sk,0,degToRads,r):n,sa:i.sa?a(e,i.sa,0,degToRads,r):n,s:i.s?a(e,i.s,1,.01,r):n,a:i.a?a(e,i.a,1,0,r):n,o:i.o?a(e,i.o,0,.01,r):n,p:i.p?a(e,i.p,1,0,r):n,sw:i.sw?a(e,i.sw,0,0,r):n,sc:i.sc?a(e,i.sc,1,0,r):n,fc:i.fc?a(e,i.fc,1,0,r):n,fh:i.fh?a(e,i.fh,0,0,r):n,fs:i.fs?a(e,i.fs,0,.01,r):n,fb:i.fb?a(e,i.fb,0,.01,r):n,t:i.t?a(e,i.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,a,i,s,o,l,c,u,p,d,f,h,m,g,y,v,b,x,w=this._moreOptions.alignment.v,E=this._animatorsData,k=this._textData,S=this.mHelper,C=this._renderType,A=this.renderedLetters.length,_=e.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var P,T=x.v;for(this._pathData.r.v&&(T=T.reverse()),s={tLength:0,segments:[]},i=T._length-1,y=0,a=0;a<i;a+=1)P=bez.buildBezierData(T.v[a],T.v[a+1],[T.o[a][0]-T.v[a][0],T.o[a][1]-T.v[a][1]],[T.i[a+1][0]-T.v[a+1][0],T.i[a+1][1]-T.v[a+1][1]]),s.tLength+=P.segmentLength,s.segments.push(P),y+=P.segmentLength;a=i,x.v.c&&(P=bez.buildBezierData(T.v[a],T.v[0],[T.o[a][0]-T.v[a][0],T.o[a][1]-T.v[a][1]],[T.i[0][0]-T.v[0][0],T.i[0][1]-T.v[0][1]]),s.tLength+=P.segmentLength,s.segments.push(P),y+=P.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,d=0,p=1,c=0,u=!0,m=s.segments,o<0&&x.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),p=(h=m[d=m.length-1].points).length-1;o<0;)o+=h[p].partialLength,(p-=1)<0&&(p=(h=m[d-=1].points).length-1);f=(h=m[d].points)[p-1],g=(l=h[p]).partialLength}i=_.length,r=0,n=0;var I,F,M,D,R,L=1.2*e.finalSize*.714,O=!0;M=E.length;var V,N,B,j,z,H,G,W,q,U,X,Q,$=-1,J=o,Z=d,Y=p,K=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,ae=2===e.j?-.5:-1,ie=0,se=!0;for(a=0;a<i;a+=1)if(_[a].n){for(re&&(re+=ne);ie<a;)_[ie].animatorJustifyOffset=re,ie+=1;re=0,se=!0}else{for(F=0;F<M;F+=1)(I=E[F].a).t.propType&&(se&&2===e.j&&(ne+=I.t.v*ae),(R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars)).length?re+=I.t.v*R[0]*ae:re+=I.t.v*R*ae);se=!1}for(re&&(re+=ne);ie<a;)_[ie].animatorJustifyOffset=re,ie+=1}for(a=0;a<i;a+=1){if(S.reset(),j=1,_[a].n)r=0,n+=e.yOffset,n+=O?1:0,o=J,O=!1,this._hasMaskedPath&&(p=Y,f=(h=m[d=Z].points)[p-1],g=(l=h[p]).partialLength,c=0),ee="",X="",q="",Q="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(K!==_[a].line){switch(e.j){case 1:o+=y-e.lineWidths[_[a].line];break;case 2:o+=(y-e.lineWidths[_[a].line])/2}K=_[a].line}$!==_[a].ind&&(_[$]&&(o+=_[$].extra),o+=_[a].an/2,$=_[a].ind),o+=w[0]*_[a].an*.005;var oe=0;for(F=0;F<M;F+=1)(I=E[F].a).p.propType&&((R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars)).length?oe+=I.p.v[0]*R[0]:oe+=I.p.v[0]*R),I.a.propType&&((R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars)).length?oe+=I.a.v[0]*R[0]:oe+=I.a.v[0]*R);for(u=!0,this._pathData.a.v&&(o=.5*_[0].an+(y-this._pathData.f.v-.5*_[0].an-.5*_[_.length-1].an)*$/(i-1),o+=this._pathData.f.v);u;)c+g>=o+oe||!h?(v=(o+oe-c)/l.partialLength,N=f.point[0]+(l.point[0]-f.point[0])*v,B=f.point[1]+(l.point[1]-f.point[1])*v,S.translate(-w[0]*_[a].an*.005,-w[1]*L*.01),u=!1):h&&(c+=l.partialLength,(p+=1)>=h.length&&(p=0,m[d+=1]?h=m[d].points:x.v.c?(p=0,h=m[d=0].points):(c-=l.partialLength,h=null)),h&&(f=l,g=(l=h[p]).partialLength));V=_[a].an/2-_[a].add,S.translate(-V,0,0)}else V=_[a].an/2-_[a].add,S.translate(-V,0,0),S.translate(-w[0]*_[a].an*.005,-w[1]*L*.01,0);for(F=0;F<M;F+=1)(I=E[F].a).t.propType&&(R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?R.length?o+=I.t.v*R[0]:o+=I.t.v*R:R.length?r+=I.t.v*R[0]:r+=I.t.v*R));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(z=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),F=0;F<M;F+=1)(I=E[F].a).a.propType&&((R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars)).length?S.translate(-I.a.v[0]*R[0],-I.a.v[1]*R[1],I.a.v[2]*R[2]):S.translate(-I.a.v[0]*R,-I.a.v[1]*R,I.a.v[2]*R));for(F=0;F<M;F+=1)(I=E[F].a).s.propType&&((R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars)).length?S.scale(1+(I.s.v[0]-1)*R[0],1+(I.s.v[1]-1)*R[1],1):S.scale(1+(I.s.v[0]-1)*R,1+(I.s.v[1]-1)*R,1));for(F=0;F<M;F+=1){if(I=E[F].a,R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars),I.sk.propType&&(R.length?S.skewFromAxis(-I.sk.v*R[0],I.sa.v*R[1]):S.skewFromAxis(-I.sk.v*R,I.sa.v*R)),I.r.propType&&(R.length?S.rotateZ(-I.r.v*R[2]):S.rotateZ(-I.r.v*R)),I.ry.propType&&(R.length?S.rotateY(I.ry.v*R[1]):S.rotateY(I.ry.v*R)),I.rx.propType&&(R.length?S.rotateX(I.rx.v*R[0]):S.rotateX(I.rx.v*R)),I.o.propType&&(R.length?j+=(I.o.v*R[0]-j)*R[0]:j+=(I.o.v*R-j)*R),e.strokeWidthAnim&&I.sw.propType&&(R.length?H+=I.sw.v*R[0]:H+=I.sw.v*R),e.strokeColorAnim&&I.sc.propType)for(W=0;W<3;W+=1)R.length?z[W]+=(I.sc.v[W]-z[W])*R[0]:z[W]+=(I.sc.v[W]-z[W])*R;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(W=0;W<3;W+=1)R.length?G[W]+=(I.fc.v[W]-G[W])*R[0]:G[W]+=(I.fc.v[W]-G[W])*R;I.fh.propType&&(G=R.length?addHueToRGB(G,I.fh.v*R[0]):addHueToRGB(G,I.fh.v*R)),I.fs.propType&&(G=R.length?addSaturationToRGB(G,I.fs.v*R[0]):addSaturationToRGB(G,I.fs.v*R)),I.fb.propType&&(G=R.length?addBrightnessToRGB(G,I.fb.v*R[0]):addBrightnessToRGB(G,I.fb.v*R))}}for(F=0;F<M;F+=1)(I=E[F].a).p.propType&&(R=E[F].s.getMult(_[a].anIndexes[F],k.a[F].s.totalChars),this._hasMaskedPath?R.length?S.translate(0,I.p.v[1]*R[0],-I.p.v[2]*R[1]):S.translate(0,I.p.v[1]*R,-I.p.v[2]*R):R.length?S.translate(I.p.v[0]*R[0],I.p.v[1]*R[1],-I.p.v[2]*R[2]):S.translate(I.p.v[0]*R,I.p.v[1]*R,-I.p.v[2]*R));if(e.strokeWidthAnim&&(q=H<0?0:H),e.strokeColorAnim&&(U="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),e.fillColorAnim&&e.fc&&(X="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(S.translate(0,-e.ls),S.translate(0,w[1]*L*.01+n,0),this._pathData.p.v){b=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var le=180*Math.atan(b)/Math.PI;l.point[0]<f.point[0]&&(le+=180),S.rotate(-le*Math.PI/180)}S.translate(N,B,0),o-=w[0]*_[a].an*.005,_[a+1]&&$!==_[a+1].ind&&(o+=_[a].an/2,o+=.001*e.tr*e.finalSize)}else{switch(S.translate(r,n,0),e.ps&&S.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:S.translate(_[a].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[_[a].line]),0,0);break;case 2:S.translate(_[a].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[_[a].line])/2,0,0)}S.translate(0,-e.ls),S.translate(V,0,0),S.translate(w[0]*_[a].an*.005,w[1]*L*.01,0),r+=_[a].l+.001*e.tr*e.finalSize}"html"===C?ee=S.toCSS():"svg"===C?ee=S.to2dCSS():te=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],Q=j}A<=a?(D=new LetterProps(Q,q,U,X,ee,te),this.renderedLetters.push(D),A+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[a],this.lettersChangedFlag=D.update(Q,q,U,X,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var r,n,a=t.length,i="";for(r=0;r<a;r+=1)"sh"===t[r].ty&&(n=t[r].ks.k,i+=buildShapeString(n,n.i.length,!0,e));return i},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,a){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,a,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),a=createElementID();n.setAttribute("id",a),n.textContent=t.title,this.svgElement.appendChild(n),r+=a}if(t&&t.description){var i=createNS("desc"),s=createElementID();i.setAttribute("id",s),i.textContent=t.description,this.svgElement.appendChild(i),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],a="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(a),a=""):a+=e[t],t+=1;return n.push(a),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=t,n.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var a=r.fWeight,i=r.fStyle;this.layerElement.setAttribute("font-style",i),this.layerElement.setAttribute("font-weight",a)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var c=this.mHelper,u=this.data.singleShape,p=0,d=0,f=!0,h=.001*r.tr*r.finalSize;if(!u||l||r.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!u||0===e){if(s=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var y=createNS("g");s.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(c.reset(),u&&(o[e].n&&(p=-h,d+=r.yOffset,d+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(r,c,o[e].line,p,d),p+=o[e].l||0,p+=h),l){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var x=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else u&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&s&&s.setAttribute("d","")}else{var w=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}w.setAttribute("text-anchor",E),w.setAttribute("letter-spacing",h);var k=this.buildTextContents(r.finalText);for(t=k.length,d=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e].span||createNS("tspan")).textContent=k[e],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",w.appendChild(s),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=s,d+=r.finalLineHeight;this.layerElement.appendChild(w)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,a,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n||(r=i[e],n=this.textSpans[e].span,(a=this.textSpans[e].glyph)&&a.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var a=createElementID();r.setAttribute("id",a),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===n)return;if(this.elements[n]&&!0!==this.elements[n]){var a=t[n].getMatte(this.layers[e].tt);r.setMatte(a)}else this.buildItem(n),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,a=this.elements[n].getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,a=0;a<t;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement()&&(n=this.elements[a].getBaseElement()),a+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var a=this.sequences[n];return a||(a={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=a,this.sequenceList.push(a)),a},processSequence:function(e,t){for(var r=0,n=e.transforms.length,a=t;r<n&&!t;){if(e.transforms[r].transform.mProps._mdf){a=!0;break}r+=1}if(a)for(e.finalTransform.reset(),r=n-1;r>=0;r-=1)e.finalTransform.multiply(e.transforms[r].transform.mProps.v);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,r=null,n=null;function a(){var a,i,s;t||(a=createNS("svg"),i=createNS("filter"),s=createNS("feColorMatrix"),i.setAttribute("id",e),s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),i.appendChild(s),a.appendChild(i),a.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(a.style.display="none"),n=a,document.body.appendChild(n),t=createTag("canvas"),(r=t.getContext("2d")).filter="url(#"+e+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:a,get:function(n){return t||a(),t.width=n.width,t.height=n.height,r.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas},registeredEffects={};function CVEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<n;t+=1){r=null;var a=e.data.ef[t].ty;registeredEffects[a]&&(r=new(0,registeredEffects[a].effect)(e.effectsManager.effectElements[t],e)),r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,a=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(a=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=a,a&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,a=this.element.finalTransform.mat,i=this.element.canvasContext,s=this.masksProperties.length;for(i.beginPath(),e=0;e<s;e+=1)if("n"!==this.masksProperties[e].mode){var o;this.masksProperties[e].inv&&(i.moveTo(0,0),i.lineTo(this.element.globalData.compSize.w,0),i.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),i.lineTo(0,this.element.globalData.compSize.h),i.lineTo(0,0)),n=this.viewData[e].v,t=a.applyToPointArray(n.v[0][0],n.v[0][1],0),i.moveTo(t[0],t[1]);var l=n._length;for(o=1;o<l;o+=1)r=a.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),i.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=a.applyToTriplePoints(n.o[o-1],n.i[0],n.v[0]),i.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),i.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a,i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,i,e);var s,o=r.length;for(a=0;a<o;a+=1)r[a].closed||(s={transforms:n.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(s),r[a].elements.push(s))}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var a,i=e.ks.or.k.length;for(a=0;a<i;a+=1)e.ks.or.k[a].to=null,e.ks.or.k[a].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"===e.ty||"st"===e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var a=new DashProperty(this,e.d,"canvas",this);n.d=a,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,a){var i,s,o,l,c,u,p=e.length-1,d=[],f=[],h=[].concat(a);for(i=p;i>=0;i-=1){if((l=this.searchProcessedElement(e[i]))?t[i]=r[l-1]:e[i]._shouldRender=n,"fl"===e[i].ty||"st"===e[i].ty||"gf"===e[i].ty||"gs"===e[i].ty)l?t[i].style.closed=!1:t[i]=this.createStyleElement(e[i],h),d.push(t[i].style);else if("gr"===e[i].ty){if(l)for(o=t[i].it.length,s=0;s<o;s+=1)t[i].prevViewData[s]=t[i].it[s];else t[i]=this.createGroupElement(e[i]);this.searchShapes(e[i].it,t[i].it,t[i].prevViewData,n,h)}else"tr"===e[i].ty?(l||(u=this.createTransformElement(e[i]),t[i]=u),h.push(t[i]),this.addTransformToStyleList(t[i])):"sh"===e[i].ty||"rc"===e[i].ty||"el"===e[i].ty||"sr"===e[i].ty?l||(t[i]=this.createShapeElement(e[i])):"tm"===e[i].ty||"rd"===e[i].ty||"pb"===e[i].ty||"zz"===e[i].ty||"op"===e[i].ty?(l?(c=t[i]).closed=!1:((c=ShapeModifiers.getModifier(e[i].ty)).init(this,e[i]),t[i]=c,this.shapeModifiers.push(c)),f.push(c)):"rp"===e[i].ty&&(l?(c=t[i]).closed=!0:(c=ShapeModifiers.getModifier(e[i].ty),t[i]=c,c.init(this,e,i,t),this.shapeModifiers.push(c),n=!1),f.push(c));this.addProcessedElement(e[i],i+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),p=f.length,i=0;i<p;i+=1)f[i].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,a,i,s,o,l,c=this.stylesList.length,u=this.globalData.renderer,p=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(o=(l=this.stylesList[e]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),i=l.elements,"st"===o||"gs"===o?(u.ctxStrokeStyle("st"===o?l.co:l.grd),u.ctxLineWidth(l.wi),u.ctxLineCap(l.lc),u.ctxLineJoin(l.lj),u.ctxMiterLimit(l.ml||0)):u.ctxFillStyle("fl"===o?l.co:l.grd),u.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&p.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),r=i.length,t=0;t<r;t+=1){for("st"!==o&&"gs"!==o||(p.beginPath(),l.da&&(p.setLineDash(l.da),p.lineDashOffset=l.do)),a=(s=i[t].trNodes).length,n=0;n<a;n+=1)"m"===s[n].t?p.moveTo(s[n].p[0],s[n].p[1]):"c"===s[n].t?p.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):p.closePath();"st"!==o&&"gs"!==o||(u.ctxStroke(),l.da&&p.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&this.globalData.renderer.ctxFill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var a,i;for(i=e,a=t.length-1;a>=0;a-=1)"tr"===t[a].ty?(i=r[a].transform,this.renderShapeTransform(e,i)):"sh"===t[a].ty||"el"===t[a].ty||"rc"===t[a].ty||"sr"===t[a].ty?this.renderPath(t[a],r[a]):"fl"===t[a].ty?this.renderFill(t[a],r[a],i):"st"===t[a].ty?this.renderStroke(t[a],r[a],i):"gf"===t[a].ty||"gs"===t[a].ty?this.renderGradientFill(t[a],r[a],i):"gr"===t[a].ty?this.renderShape(i,t[a].it,r[a].it):t[a].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,a,i=e.trNodes,s=t.paths,o=s._length;i.length=0;var l=e.transforms.finalTransform;for(a=0;a<o;a+=1){var c=s.shapes[a];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),i.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(i.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n,a=t.style;if(!a.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var i,s=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(1===e.t)n=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),p=t.h.v;p>=1?p=.99:p<=-1&&(p=-.99);var d=c*p,f=Math.cos(u+t.a.v)*d+o[0],h=Math.sin(u+t.a.v)*d+o[1];n=s.createRadialGradient(f,h,0,o[0],o[1],c)}var m=e.g.p,g=t.g.c,y=1;for(i=0;i<m;i+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[2*i+1]),n.addColorStop(g[4*i]/100,"rgba("+g[4*i+1]+","+g[4*i+2]+","+g[4*i+3]+","+y+")");a.grd=n}a.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,a=t.d;a&&(a._mdf||this._isFirstFrame)&&(n.da=a.dashArray,n.do=a.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,a,i,s,o,l,c,u,p,d,f,h,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,y=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var v=this.data.singleShape,b=.001*e.tr*e.finalSize,x=0,w=0,E=!0,k=0;for(n=0;n<a;n+=1){s=(i=this.globalData.fontManager.getCharData(e.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&i.data||{},y.reset(),v&&g[n].n&&(x=-b,w+=e.yOffset,w+=E?1:0,E=!1),p=(c=s.shapes?s.shapes[0].it:[]).length,y.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,y,g[n].line,x,w),f=createSizedArray(p-1);var S=0;for(u=0;u<p;u+=1)if("sh"===c[u].ty){for(l=c[u].ks.k.i.length,d=c[u].ks.k,h=[],o=1;o<l;o+=1)1===o&&h.push(y.applyToX(d.v[0][0],d.v[0][1],0),y.applyToY(d.v[0][0],d.v[0][1],0)),h.push(y.applyToX(d.o[o-1][0],d.o[o-1][1],0),y.applyToY(d.o[o-1][0],d.o[o-1][1],0),y.applyToX(d.i[o][0],d.i[o][1],0),y.applyToY(d.i[o][0],d.i[o][1],0),y.applyToX(d.v[o][0],d.v[o][1],0),y.applyToY(d.v[o][0],d.v[o][1],0));h.push(y.applyToX(d.o[o-1][0],d.o[o-1][1],0),y.applyToY(d.o[o-1][0],d.o[o-1][1],0),y.applyToX(d.i[0][0],d.i[0][1],0),y.applyToY(d.i[0][0],d.i[0][1],0),y.applyToX(d.v[0][0],d.v[0][1],0),y.applyToY(d.v[0][0],d.v[0][1],0)),f[S]=h,S+=1}v&&(x+=g[n].l,x+=b),this.textSpans[k]?this.textSpans[k].elem=f:this.textSpans[k]={elem:f},k+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,a,i;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;t=l.length;var c,u,p=null,d=null,f=null,h=this.globalData.renderer;for(e=0;e<t;e+=1)if(!l[e].n){if((s=o[e])&&(h.save(),h.ctxTransform(s.p),h.ctxOpacity(s.o)),this.fill){for(s&&s.fc?p!==s.fc&&(h.ctxFillStyle(s.fc),p=s.fc):p!==this.values.fill&&(p=this.values.fill,h.ctxFillStyle(this.values.fill)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(i=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),a=2;a<i;a+=6)this.globalData.canvasContext.bezierCurveTo(u[a],u[a+1],u[a+2],u[a+3],u[a+4],u[a+5]);this.globalData.canvasContext.closePath(),h.ctxFill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,h.ctxLineWidth(s.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,h.ctxLineWidth(this.values.sWidth)),s&&s.sc?d!==s.sc&&(d=s.sc,h.ctxStrokeStyle(s.sc)):d!==this.values.stroke&&(d=this.values.stroke,h.ctxStrokeStyle(this.values.stroke)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(i=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),a=2;a<i;a+=6)this.globalData.canvasContext.bezierCurveTo(u[a],u[a+1],u[a+2],u[a+3],u[a+4],u[a+5]);this.globalData.canvasContext.closePath(),h.ctxStroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),a=this.img.width,i=this.img.height,s=a/i,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?t=(r=i)*o:r=(t=a)/o,n.drawImage(this.img,(a-t)/2,(i-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){1===e[0]&&0===e[1]&&0===e[4]&&1===e[5]&&0===e[12]&&0===e[13]||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,n){this.canvasContext.fillRect(e,t,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var r,n,a,i;if(this.reset(),e?(r=e,n=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",c=l.substr(0,4),u=l.substr(4);a=r/n,(i=this.transformCanvas.w/this.transformCanvas.h)>a&&"meet"===o||i<a&&"slice"===o?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(i<a&&"meet"===o||i>a&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(i<a&&"meet"===o||i>a&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===u&&(i>a&&"meet"===o||i<a&&"slice"===o)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===u&&(i>a&&"meet"===o||i<a&&"slice"===o)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t,r=this.stack[this.cArrPos],n=r.transform,a=this.cTr.props;for(t=0;t<16;t+=1)a[t]=n[t];if(e){this.nativeContext.restore();var i=this.stack[this.cArrPos+1];this.appliedFillStyle=i.fillStyle,this.appliedStrokeStyle=i.strokeStyle,this.appliedLineWidth=i.lineWidth,this.appliedLineCap=i.lineCap,this.appliedLineJoin=i.lineJoin,this.appliedMiterLimit=i.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var a=this.stack[this.cArrPos];a.opacity=n.opacity,a.fillStyle=n.fillStyle,a.strokeStyle=n.strokeStyle,a.lineWidth=n.lineWidth,a.lineCap=n.lineCap,a.lineJoin=n.lineJoin,a.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,a,i,s,o=e.sh.v,l=e.transformers,c=o._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,o.v[r]),a=this.getTransformedPoint(l,o.o[r]),i=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(n,a,i,s,t);o.c&&(n=this.getTransformedPoint(l,o.v[r]),a=this.getTransformedPoint(l,o.o[r]),i=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(n,a,i,s,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,a){this.getBoundsOfCurve(e,t,r,n);var i=this.shapeBoundingBox;a.x=bmMin(i.left,a.x),a.xMax=bmMax(i.right,a.xMax),a.y=bmMin(i.top,a.y),a.yMax=bmMax(i.bottom,a.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,n){for(var a,i,s,o,l,c,u,p=[[e[0],n[0]],[e[1],n[1]]],d=0;d<2;++d)i=6*e[d]-12*t[d]+6*r[d],a=-3*e[d]+9*t[d]-9*r[d]+3*n[d],s=3*t[d]-3*e[d],i|=0,s|=0,0==(a|=0)&&0===i||(0===a?(o=-s/i)>0&&o<1&&p[d].push(this.calculateF(o,e,t,r,n,d)):(l=i*i-4*s*a)>=0&&((c=(-i+bmSqrt(l))/(2*a))>0&&c<1&&p[d].push(this.calculateF(c,e,t,r,n,d)),(u=(-i-bmSqrt(l))/(2*a))>0&&u<1&&p[d].push(this.calculateF(u,e,t,r,n,d))));this.shapeBoundingBox.left=bmMin.apply(null,p[0]),this.shapeBoundingBox.top=bmMin.apply(null,p[1]),this.shapeBoundingBox.right=bmMax.apply(null,p[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,p[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,a,i){return bmPow(1-e,3)*t[i]+3*bmPow(1-e,2)*e*r[i]+3*(1-e)*bmPow(e,2)*n[i]+bmPow(e,3)*a[i]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var n=0;n<e.keyframes.length;n+=1){var a=e.keyframes[n].s;a>r&&(r=a)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,a="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=a,n.webkitTransform=a}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var n,a,i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var s=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=s}var l,c,u,p=e.l;a=p.length;var d,f=this.mHelper,h="",m=0;for(n=0;n<a;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(e.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=y?y.data:null,f.reset(),g&&g.shapes&&g.shapes.length&&(d=g.shapes[0].it,f.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(f,d),l.setAttribute("d",h)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(u);var v=u.getBBox();u.setAttribute("width",v.width+2),u.setAttribute("height",v.height+2),u.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=u.style,x="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=x,b.webkitTransform=x,p[n].yOffset=v.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);c.appendChild(u)}}else if(l.textContent=p[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var w=l.style,E="translate3d(0,"+-e.finalSize/1.2+"px,0)";w.transform=E,w.webkitTransform=E}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,n,a,i,s,o=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?o+=1:(i=this.textSpans[r],s=this.textPaths[r],a=l[o],o+=1,a._mdf.m&&(this.isMasked?i.setAttribute("transform",a.m):(i.style.webkitTransform=a.m,i.style.transform=a.m)),i.style.opacity=a.o,a.sw&&a._mdf.sw&&s.setAttribute("stroke-width",a.sw),a.sc&&a._mdf.sc&&s.setAttribute("stroke",a.sc),a.fc&&a._mdf.fc&&(s.setAttribute("fill",a.fc),s.style.color=a.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var p="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=p,e.webkitTransform=p}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,n,a=this.comp.threeDElements.length;for(e=0;e<a;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){r=t.perspectiveElem.style,n=t.container.style;var i=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=i,r.webkitPerspective=i,n.transformOrigin=s,n.mozTransformOrigin=s,n.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a;a=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var i=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),s=[a[0]/i,a[1]/i,a[2]/i],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var p,d,f;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(p=this.comp.threeDElements[e]).type){if(u){var h=this.mat.toCSS();(f=p.container.style).transform=h,f.webkitTransform=h}this.pe._mdf&&((d=p.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var a,i,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(i=this.elements[s],a=(this.layers[s].ddd?this.getThreeDContainerByPos(s):i.getBaseElement())||a),s+=1;a?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,a):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,n,a=createTag("div");styleDiv(a);var i=createTag("div");if(styleDiv(i),"3d"===t){(r=a.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=i.style).transform=o,n.webkitTransform=o}a.appendChild(i);var l={container:i,perspectiveElem:a,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var a,i=this.threeDElements[r].startPos;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(a=this.elements[i].getBaseElement()),i+=1;a?this.threeDElements[r].container.insertBefore(e,a):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),n.overflow="hidden";var a=createNS("svg");a.setAttribute("width","1"),a.setAttribute("height","1"),styleDiv(a),this.resizerElem.appendChild(a);var i=createNS("defs");a.appendChild(i),this.data=e,this.setupGlobalData(e,a),this.globalData.defs=i,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,r,n,a=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight,s=a/i;this.globalData.compSize.w/this.globalData.compSize.h>s?(e=a/this.globalData.compSize.w,t=a/this.globalData.compSize.w,r=0,n=(i-this.globalData.compSize.h*(a/this.globalData.compSize.w))/2):(e=i/this.globalData.compSize.h,t=i/this.globalData.compSize.h,r=(a-this.globalData.compSize.w*(i/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1){var a=this.threeDElements[e].perspectiveElem.style;a.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",a.perspective=a.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var a=this.createComp(e[t],n,this.globalData.comp,null);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t};function _typeof$2(e){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}function seedRandom(e,t){var r=this,n=256,a="random",i=t.pow(n,6),s=t.pow(2,52),o=2*s,l=255;function c(e){var t,r=e.length,a=this,i=0,s=a.i=a.j=0,o=a.S=[];for(r||(e=[r++]);i<n;)o[i]=i++;for(i=0;i<n;i++)o[i]=o[s=l&s+e[i%r]+(t=o[i])],o[s]=t;a.g=function(e){for(var t,r=0,i=a.i,s=a.j,o=a.S;e--;)t=o[i=l&i+1],r=r*n+o[l&(o[i]=o[s=l&s+t])+(o[s]=t)];return a.i=i,a.j=s,r}}function u(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function p(e,t){var r,n=[],a=_typeof$2(e);if(t&&"object"==a)for(r in e)try{n.push(p(e[r],t-1))}catch(e){}return n.length?n:"string"==a?e:e+"\0"}function d(e,t){for(var r,n=e+"",a=0;a<n.length;)t[l&a]=l&(r^=19*t[l&a])+n.charCodeAt(a++);return f(t)}function f(e){return String.fromCharCode.apply(0,e)}t["seed"+a]=function(l,h,m){var g=[],y=d(p((h=!0===h?{entropy:!0}:h||{}).entropy?[l,f(e)]:null===l?function(){try{var t=new Uint8Array(n);return(r.crypto||r.msCrypto).getRandomValues(t),f(t)}catch(t){var a=r.navigator,i=a&&a.plugins;return[+new Date,r,i,r.screen,f(e)]}}():l,3),g),v=new c(g),b=function(){for(var e=v.g(6),t=i,r=0;e<s;)e=(e+r)*n,t*=n,r=v.g(1);for(;e>=o;)e/=2,t/=2,r>>>=1;return(e+r)/t};return b.int32=function(){return 0|v.g(4)},b.quick=function(){return v.g(4)/4294967296},b.double=b,d(f(v.S),e),(h.pass||m||function(e,r,n,i){return i&&(i.S&&u(i,v),e.state=function(){return u(v,{})}),n?(t[a]=e,r):e})(b,y,"global"in h?h.global:this==t,h.state)},d(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,a=[];for(r=0;r<n;r+=1)a[r]=-e[r];return a}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t)||"string"===r||"string"===n)return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var a=0,i=e.length,s=t.length,o=[];a<i||a<s;)("number"==typeof e[a]||e[a]instanceof Number)&&("number"==typeof t[a]||t[a]instanceof Number)?o[a]=e[a]+t[a]:o[a]=void 0===t[a]?e[a]:e[a]||t[a],a+=1;return o}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e,10)),"string"===n&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var a=0,i=e.length,s=t.length,o=[];a<i||a<s;)("number"==typeof e[a]||e[a]instanceof Number)&&("number"==typeof t[a]||t[a]instanceof Number)?o[a]=e[a]-t[a]:o[a]=void 0===t[a]?e[a]:e[a]||t[a],a+=1;return o}return 0}function mul(e,t){var r,n,a,i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(a=e.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e[n]*t;return r}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(a=t.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,a,i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(a=e.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e[n]/t;return r}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(a=t.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),a=0;for(r=0;r<n;r+=1)a+=Math.pow(t[r]-e[r],2);return Math.sqrt(a)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],a=e[1],i=e[2],s=Math.max(n,a,i),o=Math.min(n,a,i),l=(s+o)/2;if(s===o)t=0,r=0;else{var c=s-o;switch(r=l>.5?c/(2-s-o):c/(s+o),s){case n:t=(a-i)/c+(a<i?6:0);break;case a:t=(i-n)/c+2;break;case i:t=(n-a)/c+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,a=e[0],i=e[1],s=e[2];if(0===i)t=s,n=s,r=s;else{var o=s<.5?s*(1+i):s+i-s*i,l=2*s-o;t=hue2rgb(l,o,a+1/3),r=hue2rgb(l,o,a),n=hue2rgb(l,o,a-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,a){if(void 0!==n&&void 0!==a||(n=t,a=r,t=0,r=1),r<t){var i=r;r=t,t=i}if(e<=t)return n;if(e>=r)return a;var s,o=r===t?0:(e-t)/(r-t);if(!n.length)return n+(a-n)*o;var l=n.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=n[s]+(a[s]-n[s])*o;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var a=createTypedArray("float32",n),i=BMMath.random();for(r=0;r<n;r+=1)a[r]=e[r]+i*(t[r]-e[r]);return a}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var a,i=e.length,s=shapePool.newElement();s.setPathData(!!n,i);var o,l,c=[0,0];for(a=0;a<i;a+=1)o=t&&t[a]?t[a]:c,l=r&&r[a]?r[a]:c,s.setTripleAt(e[a][0],e[a][1],l[0]+e[a][0],l[1]+e[a][1],o[0]+e[a][0],o[1]+e[a][1],a,!0);return s}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,n,a=this.pv.length?this.pv.length:1,i=createTypedArray("float32",a),s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<a;n+=1)i[n]+=-t+2*t*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),c=createTypedArray("float32",a);if(a>1){for(n=0;n<a;n+=1)c[n]=this.pv[n]+i[n]+(-t+2*t*BMMath.random())*l;return c}return this.pv+i[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,a){return applyEase(easeOutBez,e,t,r,n,a)}function easeIn(e,t,r,n,a){return applyEase(easeInBez,e,t,r,n,a)}function ease(e,t,r,n,a){return applyEase(easeInOutBez,e,t,r,n,a)}function applyEase(e,t,r,n,a,i){void 0===a?(a=r,i=n):t=(t-r)/(n-r),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(a)){var o,l=a.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(i[o]-a[o])*s+a[o];return c}return(i-a)*s+a}function nearestKey(e){var t,r,n,a=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<a-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var i={};return i.index=r,i.time=n/elem.comp.globalData.frameRate,i}function key(e){var t,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=a.length,r=0;r<n;r+=1)t[r]=a[r],t.value[r]=a[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var r,n=createSizedArray(t.viewData.length),a=t.viewData.length;for(r=0;r<a;r+=1)n[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<a;){if(t.masksProperties[r].nm===e)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(!e.numKeys)return 0;var a;a="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var i="unidimensional"===r?new Number(a):Object.assign({},a);return i.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,i.value="unidimensional"===r?a[0]:a,i},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(a){return a?"unidimensional"===a.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,a=t.pv*n,i=new Number(a);return i.value=a,r(i,t,"unidimensional"),function(){return t.k&&t.getValue(),a=t.v*n,i.value!==a&&((i=new Number(a)).value=a,r(i,t,"unidimensional")),i}}(a):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,a=e.data&&e.data.l||e.pv.length,i=createTypedArray("float32",a),s=createTypedArray("float32",a);return i.value=s,r(i,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<a;t+=1)s[t]=e.v[t]*n,i[t]=s[t];return i}}(a):n}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var r,n,a,i;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?i=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(a=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?i():[r(),n(),a?a():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function a(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function i(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function s(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function o(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(c){var u;function p(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return p.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return p.effect;case"ADBE Text Properties":return p.textInterface;default:return null}}p.getMatrix=e,p.invertPoint=s,p.applyPoint=i,p.toWorld=r,p.toWorldVec=t,p.fromWorld=a,p.fromWorldVec=n,p.toComp=r,p.fromComp=o,p.sampleImage=l,p.sourceRectAtTime=c.sourceRectAtTime.bind(c),p._elem=c;var d=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(p,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),p.startTime=c.data.st,p.index=c.data.ind,p.source=c.data.refId,p.height=0===c.data.ty?c.data.h:100,p.width=0===c.data.ty?c.data.w:100,p.inPoint=c.data.ip/c.comp.globalData.frameRate,p.outPoint=c.data.op/c.comp.globalData.frameRate,p._name=c.data.nm,p.registerMaskInterface=function(e){p.mask=new MaskManagerInterface(e,c)},p.registerEffectsInterface=function(e){p.effect=e},p}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){function e(r,n,a,i){function s(e){for(var t=r.ef,n=0,a=t.length;n<a;){if(e===t[n].nm||e===t[n].mn||e===t[n].ix)return 5===t[n].ty?c[n]:c[n]();n+=1}throw new Error}var o,l=propertyGroupFactory(s,a),c=[],u=r.ef.length;for(o=0;o<u;o+=1)5===r.ef[o].ty?c.push(e(r.ef[o],n.effectElements[o],n.effectElements[o].propertyGroup,i)):c.push(t(n.effectElements[o],r.ef[o].ty,i,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function t(e,t,r,n){var a=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===t?r.comp.compInterface(e.p.v):a()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var n,a=[],i=t.data.ef,s=t.effectsManager.effectElements.length;for(n=0;n<s;n+=1)a.push(e(i[n],t.effectsManager.effectElements[n],r,t));var o=t.data.ef||[],l=function(e){for(n=0,s=o.length;n<s;){if(e===o[n].nm||e===o[n].mn||e===o[n].ix)return a[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),ShapePathInterface=function(e,t,r){var n=t.sh;function a(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?a.path:null}var i=propertyGroupFactory(a,r);return n.setGroupProperty(PropertyInterface("Path",i)),Object.defineProperties(a,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),a},ShapeExpressionInterface=function(){function e(e,s,d){var f,h=[],m=e?e.length:0;for(f=0;f<m;f+=1)"gr"===e[f].ty?h.push(t(e[f],s[f],d)):"fl"===e[f].ty?h.push(r(e[f],s[f],d)):"st"===e[f].ty?h.push(a(e[f],s[f],d)):"tm"===e[f].ty?h.push(i(e[f],s[f],d)):"tr"===e[f].ty||("el"===e[f].ty?h.push(o(e[f],s[f],d)):"sr"===e[f].ty?h.push(l(e[f],s[f],d)):"sh"===e[f].ty?h.push(ShapePathInterface(e[f],s[f],d)):"rc"===e[f].ty?h.push(c(e[f],s[f],d)):"rd"===e[f].ty?h.push(u(e[f],s[f],d)):"rp"===e[f].ty?h.push(p(e[f],s[f],d)):"gf"===e[f].ty?h.push(n(e[f],s[f],d)):h.push((e[f],s[f],function(){return null})));return h}function t(t,r,n){var a=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return a.content;default:return a.transform}};a.propertyGroup=propertyGroupFactory(a,n);var i=function(t,r,n){var a,i=function(e){for(var t=0,r=a.length;t<r;){if(a[t]._name===e||a[t].mn===e||a[t].propertyIndex===e||a[t].ix===e||a[t].ind===e)return a[t];t+=1}return"number"==typeof e?a[e-1]:null};i.propertyGroup=propertyGroupFactory(i,n),a=e(t.it,r.it,i.propertyGroup),i.numProperties=a.length;var o=s(t.it[t.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.transform=o,i.propertyIndex=t.cix,i._name=t.nm,i}(t,r,a.propertyGroup),o=s(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.content=i,a.transform=o,Object.defineProperty(a,"_name",{get:function(){return t.nm}}),a.numProperties=t.np,a.propertyIndex=t.ix,a.nm=t.nm,a.mn=t.mn,a}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(e,t,r){function n(e){return"Start Point"===e||"start point"===e?n.startPoint:"End Point"===e||"end point"===e?n.endPoint:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function a(e,t,r){var n,a=propertyGroupFactory(c,r),i=propertyGroupFactory(l,a);function s(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var o=e.d?e.d.length:0,l={};for(n=0;n<o;n+=1)s(n),t.d.dataProps[n].p.setGroupProperty(i);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",a)),t.o.setGroupProperty(PropertyInterface("Opacity",a)),t.w.setGroupProperty(PropertyInterface("Stroke Width",a)),c}function i(e,t,r){function n(t){return t===e.e.ix||"End"===t||"end"===t?n.end:t===e.s.ix?n.start:t===e.o.ix?n.offset:null}var a=propertyGroupFactory(n,r);return n.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",a)),t.e.setGroupProperty(PropertyInterface("End",a)),t.o.setGroupProperty(PropertyInterface("Offset",a)),n.propertyIndex=e.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),n.mn=e.mn,n}function s(e,t,r){function n(t){return e.a.ix===t||"Anchor Point"===t?n.anchorPoint:e.o.ix===t||"Opacity"===t?n.opacity:e.p.ix===t||"Position"===t?n.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?n.rotation:e.s.ix===t||"Scale"===t?n.scale:e.sk&&e.sk.ix===t||"Skew"===t?n.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?n.skewAxis:null}var a=propertyGroupFactory(n,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",a)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",a)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",a)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",a)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",a)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",a)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",a))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",a)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),n.ty="tr",n.mn=e.mn,n.propertyGroup=r,n}function o(e,t,r){function n(t){return e.p.ix===t?n.position:e.s.ix===t?n.size:null}var a=propertyGroupFactory(n,r);n.propertyIndex=e.ix;var i="tm"===t.sh.ty?t.sh.prop:t.sh;return i.s.setGroupProperty(PropertyInterface("Size",a)),i.p.setGroupProperty(PropertyInterface("Position",a)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(i.s)},position:{get:ExpressionPropertyInterface(i.p)},_name:{value:e.nm}}),n.mn=e.mn,n}function l(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.rotation:e.pt.ix===t?n.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?n.outerRadius:e.os.ix===t?n.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?n.innerRoundness:null:n.innerRadius}var a=propertyGroupFactory(n,r),i="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,i.or.setGroupProperty(PropertyInterface("Outer Radius",a)),i.os.setGroupProperty(PropertyInterface("Outer Roundness",a)),i.pt.setGroupProperty(PropertyInterface("Points",a)),i.p.setGroupProperty(PropertyInterface("Position",a)),i.r.setGroupProperty(PropertyInterface("Rotation",a)),e.ir&&(i.ir.setGroupProperty(PropertyInterface("Inner Radius",a)),i.is.setGroupProperty(PropertyInterface("Inner Roundness",a))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(i.p)},rotation:{get:ExpressionPropertyInterface(i.r)},points:{get:ExpressionPropertyInterface(i.pt)},outerRadius:{get:ExpressionPropertyInterface(i.or)},outerRoundness:{get:ExpressionPropertyInterface(i.os)},innerRadius:{get:ExpressionPropertyInterface(i.ir)},innerRoundness:{get:ExpressionPropertyInterface(i.is)},_name:{value:e.nm}}),n.mn=e.mn,n}function c(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?n.size:null}var a=propertyGroupFactory(n,r),i="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,i.p.setGroupProperty(PropertyInterface("Position",a)),i.s.setGroupProperty(PropertyInterface("Size",a)),i.r.setGroupProperty(PropertyInterface("Rotation",a)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(i.p)},roundness:{get:ExpressionPropertyInterface(i.r)},size:{get:ExpressionPropertyInterface(i.s)},_name:{value:e.nm}}),n.mn=e.mn,n}function u(e,t,r){function n(t){return e.r.ix===t||"Round Corners 1"===t?n.radius:null}var a=propertyGroupFactory(n,r),i=t;return n.propertyIndex=e.ix,i.rd.setGroupProperty(PropertyInterface("Radius",a)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(i.rd)},_name:{value:e.nm}}),n.mn=e.mn,n}function p(e,t,r){function n(t){return e.c.ix===t||"Copies"===t?n.copies:e.o.ix===t||"Offset"===t?n.offset:null}var a=propertyGroupFactory(n,r),i=t;return n.propertyIndex=e.ix,i.c.setGroupProperty(PropertyInterface("Copies",a)),i.o.setGroupProperty(PropertyInterface("Offset",a)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(i.c)},offset:{get:ExpressionPropertyInterface(i.o)},_name:{value:e.nm}}),n.mn=e.mn,n}return function(t,r,n){var a;function i(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?n:a[e-1];for(var t=0,r=a.length;t<r;){if(a[t]._name===e)return a[t];t+=1}return null}return i.propertyGroup=propertyGroupFactory(i,(function(){return n})),a=e(t,r,i.propertyGroup),i.numProperties=a.length,i._name="Contents",i}}(),TextExpressionInterface=function(e){var t;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return t&&r===t.value||((t=new String(r)).value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function n(e){if(r[e])return t=e,"object"===_typeof(r=r[e])?n:r;var a=e.indexOf(t);if(-1!==a){var i=parseInt(e.substr(a+t.length),10);return"object"===_typeof(r=r[i])?n:r}return""}return function(){return t="",r=e.getFootageData(),n}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var a;for(a=0;a<t.length;a+=1)n+=Math.pow(r[a]-t[a],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=-.001,a=this.getValueAtTime(e),i=this.getValueAtTime(e+n);if(a.length)for(t=createTypedArray("float32",a.length),r=0;r<a.length;r+=1)t[r]=(i[r]-a[r])/n;else t=(i-a)/n;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,a,i,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(l<=u)return this.pv;if(r?a=u-(n=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),n=u-(a=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-a)/n)%2!=0)return this.getValueAtTime((n-(l-a)%n+a)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(a/this.comp.globalData.frameRate,0),d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-a)%n+a)/this.comp.globalData.frameRate,0),h=Math.floor((l-a)/n);if(this.pv.length){for(s=(o=new Array(p.length)).length,i=0;i<s;i+=1)o[i]=(d[i]-p[i])*h+f[i];return o}return(d-p)*h+f}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,i=0;i<s;i+=1)o[i]=m[i]+(m[i]-g[i])*((l-u)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-u)/.001*(m-g)}}return this.getValueAtTime(((l-a)%n+a)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,a,i,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(l>=u)return this.pv;if(r?a=u+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),n=(a=c[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/n)%2==0)return this.getValueAtTime(((u-l)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),d=this.getValueAtTime(a/this.comp.globalData.frameRate,0),f=this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0),h=Math.floor((u-l)/n)+1;if(this.pv.length){for(s=(o=new Array(p.length)).length,i=0;i<s;i+=1)o[i]=f[i]-(d[i]-p[i])*h;return o}return f-(d-p)*h}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,i=0;i<s;i+=1)o[i]=m[i]+(m[i]-g[i])*(u-l)/.001;return o}return m+(m-g)*(u-l)/.001}}return this.getValueAtTime((n-((u-l)%n+u))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,a=this.comp.renderedFrame/this.comp.globalData.frameRate,i=a-e,s=t>1?(a+e-i)/(t-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(n=this.getValueAtTime(i+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}function n(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(e);t.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var a=this.sk.getValueAtTime(e),i=this.sa.getValueAtTime(e);t.skewFromAxis(-a*this.sk.mult,i*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(e);t.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),c=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var p=this.px.getValueAtTime(e),d=this.py.getValueAtTime(e);if(this.data.p.z){var f=this.pz.getValueAtTime(e);t.translate(p*this.px.mult,d*this.py.mult,-f*this.pz.mult)}else t.translate(p*this.px.mult,d*this.py.mult,0)}else{var h=this.p.getValueAtTime(e);t.translate(h[0]*this.p.mult,h[1]*this.p.mult,-h[2]*this.p.mult)}return t}function a(){return this.v.clone(new Matrix)}var i=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var s=i(e,t,r);return s.dynamicProperties.length?s.getValueAtTime=n.bind(s):s.getValueAtTime=a.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(n,a,i,o,l){var c=s(n,a,i,o,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===a.a?a.k.length:0,c.propertyIndex=a.ix;var u=0;return 0!==i&&(u=createTypedArray("float32",1===a.a?a.k[0].s.length:a.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,a,c),c.k&&l.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var r,n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0));var a=n._length,i=n[e],s=n.v,o=createSizedArray(a);for(r=0;r<a;r+=1)o[r]="i"===e||"o"===e?[i[r][0]-s[r][0],i[r][1]-s[r][1]]:[i[r][0],i[r][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,a=this._segmentsLength,i=a.lengths,s=a.totalLength*e,o=0,l=i.length,c=0;o<l;){if(c+i[o].addedLength>s){var u=o,p=r.c&&o===l-1?0:o+1,d=(s-c)/i[o].addedLength;n=bez.getPointInSegment(r.v[u],r.v[p],r.o[u],r.i[p],d,i[o]);break}c+=i[o].addedLength,o+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),a=this.pointOnPath(e+.001,t),i=a[0]-n[0],s=a[1]-n[1],o=Math.sqrt(Math.pow(i,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[i/o,s/o]:[-s/o,i/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],o),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,a){var i=u(e,t,r,n,a);return i.propertyIndex=t.ix,i.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,i):4===r&&expressionHelpers.searchExpressions(e,t.ks,i),i.k&&e.addDynamicProperty(i),i}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var r,n,a=createNS("feMerge");for(a.setAttribute("result",e),n=0;n<t.length;n+=1)(r=createNS("feMergeNode")).setAttribute("in",t[n]),a.appendChild(r),a.appendChild(r);return a}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,n,a){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=i,i.setAttribute("result",n+"_tint_1"),e.appendChild(i),(i=createNS("feColorMatrix")).setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",n+"_tint_2"),e.appendChild(i),this.matrixFilter=i;var s=this.createMergeNode(n,[a,n+"_tint_1",n+"_tint_2"]);e.appendChild(s)}function SVGFillFilter(e,t,r,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",n),e.appendChild(a),this.matrixFilter=a}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(a);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("result",n),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),i.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),i.appendChild(l),this.feFuncB=l,e.appendChild(i)}function SVGProLevelsFilter(e,t,r,n){this.filterManager=t;var a=this.filterManager.effectElements,i=createNS("feComponentTransfer");(a[10].p.k||0!==a[10].p.v||a[11].p.k||1!==a[11].p.v||a[12].p.k||1!==a[12].p.v||a[13].p.k||0!==a[13].p.v||a[14].p.k||1!==a[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(a[17].p.k||0!==a[17].p.v||a[18].p.k||1!==a[18].p.v||a[19].p.k||1!==a[19].p.v||a[20].p.k||0!==a[20].p.v||a[21].p.k||1!==a[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(a[24].p.k||0!==a[24].p.v||a[25].p.k||1!==a[25].p.v||a[26].p.k||1!==a[26].p.v||a[27].p.k||0!==a[27].p.v||a[28].p.k||1!==a[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(a[31].p.k||0!==a[31].p.v||a[32].p.k||1!==a[32].p.v||a[33].p.k||1!==a[33].p.v||a[34].p.k||0!==a[34].p.v||a[35].p.k||1!==a[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(i)),(a[3].p.k||0!==a[3].p.v||a[4].p.k||1!==a[4].p.v||a[5].p.k||1!==a[5].p.v||a[6].p.k||0!==a[6].p.v||a[7].p.k||1!==a[7].p.v)&&((i=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("result",n),e.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(e,t,r,n,a){var i=t.container.globalData.renderConfig.filterSize,s=t.data.fs||i;e.setAttribute("x",s.x||i.x),e.setAttribute("y",s.y||i.y),e.setAttribute("width",s.width||i.width),e.setAttribute("height",s.height||i.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",n+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",n+"_drop_shadow_1"),l.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",n+"_drop_shadow_3"),u.setAttribute("in2",n+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(u);var p=this.createMergeNode(n,[n+"_drop_shadow_4",a]);e.appendChild(p)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,a=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var i=createNS("mask"),s=createElementID();i.setAttribute("id",s),i.setAttribute("mask-type","alpha"),i.appendChild(t),this.elem.globalData.defs.appendChild(i);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");a[0];)o.appendChild(a[0]);this.elem.layerElement.appendChild(o),this.masker=i,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(a=this.elem.layerElement.children||this.elem.layerElement.childNodes;a.length;)this.elem.layerElement.removeChild(a[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var r,n,a=this.paths.length;for(t=0;t<a;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var i;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();i="0 0 0 "+l*s+" ";var c,u=l*(o-s),p=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/p);for(c=0;c<d;c+=1)i+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";i+="0 "+10*l+" 0 0"}else i="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",i)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*f[0])+","+bmFloor(255*f[1])+","+bmFloor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,a=n[0]+" "+r[0]+" "+t[0],i=n[1]+" "+r[1]+" "+t[1],s=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",a),this.feFuncG.setAttribute("tableValues",i),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,n,a){for(var i,s,o=0,l=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:256}),p=0,d=a-n,f=t-e;o<=256;)s=(i=o/256)<=l?f<0?a:n:i>=c?f<0?n:a:n+d*Math.pow((i-e)/f,1/r),u[p]=s,p+=1,o+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=r*Math.cos(n),i=r*Math.sin(n);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",i)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var a=createNS("feGaussianBlur");a.setAttribute("result",n),e.appendChild(a),this.feGaussianBlur=a}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var n,a=r.children,i=0,s=a.length;i<s&&a[i]!==e.layerElement;)i+=1;i<=s-2&&(n=a[i+1]);var o=createNS("use");o.setAttribute("href","#"+t),n?r.insertBefore(o,n):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var a=e.globalData.defs;a.appendChild(n);var i=createNS("symbol");i.setAttribute("id",r),this.replaceInParent(t,r),i.appendChild(t.layerElement),a.appendChild(i);var s=createNS("use");s.setAttribute("href","#"+r),n.appendChild(s),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,n=t.length;r<n;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,a=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+a);var i=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",i)}},TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,n=t[1].p.v,a=1===t[2].p.v,i=t[3].p.v,s=a?i:t[4].p.v,o=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*s,.01*i,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())}},__webpack_module_cache__={},deferred,leafPrototypes,getProto;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(e,t,r,n)=>{if(!t){var a=1/0;for(l=0;l<deferred.length;l++){for(var[t,r,n]=deferred[l],i=!0,s=0;s<t.length;s++)(!1&n||a>=n)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[s])))?t.splice(s--,1):(i=!1,n<a&&(a=n));if(i){deferred.splice(l--,1);var o=r();void 0!==o&&(e=o)}}return e}n=n||0;for(var l=deferred.length;l>0&&deferred[l-1][2]>n;l--)deferred[l]=deferred[l-1];deferred[l]=[t,r,n]},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);__webpack_require__.r(r);var n={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var a=2&t&&e;"object"==typeof a&&!~leafPrototypes.indexOf(a);a=getProto(a))Object.getOwnPropertyNames(a).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,__webpack_require__.d(r,n),r},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={792:0,85:0};__webpack_require__.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,[i,s,o]=r,l=0;if(i.some((t=>0!==e[t]))){for(n in s)__webpack_require__.o(s,n)&&(__webpack_require__.m[n]=s[n]);if(o)var c=o(__webpack_require__)}for(t&&t(r);l<i.length;l++)a=i[l],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(c)},r=globalThis.webpackChunkastra_sites=globalThis.webpackChunkastra_sites||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),__webpack_require__.nc=void 0,__webpack_require__.O(void 0,[85],(()=>__webpack_require__(2476)));var __webpack_exports__=__webpack_require__.O(void 0,[85],(()=>__webpack_require__(9676)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();