UNPKG

@builder.io/sdk-vue

Version:
4 lines 184 kB
"use strict";const s=require("vue"),Vo=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Fo=e=>typeof e=="string"&&Vo.has(e.toLowerCase());function oe(e={},t,n){const r={};for(const o in e){if(!e[o]||n&&!o.startsWith(t))continue;const i=n?o.replace(t,""):o;r[i]=e[o]}return r}const Do=s.defineComponent({name:"dynamic-renderer",props:["TagName","attributes","actionAttributes"],data(){return{isEmptyElement:Fo}}}),$=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function Uo(e,t,n,r,o,i){return e.isEmptyElement(e.TagName)?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.TagName),s.mergeProps({key:1},e.attributes,s.toHandlers(e.actionAttributes)),null,16)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[typeof e.TagName=="string"?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.TagName),s.mergeProps({key:0},e.attributes,s.toHandlers(e.actionAttributes)),{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default")]),_:3},16)):(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.TagName),s.mergeProps({key:1},e.attributes,s.toHandlers(e.actionAttributes)),{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default")]),_:3},16))],64))}const sn=$(Do,[["render",Uo]]),Lo=Object.freeze(Object.defineProperty({__proto__:null,default:sn},Symbol.toStringTag,{value:"Module"})),G="vue",Qe=()=>{switch(G){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":case"angular":return"class"}},Wo=s.defineComponent({name:"builder-button",components:{DynamicRenderer:sn},props:["attributes","link","openLinkInNewTab","builderLinkComponent","text"],data(){return{filterAttrs:oe}},methods:{attrs(){return{...oe(this.attributes,"v-on:",!1),[Qe()]:`${this.link?"":"builder-button"} ${this.attributes[Qe()]||""}`,...this.link?{href:this.link,target:this.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}}}}});function Mo(e,t,n,r,o,i){const a=s.resolveComponent("DynamicRenderer");return s.openBlock(),s.createBlock(a,{attributes:e.attrs(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:e.filterAttrs(e.attributes,"v-on:",!0)},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(e.text),1)]),_:1},8,["attributes","TagName","actionAttributes"])}const vr=$(Wo,[["render",Mo]]),Ho=Symbol(),gt={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:"",model:""},key:Ho},Ko=Symbol(),br={Components:{registeredComponents:{}},key:Ko};function zo(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options}}function qo(e,...t){const n=Object.assign({},e);for(const r of t)delete n[r];return n}const ft="[Builder.io]: ",Q={log:(...e)=>console.log(ft,...e),error:(...e)=>console.error(ft,...e),warn:(...e)=>console.warn(ft,...e),debug:(...e)=>console.debug(ft,...e)},kr=(e,t,n)=>{const r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce((o,i)=>o!=null?o[i]:o,e);return r===void 0||r===e?n:r};function K(){return typeof window<"u"&&typeof document<"u"}const Go=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},Cr=e=>e instanceof URLSearchParams?Go(e):e,Sr=e=>typeof e=="string"?e:e instanceof URLSearchParams?e.toString():new URLSearchParams(e).toString();function _o(){return K()&&window.self!==window.top}function X(e){return _o()&&Sr(e||window.location.search).indexOf("builder.frameEditing=")!==-1}const Jo=()=>{if(K()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},Xo=()=>typeof navigator=="object"&&navigator.userAgent||"",wr=()=>{const e=Xo(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||G==="reactNative"}},n=e.match(/Tablet|iPad/i),r=Jo();return{urlPath:r==null?void 0:r.pathname,host:(r==null?void 0:r.host)||(r==null?void 0:r.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},Er=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),Yo=()=>({isEditing:X(),isBrowser:K(),isServer:!K(),getUserAttributes:()=>wr()}),Zo=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e;function an({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(r,o)=>{if(t&&o in t)return t[o];const i=r[o];return typeof i=="object"&&i!==null?an({rootState:i,localState:void 0,rootSetState:n?a=>{r[o]=a,n(r)}:void 0}):i},set:(r,o,i)=>{if(t&&o in t)throw new Error("Writing to local state is not allowed as it is read-only.");return r[o]=i,n==null||n(r),!0}})}const Qo=({code:e,builder:t,context:n,event:r,localState:o,rootSetState:i,rootState:a})=>{const u=Er({builder:t,context:n,event:r,state:an({rootState:a,localState:o,rootSetState:i})});return new Function(...u.map(([d])=>d),e)(...u.map(([,d])=>d))};var O,ei=function(e){function t(l){return 48>l?l===36:58>l?!0:65>l?!1:91>l?!0:97>l?l===95:123>l?!0:170<=l&&No.test(String.fromCharCode(l))}function n(l){return 65>l?l===36:91>l?!0:97>l?l===95:123>l?!0:170<=l&&nr.test(String.fromCharCode(l))}function r(l,c){for(var p=k,f=1,B=0;;){mt.lastIndex=B;var W=mt.exec(p);if(W&&W.index<l)++f,B=W.index+W[0].length;else break}throw p={line:f,ab:l-B},c+=" ("+p.line+":"+p.ab+")",c=new SyntaxError(c),c.j=l,c.X=p,c.o=m,c}function o(l){l=l.split(" ");for(var c=Object.create(null),p=0;p<l.length;p++)c[l[p]]=!0;return function(f){return c[f]||!1}}function i(){this.line=Se,this.ab=m-le}function a(l,c){Be=m,x.C&&(Ot=new i),I=l,d(),ee=c,Le=l.m}function u(){for(var l=m,c=x.va&&x.C&&new i,p=k.charCodeAt(m+=2);m<Ie&&p!==10&&p!==13&&p!==8232&&p!==8233;)++m,p=k.charCodeAt(m);x.va&&x.va(!1,k.slice(l+2,m),l,m,c,x.C&&new i)}function d(){for(;m<Ie;){var l=k.charCodeAt(m);if(l===32)++m;else if(l===13)++m,l=k.charCodeAt(m),l===10&&++m,x.C&&(++Se,le=m);else if(l===10||l===8232||l===8233)++m,x.C&&(++Se,le=m);else if(8<l&&14>l)++m;else if(l===47)if(l=k.charCodeAt(m+1),l===42){l=void 0;var c=x.va&&x.C&&new i,p=m,f=k.indexOf("*/",m+=2);if(f===-1&&r(m-2,"Unterminated comment"),m=f+2,x.C)for(mt.lastIndex=p;(l=mt.exec(k))&&l.index<m;)++Se,le=l.index+l[0].length;x.va&&x.va(!0,k.slice(p+2,f),p,m,c,x.C&&new i)}else if(l===47)u();else break;else if(l===160)++m;else if(5760<=l&&Oo.test(String.fromCharCode(l)))++m;else break}}function g(l){switch(l){case 46:l=k.charCodeAt(m+1),48<=l&&57>=l?N(!0):(++m,a(_n));return;case 40:return++m,a(ce);case 41:return++m,a(re);case 59:return++m,a(ue);case 44:return++m,a(ve);case 91:return++m,a(Ht);case 93:return++m,a(Kt);case 123:return++m,a(He);case 125:return++m,a(Re);case 58:return++m,a(Ke);case 63:return++m,a(Jn);case 48:if(l=k.charCodeAt(m+1),l===120||l===88){m+=2,l=T(16),l===null&&r(L+2,"Expected hexadecimal number"),n(k.charCodeAt(m))&&r(m,"Identifier directly after number"),a(Me,l);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return N(!1);case 34:case 39:m++;for(var c="";;){m>=Ie&&r(L,"Unterminated string constant");var p=k.charCodeAt(m);if(p===l){++m,a(ct,c);break}if(p===92){p=k.charCodeAt(++m);var f=/^[0-7]+/.exec(k.slice(m,m+3));for(f&&(f=f[0]);f&&255<parseInt(f,8);)f=f.slice(0,-1);if(f==="0"&&(f=null),++m,f)Z&&r(m-2,"Octal literal in strict mode"),c+=String.fromCharCode(parseInt(f,8)),m+=f.length-1;else switch(p){case 110:c+=` `;break;case 114:c+="\r";break;case 120:c+=String.fromCharCode(A(2));break;case 117:c+=String.fromCharCode(A(4));break;case 85:c+=String.fromCharCode(A(8));break;case 116:c+=" ";break;case 98:c+="\b";break;case 118:c+="\v";break;case 102:c+="\f";break;case 48:c+="\0";break;case 13:k.charCodeAt(m)===10&&++m;case 10:x.C&&(le=m,++Se);break;default:c+=String.fromCharCode(p)}}else p!==13&&p!==10&&p!==8232&&p!==8233||r(L,"Unterminated string constant"),c+=String.fromCharCode(p),++m}return;case 47:l=k.charCodeAt(m+1),Le?(++m,y()):l===61?v(we,2):v(Xn,1);return;case 37:case 42:k.charCodeAt(m+1)===61?v(we,2):v(Po,1);return;case 124:case 38:c=k.charCodeAt(m+1),c===l?v(l===124?Qn:er,2):c===61?v(we,2):v(l===124?wo:To,1);return;case 94:k.charCodeAt(m+1)===61?v(we,2):v(Eo,1);return;case 43:case 45:c=k.charCodeAt(m+1),c===l?c===45&&k.charCodeAt(m+2)===62&&dt.test(k.slice(ye,m))?(m+=3,u(),d(),b()):v(So,2):c===61?v(we,2):v(Ro,1);return;case 60:case 62:c=k.charCodeAt(m+1),p=1,c===l?(p=l===62&&k.charCodeAt(m+2)===62?3:2,k.charCodeAt(m+p)===61?v(we,p+1):v(xo,p)):c===33&&l===60&&k.charCodeAt(m+2)===45&&k.charCodeAt(m+3)===45?(m+=4,u(),d(),b()):(c===61&&(p=k.charCodeAt(m+2)===61?3:2),v(Bo,p));return;case 61:case 33:k.charCodeAt(m+1)===61?v(Io,k.charCodeAt(m+2)===61?3:2):v(l===61?Yn:Zn,1);return;case 126:return v(Zn,1)}return!1}function b(l){if(l?m=L+1:L=m,x.C&&($t=new i),l)return y();if(m>=Ie)return a(Vt);if(l=k.charCodeAt(m),n(l)||l===92)return ge();if(g(l)===!1){if(l=String.fromCharCode(l),l==="\\"||nr.test(l))return ge();r(m,"Unexpected character '"+l+"'")}}function v(l,c){var p=k.slice(m,m+c);m+=c,a(l,p)}function y(){for(var l,c,p=m;;){m>=Ie&&r(p,"Unterminated regexp");var f=k.charAt(m);if(dt.test(f)&&r(p,"Unterminated regexp"),l)l=!1;else{if(f==="[")c=!0;else if(f==="]"&&c)c=!1;else if(f==="/"&&!c)break;l=f==="\\"}++m}l=k.slice(p,m),++m,(c=z())&&!/^[gmi]*$/.test(c)&&r(p,"Invalid regexp flag");try{var B=new RegExp(l,c)}catch(W){throw W instanceof SyntaxError&&r(p,W.message),W}a(Rn,B)}function T(l,c){for(var p=m,f=0,B=c===void 0?1/0:c,W=0;W<B;++W){var _=k.charCodeAt(m);if(_=97<=_?_-97+10:65<=_?_-65+10:48<=_&&57>=_?_-48:1/0,_>=l)break;++m,f=f*l+_}return m===p||c!==void 0&&m-p!==c?null:f}function N(l){var c=m,p=!1,f=k.charCodeAt(m)===48;l||T(10)!==null||r(c,"Invalid number"),k.charCodeAt(m)===46&&(++m,T(10),p=!0),l=k.charCodeAt(m),(l===69||l===101)&&(l=k.charCodeAt(++m),l!==43&&l!==45||++m,T(10)===null&&r(c,"Invalid number"),p=!0),n(k.charCodeAt(m))&&r(m,"Identifier directly after number"),l=k.slice(c,m);var B;p?B=parseFloat(l):f&&l.length!==1?/[89]/.test(l)||Z?r(c,"Invalid number"):B=parseInt(l,8):B=parseInt(l,10),a(Me,B)}function A(l){return l=T(16,l),l===null&&r(L,"Bad character escape sequence"),l}function z(){Pe=!1;for(var l,c=!0,p=m;;){var f=k.charCodeAt(m);if(t(f))Pe&&(l+=k.charAt(m)),++m;else if(f===92){Pe||(l=k.slice(p,m)),Pe=!0,k.charCodeAt(++m)!==117&&r(m,"Expecting Unicode escape sequence \\uXXXX"),++m,f=A(4);var B=String.fromCharCode(f);B||r(m-1,"Invalid Unicode escape"),(c?n(f):t(f))||r(m-4,"Invalid Unicode escape"),l+=B}else break;c=!1}return Pe?l:k.slice(p,m)}function ge(){var l=z(),c=xe;!Pe&&$o(l)&&(c=Co[l]),a(c,l)}function R(){Nt=L,ye=Be,jt=Ot,b()}function j(l){if(Z=l,m=L,x.C)for(;m<le;)le=k.lastIndexOf(` `,le-2)+1,--Se;d(),b()}function Te(){this.type=null,this.start=L,this.end=null}function ke(){this.start=$t,this.end=null,At&&(this.source=At)}function U(){var l=new Te;return x.C&&(l.X=new ke),x.vb&&(l.sourceFile=x.vb),x.Xa&&(l.j=[L,0]),l}function te(l){var c=new Te;return c.start=l.start,x.C&&(c.X=new ke,c.X.start=l.X.start),x.Xa&&(c.j=[l.j[0],0]),c}function E(l,c){return l.type=c,l.end=ye,x.C&&(l.X.end=jt),x.Xa&&(l.j[1]=ye),l}function ie(l){return l.type==="ExpressionStatement"&&l.la.type==="Literal"&&l.la.value==="use strict"}function V(l){return I===l?(R(),!0):!1}function st(){return!x.fc&&(I===Vt||I===Re||dt.test(k.slice(ye,L)))}function Ce(){V(ue)||st()||se()}function F(l){I===l?R():se()}function se(){r(L,"Unexpected token")}function at(l){l.type!=="Identifier"&&l.type!=="MemberExpression"&&r(l.start,"Assigning to rvalue"),Z&&l.type==="Identifier"&&pt(l.name)&&r(l.start,"Assigning to "+l.name+" in strict mode")}function ne(){(I===Xn||I===we&&ee==="/=")&&b(!0);var l=I,c=U();switch(l){case Ft:case An:R();var p=l===Ft;V(ue)||st()?c.label=null:I!==xe?se():(c.label=ae(),Ce());for(var f=0;f<D.length;++f){var B=D[f];if((c.label===null||B.name===c.label.name)&&(B.kind!==null&&(p||B.kind==="loop")||c.label&&p))break}return f===D.length&&r(c.start,"Unsyntactic "+l.l),E(c,p?"BreakStatement":"ContinueStatement");case $n:return R(),Ce(),E(c,"DebuggerStatement");case Nn:return R(),D.push(zt),c.body=ne(),D.pop(),F(Mt),c.test=Fe(),Ce(),E(c,"DoWhileStatement");case Fn:return R(),D.push(zt),F(ce),I===ue?Tt(c,null):I===Wt?(l=U(),R(),Bn(l,!0),E(l,"VariableDeclaration"),l.fa.length===1&&V(ut)?In(c,l):Tt(c,l)):(l=q(!1,!0),V(ut)?(at(l),In(c,l)):Tt(c,l));case Ut:return R(),Rt(c,!0);case Dn:return R(),c.test=Fe(),c.da=ne(),c.alternate=V(jn)?ne():null,E(c,"IfStatement");case Un:return We||x.Ib||r(L,"'return' outside of function"),R(),V(ue)||st()?c.K=null:(c.K=q(),Ce()),E(c,"ReturnStatement");case Lt:for(R(),c.Qb=Fe(),c.tb=[],F(He),D.push(jo);I!==Re;)I===Dt||I===On?(l=I===Dt,f&&E(f,"SwitchCase"),c.tb.push(f=U()),f.da=[],R(),l?f.test=q():(p&&r(Nt,"Multiple default clauses"),p=!0,f.test=null),F(Ke)):(f||se(),f.da.push(ne()));return f&&E(f,"SwitchCase"),R(),D.pop(),E(c,"SwitchStatement");case Ln:return R(),dt.test(k.slice(ye,L))&&r(ye,"Illegal newline after throw"),c.K=q(),Ce(),E(c,"ThrowStatement");case Wn:return R(),c.block=De(),c.Ea=null,I===Pn&&(l=U(),R(),F(ce),l.Ua=ae(),Z&&pt(l.Ua.name)&&r(l.Ua.start,"Binding "+l.Ua.name+" in strict mode"),F(re),l.body=De(),c.Ea=E(l,"CatchClause")),c.fb=V(Vn)?De():null,c.Ea||c.fb||r(c.start,"Missing catch or finally clause"),E(c,"TryStatement");case Wt:return R(),Bn(c),Ce(),E(c,"VariableDeclaration");case Mt:return R(),c.test=Fe(),D.push(zt),c.body=ne(),D.pop(),E(c,"WhileStatement");case Mn:return Z&&r(L,"'with' in strict mode"),R(),c.object=Fe(),c.body=ne(),E(c,"WithStatement");case He:return De();case ue:return R(),E(c,"EmptyStatement");default:if(p=ee,B=q(),l===xe&&B.type==="Identifier"&&V(Ke)){for(f=0;f<D.length;++f)D[f].name===p&&r(B.start,"Label '"+p+"' is already declared");return D.push({name:p,kind:I.W?"loop":I===Lt?"switch":null}),c.body=ne(),D.pop(),c.label=B,E(c,"LabeledStatement")}return c.la=B,Ce(),E(c,"ExpressionStatement")}}function Fe(){F(ce);var l=q();return F(re),l}function De(l){var c=U(),p=!0,f=!1;for(c.body=[],F(He);!V(Re);){var B=ne();if(c.body.push(B),p&&l&&ie(B)){var W=f;j(f=!0)}p=!1}return f&&!W&&j(!1),E(c,"BlockStatement")}function Tt(l,c){return l.ua=c,F(ue),l.test=I===ue?null:q(),F(ue),l.update=I===re?null:q(),F(re),l.body=ne(),D.pop(),E(l,"ForStatement")}function In(l,c){return l.left=c,l.right=q(),F(re),l.body=ne(),D.pop(),E(l,"ForInStatement")}function Bn(l,c){for(l.fa=[],l.kind="var";;){var p=U();if(p.id=ae(),Z&&pt(p.id.name)&&r(p.id.start,"Binding "+p.id.name+" in strict mode"),p.ua=V(Yn)?q(!0,c):null,l.fa.push(E(p,"VariableDeclarator")),!V(ve))break}}function q(l,c){var p=It(c);if(!l&&I===ve){for(l=te(p),l.xb=[p];V(ve);)l.xb.push(It(c));return E(l,"SequenceExpression")}return p}function It(l){var c=Bt(xt(),-1,l);if(V(Jn)){var p=te(c);p.test=c,p.da=q(!0),F(Ke),p.alternate=q(!0,l),c=E(p,"ConditionalExpression")}return I.Cb?(p=te(c),p.operator=ee,p.left=c,R(),p.right=It(l),at(c),E(p,"AssignmentExpression")):c}function Bt(l,c,p){var f=I.L;if(f!==null&&(!p||I!==ut)&&f>c){var B=te(l);return B.left=l,B.operator=ee,l=I,R(),B.right=Bt(xt(),f,p),f=E(B,l===Qn||l===er?"LogicalExpression":"BinaryExpression"),Bt(f,c,p)}return l}function xt(){if(I.prefix){var l=U(),c=I.$b;return l.operator=ee,Le=l.prefix=!0,R(),l.K=xt(),c?at(l.K):Z&&l.operator==="delete"&&l.K.type==="Identifier"&&r(l.start,"Deleting local variable in strict mode"),E(l,c?"UpdateExpression":"UnaryExpression")}for(c=Ue(lt());I.cc&&!st();)l=te(c),l.operator=ee,l.prefix=!1,l.K=c,at(c),R(),c=E(l,"UpdateExpression");return c}function Ue(l,c){if(V(_n)){var p=te(l);return p.object=l,p.Wa=ae(!0),p.bb=!1,Ue(E(p,"MemberExpression"),c)}return V(Ht)?(p=te(l),p.object=l,p.Wa=q(),p.bb=!0,F(Kt),Ue(E(p,"MemberExpression"),c)):!c&&V(ce)?(p=te(l),p.callee=l,p.arguments=Pt(re,!1),Ue(E(p,"CallExpression"),c)):l}function lt(){switch(I){case Kn:var l=U();return R(),E(l,"ThisExpression");case xe:return ae();case Me:case ct:case Rn:return l=U(),l.value=ee,l.raw=k.slice(L,Be),R(),E(l,"Literal");case zn:case qn:case Gn:return l=U(),l.value=I.$a,l.raw=I.l,R(),E(l,"Literal");case ce:l=$t;var c=L;R();var p=q();return p.start=c,p.end=Be,x.C&&(p.X.start=l,p.X.end=Ot),x.Xa&&(p.j=[c,Be]),F(re),p;case Ht:return l=U(),R(),l.elements=Pt(Kt,!0,!0),E(l,"ArrayExpression");case He:for(l=U(),c=!0,p=!1,l.h=[],R();!V(Re);){if(c)c=!1;else if(F(ve),x.sb&&V(Re))break;var f={key:I===Me||I===ct?lt():ae(!0)},B=!1;if(V(Ke)){f.value=q(!0);var W=f.kind="init"}else f.key.type!=="Identifier"||f.key.name!=="get"&&f.key.name!=="set"?se():(B=p=!0,W=f.kind=f.key.name,f.key=I===Me||I===ct?lt():ae(!0),I!==ce&&se(),f.value=Rt(U(),!1));if(f.key.type==="Identifier"&&(Z||p))for(var _=0;_<l.h.length;++_){var Ae=l.h[_];if(Ae.key.name===f.key.name){var qt=W===Ae.kind||B&&Ae.kind==="init"||W==="init"&&(Ae.kind==="get"||Ae.kind==="set");qt&&!Z&&W==="init"&&Ae.kind==="init"&&(qt=!1),qt&&r(f.key.start,"Redefinition of property")}}l.h.push(f)}return E(l,"ObjectExpression");case Ut:return l=U(),R(),Rt(l,!1);case Hn:return l=U(),R(),l.callee=Ue(lt(),!0),l.arguments=V(ce)?Pt(re,!1):ko,E(l,"NewExpression")}se()}function Rt(l,c){I===xe?l.id=ae():c?se():l.id=null,l.oa=[];var p=!0;for(F(ce);!V(re);)p?p=!1:F(ve),l.oa.push(ae());p=We;var f=D;if(We=!0,D=[],l.body=De(!0),We=p,D=f,Z||l.body.body.length&&ie(l.body.body[0])){for(p=l.id?-1:0;p<l.oa.length;++p)if(f=0>p?l.id:l.oa[p],(tr(f.name)||pt(f.name))&&r(f.start,"Defining '"+f.name+"' in strict mode"),0<=p)for(var B=0;B<p;++B)f.name===l.oa[B].name&&r(f.start,"Argument name clash in strict mode")}return E(l,c?"FunctionDeclaration":"FunctionExpression")}function Pt(l,c,p){for(var f=[],B=!0;!V(l);){if(B)B=!1;else if(F(ve),c&&x.sb&&V(l))break;f.push(p&&I===ve?null:q(!0))}return f}function ae(l){var c=U();return l&&x.yb==="everywhere"&&(l=!1),I===xe?(!l&&(x.yb&&Ao(ee)||Z&&tr(ee))&&k.slice(L,Be).indexOf("\\")===-1&&r(L,"The keyword '"+ee+"' is reserved"),c.name=ee):l&&I.l?c.name=I.l:se(),Le=!1,R(),E(c,"Identifier")}e.version="0.5.0";var x,k="",Ie,At;e.parse=function(l,c){k=String(l),Ie=k.length,x=c||{};for(var p in xn)Object.prototype.hasOwnProperty.call(x,p)||(x[p]=xn[p]);for(At=x.sourceFile,Se=1,m=le=0,Le=!0,d(),p=x.dc,Nt=ye=m,x.C&&(jt=new i),We=Z=!1,D=[],b(),l=p||U(),c=!0,p||(l.body=[]);I!==Vt;)p=ne(),l.body.push(p),c&&ie(p)&&j(!0),c=!1;return E(l,"Program")};var xn={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},m=0,L=0,Be=0,$t,Ot,I,ee,Le,Se,le,Nt=0,ye=0,jt,We,D,Z,ko=[],Me={type:"num"},Rn={type:"regexp"},ct={type:"string"},xe={type:"name"},Vt={type:"eof"},Ft={l:"break"},Dt={l:"case",m:!0},Pn={l:"catch"},An={l:"continue"},$n={l:"debugger"},On={l:"default"},Nn={l:"do",W:!0},jn={l:"else",m:!0},Vn={l:"finally"},Fn={l:"for",W:!0},Ut={l:"function"},Dn={l:"if"},Un={l:"return",m:!0},Lt={l:"switch"},Ln={l:"throw",m:!0},Wn={l:"try"},Wt={l:"var"},Mt={l:"while",W:!0},Mn={l:"with"},Hn={l:"new",m:!0},Kn={l:"this"},zn={l:"null",$a:null},qn={l:"true",$a:!0},Gn={l:"false",$a:!1},ut={l:"in",L:7,m:!0},Co={break:Ft,case:Dt,catch:Pn,continue:An,debugger:$n,default:On,do:Nn,else:jn,finally:Vn,for:Fn,function:Ut,if:Dn,return:Un,switch:Lt,throw:Ln,try:Wn,var:Wt,while:Mt,with:Mn,null:zn,true:qn,false:Gn,new:Hn,in:ut,instanceof:{l:"instanceof",L:7,m:!0},this:Kn,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Ht={type:"[",m:!0},Kt={type:"]"},He={type:"{",m:!0},Re={type:"}"},ce={type:"(",m:!0},re={type:")"},ve={type:",",m:!0},ue={type:";",m:!0},Ke={type:":",m:!0},_n={type:"."},Jn={type:"?",m:!0},Xn={L:10,m:!0},Yn={Cb:!0,m:!0},we={Cb:!0,m:!0},So={cc:!0,prefix:!0,$b:!0},Zn={prefix:!0,m:!0},Qn={L:1,m:!0},er={L:2,m:!0},wo={L:3,m:!0},Eo={L:4,m:!0},To={L:5,m:!0},Io={L:6,m:!0},Bo={L:7,m:!0},xo={L:8,m:!0},Ro={L:9,prefix:!0,m:!0},Po={L:10,m:!0},Ao=o("class enum extends super const export import"),tr=o("implements interface let package private protected public static yield"),pt=o("eval arguments"),$o=o("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"),Oo=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,nr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),No=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),dt=/[\n\r\u2028\u2029]/,mt=/\r\n|[\n\r\u2028\u2029]/g,Pe,zt={kind:"loop"},jo={kind:"switch"}},Qt=Qt=typeof globalThis>"u"?void 0:globalThis;ei(Qt.j||(Qt.j={}));function h(e,t){typeof e=="string"&&(e=Oe(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),o;for(o in e)r[o]=o==="body"?e[o].slice():e[o];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 i,a;for(a in this)typeof this[a]=="function"&&(i=a.match(e))&&(this.rb[i[1]]=this[a].bind(this));this.N=tn(this,this.ra,null),this.Na=this.N.object,this.ra=Oe(this.ba.join(` `),"polyfills"),this.ba=void 0,bt(this.ra),i=new S(this.ra,this.N),i.done=!1,this.o=[i],this.Eb(),this.value=void 0,this.ra=r,i=new S(this.ra,this.N),i.done=!1,this.o.length=0,this.o[0]=i}var rr={C:!0,kc:5},ln={configurable:!0,enumerable:!0,writable:!1},C={configurable:!0,enumerable:!1,writable:!0},Y={configurable:!0,enumerable:!1,writable:!1},ze={configurable:!1,enumerable:!1,writable:!1},or={configurable:!1,enumerable:!0,writable:!0},Tr={STEP_ERROR:!0},je={SCOPE_REFERENCE:!0},et={VALUE_IN_DESCRIPTOR:!0},$e={REGEXP_TIMEOUT:!0},ir=[],de=null,Xe=null,be=typeof globalThis>"u"?void 0:globalThis,ti=["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 cn(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ye(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function bt(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 o=e[r];o&&typeof o=="object"&&bt(o,t,n)}}h.prototype.REGEXP_MODE=2;h.prototype.REGEXP_THREAD_TIMEOUT=1e3;h.prototype.POLYFILL_TIMEOUT=1e3;O=h.prototype;O.P=!1;O.Ka=!1;O.Kb=0;O.ic=0;function Oe(e,t){var n={},r;for(r in rr)n[r]=rr[r];return n.sourceFile=t,be.j.parse(e,n)}O.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=Oe(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");tt(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};O.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&&xr(this,n,n.interval);var r=new S(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 o=Xe;Xe=this;try{var i=this.rb[r.type](e,n,r)}catch(a){if(a!==Tr)throw this.value!==a&&(this.value=void 0),a}finally{Xe=o}if(i&&e.push(i),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};O.Eb=function(){for(;!this.za&&this.lb(););return this.za};function ni(e,t){e.g(t,"NaN",NaN,ze),e.g(t,"Infinity",1/0,ze),e.g(t,"undefined",void 0,ze),e.g(t,"window",t,ln),e.g(t,"this",t,ze),e.g(t,"self",t),e.M=new P(null),e.Z=new P(e.M),ri(e,t),oi(e,t),t.xa=e.M,e.g(t,"constructor",e.v,C),ii(e,t),si(e,t),ai(e,t),li(e,t),ci(e,t),ui(e,t),pi(e,t),di(e,t),mi(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,C),e.g(t,"parseInt",e.i(parseInt,!1),C),e.g(t,"parseFloat",e.i(parseFloat,!1),C),e.g(t,"isNaN",e.i(isNaN,!1),C),e.g(t,"isFinite",e.i(isFinite,!1),C);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],o=0;o<r.length;o++)n=function(i){return function(a){try{return i(a)}catch(u){w(e,e.Gb,u.message)}}}(r[o][0]),e.g(t,r[o][1],e.i(n,!1),C);n=function(i){return sr(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),C),n=function(i){return sr(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),C),n=function(i){ar(e,i)},e.g(t,"clearTimeout",e.i(n,!1),C),n=function(i){ar(e,i)},e.g(t,"clearInterval",e.i(n,!1),C),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)}O.Wb=0;function ri(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(o){var i=arguments.length?String(arguments[arguments.length-1]):"",a=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(a){a=a.split(/\s*,\s*/);for(var u=0;u<a.length;u++){var d=a[u];n.test(d)||w(e,e.T,"Invalid function argument: "+d)}a=a.join(", ")}try{var g=Oe("(function("+a+") {"+i+"})","function"+e.Wb++)}catch(b){w(e,e.T,"Invalid code: "+b.message)}return g.body.length!==1&&w(e,e.T,"Invalid code in function body"),dn(e,g.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,C),e.g(e.O,"prototype",e.Z,C),e.g(e.Z,"constructor",e.O,C),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,Y),e.Z.H="Function",r=function(o,i){var a=e.o[e.o.length-1];a.U=this,a.B=o,a.F=[],i!=null&&(i instanceof P?a.F=Ir(e,i):w(e,e.j,"CreateListFromArrayLike called on non-object")),a.eb=!1},M(e,e.O,"apply",r),r=function(o){var i=e.o[e.o.length-1];i.U=this,i.B=o,i.F=[];for(var a=1;a<arguments.length;a++)i.F.push(arguments[a]);i.eb=!1},M(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)},M(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),C),r=function(){return this.valueOf()},M(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),C)}function oi(e,t){function n(o){o!=null||w(e,e.j,"Cannot convert '"+o+"' to object")}var r=function(o){if(o==null)return fe(e)?this:e.s(e.M);if(!(o instanceof P)){var i=e.s(me(e,o));return i.data=o,i}return o};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,C),e.g(e.M,"constructor",e.v,C),e.g(t,"Object",e.v,C),r=function(o){return n(o),pe(e,Object.getOwnPropertyNames(o instanceof P?o.h:o))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),C),r=function(o){return n(o),o instanceof P&&(o=o.h),pe(e,Object.keys(o))},e.g(e.v,"keys",e.i(r,!1),C),r=function(o){return o===null?e.s(null):(o instanceof P||w(e,e.j,"Object prototype may only be an Object or null, not "+o),e.s(o))},e.g(e.v,"create",e.i(r,!1),C),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(o,i,a){return i=String(i),o instanceof P||w(e,e.j,"Object.defineProperty called on non-object: "+o),a instanceof P||w(e,e.j,"Property description must be an object"),!o.preventExtensions||i in o.h||w(e,e.j,"Can't define property '"+i+"', object is not extensible"),e.g(o,i,et,a.h),o},e.g(e.v,"defineProperty",e.i(r,!1),C),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(o,i){if(o instanceof P||w(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+o),i=String(i),i in o.h){var a=Object.getOwnPropertyDescriptor(o.h,i),u=o.V[i];return o=o.Y[i],i=e.s(e.M),u||o?(e.g(i,"get",u),e.g(i,"set",o)):(e.g(i,"value",a.value),e.g(i,"writable",a.writable)),e.g(i,"configurable",a.configurable),e.g(i,"enumerable",a.enumerable),i}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),C),r=function(o){return n(o),me(e,o)},e.g(e.v,"getPrototypeOf",e.i(r,!1),C),r=function(o){return!!o&&!o.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),C),r=function(o){return o instanceof P&&(o.preventExtensions=!0),o},e.g(e.v,"preventExtensions",e.i(r,!1),C),M(e,e.v,"toString",P.prototype.toString),M(e,e.v,"toLocaleString",P.prototype.toString),M(e,e.v,"valueOf",P.prototype.valueOf),r=function(o){return n(this),this instanceof P?String(o)in this.h:this.hasOwnProperty(o)},M(e,e.v,"hasOwnProperty",r),r=function(o){return n(this),this instanceof P?Object.prototype.propertyIsEnumerable.call(this.h,o):this.propertyIsEnumerable(o)},M(e,e.v,"propertyIsEnumerable",r),r=function(o){for(;;){if(o=me(e,o),!o)return!1;if(o===this)return!0}},M(e,e.v,"isPrototypeOf",r)}function ii(e,t){var n=function(r){var o=fe(e)?this:Ne(e),i=arguments[0];if(arguments.length===1&&typeof i=="number")isNaN(cn(i))&&w(e,e.ob,"Invalid array length: "+i),o.h.length=i;else{for(i=0;i<arguments.length;i++)o.h[i]=arguments[i];o.h.length=i}return o};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,C),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),C),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 si(e,t){var n=function(r){return r=arguments.length?be.String(r):"",fe(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,C),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),C),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)M(e,e.J,t[n],String.prototype[t[n]]);n=function(r,o,i){o=e.R(o),i=e.R(i);try{return String(this).localeCompare(r,o,i)}catch(a){w(e,e.D,"localeCompare: "+a.message)}},M(e,e.J,"localeCompare",n),n=function(r,o,i){var a=String(this);if(o=o?Number(o):void 0,H(e,r,e.I)&&(r=r.data,Ge(e,r,i),e.REGEXP_MODE===2)){if(de)r=qe(e,"string.split(separator, limit)",{string:a,separator:r,limit:o},r,i),r!==$e&&i(pe(e,r));else{var u=e.ha(),d=_e(e,r,u,i);u.onmessage=function(g){clearTimeout(d),i(pe(e,g.data))},u.postMessage(["split",a,r,o])}return}r=a.split(r,o),i(pe(e,r))},Je(e,e.J,"split",n),n=function(r,o){var i=String(this);if(r=H(e,r,e.I)?r.data:new RegExp(r),Ge(e,r,o),e.REGEXP_MODE===2)if(de)r=qe(e,"string.match(regexp)",{string:i,regexp:r},r,o),r!==$e&&o(r&&pe(e,r));else{var a=e.ha(),u=_e(e,r,a,o);a.onmessage=function(d){clearTimeout(u),o(d.data&&pe(e,d.data))},a.postMessage(["match",i,r])}else r=i.match(r),o(r&&pe(e,r))},Je(e,e.J,"match",n),n=function(r,o){var i=String(this);if(H(e,r,e.I)?r=r.data:r=new RegExp(r),Ge(e,r,o),e.REGEXP_MODE===2)if(de)r=qe(e,"string.search(regexp)",{string:i,regexp:r},r,o),r!==$e&&o(r);else{var a=e.ha(),u=_e(e,r,a,o);a.onmessage=function(d){clearTimeout(u),o(d.data)},a.postMessage(["search",i,r])}else o(i.search(r))},Je(e,e.J,"search",n),n=function(r,o,i){var a=String(this);if(o=String(o),H(e,r,e.I)&&(r=r.data,Ge(e,r,i),e.REGEXP_MODE===2)){if(de)r=qe(e,"string.replace(substr, newSubstr)",{string:a,substr:r,newSubstr:o},r,i),r!==$e&&i(r);else{var u=e.ha(),d=_e(e,r,u,i);u.onmessage=function(g){clearTimeout(d),i(g.data)},u.postMessage(["replace",a,r,o])}return}i(a.replace(r,o))},Je(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 ai(e,t){e.mb=e.i(function(n){return n=be.Boolean(n),fe(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,C)}function li(e,t){var n=function(r){return r=arguments.length?be.Number(r):0,fe(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,C),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]],ze);n=function(r){try{return Number(this).toExponential(r)}catch(o){w(e,e.D,o.message)}},M(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(o){w(e,e.D,o.message)}},M(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(o){w(e,e.D,o.message)}},M(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(o){w(e,e.D,o.message)}},M(e,e.aa,"toString",n),n=function(r,o){r=r?e.R(r):void 0,o=o?e.R(o):void 0;try{return Number(this).toLocaleString(r,o)}catch(i){w(e,e.D,"toLocaleString: "+i.message)}},M(e,e.aa,"toLocaleString",n)}function ci(e,t){var n=function(o,i){if(!fe(e))return be.Date();var a=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(be.Date,a)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,C),e.g(e.$,"now",e.i(Date.now,!1),C),e.g(e.$,"parse",e.i(Date.parse,!1),C),e.g(e.$,"UTC",e.i(Date.UTC,!1),C),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(o){return function(i){var a=this.data;a instanceof Date||w(e,e.j,o+" not called on a Date");for(var u=[],d=0;d<arguments.length;d++)u[d]=e.R(arguments[d]);return a[o].apply(a,u)}}(t[r]),M(e,e.$,t[r],n)}function ui(e,t){var n=function(r,o){if(fe(e))var i=this;else{if(o===void 0&&H(e,r,e.I))return r;i=e.s(e.Ma)}r=r===void 0?"":String(r),o=o?String(o):"",/^[gmi]*$/.test(o)||w(e,e.T,"Invalid regexp flag: "+o);try{var a=new be.RegExp(r,o)}catch(u){w(e,e.T,u.message)}return un(e,i,a),i};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,C),e.g(e.I.h.prototype,"global",void 0,Y),e.g(e.I.h.prototype,"ignoreCase",void 0,Y),e.g(e.I.h.prototype,"multiline",void 0,Y),e.g(e.I.h.prototype,"source","(?:)",Y),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,o){function i(b){if(b){var v=pe(e,b);return e.g(v,"index",b.index),e.g(v,"input",b.input),v}return null}var a=this.data;if(r=String(r),a.lastIndex=Number(e.G(this,"lastIndex")),Ge(e,a,o),e.REGEXP_MODE===2)if(de)r=qe(e,"regexp.exec(string)",{string:r,regexp:a},a,o),r!==$e&&(e.g(this,"lastIndex",a.lastIndex),o(i(r)));else{var u=e.ha(),d=_e(e,a,u,o),g=this;u.onmessage=function(b){clearTimeout(d),e.g(g,"lastIndex",b.data[1]),o(i(b.data[0]))},u.postMessage(["exec",a,a.lastIndex,r])}else r=a.exec(r),e.g(this,"lastIndex",a.lastIndex),o(i(r))},Je(e,e.I,"exec",n)}function pi(e,t){function n(r){var o=e.i(function(i){var a=fe(e)?this:e.Aa(o);return en(e,a,i),a},!0);return e.g(o,"prototype",e.Aa(e.D),C),e.g(o.h.prototype,"name",r,C),e.g(t,r,o,C),o}e.D=e.i(function(r){var o=fe(e)?this:e.Aa(e.D);return en(e,o,r),o},!0),e.g(t,"Error",e.D,C),e.g(e.D.h.prototype,"message","",C),e.g(e.D.h.prototype,"name","Error",C),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function di(e,t){var n=e.s(e.M);e.g(t,"Math",n,C);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]],Y);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),C)}function mi(e,t){var n=e.s(e.M);e.g(t,"JSON",n,C),t=function(r){try{var o=JSON.parse(String(r))}catch(i){w(e,e.T,i.message)}return e.Ia(o)},e.g(n,"parse",e.i(t,!1)),t=function(r,o,i){o&&o.H==="Function"?w(e,e.j,"Function replacer on JSON.stringify not supported"):o&&o.H==="Array"?(o=Ir(e,o),o=o.filter(function(u){return typeof u=="string"||typeof u=="number"})):o=null,typeof i!="string"&&typeof i!="number"&&(i=void 0),r=e.R(r);try{var a=JSON.stringify(r,o,i)}catch(u){w(e,e.j,u.message)}return a},e.g(n,"stringify",e.i(t,!1))}function H(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=me(e,t);t;){if(t===n)return!0;t=t.xa}return!1}