@builder.io/sdk-react-nextjs 0.16.4 → 0.16.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.
Files changed (54) hide show
  1. package/lib/browser/blocks-exports.cjs +27 -27
  2. package/lib/browser/blocks-exports.mjs +640 -618
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +2 -2
  5. package/lib/browser/init.cjs +2 -2
  6. package/lib/browser/init.mjs +20 -20
  7. package/lib/{node/server-entry-3336d7c2.js → browser/server-entry-30b63436.js} +371 -368
  8. package/lib/browser/server-entry-89b4c0d0.cjs +2 -0
  9. package/lib/browser/server-entry.cjs +1 -1
  10. package/lib/browser/server-entry.mjs +1 -1
  11. package/lib/edge/blocks-exports.cjs +38 -38
  12. package/lib/edge/blocks-exports.mjs +1027 -1005
  13. package/lib/edge/index.cjs +1 -1
  14. package/lib/edge/index.mjs +2 -2
  15. package/lib/edge/init.cjs +2 -2
  16. package/lib/edge/init.mjs +20 -20
  17. package/lib/{browser/server-entry-3336d7c2.js → edge/server-entry-30b63436.js} +371 -368
  18. package/lib/edge/server-entry-89b4c0d0.cjs +2 -0
  19. package/lib/edge/server-entry.cjs +1 -1
  20. package/lib/edge/server-entry.mjs +1 -1
  21. package/lib/node/blocks-exports.cjs +26 -26
  22. package/lib/node/blocks-exports.mjs +667 -645
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/lib/node/init.cjs +1 -1
  26. package/lib/node/init.mjs +2 -2
  27. package/lib/node/{node-runtime-7537779c.cjs → node-runtime-60abefbd.cjs} +4 -4
  28. package/lib/node/{node-runtime-adcc8fa1.js → node-runtime-c36924d7.js} +3 -3
  29. package/lib/{edge/server-entry-3336d7c2.js → node/server-entry-30b63436.js} +371 -368
  30. package/lib/node/server-entry-89b4c0d0.cjs +2 -0
  31. package/lib/node/server-entry.cjs +1 -1
  32. package/lib/node/server-entry.mjs +1 -1
  33. package/package.json +3 -3
  34. package/types/cjs/components/block/block.helpers.d.ts +1 -2
  35. package/types/cjs/components/content-variants/content-variants.types.d.ts +2 -1
  36. package/types/cjs/components/content-variants/extra-framework-props-types.d.ts +2 -0
  37. package/types/cjs/constants/sdk-version.d.ts +1 -1
  38. package/types/cjs/context/extra-context-types.d.ts +6 -0
  39. package/types/cjs/context/types.d.ts +2 -1
  40. package/types/cjs/functions/evaluate/node-runtime/init.d.ts +1 -0
  41. package/types/cjs/functions/get-processed-block.d.ts +1 -0
  42. package/types/cjs/functions/register-component.d.ts +1 -1
  43. package/types/esm/components/block/block.helpers.d.ts +1 -2
  44. package/types/esm/components/content-variants/content-variants.types.d.ts +2 -1
  45. package/types/esm/components/content-variants/extra-framework-props-types.d.ts +2 -0
  46. package/types/esm/constants/sdk-version.d.ts +1 -1
  47. package/types/esm/context/extra-context-types.d.ts +6 -0
  48. package/types/esm/context/types.d.ts +2 -1
  49. package/types/esm/functions/evaluate/node-runtime/init.d.ts +1 -0
  50. package/types/esm/functions/get-processed-block.d.ts +1 -0
  51. package/types/esm/functions/register-component.d.ts +1 -1
  52. package/lib/browser/server-entry-15a258a6.cjs +0 -2
  53. package/lib/edge/server-entry-15a258a6.cjs +0 -2
  54. package/lib/node/server-entry-15a258a6.cjs +0 -2
@@ -1,42 +1,42 @@
1
- "use client";"use strict";var Ur=Object.defineProperty;var Lr=(e,t,n)=>t in e?Ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Wt=(e,t,n)=>(Lr(e,typeof t!="symbol"?t+"":t,n),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),E=require("./server-entry-15a258a6.cjs"),L=require("react"),Vr=require("next/navigation");require("lru-cache");const _r=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),$r=e=>typeof e=="string"&&_r.has(e.toLowerCase());function Kt(e){return f.jsx(f.Fragment,{children:$r(e.TagName)?f.jsx(f.Fragment,{children:f.jsx(e.TagName,{...e.attributes,...e.actionAttributes})}):f.jsx(f.Fragment,{children:typeof e.TagName=="string"?f.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children}):f.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children})})})}const qe=()=>{switch(E.TARGET){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":case"angular":return"class"}};function qn(e){function t(){return{...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"}}}return f.jsx(Kt,{attributes:t(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}function Hr(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options}}const Zn=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),Kr=()=>({isEditing:E.isEditing(),isBrowser:E.isBrowser(),isServer:!E.isBrowser(),getUserAttributes:()=>E.getUserAttributes()}),Gr=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,zr=({code:e,builder:t,context:n,event:r,localState:i,rootSetState:a,rootState:s})=>{const c=Zn({builder:t,context:n,event:r,state:Qn({rootState:s,localState:i,rootSetState:a})});return new Function(...c.map(([h])=>h),e)(...c.map(([,h])=>h))};function Qn({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"&&a!==null?Qn({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 er=(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 D,Yr=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&&Dr.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,A=0;;){lt.lastIndex=A;var X=lt.exec(u);if(X&&X.index<o)++p,A=X.index+X[0].length;else break}throw u={line:p,ab:o-A},l+=" ("+u.line+":"+u.ab+")",l=new SyntaxError(l),l.j=o,l.X=u,l.o=d,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=we,this.ab=d-de}function s(o,l){Ie=d,O.C&&(wt=new a),T=o,h(),ae=l,Ue=o.m}function c(){for(var o=d,l=O.va&&O.C&&new a,u=S.charCodeAt(d+=2);d<je&&u!==10&&u!==13&&u!==8232&&u!==8233;)++d,u=S.charCodeAt(d);O.va&&O.va(!1,S.slice(o+2,d),o,d,l,O.C&&new a)}function h(){for(;d<je;){var o=S.charCodeAt(d);if(o===32)++d;else if(o===13)++d,o=S.charCodeAt(d),o===10&&++d,O.C&&(++we,de=d);else if(o===10||o===8232||o===8233)++d,O.C&&(++we,de=d);else if(8<o&&14>o)++d;else if(o===47)if(o=S.charCodeAt(d+1),o===42){o=void 0;var l=O.va&&O.C&&new a,u=d,p=S.indexOf("*/",d+=2);if(p===-1&&r(d-2,"Unterminated comment"),d=p+2,O.C)for(lt.lastIndex=u;(o=lt.exec(S))&&o.index<d;)++we,de=o.index+o[0].length;O.va&&O.va(!0,S.slice(u+2,p),u,d,l,O.C&&new a)}else if(o===47)c();else break;else if(o===160)++d;else if(5760<=o&&Mr.test(String.fromCharCode(o)))++d;else break}}function y(o){switch(o){case 46:o=S.charCodeAt(d+1),48<=o&&57>=o?$(!0):(++d,s(Tn));return;case 40:return++d,s(fe);case 41:return++d,s(ce);case 59:return++d,s(he);case 44:return++d,s(be);case 91:return++d,s(Bt);case 93:return++d,s(Ft);case 123:return++d,s(_e);case 125:return++d,s(Ae);case 58:return++d,s($e);case 63:return++d,s(An);case 48:if(o=S.charCodeAt(d+1),o===120||o===88){d+=2,o=W(16),o===null&&r(Y+2,"Expected hexadecimal number"),n(S.charCodeAt(d))&&r(d,"Identifier directly after number"),s(Ve,o);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return $(!1);case 34:case 39:d++;for(var l="";;){d>=je&&r(Y,"Unterminated string constant");var u=S.charCodeAt(d);if(u===o){++d,s(it,l);break}if(u===92){u=S.charCodeAt(++d);var p=/^[0-7]+/.exec(S.slice(d,d+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++d,p)ie&&r(d-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),d+=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(d)===10&&++d;case 10:O.C&&(de=d,++we);break;default:l+=String.fromCharCode(u)}}else u!==13&&u!==10&&u!==8232&&u!==8233||r(Y,"Unterminated string constant"),l+=String.fromCharCode(u),++d}return;case 47:o=S.charCodeAt(d+1),Ue?(++d,R()):o===61?g(Ee,2):g(Rn,1);return;case 37:case 42:S.charCodeAt(d+1)===61?g(Ee,2):g(Nr,1);return;case 124:case 38:l=S.charCodeAt(d+1),l===o?g(o===124?Nn:Bn,2):l===61?g(Ee,2):g(o===124?jr:Tr,1);return;case 94:S.charCodeAt(d+1)===61?g(Ee,2):g(Ir,1);return;case 43:case 45:l=S.charCodeAt(d+1),l===o?l===45&&S.charCodeAt(d+2)===62&&st.test(S.slice(xe,d))?(d+=3,c(),h(),x()):g(Er,2):l===61?g(Ee,2):g(Pr,1);return;case 60:case 62:l=S.charCodeAt(d+1),u=1,l===o?(u=o===62&&S.charCodeAt(d+2)===62?3:2,S.charCodeAt(d+u)===61?g(Ee,u+1):g(Or,u)):l===33&&o===60&&S.charCodeAt(d+2)===45&&S.charCodeAt(d+3)===45?(d+=4,c(),h(),x()):(l===61&&(u=S.charCodeAt(d+2)===61?3:2),g(Rr,u));return;case 61:case 33:S.charCodeAt(d+1)===61?g(Ar,S.charCodeAt(d+2)===61?3:2):g(o===61?On:Pn,1);return;case 126:return g(Pn,1)}return!1}function x(o){if(o?d=Y+1:Y=d,O.C&&(Ct=new a),o)return R();if(d>=je)return s(It);if(o=S.charCodeAt(d),n(o)||o===92)return P();if(y(o)===!1){if(o=String.fromCharCode(o),o==="\\"||Mn.test(o))return P();r(d,"Unexpected character '"+o+"'")}}function g(o,l){var u=S.slice(d,d+l);d+=l,s(o,u)}function R(){for(var o,l,u=d;;){d>=je&&r(u,"Unterminated regexp");var p=S.charAt(d);if(st.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==="\\"}++d}o=S.slice(u,d),++d,(l=H())&&!/^[gmi]*$/.test(l)&&r(u,"Invalid regexp flag");try{var A=new RegExp(o,l)}catch(X){throw X instanceof SyntaxError&&r(u,X.message),X}s(cn,A)}function W(o,l){for(var u=d,p=0,A=l===void 0?1/0:l,X=0;X<A;++X){var te=S.charCodeAt(d);if(te=97<=te?te-97+10:65<=te?te-65+10:48<=te&&57>=te?te-48:1/0,te>=o)break;++d,p=p*o+te}return d===u||l!==void 0&&d-u!==l?null:p}function $(o){var l=d,u=!1,p=S.charCodeAt(d)===48;o||W(10)!==null||r(l,"Invalid number"),S.charCodeAt(d)===46&&(++d,W(10),u=!0),o=S.charCodeAt(d),(o===69||o===101)&&(o=S.charCodeAt(++d),o!==43&&o!==45||++d,W(10)===null&&r(l,"Invalid number"),u=!0),n(S.charCodeAt(d))&&r(d,"Identifier directly after number"),o=S.slice(l,d);var A;u?A=parseFloat(o):p&&o.length!==1?/[89]/.test(o)||ie?r(l,"Invalid number"):A=parseInt(o,8):A=parseInt(o,10),s(Ve,A)}function N(o){return o=W(16,o),o===null&&r(Y,"Bad character escape sequence"),o}function H(){Re=!1;for(var o,l=!0,u=d;;){var p=S.charCodeAt(d);if(t(p))Re&&(o+=S.charAt(d)),++d;else if(p===92){Re||(o=S.slice(u,d)),Re=!0,S.charCodeAt(++d)!==117&&r(d,"Expecting Unicode escape sequence \\uXXXX"),++d,p=N(4);var A=String.fromCharCode(p);A||r(d-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(d-4,"Invalid Unicode escape"),o+=A}else break;l=!1}return Re?o:S.slice(u,d)}function P(){var o=H(),l=Te;!Re&&Fr(o)&&(l=wr[o]),s(l,o)}function v(){Et=Y,xe=Ie,jt=wt,x()}function V(o){if(ie=o,d=Y,O.C)for(;d<de;)de=S.lastIndexOf(`
3
- `,de-2)+1,--we;h(),x()}function z(){this.type=null,this.start=Y,this.end=null}function oe(){this.start=Ct,this.end=null,kt&&(this.source=kt)}function K(){var o=new z;return O.C&&(o.X=new oe),O.vb&&(o.sourceFile=O.vb),O.Xa&&(o.j=[Y,0]),o}function ee(o){var l=new z;return l.start=o.start,O.C&&(l.X=new oe,l.X.start=o.X.start),O.Xa&&(l.j=[o.j[0],0]),l}function j(o,l){return o.type=l,o.end=xe,O.C&&(o.X.end=jt),O.Xa&&(o.j[1]=xe),o}function ke(o){return o.type==="ExpressionStatement"&&o.la.type==="Literal"&&o.la.value==="use strict"}function _(o){return T===o?(v(),!0):!1}function Ce(){return!O.fc&&(T===It||T===Ae||st.test(S.slice(xe,Y)))}function I(){_(he)||Ce()||F()}function b(o){T===o?v():F()}function F(){r(Y,"Unexpected token")}function U(o){o.type!=="Identifier"&&o.type!=="MemberExpression"&&r(o.start,"Assigning to rvalue"),ie&&o.type==="Identifier"&&at(o.name)&&r(o.start,"Assigning to "+o.name+" in strict mode")}function M(){(T===Rn||T===Ee&&ae==="/=")&&x(!0);var o=T,l=K();switch(o){case Tt:case dn:v();var u=o===Tt;_(he)||Ce()?l.label=null:T!==Te?F():(l.label=ue(),I());for(var p=0;p<G.length;++p){var A=G[p];if((l.label===null||A.name===l.label.name)&&(A.kind!==null&&(u||A.kind==="loop")||l.label&&u))break}return p===G.length&&r(l.start,"Unsyntactic "+o.l),j(l,u?"BreakStatement":"ContinueStatement");case fn:return v(),I(),j(l,"DebuggerStatement");case pn:return v(),G.push(Mt),l.body=M(),G.pop(),b(Nt),l.test=q(),I(),j(l,"DoWhileStatement");case yn:return v(),G.push(Mt),b(fe),T===he?le(l,null):T===Pt?(o=K(),v(),sn(o,!0),j(o,"VariableDeclaration"),o.fa.length===1&&_(ot)?nt(l,o):le(l,o)):(o=Q(!1,!0),_(ot)?(U(o),nt(l,o)):le(l,o));case Rt:return v(),bt(l,!0);case vn:return v(),l.test=q(),l.da=M(),l.alternate=_(mn)?M():null,j(l,"IfStatement");case xn:return Le||O.Ib||r(Y,"'return' outside of function"),v(),_(he)||Ce()?l.K=null:(l.K=Q(),I()),j(l,"ReturnStatement");case Ot:for(v(),l.Qb=q(),l.tb=[],b(_e),G.push(Wr);T!==Ae;)T===At||T===hn?(o=T===At,p&&j(p,"SwitchCase"),l.tb.push(p=K()),p.da=[],v(),o?p.test=Q():(u&&r(Et,"Multiple default clauses"),u=!0,p.test=null),b($e)):(p||F(),p.da.push(M()));return p&&j(p,"SwitchCase"),v(),G.pop(),j(l,"SwitchStatement");case bn:return v(),st.test(S.slice(xe,Y))&&r(xe,"Illegal newline after throw"),l.K=Q(),I(),j(l,"ThrowStatement");case Sn:return v(),l.block=se(),l.Ea=null,T===un&&(o=K(),v(),b(fe),o.Ua=ue(),ie&&at(o.Ua.name)&&r(o.Ua.start,"Binding "+o.Ua.name+" in strict mode"),b(ce),o.body=se(),l.Ea=j(o,"CatchClause")),l.fb=_(gn)?se():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),j(l,"TryStatement");case Pt:return v(),sn(l),I(),j(l,"VariableDeclaration");case Nt:return v(),l.test=q(),G.push(Mt),l.body=M(),G.pop(),j(l,"WhileStatement");case kn:return ie&&r(Y,"'with' in strict mode"),v(),l.object=q(),l.body=M(),j(l,"WithStatement");case _e:return se();case he:return v(),j(l,"EmptyStatement");default:if(u=ae,A=Q(),o===Te&&A.type==="Identifier"&&_($e)){for(p=0;p<G.length;++p)G[p].name===u&&r(A.start,"Label '"+u+"' is already declared");return G.push({name:u,kind:T.W?"loop":T===Ot?"switch":null}),l.body=M(),G.pop(),l.label=A,j(l,"LabeledStatement")}return l.la=A,I(),j(l,"ExpressionStatement")}}function q(){b(fe);var o=Q();return b(ce),o}function se(o){var l=K(),u=!0,p=!1;for(l.body=[],b(_e);!_(Ae);){var A=M();if(l.body.push(A),u&&o&&ke(A)){var X=p;V(p=!0)}u=!1}return p&&!X&&V(!1),j(l,"BlockStatement")}function le(o,l){return o.ua=l,b(he),o.test=T===he?null:Q(),b(he),o.update=T===ce?null:Q(),b(ce),o.body=M(),G.pop(),j(o,"ForStatement")}function nt(o,l){return o.left=l,o.right=Q(),b(ce),o.body=M(),G.pop(),j(o,"ForInStatement")}function sn(o,l){for(o.fa=[],o.kind="var";;){var u=K();if(u.id=ue(),ie&&at(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=_(On)?Q(!0,l):null,o.fa.push(j(u,"VariableDeclarator")),!_(be))break}}function Q(o,l){var u=yt(l);if(!o&&T===be){for(o=ee(u),o.xb=[u];_(be);)o.xb.push(yt(l));return j(o,"SequenceExpression")}return u}function yt(o){var l=vt(xt(),-1,o);if(_(An)){var u=ee(l);u.test=l,u.da=Q(!0),b($e),u.alternate=Q(!0,o),l=j(u,"ConditionalExpression")}return T.Cb?(u=ee(l),u.operator=ae,u.left=l,v(),u.right=yt(o),U(l),j(u,"AssignmentExpression")):l}function vt(o,l,u){var p=T.L;if(p!==null&&(!u||T!==ot)&&p>l){var A=ee(o);return A.left=o,A.operator=ae,o=T,v(),A.right=vt(xt(),p,u),p=j(A,o===Nn||o===Bn?"LogicalExpression":"BinaryExpression"),vt(p,l,u)}return o}function xt(){if(T.prefix){var o=K(),l=T.$b;return o.operator=ae,Ue=o.prefix=!0,v(),o.K=xt(),l?U(o.K):ie&&o.operator==="delete"&&o.K.type==="Identifier"&&r(o.start,"Deleting local variable in strict mode"),j(o,l?"UpdateExpression":"UnaryExpression")}for(l=We(rt());T.cc&&!Ce();)o=ee(l),o.operator=ae,o.prefix=!1,o.K=l,U(l),v(),l=j(o,"UpdateExpression");return l}function We(o,l){if(_(Tn)){var u=ee(o);return u.object=o,u.Wa=ue(!0),u.bb=!1,We(j(u,"MemberExpression"),l)}return _(Bt)?(u=ee(o),u.object=o,u.Wa=Q(),u.bb=!0,b(Ft),We(j(u,"MemberExpression"),l)):!l&&_(fe)?(u=ee(o),u.callee=o,u.arguments=St(ce,!1),We(j(u,"CallExpression"),l)):o}function rt(){switch(T){case wn:var o=K();return v(),j(o,"ThisExpression");case Te:return ue();case Ve:case it:case cn:return o=K(),o.value=ae,o.raw=S.slice(Y,Ie),v(),j(o,"Literal");case En:case jn:case In:return o=K(),o.value=T.$a,o.raw=T.l,v(),j(o,"Literal");case fe:o=Ct;var l=Y;v();var u=Q();return u.start=l,u.end=Ie,O.C&&(u.X.start=o,u.X.end=wt),O.Xa&&(u.j=[l,Ie]),b(ce),u;case Bt:return o=K(),v(),o.elements=St(Ft,!0,!0),j(o,"ArrayExpression");case _e:for(o=K(),l=!0,u=!1,o.h=[],v();!_(Ae);){if(l)l=!1;else if(b(be),O.sb&&_(Ae))break;var p={key:T===Ve||T===it?rt():ue(!0)},A=!1;if(_($e)){p.value=Q(!0);var X=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?F():(A=u=!0,X=p.kind=p.key.name,p.key=T===Ve||T===it?rt():ue(!0),T!==fe&&F(),p.value=bt(K(),!1));if(p.key.type==="Identifier"&&(ie||u))for(var te=0;te<o.h.length;++te){var Oe=o.h[te];if(Oe.key.name===p.key.name){var Dt=X===Oe.kind||A&&Oe.kind==="init"||X==="init"&&(Oe.kind==="get"||Oe.kind==="set");Dt&&!ie&&X==="init"&&Oe.kind==="init"&&(Dt=!1),Dt&&r(p.key.start,"Redefinition of property")}}o.h.push(p)}return j(o,"ObjectExpression");case Rt:return o=K(),v(),bt(o,!1);case Cn:return o=K(),v(),o.callee=We(rt(),!0),o.arguments=_(fe)?St(ce,!1):Cr,j(o,"NewExpression")}F()}function bt(o,l){T===Te?o.id=ue():l?F():o.id=null,o.oa=[];var u=!0;for(b(fe);!_(ce);)u?u=!1:b(be),o.oa.push(ue());u=Le;var p=G;if(Le=!0,G=[],o.body=se(!0),Le=u,G=p,ie||o.body.body.length&&ke(o.body.body[0])){for(u=o.id?-1:0;u<o.oa.length;++u)if(p=0>u?o.id:o.oa[u],(Fn(p.name)||at(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var A=0;A<u;++A)p.name===o.oa[A].name&&r(p.start,"Argument name clash in strict mode")}return j(o,l?"FunctionDeclaration":"FunctionExpression")}function St(o,l,u){for(var p=[],A=!0;!_(o);){if(A)A=!1;else if(b(be),l&&O.sb&&_(o))break;p.push(u&&T===be?null:Q(!0))}return p}function ue(o){var l=K();return o&&O.yb==="everywhere"&&(o=!1),T===Te?(!o&&(O.yb&&Br(ae)||ie&&Fn(ae))&&S.slice(Y,Ie).indexOf("\\")===-1&&r(Y,"The keyword '"+ae+"' is reserved"),l.name=ae):o&&T.l?l.name=T.l:F(),Ue=!1,v(),j(l,"Identifier")}e.version="0.5.0";var O,S="",je,kt;e.parse=function(o,l){S=String(o),je=S.length,O=l||{};for(var u in ln)Object.prototype.hasOwnProperty.call(O,u)||(O[u]=ln[u]);for(kt=O.sourceFile,we=1,d=de=0,Ue=!0,h(),u=O.dc,Et=xe=d,O.C&&(jt=new a),Le=ie=!1,G=[],x(),o=u||K(),l=!0,u||(o.body=[]);T!==It;)u=M(),o.body.push(u),l&&ke(u)&&V(!0),l=!1;return j(o,"Program")};var ln={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},d=0,Y=0,Ie=0,Ct,wt,T,ae,Ue,we,de,Et=0,xe=0,jt,Le,G,ie,Cr=[],Ve={type:"num"},cn={type:"regexp"},it={type:"string"},Te={type:"name"},It={type:"eof"},Tt={l:"break"},At={l:"case",m:!0},un={l:"catch"},dn={l:"continue"},fn={l:"debugger"},hn={l:"default"},pn={l:"do",W:!0},mn={l:"else",m:!0},gn={l:"finally"},yn={l:"for",W:!0},Rt={l:"function"},vn={l:"if"},xn={l:"return",m:!0},Ot={l:"switch"},bn={l:"throw",m:!0},Sn={l:"try"},Pt={l:"var"},Nt={l:"while",W:!0},kn={l:"with"},Cn={l:"new",m:!0},wn={l:"this"},En={l:"null",$a:null},jn={l:"true",$a:!0},In={l:"false",$a:!1},ot={l:"in",L:7,m:!0},wr={break:Tt,case:At,catch:un,continue:dn,debugger:fn,default:hn,do:pn,else:mn,finally:gn,for:yn,function:Rt,if:vn,return:xn,switch:Ot,throw:bn,try:Sn,var:Pt,while:Nt,with:kn,null:En,true:jn,false:In,new:Cn,in:ot,instanceof:{l:"instanceof",L:7,m:!0},this:wn,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Bt={type:"[",m:!0},Ft={type:"]"},_e={type:"{",m:!0},Ae={type:"}"},fe={type:"(",m:!0},ce={type:")"},be={type:",",m:!0},he={type:";",m:!0},$e={type:":",m:!0},Tn={type:"."},An={type:"?",m:!0},Rn={L:10,m:!0},On={Cb:!0,m:!0},Ee={Cb:!0,m:!0},Er={cc:!0,prefix:!0,$b:!0},Pn={prefix:!0,m:!0},Nn={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},Br=i("class enum extends super const export import"),Fn=i("implements interface let package private protected public static yield"),at=i("eval arguments"),Fr=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"),Mr=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Mn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),Dr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),st=/[\n\r\u2028\u2029]/,lt=/\r\n|[\n\r\u2028\u2029]/g,Re,Mt={kind:"loop"},Wr={kind:"switch"}},Vt=Vt=typeof globalThis=="undefined"?void 0:globalThis;Yr(Vt.j||(Vt.j={}));function m(e,t){typeof e=="string"&&(e=Be(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=$t(this,this.ra,null),this.Na=this.N.object,this.ra=Be(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 Dn={C:!0,kc:5},Gt={configurable:!0,enumerable:!0,writable:!1},k={configurable:!0,enumerable:!1,writable:!0},re={configurable:!0,enumerable:!1,writable:!1},He={configurable:!1,enumerable:!1,writable:!1},Wn={configurable:!1,enumerable:!0,writable:!0},tr={STEP_ERROR:!0},De={SCOPE_REFERENCE:!0},Ze={VALUE_IN_DESCRIPTOR:!0},Pe={REGEXP_TIMEOUT:!0},Un=[],ge=null,Xe=null,Se=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 Je(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)}}m.prototype.REGEXP_MODE=2;m.prototype.REGEXP_THREAD_TIMEOUT=1e3;m.prototype.POLYFILL_TIMEOUT=1e3;D=m.prototype;D.P=!1;D.Ka=!1;D.Kb=0;D.ic=0;function Be(e,t){var n={},r;for(r in Dn)n[r]=Dn[r];return n.sourceFile=t,Se.j.parse(e,n)}D.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=Be(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");Qe(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};D.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&&ir(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!==tr)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};D.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Jr(e,t){e.g(t,"NaN",NaN,He),e.g(t,"Infinity",1/0,He),e.g(t,"undefined",void 0,He),e.g(t,"window",t,Gt),e.g(t,"this",t,He),e.g(t,"self",t),e.M=new B(null),e.Z=new B(e.M),qr(e,t),Zr(e,t),t.xa=e.M,e.g(t,"constructor",e.v,k),Qr(e,t),ei(e,t),ti(e,t),ni(e,t),ri(e,t),ii(e,t),oi(e,t),ai(e,t),si(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){w(e,e.Gb,c.message)}}}(r[i][0]),e.g(t,r[i][1],e.i(n,!1),k);n=function(a){return Ln(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),k),n=function(a){return Ln(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)}D.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)||w(e,e.T,"Invalid function argument: "+h)}s=s.join(", ")}try{var y=Be("(function("+s+") {"+a+"})","function"+e.Wb++)}catch(x){w(e,e.T,"Invalid code: "+x.message)}return y.body.length!==1&&w(e,e.T,"Invalid code in function body"),Jt(e,y.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,re),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 B?s.F=nr(e,a):w(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 Zr(e,t){function n(i){i!=null||w(e,e.j,"Cannot convert '"+i+"' to object")}var r=function(i){if(i==null)return ve(e)?this:e.s(e.M);if(!(i instanceof B)){var a=e.s(ye(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),me(e,Object.getOwnPropertyNames(i instanceof B?i.h:i))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),k),r=function(i){return n(i),i instanceof B&&(i=i.h),me(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 B||w(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 B||w(e,e.j,"Object.defineProperty called on non-object: "+i),s instanceof B||w(e,e.j,"Property description must be an object"),!i.preventExtensions||a in i.h||w(e,e.j,"Can't define property '"+a+"', object is not extensible"),e.g(i,a,Ze,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 B||w(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),ye(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 B&&(i.preventExtensions=!0),i},e.g(e.v,"preventExtensions",e.i(r,!1),k),J(e,e.v,"toString",B.prototype.toString),J(e,e.v,"toLocaleString",B.prototype.toString),J(e,e.v,"valueOf",B.prototype.valueOf),r=function(i){return n(this),this instanceof B?String(i)in this.h:this.hasOwnProperty(i)},J(e,e.v,"hasOwnProperty",r),r=function(i){return n(this),this instanceof B?Object.prototype.propertyIsEnumerable.call(this.h,i):this.propertyIsEnumerable(i)},J(e,e.v,"propertyIsEnumerable",r),r=function(i){for(;;){if(i=ye(e,i),!i)return!1;if(i===this)return!0}},J(e,e.v,"isPrototypeOf",r)}function Qr(e,t){var n=function(r){var i=ve(e)?this:Fe(e),a=arguments[0];if(arguments.length===1&&typeof a=="number")isNaN(zt(a))&&w(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 ei(e,t){var n=function(r){return r=arguments.length?Se.String(r):"",ve(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){w(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,Z(e,r,e.I)&&(r=r.data,Ge(e,r,a),e.REGEXP_MODE===2)){if(ge)r=Ke(e,"string.split(separator, limit)",{string:s,separator:r,limit:i},r,a),r!==Pe&&a(me(e,r));else{var c=e.ha(),h=ze(e,r,c,a);c.onmessage=function(y){clearTimeout(h),a(me(e,y.data))},c.postMessage(["split",s,r,i])}return}r=s.split(r,i),a(me(e,r))},Ye(e,e.J,"split",n),n=function(r,i){var a=String(this);if(r=Z(e,r,e.I)?r.data:new RegExp(r),Ge(e,r,i),e.REGEXP_MODE===2)if(ge)r=Ke(e,"string.match(regexp)",{string:a,regexp:r},r,i),r!==Pe&&i(r&&me(e,r));else{var s=e.ha(),c=ze(e,r,s,i);s.onmessage=function(h){clearTimeout(c),i(h.data&&me(e,h.data))},s.postMessage(["match",a,r])}else r=a.match(r),i(r&&me(e,r))},Ye(e,e.J,"match",n),n=function(r,i){var a=String(this);if(Z(e,r,e.I)?r=r.data:r=new RegExp(r),Ge(e,r,i),e.REGEXP_MODE===2)if(ge)r=Ke(e,"string.search(regexp)",{string:a,regexp:r},r,i),r!==Pe&&i(r);else{var s=e.ha(),c=ze(e,r,s,i);s.onmessage=function(h){clearTimeout(c),i(h.data)},s.postMessage(["search",a,r])}else i(a.search(r))},Ye(e,e.J,"search",n),n=function(r,i,a){var s=String(this);if(i=String(i),Z(e,r,e.I)&&(r=r.data,Ge(e,r,a),e.REGEXP_MODE===2)){if(ge)r=Ke(e,"string.replace(substr, newSubstr)",{string:s,substr:r,newSubstr:i},r,a),r!==Pe&&a(r);else{var c=e.ha(),h=ze(e,r,c,a);c.onmessage=function(y){clearTimeout(h),a(y.data)},c.postMessage(["replace",s,r,i])}return}a(s.replace(r,i))},Ye(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 ti(e,t){e.mb=e.i(function(n){return n=Se.Boolean(n),ve(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,k)}function ni(e,t){var n=function(r){return r=arguments.length?Se.Number(r):0,ve(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]],He);n=function(r){try{return Number(this).toExponential(r)}catch(i){w(e,e.D,i.message)}},J(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(i){w(e,e.D,i.message)}},J(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(i){w(e,e.D,i.message)}},J(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(i){w(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){w(e,e.D,"toLocaleString: "+a.message)}},J(e,e.aa,"toLocaleString",n)}function ri(e,t){var n=function(i,a){if(!ve(e))return Se.Date();var s=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(Se.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||w(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 ii(e,t){var n=function(r,i){if(ve(e))var a=this;else{if(i===void 0&&Z(e,r,e.I))return r;a=e.s(e.Ma)}r=r===void 0?"":String(r),i=i?String(i):"",/^[gmi]*$/.test(i)||w(e,e.T,"Invalid regexp flag: "+i);try{var s=new Se.RegExp(r,i)}catch(c){w(e,e.T,c.message)}return Yt(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,re),e.g(e.I.h.prototype,"ignoreCase",void 0,re),e.g(e.I.h.prototype,"multiline",void 0,re),e.g(e.I.h.prototype,"source","(?:)",re),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(x){if(x){var g=me(e,x);return e.g(g,"index",x.index),e.g(g,"input",x.input),g}return null}var s=this.data;if(r=String(r),s.lastIndex=Number(e.G(this,"lastIndex")),Ge(e,s,i),e.REGEXP_MODE===2)if(ge)r=Ke(e,"regexp.exec(string)",{string:r,regexp:s},s,i),r!==Pe&&(e.g(this,"lastIndex",s.lastIndex),i(a(r)));else{var c=e.ha(),h=ze(e,s,c,i),y=this;c.onmessage=function(x){clearTimeout(h),e.g(y,"lastIndex",x.data[1]),i(a(x.data[0]))},c.postMessage(["exec",s,s.lastIndex,r])}else r=s.exec(r),e.g(this,"lastIndex",s.lastIndex),i(a(r))},Ye(e,e.I,"exec",n)}function oi(e,t){function n(r){var i=e.i(function(a){var s=ve(e)?this:e.Aa(i);return _t(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=ve(e)?this:e.Aa(e.D);return _t(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 ai(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]],re);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 si(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){w(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"?w(e,e.j,"Function replacer on JSON.stringify not supported"):i&&i.H==="Array"?(i=nr(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){w(e,e.j,c.message)}return s},e.g(n,"stringify",e.i(t,!1))}function Z(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=ye(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Yt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,k),e.g(t,"source",n.source,re),e.g(t,"global",n.global,re),e.g(t,"ignoreCase",n.ignoreCase,re),e.g(t,"multiline",n.multiline,re)}function _t(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";var Ur=Object.defineProperty;var Lr=(e,t,n)=>t in e?Ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Mt=(e,t,n)=>(Lr(e,typeof t!="symbol"?t+"":t,n),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react/jsx-runtime"),w=require("./server-entry-89b4c0d0.cjs");require("lru-cache");const U=require("react"),Vr=require("next/navigation"),_r=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),$r=e=>typeof e=="string"&&_r.has(e.toLowerCase());function Kt(e){return h.jsx(h.Fragment,{children:$r(e.TagName)?h.jsx(h.Fragment,{children:h.jsx(e.TagName,{...e.attributes,...e.actionAttributes})}):h.jsx(h.Fragment,{children:typeof e.TagName=="string"?h.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children}):h.jsx(e.TagName,{...e.attributes,...e.actionAttributes,children:e.children})})})}const qe=()=>{switch(w.TARGET){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":case"angular":return"class"}};function qn(e){function t(){return{...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"}}}return h.jsx(Kt,{attributes:t(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}function Hr(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options}}function Kr(e,...t){const n=Object.assign({},e);for(const r of t)delete n[r];return n}const Zn=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),Gr=()=>({isEditing:w.isEditing(),isBrowser:w.isBrowser(),isServer:!w.isBrowser(),getUserAttributes:()=>w.getUserAttributes()}),zr=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,Yr=({code:e,builder:t,context:n,event:r,localState:i,rootSetState:a,rootState:s})=>{const u=Zn({builder:t,context:n,event:r,state:Qn({rootState:s,localState:i,rootSetState:a})});return new Function(...u.map(([f])=>f),e)(...u.map(([,f])=>f))};function Qn({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"&&a!==null?Qn({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 er=(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 L,Xr=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&&Dn.test(String.fromCharCode(o))}function r(o,l){for(var c=S,p=1,A=0;;){lt.lastIndex=A;var X=lt.exec(c);if(X&&X.index<o)++p,A=X.index+X[0].length;else break}throw c={line:p,ab:o-A},l+=" ("+c.line+":"+c.ab+")",l=new SyntaxError(l),l.j=o,l.X=c,l.o=d,l}function i(o){o=o.split(" ");for(var l=Object.create(null),c=0;c<o.length;c++)l[o[c]]=!0;return function(p){return l[p]||!1}}function a(){this.line=we,this.ab=d-de}function s(o,l){je=d,P.C&&(Ct=new a),T=o,f(),ae=l,Ue=o.m}function u(){for(var o=d,l=P.va&&P.C&&new a,c=S.charCodeAt(d+=2);d<Ie&&c!==10&&c!==13&&c!==8232&&c!==8233;)++d,c=S.charCodeAt(d);P.va&&P.va(!1,S.slice(o+2,d),o,d,l,P.C&&new a)}function f(){for(;d<Ie;){var o=S.charCodeAt(d);if(o===32)++d;else if(o===13)++d,o=S.charCodeAt(d),o===10&&++d,P.C&&(++we,de=d);else if(o===10||o===8232||o===8233)++d,P.C&&(++we,de=d);else if(8<o&&14>o)++d;else if(o===47)if(o=S.charCodeAt(d+1),o===42){o=void 0;var l=P.va&&P.C&&new a,c=d,p=S.indexOf("*/",d+=2);if(p===-1&&r(d-2,"Unterminated comment"),d=p+2,P.C)for(lt.lastIndex=c;(o=lt.exec(S))&&o.index<d;)++we,de=o.index+o[0].length;P.va&&P.va(!0,S.slice(c+2,p),c,d,l,P.C&&new a)}else if(o===47)u();else break;else if(o===160)++d;else if(5760<=o&&Dr.test(String.fromCharCode(o)))++d;else break}}function g(o){switch(o){case 46:o=S.charCodeAt(d+1),48<=o&&57>=o?V(!0):(++d,s(Tn));return;case 40:return++d,s(fe);case 41:return++d,s(ce);case 59:return++d,s(he);case 44:return++d,s(be);case 91:return++d,s(Nt);case 93:return++d,s(Bt);case 123:return++d,s(_e);case 125:return++d,s(Ae);case 58:return++d,s($e);case 63:return++d,s(An);case 48:if(o=S.charCodeAt(d+1),o===120||o===88){d+=2,o=M(16),o===null&&r(Y+2,"Expected hexadecimal number"),n(S.charCodeAt(d))&&r(d,"Identifier directly after number"),s(Ve,o);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return V(!1);case 34:case 39:d++;for(var l="";;){d>=Ie&&r(Y,"Unterminated string constant");var c=S.charCodeAt(d);if(c===o){++d,s(it,l);break}if(c===92){c=S.charCodeAt(++d);var p=/^[0-7]+/.exec(S.slice(d,d+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++d,p)ie&&r(d-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),d+=p.length-1;else switch(c){case 110:l+=`
2
+ `;break;case 114:l+="\r";break;case 120:l+=String.fromCharCode(O(2));break;case 117:l+=String.fromCharCode(O(4));break;case 85:l+=String.fromCharCode(O(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(d)===10&&++d;case 10:P.C&&(de=d,++we);break;default:l+=String.fromCharCode(c)}}else c!==13&&c!==10&&c!==8232&&c!==8233||r(Y,"Unterminated string constant"),l+=String.fromCharCode(c),++d}return;case 47:o=S.charCodeAt(d+1),Ue?(++d,R()):o===61?v(Ee,2):v(Rn,1);return;case 37:case 42:S.charCodeAt(d+1)===61?v(Ee,2):v(Nr,1);return;case 124:case 38:l=S.charCodeAt(d+1),l===o?v(o===124?Nn:Bn,2):l===61?v(Ee,2):v(o===124?Ir:Tr,1);return;case 94:S.charCodeAt(d+1)===61?v(Ee,2):v(jr,1);return;case 43:case 45:l=S.charCodeAt(d+1),l===o?l===45&&S.charCodeAt(d+2)===62&&st.test(S.slice(xe,d))?(d+=3,u(),f(),x()):v(Er,2):l===61?v(Ee,2):v(Pr,1);return;case 60:case 62:l=S.charCodeAt(d+1),c=1,l===o?(c=o===62&&S.charCodeAt(d+2)===62?3:2,S.charCodeAt(d+c)===61?v(Ee,c+1):v(Or,c)):l===33&&o===60&&S.charCodeAt(d+2)===45&&S.charCodeAt(d+3)===45?(d+=4,u(),f(),x()):(l===61&&(c=S.charCodeAt(d+2)===61?3:2),v(Rr,c));return;case 61:case 33:S.charCodeAt(d+1)===61?v(Ar,S.charCodeAt(d+2)===61?3:2):v(o===61?On:Pn,1);return;case 126:return v(Pn,1)}return!1}function x(o){if(o?d=Y+1:Y=d,P.C&&(kt=new a),o)return R();if(d>=Ie)return s(It);if(o=S.charCodeAt(d),n(o)||o===92)return N();if(g(o)===!1){if(o=String.fromCharCode(o),o==="\\"||Dn.test(o))return N();r(d,"Unexpected character '"+o+"'")}}function v(o,l){var c=S.slice(d,d+l);d+=l,s(o,c)}function R(){for(var o,l,c=d;;){d>=Ie&&r(c,"Unterminated regexp");var p=S.charAt(d);if(st.test(p)&&r(c,"Unterminated regexp"),o)o=!1;else{if(p==="[")l=!0;else if(p==="]"&&l)l=!1;else if(p==="/"&&!l)break;o=p==="\\"}++d}o=S.slice(c,d),++d,(l=W())&&!/^[gmi]*$/.test(l)&&r(c,"Invalid regexp flag");try{var A=new RegExp(o,l)}catch(X){throw X instanceof SyntaxError&&r(c,X.message),X}s(cn,A)}function M(o,l){for(var c=d,p=0,A=l===void 0?1/0:l,X=0;X<A;++X){var te=S.charCodeAt(d);if(te=97<=te?te-97+10:65<=te?te-65+10:48<=te&&57>=te?te-48:1/0,te>=o)break;++d,p=p*o+te}return d===c||l!==void 0&&d-c!==l?null:p}function V(o){var l=d,c=!1,p=S.charCodeAt(d)===48;o||M(10)!==null||r(l,"Invalid number"),S.charCodeAt(d)===46&&(++d,M(10),c=!0),o=S.charCodeAt(d),(o===69||o===101)&&(o=S.charCodeAt(++d),o!==43&&o!==45||++d,M(10)===null&&r(l,"Invalid number"),c=!0),n(S.charCodeAt(d))&&r(d,"Identifier directly after number"),o=S.slice(l,d);var A;c?A=parseFloat(o):p&&o.length!==1?/[89]/.test(o)||ie?r(l,"Invalid number"):A=parseInt(o,8):A=parseInt(o,10),s(Ve,A)}function O(o){return o=M(16,o),o===null&&r(Y,"Bad character escape sequence"),o}function W(){Re=!1;for(var o,l=!0,c=d;;){var p=S.charCodeAt(d);if(t(p))Re&&(o+=S.charAt(d)),++d;else if(p===92){Re||(o=S.slice(c,d)),Re=!0,S.charCodeAt(++d)!==117&&r(d,"Expecting Unicode escape sequence \\uXXXX"),++d,p=O(4);var A=String.fromCharCode(p);A||r(d-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(d-4,"Invalid Unicode escape"),o+=A}else break;l=!1}return Re?o:S.slice(c,d)}function N(){var o=W(),l=Te;!Re&&Fr(o)&&(l=wr[o]),s(l,o)}function y(){wt=Y,xe=je,Et=Ct,x()}function $(o){if(ie=o,d=Y,P.C)for(;d<de;)de=S.lastIndexOf(`
3
+ `,de-2)+1,--we;f(),x()}function z(){this.type=null,this.start=Y,this.end=null}function oe(){this.start=kt,this.end=null,St&&(this.source=St)}function K(){var o=new z;return P.C&&(o.X=new oe),P.vb&&(o.sourceFile=P.vb),P.Xa&&(o.j=[Y,0]),o}function ee(o){var l=new z;return l.start=o.start,P.C&&(l.X=new oe,l.X.start=o.X.start),P.Xa&&(l.j=[o.j[0],0]),l}function I(o,l){return o.type=l,o.end=xe,P.C&&(o.X.end=Et),P.Xa&&(o.j[1]=xe),o}function ke(o){return o.type==="ExpressionStatement"&&o.la.type==="Literal"&&o.la.value==="use strict"}function H(o){return T===o?(y(),!0):!1}function Ce(){return!P.fc&&(T===It||T===Ae||st.test(S.slice(xe,Y)))}function j(){H(he)||Ce()||F()}function b(o){T===o?y():F()}function F(){r(Y,"Unexpected token")}function _(o){o.type!=="Identifier"&&o.type!=="MemberExpression"&&r(o.start,"Assigning to rvalue"),ie&&o.type==="Identifier"&&at(o.name)&&r(o.start,"Assigning to "+o.name+" in strict mode")}function D(){(T===Rn||T===Ee&&ae==="/=")&&x(!0);var o=T,l=K();switch(o){case jt:case dn:y();var c=o===jt;H(he)||Ce()?l.label=null:T!==Te?F():(l.label=ue(),j());for(var p=0;p<G.length;++p){var A=G[p];if((l.label===null||A.name===l.label.name)&&(A.kind!==null&&(c||A.kind==="loop")||l.label&&c))break}return p===G.length&&r(l.start,"Unsyntactic "+o.l),I(l,c?"BreakStatement":"ContinueStatement");case fn:return y(),j(),I(l,"DebuggerStatement");case pn:return y(),G.push(Ft),l.body=D(),G.pop(),b(Pt),l.test=q(),j(),I(l,"DoWhileStatement");case yn:return y(),G.push(Ft),b(fe),T===he?le(l,null):T===Ot?(o=K(),y(),sn(o,!0),I(o,"VariableDeclaration"),o.fa.length===1&&H(ot)?nt(l,o):le(l,o)):(o=Q(!1,!0),H(ot)?(_(o),nt(l,o)):le(l,o));case At:return y(),xt(l,!0);case vn:return y(),l.test=q(),l.da=D(),l.alternate=H(mn)?D():null,I(l,"IfStatement");case xn:return Le||P.Ib||r(Y,"'return' outside of function"),y(),H(he)||Ce()?l.K=null:(l.K=Q(),j()),I(l,"ReturnStatement");case Rt:for(y(),l.Qb=q(),l.tb=[],b(_e),G.push(Wr);T!==Ae;)T===Tt||T===hn?(o=T===Tt,p&&I(p,"SwitchCase"),l.tb.push(p=K()),p.da=[],y(),o?p.test=Q():(c&&r(wt,"Multiple default clauses"),c=!0,p.test=null),b($e)):(p||F(),p.da.push(D()));return p&&I(p,"SwitchCase"),y(),G.pop(),I(l,"SwitchStatement");case bn:return y(),st.test(S.slice(xe,Y))&&r(xe,"Illegal newline after throw"),l.K=Q(),j(),I(l,"ThrowStatement");case Sn:return y(),l.block=se(),l.Ea=null,T===un&&(o=K(),y(),b(fe),o.Ua=ue(),ie&&at(o.Ua.name)&&r(o.Ua.start,"Binding "+o.Ua.name+" in strict mode"),b(ce),o.body=se(),l.Ea=I(o,"CatchClause")),l.fb=H(gn)?se():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),I(l,"TryStatement");case Ot:return y(),sn(l),j(),I(l,"VariableDeclaration");case Pt:return y(),l.test=q(),G.push(Ft),l.body=D(),G.pop(),I(l,"WhileStatement");case kn:return ie&&r(Y,"'with' in strict mode"),y(),l.object=q(),l.body=D(),I(l,"WithStatement");case _e:return se();case he:return y(),I(l,"EmptyStatement");default:if(c=ae,A=Q(),o===Te&&A.type==="Identifier"&&H($e)){for(p=0;p<G.length;++p)G[p].name===c&&r(A.start,"Label '"+c+"' is already declared");return G.push({name:c,kind:T.W?"loop":T===Rt?"switch":null}),l.body=D(),G.pop(),l.label=A,I(l,"LabeledStatement")}return l.la=A,j(),I(l,"ExpressionStatement")}}function q(){b(fe);var o=Q();return b(ce),o}function se(o){var l=K(),c=!0,p=!1;for(l.body=[],b(_e);!H(Ae);){var A=D();if(l.body.push(A),c&&o&&ke(A)){var X=p;$(p=!0)}c=!1}return p&&!X&&$(!1),I(l,"BlockStatement")}function le(o,l){return o.ua=l,b(he),o.test=T===he?null:Q(),b(he),o.update=T===ce?null:Q(),b(ce),o.body=D(),G.pop(),I(o,"ForStatement")}function nt(o,l){return o.left=l,o.right=Q(),b(ce),o.body=D(),G.pop(),I(o,"ForInStatement")}function sn(o,l){for(o.fa=[],o.kind="var";;){var c=K();if(c.id=ue(),ie&&at(c.id.name)&&r(c.id.start,"Binding "+c.id.name+" in strict mode"),c.ua=H(On)?Q(!0,l):null,o.fa.push(I(c,"VariableDeclarator")),!H(be))break}}function Q(o,l){var c=gt(l);if(!o&&T===be){for(o=ee(c),o.xb=[c];H(be);)o.xb.push(gt(l));return I(o,"SequenceExpression")}return c}function gt(o){var l=yt(vt(),-1,o);if(H(An)){var c=ee(l);c.test=l,c.da=Q(!0),b($e),c.alternate=Q(!0,o),l=I(c,"ConditionalExpression")}return T.Cb?(c=ee(l),c.operator=ae,c.left=l,y(),c.right=gt(o),_(l),I(c,"AssignmentExpression")):l}function yt(o,l,c){var p=T.L;if(p!==null&&(!c||T!==ot)&&p>l){var A=ee(o);return A.left=o,A.operator=ae,o=T,y(),A.right=yt(vt(),p,c),p=I(A,o===Nn||o===Bn?"LogicalExpression":"BinaryExpression"),yt(p,l,c)}return o}function vt(){if(T.prefix){var o=K(),l=T.$b;return o.operator=ae,Ue=o.prefix=!0,y(),o.K=vt(),l?_(o.K):ie&&o.operator==="delete"&&o.K.type==="Identifier"&&r(o.start,"Deleting local variable in strict mode"),I(o,l?"UpdateExpression":"UnaryExpression")}for(l=We(rt());T.cc&&!Ce();)o=ee(l),o.operator=ae,o.prefix=!1,o.K=l,_(l),y(),l=I(o,"UpdateExpression");return l}function We(o,l){if(H(Tn)){var c=ee(o);return c.object=o,c.Wa=ue(!0),c.bb=!1,We(I(c,"MemberExpression"),l)}return H(Nt)?(c=ee(o),c.object=o,c.Wa=Q(),c.bb=!0,b(Bt),We(I(c,"MemberExpression"),l)):!l&&H(fe)?(c=ee(o),c.callee=o,c.arguments=bt(ce,!1),We(I(c,"CallExpression"),l)):o}function rt(){switch(T){case wn:var o=K();return y(),I(o,"ThisExpression");case Te:return ue();case Ve:case it:case cn:return o=K(),o.value=ae,o.raw=S.slice(Y,je),y(),I(o,"Literal");case En:case In:case jn:return o=K(),o.value=T.$a,o.raw=T.l,y(),I(o,"Literal");case fe:o=kt;var l=Y;y();var c=Q();return c.start=l,c.end=je,P.C&&(c.X.start=o,c.X.end=Ct),P.Xa&&(c.j=[l,je]),b(ce),c;case Nt:return o=K(),y(),o.elements=bt(Bt,!0,!0),I(o,"ArrayExpression");case _e:for(o=K(),l=!0,c=!1,o.h=[],y();!H(Ae);){if(l)l=!1;else if(b(be),P.sb&&H(Ae))break;var p={key:T===Ve||T===it?rt():ue(!0)},A=!1;if(H($e)){p.value=Q(!0);var X=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?F():(A=c=!0,X=p.kind=p.key.name,p.key=T===Ve||T===it?rt():ue(!0),T!==fe&&F(),p.value=xt(K(),!1));if(p.key.type==="Identifier"&&(ie||c))for(var te=0;te<o.h.length;++te){var Oe=o.h[te];if(Oe.key.name===p.key.name){var Dt=X===Oe.kind||A&&Oe.kind==="init"||X==="init"&&(Oe.kind==="get"||Oe.kind==="set");Dt&&!ie&&X==="init"&&Oe.kind==="init"&&(Dt=!1),Dt&&r(p.key.start,"Redefinition of property")}}o.h.push(p)}return I(o,"ObjectExpression");case At:return o=K(),y(),xt(o,!1);case Cn:return o=K(),y(),o.callee=We(rt(),!0),o.arguments=H(fe)?bt(ce,!1):Cr,I(o,"NewExpression")}F()}function xt(o,l){T===Te?o.id=ue():l?F():o.id=null,o.oa=[];var c=!0;for(b(fe);!H(ce);)c?c=!1:b(be),o.oa.push(ue());c=Le;var p=G;if(Le=!0,G=[],o.body=se(!0),Le=c,G=p,ie||o.body.body.length&&ke(o.body.body[0])){for(c=o.id?-1:0;c<o.oa.length;++c)if(p=0>c?o.id:o.oa[c],(Fn(p.name)||at(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=c)for(var A=0;A<c;++A)p.name===o.oa[A].name&&r(p.start,"Argument name clash in strict mode")}return I(o,l?"FunctionDeclaration":"FunctionExpression")}function bt(o,l,c){for(var p=[],A=!0;!H(o);){if(A)A=!1;else if(b(be),l&&P.sb&&H(o))break;p.push(c&&T===be?null:Q(!0))}return p}function ue(o){var l=K();return o&&P.yb==="everywhere"&&(o=!1),T===Te?(!o&&(P.yb&&Br(ae)||ie&&Fn(ae))&&S.slice(Y,je).indexOf("\\")===-1&&r(Y,"The keyword '"+ae+"' is reserved"),l.name=ae):o&&T.l?l.name=T.l:F(),Ue=!1,y(),I(l,"Identifier")}e.version="0.5.0";var P,S="",Ie,St;e.parse=function(o,l){S=String(o),Ie=S.length,P=l||{};for(var c in ln)Object.prototype.hasOwnProperty.call(P,c)||(P[c]=ln[c]);for(St=P.sourceFile,we=1,d=de=0,Ue=!0,f(),c=P.dc,wt=xe=d,P.C&&(Et=new a),Le=ie=!1,G=[],x(),o=c||K(),l=!0,c||(o.body=[]);T!==It;)c=D(),o.body.push(c),l&&ke(c)&&$(!0),l=!1;return I(o,"Program")};var ln={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},d=0,Y=0,je=0,kt,Ct,T,ae,Ue,we,de,wt=0,xe=0,Et,Le,G,ie,Cr=[],Ve={type:"num"},cn={type:"regexp"},it={type:"string"},Te={type:"name"},It={type:"eof"},jt={l:"break"},Tt={l:"case",m:!0},un={l:"catch"},dn={l:"continue"},fn={l:"debugger"},hn={l:"default"},pn={l:"do",W:!0},mn={l:"else",m:!0},gn={l:"finally"},yn={l:"for",W:!0},At={l:"function"},vn={l:"if"},xn={l:"return",m:!0},Rt={l:"switch"},bn={l:"throw",m:!0},Sn={l:"try"},Ot={l:"var"},Pt={l:"while",W:!0},kn={l:"with"},Cn={l:"new",m:!0},wn={l:"this"},En={l:"null",$a:null},In={l:"true",$a:!0},jn={l:"false",$a:!1},ot={l:"in",L:7,m:!0},wr={break:jt,case:Tt,catch:un,continue:dn,debugger:fn,default:hn,do:pn,else:mn,finally:gn,for:yn,function:At,if:vn,return:xn,switch:Rt,throw:bn,try:Sn,var:Ot,while:Pt,with:kn,null:En,true:In,false:jn,new:Cn,in:ot,instanceof:{l:"instanceof",L:7,m:!0},this:wn,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},Bt={type:"]"},_e={type:"{",m:!0},Ae={type:"}"},fe={type:"(",m:!0},ce={type:")"},be={type:",",m:!0},he={type:";",m:!0},$e={type:":",m:!0},Tn={type:"."},An={type:"?",m:!0},Rn={L:10,m:!0},On={Cb:!0,m:!0},Ee={Cb:!0,m:!0},Er={cc:!0,prefix:!0,$b:!0},Pn={prefix:!0,m:!0},Nn={L:1,m:!0},Bn={L:2,m:!0},Ir={L:3,m:!0},jr={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},Br=i("class enum extends super const export import"),Fn=i("implements interface let package private protected public static yield"),at=i("eval arguments"),Fr=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]/,Dn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),Mr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),st=/[\n\r\u2028\u2029]/,lt=/\r\n|[\n\r\u2028\u2029]/g,Re,Ft={kind:"loop"},Wr={kind:"switch"}},Lt=Lt=typeof globalThis=="undefined"?void 0:globalThis;Xr(Lt.j||(Lt.j={}));function m(e,t){typeof e=="string"&&(e=Be(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=_t(this,this.ra,null),this.Na=this.N.object,this.ra=Be(this.ba.join(`
4
+ `),"polyfills"),this.ba=void 0,dt(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 Mn={C:!0,kc:5},Gt={configurable:!0,enumerable:!0,writable:!1},k={configurable:!0,enumerable:!1,writable:!0},re={configurable:!0,enumerable:!1,writable:!1},He={configurable:!1,enumerable:!1,writable:!1},Wn={configurable:!1,enumerable:!0,writable:!0},tr={STEP_ERROR:!0},Me={SCOPE_REFERENCE:!0},Ze={VALUE_IN_DESCRIPTOR:!0},Pe={REGEXP_TIMEOUT:!0},Un=[],ge=null,Xe=null,Se=typeof globalThis=="undefined"?void 0:globalThis,Jr=["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 Je(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function dt(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"&&dt(i,t,n)}}m.prototype.REGEXP_MODE=2;m.prototype.REGEXP_THREAD_TIMEOUT=1e3;m.prototype.POLYFILL_TIMEOUT=1e3;L=m.prototype;L.P=!1;L.Ka=!1;L.Kb=0;L.ic=0;function Be(e,t){var n={},r;for(r in Mn)n[r]=Mn[r];return n.sourceFile=t,Se.j.parse(e,n)}L.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=Be(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");Qe(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};L.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&&ir(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!==tr)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};L.Eb=function(){for(;!this.za&&this.lb(););return this.za};function qr(e,t){e.g(t,"NaN",NaN,He),e.g(t,"Infinity",1/0,He),e.g(t,"undefined",void 0,He),e.g(t,"window",t,Gt),e.g(t,"this",t,He),e.g(t,"self",t),e.M=new B(null),e.Z=new B(e.M),Zr(e,t),Qr(e,t),t.xa=e.M,e.g(t,"constructor",e.v,k),ei(e,t),ti(e,t),ni(e,t),ri(e,t),ii(e,t),oi(e,t),ai(e,t),si(e,t),li(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(u){E(e,e.Gb,u.message)}}}(r[i][0]),e.g(t,r[i][1],e.i(n,!1),k);n=function(a){return Ln(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),k),n=function(a){return Ln(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)}L.Wb=0;function Zr(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 u=0;u<s.length;u++){var f=s[u];n.test(f)||E(e,e.T,"Invalid function argument: "+f)}s=s.join(", ")}try{var g=Be("(function("+s+") {"+a+"})","function"+e.Wb++)}catch(x){E(e,e.T,"Invalid code: "+x.message)}return g.body.length!==1&&E(e,e.T,"Invalid code in function body"),Jt(e,g.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,re),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 B?s.F=nr(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),k),r=function(){return this.valueOf()},J(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),k)}function Qr(e,t){function n(i){i!=null||E(e,e.j,"Cannot convert '"+i+"' to object")}var r=function(i){if(i==null)return ve(e)?this:e.s(e.M);if(!(i instanceof B)){var a=e.s(ye(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),me(e,Object.getOwnPropertyNames(i instanceof B?i.h:i))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),k),r=function(i){return n(i),i instanceof B&&(i=i.h),me(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 B||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),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 B||E(e,e.j,"Object.defineProperty called on non-object: "+i),s instanceof B||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,Ze,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 B||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),u=i.V[a];return i=i.Y[a],a=e.s(e.M),u||i?(e.g(a,"get",u),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),ye(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 B&&(i.preventExtensions=!0),i},e.g(e.v,"preventExtensions",e.i(r,!1),k),J(e,e.v,"toString",B.prototype.toString),J(e,e.v,"toLocaleString",B.prototype.toString),J(e,e.v,"valueOf",B.prototype.valueOf),r=function(i){return n(this),this instanceof B?String(i)in this.h:this.hasOwnProperty(i)},J(e,e.v,"hasOwnProperty",r),r=function(i){return n(this),this instanceof B?Object.prototype.propertyIsEnumerable.call(this.h,i):this.propertyIsEnumerable(i)},J(e,e.v,"propertyIsEnumerable",r),r=function(i){for(;;){if(i=ye(e,i),!i)return!1;if(i===this)return!0}},J(e,e.v,"isPrototypeOf",r)}function ei(e,t){var n=function(r){var i=ve(e)?this:Fe(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,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 ti(e,t){var n=function(r){return r=arguments.length?Se.String(r):"",ve(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){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,Z(e,r,e.I)&&(r=r.data,Ge(e,r,a),e.REGEXP_MODE===2)){if(ge)r=Ke(e,"string.split(separator, limit)",{string:s,separator:r,limit:i},r,a),r!==Pe&&a(me(e,r));else{var u=e.ha(),f=ze(e,r,u,a);u.onmessage=function(g){clearTimeout(f),a(me(e,g.data))},u.postMessage(["split",s,r,i])}return}r=s.split(r,i),a(me(e,r))},Ye(e,e.J,"split",n),n=function(r,i){var a=String(this);if(r=Z(e,r,e.I)?r.data:new RegExp(r),Ge(e,r,i),e.REGEXP_MODE===2)if(ge)r=Ke(e,"string.match(regexp)",{string:a,regexp:r},r,i),r!==Pe&&i(r&&me(e,r));else{var s=e.ha(),u=ze(e,r,s,i);s.onmessage=function(f){clearTimeout(u),i(f.data&&me(e,f.data))},s.postMessage(["match",a,r])}else r=a.match(r),i(r&&me(e,r))},Ye(e,e.J,"match",n),n=function(r,i){var a=String(this);if(Z(e,r,e.I)?r=r.data:r=new RegExp(r),Ge(e,r,i),e.REGEXP_MODE===2)if(ge)r=Ke(e,"string.search(regexp)",{string:a,regexp:r},r,i),r!==Pe&&i(r);else{var s=e.ha(),u=ze(e,r,s,i);s.onmessage=function(f){clearTimeout(u),i(f.data)},s.postMessage(["search",a,r])}else i(a.search(r))},Ye(e,e.J,"search",n),n=function(r,i,a){var s=String(this);if(i=String(i),Z(e,r,e.I)&&(r=r.data,Ge(e,r,a),e.REGEXP_MODE===2)){if(ge)r=Ke(e,"string.replace(substr, newSubstr)",{string:s,substr:r,newSubstr:i},r,a),r!==Pe&&a(r);else{var u=e.ha(),f=ze(e,r,u,a);u.onmessage=function(g){clearTimeout(f),a(g.data)},u.postMessage(["replace",s,r,i])}return}a(s.replace(r,i))},Ye(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 ni(e,t){e.mb=e.i(function(n){return n=Se.Boolean(n),ve(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,k)}function ri(e,t){var n=function(r){return r=arguments.length?Se.Number(r):0,ve(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]],He);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 ii(e,t){var n=function(i,a){if(!ve(e))return Se.Date();var s=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(Se.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||E(e,e.j,i+" not called on a Date");for(var u=[],f=0;f<arguments.length;f++)u[f]=e.R(arguments[f]);return s[i].apply(s,u)}}(t[r]),J(e,e.$,t[r],n)}function oi(e,t){var n=function(r,i){if(ve(e))var a=this;else{if(i===void 0&&Z(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 Se.RegExp(r,i)}catch(u){E(e,e.T,u.message)}return Yt(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,re),e.g(e.I.h.prototype,"ignoreCase",void 0,re),e.g(e.I.h.prototype,"multiline",void 0,re),e.g(e.I.h.prototype,"source","(?:)",re),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(x){if(x){var v=me(e,x);return e.g(v,"index",x.index),e.g(v,"input",x.input),v}return null}var s=this.data;if(r=String(r),s.lastIndex=Number(e.G(this,"lastIndex")),Ge(e,s,i),e.REGEXP_MODE===2)if(ge)r=Ke(e,"regexp.exec(string)",{string:r,regexp:s},s,i),r!==Pe&&(e.g(this,"lastIndex",s.lastIndex),i(a(r)));else{var u=e.ha(),f=ze(e,s,u,i),g=this;u.onmessage=function(x){clearTimeout(f),e.g(g,"lastIndex",x.data[1]),i(a(x.data[0]))},u.postMessage(["exec",s,s.lastIndex,r])}else r=s.exec(r),e.g(this,"lastIndex",s.lastIndex),i(a(r))},Ye(e,e.I,"exec",n)}function ai(e,t){function n(r){var i=e.i(function(a){var s=ve(e)?this:e.Aa(i);return Vt(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=ve(e)?this:e.Aa(e.D);return Vt(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 si(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]],re);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 li(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){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=nr(e,i),i=i.filter(function(u){return typeof u=="string"||typeof u=="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(u){E(e,e.j,u.message)}return s},e.g(n,"stringify",e.i(t,!1))}function Z(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=ye(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Yt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,k),e.g(t,"source",n.source,re),e.g(t,"global",n.global,re),e.g(t,"ignoreCase",n.ignoreCase,re),e.g(t,"multiline",n.multiline,re)}function Vt(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+`
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)}D.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 Ke(e,t,n,r,i){var a={timeout:e.REGEXP_THREAD_TIMEOUT};try{return ge.runInNewContext(t,n,a)}catch{i(null),w(e,e.D,"RegExp Timeout: "+r)}return Pe}function Ge(e,t,n){if(e.REGEXP_MODE===0)var r=!1;else if(e.REGEXP_MODE===1)r=!0;else if(ge)r=!0;else if(typeof Worker=="function"&&typeof URL=="function")r=!0;else if(typeof require=="function"){try{ge=require("vm")}catch{}r=!!ge}else r=!1;r||(n(null),w(e,e.D,"Regular expressions not supported: "+t))}function ze(e,t,n,r){return setTimeout(function(){n.terminate(),r(null);try{w(e,e.D,"RegExp Timeout: "+t)}catch{}},e.REGEXP_THREAD_TIMEOUT)}D.Aa=function(e){return this.s(e&&e.h.prototype)};D.s=function(e){if(typeof e!="object")throw Error("Non object prototype");return e=new B(e),Z(this,e,this.D)&&(e.H="Error"),e};function Fe(e){var t=e.s(e.La);return e.g(t,"length",0,{configurable:!1,enumerable:!1,writable:!0}),t.H="Array",t}function Xt(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,re),r.H="Function",r}function Jt(e,t,n,r){var i=Xt(e,t.oa.length,!0);return i.Va=n,i.node=t,e.g(i,"name",t.id?String(t.id.name):r||"",re),i}D.i=function(e,t){return t=Xt(this,e.length,t),t.Ta=e,e.id=this.Ya++,this.g(t,"name",e.name,re),t};D.ub=function(e){var t=Xt(this,e.length,!0);return t.Za=e,e.id=this.Ya++,this.g(t,"name",e.name,re),t};D.Ia=function(e){if(e instanceof B)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 Yt(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=Fe(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};D.R=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)return e;if(!(e instanceof B))throw Error("Object is not pseudo");if(Z(this,e,this.I))return t=new RegExp(e.data.source,e.data.flags),t.lastIndex=e.data.lastIndex,t;if(Z(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),Z(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 me(e,t){for(var n=Fe(e),r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++)e.g(n,r[i],t[r[i]]);return n}function nr(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 ye(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}D.G=function(e,t){if(this.P)throw Error("Getter not supported in that context");if(t=String(t),e!=null||w(this,this.j,"Cannot read property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof B))throw TypeError("Expecting native value or pseudo object");if(t==="length"){if(Z(this,e,this.J))return String(e).length}else if(64>t.charCodeAt(0)&&Z(this,e,this.J)){var n=Je(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=ye(this,e))};function ht(e,t,n){if(!(t instanceof B))throw TypeError("Primitive data type has no properties");if(n=String(n),n==="length"&&Z(e,t,e.J))return!0;if(Z(e,t,e.J)){var r=Je(n);if(!isNaN(r)&&r<String(t).length)return!0}do if(t.h&&n in t.h)return!0;while(t=ye(e,t));return!1}D.g=function(e,t,n,r){if(this.Ka)throw Error("Setter not supported in that context");if(t=String(t),e!=null||w(this,this.j,"Cannot set property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof B))throw TypeError("Expecting native value or pseudo object");r&&("get"in r||"set"in r)&&("value"in r||"writable"in r)&&w(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 B){if(Z(this,e,this.J)){var a=Je(t);if(t==="length"||!isNaN(a)&&a<String(e).length){i&&w(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)&&w(this,this.ob,"Invalid array length"),n<a)for(s in e.h){var s=Je(s);!isNaN(s)&&n<=s&&delete e.h[s]}}else isNaN(s=Je(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!==Ze&&(i.value=n,delete e.V[t],delete e.Y[t]);try{Object.defineProperty(e.h,t,i)}catch{w(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===Ze)throw ReferenceError("Value not specified");for(r=e;!(t in r.h);)if(r=ye(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&&w(this,this.j,"Cannot set property '"+t+"' of object '"+e+"' which only has a getter");else try{e.h[t]=n}catch{i&&w(this,this.j,"Cannot assign to read only property '"+t+"' of object '"+e+"'")}}else i&&w(this,this.j,"Can't add property '"+t+"', object is not extensible")}else i&&w(this,this.j,"Can't create property '"+t+"' on '"+e+"'")};D.g.ac=function(){throw Error("Placeholder getter")};D.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 Ye(e,t,n,r){e.g(t.h.prototype,n,e.ub(r),k)}function qt(e){if(e=e.o[e.o.length-1].scope,!e)throw Error("No scope found");return e}function $t(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 or(n,r,i),n||Jr(e,r.object),Qe(e,t,r),r}function Zt(e,t,n){if(!t)throw Error("parentScope required");return e=n||e.s(null),new or(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"||w(e,e.pb,t+" is not defined")}function rr(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&&w(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);w(e,e.pb,t+" is not defined")}function Qe(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=Qe(e,c[i],n);for(s in h)r[s]=h[s]}}else if(c.constructor===a)for(s in h=Qe(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,Wn):e.g(n.object,s,Jt(e,r[s],n),Wn);return r}function ve(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?rr(e,t[1],n):e.g(t[0],t[1],n)}function w(e,t,n){throw e.N?(n!==void 0&&t instanceof B&&(t=e.Aa(t),_t(e,t,n)),et(e,4,t),tr):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 Z(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 ne(e,t){switch(t.type){case"ArrayExpression":return"[...]";case"BinaryExpression":case"LogicalExpression":return ne(e,t.left)+" "+t.operator+" "+ne(e,t.right);case"CallExpression":return ne(e,t.callee)+"(...)";case"ConditionalExpression":return ne(e,t.test)+" ? "+ne(e,t.da)+" : "+ne(e,t.alternate);case"Identifier":return t.name;case"Literal":return t.raw;case"MemberExpression":var n=ne(e,t.object);return e=ne(e,t.Wa),t.bb?n+"["+e+"]":n+"."+e;case"NewExpression":return"new "+ne(e,t.callee)+"(...)";case"ObjectExpression":return"{...}";case"ThisExpression":return"this";case"UnaryExpression":return t.operator+" "+ne(e,t.K);case"UpdateExpression":return n=ne(e,t.K),t.prefix?t.operator+n:n+t.operator}return"???"}function Ln(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 B&&a.H==="Function"){var c=a;s.type="CallExpression",r=r.scope}else{try{var h=Be(String(a),"taskCode"+e.ic++)}catch(y){w(e,e.T,"Invalid code: "+y.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 li(c,i,r,s,t?n:-1),ir(e,t,n),t.Db}function ir(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 Ut(e,t){return t==null?e.Na:t instanceof B?t:(e=e.s(ye(e,t)),e.data=t,e)}D.Xb=function(){return this.N};D.Yb=function(){return this.o};D.ec=function(e){this.o=e};function C(e,t){this.node=e,this.scope=t}function or(e,t,n){this.Va=e,this.S=t,this.object=n}function B(e){this.V=Object.create(null),this.Y=Object.create(null),this.h=Object.create(null),this.xa=e}D=B.prototype;D.xa=null;D.H="Object";D.data=null;D.toString=function(){if(!Xe)return"[object Interpreter.Object]";if(!(this instanceof B))return String(this);if(this.H==="Array"){var e=Un;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 B&&e.indexOf(a)!==-1?"...":a}r&&t.push("...")}finally{e.pop()}return t.join(",")}if(this.H==="Error"){if(e=Un,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+"]"};D.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 li(e,t,n,r,i){this.zb=e,this.Lb=t,this.scope=n,this.node=r,this.interval=i,this.Db=++ci,this.time=0}var ci=0;m.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=Fe(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};m.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}};m.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 B||w(this,this.j,"'in' expects an object, not '"+t+"'"),n=ht(this,t,r);break;case"instanceof":Z(this,t,this.O)||w(this,this.j,"'instanceof' expects an object, not '"+t+"'"),n=r instanceof B?Z(this,r,t):!1;break;default:throw SyntaxError("Unknown binary operator: "+n.operator)}e[e.length-1].value=n};m.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()};m.prototype.stepBreakStatement=function(e,t,n){et(this,1,void 0,n.label&&n.label.name)};m.prototype.Hb=0;m.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 B&&!i.Ab||w(this,this.j,ne(this,n.callee)+" is not a constructor"),i===this.qa)t.B=Fe(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 B||w(this,this.j,ne(this,n.callee)+" is not a function"),e=i.node){for(n=$t(this,e.body,i.Va),r=Fe(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=Ut(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=Be(String(i),"eval"+this.Hb++)}catch(c){w(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=$t(this,r,n):Qe(this,r,n),this.value=void 0,new C(i,n)}else if(i.Ta)t.scope.S||(t.B=Ut(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=Ut(this,t.B)),i.Za.apply(t.B,r)}else w(this,this.j,ne(this,n.callee)+" is not callable")}};m.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)};m.prototype.stepContinueStatement=function(e,t,n){et(this,2,void 0,n.label&&n.label.name)};m.prototype.stepDebuggerStatement=function(e){e.pop()};m.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)};m.prototype.stepEmptyStatement=function(e){e.pop()};m.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};m.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};m.prototype.stepForInStatement=function(e,t,n){if(!t.Ub&&(t.Ub=!0,n.left.fa&&n.left.fa[0].ua))return t.scope.S&&w(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 B)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=ye(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)};m.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)}};m.prototype.stepFunctionDeclaration=function(e){e.pop()};m.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)};m.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}};m.prototype.stepIfStatement=m.prototype.stepConditionalExpression;m.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};m.prototype.stepLiteral=function(e,t,n){e.pop(),t=n.value,t instanceof RegExp&&(n=this.s(this.Ma),Yt(this,n,t),t=n),e[e.length-1].value=t};m.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)};m.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}};m.prototype.stepNewExpression=m.prototype.stepCallExpression;m.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,Ze,{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};m.prototype.stepProgram=function(e,t,n){if(e=n.body.shift())return t.done=!1,new C(e,t.scope);t.done=!0};m.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)};m.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};m.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}};m.prototype.stepThisExpression=function(e){e.pop(),e[e.length-1].value=Qt(this,"this")};m.prototype.stepThrowStatement=function(e,t,n){if(t.ka)w(this,t.value);else return t.ka=!0,new C(n.K,t.scope)};m.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)};m.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?w(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};m.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}};m.prototype.stepVariableDeclaration=function(e,t,n){n=n.fa;var r=t.A||0,i=n[r];for(t.Bb&&i&&(rr(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()};m.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))};m.prototype.stepWhileStatement=m.prototype.stepDoWhileStatement;Se.Interpreter=m;m.prototype.step=m.prototype.lb;m.prototype.run=m.prototype.Eb;m.prototype.appendCode=m.prototype.Jb;m.prototype.createObject=m.prototype.Aa;m.prototype.createObjectProto=m.prototype.s;m.prototype.createAsyncFunction=m.prototype.ub;m.prototype.createNativeFunction=m.prototype.i;m.prototype.getProperty=m.prototype.G;m.prototype.setProperty=m.prototype.g;m.prototype.nativeToPseudo=m.prototype.Ia;m.prototype.pseudoToNative=m.prototype.R;m.prototype.getGlobalScope=m.prototype.Xb;m.prototype.getStateStack=m.prototype.Yb;m.prototype.setStateStack=m.prototype.ec;m.VALUE_IN_DESCRIPTOR=Ze;const ui=e=>e.split(`
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`
7
+ `)}e.g(t,"stack",a.trim(),k)}L.ha=function(){var e=this.ha.Mb;return e||(e=new Blob([Jr.join(`
8
+ `)],{type:"application/javascript"}),this.ha.Mb=e),new Worker(URL.createObjectURL(e))};function Ke(e,t,n,r,i){var a={timeout:e.REGEXP_THREAD_TIMEOUT};try{return ge.runInNewContext(t,n,a)}catch{i(null),E(e,e.D,"RegExp Timeout: "+r)}return Pe}function Ge(e,t,n){if(e.REGEXP_MODE===0)var r=!1;else if(e.REGEXP_MODE===1)r=!0;else if(ge)r=!0;else if(typeof Worker=="function"&&typeof URL=="function")r=!0;else if(typeof require=="function"){try{ge=require("vm")}catch{}r=!!ge}else r=!1;r||(n(null),E(e,e.D,"Regular expressions not supported: "+t))}function ze(e,t,n,r){return setTimeout(function(){n.terminate(),r(null);try{E(e,e.D,"RegExp Timeout: "+t)}catch{}},e.REGEXP_THREAD_TIMEOUT)}L.Aa=function(e){return this.s(e&&e.h.prototype)};L.s=function(e){if(typeof e!="object")throw Error("Non object prototype");return e=new B(e),Z(this,e,this.D)&&(e.H="Error"),e};function Fe(e){var t=e.s(e.La);return e.g(t,"length",0,{configurable:!1,enumerable:!1,writable:!0}),t.H="Array",t}function Xt(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,re),r.H="Function",r}function Jt(e,t,n,r){var i=Xt(e,t.oa.length,!0);return i.Va=n,i.node=t,e.g(i,"name",t.id?String(t.id.name):r||"",re),i}L.i=function(e,t){return t=Xt(this,e.length,t),t.Ta=e,e.id=this.Ya++,this.g(t,"name",e.name,re),t};L.ub=function(e){var t=Xt(this,e.length,!0);return t.Za=e,e.id=this.Ya++,this.g(t,"name",e.name,re),t};L.Ia=function(e){if(e instanceof B)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 Yt(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=Fe(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};L.R=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)return e;if(!(e instanceof B))throw Error("Object is not pseudo");if(Z(this,e,this.I))return t=new RegExp(e.data.source,e.data.flags),t.lastIndex=e.data.lastIndex,t;if(Z(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),Z(this,e,this.qa)){n=[],t.Sa.push(n);for(var r=this.G(e,"length"),i=0;i<r;i++)ft(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 me(e,t){for(var n=Fe(e),r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++)e.g(n,r[i],t[r[i]]);return n}function nr(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 ye(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}L.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 B))throw TypeError("Expecting native value or pseudo object");if(t==="length"){if(Z(this,e,this.J))return String(e).length}else if(64>t.charCodeAt(0)&&Z(this,e,this.J)){var n=Je(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=ye(this,e))};function ft(e,t,n){if(!(t instanceof B))throw TypeError("Primitive data type has no properties");if(n=String(n),n==="length"&&Z(e,t,e.J))return!0;if(Z(e,t,e.J)){var r=Je(n);if(!isNaN(r)&&r<String(t).length)return!0}do if(t.h&&n in t.h)return!0;while(t=ye(e,t));return!1}L.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 B))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 B){if(Z(this,e,this.J)){var a=Je(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=Je(s);!isNaN(s)&&n<=s&&delete e.h[s]}}else isNaN(s=Je(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!==Ze&&(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===Ze)throw ReferenceError("Value not specified");for(r=e;!(t in r.h);)if(r=ye(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+"'")};L.g.ac=function(){throw Error("Placeholder getter")};L.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 Ye(e,t,n,r){e.g(t.h.prototype,n,e.ub(r),k)}function qt(e){if(e=e.o[e.o.length-1].scope,!e)throw Error("No scope found");return e}function _t(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 or(n,r,i),n||qr(e,r.object),Qe(e,t,r),r}function Zt(e,t,n){if(!t)throw Error("parentScope required");return e=n||e.s(null),new or(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&&ft(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 rr(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||ft(e,r.object,t)))return e.g(r.object,t,n);E(e,e.pb,t+" is not defined")}function Qe(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 u=t[s];if(u&&typeof u=="object"){if(Array.isArray(u)){for(i=0;i<u.length;i++)if(u[i]&&u[i].constructor===a){var f=Qe(e,u[i],n);for(s in f)r[s]=f[s]}}else if(u.constructor===a)for(s in f=Qe(e,u,n),f)r[s]=f[s]}}}t.jb=r}for(s in r)r[s]===!0?e.g(n.object,s,void 0,Wn):e.g(n.object,s,Jt(e,r[s],n),Wn);return r}function ve(e){return e.o[e.o.length-1].isConstructor}function en(e,t){return t[0]===Me?Qt(e,t[1]):e.G(t[0],t[1])}function tn(e,t,n){return t[0]===Me?rr(e,t[1],n):e.g(t[0],t[1],n)}function E(e,t,n){throw e.N?(n!==void 0&&t instanceof B&&(t=e.Aa(t),Vt(e,t,n)),et(e,4,t),tr):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 Z(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 ne(e,t){switch(t.type){case"ArrayExpression":return"[...]";case"BinaryExpression":case"LogicalExpression":return ne(e,t.left)+" "+t.operator+" "+ne(e,t.right);case"CallExpression":return ne(e,t.callee)+"(...)";case"ConditionalExpression":return ne(e,t.test)+" ? "+ne(e,t.da)+" : "+ne(e,t.alternate);case"Identifier":return t.name;case"Literal":return t.raw;case"MemberExpression":var n=ne(e,t.object);return e=ne(e,t.Wa),t.bb?n+"["+e+"]":n+"."+e;case"NewExpression":return"new "+ne(e,t.callee)+"(...)";case"ObjectExpression":return"{...}";case"ThisExpression":return"this";case"UnaryExpression":return t.operator+" "+ne(e,t.K);case"UpdateExpression":return n=ne(e,t.K),t.prefix?t.operator+n:n+t.operator}return"???"}function Ln(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 B&&a.H==="Function"){var u=a;s.type="CallExpression",r=r.scope}else{try{var f=Be(String(a),"taskCode"+e.ic++)}catch(g){E(e,e.T,"Invalid code: "+g.message)}s.type="EvalProgram_",s.body=f.body,r=r.node.arguments[0],dt(s,r?r.start:void 0,r?r.end:void 0),r=e.N,i.length=0}return t=new ci(u,i,r,s,t?n:-1),ir(e,t,n),t.Db}function ir(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 Wt(e,t){return t==null?e.Na:t instanceof B?t:(e=e.s(ye(e,t)),e.data=t,e)}L.Xb=function(){return this.N};L.Yb=function(){return this.o};L.ec=function(e){this.o=e};function C(e,t){this.node=e,this.scope=t}function or(e,t,n){this.Va=e,this.S=t,this.object=n}function B(e){this.V=Object.create(null),this.Y=Object.create(null),this.h=Object.create(null),this.xa=e}L=B.prototype;L.xa=null;L.H="Object";L.data=null;L.toString=function(){if(!Xe)return"[object Interpreter.Object]";if(!(this instanceof B))return String(this);if(this.H==="Array"){var e=Un;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 B&&e.indexOf(a)!==-1?"...":a}r&&t.push("...")}finally{e.pop()}return t.join(",")}if(this.H==="Error"){if(e=Un,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+"]"};L.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 ci(e,t,n,r,i){this.zb=e,this.Lb=t,this.scope=n,this.node=r,this.interval=i,this.Db=++ui,this.time=0}var ui=0;m.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=Fe(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};m.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}};m.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 B||E(this,this.j,"'in' expects an object, not '"+t+"'"),n=ft(this,t,r);break;case"instanceof":Z(this,t,this.O)||E(this,this.j,"'instanceof' expects an object, not '"+t+"'"),n=r instanceof B?Z(this,r,t):!1;break;default:throw SyntaxError("Unknown binary operator: "+n.operator)}e[e.length-1].value=n};m.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()};m.prototype.stepBreakStatement=function(e,t,n){et(this,1,void 0,n.label&&n.label.name)};m.prototype.Hb=0;m.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]===Me?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 B&&!i.Ab||E(this,this.j,ne(this,n.callee)+" is not a constructor"),i===this.qa)t.B=Fe(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 B||E(this,this.j,ne(this,n.callee)+" is not a function"),e=i.node){for(n=_t(this,e.body,i.Va),r=Fe(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=Wt(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=Be(String(i),"eval"+this.Hb++)}catch(u){E(this,this.T,"Invalid code: "+u.message)}return i=this.ya(),i.type="EvalProgram_",i.body=r.body,dt(i,n.start,n.end),n=t.Pb?t.scope:this.N,n.S?n=_t(this,r,n):Qe(this,r,n),this.value=void 0,new C(i,n)}else if(i.Ta)t.scope.S||(t.B=Wt(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(u){t.value=u,s.za=!1}),this.za=!0,t.scope.S||(t.B=Wt(this,t.B)),i.Za.apply(t.B,r)}else E(this,this.j,ne(this,n.callee)+" is not callable")}};m.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)};m.prototype.stepContinueStatement=function(e,t,n){et(this,2,void 0,n.label&&n.label.name)};m.prototype.stepDebuggerStatement=function(e){e.pop()};m.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)};m.prototype.stepEmptyStatement=function(e){e.pop()};m.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};m.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};m.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 B)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=ye(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=[Me,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)};m.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)}};m.prototype.stepFunctionDeclaration=function(e){e.pop()};m.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)};m.prototype.stepIdentifier=function(e,t,n){if(e.pop(),t.sa)e[e.length-1].value=[Me,n.name];else{if(t=Qt(this,n.name),this.P)return tt(this,t,this.Na);e[e.length-1].value=t}};m.prototype.stepIfStatement=m.prototype.stepConditionalExpression;m.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};m.prototype.stepLiteral=function(e,t,n){e.pop(),t=n.value,t instanceof RegExp&&(n=this.s(this.Ma),Yt(this,n,t),t=n),e[e.length-1].value=t};m.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)};m.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}};m.prototype.stepNewExpression=m.prototype.stepCallExpression;m.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,Ze,{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};m.prototype.stepProgram=function(e,t,n){if(e=n.body.shift())return t.done=!1,new C(e,t.scope);t.done=!0};m.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)};m.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};m.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}};m.prototype.stepThisExpression=function(e){e.pop(),e[e.length-1].value=Qt(this,"this")};m.prototype.stepThrowStatement=function(e,t,n){if(t.ka)E(this,t.value);else return t.ka=!0,new C(n.K,t.scope)};m.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)};m.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===Me&&(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};m.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}};m.prototype.stepVariableDeclaration=function(e,t,n){n=n.fa;var r=t.A||0,i=n[r];for(t.Bb&&i&&(rr(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()};m.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))};m.prototype.stepWhileStatement=m.prototype.stepDoWhileStatement;Se.Interpreter=m;m.prototype.step=m.prototype.lb;m.prototype.run=m.prototype.Eb;m.prototype.appendCode=m.prototype.Jb;m.prototype.createObject=m.prototype.Aa;m.prototype.createObjectProto=m.prototype.s;m.prototype.createAsyncFunction=m.prototype.ub;m.prototype.createNativeFunction=m.prototype.i;m.prototype.getProperty=m.prototype.G;m.prototype.setProperty=m.prototype.g;m.prototype.nativeToPseudo=m.prototype.Ia;m.prototype.pseudoToNative=m.prototype.R;m.prototype.getGlobalScope=m.prototype.Xb;m.prototype.getStateStack=m.prototype.Yb;m.prototype.setStateStack=m.prototype.ec;m.VALUE_IN_DESCRIPTOR=Ze;const di=e=>e.split(`
9
+ `).map(t=>{const n=t.trim();if(t.includes("__awaiter"))return;if(!n.startsWith("state."))return t;const[i,a]=n.split("="),u=`setRootState('${i.replace("state.","").trim()}', ${a.trim()})`;return`
10
10
  ${t}
11
- ${c}
11
+ ${u}
12
12
  `}).filter(Boolean).join(`
13
- `),_n=e=>e+"JSON",di=({builder:e,context:t,event:n,rootState:r,localState:i,rootSetState:a,code:s})=>{const c={...r,...i},h=Zn({builder:e,context:t,event:n,state:c}),y=h.map(([H])=>{const P=_n(H);return`var ${H} = ${P} === undefined ? undefined : JSON.parse(${P});`}).join(`
14
- `),x=ui(s);if(x===""){E.logger.warn("Skipping evaluation of empty code block.");return}const g=`
13
+ `),_n=e=>e+"JSON",fi=({builder:e,context:t,event:n,rootState:r,localState:i,rootSetState:a,code:s})=>{const u={...r,...i},f=Zn({builder:e,context:t,event:n,state:u}),g=f.map(([W])=>{const N=_n(W);return`var ${W} = ${N} === undefined ? undefined : JSON.parse(${N});`}).join(`
14
+ `),x=di(s);if(x===""){w.logger.warn("Skipping evaluation of empty code block.");return}const v=`
15
15
  function theFunction() {
16
- ${y}
16
+ ${g}
17
17
 
18
18
  ${x}
19
19
  }
20
20
  theFunction();
21
- `,R=(H,P)=>{const v=er(c,H,P);a==null||a(v)},W=function(H,P){h.forEach(([v,V])=>{const z=JSON.stringify(V);H.setProperty(P,_n(v),z)}),H.setProperty(P,"setRootState",H.createNativeFunction(R))},$=new m(g,W);return $.run(),$.pseudoToNative($.value)};function fi(){var e;return typeof process!="undefined"&&E.checkIsDefined((e=process==null?void 0:process.versions)==null?void 0:e.node)}const hi=()=>{var r;if(!fi())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?(E.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},pi=e=>E.isBrowser()||hi()?zr(e):di(e),pe=class pe{static getCacheKey(t){return JSON.stringify({...t,event:t.event?Math.random():void 0})}static getCachedValue(t){return pe.cache.get(t)}static setCachedValue(t,n){pe.cache.size>20&&pe.cache.delete(pe.cache.keys().next().value),pe.cache.set(t,{value:n})}};Wt(pe,"cacheLimit",20),Wt(pe,"cache",new Map);let Ne=pe;function Me({code:e,context:t,localState:n,rootState:r,rootSetState:i,event:a,isExpression:s=!0,enableCache:c}){if(e==="")return;const h={code:Gr(e,{isExpression:s}),builder:Kr(),context:t,event:a,rootSetState:i,rootState:r,localState:n};if(c){const y=Ne.getCacheKey(h),x=Ne.getCachedValue(y);if(x)return x.value}try{const y=pi(h);if(c){const x=Ne.getCacheKey(h);Ne.setCachedValue(x,y)}return y}catch(y){E.logger.error("Failed code evaluation: "+y.message,{code:e});return}}const rn=e=>JSON.parse(JSON.stringify(e));const mi=({block:e,context:t,localState:n,rootState:r,rootSetState:i})=>{if(!e.bindings)return e;const a=rn(e),s={...a,properties:{...a.properties},actions:{...a.actions}};for(const c in e.bindings){const h=e.bindings[c],y=Me({code:h,localState:n,rootState:r,rootSetState:i,context:t,enableCache:!0});er(s,c,y)}return s};function dt({block:e,context:t,shouldEvaluateBindings:n,localState:r,rootState:i,rootSetState:a}){const s=e;return n?mi({block:s,localState:r,rootState:i,rootSetState:a,context:t}):s}const on=e=>e?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():"",ar=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${on(n)}: ${r};`}).filter(E.checkIsDefined),gi=e=>ar(e).join(`
21
+ `,R=(W,N)=>{const y=er(u,W,N);a==null||a(y)},M=function(W,N){f.forEach(([y,$])=>{const z=JSON.stringify($);W.setProperty(N,_n(y),z)}),W.setProperty(N,"setRootState",W.createNativeFunction(R))},V=new m(v,M);return V.run(),V.pseudoToNative(V.value)};function hi(){var e;return typeof process!="undefined"&&w.checkIsDefined((e=process==null?void 0:process.versions)==null?void 0:e.node)}const pi=()=>{var r;if(!hi())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?(w.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},mi=e=>w.isBrowser()||pi()?Yr(e):fi(e),gi=!0,pe=class pe{static getCacheKey(t){return JSON.stringify({...t,event:t.event?Math.random():void 0})}static getCachedValue(t){return pe.cache.get(t)}static setCachedValue(t,n){pe.cache.size>20&&pe.cache.delete(pe.cache.keys().next().value),pe.cache.set(t,{value:n})}};Mt(pe,"cacheLimit",20),Mt(pe,"cache",new Map);let Ne=pe;function De({code:e,context:t,localState:n,rootState:r,rootSetState:i,event:a,isExpression:s=!0,enableCache:u}){if(e==="")return;const f={code:zr(e,{isExpression:s}),builder:Gr(),context:t,event:a,rootSetState:i,rootState:r,localState:n};if(u&&!gi){const g=Ne.getCacheKey(f),x=Ne.getCachedValue(g);if(x)return x.value}try{const g=mi(f);if(u){const x=Ne.getCacheKey(f);Ne.setCachedValue(x,g)}return g}catch(g){w.logger.error("Failed code evaluation: "+g.message,{code:e});return}}const rn=e=>JSON.parse(JSON.stringify(e));function $t(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>$t(n));if(e["@type"]==="@builder.io/sdk:Element")return e;const t={};for(const n in e)n!=="meta"&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=$t(e[n]));return t}const yi=["svelte","vue","angular","qwik","solid"].includes(w.TARGET),vi=e=>{if(yi){const t=rn(e);return{...t,properties:{...t.properties},actions:{...t.actions}}}else{const t=$t(Kr(e,"children","meta"));return{...t,properties:{...t.properties},actions:{...t.actions},children:e.children,meta:e.meta}}},xi=({block:e,context:t,localState:n,rootState:r,rootSetState:i})=>{if(!e.bindings)return e;const a=vi(e);for(const s in e.bindings){const u=e.bindings[s],f=De({code:u,localState:n,rootState:r,rootSetState:i,context:t,enableCache:!0});er(a,s,f)}return a};function bi({block:e,context:t,shouldEvaluateBindings:n,localState:r,rootState:i,rootSetState:a}){const s=e;return n?xi({block:s,localState:r,rootState:i,rootSetState:a,context:t}):s}const on=e=>e?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():"",ar=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${on(n)}: ${r};`}).filter(w.checkIsDefined),Si=e=>ar(e).join(`
22
22
  `),ct=({mediaQuery:e,className:t,styles:n})=>{const r=`.${t} {
23
- ${gi(n)}
23
+ ${Si(n)}
24
24
  }`;return e?`${e} {
25
25
  ${r}
26
- }`:r};function yi({style:e}){return e}const vi=({block:e,context:t})=>sr(yi({style:e.style||{},context:t,block:e}));function sr(e){switch(E.TARGET){case"svelte":case"vue":case"solid":case"angular":return ar(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const xi=({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(`
27
- Could not find a registered component named "${r}".
28
- If you registered it, is the file that registered it imported by the file that needs to render it?`)},bi=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const i=Me({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,enableCache:!0});if(!Array.isArray(i))return;const a=n.collection.split(".").pop(),s=n.itemName||(a?a+"Item":"item");return i.map((h,y)=>({context:{...t,localState:{...t.localState,$index:y,$item:h,[s]:h,[`$${s}Index`]:y}},block:r}))},Si=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},ki=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderComponents?{builderComponents:t}:{}},Ci=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},wi=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},lr={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},$n=(e,t=lr)=>`@media (max-width: ${t[e].max}px)`,cr=({small:e,medium:t})=>{const n=rn(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};function pt(e){return f.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function Ei(e){const t=function(){const i=dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return E.checkIsDefined(i.hide)?!i.hide:E.checkIsDefined(i.show)?i.show:!0},n=function(){var P,v,V;const i=dt({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0}),a=i.responsiveStyles,s=e.context.content,c=cr(((P=s==null?void 0:s.meta)==null?void 0:P.breakpoints)||{}),h=a==null?void 0:a.large,y=a==null?void 0:a.medium,x=a==null?void 0:a.small,g=i.id;if(!g)return"";const R=h?ct({className:g,styles:h}):"",W=y?ct({className:g,styles:y,mediaQuery:$n("medium",c)}):"",$=x?ct({className:g,styles:x,mediaQuery:$n("small",c)}):"",N=i.animations&&i.animations.find(z=>z.trigger==="hover");let H="";if(N){const z=((V=(v=N.steps)==null?void 0:v[1])==null?void 0:V.styles)||{};H=ct({className:`${g}:hover`,styles:{...z,transition:`all ${N.duration}s ${on(N.easing)}`,transitionDelay:N.delay?`${N.delay}s`:"0s"}})||""}return[R,W,$,H].join(" ")};return f.jsx(f.Fragment,{children:n()&&t()?f.jsx(f.Fragment,{children:f.jsx(pt,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function ji(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ii=e=>`on${ji(e)}`,Ti=(e,t)=>n=>Me({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1,enableCache:!0});function ur(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=Ii(i);if(e.stripPrefix)switch(E.TARGET){case"vue":s=s.replace("v-on:","");break;case"svelte":s=s.replace("on:","");break}t[s]=Ti(a,e)}return t}function Ai({properties:e}){return e}const Ri=e=>({href:e.href});function an({block:e,context:t}){var r;const n={...Ri(e),...e.properties,"builder-id":e.id,style:vi({block:e,context:t}),[qe()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return Ai({properties:n,context:t,block:e})}function Oi(e){return f.jsx(Kt,{TagName:e.Wrapper,attributes:an({block:e.block,context:e.context}),actionAttributes:ur({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 Pi(e){function t(){return e.includeBlockProps?{...an({block:e.block,context:e.context}),...ur({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}return f.jsx(e.Wrapper,{...e.wrapperProps,attributes:t(),children:e.children})}const Ni=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:i,isInteractive:a,contextValue:s})=>{const c={...e,...i?{attributes:an({block:t,context:s})}:{}};return a?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:i}:c};function Hn(e){var n;const t=e.isInteractive?Pi:e.componentRef;return f.jsx(f.Fragment,{children:e.componentRef?f.jsx(f.Fragment,{children:f.jsx(t,{...Ni({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:(n=e.blockChildren)==null?void 0:n.map(r=>f.jsx(mt,{block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},r.id))})}):null})}function Bi(e){const t=e.repeatContext;return f.jsx(mt,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})}function mt(e){var h,y,x;const t=function(){return xi({block:e.block,context:e.context,registeredComponents:e.registeredComponents})},n=function(){return bi({block:e.block,context:e.context})},r=function(){var R;return(R=e.block.repeat)!=null&&R.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})},i=function(){var W;return e.block.tagName==="a"||((W=r().properties)==null?void 0:W.href)||r().href?e.linkComponent||"a":e.block.tagName||"div"},a=function(){var $,N;if(($=e.block.repeat)!=null&&$.collection)return!!((N=n())!=null&&N.length);const R="hide"in r()?r().hide:!1;return("show"in r()?r().show:!0)&&!R},s=function(){var W,$;return!((W=t())!=null&&W.component)&&!n()?($=r().children)!=null?$:[]:[]},c=function(){var R,W,$,N;return{blockChildren:(R=r().children)!=null?R:[],componentRef:(W=t())==null?void 0:W.component,componentOptions:{...Hr(r()),...Ci(t(),r()),...wi(t(),e.context),...Si(t(),e.linkComponent),...ki(t(),e.registeredComponents)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:r(),includeBlockProps:(($=t())==null?void 0:$.noWrap)===!0,isInteractive:!((N=t())!=null&&N.isRSC)}};return f.jsx(f.Fragment,{children:a()?f.jsxs(f.Fragment,{children:[f.jsx(Ei,{block:e.block,context:e.context}),(h=t())!=null&&h.noWrap?f.jsx(f.Fragment,{children:f.jsx(Hn,{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})}):f.jsx(f.Fragment,{children:n()?f.jsx(f.Fragment,{children:(x=n())==null?void 0:x.map((g,R)=>f.jsx(Bi,{repeatContext:g.context,block:g.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},R))}):f.jsxs(Oi,{Wrapper:i(),block:r(),context:e.context,children:[f.jsx(Hn,{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}),(y=s())==null?void 0:y.map(g=>f.jsx(mt,{block:g,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},g.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;E.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;E.isEditing()&&!((i=e.blocks)!=null&&i.length)&&((a=window.parent)==null||a.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return f.jsxs(f.Fragment,{children:[f.jsx(e.BlocksWrapper,{className:t()+" props-blocks-wrapper-7cd1560e","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}),f.jsx("style",{children:`.props-blocks-wrapper-7cd1560e {
26
+ }`:r};function ki({style:e}){return e}const Ci=({block:e,context:t})=>sr(ki({style:e.style||{},context:t,block:e}));function sr(e){switch(w.TARGET){case"svelte":case"vue":case"solid":case"angular":return ar(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const wi=({block:e,registeredComponents:t})=>{var i;const n=(i=e.component)==null?void 0:i.name;if(!n)return null;const r=t[n];if(r)return r;console.warn(`
27
+ Could not find a registered component named "${n}".
28
+ If you registered it, is the file that registered it imported by the file that needs to render it?`)},Ei=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const i=De({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,enableCache:!0});if(!Array.isArray(i))return;const a=n.collection.split(".").pop(),s=n.itemName||(a?a+"Item":"item");return i.map((f,g)=>({context:{...t,localState:{...t.localState,$index:g,$item:f,[s]:f,[`$${s}Index`]:g}},block:r}))},Ii=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},ji=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderComponents?{builderComponents:t}:{}},Ti=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},Ai=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},lr={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},$n=(e,t=lr)=>`@media (max-width: ${t[e].max}px)`,cr=({small:e,medium:t})=>{const n=rn(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};function ht(e){return h.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function Ri(e){const t=function(){const i=e.block;return w.checkIsDefined(i.hide)?!i.hide:w.checkIsDefined(i.show)?i.show:!0},n=function(){var N,y,$;const i=e.block,a=i.responsiveStyles,s=e.context.content,u=cr(((N=s==null?void 0:s.meta)==null?void 0:N.breakpoints)||{}),f=a==null?void 0:a.large,g=a==null?void 0:a.medium,x=a==null?void 0:a.small,v=i.id;if(!v)return"";const R=f?ct({className:v,styles:f}):"",M=g?ct({className:v,styles:g,mediaQuery:$n("medium",u)}):"",V=x?ct({className:v,styles:x,mediaQuery:$n("small",u)}):"",O=i.animations&&i.animations.find(z=>z.trigger==="hover");let W="";if(O){const z=(($=(y=O.steps)==null?void 0:y[1])==null?void 0:$.styles)||{};W=ct({className:`${v}:hover`,styles:{...z,transition:`all ${O.duration}s ${on(O.easing)}`,transitionDelay:O.delay?`${O.delay}s`:"0s"}})||""}return[R,M,V,W].join(" ")};return h.jsx(h.Fragment,{children:n()&&t()?h.jsx(h.Fragment,{children:h.jsx(ht,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function Oi(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Pi=e=>`on${Oi(e)}`,Ni=(e,t)=>n=>De({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1,enableCache:!0});function ur(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=Pi(i);if(e.stripPrefix)switch(w.TARGET){case"vue":s=s.replace("v-on:","");break;case"svelte":s=s.replace("on:","");break}t[s]=Ni(a,e)}return t}function Bi({properties:e}){return e}const Fi=e=>({href:e.href});function an({block:e,context:t}){var r;const n={...Fi(e),...e.properties,"builder-id":e.id,style:Ci({block:e,context:t}),[qe()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return Bi({properties:n,context:t,block:e})}function Di(e){return h.jsx(Kt,{TagName:e.Wrapper,attributes:an({block:e.block,context:e.context}),actionAttributes:ur({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 Mi(e){function t(){return e.includeBlockProps?{...an({block:e.block,context:e.context}),...ur({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}return h.jsx(e.Wrapper,{...e.wrapperProps,attributes:t(),children:e.children})}const Wi=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:i,isInteractive:a,contextValue:s})=>{const u={...e,...i?{attributes:an({block:t,context:s})}:{}};return a?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:i}:u};function Hn(e){var n;const t=e.isInteractive?Mi:e.componentRef;return h.jsx(h.Fragment,{children:e.componentRef?h.jsx(h.Fragment,{children:h.jsx(t,{...Wi({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:(n=e.blockChildren)==null?void 0:n.map(r=>h.jsx(pt,{block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},r.id))})}):null})}function Ui(e){const t=e.repeatContext;return h.jsx(pt,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})}function pt(e){var g,x,v;const t=function(){return Ei({block:e.block,context:e.context})},n={value:null,update:!1},r=function(){var V;if(n.value&&!n.update&&!w.isPreviewing())return n.value;const M=(V=e.block.repeat)!=null&&V.collection?e.block:bi({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return n.value=M,n.update=!1,M},i=function(){return wi({block:r(),registeredComponents:e.registeredComponents})},a=function(){var V;return e.block.tagName==="a"||((V=r().properties)==null?void 0:V.href)||r().href?e.linkComponent||"a":e.block.tagName||"div"},s=function(){var O,W;if((O=e.block.repeat)!=null&&O.collection)return!!((W=t())!=null&&W.length);const M="hide"in r()?r().hide:!1;return("show"in r()?r().show:!0)&&!M},u=function(){var V,O;return!((V=i())!=null&&V.component)&&!t()?(O=r().children)!=null?O:[]:[]},f=function(){var M,V,O,W;return{blockChildren:(M=r().children)!=null?M:[],componentRef:(V=i())==null?void 0:V.component,componentOptions:{...Hr(r()),...Ti(i(),r()),...Ai(i(),e.context),...Ii(i(),e.linkComponent),...ji(i(),e.registeredComponents)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:r(),includeBlockProps:((O=i())==null?void 0:O.noWrap)===!0,isInteractive:!((W=i())!=null&&W.isRSC&&w.TARGET==="rsc")}};return h.jsx(h.Fragment,{children:s()?h.jsxs(h.Fragment,{children:[h.jsx(Ri,{block:r(),context:e.context}),(g=i())!=null&&g.noWrap?h.jsx(h.Fragment,{children:h.jsx(Hn,{componentRef:f().componentRef,componentOptions:f().componentOptions,blockChildren:f().blockChildren,context:f().context,registeredComponents:f().registeredComponents,linkComponent:f().linkComponent,builderBlock:f().builderBlock,includeBlockProps:f().includeBlockProps,isInteractive:f().isInteractive})}):h.jsx(h.Fragment,{children:t()?h.jsx(h.Fragment,{children:(v=t())==null?void 0:v.map((R,M)=>h.jsx(Ui,{repeatContext:R.context,block:R.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},M))}):h.jsxs(Di,{Wrapper:a(),block:r(),context:e.context,children:[h.jsx(Hn,{componentRef:f().componentRef,componentOptions:f().componentOptions,blockChildren:f().blockChildren,context:f().context,registeredComponents:f().registeredComponents,linkComponent:f().linkComponent,builderBlock:f().builderBlock,includeBlockProps:f().includeBlockProps,isInteractive:f().isInteractive}),(x=u())==null?void 0:x.map(R=>h.jsx(pt,{block:R,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},R.id))]})})]}):null})}function Li(e){const t=U.useRef(null);function n(){var a;return"builder-blocks"+((a=e.blocks)!=null&&a.length?"":" no-blocks")}function r(){var a,s;w.isEditing()&&!((a=e.blocks)!=null&&a.length)&&((s=window.parent)==null||s.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function i(){var a,s;w.isEditing()&&!((a=e.blocks)!=null&&a.length)&&((s=window.parent)==null||s.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return U.useEffect(()=>{},[]),h.jsxs(h.Fragment,{children:[h.jsx(e.BlocksWrapper,{ref:t,className:n()+" props-blocks-wrapper-51ef31b4","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:a=>r(),onMouseEnter:a=>i(),onKeyPress:a=>r(),...e.BlocksWrapperProps,children:e.children}),h.jsx("style",{children:`.props-blocks-wrapper-51ef31b4 {
29
29
  display: flex;
30
30
  flex-direction: column;
31
31
  align-items: stretch;
32
- }`})]})}function gt(e){var t,n,r;return f.jsx(Fi,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,BlocksWrapper:(t=e.context)==null?void 0:t.BlocksWrapper,BlocksWrapperProps:(n=e.context)==null?void 0:n.BlocksWrapperProps,children:e.blocks?f.jsx(f.Fragment,{children:(r=e.blocks)==null?void 0:r.map(i=>f.jsx(mt,{block:i,linkComponent:e.linkComponent,context:e.context,registeredComponents:e.registeredComponents},i.id))}):null})}const Mi=e=>`builder-columns ${e}-breakpoints`;function dr(e){var N,H;const t=typeof e.space=="number"?e.space||0:20,n=e.columns||[],r=e.stackColumnsAt||"tablet",i=function(v){return v.link?e.builderLinkComponent||"a":"div"},a=function(v){var V;return((V=n[v])==null?void 0:V.width)||100/n.length},s=function(v){const V=a(v),z=t*(n.length-1)*(V/100);return`calc(${V}% - ${z}px)`},c=function({stackedStyle:v,desktopStyle:V}){return r==="tablet"?v:V},h=function({stackedStyle:v,desktopStyle:V}){return r==="never"?V:v},y=e.stackColumnsAt==="never"?"row":e.reverseColumnsWhenStacked?"column-reverse":"column",x=function(){return{"--flex-dir":y,"--flex-dir-tablet":c({stackedStyle:y,desktopStyle:"row"})}},g=function(v){const V=v===0?0:t,z=s(v),oe=`${V}px`,K="100%",ee=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:z,["marginLeft"]:oe,"--column-width-mobile":h({stackedStyle:K,desktopStyle:z}),"--column-margin-left-mobile":h({stackedStyle:ee,desktopStyle:oe}),"--column-width-tablet":c({stackedStyle:K,desktopStyle:z}),"--column-margin-left-tablet":c({stackedStyle:ee,desktopStyle:oe})}},R=function(v){var z,oe;return cr(((oe=(z=e.builderContext.content)==null?void 0:z.meta)==null?void 0:oe.breakpoints)||{})[v].max},W=function(){const v=`.${e.builderBlock.id}-breakpoints > .builder-column`;return`
32
+ }`})]})}function mt(e){var t,n,r;return h.jsx(Li,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,BlocksWrapper:(t=e.context)==null?void 0:t.BlocksWrapper,BlocksWrapperProps:(n=e.context)==null?void 0:n.BlocksWrapperProps,children:e.blocks?h.jsx(h.Fragment,{children:(r=e.blocks)==null?void 0:r.map(i=>h.jsx(pt,{block:i,linkComponent:e.linkComponent,context:e.context,registeredComponents:e.registeredComponents},i.id))}):null})}const Vi=e=>`builder-columns ${e}-breakpoints`;function dr(e){var O,W;const t=typeof e.space=="number"?e.space||0:20,n=e.columns||[],r=e.stackColumnsAt||"tablet",i=function(y){return y.link?e.builderLinkComponent||"a":"div"},a=function(y){var $;return(($=n[y])==null?void 0:$.width)||100/n.length},s=function(y){const $=a(y),z=t*(n.length-1)*($/100);return`calc(${$}% - ${z}px)`},u=function({stackedStyle:y,desktopStyle:$}){return r==="tablet"?y:$},f=function({stackedStyle:y,desktopStyle:$}){return r==="never"?$:y},g=e.stackColumnsAt==="never"?"row":e.reverseColumnsWhenStacked?"column-reverse":"column",x=function(){return{"--flex-dir":g,"--flex-dir-tablet":u({stackedStyle:g,desktopStyle:"row"})}},v=function(y){const $=y===0?0:t,z=s(y),oe=`${$}px`,K="100%",ee=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:z,["marginLeft"]:oe,"--column-width-mobile":f({stackedStyle:K,desktopStyle:z}),"--column-margin-left-mobile":f({stackedStyle:ee,desktopStyle:oe}),"--column-width-tablet":u({stackedStyle:K,desktopStyle:z}),"--column-margin-left-tablet":u({stackedStyle:ee,desktopStyle:oe})}},R=function(y){var z,oe;return cr(((oe=(z=e.builderContext.content)==null?void 0:z.meta)==null?void 0:oe.breakpoints)||{})[y].max},M=function(){const y=`.${e.builderBlock.id}-breakpoints > .builder-column`;return`
33
33
  @media (max-width: ${R("medium")}px) {
34
34
  .${e.builderBlock.id}-breakpoints {
35
35
  flex-direction: var(--flex-dir-tablet);
36
36
  align-items: stretch;
37
37
  }
38
38
 
39
- ${v} {
39
+ ${y} {
40
40
  width: var(--column-width-tablet) !important;
41
41
  margin-left: var(--column-margin-left-tablet) !important;
42
42
  }
@@ -48,15 +48,15 @@ theFunction();
48
48
  align-items: stretch;
49
49
  }
50
50
 
51
- ${v} {
51
+ ${y} {
52
52
  width: var(--column-width-mobile) !important;
53
53
  margin-left: var(--column-margin-left-mobile) !important;
54
54
  }
55
55
  },
56
- `},$=function(v,V){return{...v.link?{href:v.link}:{},[qe()]:"builder-column",style:sr(g(V))}};return f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:Mi((N=e.builderBlock)==null?void 0:N.id)+" div-2cd13691",style:x(),children:[f.jsx(pt,{id:"builderio-columns",styles:W(),nonce:e.builderContext.nonce}),(H=e.columns)==null?void 0:H.map((P,v)=>f.jsx(Kt,{TagName:i(P),actionAttributes:{},attributes:$(P,v),children:f.jsx(gt,{path:`component.options.columns.${v}.blocks`,parent:e.builderBlock.id,styleProp:{flexGrow:"1"},context:e.builderContext,registeredComponents:e.builderComponents,linkComponent:e.builderLinkComponent,blocks:P.blocks})},v))]}),f.jsx("style",{children:`.div-2cd13691 {
56
+ `},V=function(y,$){return{...y.link?{href:y.link}:{},[qe()]:"builder-column",style:sr(v($))}};return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:Vi((O=e.builderBlock)==null?void 0:O.id)+" div-2cd13691",style:x(),children:[h.jsx(ht,{id:"builderio-columns",styles:M(),nonce:e.builderContext.nonce}),(W=e.columns)==null?void 0:W.map((N,y)=>h.jsx(Kt,{TagName:i(N),actionAttributes:{},attributes:V(N,y),children:h.jsx(mt,{path:`component.options.columns.${y}.blocks`,parent:e.builderBlock.id,styleProp:{flexGrow:"1"},context:e.builderContext,registeredComponents:e.builderComponents,linkComponent:e.builderLinkComponent,blocks:N.blocks})},y))]}),h.jsx("style",{children:`.div-2cd13691 {
57
57
  display: flex;
58
58
  line-height: normal;
59
- }`})]})}function fr(e){return f.jsx("span",{children:e.children})}function Kn(e){return e.replace(/http(s)?:/,"")}function Di(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 Wi(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return Kn(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 Kn(`${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=>`${Di(e,"width",i)} ${i}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Wi(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,r])=>`${n} ${r}w`).concat([e]).join(", "):e}function hr(e){var i,a,s,c,h,y;function t(){var R;const g=e.image||e.src;if(!g||!(g.match(/builder\.io/)||g.match(/cdn\.shopify\.com/)))return e.srcset;if(!e.noWebp){if(e.srcset&&((R=e.image)!=null&&R.includes("builder.io/api/v1/image"))){if(!e.srcset.includes(e.image.split("?")[0]))return console.debug("Removed given srcset"),Lt(g)}else if(e.image&&!e.srcset)return Lt(g);return Lt(g)}}function n(){var x;return(x=t==null?void 0:t())!=null&&x.match(/builder\.io/)&&!e.noWebp?t().replace(/\?/g,"?format=webp&"):""}function r(){const x={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return e.aspectRatio?x:void 0}return L.useEffect(()=>{},[]),f.jsxs(f.Fragment,{children:[f.jsxs(f.Fragment,{children:[f.jsxs("picture",{children:[n()?f.jsx("source",{type:"image/webp",srcSet:n()}):null,f.jsx("img",{loading:e.highPriority?"eager":"lazy",fetchPriority:e.highPriority?"high":"auto",alt:e.altText,role:e.altText?void 0:"presentation",style:{objectPosition:e.backgroundPosition||"center",objectFit:e.backgroundSize||"cover",...r()},className:"builder-image"+(e.className?" "+e.className:"")+" img-2d6925f2",src:e.image,srcSet:t(),sizes:e.sizes})]}),e.aspectRatio&&!((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length&&e.fitContent)?f.jsx("div",{className:"builder-image-sizer div-2d6925f2",style:{paddingTop:e.aspectRatio*100+"%"}}):null,(c=(s=e.builderBlock)==null?void 0:s.children)!=null&&c.length&&e.fitContent?f.jsx(f.Fragment,{children:e.children}):null,!e.fitContent&&((y=(h=e.builderBlock)==null?void 0:h.children)!=null&&y.length)?f.jsx("div",{className:"div-2d6925f2-2",children:e.children}):null]}),f.jsx("style",{children:`.img-2d6925f2 {
59
+ }`})]})}function fr(e){return h.jsx("span",{children:e.children})}function Kn(e){return e.replace(/http(s)?:/,"")}function _i(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 $i(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return Kn(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 Kn(`${r[0]}_${a}${i}`)}return null}function Ut(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=>`${_i(e,"width",i)} ${i}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[$i(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,r])=>`${n} ${r}w`).concat([e]).join(", "):e}function hr(e){var i,a,s,u,f,g;function t(){var R;const v=e.image||e.src;if(!v||!(v.match(/builder\.io/)||v.match(/cdn\.shopify\.com/)))return e.srcset;if(!e.noWebp){if(e.srcset&&((R=e.image)!=null&&R.includes("builder.io/api/v1/image"))){if(!e.srcset.includes(e.image.split("?")[0]))return console.debug("Removed given srcset"),Ut(v)}else if(e.image&&!e.srcset)return Ut(v);return Ut(v)}}function n(){var x;return(x=t==null?void 0:t())!=null&&x.match(/builder\.io/)&&!e.noWebp?t().replace(/\?/g,"?format=webp&"):""}function r(){const x={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return e.aspectRatio?x:void 0}return U.useEffect(()=>{},[]),h.jsxs(h.Fragment,{children:[h.jsxs(h.Fragment,{children:[h.jsxs("picture",{children:[n()?h.jsx("source",{type:"image/webp",srcSet:n()}):null,h.jsx("img",{loading:e.highPriority?"eager":"lazy",fetchPriority:e.highPriority?"high":"auto",alt:e.altText,role:e.altText?void 0:"presentation",style:{objectPosition:e.backgroundPosition||"center",objectFit:e.backgroundSize||"cover",...r()},className:"builder-image"+(e.className?" "+e.className:"")+" img-2d6925f2",src:e.image,srcSet:t(),sizes:e.sizes})]}),e.aspectRatio&&!((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length&&e.fitContent)?h.jsx("div",{className:"builder-image-sizer div-2d6925f2",style:{paddingTop:e.aspectRatio*100+"%"}}):null,(u=(s=e.builderBlock)==null?void 0:s.children)!=null&&u.length&&e.fitContent?h.jsx(h.Fragment,{children:e.children}):null,!e.fitContent&&((g=(f=e.builderBlock)==null?void 0:f.children)!=null&&g.length)?h.jsx("div",{className:"div-2d6925f2-2",children:e.children}):null]}),h.jsx("style",{children:`.img-2d6925f2 {
60
60
  opacity: 1;
61
61
  transition: opacity 0.2s ease-in-out;
62
62
  }.div-2d6925f2 {
@@ -72,7 +72,7 @@ theFunction();
72
72
  left: 0;
73
73
  width: 100%;
74
74
  height: 100%;
75
- }`})]})}function pr(e){return f.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 Ui={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,shouldReceiveBuilderProps:{builderLinkComponent:!0}},Li={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}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Vi={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},_i={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","webp"],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,y)=>{const x=document.createElement("img");let g=!1;x.onload=()=>{g=!0,h(x)},x.addEventListener("error",R=>{console.warn("Image load failed",R.error),y(R.error)}),x.src=s,setTimeout(()=>{g||y(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:"highPriority",type:"boolean",advanced:!0,helperText:"Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."},{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}],shouldReceiveBuilderProps:{builderBlock:!0}},$i={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>"}}}]},Hi={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"}],shouldReceiveBuilderProps:{builderContext:!0}};function Ki(e){var t,n,r;return f.jsx("div",{style:{pointerEvents:"auto"},...!((t=e.builderContext.context)!=null&&t.symbolId)&&{"builder-slot":e.name},children:f.jsx(gt,{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 Gi={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"}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},zi={shouldReceiveBuilderProps:{builderBlock:!1,builderContext:!0},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 mr(e){const t=function(){var h;const r=e.builderContext,{context:i,localState:a,rootState:s,rootSetState:c}=r;return String(((h=e.text)==null?void 0:h.toString())||"").replace(/{{([^}]+)}}/g,(y,x)=>Me({code:x,context:i,localState:a,rootState:s,rootSetState:c,enableCache:!1}))};return f.jsx("div",{className:"builder-text",dangerouslySetInnerHTML:{__html:t()},style:{outline:"none"}})}const Yi={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 Xi(e){const t=L.useRef(null),[n,r]=L.useState(()=>[]),[i,a]=L.useState(()=>[]);return L.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 y=s[h];if(y.src){if(n.includes(y.src))continue;n.push(y.src);const x=document.createElement("script");x.async=!0,x.src=y.src,document.head.appendChild(x)}else if(!y.type||["text/javascript","application/javascript","application/ecmascript"].includes(y.type)){if(i.includes(y.innerText))continue;try{i.push(y.innerText),new Function(y.innerText)()}catch(x){console.warn("`CustomCode`: Error running script:",x)}}}},[]),f.jsx("div",{ref:t,className:"builder-custom-code"+(e.replaceNodes?" replace-nodes":""),dangerouslySetInnerHTML:{__html:e.code}})}const Ji={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc"},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},qi=["text/javascript","application/javascript","application/ecmascript"],Zi=e=>qi.includes(e.type);function Qi(e){const t=L.useRef(null),[n,r]=L.useState(()=>[]),[i,a]=L.useState(()=>[]),[s,c]=L.useState(()=>!1);function h(){if(!t.current||!t.current.getElementsByTagName)return;const y=t.current.getElementsByTagName("script");for(let x=0;x<y.length;x++){const g=y[x];if(g.src&&!n.includes(g.src)){n.push(g.src);const R=document.createElement("script");R.async=!0,R.src=g.src,document.head.appendChild(R)}else if(Zi(g)&&!i.includes(g.innerText))try{i.push(g.innerText),new Function(g.innerText)()}catch(R){console.warn("`Embed`: Error running script:",R)}}}return L.useEffect(()=>{t.current&&!s&&(c(!0),h())},[t.current,s]),f.jsx("div",{className:"builder-embed",ref:t,dangerouslySetInnerHTML:{__html:e.content}})}const eo={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 to(e){return f.jsx("img",{style:{objectFit:e.backgroundSize||"cover",objectPosition:e.backgroundPosition||"center"},alt:e.altText,src:e.imgSrc||e.image,...e.attributes},E.isEditing()&&e.imgSrc||"default-key")}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://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",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}],shouldReceiveBuilderProps:{builderBlock:!0}};function gr(e){var r,i,a,s,c,h,y;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 f.jsxs("div",{style:{position:"relative"},children:[f.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:f.jsx("source",{type:"video/mp4",src:e.video})}),e.aspectRatio&&!(e.fitContent&&((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length))?f.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?f.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"stretch"},children:e.children}):null,(y=(h=e.builderBlock)==null?void 0:h.children)!=null&&y.length&&!e.fitContent?f.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 ro=()=>[{component:Xi,...Yi},{component:Qi,...Ji},{component:to,...eo},{component:gr,...no}],Gn=()=>[{component:qn,...Ui},{component:dr,...Li},{component:fr,...Vi},{component:hr,..._i},{component:pr,...$i},{component:Ki,...Hi},{component:kr,...Gi},{component:mr,...zi},...ro()],io=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
75
+ }`})]})}function pr(e){return h.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 Hi={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,shouldReceiveBuilderProps:{builderLinkComponent:!0}},Ki={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((u,f)=>u+f.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}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Gi={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},zi={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","webp"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(s,u=6e4){return new Promise((f,g)=>{const x=document.createElement("img");let v=!1;x.onload=()=>{v=!0,f(x)},x.addEventListener("error",R=>{console.warn("Image load failed",R.error),g(R.error)}),x.src=s,setTimeout(()=>{v||g(new Error("Image load timed out"))},u)})}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 u=e.get("aspectRatio");e.get("image")===i&&(!u||u===.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:"highPriority",type:"boolean",advanced:!0,helperText:"Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."},{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}],shouldReceiveBuilderProps:{builderBlock:!0}},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>"}}}]},Xi={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"}],shouldReceiveBuilderProps:{builderContext:!0}};function Ji(e){var t,n,r;return h.jsx("div",{style:{pointerEvents:"auto"},...!((t=e.builderContext.context)!=null&&t.symbolId)&&{"builder-slot":e.name},children:h.jsx(mt,{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 qi={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"}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Zi={shouldReceiveBuilderProps:{builderBlock:!1,builderContext:!0},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 mr(e){const t=function(){var f;const r=e.builderContext,{context:i,localState:a,rootState:s,rootSetState:u}=r;return String(((f=e.text)==null?void 0:f.toString())||"").replace(/{{([^}]+)}}/g,(g,x)=>De({code:x,context:i,localState:a,rootState:s,rootSetState:u,enableCache:!1}))};return h.jsx("div",{className:"builder-text",dangerouslySetInnerHTML:{__html:t()},style:{outline:"none"}})}const Qi={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 eo(e){const t=U.useRef(null),[n,r]=U.useState(()=>[]),[i,a]=U.useState(()=>[]);return U.useEffect(()=>{var u;if(!((u=t.current)!=null&&u.getElementsByTagName)||typeof window=="undefined")return;const s=t.current.getElementsByTagName("script");for(let f=0;f<s.length;f++){const g=s[f];if(g.src){if(n.includes(g.src))continue;n.push(g.src);const x=document.createElement("script");x.async=!0,x.src=g.src,document.head.appendChild(x)}else if(!g.type||["text/javascript","application/javascript","application/ecmascript"].includes(g.type)){if(i.includes(g.innerText))continue;try{i.push(g.innerText),new Function(g.innerText)()}catch(x){console.warn("`CustomCode`: Error running script:",x)}}}},[]),h.jsx("div",{ref:t,className:"builder-custom-code"+(e.replaceNodes?" replace-nodes":""),dangerouslySetInnerHTML:{__html:e.code}})}const to={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc"},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},no=["text/javascript","application/javascript","application/ecmascript"],ro=e=>no.includes(e.type);function io(e){const t=U.useRef(null),[n,r]=U.useState(()=>[]),[i,a]=U.useState(()=>[]),[s,u]=U.useState(()=>!1);function f(){if(!t.current||!t.current.getElementsByTagName)return;const g=t.current.getElementsByTagName("script");for(let x=0;x<g.length;x++){const v=g[x];if(v.src&&!n.includes(v.src)){n.push(v.src);const R=document.createElement("script");R.async=!0,R.src=v.src,document.head.appendChild(R)}else if(ro(v)&&!i.includes(v.innerText))try{i.push(v.innerText),new Function(v.innerText)()}catch(R){console.warn("`Embed`: Error running script:",R)}}}return U.useEffect(()=>{t.current&&!s&&(u(!0),f())},[t.current,s]),h.jsx("div",{className:"builder-embed",ref:t,dangerouslySetInnerHTML:{__html:e.content}})}const oo={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 ao(e){return h.jsx("img",{style:{objectFit:e.backgroundSize||"cover",objectPosition:e.backgroundPosition||"center"},alt:e.altText,src:e.imgSrc||e.image,...e.attributes},w.isEditing()&&e.imgSrc||"default-key")}const so={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://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",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}],shouldReceiveBuilderProps:{builderBlock:!0}};function gr(e){var r,i,a,s,u,f,g;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 h.jsxs("div",{style:{position:"relative"},children:[h.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:h.jsx("source",{type:"video/mp4",src:e.video})}),e.aspectRatio&&!(e.fitContent&&((a=(i=e.builderBlock)==null?void 0:i.children)!=null&&a.length))?h.jsx("div",{style:{width:"100%",paddingTop:e.aspectRatio*100+"%",pointerEvents:"none",fontSize:"0px"}}):null,(u=(s=e.builderBlock)==null?void 0:s.children)!=null&&u.length&&e.fitContent?h.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"stretch"},children:e.children}):null,(g=(f=e.builderBlock)==null?void 0:f.children)!=null&&g.length&&!e.fitContent?h.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 lo=()=>[{component:eo,...Qi},{component:io,...to},{component:ao,...oo},{component:gr,...so}],Gn=()=>[{component:qn,...Hi},{component:dr,...Ki},{component:fr,...Gi},{component:hr,...zi},{component:pr,...Yi},{component:Ji,...Xi},{component:kr,...qi},{component:mr,...Zi},...lo()],co=`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
- }`,oo=`function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
131
+ }`,uo=`function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
132
132
  if (!navigator.cookieEnabled) {
133
133
  return;
134
134
  }
@@ -162,29 +162,29 @@ theFunction();
162
162
  thisScriptEl?.remove();
163
163
  }
164
164
  return;
165
- }`,yr="builderIoAbTest",vr="builderIoRenderContent",ut=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),ao=({canTrack:e,content:t})=>!(!(ut(t).length>0)||!e||E.isBrowser()),so=e=>e==="react"||e==="reactNative",xr=so(E.TARGET),lo=()=>`
166
- window.${yr} = ${io}
167
- window.${vr} = ${oo}
168
- `,co=(e,t)=>`
165
+ }`,yr="builderIoAbTest",vr="builderIoRenderContent",ut=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),fo=({canTrack:e,content:t})=>!(!(ut(t).length>0)||!e||w.isBrowser()),ho=e=>e==="react"||e==="reactNative",xr=ho(w.TARGET),po=()=>`
166
+ window.${yr} = ${co}
167
+ window.${vr} = ${uo}
168
+ `,mo=(e,t)=>`
169
169
  window.${yr}(
170
170
  "${t}",${JSON.stringify(e)}, ${xr}
171
- )`,uo=({contentId:e,variationId:t})=>`window.${vr}(
171
+ )`,go=({contentId:e,variationId:t})=>`window.${vr}(
172
172
  "${t}", "${e}", ${xr}
173
- )`;function Ht(e){return f.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},"data-id":e.id,nonce:e.nonce||""})}const br=L.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:""});function zn(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=zn(r/n.width),s=zn(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}}};async function mo({key:e,value:t}){return E.init(),globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e,t),{[e]:t}}function Xn(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}function go(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function yo(e,t){const n=vo(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 vo(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 xo(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){go(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{yo(e,n),n.style.transition="none",n.style.transitionDelay="0",Xn(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${on(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),Xn(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}const bo=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+=`
173
+ )`;function Ht(e){return h.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},"data-id":e.id,nonce:e.nonce||""})}const br=U.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:""});function zn(e){return Math.round(e*1e3)/1e3}const yo=(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},vo=e=>yo(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=zn(r/n.width),s=zn(i/n.height);return{x:a,y:s}},xo=e=>{const t=e.target,n=t&&vo(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}}};async function bo({key:e,value:t}){return w.init(),globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e,t),{[e]:t}}function Xn(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}function So(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function ko(e,t){const n=Co(e),r=getComputedStyle(t),i=e.steps[0].styles,a=e.steps[e.steps.length-1].styles,s=[i,a];for(const u of s)for(const f of n)f in u||(u[f]=r[f])}function Co(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 wo(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){So(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{ko(e,n),n.style.transition="none",n.style.transitionDelay="0",Xn(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${on(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),Xn(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}const Eo=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');
177
177
  font-display: fallback;
178
178
  font-weight: 400;
179
179
  }
180
- `.trim()),e.files)for(const c in e.files){if(!(String(Number(c))===c))continue;const y=e.files[c];y&&y!==r&&(i+=`
180
+ `.trim()),e.files)for(const u in e.files){if(!(String(Number(u))===u))continue;const g=e.files[u];g&&g!==r&&(i+=`
181
181
  @font-face {
182
182
  font-family: "${t}";
183
- src: url('${y}') format('woff2');
183
+ src: url('${g}') format('woff2');
184
184
  font-display: fallback;
185
- font-weight: ${c};
185
+ font-weight: ${u};
186
186
  }
187
- `.trim())}return i},So=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(n=>bo(n)))==null?void 0:t.join(" "))||""},ko=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",Co=`
187
+ `.trim())}return i},Io=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(n=>Eo(n)))==null?void 0:t.join(" "))||""},jo=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",To=`
188
188
  .builder-button {
189
189
  all: unset;
190
190
  }
@@ -201,8 +201,8 @@ font-weight: ${c};
201
201
  text-align: inherit;
202
202
  font-family: inherit;
203
203
  }
204
- `,wo=e=>e?"":Co,Eo=e=>`variant-${e}`;function jo(e){var oe,K,ee,j,ke,_,Ce;const t=L.useRef(null);function n(I){var F,U;const b={...e.builderContextSignal.rootState,...I};e.builderContextSignal.rootSetState?(U=(F=e.builderContextSignal).rootSetState)==null||U.call(F,b):e.builderContextSignal.rootState=b}function r(I){var F,U,M,q,se;const b={...e.builderContextSignal.content,...I,data:{...(F=e.builderContextSignal.content)==null?void 0:F.data,...I==null?void 0:I.data},meta:{...(U=e.builderContextSignal.content)==null?void 0:U.meta,...I==null?void 0:I.meta,breakpoints:((M=I==null?void 0:I.meta)==null?void 0:M.breakpoints)||((se=(q=e.builderContextSignal.content)==null?void 0:q.meta)==null?void 0:se.breakpoints)}};mo({value:b,key:b.id}).then(()=>{z.refresh()})}function i(){return e.showContent?{}:{hidden:!0,"aria-hidden":!0}}const[a,s]=L.useState(()=>e.contentWrapper||"div");function c(I){return E.createEditorListener({model:e.model,trustedHosts:e.trustedHosts,callbacks:{configureSdk:b=>{var M;const{breakpoints:F,contentId:U}=b;!U||U!==((M=e.builderContextSignal.content)==null?void 0:M.id)||F&&r({meta:{breakpoints:F}})},animation:b=>{xo(b)},contentUpdate:b=>{r(b)}}})(I)}function h(){var b,F;const I=(F=(b=e.builderContextSignal.content)==null?void 0:b.data)==null?void 0:F.jsCode;I&&Me({code:I,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState,enableCache:!1})}const[y,x]=L.useState(()=>({})),[g,R]=L.useState(()=>({})),[W,$]=L.useState(()=>!1);function N(I){var b,F;if(e.builderContextSignal.content){const U=(b=e.builderContextSignal.content)==null?void 0:b.testVariationId,M=(F=e.builderContextSignal.content)==null?void 0:F.id;E._track({type:"click",canTrack:E.getDefaultCanTrack(e.canTrack),contentId:M,apiKey:e.apiKey,variationId:U!==M?U:void 0,...po(I),unique:!W})}W||$(!0)}function H(){var b,F,U;const I=(U=(F=(b=e.builderContextSignal.content)==null?void 0:b.data)==null?void 0:F.httpRequests)!=null?U:{};Object.entries(I).forEach(([M,q])=>{if(!q||g[M]||y[M]&&!E.isEditing())return;g[M]=!0;const se=q.replace(/{{([^}]+)}}/g,(le,nt)=>String(Me({code:nt,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState,enableCache:!0})));E.fetch(se).then(le=>le.json()).then(le=>{n({[M]:le}),y[M]=!0}).catch(le=>{console.error("error fetching dynamic data",q,le)}).finally(()=>{g[M]=!1})})}function P(){E.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:rn(e.builderContextSignal.rootState),ref:{name:e.model}}}))}function v(I){window.addEventListener("message",c),E.registerInsertMenu(),E.setupBrowserForEditing({...e.locale?{locale:e.locale}:{},...e.enrich?{enrich:e.enrich}:{},...e.trustedHosts?{trustedHosts:e.trustedHosts}:{}}),Object.values(e.builderContextSignal.componentInfos).forEach(b=>{var U;const F=E.createRegisterComponentMessage(b);(U=window.parent)==null||U.postMessage(F,"*")}),window.addEventListener("builder:component:stateChangeListenerActivated",P)}function V(I){const b=new URL(location.href).searchParams,F=b.get("builder.preview"),U=b.get(`builder.overrides.${F}`),M=b.get("apiKey")||b.get("builder.space");F===e.model&&M===e.apiKey&&(!e.content||U===e.content.id)&&E.fetchOneEntry({model:e.model,apiKey:e.apiKey,apiVersion:e.builderContextSignal.apiVersion}).then(q=>{q&&r(q)})}const z=Vr.useRouter();return L.useEffect(()=>{var I;return(I=t.current)==null||I.addEventListener("initeditingbldr",v),()=>{var b;return(b=t.current)==null?void 0:b.removeEventListener("initeditingbldr",v)}},[]),L.useEffect(()=>{var I;return(I=t.current)==null||I.addEventListener("initpreviewingbldr",V),()=>{var b;return(b=t.current)==null?void 0:b.removeEventListener("initpreviewingbldr",V)}},[]),L.useEffect(()=>{var I,b;if(E.isBrowser()){if(E.isEditing()&&t.current&&t.current.dispatchEvent(new CustomEvent("initeditingbldr")),e.builderContextSignal.content&&E.getDefaultCanTrack(e.canTrack)){const U=(I=e.builderContextSignal.content)==null?void 0:I.testVariationId,M=(b=e.builderContextSignal.content)==null?void 0:b.id,q=e.apiKey;E._track({type:"impression",canTrack:!0,contentId:M,apiKey:q,variationId:U!==M?U:void 0})}E.isPreviewing()&&E.isEditing()}},[]),L.useEffect(()=>{e.apiKey||E.logger.error("No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."),h(),H(),P()},[]),L.useEffect(()=>{},[e.content]),L.useEffect(()=>{h()},[(K=(oe=e.builderContextSignal.content)==null?void 0:oe.data)==null?void 0:K.jsCode]),L.useEffect(()=>{H()},[(j=(ee=e.builderContextSignal.content)==null?void 0:ee.data)==null?void 0:j.httpRequests]),L.useEffect(()=>{P()},[e.builderContextSignal.rootState]),L.useEffect(()=>{e.data&&n(e.data)},[e.data]),L.useEffect(()=>{e.locale&&n({locale:e.locale})},[e.locale]),L.useEffect(()=>()=>{E.isBrowser()&&(window.removeEventListener("message",c),window.removeEventListener("builder:component:stateChangeListenerActivated",P))},[]),f.jsx(br.Provider,{value:e.builderContextSignal,children:e.builderContextSignal.content?f.jsx(a,{ref:t,onClick:I=>N(I),"builder-content-id":(ke=e.builderContextSignal.content)==null?void 0:ke.id,"builder-model":e.model,...i(),...e.contentWrapperProps,className:Eo(((_=e.content)==null?void 0:_.testVariationId)||((Ce=e.content)==null?void 0:Ce.id)),children:e.children}):null})}function Io(e){const t=`
205
- ${ko({cssCode:e.cssCode,contentId:e.contentId})}
206
- ${So({customFonts:e.customFonts})}
207
- ${wo(e.isNestedRender)}
208
- `.trim();return f.jsx(pt,{id:"builderio-content",styles:t,nonce:e.nonce})}const To=({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}:{}}},Ao=({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 i,a,s,c,h,y,x,g,R,W,$;const t=uo({variationId:(i=e.content)==null?void 0:i.testVariationId,contentId:(a=e.content)==null?void 0:a.id}),n=[...Gn(),...((s=e.customComponents)==null?void 0:s.filter(({models:N})=>!(N!=null&&N.length)||!e.model?!0:N.includes(e.model)))||[]].reduce((N,{component:H,...P})=>({...N,[P.name]:{component:H,...E.serializeComponentInfo(P)}}),{}),r={content:Ao({content:e.content,data:e.data}),localState:void 0,rootState:To({content:e.content,data:e.data,locale:e.locale}),rootSetState:void 0,context:e.context||{},canTrack:e.canTrack,apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...Gn(),...((c=e.customComponents)==null?void 0:c.filter(({models:N})=>!(N!=null&&N.length)||!e.model?!0:N.includes(e.model)))||[]].reduce((N,{component:H,...P})=>({...N,[P.name]:E.serializeComponentInfo(P)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{},nonce:e.nonce||""};return f.jsxs(jo,{nonce:e.nonce,content:e.content,data:e.data,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,showContent:e.showContent,builderContextSignal:r,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts,children:[e.isSsrAbTest?f.jsx(Ht,{id:"builderio-variant-visibility",scriptStr:t,nonce:e.nonce||""}):null,f.jsx(Io,{nonce:e.nonce||"",isNestedRender:e.isNestedRender,contentId:(h=r.content)==null?void 0:h.id,cssCode:(x=(y=r.content)==null?void 0:y.data)==null?void 0:x.cssCode,customFonts:(R=(g=r.content)==null?void 0:g.data)==null?void 0:R.customFonts}),f.jsx(gt,{blocks:($=(W=r.content)==null?void 0:W.data)==null?void 0:$.blocks,context:r,registeredComponents:n,linkComponent:e.linkComponent})]})}function Sr(e){var a;const t=ao({canTrack:E.getDefaultCanTrack(e.canTrack),content:e.content}),n=function(){var c;return co(ut(e.content).map(h=>({id:h.testVariationId,testRatio:h.testRatio})),((c=e.content)==null?void 0:c.id)||"")},r=function(){return ut(e.content).map(c=>`.variant-${c.testVariationId} { display: none; } `).join("")},i=function(){var c;return t?{...e.content,testVariationId:(c=e.content)==null?void 0:c.id}:E.handleABTestingSync({item:e.content,canTrack:E.getDefaultCanTrack(e.canTrack)})};return f.jsxs(f.Fragment,{children:[!e.isNestedRender&&E.TARGET!=="reactNative"?f.jsx(Ht,{id:"builderio-init-variants-fns",scriptStr:lo(),nonce:e.nonce||""}):null,t?f.jsxs(f.Fragment,{children:[f.jsx(pt,{id:"builderio-variants",styles:r(),nonce:e.nonce||""}),f.jsx(Ht,{id:"builderio-variants-visibility",scriptStr:n(),nonce:e.nonce||""}),(a=ut(e.content))==null?void 0:a.map(s=>f.jsx(Jn,{isNestedRender:e.isNestedRender,nonce:e.nonce,content:s,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,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts},s.testVariationId))]}):null,f.jsx(Jn,{nonce:e.nonce,isNestedRender:e.isNestedRender,content:i(),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,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts})]})}const Ro=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return E.fetchOneEntry({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{E.logger.error("Could not fetch symbol content: ",n)})};async function kr(e){var a,s,c,h,y;const t=function(){return"div"},n=function(){return"div"},r=function(){var g,R;return[e.attributes[qe()],"builder-symbol",(g=e.symbol)!=null&&g.inline?"builder-inline-symbol":void 0,(R=e.symbol)!=null&&R.dynamic||e.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},i=((a=e.symbol)==null?void 0:a.content)||await Ro({symbol:e.symbol,builderContextValue:e.builderContext});return f.jsx("div",{...e.attributes,className:r(),children:f.jsx(Sr,{nonce:e.builderContext.nonce,isNestedRender:!0,apiVersion:e.builderContext.apiVersion,apiKey:e.builderContext.apiKey,context:{...e.builderContext.context,symbolId:(s=e.builderBlock)==null?void 0:s.id},customComponents:Object.values(e.builderComponents),data:{...(c=e.symbol)==null?void 0:c.data,...e.builderContext.localState,...(h=i==null?void 0:i.data)==null?void 0:h.state},canTrack:e.builderContext.canTrack,model:(y=e.symbol)==null?void 0:y.model,content:i,linkComponent:e.builderLinkComponent,blocksWrapper:t(),contentWrapper:n()})})}exports.Blocks=gt;exports.BuilderContext=br;exports.Button=qn;exports.Columns=dr;exports.Content=Sr;exports.Fragment=fr;exports.Image=hr;exports.Section=pr;exports.Symbol=kr;exports.Text=mr;exports.Video=gr;
204
+ `,Ao=e=>e?"":To,Ro=e=>`variant-${e}`;function Oo(e){var oe,K,ee,I,ke,H,Ce;const t=U.useRef(null);function n(j){var F,_;const b={...e.builderContextSignal.rootState,...j};e.builderContextSignal.rootSetState?(_=(F=e.builderContextSignal).rootSetState)==null||_.call(F,b):e.builderContextSignal.rootState=b}function r(j){var F,_,D,q,se;const b={...e.builderContextSignal.content,...j,data:{...(F=e.builderContextSignal.content)==null?void 0:F.data,...j==null?void 0:j.data},meta:{...(_=e.builderContextSignal.content)==null?void 0:_.meta,...j==null?void 0:j.meta,breakpoints:((D=j==null?void 0:j.meta)==null?void 0:D.breakpoints)||((se=(q=e.builderContextSignal.content)==null?void 0:q.meta)==null?void 0:se.breakpoints)}};bo({value:b,key:b.id}).then(()=>{z.refresh()})}function i(){return e.showContent?{}:{hidden:!0,"aria-hidden":!0}}const[a,s]=U.useState(()=>e.contentWrapper||"div");function u(j){return w.createEditorListener({model:e.model,trustedHosts:e.trustedHosts,callbacks:{configureSdk:b=>{var D;const{breakpoints:F,contentId:_}=b;!_||_!==((D=e.builderContextSignal.content)==null?void 0:D.id)||F&&r({meta:{breakpoints:F}})},animation:b=>{wo(b)},contentUpdate:b=>{r(b)}}})(j)}function f(){var b,F;const j=(F=(b=e.builderContextSignal.content)==null?void 0:b.data)==null?void 0:F.jsCode;j&&De({code:j,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState,enableCache:!1})}const[g,x]=U.useState(()=>({})),[v,R]=U.useState(()=>({})),[M,V]=U.useState(()=>!1);function O(j){var b,F;if(e.builderContextSignal.content){const _=(b=e.builderContextSignal.content)==null?void 0:b.testVariationId,D=(F=e.builderContextSignal.content)==null?void 0:F.id;w._track({type:"click",canTrack:w.getDefaultCanTrack(e.canTrack),contentId:D,apiKey:e.apiKey,variationId:_!==D?_:void 0,...xo(j),unique:!M})}M||V(!0)}function W(){var b,F,_;const j=(_=(F=(b=e.builderContextSignal.content)==null?void 0:b.data)==null?void 0:F.httpRequests)!=null?_:{};Object.entries(j).forEach(([D,q])=>{if(!q||v[D]||g[D]&&!w.isEditing())return;v[D]=!0;const se=q.replace(/{{([^}]+)}}/g,(le,nt)=>String(De({code:nt,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState,enableCache:!0})));w.fetch(se).then(le=>le.json()).then(le=>{n({[D]:le}),g[D]=!0}).catch(le=>{console.error("error fetching dynamic data",q,le)}).finally(()=>{v[D]=!1})})}function N(){w.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:rn(e.builderContextSignal.rootState),ref:{name:e.model}}}))}function y(j){window.addEventListener("message",u),w.registerInsertMenu(),w.setupBrowserForEditing({...e.locale?{locale:e.locale}:{},...e.enrich?{enrich:e.enrich}:{},...e.trustedHosts?{trustedHosts:e.trustedHosts}:{}}),Object.values(e.builderContextSignal.componentInfos).forEach(b=>{var _;const F=w.createRegisterComponentMessage(b);(_=window.parent)==null||_.postMessage(F,"*")}),window.addEventListener("builder:component:stateChangeListenerActivated",N)}function $(j){const b=new URL(location.href).searchParams,F=b.get("builder.preview"),_=b.get(`builder.overrides.${F}`),D=b.get("apiKey")||b.get("builder.space");F===e.model&&D===e.apiKey&&(!e.content||_===e.content.id)&&w.fetchOneEntry({model:e.model,apiKey:e.apiKey,apiVersion:e.builderContextSignal.apiVersion}).then(q=>{q&&r(q)})}const z=Vr.useRouter();return U.useEffect(()=>{var j;return(j=t.current)==null||j.addEventListener("initeditingbldr",y),()=>{var b;return(b=t.current)==null?void 0:b.removeEventListener("initeditingbldr",y)}},[]),U.useEffect(()=>{var j;return(j=t.current)==null||j.addEventListener("initpreviewingbldr",$),()=>{var b;return(b=t.current)==null?void 0:b.removeEventListener("initpreviewingbldr",$)}},[]),U.useEffect(()=>{var j,b;if(w.isBrowser()){if(w.isEditing()&&t.current&&t.current.dispatchEvent(new CustomEvent("initeditingbldr")),e.builderContextSignal.content&&w.getDefaultCanTrack(e.canTrack)){const _=(j=e.builderContextSignal.content)==null?void 0:j.testVariationId,D=(b=e.builderContextSignal.content)==null?void 0:b.id,q=e.apiKey;w._track({type:"impression",canTrack:!0,contentId:D,apiKey:q,variationId:_!==D?_:void 0})}w.isPreviewing()&&w.isEditing()}},[]),U.useEffect(()=>{e.apiKey||w.logger.error("No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."),f(),W(),N()},[]),U.useEffect(()=>{},[e.content]),U.useEffect(()=>{f()},[(K=(oe=e.builderContextSignal.content)==null?void 0:oe.data)==null?void 0:K.jsCode]),U.useEffect(()=>{W()},[(I=(ee=e.builderContextSignal.content)==null?void 0:ee.data)==null?void 0:I.httpRequests]),U.useEffect(()=>{N()},[e.builderContextSignal.rootState]),U.useEffect(()=>{e.data&&n(e.data)},[e.data]),U.useEffect(()=>{e.locale&&n({locale:e.locale})},[e.locale]),U.useEffect(()=>()=>{w.isBrowser()&&(window.removeEventListener("message",u),window.removeEventListener("builder:component:stateChangeListenerActivated",N))},[]),h.jsx(br.Provider,{value:e.builderContextSignal,children:e.builderContextSignal.content?h.jsx(a,{ref:t,onClick:j=>O(j),"builder-content-id":(ke=e.builderContextSignal.content)==null?void 0:ke.id,"builder-model":e.model,...i(),...e.contentWrapperProps,className:Ro(((H=e.content)==null?void 0:H.testVariationId)||((Ce=e.content)==null?void 0:Ce.id)),children:e.children}):null})}function Po(e){const t=`
205
+ ${jo({cssCode:e.cssCode,contentId:e.contentId})}
206
+ ${Io({customFonts:e.customFonts})}
207
+ ${Ao(e.isNestedRender)}
208
+ `.trim();return h.jsx(ht,{id:"builderio-content",styles:t,nonce:e.nonce})}const No=({content:e,data:t,locale:n})=>{var a,s,u;const r={},i=((a=e==null?void 0:e.data)==null?void 0:a.state)||{};return(u=(s=e==null?void 0:e.data)==null?void 0:s.inputs)==null||u.forEach(f=>{f.name&&f.defaultValue!==void 0&&(r[f.name]=f.defaultValue)}),{...r,...i,...t,...n?{locale:n}:{}}},Bo=({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 i,a,s,u,f,g,x,v,R,M,V;const t=go({variationId:(i=e.content)==null?void 0:i.testVariationId,contentId:(a=e.content)==null?void 0:a.id}),n=[...Gn(),...((s=e.customComponents)==null?void 0:s.filter(({models:O})=>!(O!=null&&O.length)||!e.model?!0:O.includes(e.model)))||[]].reduce((O,{component:W,...N})=>({...O,[N.name]:{component:W,...w.serializeIncludingFunctions(N)}}),{}),r={content:Bo({content:e.content,data:e.data}),localState:void 0,rootState:No({content:e.content,data:e.data,locale:e.locale}),rootSetState:void 0,context:e.context||{},canTrack:e.canTrack,apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...Gn(),...((u=e.customComponents)==null?void 0:u.filter(({models:O})=>!(O!=null&&O.length)||!e.model?!0:O.includes(e.model)))||[]].reduce((O,{component:W,...N})=>({...O,[N.name]:w.serializeIncludingFunctions(N)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{},nonce:e.nonce||""};return h.jsxs(Oo,{nonce:e.nonce,content:e.content,data:e.data,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,showContent:e.showContent,builderContextSignal:r,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts,children:[e.isSsrAbTest?h.jsx(Ht,{id:"builderio-variant-visibility",scriptStr:t,nonce:e.nonce||""}):null,h.jsx(Po,{nonce:e.nonce||"",isNestedRender:e.isNestedRender,contentId:(f=r.content)==null?void 0:f.id,cssCode:(x=(g=r.content)==null?void 0:g.data)==null?void 0:x.cssCode,customFonts:(R=(v=r.content)==null?void 0:v.data)==null?void 0:R.customFonts}),h.jsx(mt,{blocks:(V=(M=r.content)==null?void 0:M.data)==null?void 0:V.blocks,context:r,registeredComponents:n,linkComponent:e.linkComponent})]})}function Sr(e){var a;const t=fo({canTrack:w.getDefaultCanTrack(e.canTrack),content:e.content}),n=function(){var u;return mo(ut(e.content).map(f=>({id:f.testVariationId,testRatio:f.testRatio})),((u=e.content)==null?void 0:u.id)||"")},r=function(){return ut(e.content).map(u=>`.variant-${u.testVariationId} { display: none; } `).join("")},i=function(){var u;return t?{...e.content,testVariationId:(u=e.content)==null?void 0:u.id}:w.handleABTestingSync({item:e.content,canTrack:w.getDefaultCanTrack(e.canTrack)})};return h.jsxs(h.Fragment,{children:[!e.isNestedRender&&w.TARGET!=="reactNative"?h.jsx(Ht,{id:"builderio-init-variants-fns",scriptStr:po(),nonce:e.nonce||""}):null,t?h.jsxs(h.Fragment,{children:[h.jsx(ht,{id:"builderio-variants",styles:r(),nonce:e.nonce||""}),h.jsx(Ht,{id:"builderio-variants-visibility",scriptStr:n(),nonce:e.nonce||""}),(a=ut(e.content))==null?void 0:a.map(s=>h.jsx(Jn,{isNestedRender:e.isNestedRender,nonce:e.nonce,content:s,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,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts},s.testVariationId))]}):null,h.jsx(Jn,{nonce:e.nonce,isNestedRender:e.isNestedRender,content:i(),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,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts})]})}const Fo=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return w.fetchOneEntry({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{w.logger.error("Could not fetch symbol content: ",n)})};async function kr(e){var a,s,u,f,g;const t=function(){return"div"},n=function(){return"div"},r=function(){var v,R;return[e.attributes[qe()],"builder-symbol",(v=e.symbol)!=null&&v.inline?"builder-inline-symbol":void 0,(R=e.symbol)!=null&&R.dynamic||e.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},i=((a=e.symbol)==null?void 0:a.content)||await Fo({symbol:e.symbol,builderContextValue:e.builderContext});return h.jsx("div",{...e.attributes,className:r(),children:h.jsx(Sr,{nonce:e.builderContext.nonce,isNestedRender:!0,apiVersion:e.builderContext.apiVersion,apiKey:e.builderContext.apiKey,context:{...e.builderContext.context,symbolId:(s=e.builderBlock)==null?void 0:s.id},customComponents:Object.values(e.builderComponents),data:{...(u=e.symbol)==null?void 0:u.data,...e.builderContext.localState,...(f=i==null?void 0:i.data)==null?void 0:f.state},canTrack:e.builderContext.canTrack,model:(g=e.symbol)==null?void 0:g.model,content:i,linkComponent:e.builderLinkComponent,blocksWrapper:t(),contentWrapper:n()})})}exports.Blocks=mt;exports.BuilderContext=br;exports.Button=qn;exports.Columns=dr;exports.Content=Sr;exports.Fragment=fr;exports.Image=hr;exports.Section=pr;exports.Symbol=kr;exports.Text=mr;exports.Video=gr;