@builder.io/sdk-react 0.12.7 → 0.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,35 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),w=require("react"),v=require("./server-entry-fc715776.cjs"),Wr=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Vr=e=>typeof e=="string"&&Wr.has(e.toLowerCase());function Ht(e){return d.jsx(d.Fragment,{children:Vr(e.TagName)?d.jsx(d.Fragment,{children:d.jsx(e.TagName,{...e.attributes,...e.actionAttributes})}):d.jsx(d.Fragment,{children:typeof e.TagName=="string"?d.jsx(d.Fragment,{children:d.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children})}):d.jsx(d.Fragment,{children:d.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children})})})})}const qe=()=>{switch(v.TARGET){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":return"class"}};function Zn(e){return d.jsx(Ht,{TagName:e.link?e.builderLinkComponent||"a":"button",attributes:{...e.attributes,[qe()]:`${e.link?"":"builder-button"} ${e.attributes[qe()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}},actionAttributes:{},children:e.text})}const Kt=w.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{}}),Qn=w.createContext({registeredComponents:{}});function $r(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options,builderBlock:e}}const er=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),Hr=()=>({isEditing:v.isEditing(),isBrowser:v.isBrowser(),isServer:!v.isBrowser(),getUserAttributes:()=>v.getUserAttributes()}),Kr=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,Gr=({code:e,builder:t,context:n,event:r,localState:i,rootSetState:a,rootState:s})=>{const c=er({builder:t,context:n,event:r,state:tr({rootState:s,localState:i,rootSetState:a})});return new Function(...c.map(([h])=>h),e)(...c.map(([,h])=>h))};function tr({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(r,i)=>{if(t&&i in t)return t[i];const a=r[i];return typeof a=="object"?tr({rootState:a,localState:void 0,rootSetState:n?s=>{r[i]=s,n(r)}:void 0}):a},set:(r,i,a)=>{if(t&&i in t)throw new Error("Writing to local state is not allowed as it is read-only.");return r[i]=a,n==null||n(r),!0}})}const nr=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce((i,a,s)=>Object(i[a])===i[a]?i[a]:i[a]=Math.abs(Number(r[s+1]))>>0===+r[s+1]?[]:{},e)[r[r.length-1]]=n,e};var _,zr=function(e){function t(o){return 48>o?o===36:58>o?!0:65>o?!1:91>o?!0:97>o?o===95:123>o?!0:170<=o&&Lr.test(String.fromCharCode(o))}function n(o){return 65>o?o===36:91>o?!0:97>o?o===95:123>o?!0:170<=o&&Mn.test(String.fromCharCode(o))}function r(o,l){for(var u=S,p=1,P=0;;){ct.lastIndex=P;var q=ct.exec(u);if(q&&q.index<o)++p,P=q.index+q[0].length;else break}throw u={line:p,ab:o-P},l+=" ("+u.line+":"+u.ab+")",l=new SyntaxError(l),l.j=o,l.X=u,l.o=f,l}function i(o){o=o.split(" ");for(var l=Object.create(null),u=0;u<o.length;u++)l[o[u]]=!0;return function(p){return l[p]||!1}}function a(){this.line=Ce,this.ab=f-de}function s(o,l){Te=f,B.C&&(wt=new a),O=o,h(),se=l,Ue=o.m}function c(){for(var o=f,l=B.va&&B.C&&new a,u=S.charCodeAt(f+=2);f<Ie&&u!==10&&u!==13&&u!==8232&&u!==8233;)++f,u=S.charCodeAt(f);B.va&&B.va(!1,S.slice(o+2,f),o,f,l,B.C&&new a)}function h(){for(;f<Ie;){var o=S.charCodeAt(f);if(o===32)++f;else if(o===13)++f,o=S.charCodeAt(f),o===10&&++f,B.C&&(++Ce,de=f);else if(o===10||o===8232||o===8233)++f,B.C&&(++Ce,de=f);else if(8<o&&14>o)++f;else if(o===47)if(o=S.charCodeAt(f+1),o===42){o=void 0;var l=B.va&&B.C&&new a,u=f,p=S.indexOf("*/",f+=2);if(p===-1&&r(f-2,"Unterminated comment"),f=p+2,B.C)for(ct.lastIndex=u;(o=ct.exec(S))&&o.index<f;)++Ce,de=o.index+o[0].length;B.va&&B.va(!0,S.slice(u+2,p),u,f,l,B.C&&new a)}else if(o===47)c();else break;else if(o===160)++f;else if(5760<=o&&Ur.test(String.fromCharCode(o)))++f;else break}}function m(o){switch(o){case 46:o=S.charCodeAt(f+1),48<=o&&57>=o?I(!0):(++f,s(An));return;case 40:return++f,s(fe);case 41:return++f,s(ce);case 59:return++f,s(he);case 44:return++f,s(xe);case 91:return++f,s(Nt);case 93:return++f,s(Ft);case 123:return++f,s(We);case 125:return++f,s(Re);case 58:return++f,s(Ve);case 63:return++f,s(Rn);case 48:if(o=S.charCodeAt(f+1),o===120||o===88){f+=2,o=F(16),o===null&&r(X+2,"Expected hexadecimal number"),n(S.charCodeAt(f))&&r(f,"Identifier directly after number"),s(_e,o);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return I(!1);case 34:case 39:f++;for(var l="";;){f>=Ie&&r(X,"Unterminated string constant");var u=S.charCodeAt(f);if(u===o){++f,s(ot,l);break}if(u===92){u=S.charCodeAt(++f);var p=/^[0-7]+/.exec(S.slice(f,f+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++f,p)ae&&r(f-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),f+=p.length-1;else switch(u){case 110:l+=`
2
- `;break;case 114:l+="\r";break;case 120:l+=String.fromCharCode(N(2));break;case 117:l+=String.fromCharCode(N(4));break;case 85:l+=String.fromCharCode(N(8));break;case 116:l+=" ";break;case 98:l+="\b";break;case 118:l+="\v";break;case 102:l+="\f";break;case 48:l+="\0";break;case 13:S.charCodeAt(f)===10&&++f;case 10:B.C&&(de=f,++Ce);break;default:l+=String.fromCharCode(u)}}else u!==13&&u!==10&&u!==8232&&u!==8233||r(X,"Unterminated string constant"),l+=String.fromCharCode(u),++f}return;case 47:o=S.charCodeAt(f+1),Ue?(++f,U()):o===61?x(Ee,2):x(On,1);return;case 37:case 42:S.charCodeAt(f+1)===61?x(Ee,2):x(Br,1);return;case 124:case 38:l=S.charCodeAt(f+1),l===o?x(o===124?Fn:Bn,2):l===61?x(Ee,2):x(o===124?Tr:Rr,1);return;case 94:S.charCodeAt(f+1)===61?x(Ee,2):x(Ar,1);return;case 43:case 45:l=S.charCodeAt(f+1),l===o?l===45&&S.charCodeAt(f+2)===62&&lt.test(S.slice(ve,f))?(f+=3,c(),h(),y()):x(Ir,2):l===61?x(Ee,2):x(Fr,1);return;case 60:case 62:l=S.charCodeAt(f+1),u=1,l===o?(u=o===62&&S.charCodeAt(f+2)===62?3:2,S.charCodeAt(f+u)===61?x(Ee,u+1):x(Nr,u)):l===33&&o===60&&S.charCodeAt(f+2)===45&&S.charCodeAt(f+3)===45?(f+=4,c(),h(),y()):(l===61&&(u=S.charCodeAt(f+2)===61?3:2),x(Pr,u));return;case 61:case 33:S.charCodeAt(f+1)===61?x(Or,S.charCodeAt(f+2)===61?3:2):x(o===61?Pn:Nn,1);return;case 126:return x(Nn,1)}return!1}function y(o){if(o?f=X+1:X=f,B.C&&(kt=new a),o)return U();if(f>=Ie)return s(jt);if(o=S.charCodeAt(f),n(o)||o===92)return Y();if(m(o)===!1){if(o=String.fromCharCode(o),o==="\\"||Mn.test(o))return Y();r(f,"Unexpected character '"+o+"'")}}function x(o,l){var u=S.slice(f,f+l);f+=l,s(o,u)}function U(){for(var o,l,u=f;;){f>=Ie&&r(u,"Unterminated regexp");var p=S.charAt(f);if(lt.test(p)&&r(u,"Unterminated regexp"),o)o=!1;else{if(p==="[")l=!0;else if(p==="]"&&l)l=!1;else if(p==="/"&&!l)break;o=p==="\\"}++f}o=S.slice(u,f),++f,(l=$())&&!/^[gmi]*$/.test(l)&&r(u,"Invalid regexp flag");try{var P=new RegExp(o,l)}catch(q){throw q instanceof SyntaxError&&r(u,q.message),q}s(un,P)}function F(o,l){for(var u=f,p=0,P=l===void 0?1/0:l,q=0;q<P;++q){var re=S.charCodeAt(f);if(re=97<=re?re-97+10:65<=re?re-65+10:48<=re&&57>=re?re-48:1/0,re>=o)break;++f,p=p*o+re}return f===u||l!==void 0&&f-u!==l?null:p}function I(o){var l=f,u=!1,p=S.charCodeAt(f)===48;o||F(10)!==null||r(l,"Invalid number"),S.charCodeAt(f)===46&&(++f,F(10),u=!0),o=S.charCodeAt(f),(o===69||o===101)&&(o=S.charCodeAt(++f),o!==43&&o!==45||++f,F(10)===null&&r(l,"Invalid number"),u=!0),n(S.charCodeAt(f))&&r(f,"Identifier directly after number"),o=S.slice(l,f);var P;u?P=parseFloat(o):p&&o.length!==1?/[89]/.test(o)||ae?r(l,"Invalid number"):P=parseInt(o,8):P=parseInt(o,10),s(_e,P)}function N(o){return o=F(16,o),o===null&&r(X,"Bad character escape sequence"),o}function $(){Oe=!1;for(var o,l=!0,u=f;;){var p=S.charCodeAt(f);if(t(p))Oe&&(o+=S.charAt(f)),++f;else if(p===92){Oe||(o=S.slice(u,f)),Oe=!0,S.charCodeAt(++f)!==117&&r(f,"Expecting Unicode escape sequence \\uXXXX"),++f,p=N(4);var P=String.fromCharCode(p);P||r(f-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(f-4,"Invalid Unicode escape"),o+=P}else break;l=!1}return Oe?o:S.slice(u,f)}function Y(){var o=$(),l=Ae;!Oe&&Mr(o)&&(l=jr[o]),s(l,o)}function b(){Ct=X,ve=Te,Et=wt,y()}function V(o){if(ae=o,f=X,B.C)for(;f<de;)de=S.lastIndexOf(`
3
- `,de-2)+1,--Ce;h(),y()}function Z(){this.type=null,this.start=X,this.end=null}function te(){this.start=kt,this.end=null,St&&(this.source=St)}function H(){var o=new Z;return B.C&&(o.X=new te),B.vb&&(o.sourceFile=B.vb),B.Xa&&(o.j=[X,0]),o}function ne(o){var l=new Z;return l.start=o.start,B.C&&(l.X=new te,l.X.start=o.X.start),B.Xa&&(l.j=[o.j[0],0]),l}function T(o,l){return o.type=l,o.end=ve,B.C&&(o.X.end=Et),B.Xa&&(o.j[1]=ve),o}function Se(o){return o.type==="ExpressionStatement"&&o.la.type==="Literal"&&o.la.value==="use strict"}function W(o){return O===o?(b(),!0):!1}function ke(){return!B.fc&&(O===jt||O===Re||lt.test(S.slice(ve,X)))}function le(){W(he)||ke()||E()}function K(o){O===o?b():E()}function E(){r(X,"Unexpected token")}function A(o){o.type!=="Identifier"&&o.type!=="MemberExpression"&&r(o.start,"Assigning to rvalue"),ae&&o.type==="Identifier"&&st(o.name)&&r(o.start,"Assigning to "+o.name+" in strict mode")}function R(){(O===On||O===Ee&&se==="/=")&&y(!0);var o=O,l=H();switch(o){case It:case fn:b();var u=o===It;W(he)||ke()?l.label=null:O!==Ae?E():(l.label=ue(),le());for(var p=0;p<z.length;++p){var P=z[p];if((l.label===null||P.name===l.label.name)&&(P.kind!==null&&(u||P.kind==="loop")||l.label&&u))break}return p===z.length&&r(l.start,"Unsyntactic "+o.l),T(l,u?"BreakStatement":"ContinueStatement");case hn:return b(),le(),T(l,"DebuggerStatement");case mn:return b(),z.push(Bt),l.body=R(),z.pop(),K(Pt),l.test=D(),le(),T(l,"DoWhileStatement");case vn:return b(),z.push(Bt),K(fe),O===he?G(l,null):O===Ot?(o=H(),b(),rt(o,!0),T(o,"VariableDeclaration"),o.fa.length===1&&W(at)?we(l,o):G(l,o)):(o=ee(!1,!0),W(at)?(A(o),we(l,o)):G(l,o));case At:return b(),xt(l,!0);case xn:return b(),l.test=D(),l.da=R(),l.alternate=W(gn)?R():null,T(l,"IfStatement");case bn:return Le||B.Ib||r(X,"'return' outside of function"),b(),W(he)||ke()?l.K=null:(l.K=ee(),le()),T(l,"ReturnStatement");case Rt:for(b(),l.Qb=D(),l.tb=[],K(We),z.push(_r);O!==Re;)O===Tt||O===pn?(o=O===Tt,p&&T(p,"SwitchCase"),l.tb.push(p=H()),p.da=[],b(),o?p.test=ee():(u&&r(Ct,"Multiple default clauses"),u=!0,p.test=null),K(Ve)):(p||E(),p.da.push(R()));return p&&T(p,"SwitchCase"),b(),z.pop(),T(l,"SwitchStatement");case Sn:return b(),lt.test(S.slice(ve,X))&&r(ve,"Illegal newline after throw"),l.K=ee(),le(),T(l,"ThrowStatement");case kn:return b(),l.block=L(),l.Ea=null,O===dn&&(o=H(),b(),K(fe),o.Ua=ue(),ae&&st(o.Ua.name)&&r(o.Ua.start,"Binding "+o.Ua.name+" in strict mode"),K(ce),o.body=L(),l.Ea=T(o,"CatchClause")),l.fb=W(yn)?L():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),T(l,"TryStatement");case Ot:return b(),rt(l),le(),T(l,"VariableDeclaration");case Pt:return b(),l.test=D(),z.push(Bt),l.body=R(),z.pop(),T(l,"WhileStatement");case wn:return ae&&r(X,"'with' in strict mode"),b(),l.object=D(),l.body=R(),T(l,"WithStatement");case We:return L();case he:return b(),T(l,"EmptyStatement");default:if(u=se,P=ee(),o===Ae&&P.type==="Identifier"&&W(Ve)){for(p=0;p<z.length;++p)z[p].name===u&&r(P.start,"Label '"+u+"' is already declared");return z.push({name:u,kind:O.W?"loop":O===Rt?"switch":null}),l.body=R(),z.pop(),l.label=P,T(l,"LabeledStatement")}return l.la=P,le(),T(l,"ExpressionStatement")}}function D(){K(fe);var o=ee();return K(ce),o}function L(o){var l=H(),u=!0,p=!1;for(l.body=[],K(We);!W(Re);){var P=R();if(l.body.push(P),u&&o&&Se(P)){var q=p;V(p=!0)}u=!1}return p&&!q&&V(!1),T(l,"BlockStatement")}function G(o,l){return o.ua=l,K(he),o.test=O===he?null:ee(),K(he),o.update=O===ce?null:ee(),K(ce),o.body=R(),z.pop(),T(o,"ForStatement")}function we(o,l){return o.left=l,o.right=ee(),K(ce),o.body=R(),z.pop(),T(o,"ForInStatement")}function rt(o,l){for(o.fa=[],o.kind="var";;){var u=H();if(u.id=ue(),ae&&st(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=W(Pn)?ee(!0,l):null,o.fa.push(T(u,"VariableDeclarator")),!W(xe))break}}function ee(o,l){var u=gt(l);if(!o&&O===xe){for(o=ne(u),o.xb=[u];W(xe);)o.xb.push(gt(l));return T(o,"SequenceExpression")}return u}function gt(o){var l=yt(vt(),-1,o);if(W(Rn)){var u=ne(l);u.test=l,u.da=ee(!0),K(Ve),u.alternate=ee(!0,o),l=T(u,"ConditionalExpression")}return O.Cb?(u=ne(l),u.operator=se,u.left=l,b(),u.right=gt(o),A(l),T(u,"AssignmentExpression")):l}function yt(o,l,u){var p=O.L;if(p!==null&&(!u||O!==at)&&p>l){var P=ne(o);return P.left=o,P.operator=se,o=O,b(),P.right=yt(vt(),p,u),p=T(P,o===Fn||o===Bn?"LogicalExpression":"BinaryExpression"),yt(p,l,u)}return o}function vt(){if(O.prefix){var o=H(),l=O.$b;return o.operator=se,Ue=o.prefix=!0,b(),o.K=vt(),l?A(o.K):ae&&o.operator==="delete"&&o.K.type==="Identifier"&&r(o.start,"Deleting local variable in strict mode"),T(o,l?"UpdateExpression":"UnaryExpression")}for(l=Me(it());O.cc&&!ke();)o=ne(l),o.operator=se,o.prefix=!1,o.K=l,A(l),b(),l=T(o,"UpdateExpression");return l}function Me(o,l){if(W(An)){var u=ne(o);return u.object=o,u.Wa=ue(!0),u.bb=!1,Me(T(u,"MemberExpression"),l)}return W(Nt)?(u=ne(o),u.object=o,u.Wa=ee(),u.bb=!0,K(Ft),Me(T(u,"MemberExpression"),l)):!l&&W(fe)?(u=ne(o),u.callee=o,u.arguments=bt(ce,!1),Me(T(u,"CallExpression"),l)):o}function it(){switch(O){case En:var o=H();return b(),T(o,"ThisExpression");case Ae:return ue();case _e:case ot:case un:return o=H(),o.value=se,o.raw=S.slice(X,Te),b(),T(o,"Literal");case jn:case In:case Tn:return o=H(),o.value=O.$a,o.raw=O.l,b(),T(o,"Literal");case fe:o=kt;var l=X;b();var u=ee();return u.start=l,u.end=Te,B.C&&(u.X.start=o,u.X.end=wt),B.Xa&&(u.j=[l,Te]),K(ce),u;case Nt:return o=H(),b(),o.elements=bt(Ft,!0,!0),T(o,"ArrayExpression");case We:for(o=H(),l=!0,u=!1,o.h=[],b();!W(Re);){if(l)l=!1;else if(K(xe),B.sb&&W(Re))break;var p={key:O===_e||O===ot?it():ue(!0)},P=!1;if(W(Ve)){p.value=ee(!0);var q=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?E():(P=u=!0,q=p.kind=p.key.name,p.key=O===_e||O===ot?it():ue(!0),O!==fe&&E(),p.value=xt(H(),!1));if(p.key.type==="Identifier"&&(ae||u))for(var re=0;re<o.h.length;++re){var Pe=o.h[re];if(Pe.key.name===p.key.name){var Dt=q===Pe.kind||P&&Pe.kind==="init"||q==="init"&&(Pe.kind==="get"||Pe.kind==="set");Dt&&!ae&&q==="init"&&Pe.kind==="init"&&(Dt=!1),Dt&&r(p.key.start,"Redefinition of property")}}o.h.push(p)}return T(o,"ObjectExpression");case At:return o=H(),b(),xt(o,!1);case Cn:return o=H(),b(),o.callee=Me(it(),!0),o.arguments=W(fe)?bt(ce,!1):Er,T(o,"NewExpression")}E()}function xt(o,l){O===Ae?o.id=ue():l?E():o.id=null,o.oa=[];var u=!0;for(K(fe);!W(ce);)u?u=!1:K(xe),o.oa.push(ue());u=Le;var p=z;if(Le=!0,z=[],o.body=L(!0),Le=u,z=p,ae||o.body.body.length&&Se(o.body.body[0])){for(u=o.id?-1:0;u<o.oa.length;++u)if(p=0>u?o.id:o.oa[u],(Dn(p.name)||st(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var P=0;P<u;++P)p.name===o.oa[P].name&&r(p.start,"Argument name clash in strict mode")}return T(o,l?"FunctionDeclaration":"FunctionExpression")}function bt(o,l,u){for(var p=[],P=!0;!W(o);){if(P)P=!1;else if(K(xe),l&&B.sb&&W(o))break;p.push(u&&O===xe?null:ee(!0))}return p}function ue(o){var l=H();return o&&B.yb==="everywhere"&&(o=!1),O===Ae?(!o&&(B.yb&&Dr(se)||ae&&Dn(se))&&S.slice(X,Te).indexOf("\\")===-1&&r(X,"The keyword '"+se+"' is reserved"),l.name=se):o&&O.l?l.name=O.l:E(),Ue=!1,b(),T(l,"Identifier")}e.version="0.5.0";var B,S="",Ie,St;e.parse=function(o,l){S=String(o),Ie=S.length,B=l||{};for(var u in cn)Object.prototype.hasOwnProperty.call(B,u)||(B[u]=cn[u]);for(St=B.sourceFile,Ce=1,f=de=0,Ue=!0,h(),u=B.dc,Ct=ve=f,B.C&&(Et=new a),Le=ae=!1,z=[],y(),o=u||H(),l=!0,u||(o.body=[]);O!==jt;)u=R(),o.body.push(u),l&&Se(u)&&V(!0),l=!1;return T(o,"Program")};var cn={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},f=0,X=0,Te=0,kt,wt,O,se,Ue,Ce,de,Ct=0,ve=0,Et,Le,z,ae,Er=[],_e={type:"num"},un={type:"regexp"},ot={type:"string"},Ae={type:"name"},jt={type:"eof"},It={l:"break"},Tt={l:"case",m:!0},dn={l:"catch"},fn={l:"continue"},hn={l:"debugger"},pn={l:"default"},mn={l:"do",W:!0},gn={l:"else",m:!0},yn={l:"finally"},vn={l:"for",W:!0},At={l:"function"},xn={l:"if"},bn={l:"return",m:!0},Rt={l:"switch"},Sn={l:"throw",m:!0},kn={l:"try"},Ot={l:"var"},Pt={l:"while",W:!0},wn={l:"with"},Cn={l:"new",m:!0},En={l:"this"},jn={l:"null",$a:null},In={l:"true",$a:!0},Tn={l:"false",$a:!1},at={l:"in",L:7,m:!0},jr={break:It,case:Tt,catch:dn,continue:fn,debugger:hn,default:pn,do:mn,else:gn,finally:yn,for:vn,function:At,if:xn,return:bn,switch:Rt,throw:Sn,try:kn,var:Ot,while:Pt,with:wn,null:jn,true:In,false:Tn,new:Cn,in:at,instanceof:{l:"instanceof",L:7,m:!0},this:En,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Nt={type:"[",m:!0},Ft={type:"]"},We={type:"{",m:!0},Re={type:"}"},fe={type:"(",m:!0},ce={type:")"},xe={type:",",m:!0},he={type:";",m:!0},Ve={type:":",m:!0},An={type:"."},Rn={type:"?",m:!0},On={L:10,m:!0},Pn={Cb:!0,m:!0},Ee={Cb:!0,m:!0},Ir={cc:!0,prefix:!0,$b:!0},Nn={prefix:!0,m:!0},Fn={L:1,m:!0},Bn={L:2,m:!0},Tr={L:3,m:!0},Ar={L:4,m:!0},Rr={L:5,m:!0},Or={L:6,m:!0},Pr={L:7,m:!0},Nr={L:8,m:!0},Fr={L:9,prefix:!0,m:!0},Br={L:10,m:!0},Dr=i("class enum extends super const export import"),Dn=i("implements interface let package private protected public static yield"),st=i("eval arguments"),Mr=i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"),Ur=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Mn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),Lr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),lt=/[\n\r\u2028\u2029]/,ct=/\r\n|[\n\r\u2028\u2029]/g,Oe,Bt={kind:"loop"},_r={kind:"switch"}},_t=_t=typeof globalThis=="undefined"?void 0:globalThis;zr(_t.j||(_t.j={}));function g(e,t){typeof e=="string"&&(e=Fe(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),i;for(i in e)r[i]=i==="body"?e[i].slice():e[i];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var a,s;for(s in this)typeof this[s]=="function"&&(a=s.match(e))&&(this.rb[a[1]]=this[s].bind(this));this.N=Vt(this,this.ra,null),this.Na=this.N.object,this.ra=Fe(this.ba.join(`
4
- `),"polyfills"),this.ba=void 0,ft(this.ra),a=new C(this.ra,this.N),a.done=!1,this.o=[a],this.Eb(),this.value=void 0,this.ra=r,a=new C(this.ra,this.N),a.done=!1,this.o.length=0,this.o[0]=a}var Un={C:!0,kc:5},Gt={configurable:!0,enumerable:!0,writable:!1},k={configurable:!0,enumerable:!1,writable:!0},oe={configurable:!0,enumerable:!1,writable:!1},$e={configurable:!1,enumerable:!1,writable:!1},Ln={configurable:!1,enumerable:!0,writable:!0},rr={STEP_ERROR:!0},De={SCOPE_REFERENCE:!0},Je={VALUE_IN_DESCRIPTOR:!0},Ne={REGEXP_TIMEOUT:!0},_n=[],me=null,Xe=null,be=typeof globalThis=="undefined"?void 0:globalThis,Xr=["onmessage = function(e) {","var result;","var data = e.data;","switch (data[0]) {","case 'split':","result = data[1].split(data[2], data[3]);","break;","case 'match':","result = data[1].match(data[2]);","break;","case 'search':","result = data[1].search(data[2]);","break;","case 'replace':","result = data[1].replace(data[2], data[3]);","break;","case 'exec':","var regexp = data[1];","regexp.lastIndex = data[2];","result = [regexp.exec(data[3]), data[1].lastIndex];","break;","default:","throw Error('Unknown RegExp operation: ' + data[0]);","}","postMessage(result);","close();","};"];function zt(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ye(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function ft(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var i=e[r];i&&typeof i=="object"&&ft(i,t,n)}}g.prototype.REGEXP_MODE=2;g.prototype.REGEXP_THREAD_TIMEOUT=1e3;g.prototype.POLYFILL_TIMEOUT=1e3;_=g.prototype;_.P=!1;_.Ka=!1;_.Kb=0;_.ic=0;function Fe(e,t){var n={},r;for(r in Un)n[r]=Un[r];return n.sourceFile=t,be.j.parse(e,n)}_.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=Fe(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");Ze(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};_.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&ar(this,n,n.interval);var r=new C(n.node,n.scope);n.zb&&(r.ia=2,r.B=this.Na,r.U=n.zb,r.Qa=!0,r.F=n.Lb),n=r}if(!n)break}r=n.node;var i=Xe;Xe=this;try{var a=this.rb[r.type](e,n,r)}catch(s){if(s!==rr)throw this.value!==s&&(this.value=void 0),s}finally{Xe=i}if(a&&e.push(a),this.P)throw this.value=void 0,Error("Getter not supported in this context");if(this.Ka)throw this.value=void 0,Error("Setter not supported in this context");t||r.end||(t=Date.now()+this.POLYFILL_TIMEOUT)}while(!r.end&&t>Date.now());return!0};_.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Yr(e,t){e.g(t,"NaN",NaN,$e),e.g(t,"Infinity",1/0,$e),e.g(t,"undefined",void 0,$e),e.g(t,"window",t,Gt),e.g(t,"this",t,$e),e.g(t,"self",t),e.M=new M(null),e.Z=new M(e.M),qr(e,t),Jr(e,t),t.xa=e.M,e.g(t,"constructor",e.v,k),Zr(e,t),Qr(e,t),ei(e,t),ti(e,t),ni(e,t),ri(e,t),ii(e,t),oi(e,t),ai(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,k),e.g(t,"parseInt",e.i(parseInt,!1),k),e.g(t,"parseFloat",e.i(parseFloat,!1),k),e.g(t,"isNaN",e.i(isNaN,!1),k),e.g(t,"isFinite",e.i(isFinite,!1),k);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],i=0;i<r.length;i++)n=function(a){return function(s){try{return a(s)}catch(c){j(e,e.Gb,c.message)}}}(r[i][0]),e.g(t,r[i][1],e.i(n,!1),k);n=function(a){return Wn(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),k),n=function(a){return Wn(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),k),n=function(a){Vn(e,a)},e.g(t,"clearTimeout",e.i(n,!1),k),n=function(a){Vn(e,a)},e.g(t,"clearInterval",e.i(n,!1),k),e.OBJECT=e.v,e.OBJECT_PROTO=e.M,e.FUNCTION=e.O,e.FUNCTION_PROTO=e.Z,e.ARRAY=e.qa,e.ARRAY_PROTO=e.La,e.REGEXP=e.I,e.REGEXP_PROTO=e.Ma,e.DATE=e.$,e.DATE_PROTO=e.nb,e.qb&&e.qb(e,t)}_.Wb=0;function qr(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(i){var a=arguments.length?String(arguments[arguments.length-1]):"",s=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(s){s=s.split(/\s*,\s*/);for(var c=0;c<s.length;c++){var h=s[c];n.test(h)||j(e,e.T,"Invalid function argument: "+h)}s=s.join(", ")}try{var m=Fe("(function("+s+") {"+a+"})","function"+e.Wb++)}catch(y){j(e,e.T,"Invalid code: "+y.message)}return m.body.length!==1&&j(e,e.T,"Invalid code in function body"),qt(e,m.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,k),e.g(e.O,"prototype",e.Z,k),e.g(e.Z,"constructor",e.O,k),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,oe),e.Z.H="Function",r=function(i,a){var s=e.o[e.o.length-1];s.U=this,s.B=i,s.F=[],a!=null&&(a instanceof M?s.F=ir(e,a):j(e,e.j,"CreateListFromArrayLike called on non-object")),s.eb=!1},J(e,e.O,"apply",r),r=function(i){var a=e.o[e.o.length-1];a.U=this,a.B=i,a.F=[];for(var s=1;s<arguments.length;s++)a.F.push(arguments[s]);a.eb=!1},J(e,e.O,"call",r),e.ba.push("Object.defineProperty(Function.prototype, 'bind',","{configurable: true, writable: true, value:","function bind(oThis) {","if (typeof this !== 'function') {","throw TypeError('What is trying to be bound is not callable');","}","var aArgs = Array.prototype.slice.call(arguments, 1),","fToBind = this,","fNOP = function() {},","fBound = function() {","return fToBind.apply(this instanceof fNOP","? this",": oThis,","aArgs.concat(Array.prototype.slice.call(arguments)));","};","if (this.prototype) {","fNOP.prototype = this.prototype;","}","fBound.prototype = new fNOP();","return fBound;","}","});",""),r=function(){return String(this)},J(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),k),r=function(){return this.valueOf()},J(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),k)}function Jr(e,t){function n(i){i!=null||j(e,e.j,"Cannot convert '"+i+"' to object")}var r=function(i){if(i==null)return ye(e)?this:e.s(e.M);if(!(i instanceof M)){var a=e.s(ge(e,i));return a.data=i,a}return i};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,k),e.g(e.M,"constructor",e.v,k),e.g(t,"Object",e.v,k),r=function(i){return n(i),pe(e,Object.getOwnPropertyNames(i instanceof M?i.h:i))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),k),r=function(i){return n(i),i instanceof M&&(i=i.h),pe(e,Object.keys(i))},e.g(e.v,"keys",e.i(r,!1),k),r=function(i){return i===null?e.s(null):(i instanceof M||j(e,e.j,"Object prototype may only be an Object or null, not "+i),e.s(i))},e.g(e.v,"create",e.i(r,!1),k),e.ba.push("(function() {","var create_ = Object.create;","Object.create = function create(proto, props) {","var obj = create_(proto);","props && Object.defineProperties(obj, props);","return obj;","};","})();",""),r=function(i,a,s){return a=String(a),i instanceof M||j(e,e.j,"Object.defineProperty called on non-object: "+i),s instanceof M||j(e,e.j,"Property description must be an object"),!i.preventExtensions||a in i.h||j(e,e.j,"Can't define property '"+a+"', object is not extensible"),e.g(i,a,Je,s.h),i},e.g(e.v,"defineProperty",e.i(r,!1),k),e.ba.push("(function() {","var defineProperty_ = Object.defineProperty;","Object.defineProperty = function defineProperty(obj, prop, d1) {","var d2 = {};","if ('configurable' in d1) d2.configurable = d1.configurable;","if ('enumerable' in d1) d2.enumerable = d1.enumerable;","if ('writable' in d1) d2.writable = d1.writable;","if ('value' in d1) d2.value = d1.value;","if ('get' in d1) d2.get = d1.get;","if ('set' in d1) d2.set = d1.set;","return defineProperty_(obj, prop, d2);","};","})();","Object.defineProperty(Object, 'defineProperties',","{configurable: true, writable: true, value:","function defineProperties(obj, props) {","var keys = Object.keys(props);","for (var i = 0; i < keys.length; i++) {","Object.defineProperty(obj, keys[i], props[keys[i]]);","}","return obj;","}","});",""),r=function(i,a){if(i instanceof M||j(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+i),a=String(a),a in i.h){var s=Object.getOwnPropertyDescriptor(i.h,a),c=i.V[a];return i=i.Y[a],a=e.s(e.M),c||i?(e.g(a,"get",c),e.g(a,"set",i)):(e.g(a,"value",s.value),e.g(a,"writable",s.writable)),e.g(a,"configurable",s.configurable),e.g(a,"enumerable",s.enumerable),a}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),k),r=function(i){return n(i),ge(e,i)},e.g(e.v,"getPrototypeOf",e.i(r,!1),k),r=function(i){return!!i&&!i.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),k),r=function(i){return i instanceof M&&(i.preventExtensions=!0),i},e.g(e.v,"preventExtensions",e.i(r,!1),k),J(e,e.v,"toString",M.prototype.toString),J(e,e.v,"toLocaleString",M.prototype.toString),J(e,e.v,"valueOf",M.prototype.valueOf),r=function(i){return n(this),this instanceof M?String(i)in this.h:this.hasOwnProperty(i)},J(e,e.v,"hasOwnProperty",r),r=function(i){return n(this),this instanceof M?Object.prototype.propertyIsEnumerable.call(this.h,i):this.propertyIsEnumerable(i)},J(e,e.v,"propertyIsEnumerable",r),r=function(i){for(;;){if(i=ge(e,i),!i)return!1;if(i===this)return!0}},J(e,e.v,"isPrototypeOf",r)}function Zr(e,t){var n=function(r){var i=ye(e)?this:Be(e),a=arguments[0];if(arguments.length===1&&typeof a=="number")isNaN(zt(a))&&j(e,e.ob,"Invalid array length: "+a),i.h.length=a;else{for(a=0;a<arguments.length;a++)i.h[a]=arguments[a];i.h.length=a}return i};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,k),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),k),e.g(e.La,"length",0,{configurable:!1,enumerable:!1,writable:!0}),e.La.H="Array",e.ba.push("(function() {","function createArrayMethod_(f) {","Object.defineProperty(Array.prototype, f.name,","{configurable: true, writable: true, value: f});","}","createArrayMethod_(","function pop() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","len--;","var x = o[len];","delete o[len];","o.length = len;","return x;","}",");","createArrayMethod_(","function push(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","for (var i = 0; i < arguments.length; i++) {","o[len] = arguments[i];","len++;","}","o.length = len;","return len;","}",");","createArrayMethod_(","function shift() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","var value = o[0];","for (var i = 0; i < len - 1; i++) {","if ((i + 1) in o) {","o[i] = o[i + 1];","} else {","delete o[i];","}","}","delete o[i];","o.length = len - 1;","return value;","}",");","createArrayMethod_(","function unshift(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","len = 0;","}","for (var i = len - 1; i >= 0; i--) {","if (i in o) {","o[i + arguments.length] = o[i];","} else {","delete o[i + arguments.length];","}","}","for (var i = 0; i < arguments.length; i++) {","o[i] = arguments[i];","}","return (o.length = len + arguments.length);","}",");","createArrayMethod_(","function reverse() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 2) {","return o;","}","for (var i = 0; i < len / 2 - 0.5; i++) {","var x = o[i];","var hasX = i in o;","if ((len - i - 1) in o) {","o[i] = o[len - i - 1];","} else {","delete o[i];","}","if (hasX) {","o[len - i - 1] = x;","} else {","delete o[len - i - 1];","}","}","return o;","}",");","createArrayMethod_(","function indexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var n = fromIndex | 0;","if (!len || n >= len) {","return -1;","}","var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);","while (i < len) {","if (i in o && o[i] === searchElement) {","return i;","}","i++;","}","return -1;","}",");","createArrayMethod_(","function lastIndexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len) {","return -1;","}","var n = len - 1;","if (arguments.length > 1) {","n = fromIndex | 0;","if (n) {","n = (n > 0 || -1) * Math.floor(Math.abs(n));","}","}","var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);","while (i >= 0) {","if (i in o && o[i] === searchElement) {","return i;","}","i--;","}","return -1;","}",");","createArrayMethod_(","function slice(start, end) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","start = (start >= 0) ? start : Math.max(0, len + start);","if (typeof end !== 'undefined') {","if (end !== Infinity) {","end |= 0;","}","if (end < 0) {","end = len + end;","} else {","end = Math.min(end, len);","}","} else {","end = len;","}","var size = end - start;","var cloned = new Array(size);","for (var i = 0; i < size; i++) {","if ((start + i) in o) {","cloned[i] = o[start + i];","}","}","return cloned;","}",");","createArrayMethod_(","function splice(start, deleteCount, var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","if (start < 0) {","start = Math.max(len + start, 0);","} else {","start = Math.min(start, len);","}","if (arguments.length < 1) {","deleteCount = len - start;","} else {","deleteCount |= 0;","deleteCount = Math.max(0, Math.min(deleteCount, len - start));","}","var removed = [];","for (var i = start; i < start + deleteCount; i++) {","if (i in o) {","removed.push(o[i]);","} else {","removed.length++;","}","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = start + deleteCount; i < len - deleteCount; i++) {","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = len - deleteCount; i < len; i++) {","delete o[i];","}","len -= deleteCount;","var arl = arguments.length - 2;","for (var i = len - 1; i >= start; i--) {","if (i in o) {","o[i + arl] = o[i];","} else {","delete o[i + arl];","}","}","len += arl;","for (var i = 2; i < arguments.length; i++) {","o[start + i - 2] = arguments[i];","}","o.length = len;","return removed;","}",");","createArrayMethod_(","function concat(var_args) {","if (!this) throw TypeError();","var o = Object(this);","var cloned = [];","for (var i = -1; i < arguments.length; i++) {","var value = (i === -1) ? o : arguments[i];","if (Array.isArray(value)) {","for (var j = 0, l = value.length; j < l; j++) {","if (j in value) {","cloned.push(value[j]);","} else {","cloned.length++;","}","}","} else {","cloned.push(value);","}","}","return cloned;","}",");","createArrayMethod_(","function join(opt_separator) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var sep = typeof opt_separator === 'undefined' ?","',' : ('' + opt_separator);","var str = '';","for (var i = 0; i < len; i++) {","if (i && sep) str += sep;","str += (o[i] === null || o[i] === undefined) ? '' : o[i];","}","return str;","}",");","createArrayMethod_(","function every(callbackfn, thisArg) {","if (!this || typeof callbackfn !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o && !callbackfn.call(t, o[k], k, o)) return false;","k++;","}","return true;","}",");","createArrayMethod_(","function filter(fun, var_args) {","if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var res = [];","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o) {","var val = o[i];","if (fun.call(thisArg, val, i, o)) res.push(val);","}","}","return res;","}",");","createArrayMethod_(","function forEach(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o) callback.call(t, o[k], k, o);","k++;","}","}",");","createArrayMethod_(","function map(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","var a = new Array(len);","while (k < len) {","if (k in o) a[k] = callback.call(t, o[k], k, o);","k++;","}","return a;","}",");","createArrayMethod_(","function reduce(callback /*, initialValue*/) {","if (!this || typeof callback !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = 0, value;","if (arguments.length === 2) {","value = arguments[1];","} else {","while (k < len && !(k in o)) k++;","if (k >= len) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k++];","}","for (; k < len; k++) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function reduceRight(callback /*, initialValue*/) {","if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = len - 1, value;","if (arguments.length >= 2) {","value = arguments[1];","} else {","while (k >= 0 && !(k in o)) k--;","if (k < 0) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k--];","}","for (; k >= 0; k--) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function some(fun/*, thisArg*/) {","if (!this || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o && fun.call(thisArg, o[i], i, o)) return true;","}","return false;","}",");","createArrayMethod_(","function sort(opt_comp) {","if (!this) throw TypeError();","if (typeof opt_comp !== 'function') {","opt_comp = undefined;","}","for (var i = 0; i < this.length; i++) {","var changes = 0;","for (var j = 0; j < this.length - i - 1; j++) {","if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :","(String(this[j]) > String(this[j + 1]))) {","var swap = this[j];","var hasSwap = j in this;","if ((j + 1) in this) {","this[j] = this[j + 1];","} else {","delete this[j];","}","if (hasSwap) {","this[j + 1] = swap;","} else {","delete this[j + 1];","}","changes++;","}","}","if (!changes) break;","}","return this;","}",");","createArrayMethod_(","function toLocaleString() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var out = [];","for (var i = 0; i < len; i++) {","out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();","}","return out.join(',');","}",");","})();","")}function Qr(e,t){var n=function(r){return r=arguments.length?be.String(r):"",ye(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,k),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),k),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)J(e,e.J,t[n],String.prototype[t[n]]);n=function(r,i,a){i=e.R(i),a=e.R(a);try{return String(this).localeCompare(r,i,a)}catch(s){j(e,e.D,"localeCompare: "+s.message)}},J(e,e.J,"localeCompare",n),n=function(r,i,a){var s=String(this);if(i=i?Number(i):void 0,Q(e,r,e.I)&&(r=r.data,Ke(e,r,a),e.REGEXP_MODE===2)){if(me)r=He(e,"string.split(separator, limit)",{string:s,separator:r,limit:i},r,a),r!==Ne&&a(pe(e,r));else{var c=e.ha(),h=Ge(e,r,c,a);c.onmessage=function(m){clearTimeout(h),a(pe(e,m.data))},c.postMessage(["split",s,r,i])}return}r=s.split(r,i),a(pe(e,r))},ze(e,e.J,"split",n),n=function(r,i){var a=String(this);if(r=Q(e,r,e.I)?r.data:new RegExp(r),Ke(e,r,i),e.REGEXP_MODE===2)if(me)r=He(e,"string.match(regexp)",{string:a,regexp:r},r,i),r!==Ne&&i(r&&pe(e,r));else{var s=e.ha(),c=Ge(e,r,s,i);s.onmessage=function(h){clearTimeout(c),i(h.data&&pe(e,h.data))},s.postMessage(["match",a,r])}else r=a.match(r),i(r&&pe(e,r))},ze(e,e.J,"match",n),n=function(r,i){var a=String(this);if(Q(e,r,e.I)?r=r.data:r=new RegExp(r),Ke(e,r,i),e.REGEXP_MODE===2)if(me)r=He(e,"string.search(regexp)",{string:a,regexp:r},r,i),r!==Ne&&i(r);else{var s=e.ha(),c=Ge(e,r,s,i);s.onmessage=function(h){clearTimeout(c),i(h.data)},s.postMessage(["search",a,r])}else i(a.search(r))},ze(e,e.J,"search",n),n=function(r,i,a){var s=String(this);if(i=String(i),Q(e,r,e.I)&&(r=r.data,Ke(e,r,a),e.REGEXP_MODE===2)){if(me)r=He(e,"string.replace(substr, newSubstr)",{string:s,substr:r,newSubstr:i},r,a),r!==Ne&&a(r);else{var c=e.ha(),h=Ge(e,r,c,a);c.onmessage=function(m){clearTimeout(h),a(m.data)},c.postMessage(["replace",s,r,i])}return}a(s.replace(r,i))},ze(e,e.J,"replace",n),e.ba.push("(function() {","var replace_ = String.prototype.replace;","String.prototype.replace = function replace(substr, newSubstr) {","if (typeof newSubstr !== 'function') {","return replace_.call(this, substr, newSubstr);","}","var str = this;","if (substr instanceof RegExp) {","var subs = [];","var m = substr.exec(str);","while (m) {","m.push(m.index, str);","var inject = newSubstr.apply(null, m);","subs.push([m.index, m[0].length, inject]);","m = substr.global ? substr.exec(str) : null;","}","for (var i = subs.length - 1; i >= 0; i--) {","str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);","}","} else {","var i = str.indexOf(substr);","if (i !== -1) {","var inject = newSubstr(str.substr(i, substr.length), i, str);","str = str.substring(0, i) + inject + str.substring(i + substr.length);","}","}","return str;","};","})();","")}function ei(e,t){e.mb=e.i(function(n){return n=be.Boolean(n),ye(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,k)}function ti(e,t){var n=function(r){return r=arguments.length?be.Number(r):0,ye(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,k),t=["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],n=0;n<t.length;n++)e.g(e.aa,t[n],Number[t[n]],$e);n=function(r){try{return Number(this).toExponential(r)}catch(i){j(e,e.D,i.message)}},J(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(i){j(e,e.D,i.message)}},J(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(i){j(e,e.D,i.message)}},J(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(i){j(e,e.D,i.message)}},J(e,e.aa,"toString",n),n=function(r,i){r=r?e.R(r):void 0,i=i?e.R(i):void 0;try{return Number(this).toLocaleString(r,i)}catch(a){j(e,e.D,"toLocaleString: "+a.message)}},J(e,e.aa,"toLocaleString",n)}function ni(e,t){var n=function(i,a){if(!ye(e))return be.Date();var s=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(be.Date,s)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,k),e.g(e.$,"now",e.i(Date.now,!1),k),e.g(e.$,"parse",e.i(Date.parse,!1),k),e.g(e.$,"UTC",e.i(Date.UTC,!1),k),t="getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");for(var r=0;r<t.length;r++)n=function(i){return function(a){var s=this.data;s instanceof Date||j(e,e.j,i+" not called on a Date");for(var c=[],h=0;h<arguments.length;h++)c[h]=e.R(arguments[h]);return s[i].apply(s,c)}}(t[r]),J(e,e.$,t[r],n)}function ri(e,t){var n=function(r,i){if(ye(e))var a=this;else{if(i===void 0&&Q(e,r,e.I))return r;a=e.s(e.Ma)}r=r===void 0?"":String(r),i=i?String(i):"",/^[gmi]*$/.test(i)||j(e,e.T,"Invalid regexp flag: "+i);try{var s=new be.RegExp(r,i)}catch(c){j(e,e.T,c.message)}return Xt(e,a,s),a};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,k),e.g(e.I.h.prototype,"global",void 0,oe),e.g(e.I.h.prototype,"ignoreCase",void 0,oe),e.g(e.I.h.prototype,"multiline",void 0,oe),e.g(e.I.h.prototype,"source","(?:)",oe),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,i){function a(y){if(y){var x=pe(e,y);return e.g(x,"index",y.index),e.g(x,"input",y.input),x}return null}var s=this.data;if(r=String(r),s.lastIndex=Number(e.G(this,"lastIndex")),Ke(e,s,i),e.REGEXP_MODE===2)if(me)r=He(e,"regexp.exec(string)",{string:r,regexp:s},s,i),r!==Ne&&(e.g(this,"lastIndex",s.lastIndex),i(a(r)));else{var c=e.ha(),h=Ge(e,s,c,i),m=this;c.onmessage=function(y){clearTimeout(h),e.g(m,"lastIndex",y.data[1]),i(a(y.data[0]))},c.postMessage(["exec",s,s.lastIndex,r])}else r=s.exec(r),e.g(this,"lastIndex",s.lastIndex),i(a(r))},ze(e,e.I,"exec",n)}function ii(e,t){function n(r){var i=e.i(function(a){var s=ye(e)?this:e.Aa(i);return Wt(e,s,a),s},!0);return e.g(i,"prototype",e.Aa(e.D),k),e.g(i.h.prototype,"name",r,k),e.g(t,r,i,k),i}e.D=e.i(function(r){var i=ye(e)?this:e.Aa(e.D);return Wt(e,i,r),i},!0),e.g(t,"Error",e.D,k),e.g(e.D.h.prototype,"message","",k),e.g(e.D.h.prototype,"name","Error",k),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function oi(e,t){var n=e.s(e.M);e.g(t,"Math",n,k);var r="E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");for(t=0;t<r.length;t++)e.g(n,r[t],Math[r[t]],oe);for(r="abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "),t=0;t<r.length;t++)e.g(n,r[t],e.i(Math[r[t]],!1),k)}function ai(e,t){var n=e.s(e.M);e.g(t,"JSON",n,k),t=function(r){try{var i=JSON.parse(String(r))}catch(a){j(e,e.T,a.message)}return e.Ia(i)},e.g(n,"parse",e.i(t,!1)),t=function(r,i,a){i&&i.H==="Function"?j(e,e.j,"Function replacer on JSON.stringify not supported"):i&&i.H==="Array"?(i=ir(e,i),i=i.filter(function(c){return typeof c=="string"||typeof c=="number"})):i=null,typeof a!="string"&&typeof a!="number"&&(a=void 0),r=e.R(r);try{var s=JSON.stringify(r,i,a)}catch(c){j(e,e.j,c.message)}return s},e.g(n,"stringify",e.i(t,!1))}function Q(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=ge(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Xt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,k),e.g(t,"source",n.source,oe),e.g(t,"global",n.global,oe),e.g(t,"ignoreCase",n.ignoreCase,oe),e.g(t,"multiline",n.multiline,oe)}function Wt(e,t,n){n&&e.g(t,"message",String(n),k),n=[];for(var r=e.o.length-1;0<=r;r--){var i=e.o[r],a=i.node;a.type==="CallExpression"&&(i=i.U)&&n.length&&(n[n.length-1].Ob=e.G(i,"name")),!a.X||n.length&&a.type!=="CallExpression"||n.push({Nb:a.X})}for(r=String(e.G(t,"name")),a=String(e.G(t,"message")),a=r+": "+a+`
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),w=require("react"),y=require("./server-entry-564cbc17.cjs"),Lr=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),_r=e=>typeof e=="string"&&Lr.has(e.toLowerCase());function Ht(e){return d.jsx(d.Fragment,{children:_r(e.TagName)?d.jsx(d.Fragment,{children:d.jsx(e.TagName,{...e.attributes,...e.actionAttributes})}):d.jsx(d.Fragment,{children:typeof e.TagName=="string"?d.jsx(d.Fragment,{children:d.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children})}):d.jsx(d.Fragment,{children:d.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children})})})})}const Je=()=>{switch(y.TARGET){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":return"class"}};function qn(e){return d.jsx(Ht,{TagName:e.link?e.builderLinkComponent||"a":"button",attributes:{...e.attributes,[Je()]:`${e.link?"":"builder-button"} ${e.attributes[Je()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}},actionAttributes:{},children:e.text})}const Kt=w.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{}}),Zn=w.createContext({registeredComponents:{}});function Wr(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options,builderBlock:e}}const Qn=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),Vr=()=>({isEditing:y.isEditing(),isBrowser:y.isBrowser(),isServer:!y.isBrowser(),getUserAttributes:()=>y.getUserAttributes()}),$r=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,Hr=({code:e,builder:t,context:n,event:r,localState:i,rootSetState:a,rootState:s})=>{const c=Qn({builder:t,context:n,event:r,state:er({rootState:s,localState:i,rootSetState:a})});return new Function(...c.map(([h])=>h),e)(...c.map(([,h])=>h))};function er({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(r,i)=>{if(t&&i in t)return t[i];const a=r[i];return typeof a=="object"?er({rootState:a,localState:void 0,rootSetState:n?s=>{r[i]=s,n(r)}:void 0}):a},set:(r,i,a)=>{if(t&&i in t)throw new Error("Writing to local state is not allowed as it is read-only.");return r[i]=a,n==null||n(r),!0}})}const tr=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce((i,a,s)=>Object(i[a])===i[a]?i[a]:i[a]=Math.abs(Number(r[s+1]))>>0===+r[s+1]?[]:{},e)[r[r.length-1]]=n,e};var U,Kr=function(e){function t(o){return 48>o?o===36:58>o?!0:65>o?!1:91>o?!0:97>o?o===95:123>o?!0:170<=o&&Mr.test(String.fromCharCode(o))}function n(o){return 65>o?o===36:91>o?!0:97>o?o===95:123>o?!0:170<=o&&Mn.test(String.fromCharCode(o))}function r(o,l){for(var u=b,p=1,P=0;;){ct.lastIndex=P;var Y=ct.exec(u);if(Y&&Y.index<o)++p,P=Y.index+Y[0].length;else break}throw u={line:p,ab:o-P},l+=" ("+u.line+":"+u.ab+")",l=new SyntaxError(l),l.j=o,l.X=u,l.o=f,l}function i(o){o=o.split(" ");for(var l=Object.create(null),u=0;u<o.length;u++)l[o[u]]=!0;return function(p){return l[p]||!1}}function a(){this.line=Ce,this.ab=f-de}function s(o,l){Te=f,F.C&&(wt=new a),O=o,h(),se=l,Ue=o.m}function c(){for(var o=f,l=F.va&&F.C&&new a,u=b.charCodeAt(f+=2);f<Ie&&u!==10&&u!==13&&u!==8232&&u!==8233;)++f,u=b.charCodeAt(f);F.va&&F.va(!1,b.slice(o+2,f),o,f,l,F.C&&new a)}function h(){for(;f<Ie;){var o=b.charCodeAt(f);if(o===32)++f;else if(o===13)++f,o=b.charCodeAt(f),o===10&&++f,F.C&&(++Ce,de=f);else if(o===10||o===8232||o===8233)++f,F.C&&(++Ce,de=f);else if(8<o&&14>o)++f;else if(o===47)if(o=b.charCodeAt(f+1),o===42){o=void 0;var l=F.va&&F.C&&new a,u=f,p=b.indexOf("*/",f+=2);if(p===-1&&r(f-2,"Unterminated comment"),f=p+2,F.C)for(ct.lastIndex=u;(o=ct.exec(b))&&o.index<f;)++Ce,de=o.index+o[0].length;F.va&&F.va(!0,b.slice(u+2,p),u,f,l,F.C&&new a)}else if(o===47)c();else break;else if(o===160)++f;else if(5760<=o&&Dr.test(String.fromCharCode(o)))++f;else break}}function m(o){switch(o){case 46:o=b.charCodeAt(f+1),48<=o&&57>=o?I(!0):(++f,s(An));return;case 40:return++f,s(fe);case 41:return++f,s(ce);case 59:return++f,s(he);case 44:return++f,s(xe);case 91:return++f,s(Nt);case 93:return++f,s(Ft);case 123:return++f,s(We);case 125:return++f,s(Re);case 58:return++f,s(Ve);case 63:return++f,s(Rn);case 48:if(o=b.charCodeAt(f+1),o===120||o===88){f+=2,o=B(16),o===null&&r(z+2,"Expected hexadecimal number"),n(b.charCodeAt(f))&&r(f,"Identifier directly after number"),s(_e,o);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return I(!1);case 34:case 39:f++;for(var l="";;){f>=Ie&&r(z,"Unterminated string constant");var u=b.charCodeAt(f);if(u===o){++f,s(ot,l);break}if(u===92){u=b.charCodeAt(++f);var p=/^[0-7]+/.exec(b.slice(f,f+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++f,p)ae&&r(f-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),f+=p.length-1;else switch(u){case 110:l+=`
2
+ `;break;case 114:l+="\r";break;case 120:l+=String.fromCharCode(N(2));break;case 117:l+=String.fromCharCode(N(4));break;case 85:l+=String.fromCharCode(N(8));break;case 116:l+=" ";break;case 98:l+="\b";break;case 118:l+="\v";break;case 102:l+="\f";break;case 48:l+="\0";break;case 13:b.charCodeAt(f)===10&&++f;case 10:F.C&&(de=f,++Ce);break;default:l+=String.fromCharCode(u)}}else u!==13&&u!==10&&u!==8232&&u!==8233||r(z,"Unterminated string constant"),l+=String.fromCharCode(u),++f}return;case 47:o=b.charCodeAt(f+1),Ue?(++f,L()):o===61?k(Ee,2):k(On,1);return;case 37:case 42:b.charCodeAt(f+1)===61?k(Ee,2):k(Nr,1);return;case 124:case 38:l=b.charCodeAt(f+1),l===o?k(o===124?Fn:Bn,2):l===61?k(Ee,2):k(o===124?jr:Tr,1);return;case 94:b.charCodeAt(f+1)===61?k(Ee,2):k(Ir,1);return;case 43:case 45:l=b.charCodeAt(f+1),l===o?l===45&&b.charCodeAt(f+2)===62&&lt.test(b.slice(ve,f))?(f+=3,c(),h(),v()):k(Er,2):l===61?k(Ee,2):k(Pr,1);return;case 60:case 62:l=b.charCodeAt(f+1),u=1,l===o?(u=o===62&&b.charCodeAt(f+2)===62?3:2,b.charCodeAt(f+u)===61?k(Ee,u+1):k(Or,u)):l===33&&o===60&&b.charCodeAt(f+2)===45&&b.charCodeAt(f+3)===45?(f+=4,c(),h(),v()):(l===61&&(u=b.charCodeAt(f+2)===61?3:2),k(Rr,u));return;case 61:case 33:b.charCodeAt(f+1)===61?k(Ar,b.charCodeAt(f+2)===61?3:2):k(o===61?Pn:Nn,1);return;case 126:return k(Nn,1)}return!1}function v(o){if(o?f=z+1:z=f,F.C&&(kt=new a),o)return L();if(f>=Ie)return s(jt);if(o=b.charCodeAt(f),n(o)||o===92)return X();if(m(o)===!1){if(o=String.fromCharCode(o),o==="\\"||Mn.test(o))return X();r(f,"Unexpected character '"+o+"'")}}function k(o,l){var u=b.slice(f,f+l);f+=l,s(o,u)}function L(){for(var o,l,u=f;;){f>=Ie&&r(u,"Unterminated regexp");var p=b.charAt(f);if(lt.test(p)&&r(u,"Unterminated regexp"),o)o=!1;else{if(p==="[")l=!0;else if(p==="]"&&l)l=!1;else if(p==="/"&&!l)break;o=p==="\\"}++f}o=b.slice(u,f),++f,(l=$())&&!/^[gmi]*$/.test(l)&&r(u,"Invalid regexp flag");try{var P=new RegExp(o,l)}catch(Y){throw Y instanceof SyntaxError&&r(u,Y.message),Y}s(un,P)}function B(o,l){for(var u=f,p=0,P=l===void 0?1/0:l,Y=0;Y<P;++Y){var re=b.charCodeAt(f);if(re=97<=re?re-97+10:65<=re?re-65+10:48<=re&&57>=re?re-48:1/0,re>=o)break;++f,p=p*o+re}return f===u||l!==void 0&&f-u!==l?null:p}function I(o){var l=f,u=!1,p=b.charCodeAt(f)===48;o||B(10)!==null||r(l,"Invalid number"),b.charCodeAt(f)===46&&(++f,B(10),u=!0),o=b.charCodeAt(f),(o===69||o===101)&&(o=b.charCodeAt(++f),o!==43&&o!==45||++f,B(10)===null&&r(l,"Invalid number"),u=!0),n(b.charCodeAt(f))&&r(f,"Identifier directly after number"),o=b.slice(l,f);var P;u?P=parseFloat(o):p&&o.length!==1?/[89]/.test(o)||ae?r(l,"Invalid number"):P=parseInt(o,8):P=parseInt(o,10),s(_e,P)}function N(o){return o=B(16,o),o===null&&r(z,"Bad character escape sequence"),o}function $(){Oe=!1;for(var o,l=!0,u=f;;){var p=b.charCodeAt(f);if(t(p))Oe&&(o+=b.charAt(f)),++f;else if(p===92){Oe||(o=b.slice(u,f)),Oe=!0,b.charCodeAt(++f)!==117&&r(f,"Expecting Unicode escape sequence \\uXXXX"),++f,p=N(4);var P=String.fromCharCode(p);P||r(f-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(f-4,"Invalid Unicode escape"),o+=P}else break;l=!1}return Oe?o:b.slice(u,f)}function X(){var o=$(),l=Ae;!Oe&&Br(o)&&(l=Cr[o]),s(l,o)}function x(){Ct=z,ve=Te,Et=wt,v()}function V(o){if(ae=o,f=z,F.C)for(;f<de;)de=b.lastIndexOf(`
3
+ `,de-2)+1,--Ce;h(),v()}function q(){this.type=null,this.start=z,this.end=null}function te(){this.start=kt,this.end=null,St&&(this.source=St)}function H(){var o=new q;return F.C&&(o.X=new te),F.vb&&(o.sourceFile=F.vb),F.Xa&&(o.j=[z,0]),o}function ne(o){var l=new q;return l.start=o.start,F.C&&(l.X=new te,l.X.start=o.X.start),F.Xa&&(l.j=[o.j[0],0]),l}function T(o,l){return o.type=l,o.end=ve,F.C&&(o.X.end=Et),F.Xa&&(o.j[1]=ve),o}function Se(o){return o.type==="ExpressionStatement"&&o.la.type==="Literal"&&o.la.value==="use strict"}function W(o){return O===o?(x(),!0):!1}function ke(){return!F.fc&&(O===jt||O===Re||lt.test(b.slice(ve,z)))}function le(){W(he)||ke()||j()}function K(o){O===o?x():j()}function j(){r(z,"Unexpected token")}function A(o){o.type!=="Identifier"&&o.type!=="MemberExpression"&&r(o.start,"Assigning to rvalue"),ae&&o.type==="Identifier"&&st(o.name)&&r(o.start,"Assigning to "+o.name+" in strict mode")}function R(){(O===On||O===Ee&&se==="/=")&&v(!0);var o=O,l=H();switch(o){case It:case fn:x();var u=o===It;W(he)||ke()?l.label=null:O!==Ae?j():(l.label=ue(),le());for(var p=0;p<G.length;++p){var P=G[p];if((l.label===null||P.name===l.label.name)&&(P.kind!==null&&(u||P.kind==="loop")||l.label&&u))break}return p===G.length&&r(l.start,"Unsyntactic "+o.l),T(l,u?"BreakStatement":"ContinueStatement");case hn:return x(),le(),T(l,"DebuggerStatement");case mn:return x(),G.push(Bt),l.body=R(),G.pop(),K(Pt),l.test=M(),le(),T(l,"DoWhileStatement");case vn:return x(),G.push(Bt),K(fe),O===he?Z(l,null):O===Ot?(o=H(),x(),rt(o,!0),T(o,"VariableDeclaration"),o.fa.length===1&&W(at)?we(l,o):Z(l,o)):(o=ee(!1,!0),W(at)?(A(o),we(l,o)):Z(l,o));case At:return x(),xt(l,!0);case xn:return x(),l.test=M(),l.da=R(),l.alternate=W(gn)?R():null,T(l,"IfStatement");case bn:return Le||F.Ib||r(z,"'return' outside of function"),x(),W(he)||ke()?l.K=null:(l.K=ee(),le()),T(l,"ReturnStatement");case Rt:for(x(),l.Qb=M(),l.tb=[],K(We),G.push(Ur);O!==Re;)O===Tt||O===pn?(o=O===Tt,p&&T(p,"SwitchCase"),l.tb.push(p=H()),p.da=[],x(),o?p.test=ee():(u&&r(Ct,"Multiple default clauses"),u=!0,p.test=null),K(Ve)):(p||j(),p.da.push(R()));return p&&T(p,"SwitchCase"),x(),G.pop(),T(l,"SwitchStatement");case Sn:return x(),lt.test(b.slice(ve,z))&&r(ve,"Illegal newline after throw"),l.K=ee(),le(),T(l,"ThrowStatement");case kn:return x(),l.block=_(),l.Ea=null,O===dn&&(o=H(),x(),K(fe),o.Ua=ue(),ae&&st(o.Ua.name)&&r(o.Ua.start,"Binding "+o.Ua.name+" in strict mode"),K(ce),o.body=_(),l.Ea=T(o,"CatchClause")),l.fb=W(yn)?_():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),T(l,"TryStatement");case Ot:return x(),rt(l),le(),T(l,"VariableDeclaration");case Pt:return x(),l.test=M(),G.push(Bt),l.body=R(),G.pop(),T(l,"WhileStatement");case wn:return ae&&r(z,"'with' in strict mode"),x(),l.object=M(),l.body=R(),T(l,"WithStatement");case We:return _();case he:return x(),T(l,"EmptyStatement");default:if(u=se,P=ee(),o===Ae&&P.type==="Identifier"&&W(Ve)){for(p=0;p<G.length;++p)G[p].name===u&&r(P.start,"Label '"+u+"' is already declared");return G.push({name:u,kind:O.W?"loop":O===Rt?"switch":null}),l.body=R(),G.pop(),l.label=P,T(l,"LabeledStatement")}return l.la=P,le(),T(l,"ExpressionStatement")}}function M(){K(fe);var o=ee();return K(ce),o}function _(o){var l=H(),u=!0,p=!1;for(l.body=[],K(We);!W(Re);){var P=R();if(l.body.push(P),u&&o&&Se(P)){var Y=p;V(p=!0)}u=!1}return p&&!Y&&V(!1),T(l,"BlockStatement")}function Z(o,l){return o.ua=l,K(he),o.test=O===he?null:ee(),K(he),o.update=O===ce?null:ee(),K(ce),o.body=R(),G.pop(),T(o,"ForStatement")}function we(o,l){return o.left=l,o.right=ee(),K(ce),o.body=R(),G.pop(),T(o,"ForInStatement")}function rt(o,l){for(o.fa=[],o.kind="var";;){var u=H();if(u.id=ue(),ae&&st(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=W(Pn)?ee(!0,l):null,o.fa.push(T(u,"VariableDeclarator")),!W(xe))break}}function ee(o,l){var u=gt(l);if(!o&&O===xe){for(o=ne(u),o.xb=[u];W(xe);)o.xb.push(gt(l));return T(o,"SequenceExpression")}return u}function gt(o){var l=yt(vt(),-1,o);if(W(Rn)){var u=ne(l);u.test=l,u.da=ee(!0),K(Ve),u.alternate=ee(!0,o),l=T(u,"ConditionalExpression")}return O.Cb?(u=ne(l),u.operator=se,u.left=l,x(),u.right=gt(o),A(l),T(u,"AssignmentExpression")):l}function yt(o,l,u){var p=O.L;if(p!==null&&(!u||O!==at)&&p>l){var P=ne(o);return P.left=o,P.operator=se,o=O,x(),P.right=yt(vt(),p,u),p=T(P,o===Fn||o===Bn?"LogicalExpression":"BinaryExpression"),yt(p,l,u)}return o}function vt(){if(O.prefix){var o=H(),l=O.$b;return o.operator=se,Ue=o.prefix=!0,x(),o.K=vt(),l?A(o.K):ae&&o.operator==="delete"&&o.K.type==="Identifier"&&r(o.start,"Deleting local variable in strict mode"),T(o,l?"UpdateExpression":"UnaryExpression")}for(l=Me(it());O.cc&&!ke();)o=ne(l),o.operator=se,o.prefix=!1,o.K=l,A(l),x(),l=T(o,"UpdateExpression");return l}function Me(o,l){if(W(An)){var u=ne(o);return u.object=o,u.Wa=ue(!0),u.bb=!1,Me(T(u,"MemberExpression"),l)}return W(Nt)?(u=ne(o),u.object=o,u.Wa=ee(),u.bb=!0,K(Ft),Me(T(u,"MemberExpression"),l)):!l&&W(fe)?(u=ne(o),u.callee=o,u.arguments=bt(ce,!1),Me(T(u,"CallExpression"),l)):o}function it(){switch(O){case En:var o=H();return x(),T(o,"ThisExpression");case Ae:return ue();case _e:case ot:case un:return o=H(),o.value=se,o.raw=b.slice(z,Te),x(),T(o,"Literal");case jn:case In:case Tn:return o=H(),o.value=O.$a,o.raw=O.l,x(),T(o,"Literal");case fe:o=kt;var l=z;x();var u=ee();return u.start=l,u.end=Te,F.C&&(u.X.start=o,u.X.end=wt),F.Xa&&(u.j=[l,Te]),K(ce),u;case Nt:return o=H(),x(),o.elements=bt(Ft,!0,!0),T(o,"ArrayExpression");case We:for(o=H(),l=!0,u=!1,o.h=[],x();!W(Re);){if(l)l=!1;else if(K(xe),F.sb&&W(Re))break;var p={key:O===_e||O===ot?it():ue(!0)},P=!1;if(W(Ve)){p.value=ee(!0);var Y=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?j():(P=u=!0,Y=p.kind=p.key.name,p.key=O===_e||O===ot?it():ue(!0),O!==fe&&j(),p.value=xt(H(),!1));if(p.key.type==="Identifier"&&(ae||u))for(var re=0;re<o.h.length;++re){var Pe=o.h[re];if(Pe.key.name===p.key.name){var Dt=Y===Pe.kind||P&&Pe.kind==="init"||Y==="init"&&(Pe.kind==="get"||Pe.kind==="set");Dt&&!ae&&Y==="init"&&Pe.kind==="init"&&(Dt=!1),Dt&&r(p.key.start,"Redefinition of property")}}o.h.push(p)}return T(o,"ObjectExpression");case At:return o=H(),x(),xt(o,!1);case Cn:return o=H(),x(),o.callee=Me(it(),!0),o.arguments=W(fe)?bt(ce,!1):wr,T(o,"NewExpression")}j()}function xt(o,l){O===Ae?o.id=ue():l?j():o.id=null,o.oa=[];var u=!0;for(K(fe);!W(ce);)u?u=!1:K(xe),o.oa.push(ue());u=Le;var p=G;if(Le=!0,G=[],o.body=_(!0),Le=u,G=p,ae||o.body.body.length&&Se(o.body.body[0])){for(u=o.id?-1:0;u<o.oa.length;++u)if(p=0>u?o.id:o.oa[u],(Dn(p.name)||st(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var P=0;P<u;++P)p.name===o.oa[P].name&&r(p.start,"Argument name clash in strict mode")}return T(o,l?"FunctionDeclaration":"FunctionExpression")}function bt(o,l,u){for(var p=[],P=!0;!W(o);){if(P)P=!1;else if(K(xe),l&&F.sb&&W(o))break;p.push(u&&O===xe?null:ee(!0))}return p}function ue(o){var l=H();return o&&F.yb==="everywhere"&&(o=!1),O===Ae?(!o&&(F.yb&&Fr(se)||ae&&Dn(se))&&b.slice(z,Te).indexOf("\\")===-1&&r(z,"The keyword '"+se+"' is reserved"),l.name=se):o&&O.l?l.name=O.l:j(),Ue=!1,x(),T(l,"Identifier")}e.version="0.5.0";var F,b="",Ie,St;e.parse=function(o,l){b=String(o),Ie=b.length,F=l||{};for(var u in cn)Object.prototype.hasOwnProperty.call(F,u)||(F[u]=cn[u]);for(St=F.sourceFile,Ce=1,f=de=0,Ue=!0,h(),u=F.dc,Ct=ve=f,F.C&&(Et=new a),Le=ae=!1,G=[],v(),o=u||H(),l=!0,u||(o.body=[]);O!==jt;)u=R(),o.body.push(u),l&&Se(u)&&V(!0),l=!1;return T(o,"Program")};var cn={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},f=0,z=0,Te=0,kt,wt,O,se,Ue,Ce,de,Ct=0,ve=0,Et,Le,G,ae,wr=[],_e={type:"num"},un={type:"regexp"},ot={type:"string"},Ae={type:"name"},jt={type:"eof"},It={l:"break"},Tt={l:"case",m:!0},dn={l:"catch"},fn={l:"continue"},hn={l:"debugger"},pn={l:"default"},mn={l:"do",W:!0},gn={l:"else",m:!0},yn={l:"finally"},vn={l:"for",W:!0},At={l:"function"},xn={l:"if"},bn={l:"return",m:!0},Rt={l:"switch"},Sn={l:"throw",m:!0},kn={l:"try"},Ot={l:"var"},Pt={l:"while",W:!0},wn={l:"with"},Cn={l:"new",m:!0},En={l:"this"},jn={l:"null",$a:null},In={l:"true",$a:!0},Tn={l:"false",$a:!1},at={l:"in",L:7,m:!0},Cr={break:It,case:Tt,catch:dn,continue:fn,debugger:hn,default:pn,do:mn,else:gn,finally:yn,for:vn,function:At,if:xn,return:bn,switch:Rt,throw:Sn,try:kn,var:Ot,while:Pt,with:wn,null:jn,true:In,false:Tn,new:Cn,in:at,instanceof:{l:"instanceof",L:7,m:!0},this:En,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Nt={type:"[",m:!0},Ft={type:"]"},We={type:"{",m:!0},Re={type:"}"},fe={type:"(",m:!0},ce={type:")"},xe={type:",",m:!0},he={type:";",m:!0},Ve={type:":",m:!0},An={type:"."},Rn={type:"?",m:!0},On={L:10,m:!0},Pn={Cb:!0,m:!0},Ee={Cb:!0,m:!0},Er={cc:!0,prefix:!0,$b:!0},Nn={prefix:!0,m:!0},Fn={L:1,m:!0},Bn={L:2,m:!0},jr={L:3,m:!0},Ir={L:4,m:!0},Tr={L:5,m:!0},Ar={L:6,m:!0},Rr={L:7,m:!0},Or={L:8,m:!0},Pr={L:9,prefix:!0,m:!0},Nr={L:10,m:!0},Fr=i("class enum extends super const export import"),Dn=i("implements interface let package private protected public static yield"),st=i("eval arguments"),Br=i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"),Dr=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Mn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),Mr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),lt=/[\n\r\u2028\u2029]/,ct=/\r\n|[\n\r\u2028\u2029]/g,Oe,Bt={kind:"loop"},Ur={kind:"switch"}},_t=_t=typeof globalThis=="undefined"?void 0:globalThis;Kr(_t.j||(_t.j={}));function g(e,t){typeof e=="string"&&(e=Fe(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),i;for(i in e)r[i]=i==="body"?e[i].slice():e[i];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var a,s;for(s in this)typeof this[s]=="function"&&(a=s.match(e))&&(this.rb[a[1]]=this[s].bind(this));this.N=Vt(this,this.ra,null),this.Na=this.N.object,this.ra=Fe(this.ba.join(`
4
+ `),"polyfills"),this.ba=void 0,ft(this.ra),a=new C(this.ra,this.N),a.done=!1,this.o=[a],this.Eb(),this.value=void 0,this.ra=r,a=new C(this.ra,this.N),a.done=!1,this.o.length=0,this.o[0]=a}var Un={C:!0,kc:5},Gt={configurable:!0,enumerable:!0,writable:!1},S={configurable:!0,enumerable:!1,writable:!0},oe={configurable:!0,enumerable:!1,writable:!1},$e={configurable:!1,enumerable:!1,writable:!1},Ln={configurable:!1,enumerable:!0,writable:!0},nr={STEP_ERROR:!0},De={SCOPE_REFERENCE:!0},qe={VALUE_IN_DESCRIPTOR:!0},Ne={REGEXP_TIMEOUT:!0},_n=[],me=null,Xe=null,be=typeof globalThis=="undefined"?void 0:globalThis,Gr=["onmessage = function(e) {","var result;","var data = e.data;","switch (data[0]) {","case 'split':","result = data[1].split(data[2], data[3]);","break;","case 'match':","result = data[1].match(data[2]);","break;","case 'search':","result = data[1].search(data[2]);","break;","case 'replace':","result = data[1].replace(data[2], data[3]);","break;","case 'exec':","var regexp = data[1];","regexp.lastIndex = data[2];","result = [regexp.exec(data[3]), data[1].lastIndex];","break;","default:","throw Error('Unknown RegExp operation: ' + data[0]);","}","postMessage(result);","close();","};"];function zt(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ye(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function ft(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var i=e[r];i&&typeof i=="object"&&ft(i,t,n)}}g.prototype.REGEXP_MODE=2;g.prototype.REGEXP_THREAD_TIMEOUT=1e3;g.prototype.POLYFILL_TIMEOUT=1e3;U=g.prototype;U.P=!1;U.Ka=!1;U.Kb=0;U.ic=0;function Fe(e,t){var n={},r;for(r in Un)n[r]=Un[r];return n.sourceFile=t,be.j.parse(e,n)}U.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=Fe(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");Ze(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};U.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&or(this,n,n.interval);var r=new C(n.node,n.scope);n.zb&&(r.ia=2,r.B=this.Na,r.U=n.zb,r.Qa=!0,r.F=n.Lb),n=r}if(!n)break}r=n.node;var i=Xe;Xe=this;try{var a=this.rb[r.type](e,n,r)}catch(s){if(s!==nr)throw this.value!==s&&(this.value=void 0),s}finally{Xe=i}if(a&&e.push(a),this.P)throw this.value=void 0,Error("Getter not supported in this context");if(this.Ka)throw this.value=void 0,Error("Setter not supported in this context");t||r.end||(t=Date.now()+this.POLYFILL_TIMEOUT)}while(!r.end&&t>Date.now());return!0};U.Eb=function(){for(;!this.za&&this.lb(););return this.za};function zr(e,t){e.g(t,"NaN",NaN,$e),e.g(t,"Infinity",1/0,$e),e.g(t,"undefined",void 0,$e),e.g(t,"window",t,Gt),e.g(t,"this",t,$e),e.g(t,"self",t),e.M=new D(null),e.Z=new D(e.M),Xr(e,t),Yr(e,t),t.xa=e.M,e.g(t,"constructor",e.v,S),Jr(e,t),qr(e,t),Zr(e,t),Qr(e,t),ei(e,t),ti(e,t),ni(e,t),ri(e,t),ii(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,S),e.g(t,"parseInt",e.i(parseInt,!1),S),e.g(t,"parseFloat",e.i(parseFloat,!1),S),e.g(t,"isNaN",e.i(isNaN,!1),S),e.g(t,"isFinite",e.i(isFinite,!1),S);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],i=0;i<r.length;i++)n=function(a){return function(s){try{return a(s)}catch(c){E(e,e.Gb,c.message)}}}(r[i][0]),e.g(t,r[i][1],e.i(n,!1),S);n=function(a){return Wn(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),S),n=function(a){return Wn(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),S),n=function(a){Vn(e,a)},e.g(t,"clearTimeout",e.i(n,!1),S),n=function(a){Vn(e,a)},e.g(t,"clearInterval",e.i(n,!1),S),e.OBJECT=e.v,e.OBJECT_PROTO=e.M,e.FUNCTION=e.O,e.FUNCTION_PROTO=e.Z,e.ARRAY=e.qa,e.ARRAY_PROTO=e.La,e.REGEXP=e.I,e.REGEXP_PROTO=e.Ma,e.DATE=e.$,e.DATE_PROTO=e.nb,e.qb&&e.qb(e,t)}U.Wb=0;function Xr(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(i){var a=arguments.length?String(arguments[arguments.length-1]):"",s=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(s){s=s.split(/\s*,\s*/);for(var c=0;c<s.length;c++){var h=s[c];n.test(h)||E(e,e.T,"Invalid function argument: "+h)}s=s.join(", ")}try{var m=Fe("(function("+s+") {"+a+"})","function"+e.Wb++)}catch(v){E(e,e.T,"Invalid code: "+v.message)}return m.body.length!==1&&E(e,e.T,"Invalid code in function body"),Jt(e,m.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,S),e.g(e.O,"prototype",e.Z,S),e.g(e.Z,"constructor",e.O,S),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,oe),e.Z.H="Function",r=function(i,a){var s=e.o[e.o.length-1];s.U=this,s.B=i,s.F=[],a!=null&&(a instanceof D?s.F=rr(e,a):E(e,e.j,"CreateListFromArrayLike called on non-object")),s.eb=!1},J(e,e.O,"apply",r),r=function(i){var a=e.o[e.o.length-1];a.U=this,a.B=i,a.F=[];for(var s=1;s<arguments.length;s++)a.F.push(arguments[s]);a.eb=!1},J(e,e.O,"call",r),e.ba.push("Object.defineProperty(Function.prototype, 'bind',","{configurable: true, writable: true, value:","function bind(oThis) {","if (typeof this !== 'function') {","throw TypeError('What is trying to be bound is not callable');","}","var aArgs = Array.prototype.slice.call(arguments, 1),","fToBind = this,","fNOP = function() {},","fBound = function() {","return fToBind.apply(this instanceof fNOP","? this",": oThis,","aArgs.concat(Array.prototype.slice.call(arguments)));","};","if (this.prototype) {","fNOP.prototype = this.prototype;","}","fBound.prototype = new fNOP();","return fBound;","}","});",""),r=function(){return String(this)},J(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),S),r=function(){return this.valueOf()},J(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),S)}function Yr(e,t){function n(i){i!=null||E(e,e.j,"Cannot convert '"+i+"' to object")}var r=function(i){if(i==null)return ye(e)?this:e.s(e.M);if(!(i instanceof D)){var a=e.s(ge(e,i));return a.data=i,a}return i};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,S),e.g(e.M,"constructor",e.v,S),e.g(t,"Object",e.v,S),r=function(i){return n(i),pe(e,Object.getOwnPropertyNames(i instanceof D?i.h:i))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),S),r=function(i){return n(i),i instanceof D&&(i=i.h),pe(e,Object.keys(i))},e.g(e.v,"keys",e.i(r,!1),S),r=function(i){return i===null?e.s(null):(i instanceof D||E(e,e.j,"Object prototype may only be an Object or null, not "+i),e.s(i))},e.g(e.v,"create",e.i(r,!1),S),e.ba.push("(function() {","var create_ = Object.create;","Object.create = function create(proto, props) {","var obj = create_(proto);","props && Object.defineProperties(obj, props);","return obj;","};","})();",""),r=function(i,a,s){return a=String(a),i instanceof D||E(e,e.j,"Object.defineProperty called on non-object: "+i),s instanceof D||E(e,e.j,"Property description must be an object"),!i.preventExtensions||a in i.h||E(e,e.j,"Can't define property '"+a+"', object is not extensible"),e.g(i,a,qe,s.h),i},e.g(e.v,"defineProperty",e.i(r,!1),S),e.ba.push("(function() {","var defineProperty_ = Object.defineProperty;","Object.defineProperty = function defineProperty(obj, prop, d1) {","var d2 = {};","if ('configurable' in d1) d2.configurable = d1.configurable;","if ('enumerable' in d1) d2.enumerable = d1.enumerable;","if ('writable' in d1) d2.writable = d1.writable;","if ('value' in d1) d2.value = d1.value;","if ('get' in d1) d2.get = d1.get;","if ('set' in d1) d2.set = d1.set;","return defineProperty_(obj, prop, d2);","};","})();","Object.defineProperty(Object, 'defineProperties',","{configurable: true, writable: true, value:","function defineProperties(obj, props) {","var keys = Object.keys(props);","for (var i = 0; i < keys.length; i++) {","Object.defineProperty(obj, keys[i], props[keys[i]]);","}","return obj;","}","});",""),r=function(i,a){if(i instanceof D||E(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+i),a=String(a),a in i.h){var s=Object.getOwnPropertyDescriptor(i.h,a),c=i.V[a];return i=i.Y[a],a=e.s(e.M),c||i?(e.g(a,"get",c),e.g(a,"set",i)):(e.g(a,"value",s.value),e.g(a,"writable",s.writable)),e.g(a,"configurable",s.configurable),e.g(a,"enumerable",s.enumerable),a}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),S),r=function(i){return n(i),ge(e,i)},e.g(e.v,"getPrototypeOf",e.i(r,!1),S),r=function(i){return!!i&&!i.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),S),r=function(i){return i instanceof D&&(i.preventExtensions=!0),i},e.g(e.v,"preventExtensions",e.i(r,!1),S),J(e,e.v,"toString",D.prototype.toString),J(e,e.v,"toLocaleString",D.prototype.toString),J(e,e.v,"valueOf",D.prototype.valueOf),r=function(i){return n(this),this instanceof D?String(i)in this.h:this.hasOwnProperty(i)},J(e,e.v,"hasOwnProperty",r),r=function(i){return n(this),this instanceof D?Object.prototype.propertyIsEnumerable.call(this.h,i):this.propertyIsEnumerable(i)},J(e,e.v,"propertyIsEnumerable",r),r=function(i){for(;;){if(i=ge(e,i),!i)return!1;if(i===this)return!0}},J(e,e.v,"isPrototypeOf",r)}function Jr(e,t){var n=function(r){var i=ye(e)?this:Be(e),a=arguments[0];if(arguments.length===1&&typeof a=="number")isNaN(zt(a))&&E(e,e.ob,"Invalid array length: "+a),i.h.length=a;else{for(a=0;a<arguments.length;a++)i.h[a]=arguments[a];i.h.length=a}return i};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,S),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),S),e.g(e.La,"length",0,{configurable:!1,enumerable:!1,writable:!0}),e.La.H="Array",e.ba.push("(function() {","function createArrayMethod_(f) {","Object.defineProperty(Array.prototype, f.name,","{configurable: true, writable: true, value: f});","}","createArrayMethod_(","function pop() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","len--;","var x = o[len];","delete o[len];","o.length = len;","return x;","}",");","createArrayMethod_(","function push(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","for (var i = 0; i < arguments.length; i++) {","o[len] = arguments[i];","len++;","}","o.length = len;","return len;","}",");","createArrayMethod_(","function shift() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","var value = o[0];","for (var i = 0; i < len - 1; i++) {","if ((i + 1) in o) {","o[i] = o[i + 1];","} else {","delete o[i];","}","}","delete o[i];","o.length = len - 1;","return value;","}",");","createArrayMethod_(","function unshift(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","len = 0;","}","for (var i = len - 1; i >= 0; i--) {","if (i in o) {","o[i + arguments.length] = o[i];","} else {","delete o[i + arguments.length];","}","}","for (var i = 0; i < arguments.length; i++) {","o[i] = arguments[i];","}","return (o.length = len + arguments.length);","}",");","createArrayMethod_(","function reverse() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 2) {","return o;","}","for (var i = 0; i < len / 2 - 0.5; i++) {","var x = o[i];","var hasX = i in o;","if ((len - i - 1) in o) {","o[i] = o[len - i - 1];","} else {","delete o[i];","}","if (hasX) {","o[len - i - 1] = x;","} else {","delete o[len - i - 1];","}","}","return o;","}",");","createArrayMethod_(","function indexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var n = fromIndex | 0;","if (!len || n >= len) {","return -1;","}","var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);","while (i < len) {","if (i in o && o[i] === searchElement) {","return i;","}","i++;","}","return -1;","}",");","createArrayMethod_(","function lastIndexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len) {","return -1;","}","var n = len - 1;","if (arguments.length > 1) {","n = fromIndex | 0;","if (n) {","n = (n > 0 || -1) * Math.floor(Math.abs(n));","}","}","var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);","while (i >= 0) {","if (i in o && o[i] === searchElement) {","return i;","}","i--;","}","return -1;","}",");","createArrayMethod_(","function slice(start, end) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","start = (start >= 0) ? start : Math.max(0, len + start);","if (typeof end !== 'undefined') {","if (end !== Infinity) {","end |= 0;","}","if (end < 0) {","end = len + end;","} else {","end = Math.min(end, len);","}","} else {","end = len;","}","var size = end - start;","var cloned = new Array(size);","for (var i = 0; i < size; i++) {","if ((start + i) in o) {","cloned[i] = o[start + i];","}","}","return cloned;","}",");","createArrayMethod_(","function splice(start, deleteCount, var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","if (start < 0) {","start = Math.max(len + start, 0);","} else {","start = Math.min(start, len);","}","if (arguments.length < 1) {","deleteCount = len - start;","} else {","deleteCount |= 0;","deleteCount = Math.max(0, Math.min(deleteCount, len - start));","}","var removed = [];","for (var i = start; i < start + deleteCount; i++) {","if (i in o) {","removed.push(o[i]);","} else {","removed.length++;","}","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = start + deleteCount; i < len - deleteCount; i++) {","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = len - deleteCount; i < len; i++) {","delete o[i];","}","len -= deleteCount;","var arl = arguments.length - 2;","for (var i = len - 1; i >= start; i--) {","if (i in o) {","o[i + arl] = o[i];","} else {","delete o[i + arl];","}","}","len += arl;","for (var i = 2; i < arguments.length; i++) {","o[start + i - 2] = arguments[i];","}","o.length = len;","return removed;","}",");","createArrayMethod_(","function concat(var_args) {","if (!this) throw TypeError();","var o = Object(this);","var cloned = [];","for (var i = -1; i < arguments.length; i++) {","var value = (i === -1) ? o : arguments[i];","if (Array.isArray(value)) {","for (var j = 0, l = value.length; j < l; j++) {","if (j in value) {","cloned.push(value[j]);","} else {","cloned.length++;","}","}","} else {","cloned.push(value);","}","}","return cloned;","}",");","createArrayMethod_(","function join(opt_separator) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var sep = typeof opt_separator === 'undefined' ?","',' : ('' + opt_separator);","var str = '';","for (var i = 0; i < len; i++) {","if (i && sep) str += sep;","str += (o[i] === null || o[i] === undefined) ? '' : o[i];","}","return str;","}",");","createArrayMethod_(","function every(callbackfn, thisArg) {","if (!this || typeof callbackfn !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o && !callbackfn.call(t, o[k], k, o)) return false;","k++;","}","return true;","}",");","createArrayMethod_(","function filter(fun, var_args) {","if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var res = [];","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o) {","var val = o[i];","if (fun.call(thisArg, val, i, o)) res.push(val);","}","}","return res;","}",");","createArrayMethod_(","function forEach(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o) callback.call(t, o[k], k, o);","k++;","}","}",");","createArrayMethod_(","function map(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","var a = new Array(len);","while (k < len) {","if (k in o) a[k] = callback.call(t, o[k], k, o);","k++;","}","return a;","}",");","createArrayMethod_(","function reduce(callback /*, initialValue*/) {","if (!this || typeof callback !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = 0, value;","if (arguments.length === 2) {","value = arguments[1];","} else {","while (k < len && !(k in o)) k++;","if (k >= len) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k++];","}","for (; k < len; k++) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function reduceRight(callback /*, initialValue*/) {","if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = len - 1, value;","if (arguments.length >= 2) {","value = arguments[1];","} else {","while (k >= 0 && !(k in o)) k--;","if (k < 0) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k--];","}","for (; k >= 0; k--) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function some(fun/*, thisArg*/) {","if (!this || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o && fun.call(thisArg, o[i], i, o)) return true;","}","return false;","}",");","createArrayMethod_(","function sort(opt_comp) {","if (!this) throw TypeError();","if (typeof opt_comp !== 'function') {","opt_comp = undefined;","}","for (var i = 0; i < this.length; i++) {","var changes = 0;","for (var j = 0; j < this.length - i - 1; j++) {","if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :","(String(this[j]) > String(this[j + 1]))) {","var swap = this[j];","var hasSwap = j in this;","if ((j + 1) in this) {","this[j] = this[j + 1];","} else {","delete this[j];","}","if (hasSwap) {","this[j + 1] = swap;","} else {","delete this[j + 1];","}","changes++;","}","}","if (!changes) break;","}","return this;","}",");","createArrayMethod_(","function toLocaleString() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var out = [];","for (var i = 0; i < len; i++) {","out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();","}","return out.join(',');","}",");","})();","")}function qr(e,t){var n=function(r){return r=arguments.length?be.String(r):"",ye(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,S),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),S),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)J(e,e.J,t[n],String.prototype[t[n]]);n=function(r,i,a){i=e.R(i),a=e.R(a);try{return String(this).localeCompare(r,i,a)}catch(s){E(e,e.D,"localeCompare: "+s.message)}},J(e,e.J,"localeCompare",n),n=function(r,i,a){var s=String(this);if(i=i?Number(i):void 0,Q(e,r,e.I)&&(r=r.data,Ke(e,r,a),e.REGEXP_MODE===2)){if(me)r=He(e,"string.split(separator, limit)",{string:s,separator:r,limit:i},r,a),r!==Ne&&a(pe(e,r));else{var c=e.ha(),h=Ge(e,r,c,a);c.onmessage=function(m){clearTimeout(h),a(pe(e,m.data))},c.postMessage(["split",s,r,i])}return}r=s.split(r,i),a(pe(e,r))},ze(e,e.J,"split",n),n=function(r,i){var a=String(this);if(r=Q(e,r,e.I)?r.data:new RegExp(r),Ke(e,r,i),e.REGEXP_MODE===2)if(me)r=He(e,"string.match(regexp)",{string:a,regexp:r},r,i),r!==Ne&&i(r&&pe(e,r));else{var s=e.ha(),c=Ge(e,r,s,i);s.onmessage=function(h){clearTimeout(c),i(h.data&&pe(e,h.data))},s.postMessage(["match",a,r])}else r=a.match(r),i(r&&pe(e,r))},ze(e,e.J,"match",n),n=function(r,i){var a=String(this);if(Q(e,r,e.I)?r=r.data:r=new RegExp(r),Ke(e,r,i),e.REGEXP_MODE===2)if(me)r=He(e,"string.search(regexp)",{string:a,regexp:r},r,i),r!==Ne&&i(r);else{var s=e.ha(),c=Ge(e,r,s,i);s.onmessage=function(h){clearTimeout(c),i(h.data)},s.postMessage(["search",a,r])}else i(a.search(r))},ze(e,e.J,"search",n),n=function(r,i,a){var s=String(this);if(i=String(i),Q(e,r,e.I)&&(r=r.data,Ke(e,r,a),e.REGEXP_MODE===2)){if(me)r=He(e,"string.replace(substr, newSubstr)",{string:s,substr:r,newSubstr:i},r,a),r!==Ne&&a(r);else{var c=e.ha(),h=Ge(e,r,c,a);c.onmessage=function(m){clearTimeout(h),a(m.data)},c.postMessage(["replace",s,r,i])}return}a(s.replace(r,i))},ze(e,e.J,"replace",n),e.ba.push("(function() {","var replace_ = String.prototype.replace;","String.prototype.replace = function replace(substr, newSubstr) {","if (typeof newSubstr !== 'function') {","return replace_.call(this, substr, newSubstr);","}","var str = this;","if (substr instanceof RegExp) {","var subs = [];","var m = substr.exec(str);","while (m) {","m.push(m.index, str);","var inject = newSubstr.apply(null, m);","subs.push([m.index, m[0].length, inject]);","m = substr.global ? substr.exec(str) : null;","}","for (var i = subs.length - 1; i >= 0; i--) {","str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);","}","} else {","var i = str.indexOf(substr);","if (i !== -1) {","var inject = newSubstr(str.substr(i, substr.length), i, str);","str = str.substring(0, i) + inject + str.substring(i + substr.length);","}","}","return str;","};","})();","")}function Zr(e,t){e.mb=e.i(function(n){return n=be.Boolean(n),ye(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,S)}function Qr(e,t){var n=function(r){return r=arguments.length?be.Number(r):0,ye(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,S),t=["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],n=0;n<t.length;n++)e.g(e.aa,t[n],Number[t[n]],$e);n=function(r){try{return Number(this).toExponential(r)}catch(i){E(e,e.D,i.message)}},J(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(i){E(e,e.D,i.message)}},J(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(i){E(e,e.D,i.message)}},J(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(i){E(e,e.D,i.message)}},J(e,e.aa,"toString",n),n=function(r,i){r=r?e.R(r):void 0,i=i?e.R(i):void 0;try{return Number(this).toLocaleString(r,i)}catch(a){E(e,e.D,"toLocaleString: "+a.message)}},J(e,e.aa,"toLocaleString",n)}function ei(e,t){var n=function(i,a){if(!ye(e))return be.Date();var s=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(be.Date,s)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,S),e.g(e.$,"now",e.i(Date.now,!1),S),e.g(e.$,"parse",e.i(Date.parse,!1),S),e.g(e.$,"UTC",e.i(Date.UTC,!1),S),t="getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");for(var r=0;r<t.length;r++)n=function(i){return function(a){var s=this.data;s instanceof Date||E(e,e.j,i+" not called on a Date");for(var c=[],h=0;h<arguments.length;h++)c[h]=e.R(arguments[h]);return s[i].apply(s,c)}}(t[r]),J(e,e.$,t[r],n)}function ti(e,t){var n=function(r,i){if(ye(e))var a=this;else{if(i===void 0&&Q(e,r,e.I))return r;a=e.s(e.Ma)}r=r===void 0?"":String(r),i=i?String(i):"",/^[gmi]*$/.test(i)||E(e,e.T,"Invalid regexp flag: "+i);try{var s=new be.RegExp(r,i)}catch(c){E(e,e.T,c.message)}return Xt(e,a,s),a};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,S),e.g(e.I.h.prototype,"global",void 0,oe),e.g(e.I.h.prototype,"ignoreCase",void 0,oe),e.g(e.I.h.prototype,"multiline",void 0,oe),e.g(e.I.h.prototype,"source","(?:)",oe),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,i){function a(v){if(v){var k=pe(e,v);return e.g(k,"index",v.index),e.g(k,"input",v.input),k}return null}var s=this.data;if(r=String(r),s.lastIndex=Number(e.G(this,"lastIndex")),Ke(e,s,i),e.REGEXP_MODE===2)if(me)r=He(e,"regexp.exec(string)",{string:r,regexp:s},s,i),r!==Ne&&(e.g(this,"lastIndex",s.lastIndex),i(a(r)));else{var c=e.ha(),h=Ge(e,s,c,i),m=this;c.onmessage=function(v){clearTimeout(h),e.g(m,"lastIndex",v.data[1]),i(a(v.data[0]))},c.postMessage(["exec",s,s.lastIndex,r])}else r=s.exec(r),e.g(this,"lastIndex",s.lastIndex),i(a(r))},ze(e,e.I,"exec",n)}function ni(e,t){function n(r){var i=e.i(function(a){var s=ye(e)?this:e.Aa(i);return Wt(e,s,a),s},!0);return e.g(i,"prototype",e.Aa(e.D),S),e.g(i.h.prototype,"name",r,S),e.g(t,r,i,S),i}e.D=e.i(function(r){var i=ye(e)?this:e.Aa(e.D);return Wt(e,i,r),i},!0),e.g(t,"Error",e.D,S),e.g(e.D.h.prototype,"message","",S),e.g(e.D.h.prototype,"name","Error",S),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function ri(e,t){var n=e.s(e.M);e.g(t,"Math",n,S);var r="E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");for(t=0;t<r.length;t++)e.g(n,r[t],Math[r[t]],oe);for(r="abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "),t=0;t<r.length;t++)e.g(n,r[t],e.i(Math[r[t]],!1),S)}function ii(e,t){var n=e.s(e.M);e.g(t,"JSON",n,S),t=function(r){try{var i=JSON.parse(String(r))}catch(a){E(e,e.T,a.message)}return e.Ia(i)},e.g(n,"parse",e.i(t,!1)),t=function(r,i,a){i&&i.H==="Function"?E(e,e.j,"Function replacer on JSON.stringify not supported"):i&&i.H==="Array"?(i=rr(e,i),i=i.filter(function(c){return typeof c=="string"||typeof c=="number"})):i=null,typeof a!="string"&&typeof a!="number"&&(a=void 0),r=e.R(r);try{var s=JSON.stringify(r,i,a)}catch(c){E(e,e.j,c.message)}return s},e.g(n,"stringify",e.i(t,!1))}function Q(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=ge(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Xt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,S),e.g(t,"source",n.source,oe),e.g(t,"global",n.global,oe),e.g(t,"ignoreCase",n.ignoreCase,oe),e.g(t,"multiline",n.multiline,oe)}function Wt(e,t,n){n&&e.g(t,"message",String(n),S),n=[];for(var r=e.o.length-1;0<=r;r--){var i=e.o[r],a=i.node;a.type==="CallExpression"&&(i=i.U)&&n.length&&(n[n.length-1].Ob=e.G(i,"name")),!a.X||n.length&&a.type!=="CallExpression"||n.push({Nb:a.X})}for(r=String(e.G(t,"name")),a=String(e.G(t,"message")),a=r+": "+a+`
5
5
  `,r=0;r<n.length;r++){var s=n[r].Nb;i=n[r].Ob,s=s.source+":"+s.start.line+":"+s.start.ab,a=i?a+(" at "+i+" ("+s+`)
6
6
  `):a+(" at "+s+`
7
- `)}e.g(t,"stack",a.trim(),k)}_.ha=function(){var e=this.ha.Mb;return e||(e=new Blob([Xr.join(`
8
- `)],{type:"application/javascript"}),this.ha.Mb=e),new Worker(URL.createObjectURL(e))};function He(e,t,n,r,i){var a={timeout:e.REGEXP_THREAD_TIMEOUT};try{return me.runInNewContext(t,n,a)}catch{i(null),j(e,e.D,"RegExp Timeout: "+r)}return Ne}function Ke(e,t,n){if(e.REGEXP_MODE===0)var r=!1;else if(e.REGEXP_MODE===1)r=!0;else if(me)r=!0;else if(typeof Worker=="function"&&typeof URL=="function")r=!0;else if(typeof require=="function"){try{me=require("vm")}catch{}r=!!me}else r=!1;r||(n(null),j(e,e.D,"Regular expressions not supported: "+t))}function Ge(e,t,n,r){return setTimeout(function(){n.terminate(),r(null);try{j(e,e.D,"RegExp Timeout: "+t)}catch{}},e.REGEXP_THREAD_TIMEOUT)}_.Aa=function(e){return this.s(e&&e.h.prototype)};_.s=function(e){if(typeof e!="object")throw Error("Non object prototype");return e=new M(e),Q(this,e,this.D)&&(e.H="Error"),e};function Be(e){var t=e.s(e.La);return e.g(t,"length",0,{configurable:!1,enumerable:!1,writable:!0}),t.H="Array",t}function Yt(e,t,n){var r=e.s(e.Z);return n?(n=e.s(e.M),e.g(r,"prototype",n,k),e.g(n,"constructor",r,k)):r.Ab=!0,e.g(r,"length",t,oe),r.H="Function",r}function qt(e,t,n,r){var i=Yt(e,t.oa.length,!0);return i.Va=n,i.node=t,e.g(i,"name",t.id?String(t.id.name):r||"",oe),i}_.i=function(e,t){return t=Yt(this,e.length,t),t.Ta=e,e.id=this.Ya++,this.g(t,"name",e.name,oe),t};_.ub=function(e){var t=Yt(this,e.length,!0);return t.Za=e,e.id=this.Ya++,this.g(t,"name",e.name,oe),t};_.Ia=function(e){if(e instanceof M)throw Error("Object is already pseudo");if(e==null||e===!0||e===!1||typeof e=="string"||typeof e=="number")return e;if(e instanceof RegExp){var t=this.s(this.Ma);return Xt(this,t,e),t}if(e instanceof Date)return t=this.s(this.nb),t.data=new Date(e.valueOf()),t;if(typeof e=="function"){var n=this;return t=Object.getOwnPropertyDescriptor(e,"prototype"),this.i(function(){var i=Array.prototype.slice.call(arguments).map(function(a){return n.R(a)});return i=e.apply(n,i),n.Ia(i)},!!t)}if(Array.isArray(e)){t=Be(this);for(var r=0;r<e.length;r++)r in e&&this.g(t,r,this.Ia(e[r]));return t}t=this.s(this.M);for(r in e)this.g(t,r,this.Ia(e[r]));return t};_.R=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)return e;if(!(e instanceof M))throw Error("Object is not pseudo");if(Q(this,e,this.I))return t=new RegExp(e.data.source,e.data.flags),t.lastIndex=e.data.lastIndex,t;if(Q(this,e,this.$))return new Date(e.data.valueOf());t=t||{hb:[],Sa:[]};var n=t.hb.indexOf(e);if(n!==-1)return t.Sa[n];if(t.hb.push(e),Q(this,e,this.qa)){n=[],t.Sa.push(n);for(var r=this.G(e,"length"),i=0;i<r;i++)ht(this,e,i)&&(n[i]=this.R(this.G(e,i),t))}else for(r in n={},t.Sa.push(n),e.h)i=this.R(e.h[r],t),Object.defineProperty(n,r,{value:i,writable:!0,enumerable:!0,configurable:!0});return t.hb.pop(),t.Sa.pop(),n};function pe(e,t){for(var n=Be(e),r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++)e.g(n,r[i],t[r[i]]);return n}function ir(e,t){var n=[],r;for(r in t.h)n[r]=e.G(t,r);return n.length=zt(e.G(t,"length"))||0,n}function ge(e,t){switch(typeof t){case"number":return e.aa.h.prototype;case"boolean":return e.mb.h.prototype;case"string":return e.J.h.prototype}return t?t.xa:null}_.G=function(e,t){if(this.P)throw Error("Getter not supported in that context");if(t=String(t),e!=null||j(this,this.j,"Cannot read property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof M))throw TypeError("Expecting native value or pseudo object");if(t==="length"){if(Q(this,e,this.J))return String(e).length}else if(64>t.charCodeAt(0)&&Q(this,e,this.J)){var n=Ye(t);if(!isNaN(n)&&n<String(e).length)return String(e)[n]}do if(e.h&&t in e.h)return(n=e.V[t])?(this.P=!0,n):e.h[t];while(e=ge(this,e))};function ht(e,t,n){if(!(t instanceof M))throw TypeError("Primitive data type has no properties");if(n=String(n),n==="length"&&Q(e,t,e.J))return!0;if(Q(e,t,e.J)){var r=Ye(n);if(!isNaN(r)&&r<String(t).length)return!0}do if(t.h&&n in t.h)return!0;while(t=ge(e,t));return!1}_.g=function(e,t,n,r){if(this.Ka)throw Error("Setter not supported in that context");if(t=String(t),e!=null||j(this,this.j,"Cannot set property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof M))throw TypeError("Expecting native value or pseudo object");r&&("get"in r||"set"in r)&&("value"in r||"writable"in r)&&j(this,this.j,"Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");var i=!this.o||Jt(this).S;if(e instanceof M){if(Q(this,e,this.J)){var a=Ye(t);if(t==="length"||!isNaN(a)&&a<String(e).length){i&&j(this,this.j,"Cannot assign to read only property '"+t+"' of String '"+e.data+"'");return}}if(e.H==="Array")if(a=e.h.length,t==="length"){if(r){if(!("value"in r))return;n=r.value}if(n=zt(n),isNaN(n)&&j(this,this.ob,"Invalid array length"),n<a)for(s in e.h){var s=Ye(s);!isNaN(s)&&n<=s&&delete e.h[s]}}else isNaN(s=Ye(t))||(e.h.length=Math.max(a,s+1));if(!e.preventExtensions||t in e.h)if(r){i={},"get"in r&&r.get&&(e.V[t]=r.get,i.get=this.g.ac),"set"in r&&r.set&&(e.Y[t]=r.set,i.set=this.g.bc),"configurable"in r&&(i.configurable=r.configurable),"enumerable"in r&&(i.enumerable=r.enumerable),"writable"in r&&(i.writable=r.writable,delete e.V[t],delete e.Y[t]),"value"in r?(i.value=r.value,delete e.V[t],delete e.Y[t]):n!==Je&&(i.value=n,delete e.V[t],delete e.Y[t]);try{Object.defineProperty(e.h,t,i)}catch{j(this,this.j,"Cannot redefine property: "+t)}"get"in r&&!r.get&&delete e.V[t],"set"in r&&!r.set&&delete e.Y[t]}else{if(n===Je)throw ReferenceError("Value not specified");for(r=e;!(t in r.h);)if(r=ge(this,r),!r){r=e;break}if(r.Y&&r.Y[t])return this.Ka=!0,r.Y[t];if(r.V&&r.V[t])i&&j(this,this.j,"Cannot set property '"+t+"' of object '"+e+"' which only has a getter");else try{e.h[t]=n}catch{i&&j(this,this.j,"Cannot assign to read only property '"+t+"' of object '"+e+"'")}}else i&&j(this,this.j,"Can't add property '"+t+"', object is not extensible")}else i&&j(this,this.j,"Can't create property '"+t+"' on '"+e+"'")};_.g.ac=function(){throw Error("Placeholder getter")};_.g.bc=function(){throw Error("Placeholder setter")};function J(e,t,n,r){e.g(t.h.prototype,n,e.i(r,!1),k)}function ze(e,t,n,r){e.g(t.h.prototype,n,e.ub(r),k)}function Jt(e){if(e=e.o[e.o.length-1].scope,!e)throw Error("No scope found");return e}function Vt(e,t,n){var r=!1;if(n&&n.S)r=!0;else{var i=t.body&&t.body[0];i&&i.la&&i.la.type==="Literal"&&i.la.value==="use strict"&&(r=!0)}return i=e.s(null),r=new sr(n,r,i),n||Yr(e,r.object),Ze(e,t,r),r}function Zt(e,t,n){if(!t)throw Error("parentScope required");return e=n||e.s(null),new sr(t,t.S,e)}function Qt(e,t){for(var n=Jt(e);n&&n!==e.N;){if(t in n.object.h)return n.object.h[t];n=n.Va}if(n===e.N&&ht(e,n.object,t))return e.G(n.object,t);n=e.o[e.o.length-1].node,n.type==="UnaryExpression"&&n.operator==="typeof"||j(e,e.pb,t+" is not defined")}function or(e,t,n){for(var r=Jt(e),i=r.S;r&&r!==e.N;){if(t in r.object.h){try{r.object.h[t]=n}catch{i&&j(e,e.j,"Cannot assign to read only variable '"+t+"'")}return}r=r.Va}if(r===e.N&&(!i||ht(e,r.object,t)))return e.g(r.object,t,n);j(e,e.pb,t+" is not defined")}function Ze(e,t,n){if(t.jb)var r=t.jb;else{switch(r=Object.create(null),t.type){case"VariableDeclaration":for(var i=0;i<t.fa.length;i++)r[t.fa[i].id.name]=!0;break;case"FunctionDeclaration":r[t.id.name]=t;break;case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"Program":case"SwitchCase":case"SwitchStatement":case"TryStatement":case"WithStatement":case"WhileStatement":var a=t.constructor,s;for(s in t)if(s!=="loc"){var c=t[s];if(c&&typeof c=="object"){if(Array.isArray(c)){for(i=0;i<c.length;i++)if(c[i]&&c[i].constructor===a){var h=Ze(e,c[i],n);for(s in h)r[s]=h[s]}}else if(c.constructor===a)for(s in h=Ze(e,c,n),h)r[s]=h[s]}}}t.jb=r}for(s in r)r[s]===!0?e.g(n.object,s,void 0,Ln):e.g(n.object,s,qt(e,r[s],n),Ln);return r}function ye(e){return e.o[e.o.length-1].isConstructor}function en(e,t){return t[0]===De?Qt(e,t[1]):e.G(t[0],t[1])}function tn(e,t,n){return t[0]===De?or(e,t[1],n):e.g(t[0],t[1],n)}function j(e,t,n){throw e.N?(n!==void 0&&t instanceof M&&(t=e.Aa(t),Wt(e,t,n)),et(e,4,t),rr):n===void 0?t:n}function et(e,t,n,r){if(t===0)throw TypeError("Should not unwind for NORMAL completions");var i=e.o;e:for(;0<i.length;i.pop()){var a=i[i.length-1];switch(a.node.type){case"TryStatement":a.ea={type:t,value:n,label:r};return;case"CallExpression":case"NewExpression":if(t===3){a.value=n;return}if(t!==4)throw Error("Unsynatctic break/continue not rejected by Acorn");break;case"Program":a.done=!0;break e}if(t===1){if(r?a.labels&&a.labels.indexOf(r)!==-1:a.W||a.Zb){i.pop();return}}else if(t===2&&(r?a.labels&&a.labels.indexOf(r)!==-1:a.W))return}throw Q(e,n,e.D)?(t={EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError},r=String(e.G(n,"name")),i=e.G(n,"message").valueOf(),t=(t[r]||Error)(i),t.stack=String(e.G(n,"stack"))):t=String(n),e.value=t,t}function ie(e,t){switch(t.type){case"ArrayExpression":return"[...]";case"BinaryExpression":case"LogicalExpression":return ie(e,t.left)+" "+t.operator+" "+ie(e,t.right);case"CallExpression":return ie(e,t.callee)+"(...)";case"ConditionalExpression":return ie(e,t.test)+" ? "+ie(e,t.da)+" : "+ie(e,t.alternate);case"Identifier":return t.name;case"Literal":return t.raw;case"MemberExpression":var n=ie(e,t.object);return e=ie(e,t.Wa),t.bb?n+"["+e+"]":n+"."+e;case"NewExpression":return"new "+ie(e,t.callee)+"(...)";case"ObjectExpression":return"{...}";case"ThisExpression":return"this";case"UnaryExpression":return t.operator+" "+ie(e,t.K);case"UpdateExpression":return n=ie(e,t.K),t.prefix?t.operator+n:n+t.operator}return"???"}function Wn(e,t,n){var r=e.o[e.o.length-1],i=Array.from(n),a=i.shift();n=Math.max(Number(i.shift()||0),0);var s=e.ya();if(a instanceof M&&a.H==="Function"){var c=a;s.type="CallExpression",r=r.scope}else{try{var h=Fe(String(a),"taskCode"+e.ic++)}catch(m){j(e,e.T,"Invalid code: "+m.message)}s.type="EvalProgram_",s.body=h.body,r=r.node.arguments[0],ft(s,r?r.start:void 0,r?r.end:void 0),r=e.N,i.length=0}return t=new si(c,i,r,s,t?n:-1),ar(e,t,n),t.Db}function ar(e,t,n){t.time=Date.now()+n,e.ca.push(t),e.ca.sort(function(r,i){return r.time-i.time})}function Vn(e,t){for(var n=0;n<e.ca.length;n++)if(e.ca[n].Db==t){e.ca.splice(n,1);break}}function tt(e,t,n){if(!e.P)throw Error("Unexpected call to createGetter");e.P=!1,n=Array.isArray(n)?n[0]:n;var r=e.ya();return r.type="CallExpression",e=new C(r,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[],e}function nn(e,t,n,r){if(!e.Ka)throw Error("Unexpected call to createSetter");e.Ka=!1,n=Array.isArray(n)?n[0]:e.Na;var i=e.ya();return i.type="CallExpression",e=new C(i,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[r],e}function Mt(e,t){return t==null?e.Na:t instanceof M?t:(e=e.s(ge(e,t)),e.data=t,e)}_.Xb=function(){return this.N};_.Yb=function(){return this.o};_.ec=function(e){this.o=e};function C(e,t){this.node=e,this.scope=t}function sr(e,t,n){this.Va=e,this.S=t,this.object=n}function M(e){this.V=Object.create(null),this.Y=Object.create(null),this.h=Object.create(null),this.xa=e}_=M.prototype;_.xa=null;_.H="Object";_.data=null;_.toString=function(){if(!Xe)return"[object Interpreter.Object]";if(!(this instanceof M))return String(this);if(this.H==="Array"){var e=_n;e.push(this);try{var t=[],n=this.h.length,r=!1;1024<n&&(n=1e3,r=!0);for(var i=0;i<n;i++){var a=this.h[i];t[i]=a instanceof M&&e.indexOf(a)!==-1?"...":a}r&&t.push("...")}finally{e.pop()}return t.join(",")}if(this.H==="Error"){if(e=_n,e.indexOf(this)!==-1)return"[object Error]";n=this;do if("name"in n.h){t=n.h.name;break}while(n=n.xa);n=this;do if("message"in n.h){r=n.h.message;break}while(n=n.xa);e.push(this);try{t=t&&String(t),r=r&&String(r)}finally{e.pop()}return r?t+": "+r:String(t)}return this.data!==null?String(this.data):"[object "+this.H+"]"};_.valueOf=function(){return!Xe||this.data===void 0||this.data===null||this.data instanceof RegExp?this:this.data instanceof Date?this.data.valueOf():this.data};function si(e,t,n,r,i){this.zb=e,this.Lb=t,this.scope=n,this.node=r,this.interval=i,this.Db=++li,this.time=0}var li=0;g.prototype.stepArrayExpression=function(e,t,n){n=n.elements;var r=t.A||0;for(t.Oa?(this.g(t.Oa,r,t.value),r++):(t.Oa=Be(this),t.Oa.h.length=n.length);r<n.length;){if(n[r])return t.A=r,new C(n[r],t.scope);r++}e.pop(),e[e.length-1].value=t.Oa};g.prototype.stepAssignmentExpression=function(e,t,n){if(!t.ja)return t.ja=!0,t=new C(n.left,t.scope),t.sa=!0,t;if(!t.Da)return t.Fa||(t.Fa=t.value),t.Ba&&(t.ma=t.value),!t.Ba&&n.operator!=="="&&(e=en(this,t.Fa),t.ma=e,this.P)?(t.Ba=!0,tt(this,e,t.Fa)):(t.Da=!0,n.operator==="="&&n.left.type==="Identifier"&&(t.Pa=n.left.name),new C(n.right,t.scope));if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{var r=t.ma,i=t.value;switch(n.operator){case"=":r=i;break;case"+=":r+=i;break;case"-=":r-=i;break;case"*=":r*=i;break;case"/=":r/=i;break;case"%=":r%=i;break;case"<<=":r<<=i;break;case">>=":r>>=i;break;case">>>=":r>>>=i;break;case"&=":r&=i;break;case"^=":r^=i;break;case"|=":r|=i;break;default:throw SyntaxError("Unknown assignment expression: "+n.operator)}if(n=tn(this,t.Fa,r))return t.ta=!0,t.ib=r,nn(this,n,t.Fa,r);e.pop(),e[e.length-1].value=r}};g.prototype.stepBinaryExpression=function(e,t,n){if(!t.ja)return t.ja=!0,new C(n.left,t.scope);if(!t.Da)return t.Da=!0,t.ma=t.value,new C(n.right,t.scope);e.pop();var r=t.ma;switch(t=t.value,n.operator){case"==":n=r==t;break;case"!=":n=r!=t;break;case"===":n=r===t;break;case"!==":n=r!==t;break;case">":n=r>t;break;case">=":n=r>=t;break;case"<":n=r<t;break;case"<=":n=r<=t;break;case"+":n=r+t;break;case"-":n=r-t;break;case"*":n=r*t;break;case"/":n=r/t;break;case"%":n=r%t;break;case"&":n=r&t;break;case"|":n=r|t;break;case"^":n=r^t;break;case"<<":n=r<<t;break;case">>":n=r>>t;break;case">>>":n=r>>>t;break;case"in":t instanceof M||j(this,this.j,"'in' expects an object, not '"+t+"'"),n=ht(this,t,r);break;case"instanceof":Q(this,t,this.O)||j(this,this.j,"'instanceof' expects an object, not '"+t+"'"),n=r instanceof M?Q(this,r,t):!1;break;default:throw SyntaxError("Unknown binary operator: "+n.operator)}e[e.length-1].value=n};g.prototype.stepBlockStatement=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new C(n,t.scope);e.pop()};g.prototype.stepBreakStatement=function(e,t,n){et(this,1,void 0,n.label&&n.label.name)};g.prototype.Hb=0;g.prototype.stepCallExpression=function(e,t,n){if(!t.ia){t.ia=1;var r=new C(n.callee,t.scope);return r.sa=!0,r}if(t.ia===1){t.ia=2;var i=t.value;if(Array.isArray(i)){if(t.U=en(this,i),i[0]===De?t.Pb=i[1]==="eval":t.B=i[0],i=t.U,this.P)return t.ia=1,tt(this,i,t.value)}else t.U=i;t.F=[],t.A=0}if(i=t.U,!t.Qa){if(t.A!==0&&t.F.push(t.value),n.arguments[t.A])return new C(n.arguments[t.A++],t.scope);if(n.type==="NewExpression"){if(i instanceof M&&!i.Ab||j(this,this.j,ie(this,n.callee)+" is not a constructor"),i===this.qa)t.B=Be(this);else{var a=i.h.prototype;(typeof a!="object"||a===null)&&(a=this.M),t.B=this.s(a)}t.isConstructor=!0}t.Qa=!0}if(t.eb)e.pop(),e[e.length-1].value=t.isConstructor&&typeof t.value!="object"?t.B:t.value;else{if(t.eb=!0,i instanceof M||j(this,this.j,ie(this,n.callee)+" is not a function"),e=i.node){for(n=Vt(this,e.body,i.Va),r=Be(this),i=0;i<t.F.length;i++)this.g(r,i,t.F[i]);for(this.g(n.object,"arguments",r),i=0;i<e.oa.length;i++)this.g(n.object,e.oa[i].name,t.F.length>i?t.F[i]:void 0);return n.S||(t.B=Mt(this,t.B)),this.g(n.object,"this",t.B,Gt),t.value=void 0,new C(e.body,n)}if(i.eval)if(i=t.F[0],typeof i!="string")t.value=i;else{try{r=Fe(String(i),"eval"+this.Hb++)}catch(c){j(this,this.T,"Invalid code: "+c.message)}return i=this.ya(),i.type="EvalProgram_",i.body=r.body,ft(i,n.start,n.end),n=t.Pb?t.scope:this.N,n.S?n=Vt(this,r,n):Ze(this,r,n),this.value=void 0,new C(i,n)}else if(i.Ta)t.scope.S||(t.B=Mt(this,t.B)),t.value=i.Ta.apply(t.B,t.F);else if(i.Za){var s=this;r=i.Za.length-1,r=t.F.concat(Array(r)).slice(0,r),r.push(function(c){t.value=c,s.za=!1}),this.za=!0,t.scope.S||(t.B=Mt(this,t.B)),i.Za.apply(t.B,r)}else j(this,this.j,ie(this,n.callee)+" is not callable")}};g.prototype.stepConditionalExpression=function(e,t,n){var r=t.na||0;if(r===0)return t.na=1,new C(n.test,t.scope);if(r===1){if(t.na=2,(r=!!t.value)&&n.da)return new C(n.da,t.scope);if(!r&&n.alternate)return new C(n.alternate,t.scope);this.value=void 0}e.pop(),n.type==="ConditionalExpression"&&(e[e.length-1].value=t.value)};g.prototype.stepContinueStatement=function(e,t,n){et(this,2,void 0,n.label&&n.label.name)};g.prototype.stepDebuggerStatement=function(e){e.pop()};g.prototype.stepDoWhileStatement=function(e,t,n){if(n.type==="DoWhileStatement"&&t.ga===void 0&&(t.value=!0,t.ga=!0),!t.ga)return t.ga=!0,new C(n.test,t.scope);if(!t.value)e.pop();else if(n.body)return t.ga=!1,t.W=!0,new C(n.body,t.scope)};g.prototype.stepEmptyStatement=function(e){e.pop()};g.prototype.stepEvalProgram_=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new C(n,t.scope);e.pop(),e[e.length-1].value=this.value};g.prototype.stepExpressionStatement=function(e,t,n){if(!t.ka)return this.value=void 0,t.ka=!0,new C(n.la,t.scope);e.pop(),this.value=t.value};g.prototype.stepForInStatement=function(e,t,n){if(!t.Ub&&(t.Ub=!0,n.left.fa&&n.left.fa[0].ua))return t.scope.S&&j(this,this.T,"for-in loop variable declaration may not have an initializer"),new C(n.left,t.scope);if(!t.Ca)return t.Ca=!0,t.pa||(t.pa=t.value),new C(n.right,t.scope);if(t.W||(t.W=!0,t.u=t.value,t.kb=Object.create(null)),t.Ra===void 0)e:for(;;){if(t.u instanceof M)for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u.h));;){var r=t.wa.shift();if(r===void 0)break;if(Object.prototype.hasOwnProperty.call(t.u.h,r)&&!t.kb[r]&&(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u.h,r))){t.Ra=r;break e}}else if(t.u!==null&&t.u!==void 0){for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u));r=t.wa.shift(),r!==void 0;)if(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u,r)){t.Ra=r;break e}}if(t.u=ge(this,t.u),t.wa=null,t.u===null){e.pop();return}}if(!t.wb)if(t.wb=!0,e=n.left,e.type==="VariableDeclaration")t.pa=[De,e.fa[0].id.name];else return t.pa=null,t=new C(e,t.scope),t.sa=!0,t;if(t.pa||(t.pa=t.value),!t.ta&&(t.ta=!0,e=t.Ra,r=tn(this,t.pa,e)))return nn(this,r,t.pa,e);if(t.Ra=void 0,t.wb=!1,t.ta=!1,n.body)return new C(n.body,t.scope)};g.prototype.stepForStatement=function(e,t,n){switch(t.na){default:if(t.na=1,n.ua)return new C(n.ua,t.scope);break;case 1:if(t.na=2,n.test)return new C(n.test,t.scope);break;case 2:if(t.na=3,n.test&&!t.value)e.pop();else return t.W=!0,new C(n.body,t.scope);break;case 3:if(t.na=1,n.update)return new C(n.update,t.scope)}};g.prototype.stepFunctionDeclaration=function(e){e.pop()};g.prototype.stepFunctionExpression=function(e,t,n){e.pop(),t=e[e.length-1],e=t.scope,n.id&&(e=Zt(this,e)),t.value=qt(this,n,e,t.Pa),n.id&&this.g(e.object,n.id.name,t.value,Gt)};g.prototype.stepIdentifier=function(e,t,n){if(e.pop(),t.sa)e[e.length-1].value=[De,n.name];else{if(t=Qt(this,n.name),this.P)return tt(this,t,this.Na);e[e.length-1].value=t}};g.prototype.stepIfStatement=g.prototype.stepConditionalExpression;g.prototype.stepLabeledStatement=function(e,t,n){return e.pop(),e=t.labels||[],e.push(n.label.name),t=new C(n.body,t.scope),t.labels=e,t};g.prototype.stepLiteral=function(e,t,n){e.pop(),t=n.value,t instanceof RegExp&&(n=this.s(this.Ma),Xt(this,n,t),t=n),e[e.length-1].value=t};g.prototype.stepLogicalExpression=function(e,t,n){if(n.operator!=="&&"&&n.operator!=="||")throw SyntaxError("Unknown logical operator: "+n.operator);if(!t.ja)return t.ja=!0,new C(n.left,t.scope);if(t.Da)e.pop(),e[e.length-1].value=t.value;else if(n.operator==="&&"&&!t.value||n.operator==="||"&&t.value)e.pop(),e[e.length-1].value=t.value;else return t.Da=!0,new C(n.right,t.scope)};g.prototype.stepMemberExpression=function(e,t,n){if(!t.Ca)return t.Ca=!0,new C(n.object,t.scope);if(n.bb)if(t.Vb)n=t.value;else return t.u=t.value,t.Vb=!0,new C(n.Wa,t.scope);else t.u=t.value,n=n.Wa.name;if(e.pop(),t.sa)e[e.length-1].value=[t.u,n];else{if(n=this.G(t.u,n),this.P)return tt(this,n,t.u);e[e.length-1].value=n}};g.prototype.stepNewExpression=g.prototype.stepCallExpression;g.prototype.stepObjectExpression=function(e,t,n){var r=t.A||0,i=n.h[r];if(t.u){var a=t.Pa;t.Ja[a]||(t.Ja[a]={}),t.Ja[a][i.kind]=t.value,t.A=++r,i=n.h[r]}else t.u=this.s(this.M),t.Ja=Object.create(null);if(i){var s=i.key;if(s.type==="Identifier")a=s.name;else if(s.type==="Literal")a=s.value;else throw SyntaxError("Unknown object structure: "+s.type);return t.Pa=a,new C(i.value,t.scope)}for(s in t.Ja)n=t.Ja[s],"get"in n||"set"in n?this.g(t.u,s,Je,{configurable:!0,enumerable:!0,get:n.get,set:n.set}):this.g(t.u,s,n.init);e.pop(),e[e.length-1].value=t.u};g.prototype.stepProgram=function(e,t,n){if(e=n.body.shift())return t.done=!1,new C(e,t.scope);t.done=!0};g.prototype.stepReturnStatement=function(e,t,n){if(n.K&&!t.ka)return t.ka=!0,new C(n.K,t.scope);et(this,3,t.value)};g.prototype.stepSequenceExpression=function(e,t,n){var r=t.A||0;if(n=n.xb[r])return t.A=r+1,new C(n,t.scope);e.pop(),e[e.length-1].value=t.value};g.prototype.stepSwitchStatement=function(e,t,n){if(!t.ga)return t.ga=1,new C(n.Qb,t.scope);for(t.ga===1&&(t.ga=2,t.hc=t.value,t.cb=-1);;){var r=t.gb||0,i=n.tb[r];if(t.Ha||!i||i.test)if(i||t.Ha||t.cb===-1)if(i){if(!t.Ha&&!t.Fb&&i.test)return t.Fb=!0,new C(i.test,t.scope);if(t.Ha||t.value===t.hc){t.Ha=!0;var a=t.A||0;if(i.da[a])return t.Zb=!0,t.A=a+1,new C(i.da[a],t.scope)}t.Fb=!1,t.A=0,t.gb=r+1}else{e.pop();break}else t.Ha=!0,t.gb=t.cb;else t.cb=r,t.gb=r+1}};g.prototype.stepThisExpression=function(e){e.pop(),e[e.length-1].value=Qt(this,"this")};g.prototype.stepThrowStatement=function(e,t,n){if(t.ka)j(this,t.value);else return t.ka=!0,new C(n.K,t.scope)};g.prototype.stepTryStatement=function(e,t,n){if(!t.Rb)return t.Rb=!0,new C(n.block,t.scope);if(t.ea&&t.ea.type===4&&!t.Tb&&n.Ea)return t.Tb=!0,e=Zt(this,t.scope),this.g(e.object,n.Ea.Ua.name,t.ea.value),t.ea=void 0,new C(n.Ea.body,e);if(!t.Sb&&n.fb)return t.Sb=!0,new C(n.fb,t.scope);e.pop(),t.ea&&et(this,t.ea.type,t.ea.value,t.ea.label)};g.prototype.stepUnaryExpression=function(e,t,n){if(!t.ka)return t.ka=!0,e=new C(n.K,t.scope),e.sa=n.operator==="delete",e;e.pop();var r=t.value;switch(n.operator){case"-":r=-r;break;case"+":r=+r;break;case"!":r=!r;break;case"~":r=~r;break;case"delete":if(n=!0,Array.isArray(r)){var i=r[0];i===De&&(i=t.scope),r=String(r[1]);try{delete i.h[r]}catch{t.scope.S?j(this,this.j,"Cannot delete property '"+r+"' of '"+i+"'"):n=!1}}r=n;break;case"typeof":r=r&&r.H==="Function"?"function":typeof r;break;case"void":r=void 0;break;default:throw SyntaxError("Unknown unary operator: "+n.operator)}e[e.length-1].value=r};g.prototype.stepUpdateExpression=function(e,t,n){if(!t.ja)return t.ja=!0,e=new C(n.K,t.scope),e.sa=!0,e;if(t.Ga||(t.Ga=t.value),t.Ba&&(t.ma=t.value),!t.Ba){var r=en(this,t.Ga);if(t.ma=r,this.P)return t.Ba=!0,tt(this,r,t.Ga)}if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{if(r=Number(t.ma),n.operator==="++")var i=r+1;else if(n.operator==="--")i=r-1;else throw SyntaxError("Unknown update expression: "+n.operator);if(n=n.prefix?i:r,r=tn(this,t.Ga,i))return t.ta=!0,t.ib=n,nn(this,r,t.Ga,i);e.pop(),e[e.length-1].value=n}};g.prototype.stepVariableDeclaration=function(e,t,n){n=n.fa;var r=t.A||0,i=n[r];for(t.Bb&&i&&(or(this,i.id.name,t.value),t.Bb=!1,i=n[++r]);i;){if(i.ua)return t.A=r,t.Bb=!0,t.Pa=i.id.name,new C(i.ua,t.scope);i=n[++r]}e.pop()};g.prototype.stepWithStatement=function(e,t,n){return t.Ca?(e.pop(),e=Zt(this,t.scope,t.value),new C(n.body,e)):(t.Ca=!0,new C(n.object,t.scope))};g.prototype.stepWhileStatement=g.prototype.stepDoWhileStatement;be.Interpreter=g;g.prototype.step=g.prototype.lb;g.prototype.run=g.prototype.Eb;g.prototype.appendCode=g.prototype.Jb;g.prototype.createObject=g.prototype.Aa;g.prototype.createObjectProto=g.prototype.s;g.prototype.createAsyncFunction=g.prototype.ub;g.prototype.createNativeFunction=g.prototype.i;g.prototype.getProperty=g.prototype.G;g.prototype.setProperty=g.prototype.g;g.prototype.nativeToPseudo=g.prototype.Ia;g.prototype.pseudoToNative=g.prototype.R;g.prototype.getGlobalScope=g.prototype.Xb;g.prototype.getStateStack=g.prototype.Yb;g.prototype.setStateStack=g.prototype.ec;g.VALUE_IN_DESCRIPTOR=Je;const ci=e=>e.split(`
7
+ `)}e.g(t,"stack",a.trim(),S)}U.ha=function(){var e=this.ha.Mb;return e||(e=new Blob([Gr.join(`
8
+ `)],{type:"application/javascript"}),this.ha.Mb=e),new Worker(URL.createObjectURL(e))};function He(e,t,n,r,i){var a={timeout:e.REGEXP_THREAD_TIMEOUT};try{return me.runInNewContext(t,n,a)}catch{i(null),E(e,e.D,"RegExp Timeout: "+r)}return Ne}function Ke(e,t,n){if(e.REGEXP_MODE===0)var r=!1;else if(e.REGEXP_MODE===1)r=!0;else if(me)r=!0;else if(typeof Worker=="function"&&typeof URL=="function")r=!0;else if(typeof require=="function"){try{me=require("vm")}catch{}r=!!me}else r=!1;r||(n(null),E(e,e.D,"Regular expressions not supported: "+t))}function Ge(e,t,n,r){return setTimeout(function(){n.terminate(),r(null);try{E(e,e.D,"RegExp Timeout: "+t)}catch{}},e.REGEXP_THREAD_TIMEOUT)}U.Aa=function(e){return this.s(e&&e.h.prototype)};U.s=function(e){if(typeof e!="object")throw Error("Non object prototype");return e=new D(e),Q(this,e,this.D)&&(e.H="Error"),e};function Be(e){var t=e.s(e.La);return e.g(t,"length",0,{configurable:!1,enumerable:!1,writable:!0}),t.H="Array",t}function Yt(e,t,n){var r=e.s(e.Z);return n?(n=e.s(e.M),e.g(r,"prototype",n,S),e.g(n,"constructor",r,S)):r.Ab=!0,e.g(r,"length",t,oe),r.H="Function",r}function Jt(e,t,n,r){var i=Yt(e,t.oa.length,!0);return i.Va=n,i.node=t,e.g(i,"name",t.id?String(t.id.name):r||"",oe),i}U.i=function(e,t){return t=Yt(this,e.length,t),t.Ta=e,e.id=this.Ya++,this.g(t,"name",e.name,oe),t};U.ub=function(e){var t=Yt(this,e.length,!0);return t.Za=e,e.id=this.Ya++,this.g(t,"name",e.name,oe),t};U.Ia=function(e){if(e instanceof D)throw Error("Object is already pseudo");if(e==null||e===!0||e===!1||typeof e=="string"||typeof e=="number")return e;if(e instanceof RegExp){var t=this.s(this.Ma);return Xt(this,t,e),t}if(e instanceof Date)return t=this.s(this.nb),t.data=new Date(e.valueOf()),t;if(typeof e=="function"){var n=this;return t=Object.getOwnPropertyDescriptor(e,"prototype"),this.i(function(){var i=Array.prototype.slice.call(arguments).map(function(a){return n.R(a)});return i=e.apply(n,i),n.Ia(i)},!!t)}if(Array.isArray(e)){t=Be(this);for(var r=0;r<e.length;r++)r in e&&this.g(t,r,this.Ia(e[r]));return t}t=this.s(this.M);for(r in e)this.g(t,r,this.Ia(e[r]));return t};U.R=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)return e;if(!(e instanceof D))throw Error("Object is not pseudo");if(Q(this,e,this.I))return t=new RegExp(e.data.source,e.data.flags),t.lastIndex=e.data.lastIndex,t;if(Q(this,e,this.$))return new Date(e.data.valueOf());t=t||{hb:[],Sa:[]};var n=t.hb.indexOf(e);if(n!==-1)return t.Sa[n];if(t.hb.push(e),Q(this,e,this.qa)){n=[],t.Sa.push(n);for(var r=this.G(e,"length"),i=0;i<r;i++)ht(this,e,i)&&(n[i]=this.R(this.G(e,i),t))}else for(r in n={},t.Sa.push(n),e.h)i=this.R(e.h[r],t),Object.defineProperty(n,r,{value:i,writable:!0,enumerable:!0,configurable:!0});return t.hb.pop(),t.Sa.pop(),n};function pe(e,t){for(var n=Be(e),r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++)e.g(n,r[i],t[r[i]]);return n}function rr(e,t){var n=[],r;for(r in t.h)n[r]=e.G(t,r);return n.length=zt(e.G(t,"length"))||0,n}function ge(e,t){switch(typeof t){case"number":return e.aa.h.prototype;case"boolean":return e.mb.h.prototype;case"string":return e.J.h.prototype}return t?t.xa:null}U.G=function(e,t){if(this.P)throw Error("Getter not supported in that context");if(t=String(t),e!=null||E(this,this.j,"Cannot read property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof D))throw TypeError("Expecting native value or pseudo object");if(t==="length"){if(Q(this,e,this.J))return String(e).length}else if(64>t.charCodeAt(0)&&Q(this,e,this.J)){var n=Ye(t);if(!isNaN(n)&&n<String(e).length)return String(e)[n]}do if(e.h&&t in e.h)return(n=e.V[t])?(this.P=!0,n):e.h[t];while(e=ge(this,e))};function ht(e,t,n){if(!(t instanceof D))throw TypeError("Primitive data type has no properties");if(n=String(n),n==="length"&&Q(e,t,e.J))return!0;if(Q(e,t,e.J)){var r=Ye(n);if(!isNaN(r)&&r<String(t).length)return!0}do if(t.h&&n in t.h)return!0;while(t=ge(e,t));return!1}U.g=function(e,t,n,r){if(this.Ka)throw Error("Setter not supported in that context");if(t=String(t),e!=null||E(this,this.j,"Cannot set property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof D))throw TypeError("Expecting native value or pseudo object");r&&("get"in r||"set"in r)&&("value"in r||"writable"in r)&&E(this,this.j,"Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");var i=!this.o||qt(this).S;if(e instanceof D){if(Q(this,e,this.J)){var a=Ye(t);if(t==="length"||!isNaN(a)&&a<String(e).length){i&&E(this,this.j,"Cannot assign to read only property '"+t+"' of String '"+e.data+"'");return}}if(e.H==="Array")if(a=e.h.length,t==="length"){if(r){if(!("value"in r))return;n=r.value}if(n=zt(n),isNaN(n)&&E(this,this.ob,"Invalid array length"),n<a)for(s in e.h){var s=Ye(s);!isNaN(s)&&n<=s&&delete e.h[s]}}else isNaN(s=Ye(t))||(e.h.length=Math.max(a,s+1));if(!e.preventExtensions||t in e.h)if(r){i={},"get"in r&&r.get&&(e.V[t]=r.get,i.get=this.g.ac),"set"in r&&r.set&&(e.Y[t]=r.set,i.set=this.g.bc),"configurable"in r&&(i.configurable=r.configurable),"enumerable"in r&&(i.enumerable=r.enumerable),"writable"in r&&(i.writable=r.writable,delete e.V[t],delete e.Y[t]),"value"in r?(i.value=r.value,delete e.V[t],delete e.Y[t]):n!==qe&&(i.value=n,delete e.V[t],delete e.Y[t]);try{Object.defineProperty(e.h,t,i)}catch{E(this,this.j,"Cannot redefine property: "+t)}"get"in r&&!r.get&&delete e.V[t],"set"in r&&!r.set&&delete e.Y[t]}else{if(n===qe)throw ReferenceError("Value not specified");for(r=e;!(t in r.h);)if(r=ge(this,r),!r){r=e;break}if(r.Y&&r.Y[t])return this.Ka=!0,r.Y[t];if(r.V&&r.V[t])i&&E(this,this.j,"Cannot set property '"+t+"' of object '"+e+"' which only has a getter");else try{e.h[t]=n}catch{i&&E(this,this.j,"Cannot assign to read only property '"+t+"' of object '"+e+"'")}}else i&&E(this,this.j,"Can't add property '"+t+"', object is not extensible")}else i&&E(this,this.j,"Can't create property '"+t+"' on '"+e+"'")};U.g.ac=function(){throw Error("Placeholder getter")};U.g.bc=function(){throw Error("Placeholder setter")};function J(e,t,n,r){e.g(t.h.prototype,n,e.i(r,!1),S)}function ze(e,t,n,r){e.g(t.h.prototype,n,e.ub(r),S)}function qt(e){if(e=e.o[e.o.length-1].scope,!e)throw Error("No scope found");return e}function Vt(e,t,n){var r=!1;if(n&&n.S)r=!0;else{var i=t.body&&t.body[0];i&&i.la&&i.la.type==="Literal"&&i.la.value==="use strict"&&(r=!0)}return i=e.s(null),r=new ar(n,r,i),n||zr(e,r.object),Ze(e,t,r),r}function Zt(e,t,n){if(!t)throw Error("parentScope required");return e=n||e.s(null),new ar(t,t.S,e)}function Qt(e,t){for(var n=qt(e);n&&n!==e.N;){if(t in n.object.h)return n.object.h[t];n=n.Va}if(n===e.N&&ht(e,n.object,t))return e.G(n.object,t);n=e.o[e.o.length-1].node,n.type==="UnaryExpression"&&n.operator==="typeof"||E(e,e.pb,t+" is not defined")}function ir(e,t,n){for(var r=qt(e),i=r.S;r&&r!==e.N;){if(t in r.object.h){try{r.object.h[t]=n}catch{i&&E(e,e.j,"Cannot assign to read only variable '"+t+"'")}return}r=r.Va}if(r===e.N&&(!i||ht(e,r.object,t)))return e.g(r.object,t,n);E(e,e.pb,t+" is not defined")}function Ze(e,t,n){if(t.jb)var r=t.jb;else{switch(r=Object.create(null),t.type){case"VariableDeclaration":for(var i=0;i<t.fa.length;i++)r[t.fa[i].id.name]=!0;break;case"FunctionDeclaration":r[t.id.name]=t;break;case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"Program":case"SwitchCase":case"SwitchStatement":case"TryStatement":case"WithStatement":case"WhileStatement":var a=t.constructor,s;for(s in t)if(s!=="loc"){var c=t[s];if(c&&typeof c=="object"){if(Array.isArray(c)){for(i=0;i<c.length;i++)if(c[i]&&c[i].constructor===a){var h=Ze(e,c[i],n);for(s in h)r[s]=h[s]}}else if(c.constructor===a)for(s in h=Ze(e,c,n),h)r[s]=h[s]}}}t.jb=r}for(s in r)r[s]===!0?e.g(n.object,s,void 0,Ln):e.g(n.object,s,Jt(e,r[s],n),Ln);return r}function ye(e){return e.o[e.o.length-1].isConstructor}function en(e,t){return t[0]===De?Qt(e,t[1]):e.G(t[0],t[1])}function tn(e,t,n){return t[0]===De?ir(e,t[1],n):e.g(t[0],t[1],n)}function E(e,t,n){throw e.N?(n!==void 0&&t instanceof D&&(t=e.Aa(t),Wt(e,t,n)),et(e,4,t),nr):n===void 0?t:n}function et(e,t,n,r){if(t===0)throw TypeError("Should not unwind for NORMAL completions");var i=e.o;e:for(;0<i.length;i.pop()){var a=i[i.length-1];switch(a.node.type){case"TryStatement":a.ea={type:t,value:n,label:r};return;case"CallExpression":case"NewExpression":if(t===3){a.value=n;return}if(t!==4)throw Error("Unsynatctic break/continue not rejected by Acorn");break;case"Program":a.done=!0;break e}if(t===1){if(r?a.labels&&a.labels.indexOf(r)!==-1:a.W||a.Zb){i.pop();return}}else if(t===2&&(r?a.labels&&a.labels.indexOf(r)!==-1:a.W))return}throw Q(e,n,e.D)?(t={EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError},r=String(e.G(n,"name")),i=e.G(n,"message").valueOf(),t=(t[r]||Error)(i),t.stack=String(e.G(n,"stack"))):t=String(n),e.value=t,t}function ie(e,t){switch(t.type){case"ArrayExpression":return"[...]";case"BinaryExpression":case"LogicalExpression":return ie(e,t.left)+" "+t.operator+" "+ie(e,t.right);case"CallExpression":return ie(e,t.callee)+"(...)";case"ConditionalExpression":return ie(e,t.test)+" ? "+ie(e,t.da)+" : "+ie(e,t.alternate);case"Identifier":return t.name;case"Literal":return t.raw;case"MemberExpression":var n=ie(e,t.object);return e=ie(e,t.Wa),t.bb?n+"["+e+"]":n+"."+e;case"NewExpression":return"new "+ie(e,t.callee)+"(...)";case"ObjectExpression":return"{...}";case"ThisExpression":return"this";case"UnaryExpression":return t.operator+" "+ie(e,t.K);case"UpdateExpression":return n=ie(e,t.K),t.prefix?t.operator+n:n+t.operator}return"???"}function Wn(e,t,n){var r=e.o[e.o.length-1],i=Array.from(n),a=i.shift();n=Math.max(Number(i.shift()||0),0);var s=e.ya();if(a instanceof D&&a.H==="Function"){var c=a;s.type="CallExpression",r=r.scope}else{try{var h=Fe(String(a),"taskCode"+e.ic++)}catch(m){E(e,e.T,"Invalid code: "+m.message)}s.type="EvalProgram_",s.body=h.body,r=r.node.arguments[0],ft(s,r?r.start:void 0,r?r.end:void 0),r=e.N,i.length=0}return t=new oi(c,i,r,s,t?n:-1),or(e,t,n),t.Db}function or(e,t,n){t.time=Date.now()+n,e.ca.push(t),e.ca.sort(function(r,i){return r.time-i.time})}function Vn(e,t){for(var n=0;n<e.ca.length;n++)if(e.ca[n].Db==t){e.ca.splice(n,1);break}}function tt(e,t,n){if(!e.P)throw Error("Unexpected call to createGetter");e.P=!1,n=Array.isArray(n)?n[0]:n;var r=e.ya();return r.type="CallExpression",e=new C(r,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[],e}function nn(e,t,n,r){if(!e.Ka)throw Error("Unexpected call to createSetter");e.Ka=!1,n=Array.isArray(n)?n[0]:e.Na;var i=e.ya();return i.type="CallExpression",e=new C(i,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[r],e}function Mt(e,t){return t==null?e.Na:t instanceof D?t:(e=e.s(ge(e,t)),e.data=t,e)}U.Xb=function(){return this.N};U.Yb=function(){return this.o};U.ec=function(e){this.o=e};function C(e,t){this.node=e,this.scope=t}function ar(e,t,n){this.Va=e,this.S=t,this.object=n}function D(e){this.V=Object.create(null),this.Y=Object.create(null),this.h=Object.create(null),this.xa=e}U=D.prototype;U.xa=null;U.H="Object";U.data=null;U.toString=function(){if(!Xe)return"[object Interpreter.Object]";if(!(this instanceof D))return String(this);if(this.H==="Array"){var e=_n;e.push(this);try{var t=[],n=this.h.length,r=!1;1024<n&&(n=1e3,r=!0);for(var i=0;i<n;i++){var a=this.h[i];t[i]=a instanceof D&&e.indexOf(a)!==-1?"...":a}r&&t.push("...")}finally{e.pop()}return t.join(",")}if(this.H==="Error"){if(e=_n,e.indexOf(this)!==-1)return"[object Error]";n=this;do if("name"in n.h){t=n.h.name;break}while(n=n.xa);n=this;do if("message"in n.h){r=n.h.message;break}while(n=n.xa);e.push(this);try{t=t&&String(t),r=r&&String(r)}finally{e.pop()}return r?t+": "+r:String(t)}return this.data!==null?String(this.data):"[object "+this.H+"]"};U.valueOf=function(){return!Xe||this.data===void 0||this.data===null||this.data instanceof RegExp?this:this.data instanceof Date?this.data.valueOf():this.data};function oi(e,t,n,r,i){this.zb=e,this.Lb=t,this.scope=n,this.node=r,this.interval=i,this.Db=++ai,this.time=0}var ai=0;g.prototype.stepArrayExpression=function(e,t,n){n=n.elements;var r=t.A||0;for(t.Oa?(this.g(t.Oa,r,t.value),r++):(t.Oa=Be(this),t.Oa.h.length=n.length);r<n.length;){if(n[r])return t.A=r,new C(n[r],t.scope);r++}e.pop(),e[e.length-1].value=t.Oa};g.prototype.stepAssignmentExpression=function(e,t,n){if(!t.ja)return t.ja=!0,t=new C(n.left,t.scope),t.sa=!0,t;if(!t.Da)return t.Fa||(t.Fa=t.value),t.Ba&&(t.ma=t.value),!t.Ba&&n.operator!=="="&&(e=en(this,t.Fa),t.ma=e,this.P)?(t.Ba=!0,tt(this,e,t.Fa)):(t.Da=!0,n.operator==="="&&n.left.type==="Identifier"&&(t.Pa=n.left.name),new C(n.right,t.scope));if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{var r=t.ma,i=t.value;switch(n.operator){case"=":r=i;break;case"+=":r+=i;break;case"-=":r-=i;break;case"*=":r*=i;break;case"/=":r/=i;break;case"%=":r%=i;break;case"<<=":r<<=i;break;case">>=":r>>=i;break;case">>>=":r>>>=i;break;case"&=":r&=i;break;case"^=":r^=i;break;case"|=":r|=i;break;default:throw SyntaxError("Unknown assignment expression: "+n.operator)}if(n=tn(this,t.Fa,r))return t.ta=!0,t.ib=r,nn(this,n,t.Fa,r);e.pop(),e[e.length-1].value=r}};g.prototype.stepBinaryExpression=function(e,t,n){if(!t.ja)return t.ja=!0,new C(n.left,t.scope);if(!t.Da)return t.Da=!0,t.ma=t.value,new C(n.right,t.scope);e.pop();var r=t.ma;switch(t=t.value,n.operator){case"==":n=r==t;break;case"!=":n=r!=t;break;case"===":n=r===t;break;case"!==":n=r!==t;break;case">":n=r>t;break;case">=":n=r>=t;break;case"<":n=r<t;break;case"<=":n=r<=t;break;case"+":n=r+t;break;case"-":n=r-t;break;case"*":n=r*t;break;case"/":n=r/t;break;case"%":n=r%t;break;case"&":n=r&t;break;case"|":n=r|t;break;case"^":n=r^t;break;case"<<":n=r<<t;break;case">>":n=r>>t;break;case">>>":n=r>>>t;break;case"in":t instanceof D||E(this,this.j,"'in' expects an object, not '"+t+"'"),n=ht(this,t,r);break;case"instanceof":Q(this,t,this.O)||E(this,this.j,"'instanceof' expects an object, not '"+t+"'"),n=r instanceof D?Q(this,r,t):!1;break;default:throw SyntaxError("Unknown binary operator: "+n.operator)}e[e.length-1].value=n};g.prototype.stepBlockStatement=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new C(n,t.scope);e.pop()};g.prototype.stepBreakStatement=function(e,t,n){et(this,1,void 0,n.label&&n.label.name)};g.prototype.Hb=0;g.prototype.stepCallExpression=function(e,t,n){if(!t.ia){t.ia=1;var r=new C(n.callee,t.scope);return r.sa=!0,r}if(t.ia===1){t.ia=2;var i=t.value;if(Array.isArray(i)){if(t.U=en(this,i),i[0]===De?t.Pb=i[1]==="eval":t.B=i[0],i=t.U,this.P)return t.ia=1,tt(this,i,t.value)}else t.U=i;t.F=[],t.A=0}if(i=t.U,!t.Qa){if(t.A!==0&&t.F.push(t.value),n.arguments[t.A])return new C(n.arguments[t.A++],t.scope);if(n.type==="NewExpression"){if(i instanceof D&&!i.Ab||E(this,this.j,ie(this,n.callee)+" is not a constructor"),i===this.qa)t.B=Be(this);else{var a=i.h.prototype;(typeof a!="object"||a===null)&&(a=this.M),t.B=this.s(a)}t.isConstructor=!0}t.Qa=!0}if(t.eb)e.pop(),e[e.length-1].value=t.isConstructor&&typeof t.value!="object"?t.B:t.value;else{if(t.eb=!0,i instanceof D||E(this,this.j,ie(this,n.callee)+" is not a function"),e=i.node){for(n=Vt(this,e.body,i.Va),r=Be(this),i=0;i<t.F.length;i++)this.g(r,i,t.F[i]);for(this.g(n.object,"arguments",r),i=0;i<e.oa.length;i++)this.g(n.object,e.oa[i].name,t.F.length>i?t.F[i]:void 0);return n.S||(t.B=Mt(this,t.B)),this.g(n.object,"this",t.B,Gt),t.value=void 0,new C(e.body,n)}if(i.eval)if(i=t.F[0],typeof i!="string")t.value=i;else{try{r=Fe(String(i),"eval"+this.Hb++)}catch(c){E(this,this.T,"Invalid code: "+c.message)}return i=this.ya(),i.type="EvalProgram_",i.body=r.body,ft(i,n.start,n.end),n=t.Pb?t.scope:this.N,n.S?n=Vt(this,r,n):Ze(this,r,n),this.value=void 0,new C(i,n)}else if(i.Ta)t.scope.S||(t.B=Mt(this,t.B)),t.value=i.Ta.apply(t.B,t.F);else if(i.Za){var s=this;r=i.Za.length-1,r=t.F.concat(Array(r)).slice(0,r),r.push(function(c){t.value=c,s.za=!1}),this.za=!0,t.scope.S||(t.B=Mt(this,t.B)),i.Za.apply(t.B,r)}else E(this,this.j,ie(this,n.callee)+" is not callable")}};g.prototype.stepConditionalExpression=function(e,t,n){var r=t.na||0;if(r===0)return t.na=1,new C(n.test,t.scope);if(r===1){if(t.na=2,(r=!!t.value)&&n.da)return new C(n.da,t.scope);if(!r&&n.alternate)return new C(n.alternate,t.scope);this.value=void 0}e.pop(),n.type==="ConditionalExpression"&&(e[e.length-1].value=t.value)};g.prototype.stepContinueStatement=function(e,t,n){et(this,2,void 0,n.label&&n.label.name)};g.prototype.stepDebuggerStatement=function(e){e.pop()};g.prototype.stepDoWhileStatement=function(e,t,n){if(n.type==="DoWhileStatement"&&t.ga===void 0&&(t.value=!0,t.ga=!0),!t.ga)return t.ga=!0,new C(n.test,t.scope);if(!t.value)e.pop();else if(n.body)return t.ga=!1,t.W=!0,new C(n.body,t.scope)};g.prototype.stepEmptyStatement=function(e){e.pop()};g.prototype.stepEvalProgram_=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new C(n,t.scope);e.pop(),e[e.length-1].value=this.value};g.prototype.stepExpressionStatement=function(e,t,n){if(!t.ka)return this.value=void 0,t.ka=!0,new C(n.la,t.scope);e.pop(),this.value=t.value};g.prototype.stepForInStatement=function(e,t,n){if(!t.Ub&&(t.Ub=!0,n.left.fa&&n.left.fa[0].ua))return t.scope.S&&E(this,this.T,"for-in loop variable declaration may not have an initializer"),new C(n.left,t.scope);if(!t.Ca)return t.Ca=!0,t.pa||(t.pa=t.value),new C(n.right,t.scope);if(t.W||(t.W=!0,t.u=t.value,t.kb=Object.create(null)),t.Ra===void 0)e:for(;;){if(t.u instanceof D)for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u.h));;){var r=t.wa.shift();if(r===void 0)break;if(Object.prototype.hasOwnProperty.call(t.u.h,r)&&!t.kb[r]&&(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u.h,r))){t.Ra=r;break e}}else if(t.u!==null&&t.u!==void 0){for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u));r=t.wa.shift(),r!==void 0;)if(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u,r)){t.Ra=r;break e}}if(t.u=ge(this,t.u),t.wa=null,t.u===null){e.pop();return}}if(!t.wb)if(t.wb=!0,e=n.left,e.type==="VariableDeclaration")t.pa=[De,e.fa[0].id.name];else return t.pa=null,t=new C(e,t.scope),t.sa=!0,t;if(t.pa||(t.pa=t.value),!t.ta&&(t.ta=!0,e=t.Ra,r=tn(this,t.pa,e)))return nn(this,r,t.pa,e);if(t.Ra=void 0,t.wb=!1,t.ta=!1,n.body)return new C(n.body,t.scope)};g.prototype.stepForStatement=function(e,t,n){switch(t.na){default:if(t.na=1,n.ua)return new C(n.ua,t.scope);break;case 1:if(t.na=2,n.test)return new C(n.test,t.scope);break;case 2:if(t.na=3,n.test&&!t.value)e.pop();else return t.W=!0,new C(n.body,t.scope);break;case 3:if(t.na=1,n.update)return new C(n.update,t.scope)}};g.prototype.stepFunctionDeclaration=function(e){e.pop()};g.prototype.stepFunctionExpression=function(e,t,n){e.pop(),t=e[e.length-1],e=t.scope,n.id&&(e=Zt(this,e)),t.value=Jt(this,n,e,t.Pa),n.id&&this.g(e.object,n.id.name,t.value,Gt)};g.prototype.stepIdentifier=function(e,t,n){if(e.pop(),t.sa)e[e.length-1].value=[De,n.name];else{if(t=Qt(this,n.name),this.P)return tt(this,t,this.Na);e[e.length-1].value=t}};g.prototype.stepIfStatement=g.prototype.stepConditionalExpression;g.prototype.stepLabeledStatement=function(e,t,n){return e.pop(),e=t.labels||[],e.push(n.label.name),t=new C(n.body,t.scope),t.labels=e,t};g.prototype.stepLiteral=function(e,t,n){e.pop(),t=n.value,t instanceof RegExp&&(n=this.s(this.Ma),Xt(this,n,t),t=n),e[e.length-1].value=t};g.prototype.stepLogicalExpression=function(e,t,n){if(n.operator!=="&&"&&n.operator!=="||")throw SyntaxError("Unknown logical operator: "+n.operator);if(!t.ja)return t.ja=!0,new C(n.left,t.scope);if(t.Da)e.pop(),e[e.length-1].value=t.value;else if(n.operator==="&&"&&!t.value||n.operator==="||"&&t.value)e.pop(),e[e.length-1].value=t.value;else return t.Da=!0,new C(n.right,t.scope)};g.prototype.stepMemberExpression=function(e,t,n){if(!t.Ca)return t.Ca=!0,new C(n.object,t.scope);if(n.bb)if(t.Vb)n=t.value;else return t.u=t.value,t.Vb=!0,new C(n.Wa,t.scope);else t.u=t.value,n=n.Wa.name;if(e.pop(),t.sa)e[e.length-1].value=[t.u,n];else{if(n=this.G(t.u,n),this.P)return tt(this,n,t.u);e[e.length-1].value=n}};g.prototype.stepNewExpression=g.prototype.stepCallExpression;g.prototype.stepObjectExpression=function(e,t,n){var r=t.A||0,i=n.h[r];if(t.u){var a=t.Pa;t.Ja[a]||(t.Ja[a]={}),t.Ja[a][i.kind]=t.value,t.A=++r,i=n.h[r]}else t.u=this.s(this.M),t.Ja=Object.create(null);if(i){var s=i.key;if(s.type==="Identifier")a=s.name;else if(s.type==="Literal")a=s.value;else throw SyntaxError("Unknown object structure: "+s.type);return t.Pa=a,new C(i.value,t.scope)}for(s in t.Ja)n=t.Ja[s],"get"in n||"set"in n?this.g(t.u,s,qe,{configurable:!0,enumerable:!0,get:n.get,set:n.set}):this.g(t.u,s,n.init);e.pop(),e[e.length-1].value=t.u};g.prototype.stepProgram=function(e,t,n){if(e=n.body.shift())return t.done=!1,new C(e,t.scope);t.done=!0};g.prototype.stepReturnStatement=function(e,t,n){if(n.K&&!t.ka)return t.ka=!0,new C(n.K,t.scope);et(this,3,t.value)};g.prototype.stepSequenceExpression=function(e,t,n){var r=t.A||0;if(n=n.xb[r])return t.A=r+1,new C(n,t.scope);e.pop(),e[e.length-1].value=t.value};g.prototype.stepSwitchStatement=function(e,t,n){if(!t.ga)return t.ga=1,new C(n.Qb,t.scope);for(t.ga===1&&(t.ga=2,t.hc=t.value,t.cb=-1);;){var r=t.gb||0,i=n.tb[r];if(t.Ha||!i||i.test)if(i||t.Ha||t.cb===-1)if(i){if(!t.Ha&&!t.Fb&&i.test)return t.Fb=!0,new C(i.test,t.scope);if(t.Ha||t.value===t.hc){t.Ha=!0;var a=t.A||0;if(i.da[a])return t.Zb=!0,t.A=a+1,new C(i.da[a],t.scope)}t.Fb=!1,t.A=0,t.gb=r+1}else{e.pop();break}else t.Ha=!0,t.gb=t.cb;else t.cb=r,t.gb=r+1}};g.prototype.stepThisExpression=function(e){e.pop(),e[e.length-1].value=Qt(this,"this")};g.prototype.stepThrowStatement=function(e,t,n){if(t.ka)E(this,t.value);else return t.ka=!0,new C(n.K,t.scope)};g.prototype.stepTryStatement=function(e,t,n){if(!t.Rb)return t.Rb=!0,new C(n.block,t.scope);if(t.ea&&t.ea.type===4&&!t.Tb&&n.Ea)return t.Tb=!0,e=Zt(this,t.scope),this.g(e.object,n.Ea.Ua.name,t.ea.value),t.ea=void 0,new C(n.Ea.body,e);if(!t.Sb&&n.fb)return t.Sb=!0,new C(n.fb,t.scope);e.pop(),t.ea&&et(this,t.ea.type,t.ea.value,t.ea.label)};g.prototype.stepUnaryExpression=function(e,t,n){if(!t.ka)return t.ka=!0,e=new C(n.K,t.scope),e.sa=n.operator==="delete",e;e.pop();var r=t.value;switch(n.operator){case"-":r=-r;break;case"+":r=+r;break;case"!":r=!r;break;case"~":r=~r;break;case"delete":if(n=!0,Array.isArray(r)){var i=r[0];i===De&&(i=t.scope),r=String(r[1]);try{delete i.h[r]}catch{t.scope.S?E(this,this.j,"Cannot delete property '"+r+"' of '"+i+"'"):n=!1}}r=n;break;case"typeof":r=r&&r.H==="Function"?"function":typeof r;break;case"void":r=void 0;break;default:throw SyntaxError("Unknown unary operator: "+n.operator)}e[e.length-1].value=r};g.prototype.stepUpdateExpression=function(e,t,n){if(!t.ja)return t.ja=!0,e=new C(n.K,t.scope),e.sa=!0,e;if(t.Ga||(t.Ga=t.value),t.Ba&&(t.ma=t.value),!t.Ba){var r=en(this,t.Ga);if(t.ma=r,this.P)return t.Ba=!0,tt(this,r,t.Ga)}if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{if(r=Number(t.ma),n.operator==="++")var i=r+1;else if(n.operator==="--")i=r-1;else throw SyntaxError("Unknown update expression: "+n.operator);if(n=n.prefix?i:r,r=tn(this,t.Ga,i))return t.ta=!0,t.ib=n,nn(this,r,t.Ga,i);e.pop(),e[e.length-1].value=n}};g.prototype.stepVariableDeclaration=function(e,t,n){n=n.fa;var r=t.A||0,i=n[r];for(t.Bb&&i&&(ir(this,i.id.name,t.value),t.Bb=!1,i=n[++r]);i;){if(i.ua)return t.A=r,t.Bb=!0,t.Pa=i.id.name,new C(i.ua,t.scope);i=n[++r]}e.pop()};g.prototype.stepWithStatement=function(e,t,n){return t.Ca?(e.pop(),e=Zt(this,t.scope,t.value),new C(n.body,e)):(t.Ca=!0,new C(n.object,t.scope))};g.prototype.stepWhileStatement=g.prototype.stepDoWhileStatement;be.Interpreter=g;g.prototype.step=g.prototype.lb;g.prototype.run=g.prototype.Eb;g.prototype.appendCode=g.prototype.Jb;g.prototype.createObject=g.prototype.Aa;g.prototype.createObjectProto=g.prototype.s;g.prototype.createAsyncFunction=g.prototype.ub;g.prototype.createNativeFunction=g.prototype.i;g.prototype.getProperty=g.prototype.G;g.prototype.setProperty=g.prototype.g;g.prototype.nativeToPseudo=g.prototype.Ia;g.prototype.pseudoToNative=g.prototype.R;g.prototype.getGlobalScope=g.prototype.Xb;g.prototype.getStateStack=g.prototype.Yb;g.prototype.setStateStack=g.prototype.ec;g.VALUE_IN_DESCRIPTOR=qe;const si=e=>e.split(`
9
9
  `).map(t=>{const n=t.trim();if(t.includes("__awaiter"))return;if(!n.startsWith("state."))return t;const[i,a]=n.split("="),c=`setRootState('${i.replace("state.","").trim()}', ${a.trim()})`;return`
10
10
  ${t}
11
11
  ${c}
12
12
  `}).filter(Boolean).join(`
13
- `),$n=e=>e+"JSON",ui=({builder:e,context:t,event:n,rootState:r,localState:i,rootSetState:a,code:s})=>{const c={...r,...i},h=er({builder:e,context:t,event:n,state:c}),m=h.map(([I])=>{const N=$n(I);return`var ${I} = ${N} === undefined ? undefined : JSON.parse(${N});`}).join(`
14
- `),y=ci(s);if(y===""){v.logger.warn("Skipping evaluation of empty code block.");return}const x=`
13
+ `),$n=e=>e+"JSON",li=({builder:e,context:t,event:n,rootState:r,localState:i,rootSetState:a,code:s})=>{const c={...r,...i},h=Qn({builder:e,context:t,event:n,state:c}),m=h.map(([I])=>{const N=$n(I);return`var ${I} = ${N} === undefined ? undefined : JSON.parse(${N});`}).join(`
14
+ `),v=si(s);if(v===""){y.logger.warn("Skipping evaluation of empty code block.");return}const k=`
15
15
  function theFunction() {
16
16
  ${m}
17
17
 
18
- ${y}
18
+ ${v}
19
19
  }
20
20
  theFunction();
21
- `,U=(I,N)=>{const $=nr(c,I,N);a==null||a($)},F=function(I,N){h.forEach(([$,Y])=>{const b=JSON.stringify(Y);I.setProperty(N,$n($),b)}),I.setProperty(N,"setRootState",I.createNativeFunction(U))};try{const I=new g(x,F);return I.run(),I.pseudoToNative(I.value)}catch(I){v.logger.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.",{e:I});return}};function di(){var e;return typeof process!="undefined"&&v.checkIsDefined((e=process==null?void 0:process.versions)==null?void 0:e.node)}const fi=()=>{var r;if(!di())return!1;const e=process.arch==="arm64",t=process.version.startsWith("v20"),n=(r=process.env.NODE_OPTIONS)==null?void 0:r.includes("--no-node-snapshot");return e&&t&&!n?(v.logger.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "),!0):!1},hi=e=>v.isBrowser()||fi()?Gr(e):ui(e);function Qe({code:e,context:t,localState:n,rootState:r,rootSetState:i,event:a,isExpression:s=!0}){if(e===""){v.logger.warn("Skipping evaluation of empty code block.");return}const c={code:Kr(e,{isExpression:s}),builder:Hr(),context:t,event:a,rootSetState:i,rootState:r,localState:n};try{return hi(c)}catch(h){v.logger.error("Failed code evaluation: "+h.message,{code:e});return}}const pi=({block:e,context:t,localState:n,rootState:r,rootSetState:i})=>{if(!e.bindings)return e;const a=v.fastClone(e),s={...a,properties:{...a.properties},actions:{...a.actions}};for(const c in e.bindings){const h=e.bindings[c],m=Qe({code:h,localState:n,rootState:r,rootSetState:i,context:t});nr(s,c,m)}return s};function dt({block:e,context:t,shouldEvaluateBindings:n,localState:r,rootState:i,rootSetState:a}){const s=e;return n?pi({block:s,localState:r,rootState:i,rootSetState:a,context:t}):s}function mi(e,t,n={}){let r,i,a,s=null,c=0;const h=function(){c=n.leading===!1?0:Date.now(),s=null,a=e.apply(r,i),s||(r=i=null)};return function(){const m=Date.now();!c&&n.leading===!1&&(c=m);const y=t-(m-c);return r=this,i=arguments,y<=0||y>t?(s&&(clearTimeout(s),s=null),c=m,a=e.apply(r,i),s||(r=i=null)):!s&&n.trailing!==!1&&(s=setTimeout(h,y)),a}}function je(e,...t){const n=Object(e);for(let r=1;r<arguments.length;r++){const i=arguments[r];if(i!=null)for(const a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n}const rn=e=>e?e.replace(/([A-Z])/g,t=>`-${t[0].toLowerCase()}`):"";function gi(e){for(const t of e)switch(t.trigger){case"pageLoad":lr(t);break;case"hover":vi(t);break;case"scrollInView":xi(t);break}}function on(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function an(e,t){const n=yi(e),r=getComputedStyle(t),i=e.steps[0].styles,a=e.steps[e.steps.length-1].styles,s=[i,a];for(const c of s)for(const h of n)h in c||(c[h]=r[h])}function yi(e){const t=[];for(const n of e.steps)for(const r in n.styles)t.indexOf(r)===-1&&t.push(r);return t}function lr(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){on(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{an(e,n),n.style.transition="none",n.style.transitionDelay="0",je(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${rn(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),je(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function vi(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){on(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{an(e,n);const r=e.steps[0].styles,i=e.steps[1].styles;function a(){je(n.style,r)}function s(){je(n.style,i)}a(),n.addEventListener("mouseenter",s),n.addEventListener("mouseleave",a),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${rn(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")})})}function xi(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){on(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{an(e,n);let r=!1,i=!1;function a(){!r&&c(n)?(r=!0,i=!0,setTimeout(()=>{je(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",s),setTimeout(()=>{i=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!i&&!c(n)&&(r=!1,je(n.style,e.steps[0].styles))}const s=mi(a,200,{leading:!1});function c(y){const x=y.getBoundingClientRect(),U=window.innerHeight,I=(e.thresholdPercent||0)/100*U;return x.bottom>I&&x.top<U-I}const h=e.steps[0].styles;function m(){je(n.style,h)}m(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${rn(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",s,{capture:!0,passive:!0}),a()})}const bi=({block:e,context:t,registeredComponents:n})=>{var a;const r=(a=dt({block:e,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,shouldEvaluateBindings:!1}).component)==null?void 0:a.name;if(!r)return null;const i=n[r];if(i)return i;console.warn(`
21
+ `,L=(I,N)=>{const $=tr(c,I,N);a==null||a($)},B=function(I,N){h.forEach(([$,X])=>{const x=JSON.stringify(X);I.setProperty(N,$n($),x)}),I.setProperty(N,"setRootState",I.createNativeFunction(L))};try{const I=new g(k,B);return I.run(),I.pseudoToNative(I.value)}catch(I){y.logger.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.",{e:I});return}};function ci(){var e;return typeof process!="undefined"&&y.checkIsDefined((e=process==null?void 0:process.versions)==null?void 0:e.node)}const ui=()=>{var r;if(!ci())return!1;const e=process.arch==="arm64",t=process.version.startsWith("v20"),n=(r=process.env.NODE_OPTIONS)==null?void 0:r.includes("--no-node-snapshot");return e&&t&&!n?(y.logger.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "),!0):!1},di=e=>y.isBrowser()||ui()?Hr(e):li(e);function Qe({code:e,context:t,localState:n,rootState:r,rootSetState:i,event:a,isExpression:s=!0}){if(e===""){y.logger.warn("Skipping evaluation of empty code block.");return}const c={code:$r(e,{isExpression:s}),builder:Vr(),context:t,event:a,rootSetState:i,rootState:r,localState:n};try{return di(c)}catch(h){y.logger.error("Failed code evaluation: "+h.message,{code:e});return}}const fi=({block:e,context:t,localState:n,rootState:r,rootSetState:i})=>{if(!e.bindings)return e;const a=y.fastClone(e),s={...a,properties:{...a.properties},actions:{...a.actions}};for(const c in e.bindings){const h=e.bindings[c],m=Qe({code:h,localState:n,rootState:r,rootSetState:i,context:t});tr(s,c,m)}return s};function dt({block:e,context:t,shouldEvaluateBindings:n,localState:r,rootState:i,rootSetState:a}){const s=e;return n?fi({block:s,localState:r,rootState:i,rootSetState:a,context:t}):s}function hi(e,t,n={}){let r,i,a,s=null,c=0;const h=function(){c=n.leading===!1?0:Date.now(),s=null,a=e.apply(r,i),s||(r=i=null)};return function(){const m=Date.now();!c&&n.leading===!1&&(c=m);const v=t-(m-c);return r=this,i=arguments,v<=0||v>t?(s&&(clearTimeout(s),s=null),c=m,a=e.apply(r,i),s||(r=i=null)):!s&&n.trailing!==!1&&(s=setTimeout(h,v)),a}}function je(e,...t){const n=Object(e);for(let r=1;r<arguments.length;r++){const i=arguments[r];if(i!=null)for(const a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n}const rn=e=>e?e.replace(/([A-Z])/g,t=>`-${t[0].toLowerCase()}`):"";function pi(e){for(const t of e)switch(t.trigger){case"pageLoad":sr(t);break;case"hover":gi(t);break;case"scrollInView":yi(t);break}}function on(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function an(e,t){const n=mi(e),r=getComputedStyle(t),i=e.steps[0].styles,a=e.steps[e.steps.length-1].styles,s=[i,a];for(const c of s)for(const h of n)h in c||(c[h]=r[h])}function mi(e){const t=[];for(const n of e.steps)for(const r in n.styles)t.indexOf(r)===-1&&t.push(r);return t}function sr(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){on(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{an(e,n),n.style.transition="none",n.style.transitionDelay="0",je(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${rn(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),je(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function gi(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){on(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{an(e,n);const r=e.steps[0].styles,i=e.steps[1].styles;function a(){je(n.style,r)}function s(){je(n.style,i)}a(),n.addEventListener("mouseenter",s),n.addEventListener("mouseleave",a),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${rn(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")})})}function yi(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){on(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{an(e,n);let r=!1,i=!1;function a(){!r&&c(n)?(r=!0,i=!0,setTimeout(()=>{je(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",s),setTimeout(()=>{i=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!i&&!c(n)&&(r=!1,je(n.style,e.steps[0].styles))}const s=hi(a,200,{leading:!1});function c(v){const k=v.getBoundingClientRect(),L=window.innerHeight,I=(e.thresholdPercent||0)/100*L;return k.bottom>I&&k.top<L-I}const h=e.steps[0].styles;function m(){je(n.style,h)}m(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${rn(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",s,{capture:!0,passive:!0}),a()})}const vi=({block:e,context:t,registeredComponents:n})=>{var a;const r=(a=dt({block:e,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,shouldEvaluateBindings:!1}).component)==null?void 0:a.name;if(!r)return null;const i=n[r];if(i)return i;console.warn(`
22
22
  Could not find a registered component named "${r}".
23
- If you registered it, is the file that registered it imported by the file that needs to render it?`)},Si=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const i=Qe({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(i))return;const a=n.collection.split(".").pop(),s=n.itemName||(a?a+"Item":"item");return i.map((h,m)=>({context:{...t,localState:{...t.localState,$index:m,$item:h,[s]:h,[`$${s}Index`]:m}},block:r}))},cr={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},Hn=(e,t=cr)=>`@media (max-width: ${t[e].max}px)`,ur=({small:e,medium:t})=>{const n=v.fastClone(cr);if(!e||!t)return n;const r=Math.floor(e/2);n.small={max:e,min:r,default:r+1};const i=n.small.max+1;n.medium={max:t,min:i,default:i+1};const a=n.medium.max+1;return n.large={max:2e3,min:a,default:a+1},n},ki=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),dr=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${ki(n)}: ${r};`}).filter(v.checkIsDefined),wi=e=>dr(e).join(`
23
+ If you registered it, is the file that registered it imported by the file that needs to render it?`)},xi=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const i=Qe({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(i))return;const a=n.collection.split(".").pop(),s=n.itemName||(a?a+"Item":"item");return i.map((h,m)=>({context:{...t,localState:{...t.localState,$index:m,$item:h,[s]:h,[`$${s}Index`]:m}},block:r}))},lr={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},Hn=(e,t=lr)=>`@media (max-width: ${t[e].max}px)`,cr=({small:e,medium:t})=>{const n=y.fastClone(lr);if(!e||!t)return n;const r=Math.floor(e/2);n.small={max:e,min:r,default:r+1};const i=n.small.max+1;n.medium={max:t,min:i,default:i+1};const a=n.medium.max+1;return n.large={max:2e3,min:a,default:a+1},n},bi=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),ur=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${bi(n)}: ${r};`}).filter(y.checkIsDefined),Si=e=>ur(e).join(`
24
24
  `),Ut=({mediaQuery:e,className:t,styles:n})=>{const r=`.${t} {
25
- ${wi(n)}
25
+ ${Si(n)}
26
26
  }`;return e?`${e} {
27
27
  ${r}
28
- }`:r};function pt(e){return d.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},id:e.id})}function Ci(e){function t(){const r=dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return v.checkIsDefined(r.hide)?!r.hide:v.checkIsDefined(r.show)?r.show:!0}function n(){var I;const r=dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0}),i=r.responsiveStyles,a=e.context.content,s=ur(((I=a==null?void 0:a.meta)==null?void 0:I.breakpoints)||{}),c=i==null?void 0:i.large,h=i==null?void 0:i.medium,m=i==null?void 0:i.small,y=r.id;if(!y)return"";const x=c?Ut({className:y,styles:c}):"",U=h?Ut({className:y,styles:h,mediaQuery:Hn("medium",s)}):"",F=m?Ut({className:y,styles:m,mediaQuery:Hn("small",s)}):"";return[x,U,F].join(" ")}return d.jsx(d.Fragment,{children:n()&&t()?d.jsx(d.Fragment,{children:d.jsx(pt,{styles:n()})}):null})}function Ei(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ji=e=>`on${Ei(e)}`,Ii=(e,t)=>n=>Qe({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function fr(e){var r;const t={},n=(r=e.block.actions)!=null?r:{};for(const i in n){if(!n.hasOwnProperty(i))continue;const a=n[i];let s=ji(i);if(e.stripPrefix)switch(v.TARGET){case"vue":s=s.replace("v-on:","");break;case"svelte":s=s.replace("on:","");break}t[s]=Ii(a,e)}return t}function Ti({style:e}){return e}const Ai=({block:e,context:t})=>hr(Ti({style:e.style||{},context:t,block:e}));function hr(e){switch(v.TARGET){case"svelte":case"vue":case"solid":return dr(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}function Ri({properties:e}){return e}const Oi=e=>({href:e.href});function sn({block:e,context:t}){var r;const n={...Oi(e),...e.properties,"builder-id":e.id,style:Ai({block:e,context:t}),[qe()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return Ri({properties:n,context:t,block:e})}function Pi(e){return d.jsx(Ht,{TagName:e.Wrapper,attributes:sn({block:e.block,context:e.context}),actionAttributes:fr({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:e.children})}function Ni(e){return d.jsx(e.Wrapper,{...e.wrapperProps,attributes:e.includeBlockProps?{...sn({block:e.block,context:e.context}),...fr({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{},children:e.children})}const Fi=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:i,isInteractive:a,contextValue:s})=>{const c={...e,...i?{attributes:sn({block:t,context:s})}:{}};return a?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:i}:c};function Kn(e){var r;const[t,n]=w.useState(()=>e.isInteractive?Ni:e.componentRef);return d.jsx(d.Fragment,{children:e.componentRef?d.jsx(d.Fragment,{children:d.jsx(t,{...Fi({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:(r=e.blockChildren)==null?void 0:r.map(i=>d.jsx(mt,{block:i,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},i.id))})}):null})}function Bi(e){const[t,n]=w.useState(()=>e.repeatContext);return d.jsx(Kt.Provider,{value:t,children:d.jsx(mt,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}function mt(e){var y,x,U;function t(){return bi({block:e.block,context:e.context,registeredComponents:e.registeredComponents})}function n(){return Si({block:e.block,context:e.context})}function r(){var F;return(F=e.block.repeat)!=null&&F.collection?e.block:dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0})}function i(){var I;return e.block.tagName==="a"||((I=r().properties)==null?void 0:I.href)||r().href?e.linkComponent||"a":e.block.tagName||"div"}function a(){var N,$;if((N=e.block.repeat)!=null&&N.collection)return!!(($=n==null?void 0:n())!=null&&$.length);const F="hide"in r()?r().hide:!1;return("show"in r()?r().show:!0)&&!F}function s(){var I,N;return!((I=t==null?void 0:t())!=null&&I.component)&&!n()?(N=r().children)!=null?N:[]:[]}function c(){var F,I,N,$,Y,b,V,Z,te;return{blockChildren:(F=r().children)!=null?F:[],componentRef:(I=t==null?void 0:t())==null?void 0:I.component,componentOptions:{...$r(r()),builderContext:e.context,...((N=t==null?void 0:t())==null?void 0:N.name)==="Core:Button"||(($=t==null?void 0:t())==null?void 0:$.name)==="Symbol"||((Y=t==null?void 0:t())==null?void 0:Y.name)==="Columns"?{builderLinkComponent:e.linkComponent}:{},...((b=t==null?void 0:t())==null?void 0:b.name)==="Symbol"||((V=t==null?void 0:t())==null?void 0:V.name)==="Columns"?{builderComponents:e.registeredComponents}:{}},context:h,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:r(),includeBlockProps:((Z=t==null?void 0:t())==null?void 0:Z.noWrap)===!0,isInteractive:!((te=t==null?void 0:t())!=null&&te.isRSC)}}const[h,m]=w.useState(()=>e.context);return w.useEffect(()=>{const F=r().id,I=r().animations;I&&F&&gi(I.filter(N=>N.trigger!=="hover").map(N=>({...N,elementId:F})))},[]),d.jsx(d.Fragment,{children:a()?d.jsxs(d.Fragment,{children:[d.jsx(Ci,{block:e.block,context:e.context}),(y=t==null?void 0:t())!=null&&y.noWrap?d.jsx(d.Fragment,{children:d.jsx(Kn,{componentRef:c().componentRef,componentOptions:c().componentOptions,blockChildren:c().blockChildren,context:c().context,registeredComponents:c().registeredComponents,linkComponent:c().linkComponent,builderBlock:c().builderBlock,includeBlockProps:c().includeBlockProps,isInteractive:c().isInteractive})}):d.jsx(d.Fragment,{children:n()?d.jsx(d.Fragment,{children:(U=n())==null?void 0:U.map((F,I)=>d.jsx(Bi,{repeatContext:F.context,block:F.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},I))}):d.jsx(d.Fragment,{children:d.jsxs(Pi,{Wrapper:i(),block:r(),context:e.context,linkComponent:e.linkComponent,children:[d.jsx(Kn,{componentRef:c().componentRef,componentOptions:c().componentOptions,blockChildren:c().blockChildren,context:c().context,registeredComponents:c().registeredComponents,linkComponent:c().linkComponent,builderBlock:c().builderBlock,includeBlockProps:c().includeBlockProps,isInteractive:c().isInteractive}),(x=s())==null?void 0:x.map(F=>d.jsx(mt,{block:F,context:h,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},F.id))]})})})]}):null})}function Di(e){function t(){var i;return"builder-blocks"+((i=e.blocks)!=null&&i.length?"":" no-blocks")}function n(){var i,a;v.isEditing()&&!((i=e.blocks)!=null&&i.length)&&((a=window.parent)==null||a.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function r(){var i,a;v.isEditing()&&!((i=e.blocks)!=null&&i.length)&&((a=window.parent)==null||a.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return d.jsxs(d.Fragment,{children:[d.jsx(e.BlocksWrapper,{className:t()+" props-blocks-wrapper-4f2c12d8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:i=>n(),onMouseEnter:i=>r(),onKeyPress:i=>n(),...e.BlocksWrapperProps,children:e.children}),d.jsx("style",{children:`.props-blocks-wrapper-4f2c12d8 {
28
+ }`:r};function pt(e){return d.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},id:e.id})}function ki(e){function t(){const r=dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return y.checkIsDefined(r.hide)?!r.hide:y.checkIsDefined(r.show)?r.show:!0}function n(){var I;const r=dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0}),i=r.responsiveStyles,a=e.context.content,s=cr(((I=a==null?void 0:a.meta)==null?void 0:I.breakpoints)||{}),c=i==null?void 0:i.large,h=i==null?void 0:i.medium,m=i==null?void 0:i.small,v=r.id;if(!v)return"";const k=c?Ut({className:v,styles:c}):"",L=h?Ut({className:v,styles:h,mediaQuery:Hn("medium",s)}):"",B=m?Ut({className:v,styles:m,mediaQuery:Hn("small",s)}):"";return[k,L,B].join(" ")}return d.jsx(d.Fragment,{children:n()&&t()?d.jsx(d.Fragment,{children:d.jsx(pt,{styles:n()})}):null})}function wi(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ci=e=>`on${wi(e)}`,Ei=(e,t)=>n=>Qe({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function dr(e){var r;const t={},n=(r=e.block.actions)!=null?r:{};for(const i in n){if(!n.hasOwnProperty(i))continue;const a=n[i];let s=Ci(i);if(e.stripPrefix)switch(y.TARGET){case"vue":s=s.replace("v-on:","");break;case"svelte":s=s.replace("on:","");break}t[s]=Ei(a,e)}return t}function ji({style:e}){return e}const Ii=({block:e,context:t})=>fr(ji({style:e.style||{},context:t,block:e}));function fr(e){switch(y.TARGET){case"svelte":case"vue":case"solid":return ur(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}function Ti({properties:e}){return e}const Ai=e=>({href:e.href});function sn({block:e,context:t}){var r;const n={...Ai(e),...e.properties,"builder-id":e.id,style:Ii({block:e,context:t}),[Je()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return Ti({properties:n,context:t,block:e})}function Ri(e){return d.jsx(Ht,{TagName:e.Wrapper,attributes:sn({block:e.block,context:e.context}),actionAttributes:dr({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:e.children})}function Oi(e){return d.jsx(e.Wrapper,{...e.wrapperProps,attributes:e.includeBlockProps?{...sn({block:e.block,context:e.context}),...dr({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{},children:e.children})}const Pi=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:i,isInteractive:a,contextValue:s})=>{const c={...e,...i?{attributes:sn({block:t,context:s})}:{}};return a?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:i}:c};function Kn(e){var r;const[t,n]=w.useState(()=>e.isInteractive?Oi:e.componentRef);return d.jsx(d.Fragment,{children:e.componentRef?d.jsx(d.Fragment,{children:d.jsx(t,{...Pi({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:(r=e.blockChildren)==null?void 0:r.map(i=>d.jsx(mt,{block:i,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},i.id))})}):null})}function Ni(e){const[t,n]=w.useState(()=>e.repeatContext);return d.jsx(Kt.Provider,{value:t,children:d.jsx(mt,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}function mt(e){var v,k,L;function t(){return vi({block:e.block,context:e.context,registeredComponents:e.registeredComponents})}function n(){return xi({block:e.block,context:e.context})}function r(){var B;return(B=e.block.repeat)!=null&&B.collection?e.block:dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0})}function i(){var I;return e.block.tagName==="a"||((I=r().properties)==null?void 0:I.href)||r().href?e.linkComponent||"a":e.block.tagName||"div"}function a(){var N,$;if((N=e.block.repeat)!=null&&N.collection)return!!(($=n==null?void 0:n())!=null&&$.length);const B="hide"in r()?r().hide:!1;return("show"in r()?r().show:!0)&&!B}function s(){var I,N;return!((I=t==null?void 0:t())!=null&&I.component)&&!n()?(N=r().children)!=null?N:[]:[]}function c(){var B,I,N,$,X,x,V,q,te;return{blockChildren:(B=r().children)!=null?B:[],componentRef:(I=t==null?void 0:t())==null?void 0:I.component,componentOptions:{...Wr(r()),builderContext:e.context,...((N=t==null?void 0:t())==null?void 0:N.name)==="Core:Button"||(($=t==null?void 0:t())==null?void 0:$.name)==="Symbol"||((X=t==null?void 0:t())==null?void 0:X.name)==="Columns"?{builderLinkComponent:e.linkComponent}:{},...((x=t==null?void 0:t())==null?void 0:x.name)==="Symbol"||((V=t==null?void 0:t())==null?void 0:V.name)==="Columns"?{builderComponents:e.registeredComponents}:{}},context:h,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:r(),includeBlockProps:((q=t==null?void 0:t())==null?void 0:q.noWrap)===!0,isInteractive:!((te=t==null?void 0:t())!=null&&te.isRSC)}}const[h,m]=w.useState(()=>e.context);return w.useEffect(()=>{const B=r().id,I=r().animations;I&&B&&pi(I.filter(N=>N.trigger!=="hover").map(N=>({...N,elementId:B})))},[]),d.jsx(d.Fragment,{children:a()?d.jsxs(d.Fragment,{children:[d.jsx(ki,{block:e.block,context:e.context}),(v=t==null?void 0:t())!=null&&v.noWrap?d.jsx(d.Fragment,{children:d.jsx(Kn,{componentRef:c().componentRef,componentOptions:c().componentOptions,blockChildren:c().blockChildren,context:c().context,registeredComponents:c().registeredComponents,linkComponent:c().linkComponent,builderBlock:c().builderBlock,includeBlockProps:c().includeBlockProps,isInteractive:c().isInteractive})}):d.jsx(d.Fragment,{children:n()?d.jsx(d.Fragment,{children:(L=n())==null?void 0:L.map((B,I)=>d.jsx(Ni,{repeatContext:B.context,block:B.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},I))}):d.jsx(d.Fragment,{children:d.jsxs(Ri,{Wrapper:i(),block:r(),context:e.context,linkComponent:e.linkComponent,children:[d.jsx(Kn,{componentRef:c().componentRef,componentOptions:c().componentOptions,blockChildren:c().blockChildren,context:c().context,registeredComponents:c().registeredComponents,linkComponent:c().linkComponent,builderBlock:c().builderBlock,includeBlockProps:c().includeBlockProps,isInteractive:c().isInteractive}),(k=s())==null?void 0:k.map(B=>d.jsx(mt,{block:B,context:h,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},B.id))]})})})]}):null})}function Fi(e){function t(){var i;return"builder-blocks"+((i=e.blocks)!=null&&i.length?"":" no-blocks")}function n(){var i,a;y.isEditing()&&!((i=e.blocks)!=null&&i.length)&&((a=window.parent)==null||a.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function r(){var i,a;y.isEditing()&&!((i=e.blocks)!=null&&i.length)&&((a=window.parent)==null||a.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return d.jsxs(d.Fragment,{children:[d.jsx(e.BlocksWrapper,{className:t()+" props-blocks-wrapper-4f2c12d8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:i=>n(),onMouseEnter:i=>r(),onKeyPress:i=>n(),...e.BlocksWrapperProps,children:e.children}),d.jsx("style",{children:`.props-blocks-wrapper-4f2c12d8 {
29
29
  display: flex;
30
30
  flex-direction: column;
31
31
  align-items: stretch;
32
- }`})]})}function nt(e){var r,i,a;const t=w.useContext(Kt),n=w.useContext(Qn);return d.jsx(Di,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,BlocksWrapper:(r=e.context)==null?void 0:r.BlocksWrapper,BlocksWrapperProps:(i=e.context)==null?void 0:i.BlocksWrapperProps,children:e.blocks?d.jsx(d.Fragment,{children:(a=e.blocks)==null?void 0:a.map(s=>d.jsx(mt,{block:s,linkComponent:e.linkComponent,context:e.context||t,registeredComponents:e.registeredComponents||n.registeredComponents},s.id))}):null})}function pr(e){var Y;const[t,n]=w.useState(()=>typeof e.space=="number"?e.space||0:20),[r,i]=w.useState(()=>e.columns||[]),[a,s]=w.useState(()=>e.stackColumnsAt||"tablet");function c(b){var V;return((V=r[b])==null?void 0:V.width)||100/r.length}function h(b){const V=t*(r.length-1)/r.length;return`calc(${c(b)}% - ${V}px)`}function m({stackedStyle:b,desktopStyle:V}){return a==="tablet"?b:V}function y({stackedStyle:b,desktopStyle:V}){return a==="never"?V:b}const[x,U]=w.useState(()=>e.stackColumnsAt==="never"?"row":e.reverseColumnsWhenStacked?"column-reverse":"column");function F(){return{"--flex-dir":x,"--flex-dir-tablet":m({stackedStyle:x,desktopStyle:"row"})}}function I(b){const V=b===0?0:t,Z=h(b),te=`${V}px`,H="100%",ne=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:Z,["marginLeft"]:te,"--column-width-mobile":y({stackedStyle:H,desktopStyle:Z}),"--column-margin-left-mobile":y({stackedStyle:ne,desktopStyle:te}),"--column-width-tablet":m({stackedStyle:H,desktopStyle:Z}),"--column-margin-left-tablet":m({stackedStyle:ne,desktopStyle:te})}}function N(b){var Z,te;return ur(((te=(Z=e.builderContext.content)==null?void 0:Z.meta)==null?void 0:te.breakpoints)||{})[b].max}function $(){return`
32
+ }`})]})}function nt(e){var r,i,a;const t=w.useContext(Kt),n=w.useContext(Zn);return d.jsx(Fi,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,BlocksWrapper:(r=e.context)==null?void 0:r.BlocksWrapper,BlocksWrapperProps:(i=e.context)==null?void 0:i.BlocksWrapperProps,children:e.blocks?d.jsx(d.Fragment,{children:(a=e.blocks)==null?void 0:a.map(s=>d.jsx(mt,{block:s,linkComponent:e.linkComponent,context:e.context||t,registeredComponents:e.registeredComponents||n.registeredComponents},s.id))}):null})}function hr(e){var X;const[t,n]=w.useState(()=>typeof e.space=="number"?e.space||0:20),[r,i]=w.useState(()=>e.columns||[]),[a,s]=w.useState(()=>e.stackColumnsAt||"tablet");function c(x){var V;return((V=r[x])==null?void 0:V.width)||100/r.length}function h(x){const V=t*(r.length-1)/r.length;return`calc(${c(x)}% - ${V}px)`}function m({stackedStyle:x,desktopStyle:V}){return a==="tablet"?x:V}function v({stackedStyle:x,desktopStyle:V}){return a==="never"?V:x}const[k,L]=w.useState(()=>e.stackColumnsAt==="never"?"row":e.reverseColumnsWhenStacked?"column-reverse":"column");function B(){return{"--flex-dir":k,"--flex-dir-tablet":m({stackedStyle:k,desktopStyle:"row"})}}function I(x){const V=x===0?0:t,q=h(x),te=`${V}px`,H="100%",ne=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:q,["marginLeft"]:te,"--column-width-mobile":v({stackedStyle:H,desktopStyle:q}),"--column-margin-left-mobile":v({stackedStyle:ne,desktopStyle:te}),"--column-width-tablet":m({stackedStyle:H,desktopStyle:q}),"--column-margin-left-tablet":m({stackedStyle:ne,desktopStyle:te})}}function N(x){var q,te;return cr(((te=(q=e.builderContext.content)==null?void 0:q.meta)==null?void 0:te.breakpoints)||{})[x].max}function $(){return`
33
33
  @media (max-width: ${N("medium")}px) {
34
34
  .${e.builderBlock.id}-breakpoints {
35
35
  flex-direction: var(--flex-dir-tablet);
@@ -53,10 +53,10 @@ theFunction();
53
53
  margin-left: var(--column-margin-left-mobile) !important;
54
54
  }
55
55
  },
56
- `}return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:`builder-columns ${e.builderBlock.id}-breakpoints div-6f826264`,style:F(),children:[d.jsx(d.Fragment,{children:d.jsx(pt,{styles:$()})}),(Y=e.columns)==null?void 0:Y.map((b,V)=>d.jsx(Ht,{TagName:b.link?e.builderLinkComponent||"a":"div",actionAttributes:{},attributes:{...b.link?{href:b.link}:{},[qe()]:"builder-column",style:hr(I(V))},children:d.jsx(nt,{path:`component.options.columns.${V}.blocks`,parent:e.builderBlock.id,styleProp:{flexGrow:"1"},context:e.builderContext,registeredComponents:e.builderComponents,linkComponent:e.builderLinkComponent,blocks:b.blocks})},V))]}),d.jsx("style",{children:`.div-6f826264 {
56
+ `}return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:`builder-columns ${e.builderBlock.id}-breakpoints div-6f826264`,style:B(),children:[d.jsx(d.Fragment,{children:d.jsx(pt,{styles:$()})}),(X=e.columns)==null?void 0:X.map((x,V)=>d.jsx(Ht,{TagName:x.link?e.builderLinkComponent||"a":"div",actionAttributes:{},attributes:{...x.link?{href:x.link}:{},[Je()]:"builder-column",style:fr(I(V))},children:d.jsx(nt,{path:`component.options.columns.${V}.blocks`,parent:e.builderBlock.id,styleProp:{flexGrow:"1"},context:e.builderContext,registeredComponents:e.builderComponents,linkComponent:e.builderLinkComponent,blocks:x.blocks})},V))]}),d.jsx("style",{children:`.div-6f826264 {
57
57
  display: flex;
58
58
  line-height: normal;
59
- }`})]})}function mr(e){return d.jsx("span",{children:e.children})}function Gn(e){return e.replace(/http(s)?:/,"")}function Mi(e="",t,n){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=e.indexOf("?")!==-1?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+i+t+"="+encodeURIComponent(n)}function Ui(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return Gn(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const r=e.split(n[0]),i=n[3],a=t.match("x")?t:`${t}x`;return Gn(`${r[0]}_${a}${i}`)}return null}function Lt(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const r=Number(e.split("?width=")[1]);return isNaN(r)||(n=`${n} ${r}w`),t.filter(i=>i!==r).map(i=>`${Mi(e,"width",i)} ${i}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ui(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,r])=>`${n} ${r}w`).concat([e]).join(", "):e}function gr(e){var i,a,s,c;function t(){var y;const m=e.image||e.src;if(!m||!(m.match(/builder\.io/)||m.match(/cdn\.shopify\.com/)))return e.srcset;if(e.srcset&&((y=e.image)!=null&&y.includes("builder.io/api/v1/image"))){if(!e.srcset.includes(e.image.split("?")[0]))return console.debug("Removed given srcset"),Lt(m)}else if(e.image&&!e.srcset)return Lt(m);return Lt(m)}function n(){var h;return(h=t==null?void 0:t())!=null&&h.match(/builder\.io/)&&!e.noWebp?t().replace(/\?/g,"?format=webp&"):""}function r(){const h={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return e.aspectRatio?h:void 0}return d.jsxs(d.Fragment,{children:[d.jsxs(d.Fragment,{children:[d.jsxs("picture",{children:[n()?d.jsx(d.Fragment,{children:d.jsx("source",{type:"image/webp",srcSet:n()})}):null,d.jsx("img",{loading:"lazy",alt:e.altText,role:e.altText?"presentation":void 0,style:{objectPosition:e.backgroundPosition||"center",objectFit:e.backgroundSize||"cover",...r()},className:"builder-image"+(e.className?" "+e.className:"")+" img-40c70c9b",src:e.image,srcSet:t(),sizes:e.sizes})]}),e.aspectRatio&&!((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length&&e.fitContent)?d.jsx(d.Fragment,{children:d.jsx("div",{className:"builder-image-sizer div-40c70c9b",style:{paddingTop:e.aspectRatio*100+"%"}})}):null,(c=(s=e.builderBlock)==null?void 0:s.children)!=null&&c.length&&e.fitContent?d.jsx(d.Fragment,{children:e.children}):null,!e.fitContent&&e.children?d.jsx(d.Fragment,{children:d.jsx("div",{className:"div-40c70c9b-2",children:e.children})}):null]}),d.jsx("style",{children:`.img-40c70c9b {
59
+ }`})]})}function pr(e){return d.jsx("span",{children:e.children})}function Gn(e){return e.replace(/http(s)?:/,"")}function Bi(e="",t,n){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=e.indexOf("?")!==-1?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+i+t+"="+encodeURIComponent(n)}function Di(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return Gn(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const r=e.split(n[0]),i=n[3],a=t.match("x")?t:`${t}x`;return Gn(`${r[0]}_${a}${i}`)}return null}function Lt(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const r=Number(e.split("?width=")[1]);return isNaN(r)||(n=`${n} ${r}w`),t.filter(i=>i!==r).map(i=>`${Bi(e,"width",i)} ${i}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Di(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,r])=>`${n} ${r}w`).concat([e]).join(", "):e}function mr(e){var i,a,s,c;function t(){var v;const m=e.image||e.src;if(!m||!(m.match(/builder\.io/)||m.match(/cdn\.shopify\.com/)))return e.srcset;if(e.srcset&&((v=e.image)!=null&&v.includes("builder.io/api/v1/image"))){if(!e.srcset.includes(e.image.split("?")[0]))return console.debug("Removed given srcset"),Lt(m)}else if(e.image&&!e.srcset)return Lt(m);return Lt(m)}function n(){var h;return(h=t==null?void 0:t())!=null&&h.match(/builder\.io/)&&!e.noWebp?t().replace(/\?/g,"?format=webp&"):""}function r(){const h={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return e.aspectRatio?h:void 0}return d.jsxs(d.Fragment,{children:[d.jsxs(d.Fragment,{children:[d.jsxs("picture",{children:[n()?d.jsx(d.Fragment,{children:d.jsx("source",{type:"image/webp",srcSet:n()})}):null,d.jsx("img",{loading:"lazy",alt:e.altText,role:e.altText?"presentation":void 0,style:{objectPosition:e.backgroundPosition||"center",objectFit:e.backgroundSize||"cover",...r()},className:"builder-image"+(e.className?" "+e.className:"")+" img-40c70c9b",src:e.image,srcSet:t(),sizes:e.sizes})]}),e.aspectRatio&&!((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length&&e.fitContent)?d.jsx(d.Fragment,{children:d.jsx("div",{className:"builder-image-sizer div-40c70c9b",style:{paddingTop:e.aspectRatio*100+"%"}})}):null,(c=(s=e.builderBlock)==null?void 0:s.children)!=null&&c.length&&e.fitContent?d.jsx(d.Fragment,{children:e.children}):null,!e.fitContent&&e.children?d.jsx(d.Fragment,{children:d.jsx("div",{className:"div-40c70c9b-2",children:e.children})}):null]}),d.jsx("style",{children:`.img-40c70c9b {
60
60
  opacity: 1;
61
61
  transition: opacity 0.2s ease-in-out;
62
62
  }.div-40c70c9b {
@@ -72,7 +72,7 @@ theFunction();
72
72
  left: 0;
73
73
  width: 100%;
74
74
  height: 100%;
75
- }`})]})}function yr(e){return d.jsx("section",{...e.attributes,style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:e.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"},children:e.children})}const Li={name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0},_i={name:"Columns",isRSC:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]}],onChange:e=>{function t(){n.forEach(r=>{r.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(i=>i.get("width"))&&(n.find(a=>!a.get("width"))||n.reduce((c,h)=>c+h.get("width"),0)!==100)&&t()}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]},Wi={name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},{name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},{name:"scriptsClientOnly",type:"boolean",defaultValue:!1,helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0}]};function Vi(e){const t=w.useRef(null),[n,r]=w.useState(()=>[]),[i,a]=w.useState(()=>[]);return w.useEffect(()=>{var c;if(!((c=t.current)!=null&&c.getElementsByTagName)||typeof window=="undefined")return;const s=t.current.getElementsByTagName("script");for(let h=0;h<s.length;h++){const m=s[h];if(m.src){if(n.includes(m.src))continue;n.push(m.src);const y=document.createElement("script");y.async=!0,y.src=m.src,document.head.appendChild(y)}else if(!m.type||["text/javascript","application/javascript","application/ecmascript"].includes(m.type)){if(i.includes(m.innerText))continue;try{i.push(m.innerText),new Function(m.innerText)()}catch(y){console.warn("`CustomCode`: Error running script:",y)}}}},[]),d.jsx("div",{ref:t,className:"builder-custom-code"+(e.replaceNodes?" replace-nodes":""),dangerouslySetInnerHTML:{__html:e.code}})}const $i={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(r=>r.json()).then(r=>{e.get("url")===t&&(r.html?e.set("content",r.html):e.set("content","Invalid url, please try another"))}).catch(r=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},Hi=["text/javascript","application/javascript","application/ecmascript"],Ki=e=>Hi.includes(e.type);function Gi(e){const t=w.useRef(null),[n,r]=w.useState(()=>[]),[i,a]=w.useState(()=>[]),[s,c]=w.useState(()=>!1);function h(){if(!t.current||!t.current.getElementsByTagName)return;const m=t.current.getElementsByTagName("script");for(let y=0;y<m.length;y++){const x=m[y];if(x.src&&!n.includes(x.src)){n.push(x.src);const U=document.createElement("script");U.async=!0,U.src=x.src,document.head.appendChild(U)}else if(Ki(x)&&!i.includes(x.innerText))try{i.push(x.innerText),new Function(x.innerText)()}catch(U){console.warn("`Embed`: Error running script:",U)}}}return w.useEffect(()=>{t.current&&!s&&(c(!0),h())},[t.current,s]),d.jsx("div",{className:"builder-embed",ref:t,dangerouslySetInnerHTML:{__html:e.content}})}const zi={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},Xi={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(s,c=6e4){return new Promise((h,m)=>{const y=document.createElement("img");let x=!1;y.onload=()=>{x=!0,h(y)},y.addEventListener("error",U=>{console.warn("Image load failed",U.error),m(U.error)}),y.src=s,setTimeout(()=>{x||m(new Error("Image load timed out"))},c)})}function r(s){return Math.round(s*1e3)/1e3}const i=e.get("image"),a=e.get("aspectRatio");if(fetch(i).then(s=>s.blob()).then(s=>{s.type.includes("svg")&&e.set("noWebp",!0)}),i&&(!a||a===.7041))return n(i).then(s=>{const c=e.get("aspectRatio");e.get("image")===i&&(!c||c===.7041)&&s.width&&s.height&&(e.set("aspectRatio",r(s.height/s.width)),e.set("height",s.height),e.set("width",s.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},Yi={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0};function qi(e){return d.jsx("img",{style:{objectFit:e.backgroundSize||"cover",objectPosition:e.backgroundPosition||"center"},alt:e.altText,src:e.imgSrc||e.image,...e.attributes},v.isEditing()&&e.imgSrc||"default-key")}const Ji={name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]},Zi={name:"Slot",isRSC:!0,description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}]};function Qi(e){var t,n,r;return d.jsx("div",{style:{pointerEvents:"auto"},...!((t=e.builderContext.context)!=null&&t.symbolId)&&{"builder-slot":e.name},children:d.jsx(nt,{parent:(n=e.builderContext.context)==null?void 0:n.symbolId,path:`symbol.data.${e.name}`,context:e.builderContext,blocks:(r=e.builderContext.rootState)==null?void 0:r[e.name]})})}const eo={name:"Symbol",noWrap:!0,static:!0,isRSC:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:!1,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]},to={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}};function vr(e){var t;return d.jsx("div",{className:"builder-text",dangerouslySetInnerHTML:{__html:((t=e.text)==null?void 0:t.toString())||""},style:{outline:"none"}})}const no={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]};function xr(e){var r,i,a,s,c,h,m;function t(){return{...e.autoPlay===!0?{autoPlay:!0}:{},...e.muted===!0?{muted:!0}:{},...e.controls===!0?{controls:!0}:{},...e.loop===!0?{loop:!0}:{},...e.playsInline===!0?{playsInline:!0}:{}}}function n(){return{...t()}}return d.jsxs("div",{style:{position:"relative"},children:[d.jsx("video",{className:"builder-video",...n(),preload:e.preload||"metadata",style:{width:"100%",height:"100%",...(r=e.attributes)==null?void 0:r.style,objectFit:e.fit,objectPosition:e.position,zIndex:2,borderRadius:"1px",...e.aspectRatio?{position:"absolute"}:null},src:e.video||"no-src",poster:e.posterImage,children:e.lazyLoad?null:d.jsx("source",{type:"video/mp4",src:e.video})}),e.aspectRatio&&!(e.fitContent&&((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length))?d.jsx(d.Fragment,{children:d.jsx("div",{style:{width:"100%",paddingTop:e.aspectRatio*100+"%",pointerEvents:"none",fontSize:"0px"}})}):null,(c=(s=e.builderBlock)==null?void 0:s.children)!=null&&c.length&&e.fitContent?d.jsx(d.Fragment,{children:d.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"stretch"},children:e.children})}):null,(m=(h=e.builderBlock)==null?void 0:h.children)!=null&&m.length&&!e.fitContent?d.jsx(d.Fragment,{children:d.jsx("div",{style:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},children:e.children})}):null]})}const zn=()=>[{component:Zn,...Li},{component:pr,..._i},{component:Vi,...Wi},{component:Gi,...$i},{component:mr,...zi},{component:gr,...Xi},{component:qi,...Yi},{component:yr,...Ji},{component:Cr,...eo},{component:vr,...to},{component:xr,...no},{component:Qi,...Zi}],ro=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
75
+ }`})]})}function gr(e){return d.jsx("section",{...e.attributes,style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:e.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"},children:e.children})}const Mi={name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0},Ui={name:"Columns",isRSC:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]}],onChange:e=>{function t(){n.forEach(r=>{r.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(i=>i.get("width"))&&(n.find(a=>!a.get("width"))||n.reduce((c,h)=>c+h.get("width"),0)!==100)&&t()}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]},Li={name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},{name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},{name:"scriptsClientOnly",type:"boolean",defaultValue:!1,helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0}]};function _i(e){const t=w.useRef(null),[n,r]=w.useState(()=>[]),[i,a]=w.useState(()=>[]);return w.useEffect(()=>{var c;if(!((c=t.current)!=null&&c.getElementsByTagName)||typeof window=="undefined")return;const s=t.current.getElementsByTagName("script");for(let h=0;h<s.length;h++){const m=s[h];if(m.src){if(n.includes(m.src))continue;n.push(m.src);const v=document.createElement("script");v.async=!0,v.src=m.src,document.head.appendChild(v)}else if(!m.type||["text/javascript","application/javascript","application/ecmascript"].includes(m.type)){if(i.includes(m.innerText))continue;try{i.push(m.innerText),new Function(m.innerText)()}catch(v){console.warn("`CustomCode`: Error running script:",v)}}}},[]),d.jsx("div",{ref:t,className:"builder-custom-code"+(e.replaceNodes?" replace-nodes":""),dangerouslySetInnerHTML:{__html:e.code}})}const Wi={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(r=>r.json()).then(r=>{e.get("url")===t&&(r.html?e.set("content",r.html):e.set("content","Invalid url, please try another"))}).catch(r=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},Vi=["text/javascript","application/javascript","application/ecmascript"],$i=e=>Vi.includes(e.type);function Hi(e){const t=w.useRef(null),[n,r]=w.useState(()=>[]),[i,a]=w.useState(()=>[]),[s,c]=w.useState(()=>!1);function h(){if(!t.current||!t.current.getElementsByTagName)return;const m=t.current.getElementsByTagName("script");for(let v=0;v<m.length;v++){const k=m[v];if(k.src&&!n.includes(k.src)){n.push(k.src);const L=document.createElement("script");L.async=!0,L.src=k.src,document.head.appendChild(L)}else if($i(k)&&!i.includes(k.innerText))try{i.push(k.innerText),new Function(k.innerText)()}catch(L){console.warn("`Embed`: Error running script:",L)}}}return w.useEffect(()=>{t.current&&!s&&(c(!0),h())},[t.current,s]),d.jsx("div",{className:"builder-embed",ref:t,dangerouslySetInnerHTML:{__html:e.content}})}const Ki={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},Gi={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(s,c=6e4){return new Promise((h,m)=>{const v=document.createElement("img");let k=!1;v.onload=()=>{k=!0,h(v)},v.addEventListener("error",L=>{console.warn("Image load failed",L.error),m(L.error)}),v.src=s,setTimeout(()=>{k||m(new Error("Image load timed out"))},c)})}function r(s){return Math.round(s*1e3)/1e3}const i=e.get("image"),a=e.get("aspectRatio");if(fetch(i).then(s=>s.blob()).then(s=>{s.type.includes("svg")&&e.set("noWebp",!0)}),i&&(!a||a===.7041))return n(i).then(s=>{const c=e.get("aspectRatio");e.get("image")===i&&(!c||c===.7041)&&s.width&&s.height&&(e.set("aspectRatio",r(s.height/s.width)),e.set("height",s.height),e.set("width",s.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},zi={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0};function Xi(e){return d.jsx("img",{style:{objectFit:e.backgroundSize||"cover",objectPosition:e.backgroundPosition||"center"},alt:e.altText,src:e.imgSrc||e.image,...e.attributes},y.isEditing()&&e.imgSrc||"default-key")}const Yi={name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]},Ji={name:"Slot",isRSC:!0,description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}]};function qi(e){var t,n,r;return d.jsx("div",{style:{pointerEvents:"auto"},...!((t=e.builderContext.context)!=null&&t.symbolId)&&{"builder-slot":e.name},children:d.jsx(nt,{parent:(n=e.builderContext.context)==null?void 0:n.symbolId,path:`symbol.data.${e.name}`,context:e.builderContext,blocks:(r=e.builderContext.rootState)==null?void 0:r[e.name]})})}const Zi={name:"Symbol",noWrap:!0,static:!0,isRSC:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:!1,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]},Qi={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}};function yr(e){var t;return d.jsx("div",{className:"builder-text",dangerouslySetInnerHTML:{__html:((t=e.text)==null?void 0:t.toString())||""},style:{outline:"none"}})}const eo={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]};function vr(e){var r,i,a,s,c,h,m;function t(){return{...e.autoPlay===!0?{autoPlay:!0}:{},...e.muted===!0?{muted:!0}:{},...e.controls===!0?{controls:!0}:{},...e.loop===!0?{loop:!0}:{},...e.playsInline===!0?{playsInline:!0}:{}}}function n(){return{...t()}}return d.jsxs("div",{style:{position:"relative"},children:[d.jsx("video",{className:"builder-video",...n(),preload:e.preload||"metadata",style:{width:"100%",height:"100%",...(r=e.attributes)==null?void 0:r.style,objectFit:e.fit,objectPosition:e.position,zIndex:2,borderRadius:"1px",...e.aspectRatio?{position:"absolute"}:null},src:e.video||"no-src",poster:e.posterImage,children:e.lazyLoad?null:d.jsx("source",{type:"video/mp4",src:e.video})}),e.aspectRatio&&!(e.fitContent&&((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length))?d.jsx(d.Fragment,{children:d.jsx("div",{style:{width:"100%",paddingTop:e.aspectRatio*100+"%",pointerEvents:"none",fontSize:"0px"}})}):null,(c=(s=e.builderBlock)==null?void 0:s.children)!=null&&c.length&&e.fitContent?d.jsx(d.Fragment,{children:d.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"stretch"},children:e.children})}):null,(m=(h=e.builderBlock)==null?void 0:h.children)!=null&&m.length&&!e.fitContent?d.jsx(d.Fragment,{children:d.jsx("div",{style:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},children:e.children})}):null]})}const zn=()=>[{component:qn,...Mi},{component:hr,...Ui},{component:_i,...Li},{component:Hi,...Wi},{component:pr,...Ki},{component:mr,...Gi},{component:Xi,...zi},{component:gr,...Yi},{component:kr,...Zi},{component:yr,...Qi},{component:vr,...eo},{component:qi,...Ji}],to=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
76
76
  function getAndSetVariantId() {
77
77
  function setCookie(name, value, days) {
78
78
  let expires = '';
@@ -128,7 +128,7 @@ theFunction();
128
128
  }).join('');
129
129
  styleEl.innerHTML = newStyleStr;
130
130
  }
131
- }`,io=`function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
131
+ }`,no=`function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
132
132
  if (!navigator.cookieEnabled) {
133
133
  return;
134
134
  }
@@ -162,15 +162,15 @@ theFunction();
162
162
  thisScriptEl?.remove();
163
163
  }
164
164
  return;
165
- }`,br="builderIoAbTest",Sr="builderIoRenderContent",ut=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),oo=({canTrack:e,content:t})=>!(!(ut(t).length>0)||!e||v.isBrowser()),ao=e=>e==="react"||e==="reactNative",kr=ao(v.TARGET),so=()=>`
166
- window.${br} = ${ro}
167
- window.${Sr} = ${io}
168
- `,lo=(e,t)=>`
169
- window.${br}(
170
- "${t}",${JSON.stringify(e)}, ${kr}
171
- )`,co=({contentId:e,variationId:t})=>`window.${Sr}(
172
- "${t}", "${e}", ${kr}
173
- )`;function $t(e){return d.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},id:e.id||""})}const uo=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"];function wr(e,t){const n=new URL(t.origin),r=n.hostname;return(e||uo).findIndex(i=>i.startsWith("*.")?r.endsWith(i.slice(1)):i===r)>-1}function Xn(e){return Math.round(e*1e3)/1e3}const fo=(e,t,n=!0)=>{if(!(e instanceof HTMLElement))return null;let r=n?e:e.parentElement;do{if(!r)return null;if(t(r))return r}while(r=r.parentElement);return null},ho=e=>fo(e,t=>{const n=t.getAttribute("builder-id")||t.id;return(n==null?void 0:n.indexOf("builder-"))===0}),Yn=({event:e,target:t})=>{const n=t.getBoundingClientRect(),r=e.clientX-n.left,i=e.clientY-n.top,a=Xn(r/n.width),s=Xn(i/n.height);return{x:a,y:s}},po=e=>{const t=e.target,n=t&&ho(t),r=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:r||void 0,metadata:{targetOffset:t?Yn({event:e,target:t}):void 0,builderTargetOffset:n?Yn({event:e,target:n}):void 0,builderElementIndex:n&&r?[].slice.call(document.getElementsByClassName(r)).indexOf(n):void 0}}},mo="0.12.7",go=()=>{v.register("insertMenu",{name:"_default",default:!0,items:[{name:"Box"},{name:"Text"},{name:"Image"},{name:"Columns"},{name:"Core:Section"},{name:"Core:Button"},{name:"Embed"},{name:"Custom Code"}]})};let qn=!1;const yo=(e={})=>{var t,n;qn||(qn=!0,v.isBrowser()&&((t=window.parent)==null||t.postMessage({type:"builder.sdkInfo",data:{target:v.TARGET,version:mo,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0}},"*"),(n=window.parent)==null||n.postMessage({type:"builder.updateContent",data:{options:e}},"*"),window.addEventListener("message",r=>{var a,s;if(!wr(e.trustedHosts,r))return;const{data:i}=r;if(i!=null&&i.type)switch(i.type){case"builder.evaluate":{const c=i.data.text,h=i.data.arguments||[],m=i.data.id,y=new Function(c);let x,U=null;try{x=y.apply(null,h)}catch(F){U=F}U?(a=window.parent)==null||a.postMessage({type:"builder.evaluateError",data:{id:m,error:U.message}},"*"):x&&typeof x.then=="function"?x.then(F=>{var I;(I=window.parent)==null||I.postMessage({type:"builder.evaluateResult",data:{id:m,result:F}},"*")}).catch(console.error):(s=window.parent)==null||s.postMessage({type:"builder.evaluateResult",data:{result:x,id:m}},"*");break}}})))};function vo(e){var ne,T,Se,W,ke,le,K;const t=w.useRef(null),[n,r]=w.useState(()=>0);w.useState(()=>!0);function i(E){var R,D;const A={...e.builderContextSignal.rootState,...E};e.builderContextSignal.rootSetState?(D=(R=e.builderContextSignal).rootSetState)==null||D.call(R,A):e.setBuilderContextSignal(L=>({...L,rootState:A}))}function a(E){var R,D,L,G,we;const A={...e.builderContextSignal.content,...E,data:{...(R=e.builderContextSignal.content)==null?void 0:R.data,...E==null?void 0:E.data},meta:{...(D=e.builderContextSignal.content)==null?void 0:D.meta,...E==null?void 0:E.meta,breakpoints:((L=E==null?void 0:E.meta)==null?void 0:L.breakpoints)||((we=(G=e.builderContextSignal.content)==null?void 0:G.meta)==null?void 0:we.breakpoints)}};e.setBuilderContextSignal(rt=>({...rt,content:A}))}w.useState(()=>0);const[s,c]=w.useState(()=>!1),[h,m]=w.useState(()=>e.contentWrapper||"div");function y(E){var R;if(!wr(e.trustedHosts,E))return;const{data:A}=E;if(A)switch(A.type){case"builder.configureSdk":{const D=A.data,{breakpoints:L,contentId:G}=D;if(!G||G!==((R=e.builderContextSignal.content)==null?void 0:R.id))return;L&&a({meta:{breakpoints:L}}),r(n+1);break}case"builder.triggerAnimation":{lr(A.data);break}case"builder.contentUpdate":{const D=A.data,L=D.key||D.alias||D.entry||D.modelName,G=D.data;L===e.model&&(a(G),r(n+1));break}}}function x(){var A,R;const E=(R=(A=e.builderContextSignal.content)==null?void 0:A.data)==null?void 0:R.jsCode;E&&Qe({code:E,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState})}const[U,F]=w.useState(()=>({})),[I,N]=w.useState(()=>!1);function $(E){var A,R;if(e.builderContextSignal.content){const D=(A=e.builderContextSignal.content)==null?void 0:A.testVariationId,L=(R=e.builderContextSignal.content)==null?void 0:R.id;v._track({type:"click",canTrack:v.getDefaultCanTrack(e.canTrack),contentId:L,apiKey:e.apiKey,variationId:D!==L?D:void 0,...po(E),unique:!I})}I||N(!0)}function Y(E){return E.replace(/{{([^}]+)}}/g,(A,R)=>Qe({code:R,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState}))}function b({url:E,key:A}){v.fetch(E).then(R=>R.json()).then(R=>{var L,G;const D={...e.builderContextSignal.rootState,[A]:R};(G=(L=e.builderContextSignal).rootSetState)==null||G.call(L,D),U[A]=!0}).catch(R=>{console.error("error fetching dynamic data",E,R)})}function V(){var A,R,D;const E=(D=(R=(A=e.builderContextSignal.content)==null?void 0:A.data)==null?void 0:R.httpRequests)!=null?D:{};Object.entries(E).forEach(([L,G])=>{if(G&&(!U[L]||v.isEditing())){const we=Y(G);b({url:we,key:L})}})}function Z(){v.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:v.fastClone(e.builderContextSignal.rootState),ref:{name:e.model}}}))}function te(E){r(n+1),window.addEventListener("message",y),go(),yo({...e.locale?{locale:e.locale}:{},...e.includeRefs?{includeRefs:e.includeRefs}:{},...e.enrich?{enrich:e.enrich}:{},...e.trustedHosts?{trustedHosts:e.trustedHosts}:{}}),Object.values(e.builderContextSignal.componentInfos).forEach(A=>{var D;const R=v.createRegisterComponentMessage(A);(D=window.parent)==null||D.postMessage(R,"*")}),window.addEventListener("builder:component:stateChangeListenerActivated",Z)}function H(E){const A=new URL(location.href).searchParams,R=A.get("builder.preview"),D=A.get(`builder.preview.${R}`),L=A.get("apiKey")||A.get("builder.space");R===e.model&&L===e.apiKey&&(!e.content||D===e.content.id)&&v.fetchOneEntry({model:e.model,apiKey:e.apiKey,apiVersion:e.builderContextSignal.apiVersion}).then(G=>{G&&a(G)})}return w.useEffect(()=>{var E;return(E=t.current)==null||E.addEventListener("initeditingbldr",te),()=>{var A;return(A=t.current)==null?void 0:A.removeEventListener("initeditingbldr",te)}},[]),w.useEffect(()=>{var E;return(E=t.current)==null||E.addEventListener("initpreviewingbldr",H),()=>{var A;return(A=t.current)==null?void 0:A.removeEventListener("initpreviewingbldr",H)}},[]),w.useEffect(()=>{var E,A;if(v.isBrowser()){if(v.isEditing()&&t.current&&t.current.dispatchEvent(new CustomEvent("initeditingbldr")),e.builderContextSignal.content&&v.getDefaultCanTrack(e.canTrack)){const D=(E=e.builderContextSignal.content)==null?void 0:E.testVariationId,L=(A=e.builderContextSignal.content)==null?void 0:A.id,G=e.apiKey;v._track({type:"impression",canTrack:!0,contentId:L,apiKey:G,variationId:D!==L?D:void 0})}v.isPreviewing()&&t.current&&t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"))}},[]),w.useEffect(()=>{e.apiKey||v.logger.error("No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."),x(),V(),Z()},[]),w.useEffect(()=>{e.content&&a(e.content)},[e.content]),w.useEffect(()=>{},[s]),w.useEffect(()=>{x()},[(T=(ne=e.builderContextSignal.content)==null?void 0:ne.data)==null?void 0:T.jsCode]),w.useEffect(()=>{V()},[(W=(Se=e.builderContextSignal.content)==null?void 0:Se.data)==null?void 0:W.httpRequests]),w.useEffect(()=>{Z()},[e.builderContextSignal.rootState]),w.useEffect(()=>{e.data&&i(e.data)},[e.data]),w.useEffect(()=>{e.locale&&i({locale:e.locale})},[e.locale]),w.useEffect(()=>()=>{v.isBrowser()&&(window.removeEventListener("message",y),window.removeEventListener("builder:component:stateChangeListenerActivated",Z))},[]),d.jsx(Kt.Provider,{value:e.builderContextSignal,children:e.builderContextSignal.content?d.jsx(d.Fragment,{children:w.createElement(h,{key:n,ref:t,onClick:E=>$(E),"builder-content-id":(ke=e.builderContextSignal.content)==null?void 0:ke.id,"builder-model":e.model,...e.showContent?{}:{hidden:!0,"aria-hidden":!0},...e.contentWrapperProps,className:`variant-${((le=e.content)==null?void 0:le.testVariationId)||((K=e.content)==null?void 0:K.id)}`},e.children)}):null})}const xo=e=>{var a,s;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),n=t.split(",")[0],r=(s=e.fileUrl)!=null?s:(a=e==null?void 0:e.files)==null?void 0:a.regular;let i="";if(r&&t&&n&&(i+=`
165
+ }`,xr="builderIoAbTest",br="builderIoRenderContent",ut=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),ro=({canTrack:e,content:t})=>!(!(ut(t).length>0)||!e||y.isBrowser()),io=e=>e==="react"||e==="reactNative",Sr=io(y.TARGET),oo=()=>`
166
+ window.${xr} = ${to}
167
+ window.${br} = ${no}
168
+ `,ao=(e,t)=>`
169
+ window.${xr}(
170
+ "${t}",${JSON.stringify(e)}, ${Sr}
171
+ )`,so=({contentId:e,variationId:t})=>`window.${br}(
172
+ "${t}", "${e}", ${Sr}
173
+ )`;function $t(e){return d.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},id:e.id||""})}function Xn(e){return Math.round(e*1e3)/1e3}const lo=(e,t,n=!0)=>{if(!(e instanceof HTMLElement))return null;let r=n?e:e.parentElement;do{if(!r)return null;if(t(r))return r}while(r=r.parentElement);return null},co=e=>lo(e,t=>{const n=t.getAttribute("builder-id")||t.id;return(n==null?void 0:n.indexOf("builder-"))===0}),Yn=({event:e,target:t})=>{const n=t.getBoundingClientRect(),r=e.clientX-n.left,i=e.clientY-n.top,a=Xn(r/n.width),s=Xn(i/n.height);return{x:a,y:s}},uo=e=>{const t=e.target,n=t&&co(t),r=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:r||void 0,metadata:{targetOffset:t?Yn({event:e,target:t}):void 0,builderTargetOffset:n?Yn({event:e,target:n}):void 0,builderElementIndex:n&&r?[].slice.call(document.getElementsByClassName(r)).indexOf(n):void 0}}};function fo(e){var ne,T,Se,W,ke,le,K;const t=w.useRef(null),[n,r]=w.useState(()=>0);w.useState(()=>!0);function i(j){var R,M;const A={...e.builderContextSignal.rootState,...j};e.builderContextSignal.rootSetState?(M=(R=e.builderContextSignal).rootSetState)==null||M.call(R,A):e.setBuilderContextSignal(_=>({..._,rootState:A}))}function a(j){var R,M,_,Z,we;const A={...e.builderContextSignal.content,...j,data:{...(R=e.builderContextSignal.content)==null?void 0:R.data,...j==null?void 0:j.data},meta:{...(M=e.builderContextSignal.content)==null?void 0:M.meta,...j==null?void 0:j.meta,breakpoints:((_=j==null?void 0:j.meta)==null?void 0:_.breakpoints)||((we=(Z=e.builderContextSignal.content)==null?void 0:Z.meta)==null?void 0:we.breakpoints)}};e.setBuilderContextSignal(rt=>({...rt,content:A}))}w.useState(()=>0);const[s,c]=w.useState(()=>!1),[h,m]=w.useState(()=>e.contentWrapper||"div");function v(j){return y.createEditorListener({model:e.model,trustedHosts:e.trustedHosts,callbacks:{configureSdk:A=>{var _;const{breakpoints:R,contentId:M}=A;!M||M!==((_=e.builderContextSignal.content)==null?void 0:_.id)||R&&(a({meta:{breakpoints:R}}),r(n+1))},animation:A=>{sr(A)},contentUpdate:A=>{a(A),r(n+1)}}})(j)}function k(){var A,R;const j=(R=(A=e.builderContextSignal.content)==null?void 0:A.data)==null?void 0:R.jsCode;j&&Qe({code:j,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState})}const[L,B]=w.useState(()=>({})),[I,N]=w.useState(()=>!1);function $(j){var A,R;if(e.builderContextSignal.content){const M=(A=e.builderContextSignal.content)==null?void 0:A.testVariationId,_=(R=e.builderContextSignal.content)==null?void 0:R.id;y._track({type:"click",canTrack:y.getDefaultCanTrack(e.canTrack),contentId:_,apiKey:e.apiKey,variationId:M!==_?M:void 0,...uo(j),unique:!I})}I||N(!0)}function X(j){return j.replace(/{{([^}]+)}}/g,(A,R)=>Qe({code:R,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState}))}function x({url:j,key:A}){y.fetch(j).then(R=>R.json()).then(R=>{var _,Z;const M={...e.builderContextSignal.rootState,[A]:R};(Z=(_=e.builderContextSignal).rootSetState)==null||Z.call(_,M),L[A]=!0}).catch(R=>{console.error("error fetching dynamic data",j,R)})}function V(){var A,R,M;const j=(M=(R=(A=e.builderContextSignal.content)==null?void 0:A.data)==null?void 0:R.httpRequests)!=null?M:{};Object.entries(j).forEach(([_,Z])=>{if(Z&&(!L[_]||y.isEditing())){const we=X(Z);x({url:we,key:_})}})}function q(){y.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:y.fastClone(e.builderContextSignal.rootState),ref:{name:e.model}}}))}function te(j){r(n+1),window.addEventListener("message",v),y.registerInsertMenu(),y.setupBrowserForEditing({...e.locale?{locale:e.locale}:{},...e.includeRefs?{includeRefs:e.includeRefs}:{},...e.enrich?{enrich:e.enrich}:{},...e.trustedHosts?{trustedHosts:e.trustedHosts}:{}}),Object.values(e.builderContextSignal.componentInfos).forEach(A=>{var M;const R=y.createRegisterComponentMessage(A);(M=window.parent)==null||M.postMessage(R,"*")}),window.addEventListener("builder:component:stateChangeListenerActivated",q)}function H(j){const A=new URL(location.href).searchParams,R=A.get("builder.preview"),M=A.get(`builder.preview.${R}`),_=A.get("apiKey")||A.get("builder.space");R===e.model&&_===e.apiKey&&(!e.content||M===e.content.id)&&y.fetchOneEntry({model:e.model,apiKey:e.apiKey,apiVersion:e.builderContextSignal.apiVersion}).then(Z=>{Z&&a(Z)})}return w.useEffect(()=>{var j;return(j=t.current)==null||j.addEventListener("initeditingbldr",te),()=>{var A;return(A=t.current)==null?void 0:A.removeEventListener("initeditingbldr",te)}},[]),w.useEffect(()=>{var j;return(j=t.current)==null||j.addEventListener("initpreviewingbldr",H),()=>{var A;return(A=t.current)==null?void 0:A.removeEventListener("initpreviewingbldr",H)}},[]),w.useEffect(()=>{var j,A;if(y.isBrowser()){if(y.isEditing()&&t.current&&t.current.dispatchEvent(new CustomEvent("initeditingbldr")),e.builderContextSignal.content&&y.getDefaultCanTrack(e.canTrack)){const M=(j=e.builderContextSignal.content)==null?void 0:j.testVariationId,_=(A=e.builderContextSignal.content)==null?void 0:A.id,Z=e.apiKey;y._track({type:"impression",canTrack:!0,contentId:_,apiKey:Z,variationId:M!==_?M:void 0})}y.isPreviewing()&&t.current&&t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"))}},[]),w.useEffect(()=>{e.apiKey||y.logger.error("No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."),k(),V(),q()},[]),w.useEffect(()=>{e.content&&a(e.content)},[e.content]),w.useEffect(()=>{},[s]),w.useEffect(()=>{k()},[(T=(ne=e.builderContextSignal.content)==null?void 0:ne.data)==null?void 0:T.jsCode]),w.useEffect(()=>{V()},[(W=(Se=e.builderContextSignal.content)==null?void 0:Se.data)==null?void 0:W.httpRequests]),w.useEffect(()=>{q()},[e.builderContextSignal.rootState]),w.useEffect(()=>{e.data&&i(e.data)},[e.data]),w.useEffect(()=>{e.locale&&i({locale:e.locale})},[e.locale]),w.useEffect(()=>()=>{y.isBrowser()&&(window.removeEventListener("message",v),window.removeEventListener("builder:component:stateChangeListenerActivated",q))},[]),d.jsx(Kt.Provider,{value:e.builderContextSignal,children:e.builderContextSignal.content?d.jsx(d.Fragment,{children:w.createElement(h,{key:n,ref:t,onClick:j=>$(j),"builder-content-id":(ke=e.builderContextSignal.content)==null?void 0:ke.id,"builder-model":e.model,...e.showContent?{}:{hidden:!0,"aria-hidden":!0},...e.contentWrapperProps,className:`variant-${((le=e.content)==null?void 0:le.testVariationId)||((K=e.content)==null?void 0:K.id)}`},e.children)}):null})}const ho=e=>{var a,s;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),n=t.split(",")[0],r=(s=e.fileUrl)!=null?s:(a=e==null?void 0:e.files)==null?void 0:a.regular;let i="";if(r&&t&&n&&(i+=`
174
174
  @font-face {
175
175
  font-family: "${t}";
176
176
  src: local("${n}"), url('${r}') format('woff2');
@@ -184,9 +184,9 @@ src: url('${m}') format('woff2');
184
184
  font-display: fallback;
185
185
  font-weight: ${c};
186
186
  }
187
- `.trim())}return i},bo=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(n=>xo(n)))==null?void 0:t.join(" "))||""},So=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"";function ko(e){const[t,n]=w.useState(()=>`
188
- ${So({cssCode:e.cssCode,contentId:e.contentId})}
189
- ${bo({customFonts:e.customFonts})}
187
+ `.trim())}return i},po=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(n=>ho(n)))==null?void 0:t.join(" "))||""},mo=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"";function go(e){const[t,n]=w.useState(()=>`
188
+ ${mo({cssCode:e.cssCode,contentId:e.contentId})}
189
+ ${po({customFonts:e.customFonts})}
190
190
 
191
191
  .builder-button {
192
192
  all: unset;
@@ -204,4 +204,4 @@ ${bo({customFonts:e.customFonts})}
204
204
  text-align: inherit;
205
205
  font-family: inherit;
206
206
  }
207
- `.trim());return d.jsx(pt,{styles:t})}const wo=({content:e,data:t,locale:n})=>{var a,s,c;const r={},i=((a=e==null?void 0:e.data)==null?void 0:a.state)||{};return(c=(s=e==null?void 0:e.data)==null?void 0:s.inputs)==null||c.forEach(h=>{h.name&&h.defaultValue!==void 0&&(r[h.name]=h.defaultValue)}),{...r,...i,...t,...n?{locale:n}:{}}},Co=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function Jn(e){var h,m,y,x,U,F,I;const[t,n]=w.useState(()=>{var N,$;return co({variationId:(N=e.content)==null?void 0:N.testVariationId,contentId:($=e.content)==null?void 0:$.id})});function r(N){c($=>({...$,rootState:N}))}const[i,a]=w.useState(()=>[...zn(),...v.components,...e.customComponents||[]].reduce((N,{component:$,...Y})=>({...N,[Y.name]:{component:$,...v.serializeComponentInfo(Y)}}),{})),[s,c]=w.useState(()=>({content:Co({content:e.content,data:e.data}),localState:void 0,rootState:wo({content:e.content,data:e.data,locale:e.locale}),rootSetState:r,context:e.context||{},apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...zn(),...v.components,...e.customComponents||[]].reduce((N,{component:$,...Y})=>({...N,[Y.name]:v.serializeComponentInfo(Y)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{}}));return d.jsx(Qn.Provider,{value:{registeredComponents:i},children:d.jsxs(vo,{content:e.content,data:e.data,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,showContent:e.showContent,builderContextSignal:s,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,linkComponent:e.linkComponent,trustedHosts:e.trustedHosts,setBuilderContextSignal:c,children:[e.isSsrAbTest?d.jsx(d.Fragment,{children:d.jsx($t,{scriptStr:t})}):null,d.jsx(d.Fragment,{children:d.jsx(ko,{contentId:(h=s.content)==null?void 0:h.id,cssCode:(y=(m=s.content)==null?void 0:m.data)==null?void 0:y.cssCode,customFonts:(U=(x=s.content)==null?void 0:x.data)==null?void 0:U.customFonts})}),d.jsx(nt,{blocks:(I=(F=s.content)==null?void 0:F.data)==null?void 0:I.blocks,context:s,registeredComponents:i,linkComponent:e.linkComponent})]})})}function ln(e){var s,c;const[t,n]=w.useState(()=>oo({canTrack:v.getDefaultCanTrack(e.canTrack),content:e.content}));function r(){var h;return lo(ut(e.content).map(m=>({id:m.testVariationId,testRatio:m.testRatio})),((h=e.content)==null?void 0:h.id)||"")}function i(){return ut(e.content).map(h=>`.variant-${h.testVariationId} { display: none; } `).join("")}function a(){var h;return t?{...e.content,testVariationId:(h=e.content)==null?void 0:h.id}:v.handleABTestingSync({item:e.content,canTrack:v.getDefaultCanTrack(e.canTrack)})}return w.useEffect(()=>{},[]),d.jsxs(d.Fragment,{children:[!e.__isNestedRender&&v.TARGET!=="reactNative"?d.jsx(d.Fragment,{children:d.jsx($t,{scriptStr:so()})}):null,t?d.jsxs(d.Fragment,{children:[d.jsx(pt,{id:`variants-styles-${(s=e.content)==null?void 0:s.id}`,styles:i()}),d.jsx($t,{scriptStr:r()}),(c=ut(e.content))==null?void 0:c.map(h=>d.jsx(Jn,{content:h,showContent:!1,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts},h.testVariationId))]}):null,d.jsx(Jn,{content:a(),showContent:!0,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts})]})}const Eo=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return v.fetchOneEntry({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{v.logger.error("Could not fetch symbol content: ",n)})};function Cr(e){var a,s,c,h;function t(){var m,y;return[e.attributes[qe()],"builder-symbol",(m=e.symbol)!=null&&m.inline?"builder-inline-symbol":void 0,(y=e.symbol)!=null&&y.dynamic||e.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")}const[n,r]=w.useState(()=>{var m;return(m=e.symbol)==null?void 0:m.content});function i(){n||Eo({symbol:e.symbol,builderContextValue:e.builderContext}).then(m=>{m&&r(m)})}return w.useEffect(()=>{},[]),w.useEffect(()=>{i()},[e.symbol]),d.jsx("div",{...e.attributes,className:t(),children:d.jsx(ln,{__isNestedRender:!0,apiVersion:e.builderContext.apiVersion,apiKey:e.builderContext.apiKey,context:{...e.builderContext.context,symbolId:(a=e.builderBlock)==null?void 0:a.id},customComponents:Object.values(e.builderComponents),data:{...(s=e.symbol)==null?void 0:s.data,...e.builderContext.localState,...(c=n==null?void 0:n.data)==null?void 0:c.state},model:(h=e.symbol)==null?void 0:h.model,content:n,linkComponent:e.builderLinkComponent})})}const jo=nt,Io=ln;exports._processContentResult=v._processContentResult;exports.createRegisterComponentMessage=v.createRegisterComponentMessage;exports.fetchBuilderProps=v.fetchBuilderProps;exports.fetchEntries=v.fetchEntries;exports.fetchOneEntry=v.fetchOneEntry;exports.getAllContent=v.getAllContent;exports.getBuilderSearchParams=v.getBuilderSearchParams;exports.getContent=v.getContent;exports.isEditing=v.isEditing;exports.isPreviewing=v.isPreviewing;exports.register=v.register;exports.setEditorSettings=v.setEditorSettings;exports.track=v.track;exports.Blocks=nt;exports.Button=Zn;exports.Columns=pr;exports.Content=ln;exports.Fragment=mr;exports.Image=gr;exports.RenderBlocks=jo;exports.RenderContent=Io;exports.Section=yr;exports.Symbol=Cr;exports.Text=vr;exports.Video=xr;
207
+ `.trim());return d.jsx(pt,{styles:t})}const yo=({content:e,data:t,locale:n})=>{var a,s,c;const r={},i=((a=e==null?void 0:e.data)==null?void 0:a.state)||{};return(c=(s=e==null?void 0:e.data)==null?void 0:s.inputs)==null||c.forEach(h=>{h.name&&h.defaultValue!==void 0&&(r[h.name]=h.defaultValue)}),{...r,...i,...t,...n?{locale:n}:{}}},vo=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function Jn(e){var h,m,v,k,L,B,I;const[t,n]=w.useState(()=>{var N,$;return so({variationId:(N=e.content)==null?void 0:N.testVariationId,contentId:($=e.content)==null?void 0:$.id})});function r(N){c($=>({...$,rootState:N}))}const[i,a]=w.useState(()=>[...zn(),...y.components,...e.customComponents||[]].reduce((N,{component:$,...X})=>({...N,[X.name]:{component:$,...y.serializeComponentInfo(X)}}),{})),[s,c]=w.useState(()=>({content:vo({content:e.content,data:e.data}),localState:void 0,rootState:yo({content:e.content,data:e.data,locale:e.locale}),rootSetState:r,context:e.context||{},apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...zn(),...y.components,...e.customComponents||[]].reduce((N,{component:$,...X})=>({...N,[X.name]:y.serializeComponentInfo(X)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{}}));return d.jsx(Zn.Provider,{value:{registeredComponents:i},children:d.jsxs(fo,{content:e.content,data:e.data,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,showContent:e.showContent,builderContextSignal:s,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,linkComponent:e.linkComponent,trustedHosts:e.trustedHosts,setBuilderContextSignal:c,children:[e.isSsrAbTest?d.jsx(d.Fragment,{children:d.jsx($t,{scriptStr:t})}):null,d.jsx(d.Fragment,{children:d.jsx(go,{contentId:(h=s.content)==null?void 0:h.id,cssCode:(v=(m=s.content)==null?void 0:m.data)==null?void 0:v.cssCode,customFonts:(L=(k=s.content)==null?void 0:k.data)==null?void 0:L.customFonts})}),d.jsx(nt,{blocks:(I=(B=s.content)==null?void 0:B.data)==null?void 0:I.blocks,context:s,registeredComponents:i,linkComponent:e.linkComponent})]})})}function ln(e){var s,c;const[t,n]=w.useState(()=>ro({canTrack:y.getDefaultCanTrack(e.canTrack),content:e.content}));function r(){var h;return ao(ut(e.content).map(m=>({id:m.testVariationId,testRatio:m.testRatio})),((h=e.content)==null?void 0:h.id)||"")}function i(){return ut(e.content).map(h=>`.variant-${h.testVariationId} { display: none; } `).join("")}function a(){var h;return t?{...e.content,testVariationId:(h=e.content)==null?void 0:h.id}:y.handleABTestingSync({item:e.content,canTrack:y.getDefaultCanTrack(e.canTrack)})}return w.useEffect(()=>{},[]),d.jsxs(d.Fragment,{children:[!e.__isNestedRender&&y.TARGET!=="reactNative"?d.jsx(d.Fragment,{children:d.jsx($t,{scriptStr:oo()})}):null,t?d.jsxs(d.Fragment,{children:[d.jsx(pt,{id:`variants-styles-${(s=e.content)==null?void 0:s.id}`,styles:i()}),d.jsx($t,{scriptStr:r()}),(c=ut(e.content))==null?void 0:c.map(h=>d.jsx(Jn,{content:h,showContent:!1,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts},h.testVariationId))]}):null,d.jsx(Jn,{content:a(),showContent:!0,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts})]})}const xo=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return y.fetchOneEntry({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{y.logger.error("Could not fetch symbol content: ",n)})};function kr(e){var a,s,c,h;function t(){var m,v;return[e.attributes[Je()],"builder-symbol",(m=e.symbol)!=null&&m.inline?"builder-inline-symbol":void 0,(v=e.symbol)!=null&&v.dynamic||e.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")}const[n,r]=w.useState(()=>{var m;return(m=e.symbol)==null?void 0:m.content});function i(){n||xo({symbol:e.symbol,builderContextValue:e.builderContext}).then(m=>{m&&r(m)})}return w.useEffect(()=>{},[]),w.useEffect(()=>{i()},[e.symbol]),d.jsx("div",{...e.attributes,className:t(),children:d.jsx(ln,{__isNestedRender:!0,apiVersion:e.builderContext.apiVersion,apiKey:e.builderContext.apiKey,context:{...e.builderContext.context,symbolId:(a=e.builderBlock)==null?void 0:a.id},customComponents:Object.values(e.builderComponents),data:{...(s=e.symbol)==null?void 0:s.data,...e.builderContext.localState,...(c=n==null?void 0:n.data)==null?void 0:c.state},model:(h=e.symbol)==null?void 0:h.model,content:n,linkComponent:e.builderLinkComponent})})}const bo=nt,So=ln;exports._processContentResult=y._processContentResult;exports.createRegisterComponentMessage=y.createRegisterComponentMessage;exports.fetchBuilderProps=y.fetchBuilderProps;exports.fetchEntries=y.fetchEntries;exports.fetchOneEntry=y.fetchOneEntry;exports.getAllContent=y.getAllContent;exports.getBuilderSearchParams=y.getBuilderSearchParams;exports.getContent=y.getContent;exports.isEditing=y.isEditing;exports.isPreviewing=y.isPreviewing;exports.register=y.register;exports.setEditorSettings=y.setEditorSettings;exports.subscribeToEditor=y.subscribeToEditor;exports.track=y.track;exports.Blocks=nt;exports.Button=qn;exports.Columns=hr;exports.Content=ln;exports.Fragment=pr;exports.Image=mr;exports.RenderBlocks=bo;exports.RenderContent=So;exports.Section=gr;exports.Symbol=kr;exports.Text=yr;exports.Video=vr;