PageSourceSearch

https://preactjs.com/assets/repl.worker-DdqVQ-hK.js

js preactjs.com collected 2026-10-02 02:12:20 UTC 732,430 bytes, 207 lines download raw bytes

1(function(){"use strict";var _d={},xd={},bd={},yc={exports:{}},Ed;function nt(){if(Ed)return yc.exports;Ed=1;var e=yc.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();return typeof __g=="number"&&(__g=e),yc.exports}var _c,kd;function ln(){if(kd)return _c;kd=1;var e={}.hasOwnProperty;return _c=function(t,n){return e.call(t,n)},_c}var xc,Sd;function rt(){return Sd||(Sd=1,xc=function(e){try{return!!e()}catch{return!0}}),xc}var bc,Id;function Rt(){return Id||(Id=1,bc=!rt()(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})),bc}var Ec={exports:{}},wd;function It(){if(wd)return Ec.exports;wd=1;var e=Ec.exports={version:"2.6.12"};return typeof __e=="number"&&(__e=e),Ec.exports}var kc={},Sc,Ad;function st(){return Ad||(Ad=1,Sc=function(e){return typeof e=="object"?e!==null:typeof e=="function"}),Sc}var Ic,Pd;function it(){if(Pd)return Ic;Pd=1;var e=st();return Ic=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t},Ic}var wc,Td;function Ac(){if(Td)return wc;Td=1;var e=st(),t=nt().document,n=e(t)&&e(t.createElement);return wc=function(r){return n?t.createElement(r):{}},wc}var Pc,Cd;function Rd(){return Cd||(Cd=1,Pc=!Rt()&&!rt()(function(){return Object.defineProperty(Ac()("div"),"a",{get:function(){return 7}}).a!=7})),Pc}var Tc,Nd;function lr(){if(Nd)return Tc;Nd=1;var e=st();return Tc=function(t,n){if(!e(t))return t;var r,s;if(n&&typeof(r=t.toString)=="function"&&!e(s=r.call(t))||typeof(r=t.valueOf)=="function"&&!e(s=r.call(t))||!n&&typeof(r=t.toString)=="function"&&!e(s=r.call(t)))return s;throw TypeError("Can't convert object to primitive value")},Tc}var Od;function Nt(){if(Od)return kc;Od=1;var e=it(),t=Rd(),n=lr(),r=Object.defineProperty;return kc.f=Rt()?Object.defineProperty:function(i,o,c){if(e(i),o=n(o,!0),e(c),t)try{return r(i,o,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(i[o]=c.value),i},kc}var Cc,$d;function Dr(){return $d||($d=1,Cc=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),Cc}var Rc,Dd;function hn(){if(Dd)return Rc;Dd=1;var e=Nt(),t=Dr();return Rc=Rt()?function(n,r,s){return e.f(n,r,t(1,s))}:function(n,r,s){return n[r]=s,n},Rc}var Nc={exports:{}},Oc,Ld;function Lr(){if(Ld)return Oc;Ld=1;var e=0,t=Math.random();return Oc=function(n){return"Symbol(".concat(n===void 0?"":n,")_",(++e+t).toString(36))},Oc}var $c={exports:{}},Dc,Md;function Mr(){return Md||(Md=1,Dc=!1),Dc}var Fd;function ya(){if(Fd)return $c.exports;Fd=1;var e=It(),t=nt(),n="__core-js_shared__",r=t[n]||(t[n]={});return($c.exports=function(s,i){return r[s]||(r[s]=i!==void 0?i:{})})("versions",[]).push({version:e.version,mode:Mr()?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"}),$c.exports}var Lc,qd;function P0(){return qd||(qd=1,Lc=ya()("native-function-to-string",Function.toString)),Lc}var jd;function Zt(){if(jd)return Nc.exports;jd=1;var e=nt(),t=hn(),n=ln(),r=Lr()("src"),s=P0(),i="toString",o=(""+s).split(i);return It().inspectSource=function(c){return s.call(c)},(Nc.exports=function(c,u,l,h){var p=typeof l=="function";p&&(n(l,"name")||t(l,"name",u)),c[u]!==l&&(p&&(n(l,r)||t(l,r,c[u]?""+c[u]:o.join(String(u)))),c===e?c[u]=l:h?c[u]?c[u]=l:t(c,u,l):(delete c[u],t(c,u,l)))})(Function.prototype,i,function(){return typeof this=="function"&&this[r]||s.call(this)}),Nc.exports}var Mc,Bd;function Nn(){return Bd||(Bd=1,Mc=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}),Mc}var Fc,Vd;function On(){if(Vd)return Fc;Vd=1;var e=Nn();return Fc=function(t,n,r){if(e(t),n===void 0)return t;switch(r){case 1:return function(s){return t.call(n,s)};case 2:return function(s,i){return t.call(n,s,i)};case 3:return function(s,i,o){return t.call(n,s,i,o)}}return function(){return t.apply(n,arguments)}},Fc}var qc,zd;function ce(){if(zd)return qc;zd=1;var e=nt(),t=It(),n=hn(),r=Zt(),s=On(),i="prototype",o=function(c,u,l){var h=c&o.F,p=c&o.G,d=c&o.S,_=c&o.P,k=c&o.B,g=p?e:d?e[u]||(e[u]={}):(e[u]||{})[i],y=p?t:t[u]||(t[u]={}),E=y[i]||(y[i]={}),I,v,x,b;p&&(l=u);for(I in l)v=!h&&g&&g[I]!==void 0,x=(v?g:l)[I],b=k&&v?s(x,e):_&&typeof x=="function"?s(Function.call,x):x,g&&r(g,I,x,c&o.U),y[I]!=x&&n(y,I,b),_&&E[I]!=x&&(E[I]=x)};return e.core=t,o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,qc=o,qc}var jc={exports:{}},Ud;function hr(){if(Ud)return jc.exports;Ud=1;var e=Lr()("meta"),t=st(),n=ln(),r=Nt().f,s=0,i=Object.isExtensible||function(){return!0},o=!rt()(function(){return i(Object.preventExtensions({}))}),c=function(d){r(d,e,{value:{i:"O"+ ++s,w:{}}})},u=function(d,_){if(!t(d))return typeof d=="symbol"?d:(typeof d=="str
1ing"?"S":"P")+d;if(!n(d,e)){if(!i(d))return"F";if(!_)return"E";c(d)}return d[e].i},l=function(d,_){if(!n(d,e)){if(!i(d))return!0;if(!_)return!1;c(d)}return d[e].w},h=function(d){return o&&p.NEED&&i(d)&&!n(d,e)&&c(d),d},p=jc.exports={KEY:e,NEED:!1,fastKey:u,getWeak:l,onFreeze:h};return jc.exports}var Bc={exports:{}},Gd;function pt(){if(Gd)return Bc.exports;Gd=1;var e=ya()("wks"),t=Lr(),n=nt().Symbol,r=typeof n=="function",s=Bc.exports=function(i){return e[i]||(e[i]=r&&n[i]||(r?n:t)("Symbol."+i))};return s.store=e,Bc.exports}var Vc,Wd;function xs(){if(Wd)return Vc;Wd=1;var e=Nt().f,t=ln(),n=pt()("toStringTag");return Vc=function(r,s,i){r&&!t(r=i?r:r.prototype,n)&&e(r,n,{configurable:!0,value:s})},Vc}var zc={},Hd;function Uc(){return Hd||(Hd=1,zc.f=pt()),zc}var Gc,Kd;function Xd(){if(Kd)return Gc;Kd=1;var e=nt(),t=It(),n=Mr(),r=Uc(),s=Nt().f;return Gc=function(i){var o=t.Symbol||(t.Symbol=n?{}:e.Symbol||{});i.charAt(0)!="_"&&!(i in o)&&s(o,i,{value:r.f(i)})},Gc}var Wc,Qd;function tr(){if(Qd)return Wc;Qd=1;var e={}.toString;return Wc=function(t){return e.call(t).slice(8,-1)},Wc}var Hc,Jd;function oi(){if(Jd)return Hc;Jd=1;var e=tr();return Hc=Object("z").propertyIsEnumerable(0)?Object:function(t){return e(t)=="String"?t.split(""):Object(t)},Hc}var Kc,Yd;function nr(){return Yd||(Yd=1,Kc=function(e){if(e==null)throw TypeError("Can't call method on  "+e);return e}),Kc}var Xc,Zd;function fn(){if(Zd)return Xc;Zd=1;var e=oi(),t=nr();return Xc=function(n){return e(t(n))},Xc}var Qc,e1;function $n(){if(e1)return Qc;e1=1;var e=Math.ceil,t=Math.floor;return Qc=function(n){return isNaN(n=+n)?0:(n>0?t:e)(n)},Qc}var Jc,t1;function _t(){if(t1)return Jc;t1=1;var e=$n(),t=Math.min;return Jc=function(n){return n>0?t(e(n),9007199254740991):0},Jc}var Yc,n1;function Fr(){if(n1)return Yc;n1=1;var e=$n(),t=Math.max,n=Math.min;return Yc=function(r,s){return r=e(r),r<0?t(r+s,0):n(r,s)},Yc}var Zc,r1;function _a(){if(r1)return Zc;r1=1;var e=fn(),t=_t(),n=Fr();return Zc=function(r){return function(s,i,o){var c=e(s),u=t(c.length),l=n(o,u),h;if(r&&i!=i){for(;u>l;)if(h=c[l++],h!=h)return!0}else for(;u>l;l++)if((r||l in c)&&c[l]===i)return r||l||0;return!r&&-1}},Zc}var eu,s1;function tu(){if(s1)return eu;s1=1;var e=ya()("keys"),t=Lr();return eu=function(n){return e[n]||(e[n]=t(n))},eu}var nu,i1;function a1(){if(i1)return nu;i1=1;var e=ln(),t=fn(),n=_a()(!1),r=tu()("IE_PROTO");return nu=function(s,i){var o=t(s),c=0,u=[],l;for(l in o)l!=r&&e(o,l)&&u.push(l);for(;i.length>c;)e(o,l=i[c++])&&(~n(u,l)||u.push(l));return u},nu}var ru,o1;function su(){return o1||(o1=1,ru="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")),ru}var iu,c1;function qr(){if(c1)return iu;c1=1;var e=a1(),t=su();return iu=Object.keys||function(r){return e(r,t)},iu}var au={},u1;function xa(){return u1||(u1=1,au.f=Object.getOwnPropertySymbols),au}var ou={},l1;function ci(){return l1||(l1=1,ou.f={}.propertyIsEnumerable),ou}var cu,h1;function T0(){if(h1)return cu;h1=1;var e=qr(),t=xa(),n=ci();return cu=function(r){var s=e(r),i=t.f;if(i)for(var o=i(r),c=n.f,u=0,l;o.length>u;)c.call(r,l=o[u++])&&s.push(l);return s},cu}var uu,f1;function ba(){if(f1)return uu;f1=1;var e=tr();return uu=Array.isArray||function(n){return e(n)=="Array"},uu}var lu,p1;function Ut(){if(p1)return lu;p1=1;var e=nr();return lu=function(t){return Object(e(t))},lu}var hu,d1;function m1(){if(d1)return hu;d1=1;var e=Nt(),t=it(),n=qr();return hu=Rt()?Object.defineProperties:function(s,i){t(s);for(var o=n(i),c=o.length,u=0,l;c>u;)e.f(s,l=o[u++],i[l]);return s},hu}var fu,g1;function pu(){if(g1)return fu;g1=1;var e=nt().document;return fu=e&&e.documentElement,fu}var du,v1;function jr(){if(v1)return du;v1=1;var e=it(),t=m1(),n=su(),r=tu()("IE_PROTO"),s=function(){},i="prototype",o=function(){var c=Ac()("iframe"),u=n.length,l="<",h=">",p;for(c.style.display="none",pu().appendChild(c),c.src="javascript:",p=c.contentWindow.document,p.open(),p.write(l+"script"+h+"document.F=Object"+l+"/script"+h),p.close(),o=p.F;u--;)delete o[i][n[u]];return o()};return du=Object.create||function(u,l){var h;return u!==null?(s[i]=e(u),h=new s,s[i]=null,h[r]=u):h=o(),l===void 0?h:t(h,l)},du}var mu={},gu={},y1;function Br(){if(y1)return gu;y1=1;var e=a1(),t=su().concat("length","prototype");return gu.f=Object.getOwnPropertyNames||function(r){return e(r,t)},gu}var _1;function x1(){if(_1)return mu;_1=1;var e=fn(),t=Br().f,n={}.toString,r=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(i){try{return t(i)}catch{return r.slice()}};return mu.f=function(o){return r&&n.call(o)=="[object Window]"?s(o):t(e(o))},mu}var vu={},b1;function Dn(){if(b1)return vu;b1=1;var e=ci(),t=Dr(),n=fn(),r=lr(),s=ln(),i=Rd(),o=Object.getOwnPropertyDescriptor;return vu.f=Rt()?o:function(u,l){if(u=n(u),l=r(l,!0),i)try{return o(u,l)}catch{}if(s(u,l))return t(!e.f.call(u,l),u[l])},vu}var E1;function C0(){if(E1)return bd;E1=1;var e=nt(),t=ln(),n=Rt(),r=ce(),s=Zt(),i=hr().KEY,o=rt(),c=ya(),u=xs(),l=Lr(),h=pt(),p=Uc(),d=Xd(),_=T0(),k=ba(),g=it(),y=st(),E=Ut(),I=fn(),v=lr(),x=Dr(),b=jr(),A=x1(),P=Dn(),F=xa(),N=Nt(),z=qr(),B=P.f,R=N.f,C=A.f,D=e.Symbol,W=e.JSON,J=W&&W.stringify,j="prototype",$=h("_hidden"),M=h("toPrimitive"),X={}.propertyIsEnumerable,U=c("symbol-registry"),H=c("symbols"),ae=c("op-symbol
1s"),te=Object[j],q=typeof D=="function"&&!!F.f,K=e.QObject,L=!K||!K[j]||!K[j].findChild,O=n&&o(function(){return b(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a!=7})?function(xe,le,ge){var Ae=B(te,le);Ae&&delete te[le],R(xe,le,ge),Ae&&xe!==te&&R(te,le,Ae)}:R,V=function(xe){var le=H[xe]=b(D[j]);return le._k=xe,le},Q=q&&typeof D.iterator=="symbol"?function(xe){return typeof xe=="symbol"}:function(xe){return xe instanceof D},Z=function(le,ge,Ae){return le===te&&Z(ae,ge,Ae),g(le),ge=v(ge,!0),g(Ae),t(H,ge)?(Ae.enumerable?(t(le,$)&&le[$][ge]&&(le[$][ge]=!1),Ae=b(Ae,{enumerable:x(0,!1)})):(t(le,$)||R(le,$,x(1,{})),le[$][ge]=!0),O(le,ge,Ae)):R(le,ge,Ae)},re=function(le,ge){g(le);for(var Ae=_(ge=I(ge)),Ke=0,Ge=Ae.length,Oe;Ge>Ke;)Z(le,Oe=Ae[Ke++],ge[Oe]);return le},oe=function(le,ge){return ge===void 0?b(le):re(b(le),ge)},me=function(le){var ge=X.call(this,le=v(le,!0));return this===te&&t(H,le)&&!t(ae,le)?!1:ge||!t(this,le)||!t(H,le)||t(this,$)&&this[$][le]?ge:!0},ye=function(le,ge){if(le=I(le),ge=v(ge,!0),!(le===te&&t(H,ge)&&!t(ae,ge))){var Ae=B(le,ge);return Ae&&t(H,ge)&&!(t(le,$)&&le[$][ge])&&(Ae.enumerable=!0),Ae}},Se=function(le){for(var ge=C(I(le)),Ae=[],Ke=0,Ge;ge.length>Ke;)!t(H,Ge=ge[Ke++])&&Ge!=$&&Ge!=i&&Ae.push(Ge);return Ae},we=function(le){for(var ge=le===te,Ae=C(ge?ae:I(le)),Ke=[],Ge=0,Oe;Ae.length>Ge;
1)t(H,Oe=Ae[Ge++])&&(!ge||t(te,Oe))&&Ke.push(H[Oe]);return Ke};q||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var le=l(arguments.length>0?arguments[0]:void 0),ge=function(Ae){this===te&&ge.call(ae,Ae),t(this,$)&&t(this[$],le)&&(this[$][le]=!1),O(this,le,x(1,Ae))};return n&&L&&O(te,le,{configurable:!0,set:ge}),V(le)},s(D[j],"toString",function(){return this._k}),P.f=ye,N.f=Z,Br().f=A.f=Se,ci().f=me,F.f=we,n&&!Mr()&&s(te,"propertyIsEnumerable",me,!0),p.f=function(xe){return V(h(xe))}),r(r.G+r.W+r.F*!q,{Symbol:D});for(var Ce="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),se=0;Ce.length>se;)h(Ce[se++]);for(var ue=z(h.store),_e=0;ue.length>_e;)d(ue[_e++]);r(r.S+r.F*!q,"Symbol",{for:function(xe){return t(U,xe+="")?U[xe]:U[xe]=D(xe)},keyFor:function(le){if(!Q(le))throw TypeError(le+" is not a symbol!");for(var ge in U)if(U[ge]===le)return ge},useSetter:function(){L=!0},useSimple:function(){L=!1}}),r(r.S+r.F*!q,"Object",{create:oe,defineProperty:Z,defineProperties:re,getOwnPropertyDescriptor:ye,getOwnPropertyNames:Se,getOwnPropertySymbols:we});var Ue=o(function(){F.f(1)});return r(r.S+r.F*Ue,"Object",{getOwnPropertySymbols:function(le){return F.f(E(le))}}),W&&r(r.S+r.F*(!q||o(function(){var xe=D();return J([xe])!="[null]"||J({a:xe})!="{}"||J(Object(xe))!="{}"})),"JSON",{stringify:function(le){for(var ge=[le],Ae=1,Ke,Ge;arguments.length>Ae;)ge.push(arguments[Ae++]);if(Ge=Ke=ge[1],!(!y(Ke)&&le===void 0||Q(le)))return k(Ke)||(Ke=function(Oe,at){if(typeof Ge=="function"&&(at=Ge.call(this,Oe,at)),!Q(at))return at}),ge[1]=Ke,J.apply(W,ge)}}),D[j][M]||hn()(D[j],M,D[j].valueOf),u(D,"Symbol"),u(Math,"Math",!0),u(e.JSON,"JSON",!0),bd}var k1={},S1;function R0(){if(S1)return k1;S1=1;var e=ce();return e(e.S,"Object",{create:jr()}),k1}var I1={},w1;function N0(){if(w1)return I1;w1=1;var e=ce();return e(e.S+e.F*!Rt(),"Object",{defineProperty:Nt().f}),I1}var A1={},P1;function O0(){if(P1)return A1;P1=1;var e=ce();return e(e.S+e.F*!Rt(),"Object",{defineProperties:m1()}),A1}var T1={},yu,C1;function Ln(){if(C1)return yu;C1=1;var e=ce(),t=It(),n=rt();return yu=function(r,s){var i=(t.Object||{})[r]||Object[r],o={};o[r]=s(i),e(e.S+e.F*n(function(){i(1)}),"Object",o)},yu}var R1;function $0(){if(R1)return T1;R1=1;var e=fn(),t=Dn().f;return Ln()("getOwnPropertyDescriptor",function(){return function(r,s){return t(e(r),s)}}),T1}var N1={},_u,O1;function Vr(){if(O1)return _u;O1=1;var e=ln(),t=Ut(),n=tu()("IE_PROTO"),r=Object.prototype;return _u=Object.getPrototypeOf||function(s){return s=t(s),e(s,n)?s[n]:typeof s.constructor=="function"&&s instanceof s.constructor?s.constructor.prototype:s instanceof Object?r:null},_u}var $1;function D0(){if($1)return N1;$1=1;var e=Ut(),t=Vr();return Ln()("getPrototypeOf",function(){return function(r){return t(e(r))}}),N1}var D1={},L1;function L0(){if(L1)return D1;L1=1;var e=Ut(),t=qr();return Ln()("keys",function(){return function(r){return t(e(r))}}),D1}var M1={},F1;function M0(){return F1||(F1=1,Ln()("getOwnPropertyNames",function(){return x1().f})),M1}var q1={},j1;function F0(){if(j1)return q1;j1=1;var e=st(),t=hr().onFreeze;return Ln()("freeze",function(n){return function(s){return n&&e(s)?n(t(s)):s}}),q1}var B1={},V1;function q0(){if(V1)return B1;V1=1;var e=st(),t=hr().onFreeze;return Ln()("seal",function(n){return function(s){return n&&e(s)?n(t(s)):s}}),B1}var z1={},U1;function j0(){if(U1)return z1;U1=1;var e=st(),t=hr().onFreeze;return Ln()("preventExtensions",function(n){return function(s){return n&&e(s)?n(t(s)):s}}),z1}var G1={},W1;function B0(){if(W1)return G1;W1=1;var e=st();return Ln()("isFrozen",function(t){return function(r){return e(r)?t?t(r):!1:!0}}),G1}var H1={},K1;function V0(){if(K1)return H1;K1=1;var e=st();return Ln()("isSealed",function(t){return function(r){return e(r)?t?t(r):!1:!0}}),H1}var X1={},Q1;function z0(){if(Q1)return X1;Q1=1;var e=st();return Ln()("isExtensible",function(t){return function(r){return e(r)?t?t(r):!0:!1}}),X1}var J1={},xu,Y1;function Z1(){if(Y1)return xu;Y1=1;var e=Rt(),t=qr(),n=xa(),r=ci(),s=Ut(),i=oi(),o=Object.assign;return xu=!o||rt()(function(){var c={},u={},l=Symbol(),h="abcdefghijklmnopqrst";return c[l]=7,h.split("").forEach(function(p){u[p]=p}),o({},c)[l]!=7||Object.keys(o({},u)).join("")!=h})?function(u,l){for(var h=s(u),p=arguments.length,d=1,_=n.f,k=r.f;p>d;)for(var g=i(arguments[d++]),y=_?t(g).concat(_(g)):t(g),E=y.length,I=0,v;E>I;)v=y[I++],(!e||k.call(g,v))&&(h[v]=g[v]);return h}:o,xu}var em;function U0(){if(em)return J1;em=1;var e=ce();return e(e.S+e.F,"Object",{assign:Z1()}),J1}var tm={},bu,nm;function rm(){return nm||(nm=1,bu=Object.is||function(t,n){return t===n?t!==0||1/t===1/n:t!=t&&n!=n}),bu}var sm;function G0(){if(sm)return tm;sm=1;var e=ce();return e(e.S,"Object",{is:rm()}),tm}var im={},Eu,am;function ku(){if(am)return Eu;am=1;var e=st(),t=it(),n=function(r,s){if(t(r),!e(s)&&s!==null)throw TypeError(s+": can't set as prototype!")};return Eu={set:Object.setPrototypeOf||("__proto__"in{}?(function(r,s,i){try{i=On()(Function.call,Dn().f(Object.prototype,"__proto__").set,2),i(r,[]),s=!(r instanceof Array)}catch{s=!0}return function(c,u){return n(c,u),s?c.__proto__=u:i(c,u),c}})({},!1):void 0),check:n},Eu}var om;function W0(){if(om)return im;om=1;var e=ce();return e(e.S,"Object",{setPrototypeOf:ku().set}),im}var cm={},Su,um;function ui(){if(um)return Su;um=1;var e=tr(),t=pt()("toStringTag"),n=e((function(){return arguments})())=="Arguments",r=function(s,i){try{return s[i]}catch{}};return Su=function(s){var i,o,c;return s===void 0?"Undefined":s===null?"Null":typeof(o=r(i=Object(s),t))=="string"?o:n?e(i):(c=e(i))=="Ob
1ject"&&typeof i.callee=="function"?"Arguments":c},Su}var lm;function H0(){if(lm)return cm;lm=1;var e=ui(),t={};return t[pt()("toStringTag")]="z",t+""!="[object z]"&&Zt()(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0),cm}var hm={},Iu,fm;function pm(){return fm||(fm=1,Iu=function(e,t,n){var r=n===void 0;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}),Iu}var wu,dm;function mm(){if(dm)return wu;dm=1;var e=Nn(),t=st(),n=pm(),r=[].slice,s={},i=function(o,c,u){if(!(c in s)){for(var l=[],h=0;h<c;h++)l[h]="a["+h+"]";s[c]=Function("F,a","return new F("+l.join(",")+")")}return s[c](o,u)};return wu=Function.bind||function(c){var u=e(this),l=r.call(arguments,1),h=function(){var p=l.concat(r.call(arguments));return this instanceof h?i(u,p.length,p):n(u,p,c)};return t(u.prototype)&&(h.prototype=u.prototype),h},wu}var gm;function K0(){if(gm)return hm;gm=1;var e=ce();return e(e.P,"Function",{bind:mm()}),hm}var vm={},ym;function X0(){if(ym)return vm;ym=1;var e=Nt().f,t=Function.prototype,n=/^\s*function ([^ (]*)/,r="name";return r in t||Rt()&&e(t,r,{configurable:!0,get:function(){try{return(""+this).match(n)[1]}catch{return""}}}),vm}var _m={},xm;function Q0(){if(xm)return _m;xm=1;var e=st(),t=Vr(),n=pt()("hasInstance"),r=Function.prototype;return n in r||Nt().f(r,n,{value:function(s){if(typeof this!="function"||!e(s))return!1;if(!e(this.prototype))return s instanceof this;for(;s=t(s);)if(this.prototype===s)return!0;return!1}}),_m}var bm={},Au,Em;function Pu(){return Em||(Em=1,Au=`	
2\v\f\r   ᠎              \u2028\u2029\uFEFF`),Au}var Tu,km;function bs(){if(km)return Tu;km=1;var e=ce(),t=nr(),n=rt(),r=Pu(),s="["+r+"]",i="​…",o=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(h,p,d){var _={},k=n(function(){return!!r[h]()||i[h]()!=i}),g=_[h]=k?p(l):r[h];d&&(_[d]=g),e(e.P+e.F*k,"String",_)},l=u.trim=function(h,p){return h=String(t(h)),p&1&&(h=h.replace(o,"")),p&2&&(h=h.replace(c,"")),h};return Tu=u,Tu}var Cu,Sm;function Im(){if(Sm)return Cu;Sm=1;var e=nt().parseInt,t=bs().trim,n=Pu(),r=/^[-+]?0[xX]/;return Cu=e(n+"08")!==8||e(n+"0x16")!==22?function(i,o){var c=t(String(i),3);return e(c,o>>>0||(r.test(c)?16:10))}:e,Cu}var wm;function J0(){if(wm)return bm;wm=1;var e=ce(),t=Im();return e(e.G+e.F*(parseInt!=t),{parseInt:t}),bm}var Am={},Ru,Pm;function Tm(){if(Pm)return Ru;Pm=1;var e=nt().parseFloat,t=bs().trim;return Ru=1/e(Pu()+"-0")!==-1/0?function(r){var s=t(String(r),3),i=e(s);return i===0&&s.charAt(0)=="-"?-0:i}:e,Ru}var Cm;function Y0(){if(Cm)return Am;Cm=1;var e=ce(),t=Tm();return e(e.G+e.F*(parseFloat!=t),{parseFloat:t}),Am}var Rm={},Nu,Nm;function Ou(){if(Nm)return Nu;Nm=1;var e=st(),t=ku().set;return Nu=function(n,r,s){var i=r.constructor,o;return i!==s&&typeof i=="function"&&(o=i.prototype)!==s.prototype&&e(o)&&t&&t(n,o),n},Nu}var Om;function Z0(){if(Om)return Rm;Om=1;var e=nt(),t=ln(),n=tr(),r=Ou(),s=lr(),i=rt(),o=Br().f,c=Dn().f,u=Nt().f,l=bs().trim,h="Number",p=e[h],d=p,_=p.prototype,k=n(jr()(_))==h,g="trim"in String.prototype,y=function(x){var b=s(x,!1);if(typeof b=="string"&&b.length>2){b=g?b.trim():l(b,3);var A=b.charCodeAt(0),P,F,N;if(A===43||A===45){if(P=b.charCodeAt(2),P===88||P===120)return NaN}else if(A===48){switch(b.charCodeAt(1)){case 66:case 98:F=2,N=49;break;case 79:case 111:F=8,N=55;break;default:return+b}for(var z=b.slice(2),B=0,R=z.length,C;B<R;B++)if(C=z.charCodeAt(B),C<48||C>N)return NaN;return parseInt(z,F)}}return+b};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(b){var A=arguments.length<1?0:b,P=this;return P instanceof p&&(k?i(function(){_.valueOf.call(P)}):n(P)!=h)?r(new d(y(A)),P,p):y(A)};for(var E=Rt()?o(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),I=0,v;E.length>I;I++)t(d,v=E[I])&&!t(p,v)&&u(p,v,c(d,v));p.prototype=_,_.constructor=p,Zt()(e,h,p)}return Rm}var $m={},$u,Dm;
2function Lm(){if(Dm)return $u;Dm=1;var e=tr();return $u=function(t,n){if(typeof t!="number"&&e(t)!="Number")throw TypeError(n);return+t},$u}var Du,Mm;function Lu(){if(Mm)return Du;Mm=1;var e=$n(),t=nr();return Du=function(r){var s=String(t(this)),i="",o=e(r);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(s+=s))o&1&&(i+=s);return i},Du}var Fm;function eA(){if(Fm)return $m;Fm=1;var e=ce(),t=$n(),n=Lm(),r=Lu(),s=1 .toFixed,i=Math.floor,o=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",u="0",l=function(k,g){for(var y=-1,E=g;++y<6;)E+=k*o[y],o[y]=E%1e7,E=i(E/1e7)},h=function(k){for(var g=6,y=0;--g>=0;)y+=o[g],o[g]=i(y/k),y=y%k*1e7},p=function(){for(var k=6,g="";--k>=0;)if(g!==""||k===0||o[k]!==0){var y=String(o[k]);g=g===""?y:g+r.call(u,7-y.length)+y}return g},d=function(k,g,y){return g===0?y:g%2===1?d(k,g-1,y*k):d(k*k,g/2,y)},_=function(k){for(var g=0,y=k;y>=4096;)g+=12,y/=4096;for(;y>=2;)g+=1,y/=2;return g};return e(e.P+e.F*(!!s&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||0xde0b6b3a7640080.toFixed(0)!=="1000000000000000128")||!rt()(function(){s.call({})})),"Number",{toFixed:function(g){var y=n(this,c),E=t(g),I="",v=u,x,b,A,P;if(E<0||E>20)throw RangeError(c);if(y!=y)return"NaN";if(y<=-1e21||y>=1e21)return String(y);if(y<0&&(I="-",y=-y),y>1e-21)if(x=_(y*d(2,69,1))-69,b=x<0?y*d(2,-x,1):y/d(2,x,1),b*=4503599627370496,x=52-x,x>0){for(l(0,b),A=E;A>=7;)l(1e7,0),A-=7;for(l(d(10,A,1),0),A=x-1;A>=23;)h(1<<23),A-=23;h(1<<A),l(1,1),h(2),v=p()}else l(0,b),l(1<<-x,0),v=p()+r.call(u,E);return E>0?(P=v.length,v=I+(P<=E?"0."+r.call(u,E-P)+v:v.slice(0,P-E)+"."+v.slice(P-E))):v=I+v,v}}),$m}var qm={},jm;function tA(){if(jm)return qm;jm=1;var e=ce(),t=rt(),n=Lm(),r=1 .toPrecision;return e(e.P+e.F*(t(function(){return r.call(1,void 0)!=="1"})||!t(function(){r.call({})})),"Number",{toPrecision:function(i){var o=n(this,"Number#toPrecision: incorrect invocation!");return i===void 0?r.call(o):r.call(o,i)}}),qm}var Bm={},Vm;function nA(){if(Vm)return Bm;Vm=1;var e=ce();return e(e.S,"Number",{EPSILON:Math.pow(2,-52)}),Bm}var zm={},Um;function rA(){if(Um)return zm;Um=1;var e=ce(),t=nt().isFinite;return e(e.S,"Number",{isFinite:function(r){return typeof r=="number"&&t(r)}}),zm}var Gm={},Mu,Wm;function Hm(){if(Wm)return Mu;Wm=1;var e=st(),t=Math.floor;return Mu=function(r){return!e(r)&&isFinite(r)&&t(r)===r},Mu}var Km;function sA(){if(Km)return Gm;Km=1;var e=ce();return e(e.S,"Number",{isInteger:Hm()}),Gm}var Xm={},Qm;function iA(){if(Qm)return Xm;Qm=1;var e=ce();return e(e.S,"Number",{isNaN:function(n){return n!=n}}),Xm}var Jm={},Ym;function aA(){if(Ym)return Jm;Ym=1;var e=ce(),t=Hm(),n=Math.abs;return e(e.S,"Number",{isSafeInteger:function(s){return t(s)&&n(s)<=9007199254740991}}),Jm}var Zm={},eg;function oA(){if(eg)return Zm;eg=1;var e=ce();return e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991}),Zm}var tg={},ng;function cA(){if(ng)return tg;ng=1;var e=ce();return e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991}),tg}var rg={},sg;function uA(){if(sg)return rg;sg=1;var e=ce(),t=Tm();return e(e.S+e.F*(Number.parseFloat!=t),"Number",{parseFloat:t}),rg}var ig={},ag;function lA(){if(ag)return ig;ag=1;var e=ce(),t=Im();return e(e.S+e.F*(Number.parseInt!=t),"Number",{parseInt:t}),ig}var og={},Fu,cg;function ug(){return cg||(cg=1,Fu=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}),Fu}var lg;function hA(){if(lg)return og;lg=1;var e=ce(),t=ug(),n=Math.sqrt,r=Math.acosh;return e(e.S+e.F*!(r&&Math.floor(r(Number.MAX_VALUE))==710&&r(1/0)==1/0),"Math",{acosh:function(i){return(i=+i)<1?NaN:i>9490626562425156e-8?Math.log(i)+Math.LN2:t(i-1+n(i-1)*n(i+1))}}),og}var hg={},fg;function fA(){if(fg)return hg;fg=1;var e=ce(),t=Math.asinh;function n(r){return!isFinite(r=+r)||r==0?r:r<0?-n(-r):Math.log(r+Math.sqrt(r*r+1))}return e(e.S+e.F*!(t&&1/t(0)>0),"Math",{asinh:n}),hg}var pg={},dg;function pA(){if(dg)return pg;dg=1;var e=ce(),t=Math.atanh;return e(e.S+e.F*!(t&&1/t(-0)<0),"Math",{atanh:function(r){return(r=+r)==0?r:Math.log((1+r)/(1-r))/2}}),pg}var mg={},qu,gg;function ju(){return gg||(gg=1,qu=Math.sign||function(t){return(t=+t)==0||t!=t?t:t<0?-1:1}),qu}var vg;function dA(){if(vg)return mg;vg=1;var e=ce(),t=ju();return e(e.S,"Math",{cbrt:function(r){return t(r=+r)*Math.pow(Math.abs(r),1/3)}}),mg}var yg={},_g;function mA(){if(_g)return yg;_g=1;var e=ce();return e(e.S,"Math",{clz32:function(n){return(n>>>=0)?31-Math.floor(Math.log(n+.5)*Math.LOG2E):32}}),yg}var xg={},bg;function gA(){if(bg)return xg;bg=1;var e=ce(),t=Math.exp;return e(e.S,"Math",{cosh:function(r){return(t(r=+r)+t(-r))/2}}),xg}var Eg={},Bu,kg;function Vu(){if(kg)return Bu;kg=1;var e=Math.expm1;return Bu=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||e(-2e-17)!=-2e-17?function(n){return(n=+n)==0?n:n>-1e-6&&n<1e-6?n+n*n/2:Math.exp(n)-1}:e,Bu}var Sg;function vA(){if(Sg)return Eg;Sg=1;var e=ce(),t=Vu();return e(e.S+e.F*(t!=Math.expm1),"Math",{expm1:t}),Eg}var Ig={},zu,wg;
2function yA(){if(wg)return zu;wg=1;var e=ju(),t=Math.pow,n=t(2,-52),r=t(2,-23),s=t(2,127)*(2-r),i=t(2,-126),o=function(c){return c+1/n-1/n};return zu=Math.fround||function(u){var l=Math.abs(u),h=e(u),p,d;return l<i?h*o(l/i/r)*i*r:(p=(1+r/n)*l,d=p-(p-l),d>s||d!=d?h*(1/0):h*d)},zu}var Ag;function _A(){if(Ag)return Ig;Ag=1;var e=ce();return e(e.S,"Math",{fround:yA()}),Ig}var Pg={},Tg;function xA(){if(Tg)return Pg;Tg=1;var e=ce(),t=Math.abs;return e(e.S,"Math",{hypot:function(r,s){for(var i=0,o=0,c=arguments.length,u=0,l,h;o<c;)l=t(arguments[o++]),u<l?(h=u/l,i=i*h*h+1,u=l):l>0?(h=l/u,i+=h*h):i+=l;return u===1/0?1/0:u*Math.sqrt(i)}}),Pg}var Cg={},Rg;function bA(){if(Rg)return Cg;Rg=1;var e=ce(),t=Math.imul;return e(e.S+e.F*rt()(function(){return t(4294967295,5)!=-5||t.length!=2}),"Math",{imul:function(r,s){var i=65535,o=+r,c=+s,u=i&o,l=i&c;return 0|u*l+((i&o>>>16)*l+u*(i&c>>>16)<<16>>>0)}}),Cg}var Ng={},Og;function EA(){if(Og)return Ng;Og=1;var e=ce();return e(e.S,"Math",{log10:function(n){return Math.log(n)*Math.LOG10E}}),Ng}var $g={},Dg;function kA(){if(Dg)return $g;Dg=1;var e=ce();return e(e.S,"Math",{log1p:ug()}),$g}var Lg={},Mg;function SA(){if(Mg)return Lg;Mg=1;var e=ce();return e(e.S,"Math",{log2:function(n){return Math.log(n)/Math.LN2}}),Lg}var Fg={},qg;function IA(){if(qg)return Fg;qg=1;var e=ce();return e(e.S,"Math",{sign:ju()}),Fg}var jg={},Bg;function wA(){if(Bg)return jg;Bg=1;var e=ce(),t=Vu(),n=Math.exp;return e(e.S+e.F*rt()(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(s){return Math.abs(s=+s)<1?(t(s)-t(-s))/2:(n(s-1)-n(-s-1))*(Math.E/2)}}),jg}var Vg={},zg;function AA(){if(zg)return Vg;zg=1;var e=ce(),t=Vu(),n=Math.exp;return e(e.S,"Math",{tanh:function(s){var i=t(s=+s),o=t(-s);return i==1/0?1:o==1/0?-1:(i-o)/(n(s)+n(-s))}}),Vg}var Ug={},Gg;function PA(){if(Gg)return Ug;Gg=1;var e=ce();return e(e.S,"Math",{trunc:function(n){return(n>0?Math.floor:Math.ceil)(n)}}),Ug}var Wg={},Hg;function TA(){if(Hg)return Wg;Hg=1;var e=ce(),t=Fr(),n=String.fromCharCode,r=String.fromCodePoint;return e(e.S+e.F*(!!r&&r.length!=1),"String",{fromCodePoint:function(i){for(var o=[],c=arguments.length,u=0,l;c>u;){if(l=+arguments[u++],t(l,1114111)!==l)throw RangeError(l+" is not a valid code point");o.push(l<65536?n(l):n(((l-=65536)>>10)+55296,l%1024+56320))}return o.join("")}}),Wg}var Kg={},Xg;function CA(){if(Xg)return Kg;Xg=1;var e=ce(),t=fn(),n=_t();return e(e.S,"String",{raw:function(s){for(var i=t(s.raw),o=n(i.length),c=arguments.length,u=[],l=0;o>l;)u.push(String(i[l++])),l<c&&u.push(String(arguments[l]));return u.join("")}}),Kg}var Qg={},Jg;function RA(){return Jg||(Jg=1,bs()("trim",function(e){return function(){return e(this,3)}})),Qg}var Yg={},Uu,Zg;function Gu(){if(Zg)return Uu;Zg=1;var e=$n(),t=nr();return Uu=function(n){return function(r,s){var i=String(t(r)),o=e(s),c=i.length,u,l;return o<0||o>=c?n?"":void 0:(u=i.charCodeAt(o),u<55296||u>56319||o+1===c||(l=i.charCodeAt(o+1))<56320||l>57343?n?i.charAt(o):u:n?i.slice(o,o+2):(u-55296<<10)+(l-56320)+65536)}},Uu}var Wu,ev;function Es(){return ev||(ev=1,Wu={}),Wu}var Hu,tv;function nv(){if(tv)return Hu;tv=1;var e=jr(),t=Dr(),n=xs(),r={};return hn()(r,pt()("iterator"),function(){return this}),Hu=function(s,i,o){s.prototype=e(r,{next:t(1,o)}),n(s,i+" Iterator")},Hu}var Ku,rv;function Xu(){if(rv)return Ku;rv=1;var e=Mr(),t=ce(),n=Zt(),r=hn(),s=Es(),i=nv(),o=xs(),c=Vr(),u=pt()("iterator"),l=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",d="values",_=function(){return this};
2return Ku=function(k,g,y,E,I,v,x){i(y,g,E);var b=function(j){if(!l&&j in N)return N[j];switch(j){case p:return function(){return new y(this,j)};case d:return function(){return new y(this,j)}}return function(){return new y(this,j)}},A=g+" Iterator",P=I==d,F=!1,N=k.prototype,z=N[u]||N[h]||I&&N[I],B=z||b(I),R=I?P?b("entries"):B:void 0,C=g=="Array"&&N.entries||z,D,W,J;if(C&&(J=c(C.call(new k)),J!==Object.prototype&&J.next&&(o(J,A,!0),!e&&typeof J[u]!="function"&&r(J,u,_))),P&&z&&z.name!==d&&(F=!0,B=function(){return z.call(this)}),(!e||x)&&(l||F||!N[u])&&r(N,u,B),s[g]=B,s[A]=_,I)if(D={values:P?B:b(d),keys:v?B:b(p),entries:R},x)for(W in D)W in N||n(N,W,D[W]);else t(t.P+t.F*(l||F),g,D);return D},Ku}var sv;function NA(){if(sv)return Yg;sv=1;var e=Gu()(!0);return Xu()(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,n=this._i,r;return n>=t.length?{value:void 0,done:!0}:(r=e(t,n),this._i+=r.length,{value:r,done:!1})}),Yg}var iv={},av;function OA(){if(av)return iv;av=1;var e=ce(),t=Gu()(!1);return e(e.P,"String",{codePointAt:function(r){return t(this,r)}}),iv}var ov={},Qu,cv;function Ju(){if(cv)return Qu;cv=1;var e=st(),t=tr(),n=pt()("match");return Qu=function(r){var s;return e(r)&&((s=r[n])!==void 0?!!s:t(r)=="RegExp")},Qu}var Yu,uv;function Zu(){if(uv)return Yu;uv=1;var e=Ju(),t=nr();return Yu=function(n,r,s){if(e(r))throw TypeError("String#"+s+" doesn't accept regex!");return String(t(n))},Yu}var el,lv;function tl(){if(lv)return el;lv=1;var e=pt()("match");return el=function(t){var n=/./;try{"/./"[t](n)}catch{try{return n[e]=!1,!"/./"[t](n)}catch{}}return!0},el}var hv;function $A(){if(hv)return ov;hv=1;var e=ce(),t=_t(),n=Zu(),r="endsWith",s=""[r];return e(e.P+e.F*tl()(r),"String",{endsWith:function(o){var c=n(this,o,r),u=arguments.length>1?arguments[1]:void 0,l=t(c.length),h=u===void 0?l:Math.min(t(u),l),p=String(o);return s?s.call(c,p,h):c.slice(h-p.length,h)===p}}),ov}var fv={},pv;function DA(){if(pv)return fv;pv=1;var e=ce(),t=Zu(),n="includes";return e(e.P+e.F*tl()(n),"String",{includes:function(s){return!!~t(this,s,n).indexOf(s,arguments.length>1?arguments[1]:void 0)}}),fv}var dv={},mv;function LA(){if(mv)return dv;mv=1;var e=ce();return e(e.P,"String",{repeat:Lu()}),dv}var gv={},vv;function MA(){if(vv)return gv;vv=1;var e=ce(),t=_t(),n=Zu(),r="startsWith",s=""[r];return e(e.P+e.F*tl()(r),"String",{startsWith:function(o){var c=n(this,o,r),u=t(Math.min(arguments.length>1?arguments[1]:void 0,c.length)),l=String(o);return s?s.call(c,l,u):c.slice(u,u+l.length)===l}}),gv}var yv={},nl,_v;function en(){if(_v)return nl;_v=1;var e=ce(),t=rt(),n=nr(),r=/"/g,s=function(i,o,c,u){var l=String(n(i)),h="<"+o;return c!==""&&(h+=" "+c+'="'+String(u).replace(r,"&quot;")+'"'),h+">"+l+"</"+o+">"};return nl=function(i,o){var c={};c[i]=o(s),e(e.P+e.F*t(function(){var u=""[i]('"');return u!==u.toLowerCase()||u.split('"').length>3}),"String",c)},nl}var xv;function FA(){return xv||(xv=1,en()("anchor",function(e){return function(n){return e(this,"a","name",n)}})),yv}var bv={},Ev;function qA(){return Ev||(Ev=1,en()("big",function(e){return function(){return e(this,"big","","")}})),bv}var kv={},Sv;function jA(){return Sv||(Sv=1,en()("blink",function(e){return function(){return e(this,"blink","","")}})),kv}var Iv={},wv;function BA(){return wv||(wv=1,en()("bold",function(e){return function(){return e(this,"b","","")}})),Iv}var Av={},Pv;function VA(){return Pv||(Pv=1,en()("fixed",function(e){return function(){return e(this,"tt","","")}})),Av}var Tv={},Cv;function zA(){return Cv||(Cv=1,en()("fontcolor",function(e){return function(n){return e(this,"font","color",n)}})),Tv}var Rv={},Nv;function UA(){return Nv||(Nv=1,en()("fontsize",function(e){return function(n){return e(this,"font","size",n)}})),Rv}var Ov={},$v;function GA(){return $v||($v=1,en()("italics",function(e){return function(){return e(this,"i","","")}})),Ov}var Dv={},Lv;function WA(){return Lv||(Lv=1,en()("link",function(e){return function(n){return e(this,"a","href",n)}})),Dv}var Mv={},Fv;function HA(){return Fv||(Fv=1,en()("small",function(e){return function(){return e(this,"small","","")}})),Mv}var qv={},jv;function KA(){return jv||(jv=1,en()("strike",function(e){return function(){return e(this,"strike","","")}})),qv}var Bv={},Vv;function XA(){return Vv||(Vv=1,en()("sub",function(e){return function(){return e(this,"sub","","")}})),Bv}var zv={},Uv;function QA(){return Uv||(Uv=1,en()("sup",function(e){return function(){return e(this,"sup","","")}})),zv}var Gv={},Wv;function JA(){if(Wv)return Gv;Wv=1;var e=ce();return e(e.S,"Date",{now:function(){return new Date().getTime()}}),Gv}var Hv={},Kv;
2function YA(){if(Kv)return Hv;Kv=1;var e=ce(),t=Ut(),n=lr();return e(e.P+e.F*rt()(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1}),"Date",{toJSON:function(s){var i=t(this),o=n(i);return typeof o=="number"&&!isFinite(o)?null:i.toISOString()}}),Hv}var Xv={},rl,Qv;function ZA(){if(Qv)return rl;Qv=1;var e=rt(),t=Date.prototype.getTime,n=Date.prototype.toISOString,r=function(s){return s>9?s:"0"+s};return rl=e(function(){return n.call(new Date(-5e13-1))!="0385-07-25T07:06:39.999Z"})||!e(function(){n.call(new Date(NaN))})?function(){if(!isFinite(t.call(this)))throw RangeError("Invalid time value");var i=this,o=i.getUTCFullYear(),c=i.getUTCMilliseconds(),u=o<0?"-":o>9999?"+":"";return u+("00000"+Math.abs(o)).slice(u?-6:-4)+"-"+r(i.getUTCMonth()+1)+"-"+r(i.getUTCDate())+"T"+r(i.getUTCHours())+":"+r(i.getUTCMinutes())+":"+r(i.getUTCSeconds())+"."+(c>99?c:"0"+r(c))+"Z"}:n,rl}var Jv;function eP(){if(Jv)return Xv;Jv=1;var e=ce(),t=ZA();return e(e.P+e.F*(Date.prototype.toISOString!==t),"Date",{toISOString:t}),Xv}var Yv={},Zv;function tP(){if(Zv)return Yv;Zv=1;var e=Date.prototype,t="Invalid Date",n="toString",r=e[n],s=e.getTime;return new Date(NaN)+""!=t&&Zt()(e,n,function(){var o=s.call(this);return o===o?r.call(this):t}),Yv}var ey={},sl,ty;function nP(){if(ty)return sl;ty=1;var e=it(),t=lr(),n="number";return sl=function(r){if(r!=="string"&&r!==n&&r!=="default")throw TypeError("Incorrect hint");return t(e(this),r!=n)},sl}var ny;function rP(){if(ny)return ey;ny=1;var e=pt()("toPrimitive"),t=Date.prototype;return e in t||hn()(t,e,nP()),ey}var ry={},sy;function sP(){if(sy)return ry;sy=1;var e=ce();return e(e.S,"Array",{isArray:ba()}),ry}var iy={},il,ay;function oy(){if(ay)return il;ay=1;var e=it();return il=function(t,n,r,s){try{return s?n(e(r)[0],r[1]):n(r)}catch(o){var i=t.return;throw i!==void 0&&e(i.call(t)),o}},il}var al,cy;function ol(){if(cy)return al;cy=1;var e=Es(),t=pt()("iterator"),n=Array.prototype;return al=function(r){return r!==void 0&&(e.Array===r||n[t]===r)},al}var cl,uy;function ul(){if(uy)return cl;uy=1;var e=Nt(),t=Dr();return cl=function(n,r,s){r in n?e.f(n,r,t(0,s)):n[r]=s},cl}var ll,ly;function hl(){if(ly)return ll;ly=1;var e=ui(),t=pt()("iterator"),n=Es();return ll=It().getIteratorMethod=function(r){if(r!=null)return r[t]||r["@@iterator"]||n[e(r)]},ll}var fl,hy;function Ea(){if(hy)return fl;hy=1;var e=pt()("iterator"),t=!1;try{var n=[7][e]();n.return=function(){t=!0},Array.from(n,function(){throw 2})}catch{}return fl=function(r,s){if(!s&&!t)return!1;var i=!1;try{var o=[7],c=o[e]();c.next=function(){return{done:i=!0}},o[e]=function(){return c},r(o)}catch{}return i},fl}var fy;function iP(){if(fy)return iy;fy=1;var e=On(),t=ce(),n=Ut(),r=oy(),s=ol(),i=_t(),o=ul(),c=hl();return t(t.S+t.F*!Ea()(function(u){Array.from(u)}),"Array",{from:function(l){var h=n(l),p=typeof this=="function"?this:Array,d=arguments.length,_=d>1?arguments[1]:void 0,k=_!==void 0,g=0,y=c(h),E,I,v,x;if(k&&(_=e(_,d>2?arguments[2]:void 0,2)),y!=null&&!(p==Array&&s(y)))for(x=y.call(h),I=new p;!(v=x.next()).done;g++)o(I,g,k?r(x,_,[v.value,g],!0):v.value);else for(E=i(h.length),I=new p(E);E>g;g++)o(I,g,k?_(h[g],g):h[g]);return I.length=g,I}}),iy}var py={},dy;function aP(){if(dy)return py;dy=1;var e=ce(),t=ul();return e(e.S+e.F*rt()(function(){function n(){}return!(Array.of.call(n)instanceof n)}),"Array",{of:function(){for(var r=0,s=arguments.length,i=new(typeof this=="function"?this:Array)(s);s>r;)t(i,r,arguments[r++]);return i.length=s,i}}),py}var my={},pl,gy;function bn(){if(gy)return pl;gy=1;var e=rt();return pl=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})},pl}var vy;function oP(){if(vy)return my;vy=1;var e=ce(),t=fn(),n=[].join;return e(e.P+e.F*(oi()!=Object||!bn()(n)),"Array",{join:function(s){return n.call(t(this),s===void 0?",":s)}}),my}var yy={},_y;function cP(){if(_y)return yy;_y=1;var e=ce(),t=pu(),n=tr(),r=Fr(),s=_t(),i=[].slice;return e(e.P+e.F*rt()(function(){t&&i.call(t)}),"Array",{slice:function(c,u){var l=s(this.length),h=n(this);if(u=u===void 0?l:u,h=="Array")return i.call(this,c,u);for(var p=r(c,l),d=r(u,l),_=s(d-p),k=new Array(_),g=0;g<_;g++)k[g]=h=="String"?this.charAt(p+g):this[p+g];return k}}),yy}var xy={},by;
2function uP(){if(by)return xy;by=1;var e=ce(),t=Nn(),n=Ut(),r=rt(),s=[].sort,i=[1,2,3];return e(e.P+e.F*(r(function(){i.sort(void 0)})||!r(function(){i.sort(null)})||!bn()(s)),"Array",{sort:function(c){return c===void 0?s.call(n(this)):s.call(n(this),t(c))}}),xy}var Ey={},dl,ky;function lP(){if(ky)return dl;ky=1;var e=st(),t=ba(),n=pt()("species");return dl=function(r){var s;return t(r)&&(s=r.constructor,typeof s=="function"&&(s===Array||t(s.prototype))&&(s=void 0),e(s)&&(s=s[n],s===null&&(s=void 0))),s===void 0?Array:s},dl}var ml,Sy;function Iy(){if(Sy)return ml;Sy=1;var e=lP();return ml=function(t,n){return new(e(t))(n)},ml}var gl,wy;function Mn(){if(wy)return gl;wy=1;var e=On(),t=oi(),n=Ut(),r=_t(),s=Iy();return gl=function(i,o){var c=i==1,u=i==2,l=i==3,h=i==4,p=i==6,d=i==5||p,_=o||s;return function(k,g,y){for(var E=n(k),I=t(E),v=e(g,y,3),x=r(I.length),b=0,A=c?_(k,x):u?_(k,0):void 0,P,F;x>b;b++)if((d||b in I)&&(P=I[b],F=v(P,b,E),i)){if(c)A[b]=F;else if(F)switch(i){case 3:return!0;case 5:return P;case 6:return b;case 2:A.push(P)}else if(h)return!1}return p?-1:l||h?h:A}},gl}var Ay;function hP(){if(Ay)return Ey;Ay=1;var e=ce(),t=Mn()(0),n=bn()([].forEach,!0);return e(e.P+e.F*!n,"Array",{forEach:function(s){return t(this,s,arguments[1])}}),Ey}var Py={},Ty;function fP(){if(Ty)return Py;Ty=1;var e=ce(),t=Mn()(1);return e(e.P+e.F*!bn()([].map,!0),"Array",{map:function(r){return t(this,r,arguments[1])}}),Py}var Cy={},Ry;function pP(){if(Ry)return Cy;Ry=1;var e=ce(),t=Mn()(2);return e(e.P+e.F*!bn()([].filter,!0),"Array",{filter:function(r){return t(this,r,arguments[1])}}),Cy}var Ny={},Oy;function dP(){if(Oy)return Ny;Oy=1;var e=ce(),t=Mn()(3);return e(e.P+e.F*!bn()([].some,!0),"Array",{some:function(r){return t(this,r,arguments[1])}}),Ny}var $y={},Dy;function mP(){if(Dy)return $y;Dy=1;var e=ce(),t=Mn()(4);return e(e.P+e.F*!bn()([].every,!0),"Array",{every:function(r){return t(this,r,arguments[1])}}),$y}var Ly={},vl,My;function Fy(){if(My)return vl;My=1;var e=Nn(),t=Ut(),n=oi(),r=_t();return vl=function(s,i,o,c,u){e(i);var l=t(s),h=n(l),p=r(l.length),d=u?p-1:0,_=u?-1:1;if(o<2)for(;;){if(d in h){c=h[d],d+=_;break}if(d+=_,u?d<0:p<=d)throw TypeError("Reduce of empty array with no initial value")}for(;u?d>=0:p>d;d+=_)d in h&&(c=i(c,h[d],d,l));return c},vl}var qy;function gP(){if(qy)return Ly;qy=1;var e=ce(),t=Fy();return e(e.P+e.F*!bn()([].reduce,!0),"Array",{reduce:function(r){return t(this,r,arguments.length,arguments[1],!1)}}),Ly}var jy={},By;function vP(){if(By)return jy;By=1;var e=ce(),t=Fy();return e(e.P+e.F*!bn()([].reduceRight,!0),"Array",{reduceRight:function(r){return t(this,r,arguments.length,arguments[1],!0)}}),jy}var Vy={},zy;function yP(){if(zy)return Vy;zy=1;var e=ce(),t=_a()(!1),n=[].indexOf,r=!!n&&1/[1].indexOf(1,-0)<0;return e(e.P+e.F*(r||!bn()(n)),"Array",{indexOf:function(i){return r?n.apply(this,arguments)||0:t(this,i,arguments[1])}}),Vy}var Uy={},Gy;
2function _P(){if(Gy)return Uy;Gy=1;var e=ce(),t=fn(),n=$n(),r=_t(),s=[].lastIndexOf,i=!!s&&1/[1].lastIndexOf(1,-0)<0;return e(e.P+e.F*(i||!bn()(s)),"Array",{lastIndexOf:function(c){if(i)return s.apply(this,arguments)||0;var u=t(this),l=r(u.length),h=l-1;for(arguments.length>1&&(h=Math.min(h,n(arguments[1]))),h<0&&(h=l+h);h>=0;h--)if(h in u&&u[h]===c)return h||0;return-1}}),Uy}var Wy={},yl,Hy;function Ky(){if(Hy)return yl;Hy=1;var e=Ut(),t=Fr(),n=_t();return yl=[].copyWithin||function(s,i){var o=e(this),c=n(o.length),u=t(s,c),l=t(i,c),h=arguments.length>2?arguments[2]:void 0,p=Math.min((h===void 0?c:t(h,c))-l,c-u),d=1;for(l<u&&u<l+p&&(d=-1,l+=p-1,u+=p-1);p-- >0;)l in o?o[u]=o[l]:delete o[u],u+=d,l+=d;return o},yl}var _l,Xy;function zr(){if(Xy)return _l;Xy=1;var e=pt()("unscopables"),t=Array.prototype;return t[e]==null&&hn()(t,e,{}),_l=function(n){t[e][n]=!0},_l}var Qy;function xP(){if(Qy)return Wy;Qy=1;var e=ce();return e(e.P,"Array",{copyWithin:Ky()}),zr()("copyWithin"),Wy}var Jy={},xl,Yy;function bl(){if(Yy)return xl;Yy=1;var e=Ut(),t=Fr(),n=_t();return xl=function(s){for(var i=e(this),o=n(i.length),c=arguments.length,u=t(c>1?arguments[1]:void 0,o),l=c>2?arguments[2]:void 0,h=l===void 0?o:t(l,o);h>u;)i[u++]=s;return i},xl}var Zy;function bP(){if(Zy)return Jy;Zy=1;var e=ce();return e(e.P,"Array",{fill:bl()}),zr()("fill"),Jy}var e_={},t_;function EP(){if(t_)return e_;t_=1;var e=ce(),t=Mn()(5),n="find",r=!0;return n in[]&&Array(1)[n](function(){r=!1}),e(e.P+e.F*r,"Array",{find:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),zr()(n),e_}var n_={},r_;function kP(){if(r_)return n_;r_=1;var e=ce(),t=Mn()(6),n="findIndex",r=!0;return n in[]&&Array(1)[n](function(){r=!1}),e(e.P+e.F*r,"Array",{findIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),zr()(n),n_}var s_={},El,i_;function ks(){if(i_)return El;i_=1;var e=nt(),t=Nt(),n=Rt(),r=pt()("species");return El=function(s){var i=e[s];n&&i&&!i[r]&&t.f(i,r,{configurable:!0,get:function(){return this}})},El}var a_;function SP(){return a_||(a_=1,ks()("Array")),s_}var kl,o_;function c_(){return o_||(o_=1,kl=function(e,t){return{value:t,done:!!e}}),kl}var Sl,u_;function Il(){if(u_)return Sl;u_=1;var e=zr(),t=c_(),n=Es(),r=fn();return Sl=Xu()(Array,"Array",function(s,i){this._t=r(s),this._i=0,this._k=i},function(){var s=this._t,i=this._k,o=this._i++;return!s||o>=s.length?(this._t=void 0,t(1)):i=="keys"?t(0,o):i=="values"?t(0,s[o]):t(0,[o,s[o]])},"values"),n.Arguments=n.Array,e("keys"),e("values"),e("entries"),Sl}var l_={},wl,h_;function ka(){if(h_)return wl;h_=1;var e=it();return wl=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n},wl}var f_;function IP(){if(f_)return l_;f_=1;var e=nt(),t=Ou(),n=Nt().f,r=Br().f,s=Ju(),i=ka(),o=e.RegExp,c=o,u=o.prototype,l=/a/g,h=/a/g,p=new o(l)!==l;if(Rt()&&(!p||rt()(function(){return h[pt()("match")]=!1,o(l)!=l||o(h)==h||o(l,"i")!="/a/i"}))){o=function(y,E){var I=this instanceof o,v=s(y),x=E===void 0;return!I&&v&&y.constructor===o&&x?y:t(p?new c(v&&!x?y.source:y,E):c((v=y instanceof o)?y.source:y,v&&x?i.call(y):E),I?this:u,o)};for(var d=function(g){g in o||n(o,g,{configurable:!0,get:function(){return c[g]},set:function(y){c[g]=y}})},_=r(c),k=0;_.length>k;)d(_[k++]);u.constructor=o,o.prototype=u,Zt()(e,"RegExp",o)}return ks()("RegExp"),l_}var p_={},Al,d_;function Pl(){if(d_)return Al;d_=1;var e=ka(),t=RegExp.prototype.exec,n=String.prototype.replace,r=t,s="lastIndex",i=(function(){var u=/a/,l=/b*/g;return t.call(u,"a"),t.call(l,"a"),u[s]!==0||l[s]!==0})(),o=/()??/.exec("")[1]!==void 0,c=i||o;return c&&(r=function(l){var h=this,p,d,_,k;return o&&(d=new RegExp("^"+h.source+"$(?!\\s)",e.call(h))),i&&(p=h[s]),_=t.call(h,l),i&&_&&(h[s]=h.global?_.index+_[0].length:p),o&&_&&_.length>1&&n.call(_[0],d,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(_[k]=void 0)}),_}),Al=r,Al}var m_;function g_(){if(m_)return p_;m_=1;var e=Pl();return ce()({target:"RegExp",proto:!0,forced:e!==/./.exec},{exec:e}),p_}var v_={},y_={},__;function x_(){return __||(__=1,Rt()&&/./g.flags!="g"&&Nt().f(RegExp.prototype,"flags",{configurable:!0,get:ka()})),y_}var b_;function wP(){if(b_)return v_;b_=1,x_();var e=it(),t=ka(),n=Rt(),r="toString",s=/./[r],i=function(o){Zt()(RegExp.prototype,r,o,!0)};
2return rt()(function(){return s.call({source:"a",flags:"b"})!="/a/b"})?i(function(){var c=e(this);return"/".concat(c.source,"/","flags"in c?c.flags:!n&&c instanceof RegExp?t.call(c):void 0)}):s.name!=r&&i(function(){return s.call(this)}),v_}var E_={},Tl,k_;function Cl(){if(k_)return Tl;k_=1;var e=Gu()(!0);return Tl=function(t,n,r){return n+(r?e(t,n).length:1)},Tl}var Rl,S_;function Sa(){if(S_)return Rl;S_=1;var e=ui(),t=RegExp.prototype.exec;return Rl=function(n,r){var s=n.exec;if(typeof s=="function"){var i=s.call(n,r);if(typeof i!="object")throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if(e(n)!=="RegExp")throw new TypeError("RegExp#exec called on incompatible receiver");return t.call(n,r)},Rl}var Nl,I_;function Ia(){if(I_)return Nl;I_=1,g_();var e=Zt(),t=hn(),n=rt(),r=nr(),s=pt(),i=Pl(),o=s("species"),c=!n(function(){var l=/./;return l.exec=function(){var h=[];return h.groups={a:"7"},h},"".replace(l,"$<a>")!=="7"}),u=(function(){var l=/(?:)/,h=l.exec;l.exec=function(){return h.apply(this,arguments)};var p="ab".split(l);return p.length===2&&p[0]==="a"&&p[1]==="b"})();return Nl=function(l,h,p){var d=s(l),_=!n(function(){var v={};return v[d]=function(){return 7},""[l](v)!=7}),k=_?!n(function(){var v=!1,x=/a/;return x.exec=function(){return v=!0,null},l==="split"&&(x.constructor={},x.constructor[o]=function(){return x}),x[d](""),!v}):void 0;if(!_||!k||l==="replace"&&!c||l==="split"&&!u){var g=/./[d],y=p(r,d,""[l],function(x,b,A,P,F){return b.exec===i?_&&!F?{done:!0,value:g.call(b,A,P)}:{done:!0,value:x.call(A,b,P)}:{done:!1}}),E=y[0],I=y[1];e(String.prototype,l,E),t(RegExp.prototype,d,h==2?function(v,x){return I.call(v,this,x)}:function(v){return I.call(v,this)})}},Nl}var w_;function AP(){if(w_)return E_;w_=1;var e=it(),t=_t(),n=Cl(),r=Sa();return Ia()("match",1,function(s,i,o,c){return[function(l){var h=s(this),p=l==null?void 0:l[i];return p!==void 0?p.call(l,h):new RegExp(l)[i](String(h))},function(u){var l=c(o,u,this);if(l.done)return l.value;var h=e(u),p=String(this);if(!h.global)return r(h,p);var d=h.unicode;h.lastIndex=0;for(var _=[],k=0,g;(g=r(h,p))!==null;){var y=String(g[0]);_[k]=y,y===""&&(h.lastIndex=n(p,t(h.lastIndex),d)),k++}return k===0?null:_}]}),E_}var A_={},P_;function PP(){if(P_)return A_;P_=1;var e=it(),t=Ut(),n=_t(),r=$n(),s=Cl(),i=Sa(),o=Math.max,c=Math.min,u=Math.floor,l=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g,p=function(d){return d===void 0?d:String(d)};return Ia()("replace",2,function(d,_,k,g){return[function(I,v){var x=d(this),b=I==null?void 0:I[_];return b!==void 0?b.call(I,x,v):k.call(String(x),I,v)},function(E,I){var v=g(k,E,this,I);if(v.done)return v.value;var x=e(E),b=String(this),A=typeof I=="function";A||(I=String(I));var P=x.global;if(P){var F=x.unicode;x.lastIndex=0}for(var N=[];;){var z=i(x,b);if(z===null||(N.push(z),!P))break;var B=String(z[0]);B===""&&(x.lastIndex=s(b,n(x.lastIndex),F))}for(var R="",C=0,D=0;D<N.length;D++){z=N[D];for(var W=String(z[0]),J=o(c(r(z.index),b.length),0),j=[],$=1;$<z.length;$++)j.push(p(z[$]));var M=z.groups;if(A){var X=[W].concat(j,J,b);M!==void 0&&X.push(M);var U=String(I.apply(void 0,X))}else U=y(W,b,J,j,M,I);J>=C&&(R+=b.slice(C,J)+U,C=J+W.length)}return R+b.slice(C)}];function y(E,I,v,x,b,A){var P=v+E.length,F=x.length,N=h;return b!==void 0&&(b=t(b),N=l),k.call(A,N,function(z,B){var R;switch(B.charAt(0)){case"$":return"$";case"&":return E;case"`":return I.slice(0,v);case"'":return I.slice(P);case"<":R=b[B.slice(1,-1)];break;default:var C=+B;if(C===0)return z;if(C>F){var D=u(C/10);return D===0?z:D<=F?x[D-1]===void 0?B.charAt(1):x[D-1]+B.charAt(1):z}R=x[C-1]}return R===void 0?"":R})}}),A_}var T_={},C_;function TP(){if(C_)return T_;C_=1;var e=it(),t=rm(),n=Sa();return Ia()("search",1,function(r,s,i,o){return[function(u){var l=r(this),h=u==null?void 0:u[s];return h!==void 0?h.call(u,l):new RegExp(u)[s](String(l))},function(c){var u=o(i,c,this);if(u.done)return u.value;var l=e(c),h=String(this),p=l.lastIndex;t(p,0)||(l.lastIndex=0);var d=n(l,h);return t(l.lastIndex,p)||(l.lastIndex=p),d===null?-1:d.index}]}),T_}var R_={},Ol,N_;function li(){if(N_)return Ol;N_=1;var e=it(),t=Nn(),n=pt()("species");return Ol=function(r,s){var i=e(r).constructor,o;return i===void 0||(o=e(i)[n])==null?s:t(o)},Ol}var O_;function CP(){if(O_)return R_;O_=1;var e=Ju(),t=it(),n=li(),r=Cl(),s=_t(),i=Sa(),o=Pl(),c=rt(),u=Math.min,l=[].push,h="split",p="length",d="lastIndex",_=4294967295,k=!c(function(){});return Ia()("split",2,function(g,y,E,I){var v;return"abbc"[h](/(b)*/)[1]=="c"||"test"[h](/(?:)/,-1)[p]!=4||"ab"[h](/(?:ab)*/)[p]!=2||"."[h](/(.?)(.?)/)[p]!=4||"."[h](/()()/)[p]>1||""[h](/.?/)[p]?v=function(x,b){var A=String(this);if(x===void 0&&b===0)return[];if(!e(x))return E.call(A,x,b);for(var P=[],F=(x.ignoreCase?"i":"")+(x.multiline?"m":"")+(x.unicode?"u":"")+(x.sticky?"y":""),N=0,z=b===void 0?_:b>>>0,B=new RegExp(x.source,F+"g"),R,C,D;(R=o.call(B,A))&&(C=B[d],!(C>N&&(P.push(A.slice(N,R.index)),R[p]>1&&R.index<A[p]&&l.apply(P,R.slice(1)),D=R[0][p],N=C,P[p]>=z)));)B[d]===R.index&&B[d]++;return N===A[p]?(D||!B.test(""))&&P.push(""):P.push(A.slice(N)),P[p]>z?P.slice(0,z):P}:"0"[h](void 0,0)[p]?v=function(x,b){return x===void 0&&b===0?[]:E.call(this,x,b)}:v=E,[function(b,A){var P=g(this),F=b==null?void 0:b[y];return F!==void 0?F.call(b,P,A):v.call(String(P),b,A)},function(x,b){var A=I(v,x,this,b,v!==E);if(A.done)return A.value;var P=t(x),F=String(this),N=n(P,RegExp),z=P.unicode,B=(P.ignoreCase?"i":"")+(P.multiline?"m":"")+(P.unicode?"u":"")+(k?"y":"g"),R=new N(k?P:"^(?:"+P.source+")",B),C=b===void 0?_:b>>>0;if(C===0)return[];if(F.length===0)return i(R,F)===null?[F]:[];for(var D=0,W=0,J=[];W<F.length;){R.lastIndex=k?W:0;var j=i(R,k?F:F.slice(W)),$;if(j===null||($=u(s(R.lastIndex+(k?0:W)),F.length))===D)W=r(F,W,z);else{if(J.push(F.slice(D,W)),J.length===C)return J;for(var M=1;M<=j.length-1;M++)if(J.push(j[M]),J.length===C)return J;W=D=$}}return J.push(F.slice(D)),J}]}),R_}var $_={},$l,D_;function Ss(){return D_||(D_=1,$l=function(e,t,n,r){if(!(e instanceof t)||r!==void 0&&r in e)throw TypeError(n+": incorrect invocation!");return e}),$l}var Dl={exports:{}},L_;function wa(){if(L_)return Dl.exports;L_=1;
2var e=On(),t=oy(),n=ol(),r=it(),s=_t(),i=hl(),o={},c={},u=Dl.exports=function(l,h,p,d,_){var k=_?function(){return l}:i(l),g=e(p,d,h?2:1),y=0,E,I,v,x;if(typeof k!="function")throw TypeError(l+" is not iterable!");if(n(k)){for(E=s(l.length);E>y;y++)if(x=h?g(r(I=l[y])[0],I[1]):g(l[y]),x===o||x===c)return x}else for(v=k.call(l);!(I=v.next()).done;)if(x=t(v,g,I.value,h),x===o||x===c)return x};return u.BREAK=o,u.RETURN=c,Dl.exports}var Ll,M_;function Ml(){if(M_)return Ll;M_=1;var e=On(),t=pm(),n=pu(),r=Ac(),s=nt(),i=s.process,o=s.setImmediate,c=s.clearImmediate,u=s.MessageChannel,l=s.Dispatch,h=0,p={},d="onreadystatechange",_,k,g,y=function(){var I=+this;if(p.hasOwnProperty(I)){var v=p[I];delete p[I],v()}},E=function(I){y.call(I.data)};return(!o||!c)&&(o=function(v){for(var x=[],b=1;arguments.length>b;)x.push(arguments[b++]);return p[++h]=function(){t(typeof v=="function"?v:Function(v),x)},_(h),h},c=function(v){delete p[v]},tr()(i)=="process"?_=function(I){i.nextTick(e(y,I,1))}:l&&l.now?_=function(I){l.now(e(y,I,1))}:u?(k=new u,g=k.port2,k.port1.onmessage=E,_=e(g.postMessage,g,1)):s.addEventListener&&typeof postMessage=="function"&&!s.importScripts?(_=function(I){s.postMessage(I+"","*")},s.addEventListener("message",E,!1)):d in r("script")?_=function(I){n.appendChild(r("script"))[d]=function(){n.removeChild(this),y.call(I)}}:_=function(I){setTimeout(e(y,I,1),0)}),Ll={set:o,clear:c},Ll}var Fl,F_;function RP(){if(F_)return Fl;F_=1;var e=nt(),t=Ml().set,n=e.MutationObserver||e.WebKitMutationObserver,r=e.process,s=e.Promise,i=tr()(r)=="process";return Fl=function(){var o,c,u,l=function(){var _,k;for(i&&(_=r.domain)&&_.exit();o;){k=o.fn,o=o.next;try{k()}catch(g){throw o?u():c=void 0,g}}c=void 0,_&&_.enter()};if(i)u=function(){r.nextTick(l)};else if(n&&!(e.navigator&&e.navigator.standalone)){var h=!0,p=document.createTextNode("");new n(l).observe(p,{characterData:!0}),u=function(){p.data=h=!h}}else if(s&&s.resolve){var d=s.resolve(void 0);u=function(){d.then(l)}}else u=function(){t.call(e,l)};return function(_){var k={fn:_,next:void 0};c&&(c.next=k),o||(o=k,u()),c=k}},Fl}var ql={},q_;function j_(){if(q_)return ql;q_=1;var e=Nn();function t(n){var r,s;this.promise=new n(function(i,o){if(r!==void 0||s!==void 0)throw TypeError("Bad Promise constructor");r=i,s=o}),this.resolve=e(r),this.reject=e(s)}return ql.f=function(n){return new t(n)},ql}var jl,B_;function NP(){return B_||(B_=1,jl=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}),jl}var Bl,V_;function Aa(){if(V_)return Bl;V_=1;var e=nt(),t=e.navigator;return Bl=t&&t.userAgent||"",Bl}var Vl,z_;function U_(){if(z_)return Vl;z_=1;var e=it(),t=st(),n=j_();return Vl=function(r,s){if(e(r),t(s)&&s.constructor===r)return s;var i=n.f(r),o=i.resolve;return o(s),i.promise},Vl}var zl,G_;function Is(){if(G_)return zl;G_=1;var e=Zt();return zl=function(t,n,r){for(var s in n)e(t,s,n[s],r);return t},zl}var W_;function H_(){if(W_)return $_;W_=1;var e=Mr(),t=nt(),n=On(),r=ui(),s=ce(),i=st(),o=Nn(),c=Ss(),u=wa(),l=li(),h=Ml().set,p=RP()(),d=j_(),_=NP(),k=Aa(),g=U_(),y="Promise",E=t.TypeError,I=t.process,v=I&&I.versions,x=v&&v.v8||"",b=t[y],A=r(I)=="process",P=function(){},F,N,z,B,R=N=d.f,C=!!(function(){try{var U=b.resolve(1),H=(U.constructor={})[pt()("species")]=function(ae){ae(P,P)};return(A||typeof PromiseRejectionEvent=="function")&&U.then(P)instanceof H&&x.indexOf("6.6")!==0&&k.indexOf("Chrome/66")===-1}catch{}})(),D=function(U){var H;return i(U)&&typeof(H=U.then)=="function"?H:!1},W=function(U,H){if(!U._n){U._n=!0;var ae=U._c;p(function(){for(var te=U._v,q=U._s==1,K=0,L=function(O){var V=q?O.ok:O.fail,Q=O.resolve,Z=O.reject,re=O.domain,oe,me,ye;try{V?(q||(U._h==2&&$(U),U._h=1),V===!0?oe=te:(re&&re.enter(),oe=V(te),re&&(re.exit(),ye=!0)),oe===O.promise?Z(E("Promise-chain cycle")):(me=D(oe))?me.call(oe,Q,Z):Q(oe)):Z(te)}catch(Se){re&&!ye&&re.exit(),Z(Se)}};ae.length>K;)L(ae[K++]);U._c=[],U._n=!1,H&&!U._h&&J(U)})}},J=function(U){h.call(t,function(){var H=U._v,ae=j(U),te,q,K;if(ae&&(te=_(function(){A?I.emit("unhandledRejection",H,U):(q=t.onunhandledrejection)?q({promise:U,reason:H}):(K=t.console)&&K.error&&K.error("Unhandled promise rejection",H)}),U._h=A||j(U)?2:1),U._a=void 0,ae&&te.e)throw te.v})},j=function(U){return U._h!==1&&(U._a||U._c).length===0},$=function(U){h.call(t,function(){var H;A?I.emit("rejectionHandled",U):(H=t.onrejectionhandled)&&H({promise:U,reason:U._v})})},M=function(U){var H=this;H._d||(H._d=!0,H=H._w||H,H._v=U,H._s=2,H._a||(H._a=H._c.slice()),W(H,!0))},X=function(U){var H=this,ae;if(!H._d){H._d=!0,H=H._w||H;
2try{if(H===U)throw E("Promise can't be resolved itself");(ae=D(U))?p(function(){var te={_w:H,_d:!1};try{ae.call(U,n(X,te,1),n(M,te,1))}catch(q){M.call(te,q)}}):(H._v=U,H._s=1,W(H,!1))}catch(te){M.call({_w:H,_d:!1},te)}}};return C||(b=function(H){c(this,b,y,"_h"),o(H),F.call(this);try{H(n(X,this,1),n(M,this,1))}catch(ae){M.call(this,ae)}},F=function(H){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},F.prototype=Is()(b.prototype,{then:function(H,ae){var te=R(l(this,b));return te.ok=typeof H=="function"?H:!0,te.fail=typeof ae=="function"&&ae,te.domain=A?I.domain:void 0,this._c.push(te),this._a&&this._a.push(te),this._s&&W(this,!1),te.promise},catch:function(U){return this.then(void 0,U)}}),z=function(){var U=new F;this.promise=U,this.resolve=n(X,U,1),this.reject=n(M,U,1)},d.f=R=function(U){return U===b||U===B?new z(U):N(U)}),s(s.G+s.W+s.F*!C,{Promise:b}),xs()(b,y),ks()(y),B=It()[y],s(s.S+s.F*!C,y,{reject:function(H){var ae=R(this),te=ae.reject;return te(H),ae.promise}}),s(s.S+s.F*(e||!C),y,{resolve:function(H){return g(e&&this===B?b:this,H)}}),s(s.S+s.F*!(C&&Ea()(function(U){b.all(U).catch(P)})),y,{all:function(H){var ae=this,te=R(ae),q=te.resolve,K=te.reject,L=_(function(){var O=[],V=0,Q=1;u(H,!1,function(Z){var re=V++,oe=!1;O.push(void 0),Q++,ae.resolve(Z).then(function(me){oe||(oe=!0,O[re]=me,--Q||q(O))},K)}),--Q||q(O)});return L.e&&K(L.v),te.promise},race:function(H){var ae=this,te=R(ae),q=te.reject,K=_(function(){u(H,!1,function(L){ae.resolve(L).then(te.resolve,q)})});return K.e&&q(K.v),te.promise}}),$_}var Ul,K_;function Ur(){if(K_)return Ul;K_=1;var e=st();return Ul=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t},Ul}var Gl,X_;function Q_(){if(X_)return Gl;X_=1;var e=Nt().f,t=jr(),n=Is(),r=On(),s=Ss(),i=wa(),o=Xu(),c=c_(),u=ks(),l=Rt(),h=hr().fastKey,p=Ur(),d=l?"_s":"size",_=function(k,g){var y=h(g),E;if(y!=="F")return k._i[y];for(E=k._f;E;E=E.n)if(E.k==g)return E};return Gl={getConstructor:function(k,g,y,E){var I=k(function(v,x){s(v,I,g,"_i"),v._t=g,v._i=t(null),v._f=void 0,v._l=void 0,v[d]=0,x!=null&&i(x,y,v[E],v)});return n(I.prototype,{clear:function(){for(var x=p(this,g),b=x._i,A=x._f;A;A=A.n)A.r=!0,A.p&&(A.p=A.p.n=void 0),delete b[A.i];x._f=x._l=void 0,x[d]=0},delete:function(v){var x=p(this,g),b=_(x,v);if(b){var A=b.n,P=b.p;delete x._i[b.i],b.r=!0,P&&(P.n=A),A&&(A.p=P),x._f==b&&(x._f=A),x._l==b&&(x._l=P),x[d]--}return!!b},forEach:function(x){p(this,g);for(var b=r(x,arguments.length>1?arguments[1]:void 0,3),A;A=A?A.n:this._f;)for(b(A.v,A.k,this);A&&A.r;)A=A.p},has:function(x){return!!_(p(this,g),x)}}),l&&e(I.prototype,"size",{get:function(){return p(this,g)[d]}}),I},def:function(k,g,y){var E=_(k,g),I,v;return E?E.v=y:(k._l=E={i:v=h(g,!0),k:g,v:y,p:I=k._l,n:void 0,r:!1},k._f||(k._f=E),I&&(I.n=E),k[d]++,v!=="F"&&(k._i[v]=E)),k},getEntry:_,setStrong:function(k,g,y){o(k,g,function(E,I){this._t=p(E,g),this._k=I,this._l=void 0},function(){for(var E=this,I=E._k,v=E._l;v&&v.r;)v=v.p;return!E._t||!(E._l=v=v?v.n:E._t._f)?(E._t=void 0,c(1)):I=="keys"?c(0,v.k):I=="values"?c(0,v.v):c(0,[v.k,v.v])},y?"entries":"values",!y,!0),u(g)}},Gl}var Wl,J_;function Pa(){if(J_)return Wl;J_=1;var e=nt(),t=ce(),n=Zt(),r=Is(),s=hr(),i=wa(),o=Ss(),c=st(),u=rt(),l=Ea(),h=xs(),p=Ou();return Wl=function(d,_,k,g,y,E){var I=e[d],v=I,x=y?"set":"add",b=v&&v.prototype,A={},P=function(C){var D=b[C];n(b,C,C=="delete"?function(W){return E&&!c(W)?!1:D.call(this,W===0?0:W)}:C=="has"?function(J){return E&&!c(J)?!1:D.call(this,J===0?0:J)}:C=="get"?function(J){return E&&!c(J)?void 0:D.call(this,J===0?0:J)}:C=="add"?function(J){return D.call(this,J===0?0:J),this}:function(J,j){return D.call(this,J===0?0:J,j),this})};if(typeof v!="function"||!(E||b.forEach&&!u(function(){new v().entries().next()})))v=g.getConstructor(_,d,y,x),r(v.prototype,k),s.NEED=!0;else{var F=new v,N=F[x](E?{}:-0,1)!=F,z=u(function(){F.has(1)}),B=l(function(C){new v(C)}),R=!E&&u(function(){for(var C=new v,D=5;D--;)C[x](D,D);return!C.has(-0)});B||(v=_(function(C,D){o(C,v,d);var W=p(new I,C,v);return D!=null&&i(D,y,W[x],W),W}),v.prototype=b,b.constructor=v),(z||R)&&(P("delete"),P("has"),y&&P("get")),(R||N)&&P(x),E&&b.clear&&delete b.clear}return h(v,d),A[d]=v,t(t.G+t.W+t.F*(v!=I),A),E||g.setStrong(v,d,y),v},Wl}var Hl,Y_;function OP(){if(Y_)return Hl;Y_=1;var e=Q_(),t=Ur(),n="Map";return Hl=Pa()(n,function(r){return function(){return r(this,arguments.length>0?arguments[0]:void 0)}},{get:function(s){var i=e.getEntry(t(this,n),s);return i&&i.v},set:function(s,i){return e.def(t(this,n),s===0?0:s,i)}},e,!0),Hl}var Kl,Z_;function $P(){if(Z_)return Kl;Z_=1;var e=Q_(),t=Ur(),n="Set";return Kl=Pa()(n,function(r){return function(){return r(this,arguments.length>0?arguments[0]:void 0)}},{add:function(s){return e.def(t(this,n),s=s===0?0:s,s)}},e),Kl}var Xl={exports:{}},Ql,ex;function tx(){if(ex)return Ql;ex=1;var e=Is(),t=hr().getWeak,n=it(),r=st(),s=Ss(),i=wa(),o=Mn(),c=ln(),u=Ur(),l=o(5),h=o(6),p=0,d=function(g){return g._l||(g._l=new _)},_=function(){this.a=[]},k=function(g,y){return l(g.a,function(E){return E[0]===y})};return _.prototype={get:function(g){var y=k(this,g);
2if(y)return y[1]},has:function(g){return!!k(this,g)},set:function(g,y){var E=k(this,g);E?E[1]=y:this.a.push([g,y])},delete:function(g){var y=h(this.a,function(E){return E[0]===g});return~y&&this.a.splice(y,1),!!~y}},Ql={getConstructor:function(g,y,E,I){var v=g(function(x,b){s(x,v,y,"_i"),x._t=y,x._i=p++,x._l=void 0,b!=null&&i(b,E,x[I],x)});return e(v.prototype,{delete:function(x){if(!r(x))return!1;var b=t(x);return b===!0?d(u(this,y)).delete(x):b&&c(b,this._i)&&delete b[this._i]},has:function(b){if(!r(b))return!1;var A=t(b);return A===!0?d(u(this,y)).has(b):A&&c(A,this._i)}}),v},def:function(g,y,E){var I=t(n(y),!0);return I===!0?d(g).set(y,E):I[g._i]=E,g},ufstore:d},Ql}var nx;function DP(){if(nx)return Xl.exports;nx=1;var e=nt(),t=Mn()(0),n=Zt(),r=hr(),s=Z1(),i=tx(),o=st(),c=Ur(),u=Ur(),l=!e.ActiveXObject&&"ActiveXObject"in e,h="WeakMap",p=r.getWeak,d=Object.isExtensible,_=i.ufstore,k,g=function(I){return function(){return I(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(v){if(o(v)){var x=p(v);return x===!0?_(c(this,h)).get(v):x?x[this._i]:void 0}},set:function(v,x){return i.def(c(this,h),v,x)}},E=Xl.exports=Pa()(h,g,y,i,!0,!0);return u&&l&&(k=i.getConstructor(g,h),s(k.prototype,y),r.NEED=!0,t(["delete","has","get","set"],function(I){var v=E.prototype,x=v[I];n(v,I,function(b,A){if(o(b)&&!d(b)){this._f||(this._f=new k);var P=this._f[I](b,A);return I=="set"?this:P}return x.call(this,b,A)})})),Xl.exports}var rx={},sx;function LP(){if(sx)return rx;sx=1;var e=tx(),t=Ur(),n="WeakSet";return Pa()(n,function(r){return function(){return r(this,arguments.length>0?arguments[0]:void 0)}},{add:function(s){return e.def(t(this,n),s,!0)}},e,!1,!0),rx}var ix={},Jl,ax;function Ta(){if(ax)return Jl;ax=1;for(var e=nt(),t=hn(),n=Lr(),r=n("typed_array"),s=n("view"),i=!!(e.ArrayBuffer&&e.DataView),o=i,c=0,u=9,l,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<u;)(l=e[h[c++]])?(t(l.prototype,r,!0),t(l.prototype,s,!0)):o=!1;return Jl={ABV:i,CONSTR:o,TYPED:r,VIEW:s},Jl}var Yl={},Zl,ox;function cx(){if(ox)return Zl;ox=1;var e=$n(),t=_t();return Zl=function(n){if(n===void 0)return 0;var r=e(n),s=t(r);if(r!==s)throw RangeError("Wrong length!");return s},Zl}var ux;function eh(){return ux||(ux=1,(function(e){var t=nt(),n=Rt(),r=Mr(),s=Ta(),i=hn(),o=Is(),c=rt(),u=Ss(),l=$n(),h=_t(),p=cx(),d=Br().f,_=Nt().f,k=bl(),g=xs(),y="ArrayBuffer",E="DataView",I="prototype",v="Wrong length!",x="Wrong index!",b=t[y],A=t[E],P=t.Math,F=t.RangeError,N=t.Infinity,z=b,B=P.abs,R=P.pow,C=P.floor,D=P.log,W=P.LN2,J="buffer",j="byteLength",$="byteOffset",M=n?"_b":J,X=n?"_l":j,U=n?"_o":$;function H(se,ue,_e){var Ue=new Array(_e),xe=_e*8-ue-1,le=(1<<xe)-1,ge=le>>1,Ae=ue===23?R(2,-24)-R(2,-77):0,Ke=0,Ge=se<0||se===0&&1/se<0?1:0,Oe,at,Dt;for(se=B(se),se!=se||se===N?(at=se!=se?1:0,Oe=le):(Oe=C(D(se)/W),se*(Dt=R(2,-Oe))<1&&(Oe--,Dt*=2),Oe+ge>=1?se+=Ae/Dt:se+=Ae*R(2,1-ge),se*Dt>=2&&(Oe++,Dt/=2),Oe+ge>=le?(at=0,Oe=le):Oe+ge>=1?(at=(se*Dt-1)*R(2,ue),Oe=Oe+ge):(at=se*R(2,ge-1)*R(2,ue),Oe=0));ue>=8;Ue[Ke++]=at&255,at/=256,ue-=8);for(Oe=Oe<<ue|at,xe+=ue;xe>0;Ue[Ke++]=Oe&255,Oe/=256,xe-=8);return Ue[--Ke]|=Ge*128,Ue}function ae(se,ue,_e){var Ue=_e*8-ue-1,xe=(1<<Ue)-1,le=xe>>1,ge=Ue-7,Ae=_e-1,Ke=se[Ae--],Ge=Ke&127,Oe;for(Ke>>=7;ge>0;Ge=Ge*256+se[Ae],Ae--,ge-=8);for(Oe=Ge&(1<<-ge)-1,Ge>>=-ge,ge+=ue;ge>0;Oe=Oe*256+se[Ae],Ae--,ge-=8);if(Ge===0)Ge=1-le;else{if(Ge===xe)return Oe?NaN:Ke?-N:N;Oe=Oe+R(2,ue),Ge=Ge-le}return(Ke?-1:1)*Oe*R(2,Ge-ue)}function te(se){return se[3]<<24|se[2]<<16|se[1]<<8|se[0]}function q(se){return[se&255]}function K(se){return[se&255,se>>8&255]}function L(se){return[se&255,se>>8&255,se>>16&255,se>>24&255]}function O(se){return H(se,52,8)}function V(se){return H(se,23,4)}function Q(se,ue,_e){_(se[I],ue,{get:function(){return this[_e]}})}function Z(se,ue,_e,Ue){var xe=+_e,le=p(xe);if(le+ue>se[X])throw F(x);var ge=se[M]._b,Ae=le+se[U],Ke=ge.slice(Ae,Ae+ue);return Ue?Ke:Ke.reverse()}function re(se,ue,_e,Ue,xe,le){var ge=+_e,Ae=p(ge);if(Ae+ue>se[X])throw F(x);for(var Ke=se[M]._b,Ge=Ae+se[U],Oe=Ue(+xe),at=0;at<ue;at++)Ke[Ge+at]=Oe[le?at:ue-at-1]}if(!s.ABV)b=function(ue){u(this,b,y);var _e=p(ue);this._b=k.call(new Array(_e),0),this[X]=_e}
2,A=function(ue,_e,Ue){u(this,A,E),u(ue,b,E);var xe=ue[X],le=l(_e);if(le<0||le>xe)throw F("Wrong offset!");if(Ue=Ue===void 0?xe-le:h(Ue),le+Ue>xe)throw F(v);this[M]=ue,this[U]=le,this[X]=Ue},n&&(Q(b,j,"_l"),Q(A,J,"_b"),Q(A,j,"_l"),Q(A,$,"_o")),o(A[I],{getInt8:function(ue){return Z(this,1,ue)[0]<<24>>24},getUint8:function(ue){return Z(this,1,ue)[0]},getInt16:function(ue){var _e=Z(this,2,ue,arguments[1]);return(_e[1]<<8|_e[0])<<16>>16},getUint16:function(ue){var _e=Z(this,2,ue,arguments[1]);return _e[1]<<8|_e[0]},getInt32:function(ue){return te(Z(this,4,ue,arguments[1]))},getUint32:function(ue){return te(Z(this,4,ue,arguments[1]))>>>0},getFloat32:function(ue){return ae(Z(this,4,ue,arguments[1]),23,4)},getFloat64:function(ue){return ae(Z(this,8,ue,arguments[1]),52,8)},setInt8:function(ue,_e){re(this,1,ue,q,_e)},setUint8:function(ue,_e){re(this,1,ue,q,_e)},setInt16:function(ue,_e){re(this,2,ue,K,_e,arguments[2])},setUint16:function(ue,_e){re(this,2,ue,K,_e,arguments[2])},setInt32:function(ue,_e){re(this,4,ue,L,_e,arguments[2])},setUint32:function(ue,_e){re(this,4,ue,L,_e,arguments[2])},setFloat32:function(ue,_e){re(this,4,ue,V,_e,arguments[2])},setFloat64:function(ue,_e){re(this,8,ue,O,_e,arguments[2])}});else{if(!c(function(){b(1)})||!c(function(){new b(-1)})||c(function(){return new b,new b(1.5),new b(NaN),b.name!=y})){b=function(ue){return u(this,b),new z(p(ue))};for(var oe=b[I]=z[I],me=d(z),ye=0,Se;me.length>ye;)(Se=me[ye++])in b||i(b,Se,z[Se]);r||(oe.constructor=b)}var we=new A(new b(2)),Ce=A[I].setInt8;we.setInt8(0,2147483648),we.setInt8(1,2147483649),(we.getInt8(0)||!we.getInt8(1))&&o(A[I],{setInt8:function(ue,_e){Ce.call(this,ue,_e<<24>>24)},setUint8:function(ue,_e){Ce.call(this,ue,_e<<24>>24)}},!0)}g(b,y),g(A,E),i(A[I],s.VIEW,!0),e[y]=b,e[E]=A})(Yl)),Yl}var lx;function MP(){if(lx)return ix;lx=1;var e=ce(),t=Ta(),n=eh(),r=it(),s=Fr(),i=_t(),o=st(),c=nt().ArrayBuffer,u=li(),l=n.ArrayBuffer,h=n.DataView,p=t.ABV&&c.isView,d=l.prototype.slice,_=t.VIEW,k="ArrayBuffer";return e(e.G+e.W+e.F*(c!==l),{ArrayBuffer:l}),e(e.S+e.F*!t.CONSTR,k,{isView:function(y){return p&&p(y)||o(y)&&_ in y}}),e(e.P+e.U+e.F*rt()(function(){return!new l(2).slice(1,void 0).byteLength}),k,{slice:function(y,E){if(d!==void 0&&E===void 0)return d.call(r(this),y);for(var I=r(this).byteLength,v=s(y,I),x=s(E===void 0?I:E,I),b=new(u(this,l))(i(x-v)),A=new h(this),P=new h(b),F=0;v<x;)P.setUint8(F++,A.getUint8(v++));return b}}),ks()(k),ix}var hx={},fx;function FP(){if(fx)return hx;fx=1;var e=ce();return e(e.G+e.W+e.F*!Ta().ABV,{DataView:eh().DataView}),hx}var px={},Ca={exports:{}},dx;function rr(){if(dx)return Ca.exports;if(dx=1,Rt()){var e=Mr(),t=nt(),n=rt(),r=ce(),s=Ta(),i=eh(),o=On(),c=Ss(),u=Dr(),l=hn(),h=Is(),p=$n(),d=_t(),_=cx(),k=Fr(),g=lr(),y=ln(),E=ui(),I=st(),v=Ut(),x=ol(),b=jr(),A=Vr(),P=Br().f,F=hl(),N=Lr(),z=pt(),B=Mn(),R=_a(),C=li(),D=Il(),W=Es(),J=Ea(),j=ks(),$=bl(),M=Ky(),X=Nt(),U=Dn(),H=X.f,ae=U.f,te=t.RangeError,q=t.TypeError,K=t.Uint8Array,L="ArrayBuffer",O="Shared"+L,V="BYTES_PER_ELEMENT",Q="prototype",Z=Array[Q],re=i.ArrayBuffer,oe=i.DataView,me=B(0),ye=B(2),Se=B(3),we=B(4),Ce=B(5),se=B(6),ue=R(!0),_e=R(!1),Ue=D.values,xe=D.keys,le=D.entries,ge=Z.lastIndexOf,Ae=Z.reduce,Ke=Z.reduceRight,Ge=Z.join,Oe=Z.sort,at=Z.slice,Dt=Z.toString,Jn=Z.toLocaleString,Yn=z("iterator"),wr=z("toStringTag"),Xs=N("typed_constructor"),Ar=N("def_constructor"),Qs=s.CONSTR,Zn=s.TYPED,la=s.VIEW,Pr="Wrong length!",ha=B(1,function(ke,he){return Cr(C(ke,ke[Ar]),he)}),Js=n(function(){return new K(new Uint16Array([1]).buffer)[0]===1}),fa=!!K&&!!K[Q].set&&n(function(){new K(1).set({})}),Tr=function(ke,he){var Re=p(ke);if(Re<0||Re%he)throw te("Wrong offset!");return Re},ut=function(ke){if(I(ke)&&Zn in ke)return ke;throw q(ke+" is not a typed array!")},Cr=function(ke,he){if(!(I(ke)&&Xs in ke))throw q("It is not a typed array constructor!");return new ke(he)},Ys=function(ke,he){return gs(C(ke,ke[Ar]),he)},gs=function(ke,he){for(var Re=0,Be=he.length,We=Cr(ke,Be);Be>Re;)We[Re]=he[Re++];return We},Rr=function(ke,he,Re){H(ke,he,{get:function(){return this._d[Re]}})},vs=function(he){var Re=v(he),Be=arguments.length,We=Be>1?arguments[1]:void 0,zt=We!==void 0,un=F(Re),Le,Qt,Or,ys,_s,St;if(un!=null&&!x(un)){for(St=un.call(Re),Or=[],Le=0;!(_s=St.next()).done;Le++)Or.push(_s.value);Re=Or}for(zt&&Be>2&&(We=o(We,arguments[2],2)),Le=0,Qt=d(Re.length),ys=Cr(this,Qt);Qt>Le;Le++)ys[Le]=zt?We(Re[Le],Le):Re[Le];return ys},pa=function(){for(var he=0,Re=arguments.length,Be=Cr(this,Re);Re>he;)Be[he]=arguments[he++];return Be},da=!!K&&n(function(){Jn.call(new K(1))}),Zs=function(){return Jn.apply(da?at.call(ut(this)):ut(this),arguments)},ei={copyWithin:function(he,Re){return M.call(ut(this),he,Re,arguments.length>2?arguments[2]:void 0)},every:function(he){return we(ut(this),he,arguments.length>1?arguments[1]:void 0)},fill:function(he){return $.apply(ut(this),arguments)},filter:function(he){return Ys(this,ye(ut(this),he,arguments.length>1?arguments[1]:void 0))},find:function(he){return Ce(ut(this),he,arguments.length>1?arguments[1]:void 0)},findIndex:function(he){return se(ut(this),he,arguments.length>1?arguments[1]:void 0)}
2,forEach:function(he){me(ut(this),he,arguments.length>1?arguments[1]:void 0)},indexOf:function(he){return _e(ut(this),he,arguments.length>1?arguments[1]:void 0)},includes:function(he){return ue(ut(this),he,arguments.length>1?arguments[1]:void 0)},join:function(he){return Ge.apply(ut(this),arguments)},lastIndexOf:function(he){return ge.apply(ut(this),arguments)},map:function(he){return ha(ut(this),he,arguments.length>1?arguments[1]:void 0)},reduce:function(he){return Ae.apply(ut(this),arguments)},reduceRight:function(he){return Ke.apply(ut(this),arguments)},reverse:function(){for(var he=this,Re=ut(he).length,Be=Math.floor(Re/2),We=0,zt;We<Be;)zt=he[We],he[We++]=he[--Re],he[Re]=zt;return he},some:function(he){return Se(ut(this),he,arguments.length>1?arguments[1]:void 0)},sort:function(he){return Oe.call(ut(this),he)},subarray:function(he,Re){var Be=ut(this),We=Be.length,zt=k(he,We);return new(C(Be,Be[Ar]))(Be.buffer,Be.byteOffset+zt*Be.BYTES_PER_ELEMENT,d((Re===void 0?We:k(Re,We))-zt))}},ti=function(he,Re){return Ys(this,at.call(ut(this),he,Re))},ni=function(he){ut(this);var Re=Tr(arguments[1],1),Be=this.length,We=v(he),zt=d(We.length),un=0;if(zt+Re>Be)throw te(Pr);for(;un<zt;)this[Re+un]=We[un++]},Nr={entries:function(){return le.call(ut(this))},keys:function(){return xe.call(ut(this))},values:function(){return Ue.call(ut(this))}},ri=function(ke,he){return I(ke)&&ke[Zn]&&typeof he!="symbol"&&he in ke&&String(+he)==String(he)},si=function(he,Re){return ri(he,Re=g(Re,!0))?u(2,he[Re]):ae(he,Re)},ii=function(he,Re,Be){return ri(he,Re=g(Re,!0))&&I(Be)&&y(Be,"value")&&!y(Be,"get")&&!y(Be,"set")&&!Be.configurable&&(!y(Be,"writable")||Be.writable)&&(!y(Be,"enumerable")||Be.enumerable)?(he[Re]=Be.value,he):H(he,Re,Be)};Qs||(U.f=si,X.f=ii),r(r.S+r.F*!Qs,"Object",{getOwnPropertyDescriptor:si,defineProperty:ii}),n(function(){Dt.call({})})&&(Dt=Jn=function(){return Ge.call(this)});var cn=h({},ei);h(cn,Nr),l(cn,Yn,Nr.values),h(cn,{slice:ti,set:ni,constructor:function(){},toString:Dt,toLocaleString:Zs}),Rr(cn,"buffer","b"),Rr(cn,"byteOffset","o"),Rr(cn,"byteLength","l"),Rr(cn,"length","e"),H(cn,wr,{get:function(){return this[Zn]}}),Ca.exports=function(ke,he,Re,Be){Be=!!Be;var We=ke+(Be?"Clamped":"")+"Array",zt="get"+ke,un="set"+ke,Le=t[We],Qt=Le||{},Or=Le&&A(Le),ys=!Le||!s.ABV,_s={},St=Le&&Le[Q],dd=function(Lt,ot){var Mt=Lt._d;return Mt.v[zt](ot*he+Mt.o,Js)},md=function(Lt,ot,Mt){var er=Lt._d;Be&&(Mt=(Mt=Math.round(Mt))<0?0:Mt>255?255:Mt&255),er.v[un](ot*he+er.o,Mt,Js)},gd=function(Lt,ot){H(Lt,ot,{get:function(){return dd(this,ot)},set:function(Mt){return md(this,ot,Mt)},enumerable:!0})};ys?(Le=Re(function(Lt,ot,Mt,er){c(Lt,Le,We,"_d");var ga=0,gc=0,vc,$r,va,w0;if(!I(ot))va=_(ot),$r=va*he,vc=new re($r);else if(ot instanceof re||(w0=E(ot))==L||w0==O){vc=ot,gc=Tr(Mt,he);var vd=ot.byteLength;if(er===void 0){if(vd%he||($r=vd-gc,$r<0))throw te(Pr)}else if($r=d(er)*he,$r+gc>vd)throw te(Pr);va=$r/he}else return Zn in ot?gs(Le,ot):vs.call(Le,ot);for(l(Lt,"_d",{b:vc,o:gc,l:$r,e:va,v:new oe(vc)});ga<va;)gd(Lt,ga++)}),St=Le[Q]=b(cn),l(St,"constructor",Le)):(!n(function(){Le(1)})||!n(function(){new Le(-1)})||!J(function(Lt){new Le,new Le(null),new Le(1.5),new Le(Lt)},!0))&&(Le=Re(function(Lt,ot,Mt,er){c(Lt,Le,We);var ga;return I(ot)?ot instanceof re||(ga=E(ot))==L||ga==O?er!==void 0?new Qt(ot,Tr(Mt,he),er):Mt!==void 0?new Qt(ot,Tr(Mt,he)):new Qt(ot):Zn in ot?gs(Le,ot):vs.call(Le,ot):new Qt(_(ot))}),me(Or!==Function.prototype?P(Qt).concat(P(Or)):P(Qt),function(Lt){Lt in Le||l(Le,Lt,Qt[Lt])}),Le[Q]=St,e||(St.constructor=Le));var ai=St[Yn],ma=!!ai&&(ai.name=="values"||ai.name==null),mc=Nr.values;l(Le,Xs,!0),l(St,Zn,We),l(St,la,!0),l(St,Ar,Le),(Be?new Le(1)[wr]!=We:!(wr in St))&&H(St,wr,{get:function(){return We}}),_s[We]=Le,r(r.G+r.W+r.F*(Le!=Qt),_s),r(r.S,We,{BYTES_PER_ELEMENT:he}),r(r.S+r.F*n(function(){Qt.of.call(Le,1)}),We,{from:vs,of:pa}),V in St||l(St,V,he),r(r.P,We,ei),j(We),r(r.P+r.F*fa,We,{set:ni}),r(r.P+r.F*!ma,We,Nr),!e&&St.toString!=Dt&&(St.toString=Dt),r(r.P+r.F*n(function(){new Le(1).slice()}),We,{slice:ti}
2),r(r.P+r.F*(n(function(){return[1,2].toLocaleString()!=new Le([1,2]).toLocaleString()})||!n(function(){St.toLocaleString.call([1,2])})),We,{toLocaleString:Zs}),W[We]=ma?ai:mc,!e&&!ma&&l(St,Yn,mc)}}else Ca.exports=function(){};return Ca.exports}var mx;function qP(){return mx||(mx=1,rr()("Int8",1,function(e){return function(n,r,s){return e(this,n,r,s)}})),px}var gx={},vx;function jP(){return vx||(vx=1,rr()("Uint8",1,function(e){return function(n,r,s){return e(this,n,r,s)}})),gx}var yx={},_x;function BP(){return _x||(_x=1,rr()("Uint8",1,function(e){return function(n,r,s){return e(this,n,r,s)}},!0)),yx}var xx={},bx;function VP(){return bx||(bx=1,rr()("Int16",2,function(e){return function(n,r,s){return e(this,n,r,s)}})),xx}var Ex={},kx;function zP(){return kx||(kx=1,rr()("Uint16",2,function(e){return function(n,r,s){return e(this,n,r,s)}})),Ex}var Sx={},Ix;function UP(){return Ix||(Ix=1,rr()("Int32",4,function(e){return function(n,r,s){return e(this,n,r,s)}})),Sx}var wx={},Ax;function GP(){return Ax||(Ax=1,rr()("Uint32",4,function(e){return function(n,r,s){return e(this,n,r,s)}})),wx}var Px={},Tx;function WP(){return Tx||(Tx=1,rr()("Float32",4,function(e){return function(n,r,s){return e(this,n,r,s)}})),Px}var Cx={},Rx;function HP(){return Rx||(Rx=1,rr()("Float64",8,function(e){return function(n,r,s){return e(this,n,r,s)}})),Cx}var Nx={},Ox;function KP(){if(Ox)return Nx;Ox=1;var e=ce(),t=Nn(),n=it(),r=(nt().Reflect||{}).apply,s=Function.apply;return e(e.S+e.F*!rt()(function(){r(function(){})}),"Reflect",{apply:function(o,c,u){var l=t(o),h=n(u);return r?r(l,c,h):s.call(l,c,h)}}),Nx}var $x={},Dx;function XP(){if(Dx)return $x;Dx=1;var e=ce(),t=jr(),n=Nn(),r=it(),s=st(),i=rt(),o=mm(),c=(nt().Reflect||{}).construct,u=i(function(){function h(){}return!(c(function(){},[],h)instanceof h)}),l=!i(function(){c(function(){})});return e(e.S+e.F*(u||l),"Reflect",{construct:function(p,d){n(p),r(d);var _=arguments.length<3?p:n(arguments[2]);if(l&&!u)return c(p,d,_);if(p==_){switch(d.length){case 0:return new p;case 1:return new p(d[0]);case 2:return new p(d[0],d[1]);case 3:return new p(d[0],d[1],d[2]);case 4:return new p(d[0],d[1],d[2],d[3])}var k=[null];return k.push.apply(k,d),new(o.apply(p,k))}var g=_.prototype,y=t(s(g)?g:Object.prototype),E=Function.apply.call(p,y,d);return s(E)?E:y}}),$x}var Lx={},Mx;function QP(){if(Mx)return Lx;Mx=1;var e=Nt(),t=ce(),n=it(),r=lr();return t(t.S+t.F*rt()(function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(i,o,c){n(i),o=r(o,!0),n(c);try{return e.f(i,o,c),!0}catch{return!1}}}),Lx}var Fx={},qx;function JP(){if(qx)return Fx;qx=1;var e=ce(),t=Dn().f,n=it();return e(e.S,"Reflect",{deleteProperty:function(s,i){var o=t(n(s),i);return o&&!o.configurable?!1:delete s[i]}}),Fx}var jx={},Bx;function YP(){if(Bx)return jx;Bx=1;var e=ce(),t=it(),n=function(r){this._t=t(r),this._i=0;var s=this._k=[],i;for(i in r)s.push(i)};return nv()(n,"Object",function(){var r=this,s=r._k,i;do if(r._i>=s.length)return{value:void 0,done:!0};while(!((i=s[r._i++])in r._t));return{value:i,done:!1}}),e(e.S,"Reflect",{enumerate:function(s){return new n(s)}}),jx}var Vx={},zx;function ZP(){if(zx)return Vx;zx=1;var e=Dn(),t=Vr(),n=ln(),r=ce(),s=st(),i=it();function o(c,u){var l=arguments.length<3?c:arguments[2],h,p;if(i(c)===l)return c[u];if(h=e.f(c,u))return n(h,"value")?h.value:h.get!==void 0?h.get.call(l):void 0;if(s(p=t(c)))return o(p,u,l)}return r(r.S,"Reflect",{get:o}),Vx}var Ux={},Gx;function eT(){if(Gx)return Ux;Gx=1;var e=Dn(),t=ce(),n=it();return t(t.S,"Reflect",{getOwnPropertyDescriptor:function(s,i){return e.f(n(s),i)}}),Ux}var Wx={},Hx;function tT(){if(Hx)return Wx;Hx=1;var e=ce(),t=Vr(),n=it();return e(e.S,"Reflect",{getPrototypeOf:function(s){return t(n(s))}}),Wx}var Kx={},Xx;function nT(){if(Xx)return Kx;Xx=1;var e=ce();return e(e.S,"Reflect",{has:function(n,r){return r in n}}),Kx}var Qx={},Jx;function rT(){if(Jx)return Qx;Jx=1;var e=ce(),t=it(),n=Object.isExtensible;return e(e.S,"Reflect",{isExtensible:function(s){return t(s),n?n(s):!0}}),Qx}var Yx={},th,Zx;function eb(){if(Zx)return th;Zx=1;var e=Br(),t=xa(),n=it(),r=nt().Reflect;return th=r&&r.ownKeys||function(i){var o=e.f(n(i)),c=t.f;return c?o.concat(c(i)):o},th}var tb;
2function sT(){if(tb)return Yx;tb=1;var e=ce();return e(e.S,"Reflect",{ownKeys:eb()}),Yx}var nb={},rb;function iT(){if(rb)return nb;rb=1;var e=ce(),t=it(),n=Object.preventExtensions;return e(e.S,"Reflect",{preventExtensions:function(s){t(s);try{return n&&n(s),!0}catch{return!1}}}),nb}var sb={},ib;function aT(){if(ib)return sb;ib=1;var e=Nt(),t=Dn(),n=Vr(),r=ln(),s=ce(),i=Dr(),o=it(),c=st();function u(l,h,p){var d=arguments.length<4?l:arguments[3],_=t.f(o(l),h),k,g;if(!_){if(c(g=n(l)))return u(g,h,p,d);_=i(0)}if(r(_,"value")){if(_.writable===!1||!c(d))return!1;if(k=t.f(d,h)){if(k.get||k.set||k.writable===!1)return!1;k.value=p,e.f(d,h,k)}else e.f(d,h,i(0,p));return!0}return _.set===void 0?!1:(_.set.call(d,p),!0)}return s(s.S,"Reflect",{set:u}),sb}var ab={},ob;function oT(){if(ob)return ab;ob=1;var e=ce(),t=ku();return t&&e(e.S,"Reflect",{setPrototypeOf:function(r,s){t.check(r,s);try{return t.set(r,s),!0}catch{return!1}}}),ab}var nh,cb;function cT(){return cb||(cb=1,C0(),R0(),N0(),O0(),$0(),D0(),L0(),M0(),F0(),q0(),j0(),B0(),V0(),z0(),U0(),G0(),W0(),H0(),K0(),X0(),Q0(),J0(),Y0(),Z0(),eA(),tA(),nA(),rA(),sA(),iA(),aA(),oA(),cA(),uA(),lA(),hA(),fA(),pA(),dA(),mA(),gA(),vA(),_A(),xA(),bA(),EA(),kA(),SA(),IA(),wA(),AA(),PA(),TA(),CA(),RA(),NA(),OA(),$A(),DA(),LA(),MA(),FA(),qA(),jA(),BA(),VA(),zA(),UA(),GA(),WA(),HA(),KA(),XA(),QA(),JA(),YA(),eP(),tP(),rP(),sP(),iP(),aP(),oP(),cP(),uP(),hP(),fP(),pP(),dP(),mP(),gP(),vP(),yP(),_P(),xP(),bP(),EP(),kP(),SP(),Il(),IP(),g_(),wP(),x_(),AP(),PP(),TP(),CP(),H_(),OP(),$P(),DP(),LP(),MP(),FP(),qP(),jP(),BP(),VP(),zP(),UP(),GP(),WP(),HP(),KP(),XP(),QP(),JP(),YP(),ZP(),eT(),tT(),nT(),rT(),sT(),iT(),aT(),oT(),nh=It()),nh}var ub={},lb;function uT(){if(lb)return ub;lb=1;var e=ce(),t=_a()(!0);return e(e.P,"Array",{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),zr()("includes"),ub}var rh,hb;function lT(){return hb||(hb=1,uT(),rh=It().Array.includes),rh}var fb={},sh,pb;function hT(){if(pb)return sh;pb=1;var e=ba(),t=st(),n=_t(),r=On(),s=pt()("isConcatSpreadable");function i(o,c,u,l,h,p,d,_){for(var k=h,g=0,y=d?r(d,_,3):!1,E,I;g<l;){if(g in u){if(E=y?y(u[g],g,c):u[g],I=!1,t(E)&&(I=E[s],I=I!==void 0?!!I:e(E)),I&&p>0)k=i(o,c,E,n(E.length),k,p-1)-1;else{if(k>=9007199254740991)throw TypeError();o[k]=E}k++}g++}return k}return sh=i,sh}var db;function fT(){if(db)return fb;db=1;var e=ce(),t=hT(),n=Ut(),r=_t(),s=Nn(),i=Iy();return e(e.P,"Array",{flatMap:function(c){var u=n(this),l,h;return s(c),l=r(u.length),h=i(u,0),t(h,u,u,l,0,1,c,arguments[1]),h}}),zr()("flatMap"),fb}var ih,mb;function pT(){return mb||(mb=1,fT(),ih=It().Array.flatMap),ih}var gb={},ah,vb;function yb(){if(vb)return ah;vb=1;var e=_t(),t=Lu(),n=nr();return ah=function(r,s,i,o){var c=String(n(r)),u=c.length,l=i===void 0?" ":String(i),h=e(s);if(h<=u||l=="")return c;var p=h-u,d=t.call(l,Math.ceil(p/l.length));return d.length>p&&(d=d.slice(0,p)),o?d+c:c+d},ah}var _b;function dT(){if(_b)return gb;_b=1;var e=ce(),t=yb(),n=Aa(),r=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);return e(e.P+e.F*r,"String",{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0,!0)}}),gb}var oh,xb;function mT(){return xb||(xb=1,dT(),oh=It().String.padStart),oh}var bb={},Eb;function gT(){if(Eb)return bb;Eb=1;var e=ce(),t=yb(),n=Aa(),r=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);return e(e.P+e.F*r,"String",{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0,!1)}}),bb}var ch,kb;function vT(){return kb||(kb=1,gT(),ch=It().String.padEnd),ch}var Sb={},Ib;function yT(){return Ib||(Ib=1,bs()("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")),Sb}var uh,wb;function _T(){return wb||(wb=1,yT(),uh=It().String.trimLeft),uh}var Ab={},Pb;function xT(){return Pb||(Pb=1,bs()("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")),Ab}var lh,Tb;function bT(){return Tb||(Tb=1,xT(),lh=It().String.trimRight),lh}var Cb={},Rb;function ET(){return Rb||(Rb=1,Xd()("asyncIterator")),Cb}var hh,Nb;function kT(){return Nb||(Nb=1,ET(),hh=Uc().f("asyncIterator")),hh}var Ob={},$b;
2function ST(){if($b)return Ob;$b=1;var e=ce(),t=eb(),n=fn(),r=Dn(),s=ul();return e(e.S,"Object",{getOwnPropertyDescriptors:function(o){for(var c=n(o),u=r.f,l=t(c),h={},p=0,d,_;l.length>p;)_=u(c,d=l[p++]),_!==void 0&&s(h,d,_);return h}}),Ob}var fh,Db;function IT(){return Db||(Db=1,ST(),fh=It().Object.getOwnPropertyDescriptors),fh}var Lb={},ph,Mb;function Fb(){if(Mb)return ph;Mb=1;var e=Rt(),t=qr(),n=fn(),r=ci().f;return ph=function(s){return function(i){for(var o=n(i),c=t(o),u=c.length,l=0,h=[],p;u>l;)p=c[l++],(!e||r.call(o,p))&&h.push(s?[p,o[p]]:o[p]);return h}},ph}var qb;function wT(){if(qb)return Lb;qb=1;var e=ce(),t=Fb()(!1);return e(e.S,"Object",{values:function(r){return t(r)}}),Lb}var dh,jb;function AT(){return jb||(jb=1,wT(),dh=It().Object.values),dh}var Bb={},Vb;function PT(){if(Vb)return Bb;Vb=1;var e=ce(),t=Fb()(!0);return e(e.S,"Object",{entries:function(r){return t(r)}}),Bb}var mh,zb;function TT(){return zb||(zb=1,PT(),mh=It().Object.entries),mh}var Ub={},Gb;function CT(){if(Gb)return Ub;Gb=1;var e=ce(),t=It(),n=nt(),r=li(),s=U_();return e(e.P+e.R,"Promise",{finally:function(i){var o=r(this,t.Promise||n.Promise),c=typeof i=="function";return this.then(c?function(u){return s(o,i()).then(function(){return u})}:i,c?function(u){return s(o,i()).then(function(){throw u})}:i)}}),Ub}var gh,Wb;function RT(){return Wb||(Wb=1,H_(),CT(),gh=It().Promise.finally),gh}var Hb={},Kb;function NT(){if(Kb)return Hb;Kb=1;var e=nt(),t=ce(),n=Aa(),r=[].slice,s=/MSIE .\./.test(n),i=function(o){return function(c,u){var l=arguments.length>2,h=l?r.call(arguments,2):!1;return o(l?function(){(typeof c=="function"?c:Function(c)).apply(this,h)}:c,u)}};return t(t.G+t.B+t.F*s,{setTimeout:i(e.setTimeout),setInterval:i(e.setInterval)}),Hb}var Xb={},Qb;function OT(){if(Qb)return Xb;Qb=1;var e=ce(),t=Ml();return e(e.G+e.B,{setImmediate:t.set,clearImmediate:t.clear}),Xb}var Jb={},Yb;function $T(){if(Yb)return Jb;Yb=1;for(var e=Il(),t=qr(),n=Zt(),r=nt(),s=hn(),i=Es(),o=pt(),c=o("iterator"),u=o("toStringTag"),l=i.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=t(h),d=0;d<p.length;d++){var _=p[d],k=h[_],g=r[_],y=g&&g.prototype,E;if(y&&(y[c]||s(y,c,l),y[u]||s(y,u,_),i[_]=l,k))for(E in e)y[E]||n(y,E,e[E],!0)}return Jb}var vh,Zb;function DT(){return Zb||(Zb=1,NT(),OT(),$T(),vh=It()),vh}
2var yh={exports:{}},eE;function LT(){return eE||(eE=1,(function(e){var t=(function(n){var r=Object.prototype,s=r.hasOwnProperty,i,o=typeof Symbol=="function"?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function h($,M,X){return Object.defineProperty($,M,{value:X,enumerable:!0,configurable:!0,writable:!0}),$[M]}try{h({},"")}catch{h=function(M,X,U){return M[X]=U}}function p($,M,X,U){var H=M&&M.prototype instanceof I?M:I,ae=Object.create(H.prototype),te=new W(U||[]);return ae._invoke=B($,X,te),ae}n.wrap=p;function d($,M,X){try{return{type:"normal",arg:$.call(M,X)}}catch(U){return{type:"throw",arg:U}}}var _="suspendedStart",k="suspendedYield",g="executing",y="completed",E={};function I(){}function v(){}function x(){}var b={};b[c]=function(){return this};var A=Object.getPrototypeOf,P=A&&A(A(J([])));P&&P!==r&&s.call(P,c)&&(b=P);var F=x.prototype=I.prototype=Object.create(b);v.prototype=F.constructor=x,x.constructor=v,v.displayName=h(x,l,"GeneratorFunction");function N($){["next","throw","return"].forEach(function(M){h($,M,function(X){return this._invoke(M,X)})})}n.isGeneratorFunction=function($){var M=typeof $=="function"&&$.constructor;return M?M===v||(M.displayName||M.name)==="GeneratorFunction":!1},n.mark=function($){return Object.setPrototypeOf?Object.setPrototypeOf($,x):($.__proto__=x,h($,l,"GeneratorFunction")),$.prototype=Object.create(F),$},n.awrap=function($){return{__await:$}};function z($,M){function X(ae,te,q,K){var L=d($[ae],$,te);if(L.type==="throw")K(L.arg);else{var O=L.arg,V=O.value;return V&&typeof V=="object"&&s.call(V,"__await")?M.resolve(V.__await).then(function(Q){X("next",Q,q,K)},function(Q){X("throw",Q,q,K)}):M.resolve(V).then(function(Q){O.value=Q,q(O)},function(Q){return X("throw",Q,q,K)})}}var U;function H(ae,te){function q(){return new M(function(K,L){X(ae,te,K,L)})}return U=U?U.then(q,q):q()}this._invoke=H}N(z.prototype),z.prototype[u]=function(){return this},n.AsyncIterator=z,n.async=function($,M,X,U,H){H===void 0&&(H=Promise);var ae=new z(p($,M,X,U),H);return n.isGeneratorFunction(M)?ae:ae.next().then(function(te){return te.done?te.value:ae.next()})};function B($,M,X){var U=_;return function(ae,te){if(U===g)throw new Error("Generator is already running");if(U===y){if(ae==="throw")throw te;return j()}for(X.method=ae,X.arg=te;;){var q=X.delegate;if(q){var K=R(q,X);if(K){if(K===E)continue;return K}}if(X.method==="next")X.sent=X._sent=X.arg;else if(X.method==="throw"){if(U===_)throw U=y,X.arg;X.dispatchException(X.arg)}else X.method==="return"&&X.abrupt("return",X.arg);U=g;var L=d($,M,X);if(L.type==="normal"){if(U=X.done?y:k,L.arg===E)continue;return{value:L.arg,done:X.done}}else L.type==="throw"&&(U=y,X.method="throw",X.arg=L.arg)}}}function R($,M){var X=$.iterator[M.method];if(X===i){if(M.delegate=null,M.method==="throw"){if($.iterator.return&&(M.method="return",M.arg=i,R($,M),M.method==="throw"))return E;M.method="throw",M.arg=new TypeError("The iterator does not provide a 'throw' method")}return E}var U=d(X,$.iterator,M.arg);if(U.type==="throw")return M.method="throw",M.arg=U.arg,M.delegate=null,E;var H=U.arg;if(!H)return M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,E;if(H.done)M[$.resultName]=H.value,M.next=$.nextLoc,M.method!=="return"&&(M.method="next",M.arg=i);else return H;return M.delegate=null,E}N(F),h(F,l,"Generator"),F[c]=function(){return this},F.toString=function(){return"[object Generator]"};function C($){var M={tryLoc:$[0]};1 in $&&(M.catchLoc=$[1]),2 in $&&(M.finallyLoc=$[2],M.afterLoc=$[3]),this.tryEntries.push(M)}function D($){var M=$.completion||{};M.type="normal",delete M.arg,$.completion=M}function W($){this.tryEntries=[{tryLoc:"root"}],$.forEach(C,this),this.reset(!0)}n.keys=function($){var M=[];for(var X in $)M.push(X);return M.reverse(),function U(){for(;M.length;){var H=M.pop();if(H in $)return U.value=H,U.done=!1,U}return U.done=!0,U}};function J($){if($){var M=$[c];if(M)return M.call($);if(typeof $.next=="function")return $;if(!isNaN($.length)){var X=-1,U=function H(){for(;++X<$.length;)if(s.call($,X))return H.value=$[X],H.done=!1,H;return H.value=i,H.done=!0,H};return U.next=U}}return{next:j}}n.values=J;function j(){return{value:i,done:!0}}return W.prototype={constructor:W,reset:function($){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEac
2h(D),!$)for(var M in this)M.charAt(0)==="t"&&s.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=i)},stop:function(){this.done=!0;var $=this.tryEntries[0],M=$.completion;if(M.type==="throw")throw M.arg;return this.rval},dispatchException:function($){if(this.done)throw $;var M=this;function X(K,L){return ae.type="throw",ae.arg=$,M.next=K,L&&(M.method="next",M.arg=i),!!L}for(var U=this.tryEntries.length-1;U>=0;--U){var H=this.tryEntries[U],ae=H.completion;if(H.tryLoc==="root")return X("end");if(H.tryLoc<=this.prev){var te=s.call(H,"catchLoc"),q=s.call(H,"finallyLoc");if(te&&q){if(this.prev<H.catchLoc)return X(H.catchLoc,!0);if(this.prev<H.finallyLoc)return X(H.finallyLoc)}else if(te){if(this.prev<H.catchLoc)return X(H.catchLoc,!0)}else if(q){if(this.prev<H.finallyLoc)return X(H.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function($,M){for(var X=this.tryEntries.length-1;X>=0;--X){var U=this.tryEntries[X];if(U.tryLoc<=this.prev&&s.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var H=U;break}}H&&($==="break"||$==="continue")&&H.tryLoc<=M&&M<=H.finallyLoc&&(H=null);var ae=H?H.completion:{};return ae.type=$,ae.arg=M,H?(this.method="next",this.next=H.finallyLoc,E):this.complete(ae)},complete:function($,M){if($.type==="throw")throw $.arg;return $.type==="break"||$.type==="continue"?this.next=$.arg:$.type==="return"?(this.rval=this.arg=$.arg,this.method="return",this.next="end"):$.type==="normal"&&M&&(this.next=M),E},finish:function($){for(var M=this.tryEntries.length-1;M>=0;--M){var X=this.tryEntries[M];if(X.finallyLoc===$)return this.complete(X.completion,X.afterLoc),D(X),E}},catch:function($){for(var M=this.tryEntries.length-1;M>=0;--M){var X=this.tryEntries[M];if(X.tryLoc===$){var U=X.completion;if(U.type==="throw"){var H=U.arg;D(X)}return H}}throw new Error("illegal catch attempt")},delegateYield:function($,M,X){return this.delegate={iterator:J($),resultName:M,nextLoc:X},this.method==="next"&&(this.arg=i),E}},n})(e.exports);try{regeneratorRuntime=t}catch{Function("r","regeneratorRuntime = r")(t)}})(yh)),yh.exports}var tE;function MT(){return tE||(tE=1,cT(),lT(),pT(),mT(),vT(),_T(),bT(),kT(),IT(),AT(),TT(),RT(),DT(),LT()),xd}var nE={},_h={exports:{}},rE;function xh(){if(rE)return _h.exports;rE=1;var e=_h.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();return typeof __g=="number"&&(__g=e),_h.exports}var bh={exports:{}},sE;function iE(){if(sE)return bh.exports;sE=1;var e=bh.exports={version:"2.6.12"};return typeof __e=="number"&&(__e=e),bh.exports}var Eh,aE;function FT(){return aE||(aE=1,Eh=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}),Eh}var kh,oE;function qT(){if(oE)return kh;oE=1;var e=FT();return kh=function(t,n,r){if(e(t),n===void 0)return t;switch(r){case 1:return function(s){return t.call(n,s)};case 2:return function(s,i){return t.call(n,s,i)};case 3:return function(s,i,o){return t.call(n,s,i,o)}}return function(){return t.apply(n,arguments)}},kh}var Sh={},Ih,cE;function wh(){return cE||(cE=1,Ih=function(e){return typeof e=="object"?e!==null:typeof e=="function"}),Ih}var Ah,uE;function jT(){if(uE)return Ah;uE=1;var e=wh();return Ah=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t},Ah}var Ph,lE;function hE(){return lE||(lE=1,Ph=function(e){try{return!!e()}catch{return!0}}),Ph}var Th,fE;function Ch(){return fE||(fE=1,Th=!hE()(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})),Th}var Rh,pE;function BT(){if(pE)return Rh;pE=1;var e=wh(),t=xh().document,n=e(t)&&e(t.createElement);return Rh=function(r){return n?t.createElement(r):{}},Rh}var Nh,dE;function VT(){return dE||(dE=1,Nh=!Ch()&&!hE()(function(){return Object.defineProperty(BT()("div"),"a",{get:function(){return 7}}).a!=7})),Nh}var Oh,mE;function zT(){if(mE)return Oh;mE=1;var e=wh();return Oh=function(t,n){if(!e(t))return t;var r,s;if(n&&typeof(r=t.toString)=="function"&&!e(s=r.call(t))||typeof(r=t.valueOf)=="function"&&!e(s=r.call(t))||!n&&typeof(r=t.toString)=="function"&&!e(s=r.call(t)))return s;throw TypeError("Can't convert object to primitive value")},Oh}var gE;
2function UT(){if(gE)return Sh;gE=1;var e=jT(),t=VT(),n=zT(),r=Object.defineProperty;return Sh.f=Ch()?Object.defineProperty:function(i,o,c){if(e(i),o=n(o,!0),e(c),t)try{return r(i,o,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(i[o]=c.value),i},Sh}var $h,vE;function GT(){return vE||(vE=1,$h=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),$h}var Dh,yE;function WT(){if(yE)return Dh;yE=1;var e=UT(),t=GT();return Dh=Ch()?function(n,r,s){return e.f(n,r,t(1,s))}:function(n,r,s){return n[r]=s,n},Dh}var Lh,_E;function HT(){if(_E)return Lh;_E=1;var e={}.hasOwnProperty;return Lh=function(t,n){return e.call(t,n)},Lh}var Mh,xE;function KT(){if(xE)return Mh;xE=1;var e=xh(),t=iE(),n=qT(),r=WT(),s=HT(),i="prototype",o=function(c,u,l){var h=c&o.F,p=c&o.G,d=c&o.S,_=c&o.P,k=c&o.B,g=c&o.W,y=p?t:t[u]||(t[u]={}),E=y[i],I=p?e:d?e[u]:(e[u]||{})[i],v,x,b;p&&(l=u);for(v in l)x=!h&&I&&I[v]!==void 0,!(x&&s(y,v))&&(b=x?I[v]:l[v],y[v]=p&&typeof I[v]!="function"?l[v]:k&&x?n(b,e):g&&I[v]==b?(function(A){var P=function(F,N,z){if(this instanceof A){switch(arguments.length){case 0:return new A;case 1:return new A(F);case 2:return new A(F,N)}return new A(F,N,z)}return A.apply(this,arguments)};return P[i]=A[i],P})(b):_&&typeof b=="function"?n(Function.call,b):b,_&&((y.virtual||(y.virtual={}))[v]=b,c&o.R&&E&&!E[v]&&r(E,v,b)))};return o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,Mh=o,Mh}var bE;function XT(){if(bE)return nE;bE=1;var e=KT();return e(e.G,{global:xh()}),nE}var Fh,EE;function QT(){return EE||(EE=1,XT(),Fh=iE().global),Fh}var kE;function JT(){if(kE)return _d;kE=1,MT();var e=t(QT());function t(n){return n&&n.__esModule?n:{default:n}}return e.default._babelPolyfill&&typeof console<"u"&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),e.default._babelPolyfill=!0,_d}JT();/*
3    @license
4  	Rollup.js v3.18.0
5  	Wed, 01 Mar 2023 18:45:12 GMT - commit 25bdc129d21685b69a00ee55397d42ac6eff6449
6
7  	https://github.com/rollup/rollup
8
9  	Released under the MIT License.
10  */var SE="3.18.0";function YT(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qh={};(function(e){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),i=new Uint8Array(128);for(let g=0;g<r.length;g++){const y=r.charCodeAt(g);s[g]=y,i[y]=g}const o=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:g=>Buffer.from(g.buffer,g.byteOffset,g.byteLength).toString()}:{decode(g){let y="";for(let E=0;E<g.length;E++)y+=String.fromCharCode(g[E]);return y}};function c(g){const y=new Int32Array(5),E=[];let I=0;do{const v=u(g,I),x=[];let b=!0,A=0;y[0]=0;for(let P=I;P<v;P++){let F;P=l(g,P,y,0);const N=y[0];N<A&&(b=!1),A=N,h(g,P,v)?(P=l(g,P,y,1),P=l(g,P,y,2),P=l(g,P,y,3),h(g,P,v)?(P=l(g,P,y,4),F=[N,y[1],y[2],y[3],y[4]]):F=[N,y[1],y[2],y[3]]):F=[N],x.push(F)}b||p(x),E.push(x),I=v+1}while(I<=g.length);return E}function u(g,y){const E=g.indexOf(";",y);return E===-1?g.length:E}function l(g,y,E,I){let v=0,x=0,b=0;do{const P=g.charCodeAt(y++);b=i[P],v|=(31&b)<<x,x+=5}while(32&b);const A=1&v;return v>>>=1,A&&(v=-2147483648|-v),E[I]+=v,y}function h(g,y,E){return!(y>=E)&&g.charCodeAt(y)!==44}function p(g){g.sort(d)}function d(g,y){return g[0]-y[0]}function _(g){const y=new Int32Array(5),E=16384,I=E-36,v=new Uint8Array(E),x=v.subarray(0,I);let b=0,A="";for(let P=0;P<g.length;P++){const F=g[P];if(P>0&&(b===E&&(A+=o.decode(v),b=0),v[b++]=59),F.length!==0){y[0]=0;for(let N=0;N<F.length;N++){const z=F[N];b>I&&(A+=o.decode(x),v.copyWithin(0,I,b),b-=I),N>0&&(v[b++]=44),b=k(v,b,y,z,0),z.length!==1&&(b=k(v,b,y,z,1),b=k(v,b,y,z,2),b=k(v,b,y,z,3),z.length!==4&&(b=k(v,b,y,z,4)))}}}return A+o.decode(v.subarray(0,b))}function k(g,y,E,I,v){const x=I[v];let b=x-E[v];E[v]=x,b=b<0?-b<<1|1:b<<1;do{let A=31&b;b>>>=5,b>0&&(A|=32),g[y++]=s[A]}while(b>0);return y}
10e.decode=c,e.encode=_,Object.defineProperty(e,"__esModule",{value:!0})})(qh);class Ra{constructor(t){this.bits=t instanceof Ra?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(31&t)}has(t){return!!(this.bits[t>>5]&1<<(31&t))}}let IE=class yd{constructor(t,n,r){this.start=t,this.end=n,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new yd(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let n=this;for(;n;)t(n),n=n.next}eachPrevious(t){let n=this;for(;n;)t(n),n=n.previous}edit(t,n,r){return this.content=t,r||(this.intro="",this.outro=""),this.storeName=n,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}split(t){const n=t-this.start,r=this.original.slice(0,n),s=this.original.slice(n);this.original=r;const i=new yd(t,this.end,s);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=r,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const n=this.content.replace(t,"");return n.length?(n!==this.content&&this.split(this.start+n.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),!!this.intro.length||void 0)}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const n=this.content.replace(t,"");return n.length?(n!==this.content&&(this.split(this.end-n.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),!!this.outro.length||void 0)}};function ZT(){return typeof window<"u"&&typeof window.btoa=="function"?e=>window.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const eC=ZT();class Na{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=qh.encode(t.mappings),t.x_google_ignoreList!==void 0&&(this.x_google_ignoreList=t.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+eC(this.toString())}}function wE(e,t){const n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let s=n.length;for(;s--;)n[s]=".."}return n.concat(r).join("/")}const tC=Object.prototype.toString;function AE(e){return tC.call(e)==="[object Object]"}function jh(e){const t=e.split(`
11`),n=[];for(let r=0,s=0;r<t.length;r++)n.push(s),s+=t[r].length+1;return function(r){let s=0,i=n.length;for(;s<i;){const c=s+i>>1;r<n[c]?i=c:s=c+1}const o=s-1;return{line:o,column:r-n[o]}}}class PE{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,n,r,s){if(n.length){const i=[this.generatedCodeColumn,t,r.line,r.column];s>=0&&i.push(s),this.rawSegments.push(i)}else this.pending&&this.rawSegments.push(this.pending);this.advance(n),this.pending=null}addUneditedChunk(t,n,r,s,i){let o=n.start,c=!0;for(;o<n.end;)(this.hires||c||i.has(o))&&this.rawSegments.push([this.generatedCodeColumn,t,s.line,s.column]),r[o]===`
12`?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,c=!0):(s.column+=1,this.generatedCodeColumn+=1,c=!1),o+=1;this.pending=null}advance(t){if(!t)return;const n=t.split(`
13`);if(n.length>1){for(let r=0;r<n.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=n[n.length-1].length}}const hi=`
14`,ws={insertLeft:!1,insertRight:!1,storeName:!1};class Gr{constructor(t,n={}){const r=new IE(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Ra},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0}}),this.byStart[0]=r,this.byEnd[t.length]=r}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}
14appendLeft(t,n){if(typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byEnd[t];return r?r.appendLeft(n):this.intro+=n,this}appendRight(t,n){if(typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byStart[t];return r?r.appendRight(n):this.outro+=n,this}clone(){const t=new Gr(this.original,{filename:this.filename});let n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;const s=n.next,i=s&&s.clone();i&&(r.next=i,i.previous=r,r=i),n=s}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Ra(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const n=Object.keys(this.storedNames),r=new PE(t.hires),s=jh(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((i=>{const o=s(i.start);i.intro.length&&r.advance(i.intro),i.edited?r.addEdit(0,i.content,o,i.storeName?n.indexOf(i.original):-1):r.addUneditedChunk(0,i,this.original,o,this.sourcemapLocations),i.outro.length&&r.advance(i.outro)})),{file:t.file?t.file.split(/[/\\]/).pop():null,sources:[t.source?wE(t.file||"",t.source):null],sourcesContent:t.includeContent?[this.original]:[null],names:n,mappings:r.raw}}generateMap(t){return new Na(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=(function(t){const n=t.split(`
15`),r=n.filter((o=>/^\t+/.test(o))),s=n.filter((o=>/^ {2,}/.test(o)));if(r.length===0&&s.length===0)return null;if(r.length>=s.length)return"	";const i=s.reduce(((o,c)=>{const u=/^ +/.exec(c)[0].length;return Math.min(u,o)}),1/0);return new Array(i+1).join(" ")})(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?"	":this.indentStr}indent(t,n){const r=/^[^\r\n]/gm;if(AE(t)&&(n=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||"	"),t==="")return this;const s={};(n=n||{}).exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach((l=>{for(let h=l[0];h<l[1];h+=1)s[h]=!0}));let i=n.indentStart!==!1;const o=l=>i?`${t}${l}`:(i=!0,l);this.intro=this.intro.replace(r,o);let c=0,u=this.firstChunk;for(;u;){const l=u.end;if(u.edited)s[c]||(u.content=u.content.replace(r,o),u.content.length&&(i=u.content[u.content.length-1]===`
16`));else for(c=u.start;c<l;){if(!s[c]){const h=this.original[c];h===`
17`?i=!0:h!=="\r"&&i&&(i=!1,c===u.start||(this._splitChunk(u,c),u=u.next),u.prependRight(t))}c+=1}c=u.end,u=u.next}return this.outro=this.outro.replace(r,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,n){return ws.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ws.insertLeft=!0),this.appendLeft(t,n)}insertRight(t,n){return ws.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ws.insertRight=!0),this.prependRight(t,n)}move(t,n,r){if(r>=t&&r<=n)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(n),this._split(r);const s=this.byStart[t],i=this.byEnd[n],o=s.previous,c=i.next,u=this.byStart[r];if(!u&&i===this.lastChunk)return this;const l=u?u.previous:this.lastChunk;return o&&(o.next=c),c&&(c.previous=o),l&&(l.next=s),u&&(u.previous=i),s.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=l,i.next=u||null,l||(this.firstChunk=s),u||(this.lastChunk=i),this}overwrite(t,n,r,s){return s=s||{}
17,this.update(t,n,r,{...s,overwrite:!s.contentOnly})}update(t,n,r,s){if(typeof r!="string")throw new TypeError("replacement content must be a string");for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length;if(n>this.original.length)throw new Error("end is out of bounds");if(t===n)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(n),s===!0&&(ws.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ws.storeName=!0),s={storeName:!0});const i=s!==void 0&&s.storeName,o=s!==void 0&&s.overwrite;if(i){const l=this.original.slice(t,n);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const c=this.byStart[t],u=this.byEnd[n];if(c){let l=c;for(;l!==u;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}c.edit(r,i,!o)}else{const l=new IE(t,n,"").edit(r,i);u.next=l,l.previous=u}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,n){if(typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byEnd[t];return r?r.prependLeft(n):this.intro=n+this.intro,this}prependRight(t,n){if(typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byStart[t];return r?r.prependRight(n):this.outro=n+this.outro,this}remove(t,n){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length;if(t===n)return this;if(t<0||n>this.original.length)throw new Error("Character is out of bounds");if(t>n)throw new Error("end must be greater than start");this._split(t),this._split(n);let r=this.byStart[t];for(;r;)r.intro="",r.outro="",r.edit(""),r=n>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(hi);if(t!==-1)return this.outro.substr(t+1);let n=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(t=r.outro.lastIndexOf(hi),t!==-1)return r.outro.substr(t+1)+n;n=r.outro+n}if(r.content.length>0){if(t=r.content.lastIndexOf(hi),t!==-1)return r.content.substr(t+1)+n;n=r.content+n}if(r.intro.length>0){if(t=r.intro.lastIndexOf(hi),t!==-1)return r.intro.substr(t+1)+n;n=r.intro+n}}while(r=r.previous);return t=this.intro.lastIndexOf(hi),t!==-1?this.intro.substr(t+1)+n:this.intro+n}slice(t=0,n=this.original.length){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length;let r="",s=this.firstChunk;for(;s&&(s.start>t||s.end<=t);){if(s.start<n&&s.end>=n)return r;s=s.next}if(s&&s.edited&&s.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=s;for(;s;){!s.intro||i===s&&s.start!==t||(r+=s.intro);const o=s.start<n&&s.end>=n;if(o&&s.edited&&s.end!==n)throw new Error(`Cannot use replaced character ${n} as slice end anchor.`);const c=i===s?t-s.start:0,u=o?s.content.length+n-s.end:s.content.length;if(r+=s.content.slice(c,u),!s.outro||o&&s.end!==n||(r+=s.outro),o)break;s=s.next}return r}snip(t,n){const r=this.clone();return r.remove(0,t),r.remove(n,r.original.length),r}_split(t){if(this.byStart[t]||this.byEnd[t])return;let n=this.lastSearchedChunk;const r=t>n.end;for(;n;){if(n.contains(t))return this._splitChunk(n,t);n=r?this.byStart[n.end]:this.byEnd[n.start]}}_splitChunk(t,n){if(t.edited&&t.content.length){const s=jh(this.original)(n);throw new Error(`Cannot split a chunk that has already been edited (${s.line}:${s.column} – "${t.original}")`)}const r=t.split(n);return this.byEnd[n]=t,this.byStart[n]=r,this.byEnd[r.end]=r,t===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,n=this.firstChunk;for(;n;)t+=n.toString(),n=n.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,n=0;do n+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return n}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const n=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(n,""),this.outro.length)return!0;let r=this.lastChunk;do{const s=r.end,i=r.trimEnd(n);if(r.end!==s&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.previous}while(r);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const n=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(n,""),this.intro.length)return!0;let r=this.firstChunk;do{const s=r.end,i=r.trimStart(n);if(r.end!==s&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.next}
17while(r);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,n){function r(s,i){return typeof n=="string"?n.replace(/\$(\$|&|\d+)/g,((o,c)=>c==="$"?"$":c==="&"?s[0]:+c<s.length?s[+c]:`$${c}`)):n(...s,s.index,i,s.groups)}if(t.global)(function(s,i){let o;const c=[];for(;o=s.exec(i);)c.push(o);return c})(t,this.original).forEach((s=>{s.index!=null&&this.overwrite(s.index,s.index+s[0].length,r(s,this.original))}));else{const s=this.original.match(t);s&&s.index!=null&&this.overwrite(s.index,s.index+s[0].length,r(s,this.original))}return this}_replaceString(t,n){const{original:r}=this,s=r.indexOf(t);return s!==-1&&this.overwrite(s,s+t.length,n),this}replace(t,n){return typeof t=="string"?this._replaceString(t,n):this._replaceRegexp(t,n)}_replaceAllString(t,n){const{original:r}=this,s=t.length;for(let i=r.indexOf(t);i!==-1;i=r.indexOf(t,i+s))this.overwrite(i,i+s,n);return this}replaceAll(t,n){if(typeof t=="string")return this._replaceAllString(t,n);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,n)}}const TE=Object.prototype.hasOwnProperty,nC=/^(?:\/|(?:[A-Za-z]:)?[/\\|])/,rC=/^\.?\.\//,sC=/\\/g,As=/[/\\]/,iC=/\.[^.]+$/;function fr(e){return nC.test(e)}function Bh(e){return rC.test(e)}function fi(e){return e.replace(sC,"/")}function sr(e){return e.split(As).pop()||""}function Wr(e){const t=/[/\\][^/\\]*$/.exec(e);return t?e.slice(0,-t[0].length)||"/":"."}function pr(e){const t=iC.exec(sr(e));return t?t[0]:""}function Ps(e,t){const n=e.split(As).filter(Boolean),r=t.split(As).filter(Boolean);for(n[0]==="."&&n.shift(),r[0]==="."&&r.shift();n[0]&&r[0]&&n[0]===r[0];)n.shift(),r.shift();for(;r[0]===".."&&n.length>0;)r.shift(),n.pop();for(;n.pop();)r.unshift("..");return r.join("/")}function En(...e){const t=e.shift();if(!t)return"/";let n=t.split(As);for(const r of e)if(fr(r))n=r.split(As);else{const s=r.split(As);for(;s[0]==="."||s[0]==="..";)s.shift()===".."&&n.pop();n.push(...s)}return n.join("/")}const aC=/[\n\r'\\\u2028\u2029]/,oC=/([\n\r'\u2028\u2029])/g,cC=/\\/g;function Oa(e){return aC.test(e)?e.replace(cC,"\\\\").replace(oC,"\\$1"):e}function Vh(e){const t=sr(e);return t.slice(0,Math.max(0,t.length-pr(e).length))}function je(e){return fr(e)?Ps(En(),e):e}function zh(e){return e[0]==="/"||e[0]==="."&&(e[1]==="/"||e[1]===".")||fr(e)}const uC=/^(\.\.\/)*\.\.$/;function CE(e,t,n,r){let s=fi(Ps(Wr(e),t));if(n&&s.endsWith(".js")&&(s=s.slice(0,-3)),r){if(s==="")return"../"+sr(t);if(uC.test(s))return[...s.split("/"),"..",sr(t)].join("/")}return s?s.startsWith("..")?s:"./"+s:"."}class Ts{constructor(t,n,r){this.options=n,this.inputBase=r,this.defaultVariableName="",this.namespaceVariableName="",this.variableName="",this.fileName=null,this.importAssertions=null,this.id=t.id,this.moduleInfo=t.info,this.renormalizeRenderPath=t.renormalizeRenderPath,this.suggestedVariableName=t.suggestedVariableName}getFileName(){if(this.fileName)return this.fileName;const{paths:t}=this.options;return this.fileName=(typeof t=="function"?t(this.id):t[this.id])||(this.renormalizeRenderPath?fi(Ps(this.inputBase,this.id)):this.id)}getImportAssertions(t){return this.importAssertions||(this.importAssertions=(function(n,{getObject:r}){if(!n)return null;const s=Object.entries(n).map((([i,o])=>[i,`'${o}'`]));return s.length>0?r(s,{lineBreakIndent:null}):null})(this.options.format==="es"&&this.options.externalImportAssertions&&this.moduleInfo.assertions,t))}getImportPath(t){return Oa(this.renormalizeRenderPath?CE(t,this.getFileName(),this.options.format==="amd",!1):this.getFileName())}}function kn(e,t,n){const r=e.get(t);if(r!==void 0)return r;const s=n();return e.set(t,s),s}function Hr(){return new Set}function RE(){return[]}const Ot=Symbol("Unknown Key"),$a=Symbol("Unknown Non-Accessor Key"),pi=Symbol("Unknown Integer"),Uh=Symbol("Symbol.toStringTag"),Me=[],et=[Ot],lC=[$a],Gh=[pi],Cs=Symbol("Entities");class Da{constructor(){this.entityPaths=Object.create(null,{[Cs]:{value:new Set}})}
17trackEntityAtPathAndGetIfTracked(t,n){const r=this.getEntities(t);return!!r.has(n)||(r.add(n),!1)}withTrackedEntityAtPath(t,n,r,s){const i=this.getEntities(t);if(i.has(n))return s;i.add(n);const o=r();return i.delete(n),o}getEntities(t){let n=this.entityPaths;for(const r of t)n=n[r]=n[r]||Object.create(null,{[Cs]:{value:new Set}});return n[Cs]}}const $t=new Da;class Wh{constructor(){this.entityPaths=Object.create(null,{[Cs]:{value:new Map}})}trackEntityAtPathAndGetIfTracked(t,n,r){let s=this.entityPaths;for(const o of t)s=s[o]=s[o]||Object.create(null,{[Cs]:{value:new Map}});const i=kn(s[Cs],n,Hr);return!!i.has(r)||(i.add(r),!1)}}const gt=Symbol("Unknown Value"),NE=Symbol("Unknown Truthy Value");class pn{constructor(){this.included=!1}deoptimizePath(t){}deoptimizeThisOnInteractionAtPath({thisArg:t},n,r){t.deoptimizePath(et)}getLiteralValueAtPath(t,n,r){return gt}getReturnExpressionWhenCalledAtPath(t,n,r,s){return wt}hasEffectsOnInteractionAtPath(t,n,r){return!0}include(t,n,r){this.included=!0}includeCallArguments(t,n){for(const r of n)r.include(t,!1)}shouldBeIncluded(t){return!0}}const Xe=new class extends pn{},wt=[Xe,!1],Hh={thisArg:null,type:0},Kh={args:[Xe],thisArg:null,type:1},Xh=[],La={args:Xh,thisArg:null,type:2,withNew:!1};class Kr extends pn{constructor(t){super(),this.name=t,this.alwaysRendered=!1,this.forbiddenNames=null,this.initReached=!1,this.isId=!1,this.isReassigned=!1,this.kind=null,this.renderBaseName=null,this.renderName=null}addReference(t){}forbidName(t){(this.forbiddenNames||(this.forbiddenNames=new Set)).add(t)}getBaseVariableName(){return this.renderBaseName||this.renderName||this.name}getName(t,n){if(n!=null&&n(this))return this.name;const r=this.renderName||this.name;return this.renderBaseName?`${this.renderBaseName}${t(r)}`:r}hasEffectsOnInteractionAtPath(t,{type:n},r){return n!==0||t.length>0}include(){this.included=!0}markCalledFromTryStatement(){}setRenderNames(t,n){this.renderBaseName=t,this.renderName=n}}class Ma extends Kr{constructor(t,n){super(n),this.referenced=!1,this.module=t,this.isNamespace=n==="*"}addReference(t){this.referenced=!0,this.name!=="default"&&this.name!=="*"||this.module.suggestName(t.name)}hasEffectsOnInteractionAtPath(t,{type:n}){return n!==0||t.length>(this.isNamespace?1:0)}include(){this.included||(this.included=!0,this.module.used=!0)}}const Bt=Object.freeze(Object.create(null)),tn=Object.freeze({}),Fn=Object.freeze([]);function Qh(e,t,n){if(typeof n=="number")throw new Error("locate takes a { startIndex, offsetLine, offsetColumn } object as the third argument");return(function(r,s){s===void 0&&(s={});var i=s.offsetLine||0,o=s.offsetColumn||0,c=r.split(`
18`),u=0,l=c.map((function(_,k){var g=u+_.length+1,y={start:u,end:g,line:k};return u=g,y})),h=0;function p(_,k){return _.start<=k&&k<_.end}function d(_,k){return{line:i+_.line,column:o+k-_.start,character:k}}return function(_,k){typeof _=="string"&&(_=r.indexOf(_,k||0));for(var g=l[h],y=_>=g.end?1:-1;g;){if(p(g,_))return d(g,_);g=l[h+=y]}}})(e,n)(t,n&&n.startIndex)}function Jh(e){return e.replace(/^\t+/,(t=>t.split("	").join("  ")))}const Yh="...";function Zh(e,t,n){let r=e.split(`
19`);const s=Math.max(Jh(r[t-1].slice(0,n)).length+10+Yh.length,120),i=Math.max(0,t-3);let o=Math.min(t+2,r.length);for(r=r.slice(i,o);!/\S/.test(r[r.length-1]);)r.pop(),o-=1;const c=String(o).length;return r.map(((u,l)=>{const h=i+l+1===t;let p=String(l+i+1);for(;p.length<c;)p=` ${p}`;let d=Jh(u);if(d.length>s&&(d=`${d.slice(0,s-Yh.length)}${Yh}`),h){const _=(function(k){let g="";for(;k--;)g+=" ";return g})(c+2+Jh(u.slice(0,n)).length)+"^";return`${p}: ${d}
20${_}`}return`${p}: ${d}`})).join(`
21`)}function ir(e,t){const n=e.length<=1,r=e.map((i=>`"${i}"`));let s=n?r[0]:`${r.slice(0,-1).join(", ")} and ${r.slice(-1)[0]}`;return t&&(s+=` ${n?t[0]:t[1]}`),s}function Ft(e){return`https://rollupjs.org/${e}`}const OE="configuration-options/#output-amd-id",di="configuration-options/#output-dir",ef="configuration-options/#output-exports",$E="configuration-options/#output-format",tf="configuration-options/#output-inlinedynamicimports",nf="configuration-options/#output-interop",rf="configuration-options/#output-manualchunks",DE="configuration-options/#output-name",hC="configuration-options/#output-sourcemapfile",LE="plugin-development/#this-getmoduleinfo";function ve(e){throw e instanceof Error||(e=Object.assign(new Error(e.message),e),Object.defineProperty(e,"name",{value:"RollupError"})),e}function Fa(e,t,n,r){if(typeof t=="object"){const{line:s,column:i}=t;e.loc={column:i,file:r,line:s}}else{e.pos=t;const{line:s,column:i}=Qh(n,t,{offsetLine:1});e.loc={column:i,file:r,line:s}}if(e.frame===void 0){const{line:s,column:i}=e.loc;e.frame=Zh(n,s,i)}}const ME="INVALID_EXPORT_OPTION",FE="INVALID_PLUGIN_HOOK",qE="INVALID_ROLLUP_PHASE",sf="MISSING_IMPLICIT_DEPENDANT",jE="MISSING_NAME_OPTION_FOR_IIFE_EXPORT",BE="PLUGIN_ERROR",VE="SOURCEMAP_BROKEN",zE="UNEXPECTED_NAMED_IMPORT",UE="UNRESOLVED_ENTRY",GE="UNRESOLVED_IMPORT";function WE(e){return{code:"CANNOT_CALL_NAMESPACE",message:`Cannot call a namespace ("${e}").`}}function fC({fileName:e,code:t},n){const r={code:"CHUNK_INVALID",message:`Chunk "${e}
21" is not valid JavaScript: ${n.message}.`};return Fa(r,n.loc,t,e),r}function pC(e){return{code:"CIRCULAR_DEPENDENCY",ids:e,message:`Circular dependency: ${e.map(je).join(" -> ")}`}}function HE(e,t){return{code:"ILLEGAL_REASSIGNMENT",message:`Illegal reassignment of import "${e}" in "${je(t)}".`}}function qa(e,t,n,r){return{code:"INCONSISTENT_IMPORT_ASSERTIONS",message:`Module "${je(r)}" tried to import "${je(n)}" with ${KE(t)} assertions, but it was already imported elsewhere with ${KE(e)} assertions. Please ensure that import assertions for the same module are always consistent.`}}const KE=e=>{const t=Object.entries(e);return t.length===0?"no":t.map((([n,r])=>`"${n}": "${r}"`)).join(", ")};function XE(e,t,n){return{code:ME,message:`"${e}" was specified for "output.exports", but entry module "${je(n)}" has the following exports: ${ir(t)}`,url:Ft(ef)}}function Et(e,t,n,r){return{code:"INVALID_OPTION",message:`Invalid value ${r===void 0?"":`${JSON.stringify(r)} `}for option "${e}" - ${n}.`,url:Ft(t)}}function ja(e,t,n){const r=pr(n)===".json";return{binding:e,code:"MISSING_EXPORT",exporter:n,id:t,message:`"${e}" is not exported by "${je(n)}", imported by "${je(t)}".${r?" (Note that you need @rollup/plugin-json to import JSON files)":""}`,url:Ft("troubleshooting/#error-name-is-not-exported-by-module")}}function dC(e){const t=[...e.implicitlyLoadedBefore].map((n=>je(n.id))).sort();return{code:sf,message:`Module "${je(e.id)}" that should be implicitly loaded before ${ir(t)} is not included in the module graph. Either it was not imported by an included module or only via a tree-shaken dynamic import, or no imported bindings were used and it had otherwise no side-effects.`}}function Ba(e,t,{hook:n,id:r}={}){return typeof e=="string"&&(e={message:e}),e.code&&e.code!==BE&&(e.pluginCode=e.code),e.code=BE,e.plugin=t,n&&(e.hook=n),r&&(e.id=r),e}function mC(e){return{code:VE,message:`Multiple conflicting contents for sourcemap source ${e}`}}function QE(e,t,n){const r=n?"reexport":"import";return{code:zE,exporter:e,message:`The named export "${t}" was ${r}ed from the external module "${je(e)}" even though its interop type is "defaultOnly". Either remove or change this ${r} or change the value of the "output.interop" option.`,url:Ft(nf)}}function gC(e){return{code:zE,exporter:e,message:`There was a namespace "*" reexport from the external module "${je(e)}" even though its interop type is "defaultOnly". This will be ignored as namespace reexports only reexport named exports. If this is not intended, either remove or change this reexport or change the value of the "output.interop" option.`,url:Ft(nf)}}function dn(e){return{code:"VALIDATION_ERROR",message:e}}function Xr(e,t,n,r,s){mi(e,t,n,r.onwarn,r.strictDeprecations,s)}function mi(e,t,n,r,s,i){{const o=(function(c,u,l){return{code:"DEPRECATED_FEATURE",message:c,url:Ft(u),...l?{plugin:l}:{}}})(e,t,i);if(s)return ve(o);r(o)}}var Va=new Set(["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","NaN","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","undefined","var","void","while","with","yield"]);const JE=/[^\w$]/g,YE=e=>(t=>/\d/.test(t[0]))(e)||Va.has(e)||e==="arguments";function af(e){return e=e.replace(/-(\w)/g,((t,n)=>n.toUpperCase())).replace(JE,"_"),YE(e)&&(e=`_${e}`),e||"_"}class vt{constructor(t,n,r,s,i,o){this.options=t,this.id=n,this.renormalizeRenderPath=i,this.dynamicImporters=[],this.execIndex=1/0,this.exportedVariables=new Map,this.importers=[],this.reexported=!1,this.used=!1,this.declarations=new Map,this.mostCommonSuggestion=0,this.nameSuggestions=new Map,this.suggestedVariableName=af(n.split(/[/\\]/).pop());const{importers:c,dynamicImporters:u}=this,l=this.info={assertions:o,ast:null,code:null,dynamicallyImportedIdResolutions:Fn,dynamicallyImportedIds:Fn,get dynamicImporters(){return u.sort()},exportedBindings:null,exports:null,hasDefaultExport:null,get hasModuleSideEffects(){return Xr("Accessing ModuleInfo.hasModuleSideEffects from plugins is deprecated. Please use ModuleInfo.moduleSideEffects instead.",LE,!0,t),l.moduleSideEffects},id:n,implicitlyLoadedAfterOneOf:Fn,implicitlyLoadedBefore:Fn,importedIdResolutions:Fn,importedIds:Fn,get importers(){return c.sort()},isEntry:!1,isExternal:!0,isIncluded:null,meta:s,moduleSideEffects:r,syntheticNamedExports:!1};Object.defineProperty(this.info,"hasModuleSideEffects",{enumerable:!1})}getVariableForExportName(t){const n=this.declarations.get(t);if(n)return[n];const r=new Ma(this,t);return this.declarations.set(t,r),this.exportedVariables.set(r,t),[r]}suggestName(t){const n=(this.nameSuggestions.get(t)??0)+1;this.nameSuggestions.set(t,n),n>this.mostCommonSuggestion&&(this.mostCommonSuggestion=n,this.suggestedVariableName=t)}warnUnusedImports(){const t=[...this.declarations].filter((([c,u])=>c!=="*"&&!u.included&&!this.reexported&&!u.referenced)).map((([c])=>c));if(t.length===0)return;const n=new Set;for(const c of t)for(const u of this.declarations.get(c).module.importers)n.add(u);const r=[...n];var s,i,o;
21this.options.onwarn({code:"UNUSED_EXTERNAL_IMPORT",exporter:s=this.id,ids:o=r,message:`${ir(i=t,["is","are"])} imported from external module "${s}" but never used in ${ir(o.map((c=>je(c))))}.`,names:i})}}const Rs={ArrayPattern(e,t){for(const n of t.elements)n&&Rs[n.type](e,n)},AssignmentPattern(e,t){Rs[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const n of t.properties)n.type==="RestElement"?Rs.RestElement(e,n):Rs[n.value.type](e,n.value)},RestElement(e,t){Rs[t.argument.type](e,t.argument)}},vC=function(e){const t=[];return Rs[e.type](t,e),t};new Set("break case class catch const continue debugger default delete do else export extends finally for function if import in instanceof let new return super switch this throw try typeof var void while with yield enum await implements package protected static interface private public arguments Infinity NaN undefined null true false eval uneval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Symbol Error EvalError InternalError RangeError ReferenceError SyntaxError TypeError URIError Number Math Date String RegExp Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array Map Set WeakMap WeakSet SIMD ArrayBuffer DataView JSON Promise Generator GeneratorFunction Reflect Proxy Intl".split(" ")).add("");function of(){return{brokenFlow:0,includedCallArguments:new Set,includedLabels:new Set}}function za(){return{accessed:new Da,assigned:new Da,brokenFlow:0,called:new Wh,ignore:{breaks:!1,continues:!1,labels:new Set,returnYield:!1,this:!1},includedLabels:new Set,instantiated:new Wh,replacedVariableInits:new Map}}function gi(e,t=null){return Object.create(t,e)}const Ns=new class extends pn{getLiteralValueAtPath(){}},Qr={value:{hasEffectsWhenCalled:null,returns:Xe}},cf=new class extends pn{getReturnExpressionWhenCalledAtPath(e){return e.length===1?_i(lf,e[0]):wt}hasEffectsOnInteractionAtPath(e,t,n){return t.type===0?e.length>1:t.type!==2||e.length!==1||yi(lf,e[0],t,n)}},dr={value:{hasEffectsWhenCalled:null,returns:cf}},Os=new class extends pn{getReturnExpressionWhenCalledAtPath(e){return e.length===1?_i(hf,e[0]):wt}hasEffectsOnInteractionAtPath(e,t,n){return t.type===0?e.length>1:t.type!==2||e.length!==1||yi(hf,e[0],t,n)}},$s={value:{hasEffectsWhenCalled:null,returns:Os}},uf=new class extends pn{getReturnExpressionWhenCalledAtPath(e){return e.length===1?_i(vi,e[0]):wt}hasEffectsOnInteractionAtPath(e,t,n){return t.type===0?e.length>1:t.type!==2||e.length!==1||yi(vi,e[0],t,n)}},ze={value:{hasEffectsWhenCalled:null,returns:uf}},ZE={value:{hasEffectsWhenCalled({args:e},t){const n=e[1];return e.length<2||typeof n.getLiteralValueAtPath(Me,$t,{deoptimizeCache(){}})=="symbol"&&n.hasEffectsOnInteractionAtPath(Me,La,t)},returns:uf}},Ua=gi({hasOwnProperty:dr,isPrototypeOf:dr,propertyIsEnumerable:dr,toLocaleString:ze,toString:ze,valueOf:Qr}),lf=gi({valueOf:dr},Ua),hf=gi({toExponential:ze,toFixed:ze,toLocaleString:ze,toPrecision:ze,valueOf:$s},Ua),yC=gi({exec:Qr,test:dr},Ua),vi=gi({anchor:ze,at:Qr,big:ze,blink:ze,bold:ze,charAt:ze,charCodeAt:$s,codePointAt:Qr,concat:ze,endsWith:dr,fixed:ze,fontcolor:ze,fontsize:ze,includes:dr,indexOf:$s,italics:ze,lastIndexOf:$s,link:ze,localeCompare:$s,match:Qr,matchAll:Qr,normalize:ze,padEnd:ze,padStart:ze,repeat:ze,replace:ZE,replaceAll:ZE,search:$s,slice:ze,small:ze,split:Qr,startsWith:dr,strike:ze,sub:ze,substr:ze,substring:ze,sup:ze,toLocaleLowerCase:ze,toLocaleUpperCase:ze,toLowerCase:ze,toString:ze,toUpperCase:ze,trim:ze,trimEnd:ze,trimLeft:ze,trimRight:ze,trimStart:ze,valueOf:ze},Ua);function yi(e,t,n,r){var s,i;return typeof t!="string"||!e[t]||((i=(s=e[t]).hasEffectsWhenCalled)==null?void 0:i.call(s,n,r))||!1}function _i(e,t){return typeof t=="string"&&e[t]?[e[t].returns,!1]:wt}function ff(e,t,n){n(e,t)}function Jr(e,t,n){}var pe={};pe.Program=pe.BlockStatement=pe.StaticBlock=function(e,t,n){for(var r=0,s=e.body;r<s.length;r+=1)n(s[r],t,"Statement")},pe.Statement=ff,pe.EmptyStatement=Jr,pe.ExpressionStatement=pe.ParenthesizedExpression=pe.ChainExpression=function(e,t,n){return n(e.expression,t,"Expression")},pe.IfStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Statement"),e.alternate&&n(e.alternate,t,"Statement")},pe.LabeledStatement=function(e,t,n){return n(e.body,t,"Statement")},pe.BreakStatement=pe.ContinueStatement=Jr,pe.WithStatement=function(e,t,n){n(e.object,t,"Expression"),n(e.body,t,"Statement")}
21,pe.SwitchStatement=function(e,t,n){n(e.discriminant,t,"Expression");for(var r=0,s=e.cases;r<s.length;r+=1){var i=s[r];i.test&&n(i.test,t,"Expression");for(var o=0,c=i.consequent;o<c.length;o+=1)n(c[o],t,"Statement")}},pe.SwitchCase=function(e,t,n){e.test&&n(e.test,t,"Expression");for(var r=0,s=e.consequent;r<s.length;r+=1)n(s[r],t,"Statement")},pe.ReturnStatement=pe.YieldExpression=pe.AwaitExpression=function(e,t,n){e.argument&&n(e.argument,t,"Expression")},pe.ThrowStatement=pe.SpreadElement=function(e,t,n){return n(e.argument,t,"Expression")},pe.TryStatement=function(e,t,n){n(e.block,t,"Statement"),e.handler&&n(e.handler,t),e.finalizer&&n(e.finalizer,t,"Statement")},pe.CatchClause=function(e,t,n){e.param&&n(e.param,t,"Pattern"),n(e.body,t,"Statement")},pe.WhileStatement=pe.DoWhileStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.body,t,"Statement")},pe.ForStatement=function(e,t,n){e.init&&n(e.init,t,"ForInit"),e.test&&n(e.test,t,"Expression"),e.update&&n(e.update,t,"Expression"),n(e.body,t,"Statement")},pe.ForInStatement=pe.ForOfStatement=function(e,t,n){n(e.left,t,"ForInit"),n(e.right,t,"Expression"),n(e.body,t,"Statement")},pe.ForInit=function(e,t,n){e.type==="VariableDeclaration"?n(e,t):n(e,t,"Expression")},pe.DebuggerStatement=Jr,pe.FunctionDeclaration=function(e,t,n){return n(e,t,"Function")},pe.VariableDeclaration=function(e,t,n){for(var r=0,s=e.declarations;r<s.length;r+=1)n(s[r],t)},pe.VariableDeclarator=function(e,t,n){n(e.id,t,"Pattern"),e.init&&n(e.init,t,"Expression")},pe.Function=function(e,t,n){e.id&&n(e.id,t,"Pattern");for(var r=0,s=e.params;r<s.length;r+=1)n(s[r],t,"Pattern");n(e.body,t,e.expression?"Expression":"Statement")},pe.Pattern=function(e,t,n){e.type==="Identifier"?n(e,t,"VariablePattern"):e.type==="MemberExpression"?n(e,t,"MemberPattern"):n(e,t)},pe.VariablePattern=Jr,pe.MemberPattern=ff,pe.RestElement=function(e,t,n){return n(e.argument,t,"Pattern")},pe.ArrayPattern=function(e,t,n){for(var r=0,s=e.elements;r<s.length;r+=1){var i=s[r];i&&n(i,t,"Pattern")}},pe.ObjectPattern=function(e,t,n){for(var r=0,s=e.properties;r<s.length;r+=1){var i=s[r];i.type==="Property"?(i.computed&&n(i.key,t,"Expression"),n(i.value,t,"Pattern")):i.type==="RestElement"&&n(i.argument,t,"Pattern")}},pe.Expression=ff,pe.ThisExpression=pe.Super=pe.MetaProperty=Jr,pe.ArrayExpression=function(e,t,n){for(var r=0,s=e.elements;r<s.length;r+=1){var i=s[r];i&&n(i,t,"Expression")}},pe.ObjectExpression=function(e,t,n){for(var r=0,s=e.properties;r<s.length;r+=1)n(s[r],t)},pe.FunctionExpression=pe.ArrowFunctionExpression=pe.FunctionDeclaration,pe.SequenceExpression=function(e,t,n){for(var r=0,s=e.expressions;r<s.length;r+=1)n(s[r],t,"Expression")},pe.TemplateLiteral=function(e,t,n){for(var r=0,s=e.quasis;r<s.length;r+=1)n(s[r],t);for(var i=0,o=e.expressions;i<o.length;i+=1)n(o[i],t,"Expression")},pe.TemplateElement=Jr,pe.UnaryExpression=pe.UpdateExpression=function(e,t,n){n(e.argument,t,"Expression")},pe.BinaryExpression=pe.LogicalExpression=function(e,t,n){n(e.left,t,"Expression"),n(e.right,t,"Expression")},pe.AssignmentExpression=pe.AssignmentPattern=function(e,t,n){n(e.left,t,"Pattern"),n(e.right,t,"Expression")},pe.ConditionalExpression=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Expression"),n(e.alternate,t,"Expression")},pe.NewExpression=pe.CallExpression=function(e,t,n){if(n(e.callee,t,"Expression"),e.arguments)for(var r=0,s=e.arguments;r<s.length;r+=1)n(s[r],t,"Expression")},pe.MemberExpression=function(e,t,n){n(e.object,t,"Expression"),e.computed&&n(e.property,t,"Expression")},pe.ExportNamedDeclaration=pe.ExportDefaultDeclaration=function(e,t,n){e.declaration&&n(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&n(e.source,t,"Expression")},pe.ExportAllDeclaration=function(e,t,n){e.exported&&n(e.exported,t),n(e.source,t,"Expression")},pe.ImportDeclaration=function(e,t,n){for(var r=0,s=e.specifiers;r<s.length;r+=1)n(s[r],t);n(e.source,t,"Expression")},pe.ImportExpression=function(e,t,n){n(e.source,t,"Expression")},pe.ImportSpecifier=pe.ImportDefaultSpecifier=pe.ImportNamespaceSpecifier=pe.Identifier=pe.PrivateIdentifier=pe.Literal=Jr,pe.TaggedTemplateExpression=function(e,t,n){n(e.tag,t,"Expression"),n(e.quasi,t,"Expression")},pe.ClassDeclaration=pe.ClassExpression=function(e,t,n){return n(e,t,"Class")}
21,pe.Class=function(e,t,n){e.id&&n(e.id,t,"Pattern"),e.superClass&&n(e.superClass,t,"Expression"),n(e.body,t)},pe.ClassBody=function(e,t,n){for(var r=0,s=e.body;r<s.length;r+=1)n(s[r],t)},pe.MethodDefinition=pe.PropertyDefinition=pe.Property=function(e,t,n){e.computed&&n(e.key,t,"Expression"),e.value&&n(e.value,t,"Expression")};const ek="ArrowFunctionExpression",tk="BlockStatement",nk="CallExpression",mn="ExpressionStatement",rk="Identifier",Ga="Program";let pf="sourceMa";pf+="ppingURL";const _C=new RegExp(`^#[ \\f\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]+${pf}=.+`),sk="_rollupAnnotations",ik="_rollupRemoved";function ak(e,t,n=e.type){const{annotations:r,code:s}=t;let i=r[t.annotationIndex];for(;i&&e.start>=i.end;)bC(e,i,s),i=r[++t.annotationIndex];if(i&&i.end<=e.end)for(pe[n](e,t,ak);(i=r[t.annotationIndex])&&i.end<=e.end;)++t.annotationIndex,Ha(e,i,!1)}const xC=/[^\s(]/g,df=/\S/g;function bC(e,t,n){const r=[];let s;if(Wa(n.slice(t.end,e.start),xC)){const i=e.start;for(;;){switch(r.push(e),e.type){case mn:case"ChainExpression":e=e.expression;continue;case"SequenceExpression":if(Wa(n.slice(i,e.start),df)){e=e.expressions[0];continue}s=!0;break;case"ConditionalExpression":if(Wa(n.slice(i,e.start),df)){e=e.test;continue}s=!0;break;case"LogicalExpression":case"BinaryExpression":if(Wa(n.slice(i,e.start),df)){e=e.left;continue}s=!0;break;case nk:case"NewExpression":break;default:s=!0}break}}else s=!0;if(s)Ha(e,t,!1);else for(const i of r)Ha(i,t,!0)}function Wa(e,t){let n;for(;(n=t.exec(e))!==null;){if(n[0]==="/"){const r=e.charCodeAt(t.lastIndex);if(r===42){t.lastIndex=e.indexOf("*/",t.lastIndex+1)+2;continue}if(r===47){t.lastIndex=e.indexOf(`
22`,t.lastIndex+1)+1;continue}}return t.lastIndex=0,!1}return!0}const EC=/[#@]__PURE__/;function Ha(e,t,n){const r=n?sk:ik,s=e[r];s?s.push(t):e[r]=[t]}const mf={ImportExpression:["arguments"],Literal:[],Program:["body"]},ok="variables";class be extends pn{constructor(t,n,r,s=!1){super(),this.deoptimized=!1,this.esTreeNode=s?t:null,this.keys=mf[t.type]||(function(i){return mf[i.type]=Object.keys(i).filter((o=>typeof i[o]=="object"&&o.charCodeAt(0)!==95)),mf[i.type]})(t),this.parent=n,this.context=n.context,this.createScope(r),this.parseNode(t),this.initialise(),this.context.magicString.addSourcemapLocation(this.start),this.context.magicString.addSourcemapLocation(this.end)}addExportedVariables(t,n){}bind(){for(const t of this.keys){const n=this[t];if(Array.isArray(n))for(const r of n)r==null||r.bind();else n&&n.bind()}}createScope(t){this.scope=t}hasEffects(t){this.deoptimized||this.applyDeoptimizations();for(const n of this.keys){const r=this[n];if(r!==null){if(Array.isArray(r)){for(const s of r)if(s!=null&&s.hasEffects(t))return!0}else if(r.hasEffects(t))return!0}}return!1}hasEffectsAsAssignmentTarget(t,n){return this.hasEffects(t)||this.hasEffectsOnInteractionAtPath(Me,this.assignmentInteraction,t)}include(t,n,r){this.deoptimized||this.applyDeoptimizations(),this.included=!0;for(const s of this.keys){const i=this[s];if(i!==null)if(Array.isArray(i))for(const o of i)o==null||o.include(t,n);else i.include(t,n)}}includeAsAssignmentTarget(t,n,r){this.include(t,n)}initialise(){}insertSemicolon(t){t.original[this.end-1]!==";"&&t.appendLeft(this.end,";")}parseNode(t,n){for(const[r,s]of Object.entries(t))if(!this.hasOwnProperty(r))if(r.charCodeAt(0)===95){if(r===sk)this.annotations=s;else if(r===ik)for(const{start:i,end:o}of s)this.context.magicString.remove(i,o)}else if(typeof s!="object"||s===null)this[r]=s;else if(Array.isArray(s)){this[r]=[];for(const i of s)this[r].push(i===null?null:new(this.context.getNodeConstructor(i.type))(i,this,this.scope,n==null?void 0:n.includes(r)))}else this[r]=new(this.context.getNodeConstructor(s.type))(s,this,this.scope,n==null?void 0:n.includes(r))}render(t,n){for(const r of this.keys){const s=this[r];if(s!==null)if(Array.isArray(s))for(const i of s)i==null||i.render(t,n);else s.render(t,n)}}setAssignedValue(t){this.assignmentInteraction={args:[t],thisArg:null,type:1}}shouldBeIncluded(t){return this.included||!t.brokenFlow&&this.hasEffects(za())}applyDeoptimizations(){this.deoptimized=!0;for(const t of this.keys){const n=this[t];if(n!==null)if(Array.isArray(n))for(const r of n)r==null||r.deoptimizePath(et);else n.deoptimizePath(et)}this.context.requestTreeshakingPass()}}class xi extends be{deoptimizeThisOnInteractionAtPath(t,n,r){n.length>0&&this.argument.deoptimizeThisOnInteractionAtPath(t,[Ot,...n],r)}hasEffects(t){this.deoptimized||this.applyDeoptimizations();const{propertyReadSideEffects:n}=this.context.options.treeshake;return this.argument.hasEffects(t)||n&&(n==="always"||this.argument.hasEffectsOnInteractionAtPath(et,Hh,t))}applyDeoptimizations(){this.deoptimized=!0,this.argument.deoptimizePath([Ot,Ot]),this.context.requestTreeshakingPass()}}class Gt extends pn{constructor(t){super(),this.description=t}deoptimizeThisOnInteractionAtPath({type:t,thisArg:n},r){t===2&&r.length===0&&this.description.mutatesSelfAsArray&&n.deoptimizePath(Gh)}
22getReturnExpressionWhenCalledAtPath(t,{thisArg:n}){return t.length>0?wt:[this.description.returnsPrimitive||(this.description.returns==="self"?n||Xe:this.description.returns()),!1]}hasEffectsOnInteractionAtPath(t,n,r){var i;const{type:s}=n;if(t.length>(s===0?1:0))return!0;if(s===2){const{args:o,thisArg:c}=n;if(this.description.mutatesSelfAsArray===!0&&(c!=null&&c.hasEffectsOnInteractionAtPath(Gh,Kh,r)))return!0;if(this.description.callsArgs){for(const u of this.description.callsArgs)if((i=o[u])!=null&&i.hasEffectsOnInteractionAtPath(Me,La,r))return!0}}return!1}}const Ka=[new Gt({callsArgs:null,mutatesSelfAsArray:!1,returns:null,returnsPrimitive:cf})],bi=[new Gt({callsArgs:null,mutatesSelfAsArray:!1,returns:null,returnsPrimitive:uf})],ck=[new Gt({callsArgs:null,mutatesSelfAsArray:!1,returns:null,returnsPrimitive:Os})],uk=[new Gt({callsArgs:null,mutatesSelfAsArray:!1,returns:null,returnsPrimitive:Xe})],Ei=/^\d+$/;class nn extends pn{constructor(t,n,r=!1){if(super(),this.prototypeExpression=n,this.immutable=r,this.allProperties=[],this.deoptimizedPaths=Object.create(null),this.expressionsToBeDeoptimizedByKey=Object.create(null),this.gettersByKey=Object.create(null),this.hasLostTrack=!1,this.hasUnknownDeoptimizedInteger=!1,this.hasUnknownDeoptimizedProperty=!1,this.propertiesAndGettersByKey=Object.create(null),this.propertiesAndSettersByKey=Object.create(null),this.settersByKey=Object.create(null),this.thisParametersToBeDeoptimized=new Set,this.unknownIntegerProps=[],this.unmatchableGetters=[],this.unmatchablePropertiesAndGetters=[],this.unmatchableSetters=[],Array.isArray(t))this.buildPropertyMaps(t);else{this.propertiesAndGettersByKey=this.propertiesAndSettersByKey=t;for(const s of Object.values(t))this.allProperties.push(...s)}}deoptimizeAllProperties(t){var r;const n=this.hasLostTrack||this.hasUnknownDeoptimizedProperty;if(t?this.hasUnknownDeoptimizedProperty=!0:this.hasLostTrack=!0,!n){for(const s of[...Object.values(this.propertiesAndGettersByKey),...Object.values(this.settersByKey)])for(const i of s)i.deoptimizePath(et);(r=this.prototypeExpression)==null||r.deoptimizePath([Ot,Ot]),this.deoptimizeCachedEntities()}}deoptimizeIntegerProperties(){if(!(this.hasLostTrack||this.hasUnknownDeoptimizedProperty||this.hasUnknownDeoptimizedInteger)){this.hasUnknownDeoptimizedInteger=!0;for(const[t,n]of Object.entries(this.propertiesAndGettersByKey))if(Ei.test(t))for(const r of n)r.deoptimizePath(et);this.deoptimizeCachedIntegerEntities()}}deoptimizePath(t){var s;if(this.hasLostTrack||this.immutable)return;const n=t[0];if(t.length===1){if(typeof n!="string")return n===pi?this.deoptimizeIntegerProperties():this.deoptimizeAllProperties(n===$a);if(!this.deoptimizedPaths[n]){this.deoptimizedPaths[n]=!0;const i=this.expressionsToBeDeoptimizedByKey[n];if(i)for(const o of i)o.deoptimizeCache()}}const r=t.length===1?et:t.slice(1);for(const i of typeof n=="string"?[...this.propertiesAndGettersByKey[n]||this.unmatchablePropertiesAndGetters,...this.settersByKey[n]||this.unmatchableSetters]:this.allProperties)i.deoptimizePath(r);
22(s=this.prototypeExpression)==null||s.deoptimizePath(t.length===1?[...t,Ot]:t)}deoptimizeThisOnInteractionAtPath(t,n,r){var l;const[s,...i]=n;if(this.hasLostTrack||(t.type===2||n.length>1)&&(this.hasUnknownDeoptimizedProperty||typeof s=="string"&&this.deoptimizedPaths[s]))return void t.thisArg.deoptimizePath(et);const[o,c,u]=t.type===2||n.length>1?[this.propertiesAndGettersByKey,this.propertiesAndGettersByKey,this.unmatchablePropertiesAndGetters]:t.type===0?[this.propertiesAndGettersByKey,this.gettersByKey,this.unmatchableGetters]:[this.propertiesAndSettersByKey,this.settersByKey,this.unmatchableSetters];if(typeof s=="string"){if(o[s]){const h=c[s];if(h)for(const p of h)p.deoptimizeThisOnInteractionAtPath(t,i,r);return void(this.immutable||this.thisParametersToBeDeoptimized.add(t.thisArg))}for(const h of u)h.deoptimizeThisOnInteractionAtPath(t,i,r);if(Ei.test(s))for(const h of this.unknownIntegerProps)h.deoptimizeThisOnInteractionAtPath(t,i,r)}else{for(const h of[...Object.values(c),u])for(const p of h)p.deoptimizeThisOnInteractionAtPath(t,i,r);for(const h of this.unknownIntegerProps)h.deoptimizeThisOnInteractionAtPath(t,i,r)}this.immutable||this.thisParametersToBeDeoptimized.add(t.thisArg),(l=this.prototypeExpression)==null||l.deoptimizeThisOnInteractionAtPath(t,n,r)}getLiteralValueAtPath(t,n,r){if(t.length===0)return NE;const s=t[0],i=this.getMemberExpressionAndTrackDeopt(s,r);return i?i.getLiteralValueAtPath(t.slice(1),n,r):this.prototypeExpression?this.prototypeExpression.getLiteralValueAtPath(t,n,r):t.length!==1?gt:void 0}getReturnExpressionWhenCalledAtPath(t,n,r,s){if(t.length===0)return wt;const[i,...o]=t,c=this.getMemberExpressionAndTrackDeopt(i,s);return c?c.getReturnExpressionWhenCalledAtPath(o,n,r,s):this.prototypeExpression?this.prototypeExpression.getReturnExpressionWhenCalledAtPath(t,n,r,s):wt}hasEffectsOnInteractionAtPath(t,n,r){const[s,...i]=t;if(i.length>0||n.type===2){const l=this.getMemberExpression(s);return l?l.hasEffectsOnInteractionAtPath(i,n,r):!this.prototypeExpression||this.prototypeExpression.hasEffectsOnInteractionAtPath(t,n,r)}if(s===$a)return!1;if(this.hasLostTrack)return!0;const[o,c,u]=n.type===0?[this.propertiesAndGettersByKey,this.gettersByKey,this.unmatchableGetters]:[this.propertiesAndSettersByKey,this.settersByKey,this.unmatchableSetters];if(typeof s=="string"){if(o[s]){const l=c[s];if(l){for(const h of l)if(h.hasEffectsOnInteractionAtPath(i,n,r))return!0}return!1}for(const l of u)if(l.hasEffectsOnInteractionAtPath(i,n,r))return!0}else for(const l of[...Object.values(c),u])for(const h of l)if(h.hasEffectsOnInteractionAtPath(i,n,r))return!0;return!!this.prototypeExpression&&this.prototypeExpression.hasEffectsOnInteractionAtPath(t,n,r)}buildPropertyMaps(t){const{allProperties:n,propertiesAndGettersByKey:r,propertiesAndSettersByKey:s,settersByKey:i,gettersByKey:o,unknownIntegerProps:c,unmatchablePropertiesAndGetters:u,unmatchableGetters:l,unmatchableSetters:h}=this,p=[];for(let d=t.length-1;d>=0;d--){const{key:_,kind:k,property:g}=t[d];if(n.push(g),typeof _=="string")k==="set"?s[_]||(s[_]=[g,...p],i[_]=[g,...h]):k==="get"?r[_]||(r[_]=[g,...u],o[_]=[g,...l]):(s[_]||(s[_]=[g,...p]),r[_]||(r[_]=[g,...u]));else{if(_===pi){c.push(g);continue}k==="set"&&h.push(g),k==="get"&&l.push(g),k!=="get"&&p.push(g),k!=="set"&&u.push(g)}}}deoptimizeCachedEntities(){for(const t of Object.values(this.expressionsToBeDeoptimizedByKey))for(const n of t)n.deoptimizeCache();for(const t of this.thisParametersToBeDeoptimized)t.deoptimizePath(et)}deoptimizeCachedIntegerEntities(){for(const[t,n]of Object.entries(this.expressionsToBeDeoptimizedByKey))if(Ei.test(t))for(const r of n)r.deoptimizeCache();for(const t of this.thisParametersToBeDeoptimized)t.deoptimizePath(Gh)}getMemberExpression(t){if(this.hasLostTrack||this.hasUnknownDeoptimizedProperty||typeof t!="string"||this.hasUnknownDeoptimizedInteger&&Ei.test(t)||this.deoptimizedPaths[t])return Xe;const n=this.propertiesAndGettersByKey[t];return(n==null?void 0:n.length)===1?n[0]:n||this.unmatchablePropertiesAndGetters.length>0||this.unknownIntegerProps.length>0&&Ei.test(t)?Xe:null}
22getMemberExpressionAndTrackDeopt(t,n){if(typeof t!="string")return Xe;const r=this.getMemberExpression(t);return r!==Xe&&!this.immutable&&(this.expressionsToBeDeoptimizedByKey[t]=this.expressionsToBeDeoptimizedByKey[t]||[]).push(n),r}}const lk=e=>typeof e=="string"&&/^\d+$/.test(e),kC=new class extends pn{deoptimizeThisOnInteractionAtPath({type:e,thisArg:t},n){e!==2||n.length!==1||lk(n[0])||t.deoptimizePath(et)}getLiteralValueAtPath(e){return e.length===1&&lk(e[0])?void 0:gt}hasEffectsOnInteractionAtPath(e,{type:t}){return e.length>1||t===2}},mr=new nn({__proto__:null,hasOwnProperty:Ka,isPrototypeOf:Ka,propertyIsEnumerable:Ka,toLocaleString:bi,toString:bi,valueOf:uk},kC,!0),gf=[{key:pi,kind:"init",property:Xe},{key:"length",kind:"init",property:Os}],hk=[new Gt({callsArgs:[0],mutatesSelfAsArray:"deopt-only",returns:null,returnsPrimitive:cf})],fk=[new Gt({callsArgs:[0],mutatesSelfAsArray:"deopt-only",returns:null,returnsPrimitive:Os})],SC=[new Gt({callsArgs:null,mutatesSelfAsArray:!0,returns:()=>new nn(gf,Qa),returnsPrimitive:null})],Xa=[new Gt({callsArgs:null,mutatesSelfAsArray:"deopt-only",returns:()=>new nn(gf,Qa),returnsPrimitive:null})],vf=[new Gt({callsArgs:[0],mutatesSelfAsArray:"deopt-only",returns:()=>new nn(gf,Qa),returnsPrimitive:null})],pk=[new Gt({callsArgs:null,mutatesSelfAsArray:!0,returns:null,returnsPrimitive:Os})],dk=[new Gt({callsArgs:null,mutatesSelfAsArray:!0,returns:null,returnsPrimitive:Xe})],mk=[new Gt({callsArgs:null,mutatesSelfAsArray:"deopt-only",returns:null,returnsPrimitive:Xe})],ki=[new Gt({callsArgs:[0],mutatesSelfAsArray:"deopt-only",returns:null,returnsPrimitive:Xe})],yf=[new Gt({callsArgs:null,mutatesSelfAsArray:!0,returns:"self",returnsPrimitive:null})],IC=[new Gt({callsArgs:[0],mutatesSelfAsArray:!0,returns:"self",returnsPrimitive:null})],Qa=new nn({__proto__:null,at:mk,concat:Xa,copyWithin:yf,entries:Xa,every:hk,fill:yf,filter:vf,find:ki,findIndex:fk,findLast:ki,findLastIndex:fk,flat:Xa,flatMap:vf,forEach:ki,includes:Ka,indexOf:ck,join:bi,keys:uk,lastIndexOf:ck,map:vf,pop:dk,push:pk,reduce:ki,reduceRight:ki,reverse:yf,shift:dk,slice:Xa,some:hk,sort:IC,splice:SC,toLocaleString:bi,toString:bi,unshift:pk,values:mk},mr,!0);class gk extends be{addExportedVariables(t,n){for(const r of this.elements)r==null||r.addExportedVariables(t,n)}declare(t){const n=[];for(const r of this.elements)r!==null&&n.push(...r.declare(t,Xe));return n}deoptimizePath(){for(const t of this.elements)t==null||t.deoptimizePath(Me)}hasEffectsOnInteractionAtPath(t,n,r){for(const s of this.elements)if(s!=null&&s.hasEffectsOnInteractionAtPath(Me,n,r))return!0;return!1}markDeclarationReached(){for(const t of this.elements)t==null||t.markDeclarationReached()}}class qn extends Kr{constructor(t,n,r,s){super(t),this.calledFromTryStatement=!1,this.additionalInitializers=null,this.expressionsToBeDeoptimized=[],this.declarations=n?[n]:[],this.init=r,this.deoptimizationTracker=s.deoptimizationTracker,this.module=s.module}addDeclaration(t,n){this.declarations.push(t);const r=this.markInitializersForDeoptimization();n!==null&&r.push(n)}consolidateInitializers(){if(this.additionalInitializers!==null){for(const t of this.additionalInitializers)t.deoptimizePath(et);this.additionalInitializers=null}}deoptimizePath(t){var n,r;if(!this.isReassigned&&!this.deoptimizationTracker.trackEntityAtPathAndGetIfTracked(t,this))if(t.length===0){if(!this.isReassigned){this.isReassigned=!0;const s=this.expressionsToBeDeoptimized;this.expressionsToBeDeoptimized=[];for(const i of s)i.deoptimizeCache();(n=this.init)==null||n.deoptimizePath(et)}}else(r=this.init)==null||r.deoptimizePath(t)}deoptimizeThisOnInteractionAtPath(t,n,r){if(this.isReassigned||!this.init)return t.thisArg.deoptimizePath(et);r.withTrackedEntityAtPath(n,this.init,(()=>this.init.deoptimizeThisOnInteractionAtPath(t,n,r)),void 0)}getLiteralValueAtPath(t,n,r){return this.isReassigned||!this.init?gt:n.withTrackedEntityAtPath(t,this.init,(()=>(this.expressionsToBeDeoptimized.push(r),this.init.getLiteralValueAtPath(t,n,r))),gt)}getReturnExpressionWhenCalledAtPath(t,n,r,s){return this.isReassigned||!this.init?wt:r.withTrackedEntityAtPath(t,this.init,(()=>(this.expressionsToBeDeoptimized.push(s),this.init.getReturnExpressionWhe
22nCalledAtPath(t,n,r,s))),wt)}hasEffectsOnInteractionAtPath(t,n,r){switch(n.type){case 0:return!!this.isReassigned||!(!this.init||r.accessed.trackEntityAtPathAndGetIfTracked(t,this)||!this.init.hasEffectsOnInteractionAtPath(t,n,r));case 1:return!!this.included||t.length!==0&&(!!this.isReassigned||!(!this.init||r.assigned.trackEntityAtPathAndGetIfTracked(t,this)||!this.init.hasEffectsOnInteractionAtPath(t,n,r)));case 2:return!!this.isReassigned||!(!this.init||(n.withNew?r.instantiated:r.called).trackEntityAtPathAndGetIfTracked(t,n.args,this)||!this.init.hasEffectsOnInteractionAtPath(t,n,r))}}include(){if(!this.included){this.included=!0;for(const t of this.declarations){t.included||t.include(of(),!1);let n=t.parent;for(;!n.included&&(n.included=!0,n.type!==Ga);)n=n.parent}}}includeCallArguments(t,n){if(this.isReassigned||this.init&&t.includedCallArguments.has(this.init))for(const r of n)r.include(t,!1);else this.init&&(t.includedCallArguments.add(this.init),this.init.includeCallArguments(t,n),t.includedCallArguments.delete(this.init))}markCalledFromTryStatement(){this.calledFromTryStatement=!0}markInitializersForDeoptimization(){return this.additionalInitializers===null&&(this.additionalInitializers=this.init===null?[]:[this.init],this.init=Xe,this.isReassigned=!0),this.additionalInitializers}}function Ja(e){let t="";do{const n=e%64;e=e/64|0,t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$"[n]+t}while(e!==0);return t}function jn(e,t,n){let r=e,s=1;for(;t.has(r)||Va.has(r)||n!=null&&n.has(r);)r=`${e}$${Ja(s++)}`;return t.add(r),r}let vk=class{constructor(){this.children=[],this.variables=new Map}addDeclaration(e,t,n,r){const s=e.name;let i=this.variables.get(s);return i?i.addDeclaration(e,n):(i=new qn(e.name,e,n||Ns,t),this.variables.set(s,i)),i}contains(e){return this.variables.has(e)}findVariable(e){throw new Error("Internal Error: findVariable needs to be implemented by a subclass")}};class Sn extends vk{constructor(t){super(),this.accessedOutsideVariables=new Map,this.parent=t,t.children.push(this)}addAccessedDynamicImport(t){(this.accessedDynamicImports||(this.accessedDynamicImports=new Set)).add(t),this.parent instanceof Sn&&this.parent.addAccessedDynamicImport(t)}addAccessedGlobals(t,n){const r=n.get(this)||new Set;for(const s of t)r.add(s);n.set(this,r),this.parent instanceof Sn&&this.parent.addAccessedGlobals(t,n)}addNamespaceMemberAccess(t,n){this.accessedOutsideVariables.set(t,n),this.parent.addNamespaceMemberAccess(t,n)}addReturnExpression(t){this.parent instanceof Sn&&this.parent.addReturnExpression(t)}addUsedOutsideNames(t,n,r,s){for(const o of this.accessedOutsideVariables.values())o.included&&(t.add(o.getBaseVariableName()),n==="system"&&r.has(o)&&t.add("exports"));const i=s.get(this);if(i)for(const o of i)t.add(o)}contains(t){return this.variables.has(t)||this.parent.contains(t)}deconflict(t,n,r){const s=new Set;if(this.addUsedOutsideNames(s,t,n,r),this.accessedDynamicImports)for(const i of this.accessedDynamicImports)i.inlineNamespace&&s.add(i.inlineNamespace.getBaseVariableName());for(const[i,o]of this.variables)(o.included||o.alwaysRendered)&&o.setRenderNames(null,jn(i,s,o.forbiddenNames));for(const i of this.children)i.deconflict(t,n,r)}findLexicalBoundary(){return this.parent.findLexicalBoundary()}findVariable(t){const n=this.variables.get(t)||this.accessedOutsideVariables.get(t);if(n)return n;const r=this.parent.findVariable(t);return this.accessedOutsideVariables.set(t,r),r}}class yk extends Sn{constructor(t,n){super(t),this.parameters=[],this.hasRest=!1,this.context=n,this.hoistedBodyVarScope=new Sn(this)}addParameterDeclaration(t){const n=t.name;let r=this.hoistedBodyVarScope.variables.get(n);return r?r.addDeclaration(t,null):r=new qn(n,t,Xe,this.context),this.variables.set(n,r),r}addParameterVariables(t,n){this.parameters=t;for(const r of t)for(const s of r)s.alwaysRendered=!0;this.hasRest=n}includeCallArguments(t,n){let r=!1,s=!1;const i=this.hasRest&&this.parameters[this.parameters.length-1];for(const o of n)if(o instanceof xi){for(const c of n)c.include(t,!1);break}for(let o=n.length-1;o>=0;o--){const c=this.parameters[o]||i,u=n[o];if(c)if(r=!1,c.length===0)s=!0;else for(const l of c)l.included&&(s=!0),l.calledFromTryStatement&&(r=!0);!s&&u.shouldBeIncluded(t)&&(s=!0),s&&u.include(t,r)}}}class _k extends yk{constructor(){super(...arguments),this.returnExpression=null,this.returnExpressions=[]}addReturnExpression(t){this.returnExpressions.push(t)}getReturnExpression(){return this.returnExpression===null&&this.updateReturnExpression(),this.returnExpression}updateReturnExpression(){if(this.returnExpressions.length===1)this.returnExpression=this.returnExpressions[0];else{this.returnExpression=Xe;for(const t of this.returnExpressions)t.deoptimizePath(et)}}}function xk(e,t){if(e.type==="MemberExpression")return!e.computed&&xk(e.object,e);if(e.type==="Identifier"){if(!t)return!0;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}const _f=Symbol("PureFunction"),At=Symbol("Value Properties"),xf=()=>NE,bk=()=>!0,Bn={getLiteralValue:xf,hasEffectsWhenCalled:()=>!1},Yr={getLiteralValue:xf,hasEffectsWhenCalled:bk},ie={__proto__:null,[At]:Yr},de={__proto__:null,[At]:Bn},bf={__proto__:null,[At]:{getLiteralValue:xf,hasEffectsWhenCalled:({args:e},t)=>e.length===0||e[0].hasEffectsOnInteractionAtPath(lC,Kh,t)}},m={__proto__:null,[At]:Yr,prototype:ie},Wt={__proto__:null,[At]:Bn,prototype:ie},ar={__proto__:null,[At]:Bn,from:de,of:de,prototype:ie},Ds={__proto__:null,[At]:Bn,supportedLocalesOf:Wt},Ef={global:ie,globalThis:ie,self:ie,window:ie,__proto__:null,[At]:Yr,Array:{__proto__:null,[At]:Yr,from:ie,isArray:de,of:de,prototype:ie},ArrayBuffer:{__proto__:null,[At]:Bn,isView:de,prototype:ie},Atomics:ie,BigInt:m,BigInt64Array:m,BigUint64Array:m,Boolean:Wt,constructor:m,DataView:Wt,Date:{__proto__:null,[At]:Bn,now:de,parse:de,prototype:ie,UTC:de},decodeURI:de,decodeURIComponent:de,encodeURI:de,encodeURIComponent:de,Error:Wt,escape:de,eval:ie,EvalError:Wt,Float32Array:ar,Float64Array:ar,Function:m,hasOwnProperty:ie,Infinity:ie,Int16Array:ar,Int32Array:ar,Int8Array:ar,isFinite:de,isNaN:de,isPrototypeOf:ie,JSON:ie,Map:Wt,Math:{__proto__:null,[At]:Yr,abs:de,acos:de,acosh:de,asin:de,asinh:de,atan:de,atan2:de,atanh:de,cbrt:de,ceil:de,clz32:de,cos:de,cosh:de,exp:de,expm1:de,floor:de,fround:de,hypot:de,imul:de,log:de,log10:de,log1p:de,log2:de,max:de,min:de,pow:de,random:de,round:de,sign:de,sin:de,sinh:de,sqrt:de,tan:de,tanh:de,trunc:de}
22,NaN:ie,Number:{__proto__:null,[At]:Bn,isFinite:de,isInteger:de,isNaN:de,isSafeInteger:de,parseFloat:de,parseInt:de,prototype:ie},Object:{__proto__:null,[At]:Bn,create:de,defineProperty:bf,defineProperties:bf,freeze:bf,getOwnPropertyDescriptor:de,getOwnPropertyDescriptors:de,getOwnPropertyNames:de,getOwnPropertySymbols:de,getPrototypeOf:de,hasOwn:de,is:de,isExtensible:de,isFrozen:de,isSealed:de,keys:de,fromEntries:de,entries:de,prototype:ie},parseFloat:de,parseInt:de,Promise:{__proto__:null,[At]:Yr,all:ie,allSettled:ie,any:ie,prototype:ie,race:ie,reject:ie,resolve:ie},propertyIsEnumerable:ie,Proxy:ie,RangeError:Wt,ReferenceError:Wt,Reflect:ie,RegExp:Wt,Set:Wt,SharedArrayBuffer:m,String:{__proto__:null,[At]:Bn,fromCharCode:de,fromCodePoint:de,prototype:ie,raw:de},Symbol:{__proto__:null,[At]:Bn,for:de,keyFor:de,prototype:ie,toStringTag:{__proto__:null,[At]:{getLiteralValue:()=>Uh,hasEffectsWhenCalled:bk}}},SyntaxError:Wt,toLocaleString:ie,toString:ie,TypeError:Wt,Uint16Array:ar,Uint32Array:ar,Uint8Array:ar,Uint8ClampedArray:ar,unescape:de,URIError:Wt,valueOf:ie,WeakMap:Wt,WeakSet:Wt,clearInterval:m,clearTimeout:m,console:ie,Intl:{__proto__:null,[At]:Yr,Collator:Ds,DateTimeFormat:Ds,ListFormat:Ds,NumberFormat:Ds,PluralRules:Ds,RelativeTimeFormat:Ds},setInterval:m,setTimeout:m,TextDecoder:m,TextEncoder:m,URL:m,URLSearchParams:m,AbortController:m,AbortSignal:m,addEventListener:ie,alert:ie,AnalyserNode:m,Animation:m,AnimationEvent:m,applicationCache:ie,ApplicationCache:m,ApplicationCacheErrorEvent:m,atob:ie,Attr:m,Audio:m,AudioBuffer:m,AudioBufferSourceNode:m,AudioContext:m,AudioDestinationNode:m,AudioListener:m,AudioNode:m,AudioParam:m,AudioProcessingEvent:m,AudioScheduledSourceNode:m,AudioWorkletNode:m,BarProp:m,BaseAudioContext:m,BatteryManager:m,BeforeUnloadEvent:m,BiquadFilterNode:m,Blob:m,BlobEvent:m,blur:ie,BroadcastChannel:m,btoa:ie,ByteLengthQueuingStrategy:m,Cache:m,caches:ie,CacheStorage:m,cancelAnimationFrame:ie,cancelIdleCallback:ie,CanvasCaptureMediaStreamTrack:m,CanvasGradient:m,CanvasPattern:m,CanvasRenderingContext2D:m,ChannelMergerNode:m,ChannelSplitterNode:m,CharacterData:m,clientInformation:ie,ClipboardEvent:m,close:ie,closed:ie,CloseEvent:m,Comment:m,CompositionEvent:m,confirm:ie,ConstantSourceNode:m,ConvolverNode:m,CountQueuingStrategy:m,createImageBitmap:ie,Credential:m,CredentialsContainer:m,crypto:ie,Crypto:m,CryptoKey:m,CSS:m,CSSConditionRule:m,CSSFontFaceRule:m,CSSGroupingRule:m,CSSImportRule:m,CSSKeyframeRule:m,CSSKeyframesRule:m,CSSMediaRule:m,CSSNamespaceRule:m,CSSPageRule:m,CSSRule:m,CSSRuleList:m,CSSStyleDeclaration:m,CSSStyleRule:m,CSSStyleSheet:m,CSSSupportsRule:m,CustomElementRegistry:m,customElements:ie,CustomEvent:m,DataTransfer:m,DataTransferItem:m,DataTransferItemList:m,defaultstatus:ie,defaultStatus:ie,DelayNode:m,DeviceMotionEvent:m,DeviceOrientationEvent:m,devicePixelRatio:ie,dispatchEvent:ie,document:ie,Document:m,DocumentFragment:m,DocumentType:m,DOMError:m,DOMException:m,DOMImplementation:m,DOMMatrix:m,DOMMatrixReadOnly:m,DOMParser:m,DOMPoint:m,DOMPointReadOnly:m,DOMQuad:m,DOMRect:m,DOMRectReadOnly:m,DOMStringList:m,DOMStringMap:m,DOMTokenList:m,DragEvent:m,DynamicsCompressorNode:m,Element:m,ErrorEvent:m,Event:m,EventSource:m,EventTarget:m,external:ie,fetch:ie,File:m,FileList:m,FileReader:m,find:ie,focus:ie,FocusEvent:m,FontFace:m,FontFaceSetLoadEvent:m,FormData:m,frames:ie,GainNode:m,Gamepad:m,GamepadButton:m,GamepadEvent:m,getComputedStyle:ie,getSelection:ie,HashChangeEvent:m,Headers:m,history:ie,History:m,HTMLAllCollection:m,HTMLAnchorElement:m,HTMLAreaElement:m,HTMLAudioElement:m,HTMLBaseElement:m,HTMLBodyElement:m,HTMLBRElement:m,HTMLButtonElement:m,HTMLCanvasElement:m,HTMLCollection:m,HTMLContentElement:m,HTMLDataElement:m,HTMLDataListElement:m,HTMLDetailsElement:m,HTMLDialogElement:m,HTMLDirectoryElement:m,HTMLDivElement:m,HTMLDListElement:m,HTMLDocument:m,HTMLElement:m,HTMLEmbedElement:m,HTMLFieldSetElement:m,HTMLFontElement:m,HTMLFormControlsCollection:m,HTMLFormElement:m,HTMLFrameElement:m,HTMLFrameSetElement:m,HTMLHeadElement:m,HTMLHeadingElement:m,HTMLHRElement:m,HTMLHtmlElement:m,HTMLIFrameElement:m,HTMLImageElement:m,HTMLInputElement:m,HTMLLabelElement:m,HTMLLegendElement:m,HTMLLIElement:m,HTMLLinkElement:m,HTMLMapElement:m,HTMLMarqueeElement:m,HTMLMediaElement:m,HTMLMenuElement:m,HTMLMetaElement:m,HTMLMeterElement:m,HTMLModElement:m,HTMLObjectElement:m,HTMLOListElement:m,HTMLOptGroupElement:m,HTMLOptionElement:m,HTMLOptionsCollection:m,HTMLOutputElement:m,HTMLParagraphElement:m,HTMLParamElement:m,HTMLPictureElement:m,HTMLPreElement:m,HTMLProgressElement:m,HTMLQuoteElement:m,HTMLScriptElement:m,HTMLSelectElement:m,HTMLShadowElement:m,HTMLSlotElement:m,HTMLSourceElement:m,HTMLSpanElement:m,HTMLStyleElement:m,HTMLTableCaptionElement:m,HTMLTableCellElement:m,HTMLTableColElement:m,HTMLTableElement:m,HTMLTableRowElement:m,HTMLTableSectionElement:m,HTMLTemplateElement:m,HTMLTextAreaElement:m,HTMLTimeElement:m,HTMLTitleElement:m,HTMLTrackElement:m,HTMLUListElement:m,HTMLUnknownElement:m,HTMLVideoElement:m,IDBCursor:m,IDBCursorWithValue:m,IDBDatabase:m,IDBFactory:m,IDBIndex:m,IDBKeyRange:m,IDBObjectStore:m,IDBOpenDBRequest:m,IDBRequest:m,IDBTransaction:m,IDBVersionChangeEvent:m,IdleDeadline:m,IIRFilterNode:m,Image:m,ImageBitmap:m,ImageBitmapRenderingContext:m,ImageCapture:m,ImageData:m,indexedDB:ie,innerHe
22ight:ie,innerWidth:ie,InputEvent:m,IntersectionObserver:m,IntersectionObserverEntry:m,isSecureContext:ie,KeyboardEvent:m,KeyframeEffect:m,length:ie,localStorage:ie,location:ie,Location:m,locationbar:ie,matchMedia:ie,MediaDeviceInfo:m,MediaDevices:m,MediaElementAudioSourceNode:m,MediaEncryptedEvent:m,MediaError:m,MediaKeyMessageEvent:m,MediaKeySession:m,MediaKeyStatusMap:m,MediaKeySystemAccess:m,MediaList:m,MediaQueryList:m,MediaQueryListEvent:m,MediaRecorder:m,MediaSettingsRange:m,MediaSource:m,MediaStream:m,MediaStreamAudioDestinationNode:m,MediaStreamAudioSourceNode:m,MediaStreamEvent:m,MediaStreamTrack:m,MediaStreamTrackEvent:m,menubar:ie,MessageChannel:m,MessageEvent:m,MessagePort:m,MIDIAccess:m,MIDIConnectionEvent:m,MIDIInput:m,MIDIInputMap:m,MIDIMessageEvent:m,MIDIOutput:m,MIDIOutputMap:m,MIDIPort:m,MimeType:m,MimeTypeArray:m,MouseEvent:m,moveBy:ie,moveTo:ie,MutationEvent:m,MutationObserver:m,MutationRecord:m,name:ie,NamedNodeMap:m,NavigationPreloadManager:m,navigator:ie,Navigator:m,NetworkInformation:m,Node:m,NodeFilter:ie,NodeIterator:m,NodeList:m,Notification:m,OfflineAudioCompletionEvent:m,OfflineAudioContext:m,offscreenBuffering:ie,OffscreenCanvas:m,open:ie,openDatabase:ie,Option:m,origin:ie,OscillatorNode:m,outerHeight:ie,outerWidth:ie,PageTransitionEvent:m,pageXOffset:ie,pageYOffset:ie,PannerNode:m,parent:ie,Path2D:m,PaymentAddress:m,PaymentRequest:m,PaymentRequestUpdateEvent:m,PaymentResponse:m,performance:ie,Performance:m,PerformanceEntry:m,PerformanceLongTaskTiming:m,PerformanceMark:m,PerformanceMeasure:m,PerformanceNavigation:m,PerformanceNavigationTiming:m,PerformanceObserver:m,PerformanceObserverEntryList:m,PerformancePaintTiming:m,PerformanceResourceTiming:m,PerformanceTiming:m,PeriodicWave:m,Permissions:m,PermissionStatus:m,personalbar:ie,PhotoCapabilities:m,Plugin:m,PluginArray:m,PointerEvent:m,PopStateEvent:m,postMessage:ie,Presentation:m,PresentationAvailability:m,PresentationConnection:m,PresentationConnectionAvailableEvent:m,PresentationConnectionCloseEvent:m,PresentationConnectionList:m,PresentationReceiver:m,PresentationRequest:m,print:ie,ProcessingInstruction:m,ProgressEvent:m,PromiseRejectionEvent:m,prompt:ie,PushManager:m,PushSubscription:m,PushSubscriptionOptions:m,queueMicrotask:ie,RadioNodeList:m,Range:m,ReadableStream:m,RemotePlayback:m,removeEventListener:ie,Request:m,requestAnimationFrame:ie,requestIdleCallback:ie,resizeBy:ie,ResizeObserver:m,ResizeObserverEntry:m,resizeTo:ie,Response:m,RTCCertificate:m,RTCDataChannel:m,RTCDataChannelEvent:m,RTCDtlsTransport:m,RTCIceCandidate:m,RTCIceTransport:m,RTCPeerConnection:m,RTCPeerConnectionIceEvent:m,RTCRtpReceiver:m,RTCRtpSender:m,RTCSctpTransport:m,RTCSessionDescription:m,RTCStatsReport:m,RTCTrackEvent:m,screen:ie,Screen:m,screenLeft:ie,ScreenOrientation:m,screenTop:ie,screenX:ie,screenY:ie,ScriptProcessorNode:m,scroll:ie,scrollbars:ie,scrollBy:ie,scrollTo:ie,scrollX:ie,scrollY:ie,SecurityPolicyViolationEvent:m,Selection:m,ServiceWorker:m,ServiceWorkerContainer:m,ServiceWorkerRegistration:m,sessionStorage:ie,ShadowRoot:m,SharedWorker:m,SourceBuffer:m,SourceBufferList:m,speechSynthesis:ie,SpeechSynthesisEvent:m,SpeechSynthesisUtterance:m,StaticRange:m,status:ie,statusbar:ie,StereoPannerNode:m,stop:ie,Storage:m,StorageEvent:m,StorageManager:m,styleMedia:ie,StyleSheet:m,StyleSheetList:m,SubtleCrypto:m,SVGAElement:m,SVGAngle:m,SVGAnimatedAngle:m,SVGAnimatedBoolean:m,SVGAnimatedEnumeration:m,SVGAnimatedInteger:m,SVGAnimatedLength:m,SVGAnimatedLengthList:m,SVGAnimatedNumber:m,SVGAnimatedNumberList:m,SVGAnimatedPreserveAspectRatio:m,SVGAnimatedRect:m,SVGAnimatedString:m,SVGAnimatedTransformList:m,SVGAnimateElement:m,SVGAnimateMotionElement:m,SVGAnimateTransformElement:m,SVGAnimationElement:m,SVGCircleElement:m,SVGClipPathElement:m,SVGComponentTransferFunctionElement:m,SVGDefsElement:m,SVGDescElement:m,SVGDiscardElement:m,SVGElement:m,SVGEllipseElement:m,SVGFEBlendElement:m,SVGFEColorMatrixElement:m,SVGFEComponentTransferElement:m,SVGFECompositeElement:m,SVGFEConvolveMatrixElement:m,SVGFEDiffuseLightingElement:m,SVGFEDisplacementMapElement:m,SVGFEDistantLightElement:m,SVGFEDropShadowElement:m,SVGFEFloodElement:m,SVGFEFuncAElement:m,SVGFEFuncBElement:m,SVGFEFuncGElement:m,SVGFEFuncRElement:m,SVGFEGaussianBlurElement:m,SVGFEImageElement:m,SVGFEMergeElement:m,SVGFEMergeNodeElement:m,SVGFEMorphologyElement:m,SVGFEOffsetElement:m,SVGFEPointLightElement:m,SVGFESpecularLightingElement:m,SVGFESpotLightElement:m,SVGFETileElement:m,SVGFETurbulenceElement:m,SVGFilterElement:m,SVGForeignObjectElement:m,SVGGElement:m,SVGGeometryElement:m,SVGGradientElement:m,SVGGraphicsElement:m,SVGImageElement:m,SVGLength:m,SVGLengthList:m,
22SVGLinearGradientElement:m,SVGLineElement:m,SVGMarkerElement:m,SVGMaskElement:m,SVGMatrix:m,SVGMetadataElement:m,SVGMPathElement:m,SVGNumber:m,SVGNumberList:m,SVGPathElement:m,SVGPatternElement:m,SVGPoint:m,SVGPointList:m,SVGPolygonElement:m,SVGPolylineElement:m,SVGPreserveAspectRatio:m,SVGRadialGradientElement:m,SVGRect:m,SVGRectElement:m,SVGScriptElement:m,SVGSetElement:m,SVGStopElement:m,SVGStringList:m,SVGStyleElement:m,SVGSVGElement:m,SVGSwitchElement:m,SVGSymbolElement:m,SVGTextContentElement:m,SVGTextElement:m,SVGTextPathElement:m,SVGTextPositioningElement:m,SVGTitleElement:m,SVGTransform:m,SVGTransformList:m,SVGTSpanElement:m,SVGUnitTypes:m,SVGUseElement:m,SVGViewElement:m,TaskAttributionTiming:m,Text:m,TextEvent:m,TextMetrics:m,TextTrack:m,TextTrackCue:m,TextTrackCueList:m,TextTrackList:m,TimeRanges:m,toolbar:ie,top:ie,Touch:m,TouchEvent:m,TouchList:m,TrackEvent:m,TransitionEvent:m,TreeWalker:m,UIEvent:m,ValidityState:m,visualViewport:ie,VisualViewport:m,VTTCue:m,WaveShaperNode:m,WebAssembly:ie,WebGL2RenderingContext:m,WebGLActiveInfo:m,WebGLBuffer:m,WebGLContextEvent:m,WebGLFramebuffer:m,WebGLProgram:m,WebGLQuery:m,WebGLRenderbuffer:m,WebGLRenderingContext:m,WebGLSampler:m,WebGLShader:m,WebGLShaderPrecisionFormat:m,WebGLSync:m,WebGLTexture:m,WebGLTransformFeedback:m,WebGLUniformLocation:m,WebGLVertexArrayObject:m,WebSocket:m,WheelEvent:m,Window:m,Worker:m,WritableStream:m,XMLDocument:m,XMLHttpRequest:m,XMLHttpRequestEventTarget:m,XMLHttpRequestUpload:m,XMLSerializer:m,XPathEvaluator:m,XPathExpression:m,XPathResult:m,XSLTProcessor:m};for(const e of["window","global","self","globalThis"])Ef[e]=Ef;function Ya(e){let t=Ef;for(const n of e)if(typeof n!="string"||(t=t[n],!t))return null;return t[At]}class kf extends Kr{constructor(){super(...arguments),this.isReassigned=!0}getLiteralValueAtPath(t,n,r){const s=Ya([this.name,...t]);return s?s.getLiteralValue():gt}hasEffectsOnInteractionAtPath(t,n,r){switch(n.type){case 0:return t.length===0?this.name!=="undefined"&&!Ya([this.name]):!Ya([this.name,...t].slice(0,-1));case 1:return!0;case 2:{const s=Ya([this.name,...t]);return!s||s.hasEffectsWhenCalled(n,r)}}}}const wC={__proto__:null,class:!0,const:!0,let:!0,var:!0};class xt extends be{constructor(){super(...arguments),this.variable=null,this.isTDZAccess=null}addExportedVariables(t,n){n.has(this.variable)&&t.push(this.variable)}bind(){!this.variable&&xk(this,this.parent)&&(this.variable=this.scope.findVariable(this.name),this.variable.addReference(this))}declare(t,n){let r;const{treeshake:s}=this.context.options;switch(t){case"var":r=this.scope.addDeclaration(this,this.context,n,!0),s&&s.correctVarValueBeforeDeclaration&&r.markInitializersForDeoptimization();break;case"function":case"let":case"const":case"class":r=this.scope.addDeclaration(this,this.context,n,!1);break;case"parameter":r=this.scope.addParameterDeclaration(this);break;default:throw new Error(`Internal Error: Unexpected identifier kind ${t}.`)}return r.kind=t,[this.variable=r]}deoptimizePath(t){var n;t.length!==0||this.scope.contains(this.name)||this.disallowImportReassignment(),(n=this.variable)==null||n.deoptimizePath(t)}deoptimizeThisOnInteractionAtPath(t,n,r){this.variable.deoptimizeThisOnInteractionAtPath(t,n,r)}getLiteralValueAtPath(t,n,r){return this.getVariableRespectingTDZ().getLiteralValueAtPath(t,n,r)}getReturnExpressionWhenCalledAtPath(t,n,r,s){const[i,o]=this.getVariableRespectingTDZ().getReturnExpressionWhenCalledAtPath(t,n,r,s);return[i,o||this.isPureFunction(t)]}hasEffects(t){return this.deoptimized||this.applyDeoptimizations(),!(!this.isPossibleTDZ()||this.variable.kind==="var")||this.context.options.treeshake.unknownGlobalSideEffects&&this.variable instanceof kf&&!this.isPureFunction(Me)&&this.variable.hasEffectsOnInteractionAtPath(Me,Hh,t)}hasEffectsOnInteractionAtPath(t,n,r){switch(n.type){case 0:return this.variable!==null&&!this.isPureFunction(t)&&this.getVariableRespectingTDZ().hasEffectsOnInteractionAtPath(t,n,r);case 1:return(t.length>0?this.getVariableRespectingTDZ():this.variable).hasEffectsOnInteractionAtPath(t,n,r);case 2:return!this.isPureFunction(t)&&this.getVariableRespectingTDZ().hasEffectsOnInteractionAtPath(t,n,r)}}include(){this.deoptimized||this.applyDeoptimizations(),this.included||(this.included=!0,this.variable!==null&&this.context.
22includeVariableInModule(this.variable))}includeCallArguments(t,n){this.variable.includeCallArguments(t,n)}isPossibleTDZ(){if(this.isTDZAccess!==null)return this.isTDZAccess;if(!(this.variable instanceof qn&&this.variable.kind&&this.variable.kind in wC&&this.variable.module===this.context.module))return this.isTDZAccess=!1;let t;return this.variable.declarations&&this.variable.declarations.length===1&&(t=this.variable.declarations[0])&&this.start<t.start&&Ek(this)===Ek(t)?this.isTDZAccess=!0:this.variable.initReached?this.isTDZAccess=!1:this.isTDZAccess=!0}markDeclarationReached(){this.variable.initReached=!0}render(t,{snippets:{getPropertyAccess:n},useOriginalName:r},{renderedParentType:s,isCalleeOfRenderedParent:i,isShorthandProperty:o}=Bt){if(this.variable){const c=this.variable.getName(n,r);c!==this.name&&(t.overwrite(this.start,this.end,c,{contentOnly:!0,storeName:!0}),o&&t.prependRight(this.start,`${this.name}: `)),c==="eval"&&s===nk&&i&&t.appendRight(this.start,"0, ")}}applyDeoptimizations(){this.deoptimized=!0,this.variable instanceof qn&&(this.variable.consolidateInitializers(),this.context.requestTreeshakingPass())}disallowImportReassignment(){return this.context.error(HE(this.name,this.context.module.id),this.start)}getVariableRespectingTDZ(){return this.isPossibleTDZ()?Xe:this.variable}isPureFunction(t){let n=this.context.manualPureFunctions[this.name];for(const r of t){if(!n)return!1;if(n[_f])return!0;n=n[r]}return n==null?void 0:n[_f]}}function Ek(e){for(;e&&!/^Program|Function/.test(e.type);)e=e.parent;return e}function Sf(e,t,n,r){if(t.remove(n,r),e.annotations)for(const s of e.annotations){if(!(s.start<n))return;t.remove(s.start,s.end)}}function kk(e,t){if(e.annotations||e.parent.type!==mn||(e=e.parent),e.annotations)for(const n of e.annotations)t.remove(n.start,n.end)}const Zr={isNoStatement:!0};function Vt(e,t,n=0){let r,s;for(r=e.indexOf(t,n);;){if((n=e.indexOf("/",n))===-1||n>=r)return r;s=e.charCodeAt(++n),++n,(n=s===47?e.indexOf(`
23`,n)+1:e.indexOf("*/",n)+2)>r&&(r=e.indexOf(t,n))}}const Sk=/\S/g;function gr(e,t){return Sk.lastIndex=t,Sk.exec(e).index}function Za(e){let t,n,r=0;for(t=e.indexOf(`
24`,r);;){if(r=e.indexOf("/",r),r===-1||r>t)return[t,t+1];if(n=e.charCodeAt(r+1),n===47)return[r,t+1];r=e.indexOf("*/",r+3)+2,r>t&&(t=e.indexOf(`
25`,r))}}function Si(e,t,n,r,s){let i,o,c,u,l=e[0],h=!l.included||l.needsBoundaries;h&&(u=n+Za(t.original.slice(n,l.start))[1]);for(let p=1;p<=e.length;p++)i=l,o=u,c=h,l=e[p],h=l!==void 0&&(!l.included||l.needsBoundaries),c||h?(u=i.end+Za(t.original.slice(i.end,l===void 0?r:l.start))[1],i.included?c?i.render(t,s,{end:u,start:o}):i.render(t,s):Sf(i,t,o,u)):i.render(t,s)}function Ik(e,t,n,r){const s=[];let i,o,c,u,l=n-1;for(const h of e){for(i!==void 0&&(l=i.end+Vt(t.original.slice(i.end,h.start),",")),o=c=l+1+Za(t.original.slice(l+1,h.start))[1];u=t.original.charCodeAt(o),u===32||u===9||u===10||u===13;)o++;i!==void 0&&s.push({contentEnd:c,end:o,node:i,separator:l,start:n}),i=h,n=o}return s.push({contentEnd:r,end:r,node:i,separator:null,start:n}),s}function eo(e,t,n){for(;;){const[r,s]=Za(e.original.slice(t,n));if(r===-1)break;e.remove(t+r,t+=s)}}class es extends Sn{addDeclaration(t,n,r,s){if(s){const i=this.parent.addDeclaration(t,n,r,s);return i.markInitializersForDeoptimization(),i}return super.addDeclaration(t,n,r,!1)}}class to extends be{initialise(){var t,n;this.directive&&this.directive!=="use strict"&&this.parent.type===Ga&&this.context.warn((t=this.directive,{code:"MODULE_LEVEL_DIRECTIVE",id:n=this.context.module.id,message:`Module level directives cause errors when bundled, "${t}" in "${je(n)}" was ignored.`}),this.start)}render(t,n){super.render(t,n),this.included&&this.insertSemicolon(t)}shouldBeIncluded(t){return this.directive&&this.directive!=="use strict"?this.parent.type!==Ga:super.shouldBeIncluded(t)}applyDeoptimizations(){}}class no extends be{constructor(){super(...arguments),this.directlyIncluded=!1}addImplicitReturnExpressionToScope(){const t=this.body[this.body.length-1];t&&t.type==="ReturnStatement"||this.scope.addReturnExpression(Xe)}createScope(t){this.scope=this.parent.preventChildBlockScope?t:new es(t)}hasEffects(t){if(this.deoptimizeBody)return!0;for(const n of this.body){if(t.brokenFlow)break;if(n.hasEffects(t))return!0}return!1}include(t,n){if(!this.deoptimizeBody||!this.directlyIncluded){this.included=!0,this.directlyIncluded=!0,this.deoptimizeBody&&(n=!0);for(const r of this.body)(n||r.shouldBeIncluded(t))&&r.include(t,n)}}initialise(){const t=this.body[0];this.deoptimizeBody=t instanceof to&&t.directive==="use asm"}render(t,n){this.body.length>0?Si(this.body,t,this.start+1,this.end-1,n):super.render(t,n)}}class wk extends be{constructor(){super(...arguments),this.declarationInit=null}addExportedVariables(t,n){this.argument.addExportedVariables(t,n)}declare(t,n){return this.declarationInit=n,this.argument.declare(t,Xe)}deoptimizePath(t){t.length===0&&this.argument.deoptimizePath(Me)}hasEffectsOnInteractionAtPath(t,n,r){return t.length>0||this.argument.hasEffectsOnInteractionAtPath(Me,n,r)}markDeclarationReached(){this.argument.markDeclarationReached()}applyDeoptimizations(){this.deoptimized=!0,this.declarationInit!==null&&(this.declarationInit.deoptimizePath([Ot,Ot]),this.context.requestTreeshakingPass())}}class If extends be{constructor(){super(...arguments),this.objectEntity=null,this.deoptimizedReturn=!1}deoptimizePath(t){this.getObjectEntity().deoptimizePath(t),t.length===1&&t[0]===Ot&&this.scope.getReturnExpression().deoptimizePath(et)}deoptimizeThisOnInteractionAtPath(t,n,r){n.length>0&&this.getObjectEntity().deoptimizeThisOnInteractionAtPath(t,n,r)}getLiteralValueAtPath(t,n,r){return this.getObjectEntity().getLiteralValueAtPath(t,n,r)}
25getReturnExpressionWhenCalledAtPath(t,n,r,s){return t.length>0?this.getObjectEntity().getReturnExpressionWhenCalledAtPath(t,n,r,s):this.async?(this.deoptimizedReturn||(this.deoptimizedReturn=!0,this.scope.getReturnExpression().deoptimizePath(et),this.context.requestTreeshakingPass()),wt):[this.scope.getReturnExpression(),!1]}hasEffectsOnInteractionAtPath(t,n,r){if(t.length>0||n.type!==2)return this.getObjectEntity().hasEffectsOnInteractionAtPath(t,n,r);if(this.async){const{propertyReadSideEffects:s}=this.context.options.treeshake,i=this.scope.getReturnExpression();if(i.hasEffectsOnInteractionAtPath(["then"],La,r)||s&&(s==="always"||i.hasEffectsOnInteractionAtPath(["then"],Hh,r)))return!0}for(const s of this.params)if(s.hasEffects(r))return!0;return!1}include(t,n){this.deoptimized||this.applyDeoptimizations(),this.included=!0;const{brokenFlow:r}=t;t.brokenFlow=0,this.body.include(t,n),t.brokenFlow=r}includeCallArguments(t,n){this.scope.includeCallArguments(t,n)}initialise(){this.scope.addParameterVariables(this.params.map((t=>t.declare("parameter",Xe))),this.params[this.params.length-1]instanceof wk),this.body instanceof no?this.body.addImplicitReturnExpressionToScope():this.scope.addReturnExpression(this.body)}parseNode(t){t.body.type===tk&&(this.body=new no(t.body,this,this.scope.hoistedBodyVarScope)),super.parseNode(t)}applyDeoptimizations(){}}If.prototype.preventChildBlockScope=!0;class Ak extends If{constructor(){super(...arguments),this.objectEntity=null}createScope(t){this.scope=new _k(t,this.context)}hasEffects(){return this.deoptimized||this.applyDeoptimizations(),!1}hasEffectsOnInteractionAtPath(t,n,r){if(super.hasEffectsOnInteractionAtPath(t,n,r))return!0;if(n.type===2){const{ignore:s,brokenFlow:i}=r;if(r.ignore={breaks:!1,continues:!1,labels:new Set,returnYield:!0,this:!1},this.body.hasEffects(r))return!0;r.ignore=s,r.brokenFlow=i}return!1}include(t,n){super.include(t,n);for(const r of this.params)r instanceof xt||r.include(t,n)}getObjectEntity(){return this.objectEntity!==null?this.objectEntity:this.objectEntity=new nn([],mr)}}function ts(e,{exportNamesByVariable:t,snippets:{_:n,getObject:r,getPropertyAccess:s}},i=""){if(e.length===1&&t.get(e[0]).length===1){const o=e[0];return`exports('${t.get(o)}',${n}${o.getName(s)}${i})`}{const o=[];for(const c of e)for(const u of t.get(c))o.push([u,c.getName(s)+i]);return`exports(${r(o,{lineBreakIndent:null})})`}}function wf(e,t,n,r,{exportNamesByVariable:s,snippets:{_:i}}){r.prependRight(t,`exports('${s.get(e)}',${i}`),r.appendLeft(n,")")}function Pk(e,t,n,r,s,i){const{_:o,getPropertyAccess:c}=i.snippets;s.appendLeft(n,`,${o}${ts([e],i)},${o}${e.getName(c)}`),r&&(s.prependRight(t,"("),s.appendLeft(n,")"))}class Af extends be{addExportedVariables(t,n){for(const r of this.properties)r.type==="Property"?r.value.addExportedVariables(t,n):r.argument.addExportedVariables(t,n)}declare(t,n){const r=[];for(const s of this.properties)r.push(...s.declare(t,n));return r}deoptimizePath(t){if(t.length===0)for(const n of this.properties)n.deoptimizePath(t)}hasEffectsOnInteractionAtPath(t,n,r){for(const s of this.properties)if(s.hasEffectsOnInteractionAtPath(Me,n,r))return!0;return!1}markDeclarationReached(){for(const t of this.properties)t.markDeclarationReached()}}class AC extends qn{constructor(t){super("arguments",null,Xe,t)}hasEffectsOnInteractionAtPath(t,{type:n}){return n!==0||t.length>1}}class Tk extends qn{constructor(t){super("this",null,null,t),this.deoptimizedPaths=[],this.entitiesToBeDeoptimized=new Set,this.thisDeoptimizationList=[],this.thisDeoptimizations=new Wh}addEntityToBeDeoptimized(t){for(const n of this.deoptimizedPaths)t.deoptimizePath(n);for(const{interaction:n,path:r}of this.thisDeoptimizationList)t.deoptimizeThisOnInteractionAtPath(n,r,$t);this.entitiesToBeDeoptimized.add(t)}deoptimizePath(t){if(t.length!==0&&!this.deoptimizationTracker.trackEntityAtPathAndGetIfTracked(t,this)){this.deoptimizedPaths.push(t);for(const n of this.entitiesToBeDeoptimized)n.deoptimizePath(t)}}deoptimizeThisOnInteractionAtPath(t,n){const r={interaction:t,path:n};
25if(!this.thisDeoptimizations.trackEntityAtPathAndGetIfTracked(n,t.type,t.thisArg)){for(const s of this.entitiesToBeDeoptimized)s.deoptimizeThisOnInteractionAtPath(t,n,$t);this.thisDeoptimizationList.push(r)}}hasEffectsOnInteractionAtPath(t,n,r){const s=r.replacedVariableInits.get(this);return s?s.hasEffectsOnInteractionAtPath(t,n,r)||!r.ignore.this&&super.hasEffectsOnInteractionAtPath(t,n,r):Xe.hasEffectsOnInteractionAtPath(t,n,r)}}class PC extends _k{constructor(t,n){super(t,n),this.variables.set("arguments",this.argumentsVariable=new AC(n)),this.variables.set("this",this.thisVariable=new Tk(n))}findLexicalBoundary(){return this}includeCallArguments(t,n){if(super.includeCallArguments(t,n),this.argumentsVariable.included)for(const r of n)r.included||r.include(t,!1)}}class Pf extends If{constructor(){super(...arguments),this.objectEntity=null}createScope(t){this.scope=new PC(t,this.context),this.constructedEntity=new nn(Object.create(null),mr),this.scope.thisVariable.addEntityToBeDeoptimized(this.constructedEntity)}deoptimizeThisOnInteractionAtPath(t,n,r){super.deoptimizeThisOnInteractionAtPath(t,n,r),t.type===2&&n.length===0&&this.scope.thisVariable.addEntityToBeDeoptimized(t.thisArg)}hasEffects(t){var n;return this.deoptimized||this.applyDeoptimizations(),!!((n=this.id)!=null&&n.hasEffects(t))}hasEffectsOnInteractionAtPath(t,n,r){if(super.hasEffectsOnInteractionAtPath(t,n,r))return!0;if(n.type===2){const s=r.replacedVariableInits.get(this.scope.thisVariable);r.replacedVariableInits.set(this.scope.thisVariable,n.withNew?this.constructedEntity:Xe);const{brokenFlow:i,ignore:o,replacedVariableInits:c}=r;if(r.ignore={breaks:!1,continues:!1,labels:new Set,returnYield:!0,this:n.withNew},this.body.hasEffects(r))return!0;r.brokenFlow=i,s?c.set(this.scope.thisVariable,s):c.delete(this.scope.thisVariable),r.ignore=o}return!1}include(t,n){var s;super.include(t,n),(s=this.id)==null||s.include();const r=this.scope.argumentsVariable.included;for(const i of this.params)i instanceof xt&&!r||i.include(t,n)}initialise(){var t;super.initialise(),(t=this.id)==null||t.declare("function",this)}getObjectEntity(){return this.objectEntity!==null?this.objectEntity:this.objectEntity=new nn([{key:"prototype",kind:"init",property:new nn([],mr)}],mr)}}const TC={"!=":(e,t)=>e!=t,"!==":(e,t)=>e!==t,"%":(e,t)=>e%t,"&":(e,t)=>e&t,"*":(e,t)=>
25e*t,"**":(e,t)=>e**t,"+":(e,t)=>e+t,"-":(e,t)=>e-t,"/":(e,t)=>e/t,"<":(e,t)=>e<t,"<<":(e,t)=>e<<t,"<=":(e,t)=>e<=t,"==":(e,t)=>e==t,"===":(e,t)=>e===t,">":(e,t)=>e>t,">=":(e,t)=>e>=t,">>":(e,t)=>e>>t,">>>":(e,t)=>e>>>t,"^":(e,t)=>e^t,"|":(e,t)=>e|t};function Ck(e,t,n){if(n.arguments.length>0)if(n.arguments[n.arguments.length-1].included)for(const r of n.arguments)r.render(e,t);else{let r=n.arguments.length-2;for(;r>=0&&!n.arguments[r].included;)r--;if(r>=0){for(let s=0;s<=r;s++)n.arguments[s].render(e,t);e.remove(Vt(e.original,",",n.arguments[r].end),n.end-1)}else e.remove(Vt(e.original,"(",n.callee.end)+1,n.end-1)}}class ns extends be{deoptimizeThisOnInteractionAtPath(){}getLiteralValueAtPath(t){return t.length>0||this.value===null&&this.context.code.charCodeAt(this.start)!==110||typeof this.value=="bigint"||this.context.code.charCodeAt(this.start)===47?gt:this.value}getReturnExpressionWhenCalledAtPath(t){return t.length!==1?wt:_i(this.members,t[0])}hasEffectsOnInteractionAtPath(t,n,r){switch(n.type){case 0:return t.length>(this.value===null?0:1);case 1:return!0;case 2:return!!(this.included&&this.value instanceof RegExp&&(this.value.global||this.value.sticky))||t.length!==1||yi(this.members,t[0],n,r)}}initialise(){this.members=(function(t){if(t instanceof RegExp)return yC;switch(typeof t){case"boolean":return lf;case"number":return hf;case"string":return vi}return Object.create(null)})(this.value)}parseNode(t){this.value=t.value,this.regex=t.regex,super.parseNode(t)}render(t){typeof this.value=="string"&&t.indentExclusionRanges.push([this.start+1,this.end-1])}}function CC(e){return e.computed?(function(t){return t instanceof ns?String(t.value):null})(e.property):e.property.name}function Rk(e){const t=e.propertyKey,n=e.object;if(typeof t=="string"){if(n instanceof xt)return[{key:n.name,pos:n.start},{key:t,pos:e.property.start}];if(n instanceof Ls){const r=Rk(n);return r&&[...r,{key:t,pos:e.property.start}]}}return null}class Ls extends be{constructor(){super(...arguments),this.variable=null,this.assignmentDeoptimized=!1,this.bound=!1,this.expressionsToBeDeoptimized=[],this.isUndefined=!1}bind(){this.bound=!0;const t=Rk(this),n=t&&this.scope.findVariable(t[0].key);if(n!=null&&n.isNamespace){const r=Nk(n,t.slice(1),this.context);r?r==="undefined"?this.isUndefined=!0:(this.variable=r,this.scope.addNamespaceMemberAccess((function(s){let i=s[0].key;for(let o=1;o<s.length;o++)i+="."+s[o].key;return i})(t),r)):super.bind()}else super.bind()}deoptimizeCache(){const t=this.expressionsToBeDeoptimized;this.expressionsToBeDeoptimized=[],this.propertyKey=Ot,this.object.deoptimizePath(et);for(const n of t)n.deoptimizeCache()}deoptimizePath(t){if(t.length===0&&this.disallowNamespaceReassignment(),this.variable)this.variable.deoptimizePath(t);else if(!this.isUndefined&&t.length<7){const n=this.getPropertyKey();this.object.deoptimizePath([n===Ot?$a:n,...t])}}deoptimizeThisOnInteractionAtPath(t,n,r){this.variable?this.variable.deoptimizeThisOnInteractionAtPath(t,n,r):this.isUndefined||(n.length<7?this.object.deoptimizeThisOnInteractionAtPath(t,[this.getPropertyKey(),...n],r):t.thisArg.deoptimizePath(et))}getLiteralValueAtPath(t,n,r){return this.variable?this.variable.getLiteralValueAtPath(t,n,r):this.isUndefined?void 0:(this.expressionsToBeDeoptimized.push(r),t.length<7?this.object.getLiteralValueAtPath([this.getPropertyKey(),...t],n,r):gt)}getReturnExpressionWhenCalledAtPath(t,n,r,s){return this.variable?this.variable.getReturnExpressionWhenCalledAtPath(t,n,r,s):this.isUndefined?[Ns,!1]:(this.expressionsToBeDeoptimized.push(s),t.length<7?this.object.getReturnExpressionWhenCalledAtPath([this.getPropertyKey(),...t],n,r,s):wt)}hasEffects(t){return this.deoptimized||this.applyDeoptimizations(),this.property.hasEffects(t)||this.object.hasEffects(t)||this.hasAccessEffect(t)}hasEffectsAsAssignmentTarget(t,n){return n&&!this.deoptimized&&this.applyDeoptimizations(),this.assignmentDeoptimized||this.applyAssignmentDeoptimization(),this.property.hasEffects(t)||this.object.hasEffects(t)||n&&this.hasAccessEffect(t)||this.hasEffectsOnInteractionAtPath(Me,this.assignmentInteraction,t)}hasEffectsOnInteractionAtPath(t,n,r){return this.variable?this.variable.hasEffectsOnInteractionAtPath(t,n,r):!!this.isUndefined||!(t.length<7)||this.object.hasEffectsOnInteractionAtPath([this.getPropertyKey(),...t],n,r)}include(t,n){this.deoptimized||this.applyDeoptimizations(),this.includeProperties(t,n)}includeAsAssignmentTarget(t,n,r){this.assignmentDeoptimized||this.applyAssignmentDeoptimization(),r?this.include(t,n):this.includeProperties(t,n)}
25includeCallArguments(t,n){this.variable?this.variable.includeCallArguments(t,n):super.includeCallArguments(t,n)}initialise(){this.propertyKey=CC(this),this.accessInteraction={thisArg:this.object,type:0}}isSkippedAsOptional(t){var n,r;return!this.variable&&!this.isUndefined&&(((r=(n=this.object).isSkippedAsOptional)==null?void 0:r.call(n,t))||this.optional&&this.object.getLiteralValueAtPath(Me,$t,t)==null)}render(t,n,{renderedParentType:r,isCalleeOfRenderedParent:s,renderedSurroundingElement:i}=Bt){if(this.variable||this.isUndefined){const{snippets:{getPropertyAccess:o}}=n;let c=this.variable?this.variable.getName(o):"undefined";r&&s&&(c="0, "+c),t.overwrite(this.start,this.end,c,{contentOnly:!0,storeName:!0})}else r&&s&&t.appendRight(this.start,"0, "),this.object.render(t,n,{renderedSurroundingElement:i}),this.property.render(t,n)}setAssignedValue(t){this.assignmentInteraction={args:[t],thisArg:this.object,type:1}}applyDeoptimizations(){this.deoptimized=!0;const{propertyReadSideEffects:t}=this.context.options.treeshake;if(this.bound&&t&&!this.variable&&!this.isUndefined){const n=this.getPropertyKey();this.object.deoptimizeThisOnInteractionAtPath(this.accessInteraction,[n],$t),this.context.requestTreeshakingPass()}}applyAssignmentDeoptimization(){this.assignmentDeoptimized=!0;const{propertyReadSideEffects:t}=this.context.options.treeshake;this.bound&&t&&!this.variable&&!this.isUndefined&&(this.object.deoptimizeThisOnInteractionAtPath(this.assignmentInteraction,[this.getPropertyKey()],$t),this.context.requestTreeshakingPass())}disallowNamespaceReassignment(){this.object instanceof xt&&this.scope.findVariable(this.object.name).isNamespace&&(this.variable&&this.context.includeVariableInModule(this.variable),this.context.warn(HE(this.object.name,this.context.module.id),this.start))}getPropertyKey(){if(this.propertyKey===null){this.propertyKey=Ot;const t=this.property.getLiteralValueAtPath(Me,$t,this);return this.propertyKey=t===Uh?t:typeof t=="symbol"?Ot:String(t)}return this.propertyKey}hasAccessEffect(t){const{propertyReadSideEffects:n}=this.context.options.treeshake;return!(this.variable||this.isUndefined)&&n&&(n==="always"||this.object.hasEffectsOnInteractionAtPath([this.getPropertyKey()],this.accessInteraction,t))}includeProperties(t,n){this.included||(this.included=!0,this.variable&&this.context.includeVariableInModule(this.variable)),this.object.include(t,n),this.property.include(t,n)}}function Nk(e,t,n){if(t.length===0)return e;if(!e.isNamespace||e instanceof Ma)return null;const r=t[0].key,s=e.context.traceExport(r);if(!s){if(t.length===1){const i=e.context.fileName;return n.warn(ja(r,n.module.id,i),t[0].pos),"undefined"}return null}return Nk(s,t.slice(1),n)}class Ok extends be{constructor(){super(...arguments),this.returnExpression=null,this.deoptimizableDependentExpressions=[],this.expressionsToBeDeoptimized=new Set}deoptimizeCache(){var t;if(((t=this.returnExpression)==null?void 0:t[0])!==Xe){this.returnExpression=wt;for(const n of this.deoptimizableDependentExpressions)n.deoptimizeCache();for(const n of this.expressionsToBeDeoptimized)n.deoptimizePath(et)}}deoptimizePath(t){if(t.length===0||this.context.deoptimizationTracker.trackEntityAtPathAndGetIfTracked(t,this))return;const[n]=this.getReturnExpression();n!==Xe&&n.deoptimizePath(t)}deoptimizeThisOnInteractionAtPath(t,n,r){const[s,i]=this.getReturnExpression(r);i||(s===Xe?t.thisArg.deoptimizePath(et):r.withTrackedEntityAtPath(n,s,(()=>{this.expressionsToBeDeoptimized.add(t.thisArg),s.deoptimizeThisOnInteractionAtPath(t,n,r)}),null))}getLiteralValueAtPath(t,n,r){const[s]=this.getReturnExpression(n);return s===Xe?gt:n.withTrackedEntityAtPath(t,s,(()=>(this.deoptimizableDependentExpressions.push(r),s.getLiteralValueAtPath(t,n,r))),gt)}getReturnExpressionWhenCalledAtPath(t,n,r,s){const i=this.getReturnExpression(r);return i[0]===Xe?i:r.withTrackedEntityAtPath(t,i,(()=>{this.deoptimizableDependentExpressions.push(s);const[o,c]=i[0].getReturnExpressionWhenCalledAtPath(t,n,r,s);return[o,c||i[1]]}),wt)}hasEffectsOnInteractionAtPath(t,n,r){const{type:s}=n;if(s===2){const{args:c,withNew:u}=n;
25if((u?r.instantiated:r.called).trackEntityAtPathAndGetIfTracked(t,c,this))return!1}else if((s===1?r.assigned:r.accessed).trackEntityAtPathAndGetIfTracked(t,this))return!1;const[i,o]=this.getReturnExpression();return(s===1||!o)&&i.hasEffectsOnInteractionAtPath(t,n,r)}}class RC extends yk{addDeclaration(t,n,r,s){const i=this.variables.get(t.name);return i?(this.parent.addDeclaration(t,n,Ns,s),i.addDeclaration(t,r),i):this.parent.addDeclaration(t,n,r,s)}}class NC extends Sn{constructor(t,n,r){super(t),this.variables.set("this",this.thisVariable=new qn("this",null,n,r)),this.instanceScope=new Sn(this),this.instanceScope.variables.set("this",new Tk(r))}findLexicalBoundary(){return this}}class $k extends be{constructor(){super(...arguments),this.accessedValue=null}deoptimizeCache(){}deoptimizePath(t){this.getAccessedValue()[0].deoptimizePath(t)}deoptimizeThisOnInteractionAtPath(t,n,r){return t.type===0&&this.kind==="get"&&n.length===0?this.value.deoptimizeThisOnInteractionAtPath({args:Xh,thisArg:t.thisArg,type:2,withNew:!1},Me,r):t.type===1&&this.kind==="set"&&n.length===0?this.value.deoptimizeThisOnInteractionAtPath({args:t.args,thisArg:t.thisArg,type:2,withNew:!1},Me,r):void this.getAccessedValue()[0].deoptimizeThisOnInteractionAtPath(t,n,r)}getLiteralValueAtPath(t,n,r){return this.getAccessedValue()[0].getLiteralValueAtPath(t,n,r)}getReturnExpressionWhenCalledAtPath(t,n,r,s){return this.getAccessedValue()[0].getReturnExpressionWhenCalledAtPath(t,n,r,s)}hasEffects(t){return this.key.hasEffects(t)}hasEffectsOnInteractionAtPath(t,n,r){return this.kind==="get"&&n.type===0&&t.length===0?this.value.hasEffectsOnInteractionAtPath(Me,{args:Xh,thisArg:n.thisArg,type:2,withNew:!1},r):this.kind==="set"&&n.type===1?this.value.hasEffectsOnInteractionAtPath(Me,{args:n.args,thisArg:n.thisArg,type:2,withNew:!1},r):this.getAccessedValue()[0].hasEffectsOnInteractionAtPath(t,n,r)}applyDeoptimizations(){}getAccessedValue(){return this.accessedValue===null?this.kind==="get"?(this.accessedValue=wt,this.accessedValue=this.value.getReturnExpressionWhenCalledAtPath(Me,La,$t,this)):this.accessedValue=[this.value,!1]:this.accessedValue}}class Tf extends $k{applyDeoptimizations(){}}class OC extends pn{constructor(t,n){super(),this.object=t,this.key=n}deoptimizePath(t){this.object.deoptimizePath([this.key,...t])}deoptimizeThisOnInteractionAtPath(t,n,r){this.object.deoptimizeThisOnInteractionAtPath(t,[this.key,...n],r)}getLiteralValueAtPath(t,n,r){return this.object.getLiteralValueAtPath([this.key,...t],n,r)}getReturnExpressionWhenCalledAtPath(t,n,r,s){return this.object.getReturnExpressionWhenCalledAtPath([this.key,...t],n,r,s)}hasEffectsOnInteractionAtPath(t,n,r){return this.object.hasEffectsOnInteractionAtPath([this.key,...t],n,r)}}class Dk extends be{constructor(){super(...arguments),this.objectEntity=null}createScope(t){this.scope=new Sn(t)}deoptimizeCache(){this.getObjectEntity().deoptimizeAllProperties()}deoptimizePath(t){this.getObjectEntity().deoptimizePath(t)}deoptimizeThisOnInteractionAtPath(t,n,r){this.getObjectEntity().deoptimizeThisOnInteractionAtPath(t,n,r)}getLiteralValueAtPath(t,n,r){return this.getObjectEntity().getLiteralValueAtPath(t,n,r)}getReturnExpressionWhenCalledAtPath(t,n,r,s){return this.getObjectEntity().getReturnExpressionWhenCalledAtPath(t,n,r,s)}hasEffects(t){var r,s;this.deoptimized||this.applyDeoptimizations();const n=((r=this.superClass)==null?void 0:r.hasEffects(t))||this.body.hasEffects(t);return(s=this.id)==null||s.markDeclarationReached(),n||super.hasEffects(t)}hasEffectsOnInteractionAtPath(t,n,r){var s;return n.type===2&&t.length===0?!n.withNew||(this.classConstructor===null?(s=this.superClass)==null?void 0:s.hasEffectsOnInteractionAtPath(t,n,r):this.classConstructor.hasEffectsOnInteractionAtPath(t,n,r))||!1:this.getObjectEntity().hasEffectsOnInteractionAtPath(t,n,r)}include(t,n){var r;this.deoptimized||this.applyDeoptimizations(),this.included=!0,(r=this.superClass)==null||r.include(t,n),this.body.include(t,n),this.id&&(this.id.markDeclarationReached(),this.id.include())}initialise(){var t;(t=this.id)==null||t.declare("class",this);for(const n of this.body.body)if(n instanceof Tf&&n.kind==="constructor")return void(this.classConstructor=n);this.classConstructor=null}applyDeoptimizations(){this.deoptimized=!0;for(const t of this.body.body)t.static||t instanceof Tf&&t.kind==="constructor"||t.deoptimizePath(et);this.context.requestTreeshakingPass()}getObjectEntity(){if(this.objectEntity!==null)return this.objectEntity;const t=[],n=[];for(const r of this.body.body){const s=r.static?t:n,i=r.kind;if(s===n&&!i)continue;const o=i==="set"||i==="get"?i:"init";let c;if(r.computed){const u=r.key.getLiteralValueAtPath(Me,$t,this);if(typeof u=="symbol"){s.push({key:Ot,kind:o,property:r});continue}c=String(u)}else c=r.key instanceof xt?r.key.name:String(r.key.value);s.push({key:c,kind:o,property:r})}return t.unshift({key:"prototype",kind:"init",property:new nn(n,this.superClass?new OC(this.superClass,"prototype"):mr)}),this.objectEntity=new nn(t,this.superClass||mr)}}class ro extends Dk{initialise(){super.initialise(),this.id!==null&&(this.id.variable.
25isId=!0)}parseNode(t){t.id!==null&&(this.id=new xt(t.id,this,this.scope.parent)),super.parseNode(t)}render(t,n){var c;const{exportNamesByVariable:r,format:s,snippets:{_:i,getPropertyAccess:o}}=n;if(this.id){const{variable:u,name:l}=this.id;s==="system"&&r.has(u)&&t.appendLeft(this.end,`${i}${ts([u],n)};`);const h=u.getName(o);if(h!==l)return(c=this.superClass)==null||c.render(t,n),this.body.render(t,{...n,useOriginalName:p=>p===u}),t.prependRight(this.start,`let ${h}${i}=${i}`),void t.prependLeft(this.end,";")}super.render(t,n)}applyDeoptimizations(){super.applyDeoptimizations();const{id:t,scope:n}=this;if(t){const{name:r,variable:s}=t;for(const i of n.accessedOutsideVariables.values())i!==s&&i.forbidName(r)}}}class Cf extends Dk{render(t,n,{renderedSurroundingElement:r}=Bt){super.render(t,n),r===mn&&(t.appendRight(this.start,"("),t.prependLeft(this.end,")"))}}class so extends pn{constructor(t){super(),this.expressions=t,this.included=!1}deoptimizePath(t){for(const n of this.expressions)n.deoptimizePath(t)}getReturnExpressionWhenCalledAtPath(t,n,r,s){return[new so(this.expressions.map((i=>i.getReturnExpressionWhenCalledAtPath(t,n,r,s)[0]))),!1]}hasEffectsOnInteractionAtPath(t,n,r){for(const s of this.expressions)if(s.hasEffectsOnInteractionAtPath(t,n,r))return!0;return!1}}class Rf extends be{hasEffects(){return!1}initialise(){this.context.addExport(this)}render(t,n,r){t.remove(r.start,r.end)}applyDeoptimizations(){}}Rf.prototype.needsBoundaries=!0;class Ii extends Pf{initialise(){super.initialise(),this.id!==null&&(this.id.variable.isId=!0)}parseNode(t){t.id!==null&&(this.id=new xt(t.id,this,this.scope.parent)),super.parseNode(t)}}class io extends be{include(t,n){super.include(t,n),n&&this.context.includeVariableInModule(this.variable)}initialise(){const t=this.declaration;this.declarationName=t.id&&t.id.name||this.declaration.name,this.variable=this.scope.addExportDefaultDeclaration(this.declarationName||this.context.getModuleName(),this,this.context),this.context.addExport(this)}render(t,n,r){const{start:s,end:i}=r,o=(function(c,u){return gr(c,Vt(c,"default",u)+7)})(t.original,this.start);if(this.declaration instanceof Ii)this.renderNamedDeclaration(t,o,"function","(",this.declaration.id===null,n);else if(this.declaration instanceof ro)this.renderNamedDeclaration(t,o,"class","{",this.declaration.id===null,n);else{if(this.variable.getOriginalVariable()!==this.variable)return void Sf(this,t,s,i);if(!this.variable.included)return t.remove(this.start,o),this.declaration.render(t,n,{renderedSurroundingElement:mn}),void(t.original[this.end-1]!==";"&&t.appendLeft(this.end,";"));this.renderVariableDeclaration(t,o,n)}this.declaration.render(t,n)}applyDeoptimizations(){}renderNamedDeclaration(t,n,r,s,i,o){const{exportNamesByVariable:c,format:u,snippets:{getPropertyAccess:l}}=o,h=this.variable.getName(l);t.remove(this.start,n),i&&t.appendLeft((function(p,d,_,k){const g=Vt(p,d,k)+d.length;p=p.slice(g,Vt(p,_,g));const y=Vt(p,"*");return y===-1?g:g+y+1})(t.original,r,s,n),` ${h}`),u==="system"&&this.declaration instanceof ro&&c.has(this.variable)&&t.appendLeft(this.end,` ${ts([this.variable],o)};`)}renderVariableDeclaration(t,n,{format:r,exportNamesByVariable:s,snippets:{cnst:i,getPropertyAccess:o}}){const c=t.original.charCodeAt(this.end-1)===59,u=r==="system"&&s.get(this.variable);u?(t.overwrite(this.start,n,`${i} ${this.variable.getName(o)} = exports('${u[0]}', `),t.appendRight(c?this.end-1:this.end,")"+(c?"":";"))):(t.overwrite(this.start,n,`${i} ${this.variable.getName(o)} = `),c||t.appendLeft(this.end,";"))}}io.prototype.needsBoundaries=!0;class Lk extends be{bind(){var t;(t=this.declaration)==null||t.bind()}hasEffects(t){var n;return!!((n=this.declaration)!=null&&n.hasEffects(t))}initialise(){this.context.addExport(this)}render(t,n,r){const{start:s,end:i}=r;this.declaration===null?t.remove(s,i):(t.remove(this.start,this.declaration.start),this.declaration.render(t,n,{end:i,start:s}))}applyDeoptimizations(){}}Lk.prototype.needsBoundaries=!0;class Mk extends es{constructor(){super(...arguments),this.hoistedDeclarations=[]}addDeclaration(t,n,r,s){return this.hoistedDeclarations.push(t),super.addDeclaration(t,n,r,s)}}const Fk=Symbol("unset");class Nf extends be{constructor(){super(...arguments),this.testValue=Fk}deoptimizeCache(){this.testValue=gt}hasEffects(t){var r;if(this.test.hasEffects(t))return!0;const n=this.getTestValue();if(typeof n=="symbol"){const{brokenFlow:s}=t;if(this.consequent.hasEffects(t))return!0;const i=t.brokenFlow;return t.brokenFlow=s,this.alternate===null?!1:!!this.alternate.hasEffects(t)||(t.brokenFlow=t.brokenFlow<i?t.brokenFlow:i,!1)}return n?this.consequent.hasEffects(t):!!((r=this.alternate)!=null&&r.hasEffects(t))}include(t,n){if(this.included=!0,n)this.includeRecursively(n,t);else{const r=this.getTestValue();typeof r=="symbol"?this.includeUnknownTest(t):this.includeKnownTest(t,r)}}parseNode(t){this.consequentScope=new Mk(this.scope),this.consequent=new(this.context.getNodeConstructor(t.consequent.type))(t.consequent,this,this.consequentScope),t.alternate&&(this.alternateScope=new Mk(this.scope),this.alternate=new(this.context.getNodeConstructor(t.alternate.type))(t.alternate,this,this.alternateScope)),super.parseNode(t)}render(t,n){const{snippets:{getPropertyAccess:r}}=n,s=this.getTestValue(),i=[],o=this.test.included,c=!this.context.options.treeshake;o?this.test.render(t,n):t.remove(this.start,this.consequent.start),this.consequent.included&&(c||typeof s=="symbol"||s)?this.consequent.render(t,n):(t.overwrite(this.consequent.start,this.consequent.end,o?";":""),i.push(...this.consequentScope.hoistedDeclarations)),this.alternate&&(!this.alternate.included||!c&&typeof s!="symbol"&&s?(o&&this.shouldKeepAlternateBranch()?t.overwrite(this.alternate.start,this.end,";"):t.remove(this.consequent.end,this.end),i.push(...this.alternateScope.hoistedDeclarations)):(o?t.original.charCodeAt(this.alternate.start-1)===101&&t.prependLeft(this.alternate.start," "):t.remove(this.consequent.end,this.alternate.start),this.alternate.render(t,n))),this.renderHoistedDeclarations(i,t,r)}
25applyDeoptimizations(){}getTestValue(){return this.testValue===Fk?this.testValue=this.test.getLiteralValueAtPath(Me,$t,this):this.testValue}includeKnownTest(t,n){var r;this.test.shouldBeIncluded(t)&&this.test.include(t,!1),n&&this.consequent.shouldBeIncluded(t)&&this.consequent.include(t,!1,{asSingleStatement:!0}),!n&&((r=this.alternate)!=null&&r.shouldBeIncluded(t))&&this.alternate.include(t,!1,{asSingleStatement:!0})}includeRecursively(t,n){var r;this.test.include(n,t),this.consequent.include(n,t),(r=this.alternate)==null||r.include(n,t)}includeUnknownTest(t){var s;this.test.include(t,!1);const{brokenFlow:n}=t;let r=0;this.consequent.shouldBeIncluded(t)&&(this.consequent.include(t,!1,{asSingleStatement:!0}),r=t.brokenFlow,t.brokenFlow=n),(s=this.alternate)!=null&&s.shouldBeIncluded(t)&&(this.alternate.include(t,!1,{asSingleStatement:!0}),t.brokenFlow=t.brokenFlow<r?t.brokenFlow:r)}renderHoistedDeclarations(t,n,r){const s=[...new Set(t.map((i=>{const o=i.variable;return o.included?o.getName(r):""})))].filter(Boolean).join(", ");if(s){const i=this.parent.type,o=i!==Ga&&i!==tk;n.prependRight(this.start,`${o?"{ ":""}var ${s}; `),o&&n.appendLeft(this.end," }")}}shouldKeepAlternateBranch(){let t=this.parent;do{if(t instanceof Nf&&t.alternate)return!0;if(t instanceof no)return!1;t=t.parent}while(t);return!1}}class qk extends be{bind(){}hasEffects(){return!1}initialise(){this.context.addImport(this)}render(t,n,r){t.remove(r.start,r.end)}applyDeoptimizations(){}}qk.prototype.needsBoundaries=!0;class jk extends be{applyDeoptimizations(){}}const Of="_interopDefault",$f="_interopDefaultCompat",ao="_interopNamespace",oo="_interopNamespaceCompat",rs="_interopNamespaceDefault",wi="_interopNamespaceDefaultOnly",co="_mergeNamespaces",uo={auto:Of,compat:$f,default:null,defaultOnly:null,esModule:null},lo=(e,t)=>e==="esModule"||t&&(e==="auto"||e==="compat"),Ai={auto:ao,compat:oo,default:rs,defaultOnly:wi,esModule:null},$C=(e,t)=>e!=="esModule"&&lo(e,t),Df=(e,t,n,r,s,i,o)=>{const c=new Set(e);for(const u of qf)t.has(u)&&c.add(u);return qf.map((u=>c.has(u)?Bk[u](n,r,s,i,o,c):"")).join("")},Bk={[$f](e,t,n){const{_:r,getDirectReturnFunction:s,n:i}=t,[o,c]=s(["e"],{functionReturn:!0,lineBreakIndent:null,name:$f});return`${o}${Lf(t)}${r}?${r}${n?Vk(t):zk(t)}${c}${i}${i}`},[Of](e,t,n){const{_:r,getDirectReturnFunction:s,n:i}=t,[o,c]=s(["e"],{functionReturn:!0,lineBreakIndent:null,name:Of});return`${o}e${r}&&${r}e.__esModule${r}?${r}${n?Vk(t):zk(t)}${c}${i}${i}`},[oo](e,t,n,r,s,i){const{_:o,getDirectReturnFunction:c,n:u}=t;if(i.has(rs)){const[l,h]=c(["e"],{functionReturn:!0,lineBreakIndent:null,name:oo});return`${l}${Lf(t)}${o}?${o}e${o}:${o}${rs}(e)${h}${u}${u}`}return`function ${oo}(e)${o}{${u}${e}if${o}(${Lf(t)})${o}return e;${u}`+Mf(e,e,t,n,r,s)+`}${u}${u}`},[wi](e,t,n,r,s){const{getDirectReturnFunction:i,getObject:o,n:c}=t,[u,l]=i(["e"],{functionReturn:!0,lineBreakIndent:null,name:wi});return`${u}${Ff(r,Wk(s,o([["__proto__","null"],["default","e"]],{lineBreakIndent:null}),t))}${l}${c}${c}`},[rs](e,t,n,r,s){const{_:i,n:o}=t;return`function ${rs}(e)${i}{${o}`+Mf(e,e,t,n,r,s)+`}${o}${o}`},[ao](e,t,n,r,s,i){const{_:o,getDirectReturnFunction:c,n:u}=t;if(i.has(rs)){const[l,h]=c(["e"],{functionReturn:!0,lineBreakIndent:null,name:ao});return`${l}e${o}&&${o}e.__esModule${o}?${o}e${o}:${o}${rs}(e)${h}${u}${u}`}return`function ${ao}(e)${o}{${u}${e}if${o}(e${o}&&${o}e.__esModule)${o}return e;${u}`+Mf(e,e,t,n,r,s)+`}${u}${u}`},[co](e,t,n,r,s){const{_:i,cnst:o,n:c}=t,u=o==="var"&&n;return`function ${co}(n, m)${i}{${c}${e}${LC(`{${c}${e}${e}${e}if${i}(k${i}!==${i}'default'${i}&&${i}!(k in n))${i}{${c}`+(n?u?Uk:FC:Gk)(e,e+e+e+e,t)+`${e}${e}${e}}${c}${e}${e}}`,u,e,t)}${c}${e}return ${Ff(r,Wk(s,"n",t))};${c}}${c}${c}`}},Vk=({_:e,getObject:t})=>`e${e}:${e}${t([["default","e"]],{lineBreakIndent:null})}`,zk=({_:e,getPropertyAccess:t})=>`e${t("default")}${e}:${e}e`,Lf=({_:e})=>`e${e}&&${e}typeof e${e}===${e}'object'${e}&&${e}'default'${e}in e`,Mf=(e,t,n,r,s,i)=>{const{_:o,cnst:c,getObject:u,getPropertyAccess:l,n:h,s:p}=n,d=`{${h}`+(r?MC:Gk)(e,t+e+e,n)+`${t}${e}}`;return`${t}${c} n${o}=${o}Object.create(null${i?`,${o}{${o}[Symbol.toStringTag]:${o}${Pi(u)}${o}}`:""});${h}${t}if${o}(e)${o}{${h}${t}${e}${DC(d,!r,n)}${h}${t}}${h}${t}n${l("default")}${o}=${o}e;${h}${t}return ${Ff(s,"n")}${p}${h}`},DC=(e,t,{_:n,cnst:r,getFunctionIntro:s,s:i})=>r!=="var"||t?`for${n}(${r} k in e)${n}${e}
25`:`Object.keys(e).forEach(${s(["k"],{isAsync:!1,name:null})}${e})${i}`,LC=(e,t,n,{_:r,cnst:s,getDirectReturnFunction:i,getFunctionIntro:o,n:c})=>{if(t){const[u,l]=i(["e"],{functionReturn:!1,lineBreakIndent:{base:n,t:n},name:null});return`m.forEach(${u}e${r}&&${r}typeof e${r}!==${r}'string'${r}&&${r}!Array.isArray(e)${r}&&${r}Object.keys(e).forEach(${o(["k"],{isAsync:!1,name:null})}${e})${l});`}return`for${r}(var i${r}=${r}0;${r}i${r}<${r}m.length;${r}i++)${r}{${c}${n}${n}${s} e${r}=${r}m[i];${c}${n}${n}if${r}(typeof e${r}!==${r}'string'${r}&&${r}!Array.isArray(e))${r}{${r}for${r}(${s} k in e)${r}${e}${r}}${c}${n}}`},MC=(e,t,n)=>{const{_:r,n:s}=n;return`${t}if${r}(k${r}!==${r}'default')${r}{${s}`+Uk(e,t+e,n)+`${t}}${s}`},Uk=(e,t,{_:n,cnst:r,getDirectReturnFunction:s,n:i})=>{const[o,c]=s([],{functionReturn:!0,lineBreakIndent:null,name:null});return`${t}${r} d${n}=${n}Object.getOwnPropertyDescriptor(e,${n}k);${i}${t}Object.defineProperty(n,${n}k,${n}d.get${n}?${n}d${n}:${n}{${i}${t}${e}enumerable:${n}true,${i}${t}${e}get:${n}${o}e[k]${c}${i}${t}});${i}`},FC=(e,t,{_:n,cnst:r,getDirectReturnFunction:s,n:i})=>{const[o,c]=s([],{functionReturn:!0,lineBreakIndent:null,name:null});return`${t}${r} d${n}=${n}Object.getOwnPropertyDescriptor(e,${n}k);${i}${t}if${n}(d)${n}{${i}${t}${e}Object.defineProperty(n,${n}k,${n}d.get${n}?${n}d${n}:${n}{${i}${t}${e}${e}enumerable:${n}true,${i}${t}${e}${e}get:${n}${o}e[k]${c}${i}${t}${e}});${i}${t}}${i}`},Gk=(e,t,{_:n,n:r})=>`${t}n[k]${n}=${n}e[k];${r}`,Ff=(e,t)=>e?`Object.freeze(${t})`:t,Wk=(e,t,{_:n,getObject:r})=>e?`Object.defineProperty(${t},${n}Symbol.toStringTag,${n}${Pi(r)})`:t,qf=Object.keys(Bk);function Pi(e){return e([["value","'Module'"]],{lineBreakIndent:null})}function Hk(e,t,n){return t==="external"?Ai[n(e instanceof vt?e.id:null)]:t==="default"?wi:null}const qC={amd:["require"],cjs:["require"],system:["module"]};class Kk extends be{applyDeoptimizations(){}}const Ti="ROLLUP_FILE_URL_",jf="import",jC={amd:["document","module","URL"],cjs:["document","require","URL"],es:[],iife:["document","URL"],system:["module"],umd:["document","require","URL"]},BC={amd:["document","require","URL"],cjs:["document","require","URL"],es:[],iife:["document","URL"],system:["module","URL"],umd:["document","require","URL"]},Ci=(e,t="URL")=>`new ${t}(${e}).href`,Bf=(e,t=!1)=>Ci(`'${Oa(e)}', ${t?"typeof document === 'undefined' ? location.href : ":""}document.currentScript && document.currentScript.src || document.baseURI`),ho=e=>(t,{chunkId:n})=>{const r=e(n);return t===null?`({ url: ${r} })`:t==="url"?r:"undefined"},Vf=e=>`require('u' + 'rl').pathToFileURL(${e}).href`,Xk=e=>Vf(`__dirname + '/${e}'`),zf=(e,t=!1)=>`${t?"typeof document === 'undefined' ? location.href : ":""}(document.currentScript && document.currentScript.src || new URL('${Oa(e)}', document.baseURI).href)`,VC={amd:e=>(e[0]!=="."&&(e="./"+e),Ci(`require.toUrl('${e}'), document.baseURI`)),cjs:e=>`(typeof document === 'undefined' ? ${Xk(e)} : ${Bf(e)})`,es:e=>Ci(`'${e}', import.meta.url`),iife:e=>Bf(e),system:e=>Ci(`'${e}', module.meta.url`),umd:e=>`(typeof document === 'undefined' && typeof location === 'undefined' ? ${Xk(e)} : ${Bf(e,!0)})`},Uf={amd:ho((()=>Ci("module.uri, document.baseURI"))),cjs:ho((e=>`(typeof document === 'undefined' ? ${Vf("__filename")} : ${zf(e)})`)),iife:ho((e=>zf(e))),system:(e,{snippets:{getPropertyAccess:t}})=>e===null?"module.meta":`module.meta${t(e)}`,umd:ho((e=>`(typeof document === 'undefined' && typeof location === 'undefined' ? ${Vf("__filename")} : ${zf(e,!0)})`))};function Qk(e,t){const n=e.filter((r=>!!r.mappings));e:for(;n.length>0;){const r=n.pop().mappings[t.line-1];if(r){const s=r.filter((o=>o.length>1)),i=s[s.length-1];for(const o of s)if(o[0]>=t.column||o===i){t={column:o[3],line:o[2]+1};continue e}}throw new Error("Can't resolve original location of error.")}return t}class Jk extends be{constructor(){super(...arguments),this.hasCachedEffect=null,this.hasLoggedEffect=!1}hasCachedEffects(){return this.hasCachedEffect===null?this.hasCachedEffect=this.hasEffects(za()):this.hasCachedEffect}hasEffects(t){for(const n of this.body)if(n.hasEffects(t)){if(this.context.options.experimentalLogSideEffects&&!this.hasLoggedEffect){this.hasLoggedEffect=!0;const{code:r,module:s}=this.context,{line:i,column:o}=Qh(r,n.start,{offsetLine:1});console.log(`First side effect in ${je(s.id)} is at (${i}:${o})
26${Zh(r,i,o)}`);try{const{column:c,line:u}=Qk(s.sourcemapChain,{column:o,line:i});u!==i&&console.log(`Original location is at (${u}:${c})
27${Zh(s.originalCode,u,c)}
28`)}catch{}console.log()}return this.hasCachedEffect=!0}return!1}include(t,n){this.included=!0;for(const r of this.body)(n||r.shouldBeIncluded(t))&&r.include(t,n)}render(t,n){let r=this.start;t.original.startsWith("#!")&&(r=Math.min(t.original.indexOf(`
29`)+1,this.end),t.remove(0,r)),this.body.length>0?Si(this.body,t,r,this.end,n):super.render(t,n)}applyDeoptimizations(){}}class Yk extends be{hasEffects(t){var n;if((n=this.test)!=null&&n.hasEffects(t))return!0;for(const r of this.consequent){if(t.brokenFlow)break;if(r.hasEffects(t))return!0}return!1}include(t,n){var r;this.included=!0,(r=this.test)==null||r.include(t,n);for(const s of this.consequent)(n||s.shouldBeIncluded(t))&&s.include(t,n)}render(t,n,r){if(this.consequent.length>0){this.test&&this.test.render(t,n);const s=this.test?this.test.end:Vt(t.original,"default",this.start)+7,i=Vt(t.original,":",s)+1;Si(this.consequent,t,i,r.end,n)}else super.render(t,n)}}Yk.prototype.needsBoundaries=!0;class Zk extends be{deoptimizeThisOnInteractionAtPath(){}getLiteralValueAtPath(t){return t.length>0||this.quasis.length!==1?gt:this.quasis[0].value.cooked}
29getReturnExpressionWhenCalledAtPath(t){return t.length!==1?wt:_i(vi,t[0])}hasEffectsOnInteractionAtPath(t,n,r){return n.type===0?t.length>1:n.type!==2||t.length!==1||yi(vi,t[0],n,r)}render(t,n){t.indentExclusionRanges.push([this.start,this.end]),super.render(t,n)}}class eS extends Kr{constructor(){super("undefined")}getLiteralValueAtPath(){}}class Vn extends qn{constructor(t,n,r){super(t,n,n.declaration,r),this.hasId=!1,this.originalId=null,this.originalVariable=null;const s=n.declaration;(s instanceof Ii||s instanceof ro)&&s.id?(this.hasId=!0,this.originalId=s.id):s instanceof xt&&(this.originalId=s)}addReference(t){this.hasId||(this.name=t.name)}forbidName(t){const n=this.getOriginalVariable();n===this?super.forbidName(t):n.forbidName(t)}getAssignedVariableName(){return this.originalId&&this.originalId.name||null}getBaseVariableName(){const t=this.getOriginalVariable();return t===this?super.getBaseVariableName():t.getBaseVariableName()}getDirectOriginalVariable(){return!this.originalId||!this.hasId&&(this.originalId.isPossibleTDZ()||this.originalId.variable.isReassigned||this.originalId.variable instanceof eS||"syntheticNamespace"in this.originalId.variable)?null:this.originalId.variable}getName(t){const n=this.getOriginalVariable();return n===this?super.getName(t):n.getName(t)}getOriginalVariable(){if(this.originalVariable)return this.originalVariable;let t,n=this;const r=new Set;do r.add(n),t=n,n=t.getDirectOriginalVariable();while(n instanceof Vn&&!r.has(n));return this.originalVariable=n||t}}class tS extends Sn{constructor(t,n){super(t),this.context=n,this.variables.set("this",new qn("this",null,Ns,n))}addExportDefaultDeclaration(t,n,r){const s=new Vn(t,n,r);return this.variables.set("default",s),s}addNamespaceMemberAccess(){}deconflict(t,n,r){for(const s of this.children)s.deconflict(t,n,r)}findLexicalBoundary(){return this}findVariable(t){const n=this.variables.get(t)||this.accessedOutsideVariables.get(t);if(n)return n;const r=this.context.traceVariable(t)||this.parent.findVariable(t);return r instanceof kf&&this.accessedOutsideVariables.set(t,r),r}}const zC={"!":e=>!e,"+":e=>+e,"-":e=>-e,delete:()=>gt,typeof:e=>typeof e,void:()=>{},"~":e=>~e};function nS(e,t){return e.renderBaseName!==null&&t.has(e)&&e.isReassigned}class rS extends be{deoptimizePath(){for(const t of this.declarations)t.deoptimizePath(Me)}hasEffectsOnInteractionAtPath(){return!1}include(t,n,{asSingleStatement:r}=Bt){this.included=!0;for(const s of this.declarations){(n||s.shouldBeIncluded(t))&&s.include(t,n);const{id:i,init:o}=s;r&&i.include(t,n),o&&i.included&&!o.included&&(i instanceof Af||i instanceof gk)&&o.include(t,n)}}initialise(){for(const t of this.declarations)t.declareDeclarator(this.kind)}render(t,n,r=Bt){if((function(s,i){for(const o of s){if(!o.id.included)return!1;if(o.id.type===rk){if(i.has(o.id.variable))return!1}else{const c=[];if(o.id.addExportedVariables(c,i),c.length>0)return!1}}return!0})(this.declarations,n.exportNamesByVariable)){for(const s of this.declarations)s.render(t,n);r.isNoStatement||t.original.charCodeAt(this.end-1)===59||t.appendLeft(this.end,";")}else this.renderReplacedDeclarations(t,n)}applyDeoptimizations(){}renderDeclarationEnd(t,n,r,s,i,o,c){t.original.charCodeAt(this.end-1)===59&&t.remove(this.end-1,this.end),n+=";",r===null?t.appendLeft(i,n):(t.original.charCodeAt(s-1)!==10||t.original.charCodeAt(this.end)!==10&&t.original.charCodeAt(this.end)!==13||(s--,t.original.charCodeAt(s)===13&&s--),s===r+1?t.overwrite(r,i,n):(t.overwrite(r,r+1,n),t.remove(s,i))),o.length>0&&t.appendLeft(i,` ${ts(o,c)};`)}renderReplacedDeclarations(t,n){const r=Ik(this.declarations,t,this.start+this.kind.length,this.end-(t.original.charCodeAt(this.end-1)===59?1:0));let s,i;i=gr(t.original,this.start+this.kind.length);let o=i-1;t.remove(this.start,o);let c,u=!1,l=!1,h="";const p=[],d=(function(_,k,g){var E;let y=null;if(k.format==="system"){for(const{node:I}of _)I.id instanceof xt&&I.init&&g.length===0&&((E=k.exportNamesByVariable.get(I.id.variable))==null?void 0:E.length)===1?(y=I.id.variable,g.push(y)):I.id.addExportedVariables(g,k.exportNamesByVariable);g.length>1?y=null:y&&(g.length=0)}return y})(r,n,p);for(const{node:_,start:k,separator:g,contentEnd:y,end:E}of r)if(_.included){if(_.render(t,n),c="",!_.id.included||_.id instanceof xt&&nS(_.id.variable,n.exportNamesByVariable))l&&(h+=";"),u=!1;else{if(d&&d===_.id.variable){const I=Vt(t.original,"=",_.id.end);wf(d,gr(t.original,I+1),g===null?y:g,t,n)}u?h+=",":(l&&(h+=";"),c+=`${this.kind} `,u=!0)}i===o+1?t.overwrite(o,i,h+c):(t.overwrite(o,o+1,h),t.appendLeft(i,c)),s=y,i=E,l=!0,o=g,h=""}else t.remove(k,E);this.renderDeclarationEnd(t,h,o,s,i,p,n)}}const sS={ArrayExpression:class extends be{constructor(){super(...arguments),this.objectEntity=null}deoptimizePath(e){this.getObjectEntity().deoptimizePath(e)}deoptimizeThisOnInteractionAtPath(e,t,n){this.getObjectEntity().deoptimizeThisOnInteractionAtPath(e,t,n)}getLiteralValueAtPath(e,t,n){return this.getObjectEntity().getLiteralValueAtPath(e,t,n)}
29getReturnExpressionWhenCalledAtPath(e,t,n,r){return this.getObjectEntity().getReturnExpressionWhenCalledAtPath(e,t,n,r)}hasEffectsOnInteractionAtPath(e,t,n){return this.getObjectEntity().hasEffectsOnInteractionAtPath(e,t,n)}applyDeoptimizations(){this.deoptimized=!0;let e=!1;for(let t=0;t<this.elements.length;t++){const n=this.elements[t];n&&(e||n instanceof xi)&&(e=!0,n.deoptimizePath(et))}this.context.requestTreeshakingPass()}getObjectEntity(){if(this.objectEntity!==null)return this.objectEntity;const e=[{key:"length",kind:"init",property:Os}];let t=!1;for(let n=0;n<this.elements.length;n++){const r=this.elements[n];t||r instanceof xi?r&&(t=!0,e.unshift({key:pi,kind:"init",property:r})):r?e.push({key:String(n),kind:"init",property:r}):e.push({key:String(n),kind:"init",property:Ns})}return this.objectEntity=new nn(e,Qa)}},ArrayPattern:gk,ArrowFunctionExpression:Ak,AssignmentExpression:class extends be{hasEffects(e){const{deoptimized:t,left:n,operator:r,right:s}=this;return t||this.applyDeoptimizations(),s.hasEffects(e)||n.hasEffectsAsAssignmentTarget(e,r!=="=")}hasEffectsOnInteractionAtPath(e,t,n){return this.right.hasEffectsOnInteractionAtPath(e,t,n)}include(e,t){const{deoptimized:n,left:r,right:s,operator:i}=this;n||this.applyDeoptimizations(),this.included=!0,(t||i!=="="||r.included||r.hasEffectsAsAssignmentTarget(za(),!1))&&r.includeAsAssignmentTarget(e,t,i!=="="),s.include(e,t)}initialise(){this.left.setAssignedValue(this.right)}render(e,t,{preventASI:n,renderedParentType:r,renderedSurroundingElement:s}=Bt){const{left:i,right:o,start:c,end:u,parent:l}=this;if(i.included)i.render(e,t),o.render(e,t);else{const h=gr(e.original,Vt(e.original,"=",i.end)+1);e.remove(c,h),n&&eo(e,h,o.start),o.render(e,t,{renderedParentType:r||l.type,renderedSurroundingElement:s||l.type})}if(t.format==="system")if(i instanceof xt){const h=i.variable,p=t.exportNamesByVariable.get(h);if(p)return void(p.length===1?wf(h,c,u,e,t):Pk(h,c,u,l.type!==mn,e,t))}else{const h=[];if(i.addExportedVariables(h,t.exportNamesByVariable),h.length>0)return void(function(p,d,_,k,g,y){const{_:E,getDirectReturnIifeLeft:I}=y.snippets;g.prependRight(d,I(["v"],`${ts(p,y)},${E}v`,{needsArrowReturnParens:!0,needsWrappedFunction:k})),g.appendLeft(_,")")})(h,c,u,s===mn,e,t)}i.included&&i instanceof Af&&(s===mn||s===ek)&&(e.appendRight(c,"("),e.prependLeft(u,")"))}applyDeoptimizations(){this.deoptimized=!0,this.left.deoptimizePath(Me),this.right.deoptimizePath(et),this.context.requestTreeshakingPass()}},AssignmentPattern:class extends be{addExportedVariables(e,t){this.left.addExportedVariables(e,t)}declare(e,t){return this.left.declare(e,t)}deoptimizePath(e){e.length===0&&this.left.deoptimizePath(e)}hasEffectsOnInteractionAtPath(e,t,n){return e.length>0||this.left.hasEffectsOnInteractionAtPath(Me,t,n)}markDeclarationReached(){this.left.markDeclarationReached()}render(e,t,{isShorthandProperty:n}=Bt){this.left.render(e,t,{isShorthandProperty:n}),this.right.render(e,t)}applyDeoptimizations(){this.deoptimized=!0,this.left.deoptimizePath(Me),this.right.deoptimizePath(et),this.context.requestTreeshakingPass()}},AwaitExpression:class extends be{hasEffects(){return this.deoptimized||this.applyDeoptimizations(),!0}include(e,t){if(this.deoptimized||this.applyDeoptimizations(),!this.included){this.included=!0;e:if(!this.context.usesTopLevelAwait){let n=this.parent;do if(n instanceof Pf||n instanceof Ak)break e;while(n=n.parent);this.context.usesTopLevelAwait=!0}}this.argument.include(e,t)}},BinaryExpression:class extends be{deoptimizeCache(){}getLiteralValueAtPath(e,t,n){if(e.length>0)return gt;const r=this.left.getLiteralValueAtPath(Me,t,n);if(typeof r=="symbol")return gt;const s=this.right.getLiteralValueAtPath(Me,t,n);if(typeof s=="symbol")return gt;const i=TC[this.operator];return i?i(r,s):gt}hasEffects(e){return this.operator==="+"&&this.parent instanceof to&&this.left.getLiteralValueAtPath(Me,$t,this)===""||super.hasEffects(e)}hasEffectsOnInteractionAtPath(e,{type:t}){return t!==0||e.length>1}render(e,t,{renderedSurroundingElement:n}=Bt){this.left.render(e,t,{renderedSurroundingElement:n}),this.right.render(e,t)}},BlockStatement:no,BreakStatement:class extends be{hasEffects(e){if(this.label){if(!e.ignore.labels.has(this.label.name))return!0;e.includedLabels.add(this.label.name),e.brokenFlow=2}else{if(!e.ignore.breaks)return!0;e.brokenFlow=1}return!1}include(e){this.included=!0,this.label&&(this.label.include(),e.includedLabels.add(this.label.name)),e.brokenFlow=this.label?2:1}},CallExpression:class extends Ok{bind(){super.bind(),this.callee instanceof xt&&(this.scope.findVariable(this.callee.name).isNamespace&&this.context.warn(WE(this.callee.name),this.start),this.callee.name==="eval"&&this.context.warn({code:"EVAL",id:e=this.context.module.id,message:`Use of eval in "${je(e)}" is strongly discouraged as it poses security risks and may cause issues with minification.`,url:Ft("troubleshooting/#avoiding-eval")},this.start));var e;this.interaction={args:this.arguments,thisArg:this.callee instanceof Ls&&!this.callee.variable?this.callee.object:null,type:2,withNew:!1}}hasEffects(e){try{for(const t of this.arguments)if(t.hasEffects(e))return!0;return(!this.context.options.treeshake.annotations||!this.annotations)&&(this.callee.hasEffects(e)||this.callee.hasEffectsOnInteractionAtPath(Me,this.interaction,e))}finally{this.deoptimized||this.applyDeoptimizations()}}include(e,t){this.deoptimized||this.applyDeoptimizations(),t?(super.include(e,t),t===ok&&this.callee instanceof xt&&this.callee.variable&&this.callee.variable.markCalledFromTryStatement
29()):(this.included=!0,this.callee.include(e,!1)),this.callee.includeCallArguments(e,this.arguments)}isSkippedAsOptional(e){var t,n;return((n=(t=this.callee).isSkippedAsOptional)==null?void 0:n.call(t,e))||this.optional&&this.callee.getLiteralValueAtPath(Me,$t,e)==null}render(e,t,{renderedSurroundingElement:n}=Bt){this.callee.render(e,t,{isCalleeOfRenderedParent:!0,renderedSurroundingElement:n}),Ck(e,t,this)}applyDeoptimizations(){this.deoptimized=!0,this.interaction.thisArg&&this.callee.deoptimizeThisOnInteractionAtPath(this.interaction,Me,$t);for(const e of this.arguments)e.deoptimizePath(et);this.context.requestTreeshakingPass()}getReturnExpression(e=$t){return this.returnExpression===null?(this.returnExpression=wt,this.returnExpression=this.callee.getReturnExpressionWhenCalledAtPath(Me,this.interaction,e,this)):this.returnExpression}},CatchClause:class extends be{createScope(e){this.scope=new RC(e,this.context)}parseNode(e){const{param:t}=e;t&&(this.param=new(this.context.getNodeConstructor(t.type))(t,this,this.scope),this.param.declare("parameter",Xe)),super.parseNode(e)}},ChainExpression:class extends be{deoptimizeCache(){}getLiteralValueAtPath(e,t,n){if(!this.expression.isSkippedAsOptional(n))return this.expression.getLiteralValueAtPath(e,t,n)}hasEffects(e){return!this.expression.isSkippedAsOptional(this)&&this.expression.hasEffects(e)}},ClassBody:class extends be{createScope(e){this.scope=new NC(e,this.parent,this.context)}include(e,t){this.included=!0,this.context.includeVariableInModule(this.scope.thisVariable);for(const n of this.body)n.include(e,t)}parseNode(e){const t=this.body=[];for(const n of e.body)t.push(new(this.context.getNodeConstructor(n.type))(n,this,n.static?this.scope:this.scope.instanceScope));super.parseNode(e)}applyDeoptimizations(){}},ClassDeclaration:ro,ClassExpression:Cf,ConditionalExpression:class extends be{constructor(){super(...arguments),this.expressionsToBeDeoptimized=[],this.isBranchResolutionAnalysed=!1,this.usedBranch=null}deoptimizeCache(){if(this.usedBranch!==null){const e=this.usedBranch===this.consequent?this.alternate:this.consequent;this.usedBranch=null,e.deoptimizePath(et);for(const t of this.expressionsToBeDeoptimized)t.deoptimizeCache()}}deoptimizePath(e){const t=this.getUsedBranch();t?t.deoptimizePath(e):(this.consequent.deoptimizePath(e),this.alternate.deoptimizePath(e))}deoptimizeThisOnInteractionAtPath(e,t,n){this.consequent.deoptimizeThisOnInteractionAtPath(e,t,n),this.alternate.deoptimizeThisOnInteractionAtPath(e,t,n)}getLiteralValueAtPath(e,t,n){const r=this.getUsedBranch();return r?(this.expressionsToBeDeoptimized.push(n),r.getLiteralValueAtPath(e,t,n)):gt}getReturnExpressionWhenCalledAtPath(e,t,n,r){const s=this.getUsedBranch();return s?(this.expressionsToBeDeoptimized.push(r),s.getReturnExpressionWhenCalledAtPath(e,t,n,r)):[new so([this.consequent.getReturnExpressionWhenCalledAtPath(e,t,n,r)[0],this.alternate.getReturnExpressionWhenCalledAtPath(e,t,n,r)[0]]),!1]}hasEffects(e){if(this.test.hasEffects(e))return!0;const t=this.getUsedBranch();return t?t.hasEffects(e):this.consequent.hasEffects(e)||this.alternate.hasEffects(e)}hasEffectsOnInteractionAtPath(e,t,n){const r=this.getUsedBranch();return r?r.hasEffectsOnInteractionAtPath(e,t,n):this.consequent.hasEffectsOnInteractionAtPath(e,t,n)||this.alternate.hasEffectsOnInteractionAtPath(e,t,n)}include(e,t){this.included=!0;const n=this.getUsedBranch();t||this.test.shouldBeIncluded(e)||n===null?(this.test.include(e,t),this.consequent.include(e,t),this.alternate.include(e,t)):n.include(e,t)}includeCallArguments(e,t){const n=this.getUsedBranch();n?n.includeCallArguments(e,t):(this.consequent.includeCallArguments(e,t),this.alternate.includeCallArguments(e,t))}render(e,t,{isCalleeOfRenderedParent:n,preventASI:r,renderedParentType:s,renderedSurroundingElement:i}=Bt){const o=this.getUsedBranch();if(this.test.included)this.test.render(e,t,{renderedSurroundingElement:i}),this.consequent.render(e,t),this.alternate.render(e,t);else{const c=Vt(e.original,":",this.consequent.end),u=gr(e.original,(this.consequent.included?Vt(e.original,"?",this.test.end):c)+1);r&&eo(e,u,o.start),e.remove(this.start,u),this.consequent.included&&e.remove(c,this.end),kk(this,e),o.render(e,t,{isCalleeOfRenderedParent:n,preventASI:!0,renderedParentType:s||this.parent.type,renderedSurroundingElement:i||this.parent.type})}}getUsedBranch(){if(this.isBranchResolutionAnalysed)return this.usedBranch;this.isBranchResolutionAnalysed=!0;const e=this.test.getLiteralValueAtPath(Me,$t,this);return typeof e=="symbol"?null:this.usedBranch=e?this.consequent:this.alternate}},ContinueStatement:class extends be{hasEffects(e){if(this.label){if(!e.ignore.labels.has(this.label.name))return!0;e.includedLabels.add(this.label.name),e.brokenFlow=2}else{if(!e.ignore.continues)return!0;e.brokenFlow=1}return!1}include(e){this.included=!0,this.label&&(this.label.include(),e.includedLabels.add(this.label.name)),e.brokenFlow=this.label?2:1}},DoWhileStatement:class extends be{hasEffects(e){if(this.test.hasEffects(e))return!0;const{brokenFlow:t,ignore:n}=e,{breaks:r,continues:s}=n;return n.breaks=!0,n.continues=!0,!!this.body.hasEffects(e)||(n.breaks=r,n.continues=s,e.brokenFlow=t,!1)}include(e,t){this.included=!0,this.test.include(e,t);const{brokenFlow:n}=e;this.body.include(e,t,{asSingleStatement:!0}),e.brokenFlow=n}},EmptyStatement:class extends be{hasEffects(){return!1}},ExportAllDeclaration:Rf,ExportDefaultDeclaration:io,ExportNamedDeclaration:Lk,ExportSpecifier:class extends be{applyDeoptimizations(){}},ExpressionStatement:to,ForInStatement:class extends be{createScope(e){this.scope=new es(e)}hasEffects(e){const{body:t,deoptimized:n,left:r,right:s}=this;if(n||this.applyDeoptimizations(),r.hasEffectsAsAssignmentTarget(e,!1)||s.hasEffects(e))return!0;const{brokenFlow:i,ignore:o}=e,{breaks:c,continues:u}=o;return o.breaks=!0,o.continues=!0,!!t.hasEffects(e)||(o.breaks=c,o.continues=u,e.brokenFlow=i,!1)}include(e,t){const{body:n,deoptimized:r,left:s,right:i}=this;r||this.applyDeoptimizations(),this.included=!0,s.includeAsAssignmentTarget(e,t||!0,!1),i.include(e,t);const{brokenFlow:o}=e;n.include(e,t,{asSingleStatement:!0}),e.brokenFlow=o}initialise(){this.left.setAssignedValue(Xe)}render(e,t){this.left.render(e,t,Zr),this.right.render(e,t,Zr),e.original.charCodeAt(this.right.start-1)===110&&e.prependLeft(this.right.start," "),this.body.render(e,t)}applyDeoptimizations(){this.deoptimized=!0,this.left.deoptimizePath(Me),this.context.requestTreeshakingPass()}},ForOfStatement:class extends be{createScope(e){this.scope=new es(e)}hasEffects(){return this.deoptimized||this.applyDeoptimizations(),!0}include(e,t){const{body:n,deoptimized:r,left:s,right:i}=this;r||this.applyDeoptimizations(),this.included=!0,s.includeAsAssignmentTarget(e,t||!0,!1),i.include(e,t);const{brokenFlow:o}=e;n.include(e,t,{asSingleStatement:!0}),e.brokenFlow=o}initialise(){this.left.setAssignedValue(Xe)}render(e,t){this.left.render(e,t,Zr),this.right.render(e,t,Zr),e.original.charCodeAt(this.right.start-1)===102&&e.prependLeft(this.right.start," "),this.body.render(e,t)}applyDeoptimizations(){this.deoptimized=!0,this.left.deoptimizePath(Me),this.context.requestTreeshakingPass()}},ForStatement:class extends be{createScope(e){this.scope=new es(e)}hasEffects(e){var i,o,c;if((i=this.init)!=null&&i.hasEffects(e)||(o=this.test)!=null&&o.hasEffects(e)||(c=this.update)!=null&&c.hasEffects(e))return!0;const{brokenFlow:t,ignore:n}=e,{breaks:r,continues:s}=n;return n.breaks=!0,n.continues=!0,!!this.body.hasEffects(e)||(n.breaks=r,n.continues=s,e.brokenFlow=t,!1)}include(e,t){var r,s,i;this.included=!0,(r=this.init)==null||r.include(e,t,{asSingleStatement:!0}),(s=this.test)==null||s.include(e,t);const{brokenFlow:n}=e;(i=this.update)==null||i.include(e,t),this.body.include(e,t,{asSingleStatement:!0}),e.brokenFlow=n}render(e,t){var n,r,s;(n=this.init)==null||n.render(e,t,Zr),(r=this.test)==null||r.render(e,t,Zr),(s=this.update)==null||s.render(e,t,Zr),this.body.render(e,t)}},FunctionDeclaration:Ii,FunctionExpression:class extends Pf{render(e,t,{renderedSurroundingElement:n}
29=Bt){super.render(e,t),n===mn&&(e.appendRight(this.start,"("),e.prependLeft(this.end,")"))}},Identifier:xt,IfStatement:Nf,ImportAttribute:class extends be{},ImportDeclaration:qk,ImportDefaultSpecifier:jk,ImportExpression:class extends be{constructor(){super(...arguments),this.inlineNamespace=null,this.assertions=null,this.mechanism=null,this.namespaceExportName=void 0,this.resolution=null,this.resolutionString=null}bind(){this.source.bind()}hasEffects(){return!0}include(e,t){this.included||(this.included=!0,this.context.includeDynamicImport(this),this.scope.addAccessedDynamicImport(this)),this.source.include(e,t)}initialise(){this.context.addDynamicImport(this)}parseNode(e){super.parseNode(e,["source"])}render(e,t){const{snippets:{_:n,getDirectReturnFunction:r,getObject:s,getPropertyAccess:i}}=t;if(this.inlineNamespace){const[o,c]=r([],{functionReturn:!0,lineBreakIndent:null,name:null});e.overwrite(this.start,this.end,`Promise.resolve().then(${o}${this.inlineNamespace.getName(i)}${c})`)}else{if(this.mechanism&&(e.overwrite(this.start,Vt(e.original,"(",this.start+6)+1,this.mechanism.left),e.overwrite(this.end-1,this.end,this.mechanism.right)),this.resolutionString){if(e.overwrite(this.source.start,this.source.end,this.resolutionString),this.namespaceExportName){const[o,c]=r(["n"],{functionReturn:!0,lineBreakIndent:null,name:null});e.prependLeft(this.end,`.then(${o}n.${this.namespaceExportName}${c})`)}}else this.source.render(e,t);this.assertions!==!0&&(this.arguments&&e.overwrite(this.source.end,this.end-1,"",{contentOnly:!0}),this.assertions&&e.appendLeft(this.end-1,`,${n}${s([["assert",this.assertions]],{lineBreakIndent:null})}`))}}setExternalResolution(e,t,n,r,s,i,o,c,u){const{format:l}=n;this.inlineNamespace=null,this.resolution=t,this.resolutionString=o,this.namespaceExportName=c,this.assertions=u;const h=[...qC[l]||[]];let p;({helper:p,mechanism:this.mechanism}=this.getDynamicImportMechanismAndHelper(t,e,n,r,s)),p&&h.push(p),h.length>0&&this.scope.addAccessedGlobals(h,i)}setInternalResolution(e){this.inlineNamespace=e}applyDeoptimizations(){}getDynamicImportMechanismAndHelper(e,t,{compact:n,dynamicImportFunction:r,dynamicImportInCjs:s,format:i,generatedCode:{arrowFunctions:o},interop:c},{_:u,getDirectReturnFunction:l,getDirectReturnIifeLeft:h},p){const d=p.hookFirstSync("renderDynamicImport",[{customResolution:typeof this.resolution=="string"?this.resolution:null,format:i,moduleId:this.context.module.id,targetModuleId:this.resolution&&typeof this.resolution!="string"?this.resolution.id:null}]);if(d)return{helper:null,mechanism:d};const _=!this.resolution||typeof this.resolution=="string";switch(i){case"cjs":{if(s&&(!e||typeof e=="string"||e instanceof vt))return{helper:null,mechanism:null};const k=Hk(e,t,c);let g="require(",y=")";k&&(g=`/*#__PURE__*/${k}(${g}`,y+=")");const[E,I]=l([],{functionReturn:!0,lineBreakIndent:null,name:null});return g=`Promise.resolve().then(${E}${g}`,y+=`${I})`,!o&&_&&(g=h(["t"],`${g}t${y}`,{needsArrowReturnParens:!1,needsWrappedFunction:!0}),y=")"),{helper:k,mechanism:{left:g,right:y}}}case"amd":{const k=n?"c":"resolve",g=n?"e":"reject",y=Hk(e,t,c),[E,I]=l(["m"],{functionReturn:!1,lineBreakIndent:null,name:null}),v=y?`${E}${k}(/*#__PURE__*/${y}(m))${I}`:k,[x,b]=l([k,g],{functionReturn:!1,lineBreakIndent:null,name:null});let A=`new Promise(${x}require([`,P=`],${u}${v},${u}${g})${b})`;return!o&&_&&(A=h(["t"],`${A}t${P}`,{needsArrowReturnParens:!1,needsWrappedFunction:!0}),P=")"),{helper:y,mechanism:{left:A,right:P}}}case"system":return{helper:null,mechanism:{left:"module.import(",right:")"}};case"es":if(r)return{helper:null,mechanism:{left:`${r}(`,right:")"}}}return{helper:null,mechanism:null}}},ImportNamespaceSpecifier:Kk,ImportSpecifier:class extends be{applyDeoptimizations(){}},LabeledStatement:class extends be{hasEffects(e){const t=e.brokenFlow;return e.ignore.labels.add(this.label.name),!!this.body.hasEffects(e)||(e.ignore.labels.delete(this.label.name),e.includedLabels.has(this.label.name)&&(e.includedLabels.delete(this.label.name),e.brokenFlow=t),!1)}include(e,t){this.included=!0;const n=e.brokenFlow;this.body.include(e,t),(t||e.includedLabels.has(this.label.name))&&(this.label.include(),e.includedLabels.delete(this.label.name),e.brokenFlow=n)}render(e,t){this.label.included?this.label.render(e,t):e.remove(this.start,gr(e.original,Vt(e.original,":",this.label.end)+1)),this.body.render(e,t)}}
29,Literal:ns,LogicalExpression:class extends be{constructor(){super(...arguments),this.expressionsToBeDeoptimized=[],this.isBranchResolutionAnalysed=!1,this.usedBranch=null}deoptimizeCache(){if(this.usedBranch){const e=this.usedBranch===this.left?this.right:this.left;this.usedBranch=null,e.deoptimizePath(et);for(const t of this.expressionsToBeDeoptimized)t.deoptimizeCache();this.context.requestTreeshakingPass()}}deoptimizePath(e){const t=this.getUsedBranch();t?t.deoptimizePath(e):(this.left.deoptimizePath(e),this.right.deoptimizePath(e))}deoptimizeThisOnInteractionAtPath(e,t,n){this.left.deoptimizeThisOnInteractionAtPath(e,t,n),this.right.deoptimizeThisOnInteractionAtPath(e,t,n)}getLiteralValueAtPath(e,t,n){const r=this.getUsedBranch();return r?(this.expressionsToBeDeoptimized.push(n),r.getLiteralValueAtPath(e,t,n)):gt}getReturnExpressionWhenCalledAtPath(e,t,n,r){const s=this.getUsedBranch();return s?(this.expressionsToBeDeoptimized.push(r),s.getReturnExpressionWhenCalledAtPath(e,t,n,r)):[new so([this.left.getReturnExpressionWhenCalledAtPath(e,t,n,r)[0],this.right.getReturnExpressionWhenCalledAtPath(e,t,n,r)[0]]),!1]}hasEffects(e){return!!this.left.hasEffects(e)||this.getUsedBranch()!==this.left&&this.right.hasEffects(e)}hasEffectsOnInteractionAtPath(e,t,n){const r=this.getUsedBranch();return r?r.hasEffectsOnInteractionAtPath(e,t,n):this.left.hasEffectsOnInteractionAtPath(e,t,n)||this.right.hasEffectsOnInteractionAtPath(e,t,n)}include(e,t){this.included=!0;const n=this.getUsedBranch();t||n===this.right&&this.left.shouldBeIncluded(e)||!n?(this.left.include(e,t),this.right.include(e,t)):n.include(e,t)}render(e,t,{isCalleeOfRenderedParent:n,preventASI:r,renderedParentType:s,renderedSurroundingElement:i}=Bt){if(this.left.included&&this.right.included)this.left.render(e,t,{preventASI:r,renderedSurroundingElement:i}),this.right.render(e,t);else{const o=Vt(e.original,this.operator,this.left.end);if(this.right.included){const c=gr(e.original,o+2);e.remove(this.start,c),r&&eo(e,c,this.right.start)}else e.remove(o,this.end);kk(this,e),this.getUsedBranch().render(e,t,{isCalleeOfRenderedParent:n,preventASI:r,renderedParentType:s||this.parent.type,renderedSurroundingElement:i||this.parent.type})}}getUsedBranch(){if(!this.isBranchResolutionAnalysed){this.isBranchResolutionAnalysed=!0;const e=this.left.getLiteralValueAtPath(Me,$t,this);if(typeof e=="symbol")return null;this.usedBranch=this.operator==="||"&&e||this.operator==="&&"&&!e||this.operator==="??"&&e!=null?this.left:this.right}return this.usedBranch}},MemberExpression:Ls,MetaProperty:class extends be{constructor(){super(...arguments),this.metaProperty=null,this.preliminaryChunkId=null,this.referenceId=null}getReferencedFileName(e){const{meta:{name:t},metaProperty:n}=this;return t===jf&&(n!=null&&n.startsWith(Ti))?e.getFileName(n.slice(Ti.length)):null}hasEffects(){return!1}hasEffectsOnInteractionAtPath(e,{type:t}){return e.length>1||t!==0}include(){if(!this.included&&(this.included=!0,this.meta.name===jf)){this.context.addImportMeta(this);const e=this.parent,t=this.metaProperty=e instanceof Ls&&typeof e.propertyKey=="string"?e.propertyKey:null;t!=null&&t.startsWith(Ti)&&(this.referenceId=t.slice(Ti.length))}}render(e,{format:t,pluginDriver:n,snippets:r}){var k;const{context:{module:{id:s}},meta:{name:i},metaProperty:o,parent:c,preliminaryChunkId:u,referenceId:l,start:h,end:p}=this;if(i!==jf)return;const d=u;if(l){const g=n.getFileName(l),y=fi(Ps(Wr(d),g)),E=n.hookFirstSync("resolveFileUrl",[{chunkId:d,fileName:g,format:t,moduleId:s,referenceId:l,relativePath:y}])||VC[t](y);return void e.overwrite(c.start,c.end,E,{contentOnly:!0})}const _=n.hookFirstSync("resolveImportMeta",[o,{chunkId:d,format:t,moduleId:s}])||((k=Uf[t])==null?void 0:k.call(Uf,o,{chunkId:d,snippets:r}));typeof _=="string"&&(c instanceof Ls?e.overwrite(c.start,c.end,_,{contentOnly:!0}):e.overwrite(h,p,_,{contentOnly:!0}))}setResolution(e,t,n){var s;this.preliminaryChunkId=n;const r=((s=this.metaProperty)!=null&&s.startsWith(Ti)?BC:jC)[e];r.length>0&&this.scope.addAccessedGlobals(r,t)}},MethodDefinition:Tf,NewExpression:class extends be{hasEffects(e){try{for(const t of this.arguments)if(t.hasEffects(e))return!0;return(!this.context.options.treeshake.annotations||!this.annotations)&&(this.callee.hasEffects(e)||this.callee.hasEffectsOnInteractionAtPath(Me,this.interaction,e))}finally{this.deoptimized||this.applyDeoptimizations()}}hasEffectsOnInteractionAtPath(e,{type:t}){return e.length>0||t!==0}include(e,t){this.deoptimized||this.applyDeoptimizations(),t?super.include(e,t):(this.included=!0,this.callee.include(e,!1)),this.callee.includeCallArguments(e,this.arguments)}initialise(){this.interaction={args:this.arguments,thisArg:null,type:2,withNew:!0}}render(e,t){this.callee.render(e,t),Ck(e,t,this)}applyDeoptimizations(){this.deoptimized=!0;for(const e of this.arguments)e.deoptimizePath(et);this.context.requestTreeshakingPass()}},ObjectExpression:class extends be{constructor(){super(...arguments),this.objectEntity=null}deoptimizeCache(){this.getObjectEntity().deoptimizeAllProperties()}deoptimizePath(e){this.getObjectEntity().deoptimizePath(e)}deoptimizeThisOnInteractionAtPath(e,t,n){this.getObjectEntity().deoptimizeThisOnInteractionAtPath(e,t,n)}getLiteralValueAtPath(e,t,n){return this.getObjectEntity().getLiteralValueAtPath(e,t,n)}
29getReturnExpressionWhenCalledAtPath(e,t,n,r){return this.getObjectEntity().getReturnExpressionWhenCalledAtPath(e,t,n,r)}hasEffectsOnInteractionAtPath(e,t,n){return this.getObjectEntity().hasEffectsOnInteractionAtPath(e,t,n)}render(e,t,{renderedSurroundingElement:n}=Bt){super.render(e,t),n!==mn&&n!==ek||(e.appendRight(this.start,"("),e.prependLeft(this.end,")"))}applyDeoptimizations(){}getObjectEntity(){if(this.objectEntity!==null)return this.objectEntity;let e=mr;const t=[];for(const n of this.properties){if(n instanceof xi){t.push({key:Ot,kind:"init",property:n});continue}let r;if(n.computed){const s=n.key.getLiteralValueAtPath(Me,$t,this);if(typeof s=="symbol"){t.push({key:Ot,kind:n.kind,property:n});continue}r=String(s)}else if(r=n.key instanceof xt?n.key.name:String(n.key.value),r==="__proto__"&&n.kind==="init"){e=n.value instanceof ns&&n.value.value===null?null:n.value;continue}t.push({key:r,kind:n.kind,property:n})}return this.objectEntity=new nn(t,e)}},ObjectPattern:Af,PrivateIdentifier:class extends be{},Program:Jk,Property:class extends $k{constructor(){super(...arguments),this.declarationInit=null}declare(e,t){return this.declarationInit=t,this.value.declare(e,Xe)}hasEffects(e){this.deoptimized||this.applyDeoptimizations();const t=this.context.options.treeshake.propertyReadSideEffects;return this.parent.type==="ObjectPattern"&&t==="always"||this.key.hasEffects(e)||this.value.hasEffects(e)}markDeclarationReached(){this.value.markDeclarationReached()}render(e,t){this.shorthand||this.key.render(e,t),this.value.render(e,t,{isShorthandProperty:this.shorthand})}applyDeoptimizations(){this.deoptimized=!0,this.declarationInit!==null&&(this.declarationInit.deoptimizePath([Ot,Ot]),this.context.requestTreeshakingPass())}},PropertyDefinition:class extends be{deoptimizePath(e){var t;(t=this.value)==null||t.deoptimizePath(e)}deoptimizeThisOnInteractionAtPath(e,t,n){var r;(r=this.value)==null||r.deoptimizeThisOnInteractionAtPath(e,t,n)}getLiteralValueAtPath(e,t,n){return this.value?this.value.getLiteralValueAtPath(e,t,n):gt}getReturnExpressionWhenCalledAtPath(e,t,n,r){return this.value?this.value.getReturnExpressionWhenCalledAtPath(e,t,n,r):wt}hasEffects(e){var t;return this.key.hasEffects(e)||this.static&&!!((t=this.value)!=null&&t.hasEffects(e))}hasEffectsOnInteractionAtPath(e,t,n){return!this.value||this.value.hasEffectsOnInteractionAtPath(e,t,n)}applyDeoptimizations(){}},RestElement:wk,ReturnStatement:class extends be{hasEffects(e){var t;return!(e.ignore.returnYield&&!((t=this.argument)!=null&&t.hasEffects(e)))||(e.brokenFlow=2,!1)}include(e,t){var n;this.included=!0,(n=this.argument)==null||n.include(e,t),e.brokenFlow=2}initialise(){this.scope.addReturnExpression(this.argument||Xe)}render(e,t){this.argument&&(this.argument.render(e,t,{preventASI:!0}),this.argument.start===this.start+6&&e.prependLeft(this.start+6," "))}},SequenceExpression:class extends be{deoptimizePath(e){this.expressions[this.expressions.length-1].deoptimizePath(e)}deoptimizeThisOnInteractionAtPath(e,t,n){this.expressions[this.expressions.length-1].deoptimizeThisOnInteractionAtPath(e,t,n)}getLiteralValueAtPath(e,t,n){return this.expressions[this.expressions.length-1].getLiteralValueAtPath(e,t,n)}hasEffects(e){for(const t of this.expressions)if(t.hasEffects(e))return!0;return!1}hasEffectsOnInteractionAtPath(e,t,n){return this.expressions[this.expressions.length-1].hasEffectsOnInteractionAtPath(e,t,n)}include(e,t){this.included=!0;const n=this.expressions[this.expressions.length-1];for(const r of this.expressions)(t||r===n&&!(this.parent instanceof to)||r.shouldBeIncluded(e))&&r.include(e,t)}render(e,t,{renderedParentType:n,isCalleeOfRenderedParent:r,preventASI:s}=Bt){let i=0,o=null;const c=this.expressions[this.expressions.length-1];for(const{node:u,separator:l,start:h,end:p}of Ik(this.expressions,e,this.start,this.end))if(u.included)if(i++,o=l,i===1&&s&&eo(e,h,u.start),i===1){const d=n||this.parent.type;u.render(e,t,{isCalleeOfRenderedParent:r&&u===c,renderedParentType:d,renderedSurroundingElement:d})}else u.render(e,t);else Sf(u,e,h,p);o&&e.remove(o,this.end)}},SpreadElement:xi,StaticBlock:class extends be{createScope(e){this.scope=new es(e)}hasEffects(e){for(const t of this.body)if(t.hasEffects(e))return!0;return!1}include(e,t){this.included=!0;for(const n of this.body)(t||n.shouldBeIncluded(e))&&n.include(e,t)}render(e,t){this.body.length>0?Si(this.body,e,this.start+1,this.end-1,t):super.render(e,t)}},Super:class extends be{bind(){this.variable=this.scope.findVariable("this")}deoptimizePath(e){this.variable.deoptimizePath(e)}deoptimizeThisOnInteractionAtPath(e,t,n){this.variable.deoptimizeThisOnInteractionAtPath(e,t,n)}
29include(){this.included||(this.included=!0,this.context.includeVariableInModule(this.variable))}},SwitchCase:Yk,SwitchStatement:class extends be{createScope(e){this.scope=new es(e)}hasEffects(e){if(this.discriminant.hasEffects(e))return!0;const{brokenFlow:t,ignore:n}=e,{breaks:r}=n;let s=1/0;n.breaks=!0;for(const i of this.cases){if(i.hasEffects(e))return!0;s=e.brokenFlow<s?e.brokenFlow:s,e.brokenFlow=t}return this.defaultCase!==null&&s!==1&&(e.brokenFlow=s),n.breaks=r,!1}include(e,t){this.included=!0,this.discriminant.include(e,t);const{brokenFlow:n}=e;let r=1/0,s=t||this.defaultCase!==null&&this.defaultCase<this.cases.length-1;for(let i=this.cases.length-1;i>=0;i--){const o=this.cases[i];if(o.included&&(s=!0),!s){const c=za();c.ignore.breaks=!0,s=o.hasEffects(c)}s?(o.include(e,t),r=r<e.brokenFlow?r:e.brokenFlow,e.brokenFlow=n):r=n}s&&this.defaultCase!==null&&r!==1&&(e.brokenFlow=r)}initialise(){for(let e=0;e<this.cases.length;e++)if(this.cases[e].test===null)return void(this.defaultCase=e);this.defaultCase=null}render(e,t){this.discriminant.render(e,t),this.cases.length>0&&Si(this.cases,e,this.cases[0].start,this.end-1,t)}},TaggedTemplateExpression:class extends Ok{bind(){if(super.bind(),this.tag.type===rk){const e=this.tag.name;this.scope.findVariable(e).isNamespace&&this.context.warn(WE(e),this.start)}}hasEffects(e){try{for(const t of this.quasi.expressions)if(t.hasEffects(e))return!0;return this.tag.hasEffects(e)||this.tag.hasEffectsOnInteractionAtPath(Me,this.interaction,e)}finally{this.deoptimized||this.applyDeoptimizations()}}include(e,t){this.deoptimized||this.applyDeoptimizations(),t?super.include(e,t):(this.included=!0,this.tag.include(e,t),this.quasi.include(e,t)),this.tag.includeCallArguments(e,this.interaction.args);const[n]=this.getReturnExpression();n.included||n.include(e,!1)}initialise(){this.interaction={args:[Xe,...this.quasi.expressions],thisArg:this.tag instanceof Ls&&!this.tag.variable?this.tag.object:null,type:2,withNew:!1}}render(e,t){this.tag.render(e,t,{isCalleeOfRenderedParent:!0}),this.quasi.render(e,t)}applyDeoptimizations(){this.deoptimized=!0,this.interaction.thisArg&&this.tag.deoptimizeThisOnInteractionAtPath(this.interaction,Me,$t);for(const e of this.quasi.expressions)e.deoptimizePath(et);this.context.requestTreeshakingPass()}getReturnExpression(e=$t){return this.returnExpression===null?(this.returnExpression=wt,this.returnExpression=this.tag.getReturnExpressionWhenCalledAtPath(Me,this.interaction,e,this)):this.returnExpression}},TemplateElement:class extends be{bind(){}hasEffects(){return!1}include(){this.included=!0}parseNode(e){this.value=e.value,super.parseNode(e)}render(){}},TemplateLiteral:Zk,ThisExpression:class extends be{bind(){this.variable=this.scope.findVariable("this")}deoptimizePath(e){this.variable.deoptimizePath(e)}deoptimizeThisOnInteractionAtPath(e,t,n){this.variable.deoptimizeThisOnInteractionAtPath(e.thisArg===this?{...e,thisArg:this.variable}:e,t,n)}hasEffectsOnInteractionAtPath(e,t,n){return e.length===0?t.type!==0:this.variable.hasEffectsOnInteractionAtPath(e,t,n)}include(){this.included||(this.included=!0,this.context.includeVariableInModule(this.variable))}initialise(){this.alias=this.scope.findLexicalBoundary()instanceof tS?this.context.moduleContext:null,this.alias==="undefined"&&this.context.warn({code:"THIS_IS_UNDEFINED",message:"The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten",url:Ft("troubleshooting/#error-this-is-undefined")},this.start)}render(e){this.alias!==null&&e.overwrite(this.start,this.end,this.alias,{contentOnly:!1,storeName:!0})}},ThrowStatement:class extends be{hasEffects(){return!0}include(e,t){this.included=!0,this.argument.include(e,t),e.brokenFlow=2}render(e,t){this.argument.render(e,t,{preventASI:!0}),this.argument.start===this.start+5&&e.prependLeft(this.start+5," ")}},TryStatement:class extends be{constructor(){super(...arguments),this.directlyIncluded=!1,this.includedLabelsAfterBlock=null}hasEffects(e){var t;return(this.context.options.treeshake.tryCatchDeoptimization?this.block.body.length>0:this.block.hasEffects(e))||!!((t=this.finalizer)!=null&&t.hasEffects(e))}include(e,t){var i,o;const n=(i=this.context.options.treeshake)==null?void 0:i.tryCatchDeoptimization,{brokenFlow:r,includedLabels:s}=e;
29if(this.directlyIncluded&&n){if(this.includedLabelsAfterBlock)for(const c of this.includedLabelsAfterBlock)s.add(c)}else this.included=!0,this.directlyIncluded=!0,this.block.include(e,n?ok:t),s.size>0&&(this.includedLabelsAfterBlock=[...s]),e.brokenFlow=r;this.handler!==null&&(this.handler.include(e,t),e.brokenFlow=r),(o=this.finalizer)==null||o.include(e,t)}},UnaryExpression:class extends be{getLiteralValueAtPath(e,t,n){if(e.length>0)return gt;const r=this.argument.getLiteralValueAtPath(Me,t,n);return typeof r=="symbol"?gt:zC[this.operator](r)}hasEffects(e){return this.deoptimized||this.applyDeoptimizations(),!(this.operator==="typeof"&&this.argument instanceof xt)&&(this.argument.hasEffects(e)||this.operator==="delete"&&this.argument.hasEffectsOnInteractionAtPath(Me,Kh,e))}hasEffectsOnInteractionAtPath(e,{type:t}){return t!==0||e.length>(this.operator==="void"?0:1)}applyDeoptimizations(){this.deoptimized=!0,this.operator==="delete"&&(this.argument.deoptimizePath(Me),this.context.requestTreeshakingPass())}},UnknownNode:class extends be{hasEffects(){return!0}include(e){super.include(e,!0)}},UpdateExpression:class extends be{hasEffects(e){return this.deoptimized||this.applyDeoptimizations(),this.argument.hasEffectsAsAssignmentTarget(e,!0)}hasEffectsOnInteractionAtPath(e,{type:t}){return e.length>1||t!==0}include(e,t){this.deoptimized||this.applyDeoptimizations(),this.included=!0,this.argument.includeAsAssignmentTarget(e,t,!0)}initialise(){this.argument.setAssignedValue(Xe)}render(e,t){const{exportNamesByVariable:n,format:r,snippets:{_:s}}=t;if(this.argument.render(e,t),r==="system"){const i=this.argument.variable,o=n.get(i);if(o)if(this.prefix)o.length===1?wf(i,this.start,this.end,e,t):Pk(i,this.start,this.end,this.parent.type!==mn,e,t);else{const c=this.operator[0];(function(u,l,h,p,d,_,k){const{_:g}=_.snippets;d.prependRight(l,`${ts([u],_,k)},${g}`),p&&(d.prependRight(l,"("),d.appendLeft(h,")"))})(i,this.start,this.end,this.parent.type!==mn,e,t,`${s}${c}${s}1`)}}}applyDeoptimizations(){this.deoptimized=!0,this.argument.deoptimizePath(Me),this.argument instanceof xt&&(this.scope.findVariable(this.argument.name).isReassigned=!0),this.context.requestTreeshakingPass()}},VariableDeclaration:rS,VariableDeclarator:class extends be{declareDeclarator(e){this.id.declare(e,this.init||Ns)}deoptimizePath(e){this.id.deoptimizePath(e)}hasEffects(e){var n;this.deoptimized||this.applyDeoptimizations();const t=(n=this.init)==null?void 0:n.hasEffects(e);return this.id.markDeclarationReached(),t||this.id.hasEffects(e)}include(e,t){const{deoptimized:n,id:r,init:s}=this;n||this.applyDeoptimizations(),this.included=!0,s==null||s.include(e,t),r.markDeclarationReached(),(t||r.shouldBeIncluded(e))&&r.include(e,t)}render(e,t){const{exportNamesByVariable:n,snippets:{_:r,getPropertyAccess:s}}=t,{end:i,id:o,init:c,start:u}=this,l=o.included;if(l)o.render(e,t);else{const h=Vt(e.original,"=",o.end);e.remove(u,gr(e.original,h+1))}c?(o instanceof xt&&c instanceof Cf&&!c.id&&o.variable.getName(s)!==o.name&&e.appendLeft(c.start+5,` ${o.name}`),c.render(e,t,l?Bt:{renderedSurroundingElement:mn})):o instanceof xt&&nS(o.variable,n)&&e.appendLeft(i,`${r}=${r}void 0`)}applyDeoptimizations(){this.deoptimized=!0;const{id:e,init:t}=this;if(t&&e instanceof xt&&t instanceof Cf&&!t.id){const{name:n,variable:r}=e;for(const s of t.scope.accessedOutsideVariables.values())s!==r&&s.forbidName(n)}}},WhileStatement:class extends be{hasEffects(e){if(this.test.hasEffects(e))return!0;const{brokenFlow:t,ignore:n}=e,{breaks:r,continues:s}=n;return n.breaks=!0,n.continues=!0,!!this.body.hasEffects(e)||(n.breaks=r,n.continues=s,e.brokenFlow=t,!1)}include(e,t){this.included=!0,this.test.include(e,t);const{brokenFlow:n}=e;this.body.include(e,t,{asSingleStatement:!0}),e.brokenFlow=n}},YieldExpression:class extends be{hasEffects(e){var t;return this.deoptimized||this.applyDeoptimizations(),!(e.ignore.returnYield&&!((t=this.argument)!=null&&t.hasEffects(e)))}render(e,t){this.argument&&(this.argument.render(e,t,{preventASI:!0}),this.argument.start===this.start+5&&e.prependLeft(this.start+5," "))}}},Ms="_missingExportShim";class UC extends Kr{constructor(t){super(Ms),this.module=t}include(){super.include(),this.module.needsExportShim=!0}}class Ri extends Kr{constructor(t){super(t.getModuleName()),this.memberVariables=null,this.mergedNamespaces=[],this.referencedEarly=!1,this.references=[],this.context=t,this.module=t.module}
29addReference(t){this.references.push(t),this.name=t.name}deoptimizePath(t){var n;if(t.length>1){const r=t[0];typeof r=="string"&&((n=this.getMemberVariables()[r])==null||n.deoptimizePath(t.slice(1)))}}deoptimizeThisOnInteractionAtPath(t,n,r){var s;if(n.length>1||n.length===1&&t.type===2){const i=n[0];typeof i=="string"?(s=this.getMemberVariables()[i])==null||s.deoptimizeThisOnInteractionAtPath(t,n.slice(1),r):t.thisArg.deoptimizePath(et)}}getLiteralValueAtPath(t){return t[0]===Uh?"Module":gt}getMemberVariables(){if(this.memberVariables)return this.memberVariables;const t=Object.create(null),n=[...this.context.getExports(),...this.context.getReexports()].sort();for(const r of n)if(r[0]!=="*"&&r!==this.module.info.syntheticNamedExports){const s=this.context.traceExport(r);s&&(t[r]=s)}return this.memberVariables=t}hasEffectsOnInteractionAtPath(t,n,r){const{type:s}=n;if(t.length===0)return!0;if(t.length===1&&s!==2)return s===1;const i=t[0];if(typeof i!="string")return!0;const o=this.getMemberVariables()[i];return!o||o.hasEffectsOnInteractionAtPath(t.slice(1),n,r)}include(){this.included=!0,this.context.includeAllExports()}prepare(t){this.mergedNamespaces.length>0&&this.module.scope.addAccessedGlobals([co],t)}renderBlock(t){const{exportNamesByVariable:n,format:r,freeze:s,indent:i,namespaceToStringTag:o,snippets:{_:c,cnst:u,getObject:l,getPropertyAccess:h,n:p,s:d}}=t,_=this.getMemberVariables(),k=Object.entries(_).map((([y,E])=>this.referencedEarly||E.isReassigned?[null,`get ${y}${c}()${c}{${c}return ${E.getName(h)}${d}${c}}`]:[y,E.getName(h)]));k.unshift([null,`__proto__:${c}null`]);let g=l(k,{lineBreakIndent:{base:"",t:i}});if(this.mergedNamespaces.length>0){const y=this.mergedNamespaces.map((E=>E.getName(h)));g=`/*#__PURE__*/${co}(${g},${c}[${y.join(`,${c}`)}])`}else o&&(g=`/*#__PURE__*/Object.defineProperty(${g},${c}Symbol.toStringTag,${c}${Pi(l)})`),s&&(g=`/*#__PURE__*/Object.freeze(${g})`);return g=`${u} ${this.getName(h)}${c}=${c}${g};`,r==="system"&&n.has(this)&&(g+=`${p}${ts([this],t)};`),g}renderFirst(){return this.referencedEarly}setMergedNamespaces(t){this.mergedNamespaces=t;const n=this.context.getModuleExecIndex();for(const r of this.references)if(r.context.getModuleExecIndex()<=n){this.referencedEarly=!0;break}}}Ri.prototype.isNamespace=!0;class rn extends Kr{constructor(t,n,r){super(n),this.baseVariable=null,this.context=t,this.module=t.module,this.syntheticNamespace=r}getBaseVariable(){if(this.baseVariable)return this.baseVariable;let t=this.syntheticNamespace;for(;t instanceof Vn||t instanceof rn;){if(t instanceof Vn){const n=t.getOriginalVariable();if(n===t)break;t=n}t instanceof rn&&(t=t.syntheticNamespace)}return this.baseVariable=t}getBaseVariableName(){return this.syntheticNamespace.getBaseVariableName()}getName(t){return`${this.syntheticNamespace.getName(t)}${t(this.name)}`}include(){this.included=!0,this.context.includeVariableInModule(this.syntheticNamespace)}setRenderNames(t,n){super.setRenderNames(t,n)}}var vr;function Gf(e){return e.id}(function(e){e[e.LOAD_AND_PARSE=0]="LOAD_AND_PARSE",e[e.ANALYSE=1]="ANALYSE",e[e.GENERATE=2]="GENERATE"})(vr||(vr={}));const Wf=e=>{const t=e.key;return t&&(t.name||t.value)};function fo(e,t){const n=Object.keys(e);return n.length!==Object.keys(t).length||n.some((r=>e[r]!==t[r]))}var iS="performance"in(typeof globalThis>"u"?typeof window>"u"?{}:window:globalThis)?performance:{now:()=>0},aS={memoryUsage:()=>({heapUsed:0})};const po=()=>{};let Ni=new Map;function oS(e,t){switch(t){case 1:return`# ${e}`;case 2:return`## ${e}`;case 3:return e;default:return`${"  ".repeat(t-4)}- ${e}`}}function GC(e,t=3){e=oS(e,t);const n=aS.memoryUsage().heapUsed,r=iS.now(),s=Ni.get(e);s===void 0?Ni.set(e,{memory:0,startMemory:n,startTime:r,time:0,totalMemory:0}):(s.startMemory=n,s.startTime=r)}function WC(e,t=3){e=oS(e,t);const n=Ni.get(e);if(n!==void 0){const r=aS.memoryUsage().heapUsed;n.memory+=r-n.startMemory,n.time+=iS.now()-n.startTime,n.totalMemory=Math.max(n.totalMemory,r)}}function HC(){const e={};for(const[t,{memory:n,time:r,totalMemory:s}]of Ni)e[t]=[r,n,s];return e}let Pt=po,Tt=po;const KC=["augmentChunkHash","buildEnd","buildStart","generateBundle","load","moduleParsed","options","outputOptions","renderChunk","renderDynamicImport","render
29Start","resolveDynamicImport","resolveFileUrl","resolveId","resolveImportMeta","shouldTransformCachedModule","transform","writeBundle"];function XC(e,t){for(const n of KC)if(n in e){let r=`plugin ${t}`;e.name&&(r+=` (${e.name})`),r+=` - ${n}`;const s=function(...o){Pt(r,4);const c=i.apply(this,o);return Tt(r,4),c};let i;typeof e[n].handler=="function"?(i=e[n].handler,e[n].handler=s):(i=e[n],e[n]=s)}return e}function mo(e){e.isExecuted=!0;const t=[e],n=new Set;for(const r of t)for(const s of[...r.dependencies,...r.implicitlyLoadedBefore])s instanceof vt||s.isExecuted||!s.info.moduleSideEffects&&!r.implicitlyLoadedBefore.has(s)||n.has(s.id)||(s.isExecuted=!0,n.add(s.id),t.push(s))}const cS={identifier:null,localName:Ms};function Hf(e,t,n,r,s=new Map){const i=s.get(t);if(i){if(i.has(e))return r?[null]:ve((o=t,{code:"CIRCULAR_REEXPORT",exporter:c=e.id,message:`"${o}" cannot be exported from "${je(c)}" as it is a reexport that references itself.`}));i.add(e)}else s.set(t,new Set([e]));var o,c;return e.getVariableForExportName(t,{importerForSideEffects:n,isExportAllSearch:r,searchedNamesAndModules:s})}class kt{constructor(t,n,r,s,i,o,c,u){this.graph=t,this.id=n,this.options=r,this.alternativeReexportModules=new Map,this.chunkFileNames=new Set,this.chunkNames=[],this.cycles=new Set,this.dependencies=new Set,this.dynamicDependencies=new Set,this.dynamicImporters=[],this.dynamicImports=[],this.execIndex=1/0,this.implicitlyLoadedAfter=new Set,this.implicitlyLoadedBefore=new Set,this.importDescriptions=new Map,this.importMetas=[],this.importedFromNotTreeshaken=!1,this.importers=[],this.includedDynamicImporters=[],this.includedImports=new Set,this.isExecuted=!1,this.isUserDefinedEntryPoint=!1,this.needsExportShim=!1,this.sideEffectDependenciesByVariable=new Map,this.sourcesWithAssertions=new Map,this.allExportNames=null,this.ast=null,this.exportAllModules=[],this.exportAllSources=new Set,this.exportNamesByVariable=null,this.exportShimVariable=new UC(this),this.exports=new Map,this.namespaceReexportsByName=new Map,this.reexportDescriptions=new Map,this.relevantDependencies=null,this.syntheticExports=new Map,this.syntheticNamespace=null,this.transformDependencies=[],this.transitiveReexports=null,this.excludeFromSourcemap=/\0/.test(n),this.context=r.moduleContext(n),this.preserveSignature=this.options.preserveEntrySignatures;const l=this,{dynamicImports:h,dynamicImporters:p,exportAllSources:d,exports:_,implicitlyLoadedAfter:k,implicitlyLoadedBefore:g,importers:y,reexportDescriptions:E,sourcesWithAssertions:I}=this;this.info={assertions:u,ast:null,code:null,get dynamicallyImportedIdResolutions(){return h.map((({argument:v})=>typeof v=="string"&&l.resolvedIds[v])).filter(Boolean)},get dynamicallyImportedIds(){return h.map((({id:v})=>v)).filter((v=>v!=null))},get dynamicImporters(){return p.sort()},get exportedBindings(){const v={".":[..._.keys()]};for(const[x,{source:b}]of E)(v[b]??(v[b]=[])).push(x);for(const x of d)(v[x]??(v[x]=[])).push("*");return v},get exports(){return[..._.keys(),...E.keys(),...[...d].map((()=>"*"))]},get hasDefaultExport(){return l.ast?l.exports.has("default")||E.has("default"):null},get hasModuleSideEffects(){return Xr("Accessing ModuleInfo.hasModuleSideEffects from plugins is deprecated. Please use ModuleInfo.moduleSideEffects instead.",LE,!0,r),this.moduleSideEffects},id:n,get implicitlyLoadedAfterOneOf(){return Array.from(k,Gf).sort()},get implicitlyLoadedBefore(){return Array.from(g,Gf).sort()},get importedIdResolutions(){return Array.from(I.keys(),(v=>l.resolvedIds[v])).filter(Boolean)},get importedIds(){return Array.from(I.keys(),(v=>{var x;return(x=l.resolvedIds[v])==null?void 0:x.id})).filter(Boolean)},get importers(){return y.sort()},isEntry:s,isExternal:!1,get isIncluded(){return t.phase!==vr.GENERATE?null:l.isIncluded()},meta:{...c},moduleSideEffects:i,syntheticNamedExports:o},Object.defineProperty(this.info,"hasModuleSideEffects",{enumerable:!1})}basename(){const t=sr(this.id),n=pr(this.id);return af(n?t.slice(0,-n.length):t)}bindReferences(){this.ast.bind()}error(t,n){return this.addLocationToLogProps(t,n),ve(t)}getAllExportNames(){if(this.allExportNames)return this.allExportNames;this.allExportNames=new Set([...this.exports.keys(),...this.reexportDescriptions.keys()]);for(const t of this.exportAllModules)if(t instanceof vt)this.allExportNames.add(`*${t.id}`);else for(const n of t.getAllExportNames())n!=="default"&&this.allExportNames.add(n);return typeof this.info.syntheticNamedExports=="string"&&this.allExportNames.delete(this.info.syntheticNamedExports),this.allExportNames}getDependenciesToBeIncluded(){if(this.relevantDependencies)return this.relevantDependencies;this.relevantDependencies=new Set;const t=new Set,n=new Set,r=new Set(this.includedImports);if(this.info.isEntry||this.includedDynamicImporters.length>
290||this.namespace.included||this.implicitlyLoadedAfter.size>0)for(const s of[...this.getReexports(),...this.getExports()]){const[i]=this.getVariableForExportName(s);i&&r.add(i)}for(let s of r){const i=this.sideEffectDependenciesByVariable.get(s);if(i)for(const o of i)n.add(o);s instanceof rn?s=s.getBaseVariable():s instanceof Vn&&(s=s.getOriginalVariable()),t.add(s.module)}if(this.options.treeshake&&this.info.moduleSideEffects!=="no-treeshake")this.addRelevantSideEffectDependencies(this.relevantDependencies,t,n);else for(const s of this.dependencies)this.relevantDependencies.add(s);for(const s of t)this.relevantDependencies.add(s);return this.relevantDependencies}getExportNamesByVariable(){if(this.exportNamesByVariable)return this.exportNamesByVariable;const t=new Map;for(const n of this.getAllExportNames()){let[r]=this.getVariableForExportName(n);if(r instanceof Vn&&(r=r.getOriginalVariable()),!r||!(r.included||r instanceof Ma))continue;const s=t.get(r);s?s.push(n):t.set(r,[n])}return this.exportNamesByVariable=t}getExports(){return[...this.exports.keys()]}getReexports(){if(this.transitiveReexports)return this.transitiveReexports;this.transitiveReexports=[];const t=new Set(this.reexportDescriptions.keys());for(const n of this.exportAllModules)if(n instanceof vt)t.add(`*${n.id}`);else for(const r of[...n.getReexports(),...n.getExports()])r!=="default"&&t.add(r);return this.transitiveReexports=[...t]}getRenderedExports(){const t=[],n=[];for(const r of this.exports.keys()){const[s]=this.getVariableForExportName(r);(s&&s.included?t:n).push(r)}return{removedExports:n,renderedExports:t}}getSyntheticNamespace(){return this.syntheticNamespace===null&&(this.syntheticNamespace=void 0,[this.syntheticNamespace]=this.getVariableForExportName(typeof this.info.syntheticNamedExports=="string"?this.info.syntheticNamedExports:"default",{onlyExplicit:!0})),this.syntheticNamespace?this.syntheticNamespace:ve((t=this.id,n=this.info.syntheticNamedExports,{code:"SYNTHETIC_NAMED_EXPORTS_NEED_NAMESPACE_EXPORT",exporter:t,message:`Module "${je(t)}" that is marked with \`syntheticNamedExports: ${JSON.stringify(n)}\` needs ${typeof n=="string"&&n!=="default"?`an explicit export named "${n}"`:"a default export"} that does not reexport an unresolved named export of the same module.`}));var t,n}getVariableForExportName(t,{importerForSideEffects:n,isExportAllSearch:r,onlyExplicit:s,searchedNamesAndModules:i}=tn){if(t[0]==="*")return t.length===1?[this.namespace]:this.graph.modulesById.get(t.slice(1)).getVariableForExportName("*");const o=this.reexportDescriptions.get(t);if(o){const[u]=Hf(o.module,o.localName,n,!1,i);return u?(n&&(uS(u,n,this),this.info.moduleSideEffects&&kn(n.sideEffectDependenciesByVariable,u,Hr).add(this)),[u]):this.error(ja(o.localName,this.id,o.module.id),o.start)}const c=this.exports.get(t);if(c){if(c===cS)return[this.exportShimVariable];const u=c.localName,l=this.traceVariable(u,{importerForSideEffects:n,searchedNamesAndModules:i});return n&&(uS(l,n,this),kn(n.sideEffectDependenciesByVariable,l,Hr).add(this)),[l]}if(s)return[null];if(t!=="default"){const u=this.namespaceReexportsByName.get(t)??this.getVariableFromNamespaceReexports(t,n,i);if(this.namespaceReexportsByName.set(t,u),u[0])return u}return this.info.syntheticNamedExports?[kn(this.syntheticExports,t,(()=>new rn(this.astContext,t,this.getSyntheticNamespace())))]:!r&&this.options.shimMissingExports?(this.shimMissingExport(t),[this.exportShimVariable]):[null]}hasEffects(){return this.info.moduleSideEffects==="no-treeshake"||this.ast.hasCachedEffects()}include(){const t=of();this.ast.shouldBeIncluded(t)&&this.ast.include(t,!1)}includeAllExports(t){this.isExecuted||(mo(this),this.graph.needsTreeshakingPass=!0);for(const n of this.exports.keys())if(t||n!==this.info.syntheticNamedExports){const r=this.getVariableForExportName(n)[0];r.deoptimizePath(et),r.included||this.includeVariable(r)}for(const n of this.getReexports()){const[r]=this.getVariableForExportName(n);r&&(r.deoptimizePath(et),r.included||this.includeVariable(r),r instanceof Ma&&(r.module.reexported=!0))}t&&this.namespace.setMergedNamespaces(this.includeAndGetAdditionalMergedNamespaces())}includeAllInBundle(){this.ast.include(of(),!0),this.includeAllExports(!1)}isIncluded(){return this.ast&&(this.ast.included||this.namespace.included||this.importedFromNotTreeshaken)}linkImports(){this.addModulesToImportDescriptions(this.importDescriptions),this.addModulesToImportDescriptions(this.reexportDescriptions);const t=[];for(const n of this.exportAllSources){const r=this.graph.modulesById.get(this.resolvedIds[n].id);r instanceof vt?t.push(r):this.exportAllModules.push(r)}this.exportAllModules.push(...t)}render(t){const n=this.magicString.clone();this.ast.render(n,t),n.trim();const{usesTopLevelAwait:r}
29=this.astContext;return r&&t.format!=="es"&&t.format!=="system"?ve((s=this.id,i=t.format,{code:"INVALID_TLA_FORMAT",id:s,message:`Module format "${i}" does not support top-level await. Use the "es" or "system" output formats rather.`})):{source:n,usesTopLevelAwait:r};var s,i}setSource({ast:t,code:n,customTransformCache:r,originalCode:s,originalSourcemap:i,resolvedIds:o,sourcemapChain:c,transformDependencies:u,transformFiles:l,...h}){Pt("generate ast",3),this.info.code=n,this.originalCode=s,this.originalSourcemap=i,this.sourcemapChain=c,l&&(this.transformFiles=l),this.transformDependencies=u,this.customTransformCache=r,this.updateOptions(h);const p=t??this.tryParse();Tt("generate ast",3),Pt("analyze ast",3),this.resolvedIds=o??Object.create(null);const d=this.id;this.magicString=new Gr(n,{filename:this.excludeFromSourcemap?null:d,indentExclusionRanges:[]}),this.astContext={addDynamicImport:this.addDynamicImport.bind(this),addExport:this.addExport.bind(this),addImport:this.addImport.bind(this),addImportMeta:this.addImportMeta.bind(this),code:n,deoptimizationTracker:this.graph.deoptimizationTracker,error:this.error.bind(this),fileName:d,getExports:this.getExports.bind(this),getModuleExecIndex:()=>this.execIndex,getModuleName:this.basename.bind(this),getNodeConstructor:_=>sS[_]||sS.UnknownNode,getReexports:this.getReexports.bind(this),importDescriptions:this.importDescriptions,includeAllExports:()=>this.includeAllExports(!0),includeDynamicImport:this.includeDynamicImport.bind(this),includeVariableInModule:this.includeVariableInModule.bind(this),magicString:this.magicString,manualPureFunctions:this.graph.pureFunctions,module:this,moduleContext:this.context,options:this.options,requestTreeshakingPass:()=>this.graph.needsTreeshakingPass=!0,traceExport:_=>this.getVariableForExportName(_)[0],traceVariable:this.traceVariable.bind(this),usesTopLevelAwait:!1,warn:this.warn.bind(this)},this.scope=new tS(this.graph.scope,this.astContext),this.namespace=new Ri(this.astContext),this.ast=new Jk(p,{context:this.astContext,type:"Module"},this.scope),t||this.options.cache!==!1?this.info.ast=p:Object.defineProperty(this.info,"ast",{get:()=>{if(this.graph.astLru.has(d))return this.graph.astLru.get(d);{const _=this.tryParse();return this.graph.astLru.set(d,_),_}}}),Tt("analyze ast",3)}toJSON(){return{assertions:this.info.assertions,ast:this.info.ast,code:this.info.code,customTransformCache:this.customTransformCache,dependencies:Array.from(this.dependencies,Gf),id:this.id,meta:this.info.meta,moduleSideEffects:this.info.moduleSideEffects,originalCode:this.originalCode,originalSourcemap:this.originalSourcemap,resolvedIds:this.resolvedIds,sourcemapChain:this.sourcemapChain,syntheticNamedExports:this.info.syntheticNamedExports,transformDependencies:this.transformDependencies,transformFiles:this.transformFiles}}traceVariable(t,{importerForSideEffects:n,isExportAllSearch:r,searchedNamesAndModules:s}=tn){const i=this.scope.variables.get(t);if(i)return i;const o=this.importDescriptions.get(t);if(o){const c=o.module;if(c instanceof kt&&o.name==="*")return c.namespace;const[u]=Hf(c,o.name,n||this,r,s);return u||this.error(ja(o.name,this.id,c.id),o.start)}return null}updateOptions({meta:t,moduleSideEffects:n,syntheticNamedExports:r}){n!=null&&(this.info.moduleSideEffects=n),r!=null&&(this.info.syntheticNamedExports=r),t!=null&&Object.assign(this.info.meta,t)}warn(t,n){this.addLocationToLogProps(t,n),this.options.onwarn(t)}addDynamicImport(t){let n=t.source;n instanceof Zk?n.quasis.length===1&&n.quasis[0].value.cooked&&(n=n.quasis[0].value.cooked):n instanceof ns&&typeof n.value=="string"&&(n=n.value),this.dynamicImports.push({argument:n,id:null,node:t,resolution:null})}addExport(t){if(t instanceof io)this.exports.set("default",{identifier:t.variable.getAssignedVariableName(),localName:"default"});else if(t instanceof Rf){const n=t.source.value;if(this.addSource(n,t),t.exported){const r=t.exported.name;this.reexportDescriptions.set(r,{localName:"*",module:null,source:n,start:t.start})}else this.exportAllSources.add(n)}else if(t.source instanceof ns){const n=t.source.value;this.addSource(n,t);for(const{exported:r,local:s,start:i}of t.specifiers){const o=r instanceof ns?r.value:r.name;this.reexportDescriptions.set(o,{localName:s instanceof ns?s.value:s.name,module:null,source:n,start:i})}}else if(t.declaration){const n=t.declaration;if(n instanceof rS)for(const r of n.declarations)for(const s of vC(r.id))this.exports.set(s,{identifier:null,localName:s});else{const r=n.id.name;this.exports.set(r,{identifier:null,localName:r})}}else for(const{local:n,exported:r}of t.specifiers){const s=n.name,i=r instanceof xt?r.name:r.value;this.exports.set(i,{identifier:null,localName:s})}}addImport(t){const n=t.source.value;this.addSource(n,t);for(const r of t.specifiers){const s=r instanceof jk?"default":r instanceof Kk?"*":r.imported instanceof xt?r.imported.name:r.imported.value;this.importDescriptions.set(r.local.name,{module:null,name:s,source:n,start:r.start})}}addImportMeta(t){this.importMetas.push(t)}addLocationToLogProps(t,n){t.id=this.id,t.pos=n;let r=this.info.code;const s=Qh(r,n,{offsetLine:1});if(s){let{column:i,line:o}=s;try{({column:i,line:o}=Qk(this.sourcemapChain,{column:i,line:o})),r=this.originalCode}catch(c){this.options.onwarn((function(u,l,h,p,d){return{cause:u,code:"SOURCEMAP_ERROR",i
29d:l,loc:{column:h,file:l,line:p},message:`Error when using sourcemap for reporting an error: ${u.message}`,pos:d}})(c,this.id,i,o,n))}Fa(t,{column:i,line:o},r,this.id)}}addModulesToImportDescriptions(t){for(const n of t.values()){const{id:r}=this.resolvedIds[n.source];n.module=this.graph.modulesById.get(r)}}addRelevantSideEffectDependencies(t,n,r){const s=new Set,i=o=>{for(const c of o)s.has(c)||(s.add(c),n.has(c)?t.add(c):(c.info.moduleSideEffects||r.has(c))&&(c instanceof vt||c.hasEffects()?t.add(c):i(c.dependencies)))};i(this.dependencies),i(r)}addSource(t,n){var o;const r=(o=s=n.assertions)!=null&&o.length?Object.fromEntries(s.map((c=>[Wf(c),c.value.value]))):tn;var s;const i=this.sourcesWithAssertions.get(t);i?fo(i,r)&&this.warn(qa(i,r,t,this.id),n.start):this.sourcesWithAssertions.set(t,r)}getVariableFromNamespaceReexports(t,n,r){let s=null;const i=new Map,o=new Set;for(const h of this.exportAllModules){if(h.info.syntheticNamedExports===t)continue;const[p,d]=Hf(h,t,n,!0,QC(r));h instanceof vt||d?o.add(p):p instanceof rn?s||(s=p):p&&i.set(p,h)}if(i.size>0){const h=[...i],p=h[0][0];return h.length===1?[p]:(this.options.onwarn((c=t,u=this.id,l=h.map((([,d])=>d.id)),{binding:c,code:"NAMESPACE_CONFLICT",ids:l,message:`Conflicting namespaces: "${je(u)}" re-exports "${c}" from one of the modules ${ir(l.map((d=>je(d))))} (will be ignored).`,reexporter:u})),[null])}var c,u,l;if(o.size>0){const h=[...o],p=h[0];return h.length>1&&this.options.onwarn((function(d,_,k,g){return{binding:d,code:"AMBIGUOUS_EXTERNAL_NAMESPACES",ids:g,message:`Ambiguous external namespace resolution: "${je(_)}" re-exports "${d}" from one of the external modules ${ir(g.map((y=>je(y))))}, guessing "${je(k)}".`,reexporter:_}})(t,this.id,p.module.id,h.map((d=>d.module.id)))),[p,!0]}return s?[s]:[null]}includeAndGetAdditionalMergedNamespaces(){const t=new Set,n=new Set;for(const r of[this,...this.exportAllModules])if(r instanceof vt){const[s]=r.getVariableForExportName("*");s.include(),this.includedImports.add(s),t.add(s)}else if(r.info.syntheticNamedExports){const s=r.getSyntheticNamespace();s.include(),this.includedImports.add(s),n.add(s)}return[...n,...t]}includeDynamicImport(t){const n=this.dynamicImports.find((r=>r.node===t)).resolution;n instanceof kt&&(n.includedDynamicImporters.push(this),n.includeAllExports(!0))}includeVariable(t){if(!t.included){t.include(),this.graph.needsTreeshakingPass=!0;const n=t.module;if(n instanceof kt&&(n.isExecuted||mo(n),n!==this)){const r=(function(s,i){const o=kn(i.sideEffectDependenciesByVariable,s,Hr);let c=s;const u=new Set([c]);for(;;){const l=c.module;if(c=c instanceof Vn?c.getDirectOriginalVariable():c instanceof rn?c.syntheticNamespace:null,!c||u.has(c))break;u.add(c),o.add(l);const h=l.sideEffectDependenciesByVariable.get(c);if(h)for(const p of h)o.add(p)}return o})(t,this);for(const s of r)s.isExecuted||mo(s)}}}includeVariableInModule(t){this.includeVariable(t);const n=t.module;n&&n!==this&&this.includedImports.add(t)}shimMissingExport(t){var n,r;this.options.onwarn((n=this.id,{binding:r=t,code:"SHIMMED_EXPORT",exporter:n,message:`Missing export "${r}" has been shimmed in module "${je(n)}".`})),this.exports.set(t,cS)}tryParse(){try{return this.graph.contextParse(this.info.code)}catch(t){return this.error((function(n,r){let s=n.message.replace(/ \(\d+:\d+\)$/,"");return r.endsWith(".json")?s+=" (Note that you need @rollup/plugin-json to import JSON files)":r.endsWith(".js")||(s+=" (Note that you need plugins to import files that are not JavaScript)"),{cause:n,code:"PARSE_ERROR",id:r,message:s}})(t,this.id),t.pos)}}}function uS(e,t,n){if(e.module instanceof kt&&e.module!==n){const r=e.module.cycles;if(r.size>0){const s=n.cycles;for(const i of s)if(r.has(i)){t.alternativeReexportModules.set(e,n);break}}}}const QC=e=>e&&new Map(Array.from(e,(([t,n])=>[t,new Set(n)])));function lS(e){return e.endsWith(".js")?e.slice(0,-3):e}function hS(e,t){return e.autoId?`${e.basePath?e.basePath+"/":""}${lS(t)}`:e.id??""}function go(e,t,n,r,s,i,o,c="return "){const{_:u,getDirectReturnFunction:l,getFunctionIntro:h,getPropertyAccess:p,n:d,s:_}=s;if(!n)return`${d}${d}${c}${(function(g,y,E,I,v){if(g.length>0)return g[0].local;for(const{defaultVariableName:x,importPath:b,isChunk:A,name:P,namedExportsMode:F,namespaceVariableName:N,reexports:z}of y)if(z)return fS(P,z[0].imported,F,A,x,N,E,b,I,v)})(e,t,r,o,p)};`;let k="";for(const{defaultVariableName:g,importPath:y,isChunk:E,name:I,namedExportsMode:v,namespaceVariableName:x,reexports:b}of t)if(b&&n){for(const A of b)if(A.reexported!=="*"){const P=fS(I,A.imported,v,E,g,x,r,y,o,p);if(k&&(k+=d),A.imported!=="*"&&A.needsLiveBinding){const[F,N]=l([],{functionReturn:!0,lineBreakIndent:null,name:null});k+=`Object.defineProperty(exports,${u}'${A.reexported}',${u}{${d}${i}enumerable:${u}true,${d}${i}get:${u}${F}${P}${N}${d}});`}else k+=`exports${p(A.reexported)}${u}=${u}${P};`}}for(const{exported:g,local:y}of e){const E=`exports${p(g)}`;E!==y&&(k&&(k+=d),k+=`${E}${u}=${u}${y};`)}for(const{name:g,reexports:y}of t)if(y&&n){for(const E of y)if(E.reexported==="*"){k&&(k+=d);const I=`{${d}${i}if${u}(k${u}!==${u}'default'${u}&&${u}!exports.hasOwnProperty(k))${u}${JC(g,E.needsLiveBinding,i,s)}${_}${d}}`;k+=`Object.keys(${g}
29).forEach(${h(["k"],{isAsync:!1,name:null})}${I});`}}return k?`${d}${d}${k}`:""}function fS(e,t,n,r,s,i,o,c,u,l){if(t==="default"){if(!r){const h=o(c),p=uo[h]?s:e;return lo(h,u)?`${p}${l("default")}`:p}return n?`${e}${l("default")}`:e}return t==="*"?(r?!n:Ai[o(c)])?i:e:`${e}${l(t)}`}function pS(e){return e([["value","true"]],{lineBreakIndent:null})}function vo(e,t,n,{_:r,getObject:s}){if(e){if(t)return n?`Object.defineProperties(exports,${r}${s([["__esModule",pS(s)],[null,`[Symbol.toStringTag]:${r}${Pi(s)}`]],{lineBreakIndent:null})});`:`Object.defineProperty(exports,${r}'__esModule',${r}${pS(s)});`;if(n)return`Object.defineProperty(exports,${r}Symbol.toStringTag,${r}${Pi(s)});`}return""}const JC=(e,t,n,{_:r,getDirectReturnFunction:s,n:i})=>{if(t){const[o,c]=s([],{functionReturn:!0,lineBreakIndent:null,name:null});return`Object.defineProperty(exports,${r}k,${r}{${i}${n}${n}enumerable:${r}true,${i}${n}${n}get:${r}${o}${e}[k]${c}${i}${n}})`}return`exports[k]${r}=${r}${e}[k]`};function yo(e,t,n,r,s,i,o,c){const{_:u,cnst:l,n:h}=c,p=new Set,d=[],_=(k,g,y)=>{p.add(g),d.push(`${l} ${k}${u}=${u}/*#__PURE__*/${g}(${y});`)};for(const{defaultVariableName:k,imports:g,importPath:y,isChunk:E,name:I,namedExportsMode:v,namespaceVariableName:x,reexports:b}of e)if(E){for(const{imported:A,reexported:P}of[...g||[],...b||[]])if(A==="*"&&P!=="*"){v||_(x,wi,I);break}}else{const A=t(y);let P=!1,F=!1;for(const{imported:N,reexported:z}of[...g||[],...b||[]]){let B,R;N==="default"?P||(P=!0,k!==x&&(R=k,B=uo[A])):N!=="*"||z==="*"||F||(F=!0,B=Ai[A],R=x),B&&_(R,B,I)}}return`${Df(p,i,o,c,n,r,s)}${d.length>0?`${d.join(h)}${h}${h}`:""}`}function dS(e,t){return e[0]!=="."?e:t?(n=e).endsWith(".js")?n:n+".js":lS(e);var n}var Kf={},YC=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","domain","events","fs","http","http2","https","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib"];({get exports(){return Kf},set exports(e){Kf=e}}).exports=YC;const ZC=new Set([...YT(Kf),"assert/strict","dns/promises","fs/promises","path/posix","path/win32","readline/promises","stream/consumers","stream/promises","stream/web","timers/promises","util/types"]);function Xf(e,t){const n=t.map((({importPath:r})=>r)).filter((r=>ZC.has(r)||r.startsWith("node:")));n.length!==0&&e((function(r){return{code:"MISSING_NODE_BUILTINS",ids:r,message:`Creating a browser bundle that depends on Node.js built-in modules (${ir(r)}). You might need to include https://github.com/FredKSchott/rollup-plugin-polyfill-node`}})(n))}const _o=(e,t)=>e.split(".").map(t).join("");function Qf(e,t,n,r,{_:s,getPropertyAccess:i}){const o=e.split(".");o[0]=(typeof n=="function"?n(o[0]):n[o[0]])||o[0];const c=o.pop();let u=t,l=[...o.map((h=>(u+=i(h),`${u}${s}=${s}${u}${s}||${s}{}`))),`${u}${i(c)}`].join(`,${s}`)+`${s}=${s}${r}`;return o.length>0&&(l=`(${l})`),l}function mS(e){let t=e.length;for(;t--;){const{imports:n,reexports:r}=e[t];if(n||r)return e.slice(0,t+1)}return[]}const eR=({dependencies:e,exports:t})=>{const n=new Set(t.map((r=>r.exported)));n.add("default");for(const{reexports:r}of e)if(r)for(const s of r)s.reexported!=="*"&&n.add(s.reexported);return n},tR=(e,t,{_:n,cnst:r,getObject:s,n:i})=>e?`${i}${t}${r} _starExcludes${n}=${n}${s([...e].map((o=>[o,"1"])),{lineBreakIndent:{base:t,t}})};`:"",nR=(e,t,{_:n,n:r})=>e.length>0?`${r}${t}var ${e.join(`,${n}`)};`:"",rR=(e,t,n)=>Jf(e.filter((r=>r.hoisted)).map((r=>({name:r.exported,value:r.local}))),t,n);function Jf(e,t,{_:n,n:r}){return e.length===0?"":e.length===1?`exports('${e[0].name}',${n}${e[0].value});${r}${r}`:`exports({${r}`+e.map((({name:s,value:i})=>`${t}${s}:${n}${i}`)).join(`,${r}`)+`${r}});${r}${r}`}const sR=(e,t,n)=>Jf(e.filter((r=>r.expression)).map((r=>({name:r.exported,value:r.local}))),t,n),iR=(e,t,n)=>Jf(e.filter((r=>r.local===Ms)).map((r=>({name:r.exported,value:Ms}))),t,n);function Yf(e,t,n){return e?`${t}${_o(e,n)}`:"null"}var aR={amd:function(e,{accessedGlobals:t,dependencies:n,exports:r,hasDefaultExport:s,hasExports:i,id:o,indent:c,intro:u,isEntryFacade:l,isModuleFacade:h,namedExportsMode:p,outro:d,snippets:_,onwarn:k},{amd:g,esModule:y,externalLiveBindings:E,freeze:I,interop:v,namespaceToStringTag:x,strict:b}){Xf(k,n);const A=n.map((J=>`'${dS(J.importPath,g.forceJsExtensionForImports)}'`)),P=n.map((J=>J.name)),{n:F,getNonArrowFunctionIntro:N,_:z}=_;p&&i&&(P.unshift("exports"),A.unshift("'exports'")),t.has("require")&&(P.unshift("require"),A.unshift("'require'")),t.has("module")&&(P.unshift("module"),A.unshift("'module'"));const B=hS(g,o),R=(B?`'${B}',${z}`:"")+(A.length>0?`[${A.join(`,${z}`)}],${z}`:""),C=b?`${z}'use strict';`:"";e.prepend(`${u}${yo(n,v,E,I,x,t,c,_)}`);const D=go(r,n,p,v,_,c,E);let W=vo(p&&i,l&&(y===!0||y==="if-default-prop"&&s),h&&x,_);W&&(W=F+F+W),e.append(`${D}${W}${d}`).indent(c).prepend(`${g.define}(${R}(${N(P,{isAsync:!1,name:null})}{${C}${F}${F}`).append(`${F}${F}}));`)}
29,cjs:function(e,{accessedGlobals:t,dependencies:n,exports:r,hasDefaultExport:s,hasExports:i,indent:o,intro:c,isEntryFacade:u,isModuleFacade:l,namedExportsMode:h,outro:p,snippets:d},{compact:_,esModule:k,externalLiveBindings:g,freeze:y,interop:E,namespaceToStringTag:I,strict:v}){const{_:x,n:b}=d,A=v?`'use strict';${b}${b}`:"";let P=vo(h&&i,u&&(k===!0||k==="if-default-prop"&&s),l&&I,d);P&&(P+=b+b);const F=(function(B,{_:R,cnst:C,n:D},W){let J="",j=!1;for(const{importPath:$,name:M,reexports:X,imports:U}of B)X||U?(J+=W&&j?",":`${J?`;${D}`:""}${C} `,j=!0,J+=`${M}${R}=${R}require('${$}')`):(J&&(J+=W&&!j?",":`;${D}`),j=!1,J+=`require('${$}')`);return J?`${J};${D}${D}`:""})(n,d,_),N=yo(n,E,g,y,I,t,o,d);e.prepend(`${A}${c}${P}${F}${N}`);const z=go(r,n,h,E,d,o,g,`module.exports${x}=${x}`);e.append(`${z}${p}`)},es:function(e,{accessedGlobals:t,indent:n,intro:r,outro:s,dependencies:i,exports:o,snippets:c},{externalLiveBindings:u,freeze:l,namespaceToStringTag:h}){const{n:p}=c,d=(function(k,{_:g}){const y=[];for(const{importPath:E,reexports:I,imports:v,name:x,assertions:b}of k){const A=`'${E}'${b?`${g}assert${g}${b}`:""};`;if(I||v){if(v){let P=null,F=null;const N=[];for(const z of v)z.imported==="default"?P=z:z.imported==="*"?F=z:N.push(z);F&&y.push(`import${g}*${g}as ${F.local} from${g}${A}`),P&&N.length===0?y.push(`import ${P.local} from${g}${A}`):N.length>0&&y.push(`import ${P?`${P.local},${g}`:""}{${g}${N.map((z=>z.imported===z.local?z.imported:`${z.imported} as ${z.local}`)).join(`,${g}`)}${g}}${g}from${g}${A}`)}if(I){let P=null;const F=[],N=[];for(const z of I)z.reexported==="*"?P=z:z.imported==="*"?F.push(z):N.push(z);if(P&&y.push(`export${g}*${g}from${g}${A}`),F.length>0){v&&v.some((z=>z.imported==="*"&&z.local===x))||y.push(`import${g}*${g}as ${x} from${g}${A}`);for(const z of F)y.push(`export${g}{${g}${x===z.reexported?x:`${x} as ${z.reexported}`} };`)}N.length>0&&y.push(`export${g}{${g}${N.map((z=>z.imported===z.reexported?z.imported:`${z.imported} as ${z.reexported}`)).join(`,${g}`)}${g}}${g}from${g}${A}`)}}else y.push(`import${g}${A}`)}return y})(i,c);d.length>0&&(r+=d.join(p)+p+p),(r+=Df(null,t,n,c,u,l,h))&&e.prepend(r);const _=(function(k,{_:g,cnst:y}){const E=[],I=[];for(const v of k)v.expression&&E.push(`${y} ${v.local}${g}=${g}${v.expression};`),I.push(v.exported===v.local?v.local:`${v.local} as ${v.exported}`);return I.length>0&&E.push(`export${g}{${g}${I.join(`,${g}`)}${g}};`),E})(o,c);_.length>0&&e.append(p+p+_.join(p).trim()),s&&e.append(s),e.trim()},iife:function(e,{accessedGlobals:t,dependencies:n,exports:r,hasDefaultExport:s,hasExports:i,indent:o,intro:c,namedExportsMode:u,outro:l,snippets:h,onwarn:p},{compact:d,esModule:_,extend:k,freeze:g,externalLiveBindings:y,globals:E,interop:I,name:v,namespaceToStringTag:x,strict:b}){const{_:A,getNonArrowFunctionIntro:P,getPropertyAccess:F,n:N}=h,z=v&&v.includes("."),B=!k&&!z;if(v&&B&&(YE(R=v)||JE.test(R)))return ve((function(H){return{code:"ILLEGAL_IDENTIFIER_AS_NAME",message:`Given name "${H}" is not a legal JS identifier. If you need this, you can try "output.extend: true".`,url:Ft("configuration-options/#output-extend")}})(v));var R;Xf(p,n);const C=mS(n),D=C.map((H=>H.globalName||"null")),W=C.map((H=>H.name));i&&!v&&p({code:jE,message:'If you do not supply "output.name", you may not be able to access the exports of an IIFE bundle.',url:Ft(DE)}),u&&i&&(k?(D.unshift(`this${_o(v,F)}${A}=${A}this${_o(v,F)}${A}||${A}{}`),W.unshift("exports")):(D.unshift("{}"),W.unshift("exports")));const J=b?`${o}'use strict';${N}`:"",j=yo(n,I,y,g,x,t,o,h);e.prepend(`${c}${j}`);let $=`(${P(W,{isAsync:!1,name:null})}{${N}${J}${N}`;i&&(!v||k&&u||($=(B?`var ${v}`:`this${_o(v,F)}`)+`${A}=${A}${$}`),z&&($=(function(H,ae,te,{_:q,getPropertyAccess:K,s:L},O){const V=H.split(".");V[0]=(typeof te=="function"?te(V[0]):te[V[0]])||V[0],V.pop();let Q=ae;return V.map((Z=>(Q+=K(Z),`${Q}${q}=${q}${Q}${q}||${q}{}${L}`))).join(O?",":`
30`)+(O&&V.length>0?";":`
31`)})(v,"this",E,h,d)+$));let M=`${N}${N}})(${D.join(`,${A}`)});`;i&&!k&&u&&(M=`${N}${N}${o}return exports;${M}`);const X=go(r,n,u,I,h,o,y);let U=vo(u&&i,_===!0||_==="if-default-prop"&&s,x,h);U&&(U=N+N+U),e.append(`${X}${U}${l}`).indent(o).prepend($).append(M)},system:function(e,{accessedGlobals:t,dependencies:n,exports:r,hasExports:s,indent:i,intro:o,snippets:c,outro:u,usesTopLevelAwait:l},{externalLiveBindings:h,freeze:p,name:d,namespaceToStringTag:_,strict:k,systemNullSetters:g}){const{_:y,getFunctionIntro:E,getNonArrowFunctionIntro:I,n:v,s:x}=c,{importBindings:b,setters:A,starExcludes:P}=(function(R,C,D,{_:W,cnst:J,getObject:j,getPropertyAccess:$,n:M}){const X=[],U=[];let H=null;for(const{imports:ae,reexports:te}of R){const q=[];if(ae)for(const K of ae)X.push(K.local),K.imported==="*"?q.push(`${K.local}${W}=${W}module;`):q.push(`${K.local}${W}=${W}module${$(K.imported)};`);if(te){const K=[];let L=!1;for(const{imported:O,reexported:V}of te)V==="*"?L=!0:K.push([V,O==="*"?"module":`module${$(O)}`]);if(K.length>1||L){const O=j(K,{lineBreakIndent:null});
31L?(H||(H=eR({dependencies:R,exports:C})),q.push(`${J} setter${W}=${W}${O};`,`for${W}(${J} name in module)${W}{`,`${D}if${W}(!_starExcludes[name])${W}setter[name]${W}=${W}module[name];`,"}","exports(setter);")):q.push(`exports(${O});`)}else{const[O,V]=K[0];q.push(`exports('${O}',${W}${V});`)}}U.push(q.join(`${M}${D}${D}${D}`))}return{importBindings:X,setters:U,starExcludes:H}})(n,r,i,c),F=d?`'${d}',${y}`:"",N=t.has("module")?["exports","module"]:s?["exports"]:[];let z=`System.register(${F}[`+n.map((({importPath:R})=>`'${R}'`)).join(`,${y}`)+`],${y}(${I(N,{isAsync:!1,name:null})}{${v}${i}${k?"'use strict';":""}`+tR(P,i,c)+nR(b,i,c)+`${v}${i}return${y}{${A.length>0?`${v}${i}${i}setters:${y}[${A.map((R=>R?`${E(["module"],{isAsync:!1,name:null})}{${v}${i}${i}${i}${R}${v}${i}${i}}`:g?"null":`${E([],{isAsync:!1,name:null})}{}`)).join(`,${y}`)}],`:""}${v}`;z+=`${i}${i}execute:${y}(${I([],{isAsync:l,name:null})}{${v}${v}`;const B=`${i}${i}})${v}${i}}${x}${v}}));`;e.prepend(o+Df(null,t,i,c,h,p,_)+rR(r,i,c)).append(`${u}${v}${v}`+sR(r,i,c)+iR(r,i,c)).indent(`${i}${i}${i}`).append(B).prepend(z)},umd:function(e,{accessedGlobals:t,dependencies:n,exports:r,hasDefaultExport:s,hasExports:i,id:o,indent:c,intro:u,namedExportsMode:l,outro:h,snippets:p,onwarn:d},{amd:_,compact:k,esModule:g,extend:y,externalLiveBindings:E,freeze:I,interop:v,name:x,namespaceToStringTag:b,globals:A,noConflict:P,strict:F}){const{_:N,cnst:z,getFunctionIntro:B,getNonArrowFunctionIntro:R,getPropertyAccess:C,n:D,s:W}=p,J=k?"f":"factory",j=k?"g":"global";if(i&&!x)return ve({code:jE,message:'You must supply "output.name" for UMD bundles that have exports so that the exports are accessible in environments without a module loader.',url:Ft(DE)});Xf(d,n);const $=n.map((se=>`'${dS(se.importPath,_.forceJsExtensionForImports)}'`)),M=n.map((se=>`require('${se.importPath}')`)),X=mS(n),U=X.map((se=>Yf(se.globalName,j,C))),H=X.map((se=>se.name));l&&(i||P)&&($.unshift("'exports'"),M.unshift("exports"),U.unshift(Qf(x,j,A,(y?`${Yf(x,j,C)}${N}||${N}`:"")+"{}",p)),H.unshift("exports"));const ae=hS(_,o),te=(ae?`'${ae}',${N}`:"")+($.length>0?`[${$.join(`,${N}`)}],${N}`:""),q=_.define,K=!l&&i?`module.exports${N}=${N}`:"",L=F?`${N}'use strict';${D}`:"";let O;if(P){const se=k?"e":"exports";let ue;!l&&i?ue=`${z} ${se}${N}=${N}${Qf(x,j,A,`${J}(${U.join(`,${N}`)})`,p)};`:ue=`${z} ${se}${N}=${N}${U.shift()};${D}${c}${c}${J}(${[se,...U].join(`,${N}`)});`,O=`(${B([],{isAsync:!1,name:null})}{${D}${c}${c}${z} current${N}=${N}${(function(_e,Ue,{_:xe,getPropertyAccess:le}){let ge=Ue;return _e.split(".").map((Ae=>ge+=le(Ae))).join(`${xe}&&${xe}`)})(x,j,p)};${D}${c}${c}${ue}${D}${c}${c}${se}.noConflict${N}=${N}${B([],{isAsync:!1,name:null})}{${N}${Yf(x,j,C)}${N}=${N}current;${N}return ${se}${W}${N}};${D}${c}})()`}else O=`${J}(${U.join(`,${N}`)})`,!l&&i&&(O=Qf(x,j,A,O,p));const V=i||P&&l||U.length>0,Q=[J];V&&Q.unshift(j);const Z=V?`this,${N}`:"",re=V?`(${j}${N}=${N}typeof globalThis${N}!==${N}'undefined'${N}?${N}globalThis${N}:${N}${j}${N}||${N}self,${N}`:"",oe=V?")":"",me=V?`${c}typeof exports${N}===${N}'object'${N}&&${N}typeof module${N}!==${N}'undefined'${N}?${N}${K}${J}(${M.join(`,${N}`)})${N}:${D}`:"",ye=`(${R(Q,{isAsync:!1,name:null})}{${D}`+me+`${c}typeof ${q}${N}===${N}'function'${N}&&${N}${q}.amd${N}?${N}${q}(${te}${J})${N}:${D}${c}${re}${O}${oe};${D}})(${Z}(${R(H,{isAsync:!1,name:null})}{${L}${D}`,Se=D+D+"}));";e.prepend(`${u}${yo(n,v,E,I,b,t,c,p)}`);const we=go(r,n,l,v,p,c,E);let Ce=vo(l&&i,g===!0||g==="if-default-prop"&&s,b,p);Ce&&(Ce=D+D+Ce),e.append(`${we}${Ce}${h}`).trim().indent(c).append(Se).prepend(ye)}};const gS=(e,t)=>t?`${e}
32${t}`:e,vS=(e,t)=>t?`${e}
33
34${t}`:e,oR={amd:xo,cjs:xo,es:yS,iife:xo,system:yS,umd:xo};function cR(e,t,n,r,s,i,o,c,u,l,h,p,d,_){const k=[...e].reverse();for(const g of k)g.scope.addUsedOutsideNames(r,s,p,d);(function(g,y,E){for(const I of y){for(const v of I.scope.variables.values())v.included&&!(v.renderBaseName||v instanceof Vn&&v.getOriginalVariable()!==v)&&v.setRenderNames(null,jn(v.name,g,v.forbiddenNames));if(E.has(I)){const v=I.namespace;v.setRenderNames(null,jn(v.name,g,v.forbiddenNames))}}}
34)(r,k,_),oR[s](r,n,t,i,o,c,u,l,h);for(const g of k)g.scope.deconflict(s,p,d)}function yS(e,t,n,r,s,i,o,c,u){for(const l of n.dependencies)(s||l instanceof Ts)&&(l.variableName=jn(l.suggestedVariableName,e,null));for(const l of t){const h=l.module,p=l.name;l.isNamespace&&(s||h instanceof vt)?l.setRenderNames(null,(h instanceof vt?c.get(h):o.get(h)).variableName):h instanceof vt&&p==="default"?l.setRenderNames(null,jn([...h.exportedVariables].some((([d,_])=>_==="*"&&d.included))?h.suggestedVariableName+"__default":h.suggestedVariableName,e,l.forbiddenNames)):l.setRenderNames(null,jn(p,e,l.forbiddenNames))}for(const l of u)l.setRenderNames(null,jn(l.name,e,l.forbiddenNames))}function xo(e,t,{deconflictedDefault:n,deconflictedNamespace:r,dependencies:s},i,o,c,u,l){for(const h of s)h.variableName=jn(h.suggestedVariableName,e,null);for(const h of r)h.namespaceVariableName=jn(`${h.suggestedVariableName}__namespace`,e,null);for(const h of n)h.defaultVariableName=r.has(h)&&$C(i(h.id),c)?h.namespaceVariableName:jn(`${h.suggestedVariableName}__default`,e,null);for(const h of t){const p=h.module;if(p instanceof vt){const d=l.get(p),_=h.name;if(_==="default"){const k=i(p.id),g=uo[k]?d.defaultVariableName:d.variableName;lo(k,c)?h.setRenderNames(g,"default"):h.setRenderNames(null,g)}else _==="*"?h.setRenderNames(null,Ai[i(p.id)]?d.namespaceVariableName:d.variableName):h.setRenderNames(d.variableName,null)}else{const d=u.get(p);o&&h.isNamespace?h.setRenderNames(null,d.exportMode==="default"?d.namespaceVariableName:d.variableName):d.exportMode==="default"?h.setRenderNames(null,d.variableName):h.setRenderNames(d.variableName,d.getVariableExportName(h))}}}function uR(e,{exports:t,name:n,format:r},s,i){const o=e.getExportNames();if(t==="default"){if(o.length!==1||o[0]!=="default")return ve(XE("default",o,s))}else if(t==="none"&&o.length>0)return ve(XE("none",o,s));return t==="auto"&&(o.length===0?t="none":o.length===1&&o[0]==="default"?t="default":(r!=="es"&&r!=="system"&&o.includes("default")&&i((function(c,u){return{code:"MIXED_EXPORTS",id:c,message:`Entry module "${je(c)}" is using named and default exports together. Consumers of your bundle will have to use \`${u||"chunk"}.default\` to access the default export, which may not be what you want. Use \`output.exports: "named"\` to disable this warning.`,url:Ft(ef)}})(s,n)),t="named")),t}function lR(e){const t=e.split(`
35`),n=t.filter((i=>/^\t+/.test(i))),r=t.filter((i=>/^ {2,}/.test(i)));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return"	";const s=r.reduce(((i,o)=>{const c=/^ +/.exec(o)[0].length;return Math.min(c,i)}),1/0);return" ".repeat(s)}function _S(e,t,n,r,s,i){const o=e.getDependenciesToBeIncluded();for(const c of o){if(c instanceof vt){t.push(i.get(c));continue}const u=s.get(c);u===r?n.has(c)||(n.add(c),_S(c,t,n,r,s,i)):t.push(u)}}const bo="!~{",Eo="}~",Zf=bo.length+Eo.length,ep=new RegExp(`${bo}[0-9a-zA-Z_$]{1,${64-Zf}}${Eo}`,"g"),Oi=(e,t)=>e.replace(ep,(n=>t.get(n)||n)),hR=(e,t,n)=>e.replace(ep,(r=>r===t?n:r)),ko=Symbol("bundleKeys"),tp={type:"placeholder"};function xS(e,t,n){return zh(e)?ve(dn(`Invalid pattern "${e}" for "${t}", patterns can be neither absolute nor relative paths. If you want your files to be stored in a subdirectory, write its name without a leading slash like this: subdirectory/pattern.`)):e.replace(/\[(\w+)(:\d+)?]/g,((r,s,i)=>{if(!n.hasOwnProperty(s)||i&&s!=="hash")return ve(dn(`"[${s}${i||""}]" is not a valid placeholder in the "${t}" pattern.`));const o=n[s](i&&Number.parseInt(i.slice(1)));return zh(o)?ve(dn(`Invalid substitution "${o}" for placeholder "[${s}]" in "${t}" pattern, can be neither absolute nor relative path.`)):o}))}function bS(e,{[ko]:t}){if(!t.has(e.toLowerCase()))return e;const n=pr(e);e=e.slice(0,Math.max(0,e.length-n.length));let r,s=1;for(;t.has((r=e+ ++s+n).toLowerCase()););return r}const fR=new Set([".js",".jsx",".ts",".tsx",".mjs",".mts",".cjs",".cts"]);function pR(e,t,n,r){return(typeof t=="function"?t(e.id):t[e.id])||(n?(r((i=e.id,o=e.variableName,{code:"MISSING_GLOBAL_NAME",id:i,message:`No name was provided for external module "${i}" in "output.globals" – guessing "${o}".`,names:[o],url:Ft("configuration-options/#output-globals")})),e.variableName):void 0);var i,o}class yr{constructor(t,n,r,s,i,o,c,u,l,h,p,d,_,k,g){this.orderedModules=t,this.inputOptions=n,this.outputOptions=r,this.unsetOptions=s,this.pluginDriver=i,this.modulesById=o,this.chunkByModule=c,this.externalChunkByModule=u,this.facadeChunkByModule=l,this.includedNamespaces=h,this.manualChunkAlias=p,this.getPlaceholder=d,this.bundle=_,this.inputBase=k,this.snippets=g,this.entryModules=[],this.exportMode="named",this.facadeModule=null,this.namespaceVariableName="",this.variableName="",this.accessedGlobalsByScope=new Map,this.dependencies=new Set,this.dynamicEntryModules=[],this.dynamicName=null,this.exportNamesByVariable=new Map,this.exports=new Set,this.exportsByName=new Map,this.fileName=null,this.impl
35icitEntryModules=[],this.implicitlyLoadedBefore=new Set,this.imports=new Set,this.includedDynamicImports=null,this.includedReexportsByModule=new Map,this.isEmpty=!0,this.name=null,this.needsExportsShim=!1,this.preRenderedChunkInfo=null,this.preliminaryFileName=null,this.renderedChunkInfo=null,this.renderedDependencies=null,this.renderedModules=Object.create(null),this.sortedExportNames=null,this.strictFacade=!1,this.execIndex=t.length>0?t[0].execIndex:1/0;const y=new Set(t);for(const E of t){c.set(E,this),E.namespace.included&&h.add(E),this.isEmpty&&E.isIncluded()&&(this.isEmpty=!1),(E.info.isEntry||r.preserveModules)&&this.entryModules.push(E);for(const I of E.includedDynamicImporters)y.has(I)||(this.dynamicEntryModules.push(E),E.info.syntheticNamedExports&&!r.preserveModules&&(h.add(E),this.exports.add(E.namespace)));E.implicitlyLoadedAfter.size>0&&this.implicitEntryModules.push(E)}this.suggestedVariableName=af(this.generateVariableName())}static generateFacade(t,n,r,s,i,o,c,u,l,h,p,d,_,k,g){const y=new yr([],t,n,r,s,i,o,c,u,l,null,d,_,k,g);y.assignFacadeName(p,h),u.has(h)||u.set(h,y);for(const E of h.getDependenciesToBeIncluded())y.dependencies.add(E instanceof kt?o.get(E):c.get(E));return!y.dependencies.has(o.get(h))&&h.info.moduleSideEffects&&h.hasEffects()&&y.dependencies.add(o.get(h)),y.ensureReexportsAreAvailableForModule(h),y.facadeModule=h,y.strictFacade=!0,y}canModuleBeFacade(t,n){const r=t.getExportNamesByVariable();for(const s of this.exports)if(!r.has(s))return!1;for(const s of n)if(!r.has(s)&&s.module!==t)return!1;return!0}finalizeChunk(t,n,r){const s=this.getRenderedChunkInfo(),i=c=>Oi(c,r),o=this.fileName=i(s.fileName);return{...s,code:t,dynamicImports:s.dynamicImports.map(i),fileName:o,implicitlyLoadedBefore:s.implicitlyLoadedBefore.map(i),importedBindings:Object.fromEntries(Object.entries(s.importedBindings).map((([c,u])=>[i(c),u]))),imports:s.imports.map(i),map:n,referencedFiles:s.referencedFiles.map(i)}}generateExports(){this.sortedExportNames=null;const t=new Set(this.exports);if(this.facadeModule!==null&&(this.facadeModule.preserveSignature!==!1||this.strictFacade)){const n=this.facadeModule.getExportNamesByVariable();for(const[r,s]of n){this.exportNamesByVariable.set(r,[...s]);for(const i of s)this.exportsByName.set(i,r);t.delete(r)}}this.outputOptions.minifyInternalExports?(function(n,r,s){let i=0;for(const o of n){let[c]=o.name;if(r.has(c))do c=Ja(++i),c.charCodeAt(0)===49&&(i+=9*64**(c.length-1),c=Ja(i));while(Va.has(c)||r.has(c));r.set(c,o),s.set(o,[c])}})(t,this.exportsByName,this.exportNamesByVariable):(function(n,r,s){for(const i of n){let o=0,c=i.name;for(;r.has(c);)c=i.name+"$"+ ++o;r.set(c,i),s.set(i,[c])}})(t,this.exportsByName,this.exportNamesByVariable),(this.outputOptions.preserveModules||this.facadeModule&&this.facadeModule.info.isEntry)&&(this.exportMode=uR(this,this.outputOptions,this.facadeModule.id,this.inputOptions.onwarn))}generateFacades(){var s;const t=[],n=new Set([...this.entryModules,...this.implicitEntryModules]),r=new Set(this.dynamicEntryModules.map((({namespace:i})=>i)));for(const i of n)if(i.preserveSignature)for(const o of i.getExportNamesByVariable().keys())r.add(o);for(const i of n){const o=Array.from(new Set(i.chunkNames.filter((({isUserDefined:c})=>c)).map((({name:c})=>c))),(c=>({name:c})));if(o.length===0&&i.isUserDefinedEntryPoint&&o.push({}),o.push(...Array.from(i.chunkFileNames,(c=>({fileName:c})))),o.length===0&&o.push({}),!this.facadeModule){const c=i.preserveSignature==="strict"||i.preserveSignature==="exports-only"&&i.getExportNamesByVariable().size>0;(!c||this.outputOptions.preserveModules||this.canModuleBeFacade(i,r))&&(this.facadeModule=i,this.facadeChunkByModule.set(i,this),i.preserveSignature&&(this.strictFacade=c),this.assignFacadeName(o.shift(),i,this.outputOptions.preserveModules))}for(const c of o)t.push(yr.generateFacade(this.inputOptions,this.outputOptions,this.unsetOptions,this.pluginDriver,this.modulesById,this.chunkByModule,this.externalChunkByModule,this.facadeChunkByModule,this.includedNamespaces,i,c,this.getPlaceholder,this.bundle,this.inputBase,this.snippets))}for(const i of this.dynamicEntryModules)i.info.syntheticNamedExports||(!this.facadeModule&&this.canModuleBeFacade(i,r)?(this.facadeModule=i,this.facadeChunkByModule.set(i,this),this.strictFacade=!0,this.dynamicName=np(i)):this.facadeModule===i&&!this.strictFacade&&this.canModuleBeFacade(i,r)?this.strictFacade=!0:(s=this.facadeChunkByModule.get(i))!=null&&s.strictFacade||(this.includedNamespaces.add(i),this.exports.add(i.namespace)));return this.outputOptions.preserveModules||this.addNecessaryImportsForFacades(),t}getChunkName(){return this.name??(this.name=this.outputOptions.sanitizeFileName(this.getFallbackChunkName()))}getExportNames(){return this.sortedExportNames??(this.sortedExportNames=[...this.exportsByName.keys()].sort())}getFileName(){return this.fileName||this.getPreliminaryFileName().fileName}getImportPath(t){return Oa(CE(t,this.getFileName(),this.outputOptions.format==="amd"&&!this.outputOptions.amd.forceJsExtensionForImports,!0))}getPreliminaryFileName(){var u;if(this.preliminaryFileName)return this.preliminaryFileName;let t,n=null;const{chunkFileNames:r,entryFileNames:s,file:i,format:o,preserveModules:c}=this.outputOptions;if(i)t=sr(i);else if(this.fileName===null){const[l,h]=c||(u=this.facadeModule)!=null&&u.isUserDefinedEntryPoint?[s,"output.entryFileNames"]:[r,"output.chunkFileNames"];t=xS(typeof l=="function"?l(this.getPreRenderedChunkInfo()):l,h,{format:()=>o,hash:p=>n||(n=this.getPlaceholder(h,p)),name:()=>this.getChunkName()}),n||(t=bS(t,this.bundle))}else t=this.fileName;return n||(this.bundle[t]=tp),this.preliminaryFileName={fileName:t,hashPlaceholder:n}}getRenderedChunkInfo(){return this.renderedChunkInfo?this.renderedChunkInfo:this.renderedChunkInfo={...this.getPreRenderedChunkInfo(),dynamicImports:this.getDynamicDependencies().map(So),fileName:this.getFileName(),implicitlyLoadedBefore:Array.from(this.impl
35icitlyLoadedBefore,So),importedBindings:dR(this.getRenderedDependencies(),So),imports:Array.from(this.dependencies,So),modules:this.renderedModules,referencedFiles:this.getReferencedFiles()}}getVariableExportName(t){return this.outputOptions.preserveModules&&t instanceof Ri?"*":this.exportNamesByVariable.get(t)[0]}link(){this.dependencies=(function(t,n,r,s){const i=[],o=new Set;for(let u=n.length-1;u>=0;u--){const l=n[u];if(!o.has(l)){const h=[];_S(l,h,o,t,r,s),i.unshift(h)}}const c=new Set;for(const u of i)for(const l of u)c.add(l);return c})(this,this.orderedModules,this.chunkByModule,this.externalChunkByModule);for(const t of this.orderedModules)this.addImplicitlyLoadedBeforeFromModule(t),this.setUpChunkImportsAndExportsForModule(t)}async render(){const{dependencies:t,exportMode:n,facadeModule:r,inputOptions:{onwarn:s},outputOptions:i,pluginDriver:o,snippets:c}=this,{format:u,hoistTransitiveImports:l,preserveModules:h}=i;if(l&&!h&&r!==null)for(const z of t)z instanceof yr&&this.inlineChunkDependencies(z);const p=this.getPreliminaryFileName(),{accessedGlobals:d,indent:_,magicString:k,renderedSource:g,usedModules:y,usesTopLevelAwait:E}=this.renderModules(p.fileName),I=[...this.getRenderedDependencies().values()],v=n==="none"?[]:this.getChunkExportDeclarations(u);let x=v.length>0,b=!1;for(const z of I){const{reexports:B}=z;B!=null&&B.length&&(x=!0,!b&&B.some((R=>R.reexported==="default"))&&(b=!0),u==="es"&&(z.reexports=B.filter((({reexported:R})=>!v.find((({exported:C})=>C===R))))))}if(!b){for(const{exported:z}of v)if(z==="default"){b=!0;break}}const{intro:A,outro:P,banner:F,footer:N}=await(async function(z,B,R){try{let[D,W,J,j]=await Promise.all([B.hookReduceValue("banner",z.banner(R),[R],gS),B.hookReduceValue("footer",z.footer(R),[R],gS),B.hookReduceValue("intro",z.intro(R),[R],vS),B.hookReduceValue("outro",z.outro(R),[R],vS)]);return J&&(J+=`
36
37`),j&&(j=`
38
39${j}`),D&&(D+=`
40`),W&&(W=`
41`+W),{banner:D,footer:W,intro:J,outro:j}}catch(D){return ve((C=D.message,{code:"ADDON_ERROR",message:`Could not retrieve "${D.hook}". Check configuration of plugin "${D.plugin}".
42	Error Message: ${C}`}))}var C})(i,o,this.getRenderedChunkInfo());return aR[u](g,{accessedGlobals:d,dependencies:I,exports:v,hasDefaultExport:b,hasExports:x,id:p.fileName,indent:_,intro:A,isEntryFacade:h||r!==null&&r.info.isEntry,isModuleFacade:r!==null,namedExportsMode:n!=="default",onwarn:s,outro:P,snippets:c,usesTopLevelAwait:E},i),F&&k.prepend(F),N&&k.append(N),{chunk:this,magicString:k,preliminaryFileName:p,usedModules:y}}addImplicitlyLoadedBeforeFromModule(t){const{chunkByModule:n,implicitlyLoadedBefore:r}=this;for(const s of t.implicitlyLoadedBefore){const i=n.get(s);i&&i!==this&&r.add(i)}}addNecessaryImportsForFacades(){for(const[t,n]of this.includedReexportsByModule)if(this.includedNamespaces.has(t))for(const r of n)this.imports.add(r)}assignFacadeName({fileName:t,name:n},r,s){t?this.fileName=t:this.name=this.outputOptions.sanitizeFileName(n||(s?this.getPreserveModulesChunkNameFromModule(r):np(r)))}checkCircularDependencyImport(t,n){var l;const r=t.module;if(r instanceof kt){const h=this.chunkByModule.get(r);let p;do p=n.alternativeReexportModules.get(t),p&&(this.chunkByModule.get(p)!==h&&this.inputOptions.onwarn((s=((l=r.getExportNamesByVariable().get(t))==null?void 0:l[0])||"*",i=r.id,o=p.id,c=n.id,u=this.outputOptions.preserveModules,{code:"CYCLIC_CROSS_CHUNK_REEXPORT",exp
42orter:i,id:c,message:`Export "${s}" of module "${je(i)}" was reexported through module "${je(o)}" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
43Either change the import in "${je(c)}" to point directly to the exporting module or ${u?'do not use "output.preserveModules"':'reconfigure "output.manualChunks"'} to ensure these modules end up in the same chunk.`,reexporter:o})),n=p);while(p)}var s,i,o,c,u}ensureReexportsAreAvailableForModule(t){const n=[],r=t.getExportNamesByVariable();for(const s of r.keys()){const i=s instanceof rn,o=i?s.getBaseVariable():s;if(this.checkCircularDependencyImport(o,t),!(o instanceof Ri&&this.outputOptions.preserveModules)){const c=o.module;if(c instanceof kt){const u=this.chunkByModule.get(c);u&&u!==this&&(u.exports.add(o),n.push(o),i&&this.imports.add(o))}}}n.length>0&&this.includedReexportsByModule.set(t,n)}generateVariableName(){if(this.manualChunkAlias)return this.manualChunkAlias;const t=this.entryModules[0]||this.implicitEntryModules[0]||this.dynamicEntryModules[0]||this.orderedModules[this.orderedModules.length-1];return t?np(t):"chunk"}getChunkExportDeclarations(t){const n=[];for(const r of this.getExportNames()){if(r[0]==="*")continue;const s=this.exportsByName.get(r);if(!(s instanceof rn)){const u=s.module;if(u){const l=this.chunkByModule.get(u);if(l!==this){if(!l||t!=="es")continue;const h=this.renderedDependencies.get(l);if(!h)continue;const{imports:p,reexports:d}=h,_=d==null?void 0:d.find((({reexported:g})=>g===r));if(!(p==null?void 0:p.find((({imported:g})=>g===(_==null?void 0:_.imported)))))continue}}}let i=null,o=!1,c=s.getName(this.snippets.getPropertyAccess);if(s instanceof qn){for(const u of s.declarations)if(u.parent instanceof Ii||u instanceof io&&u.declaration instanceof Ii){o=!0;break}}else s instanceof rn&&(i=c,t==="es"&&(c=s.renderName));n.push({exported:r,expression:i,hoisted:o,local:c})}return n}getDependenciesToBeDeconflicted(t,n,r){const s=new Set,i=new Set,o=new Set;for(const c of[...this.exportNamesByVariable.keys(),...this.imports])if(t||c.isNamespace){const u=c.module;if(u instanceof vt){const l=this.externalChunkByModule.get(u);s.add(l),t&&(c.name==="default"?uo[r(u.id)]&&i.add(l):c.name==="*"&&Ai[r(u.id)]&&o.add(l))}else{const l=this.chunkByModule.get(u);l!==this&&(s.add(l),t&&l.exportMode==="default"&&c.isNamespace&&o.add(l))}}if(n)for(const c of this.dependencies)s.add(c);return{deconflictedDefault:i,deconflictedNamespace:o,dependencies:s}}getDynamicDependencies(){return this.getIncludedDynamicImports().map((t=>t.facadeChunk||t.chunk||t.externalChunk||t.resolution)).filter((t=>t!==this&&(t instanceof yr||t instanceof Ts)))}getDynamicImportStringAndAssertions(t,n){if(t instanceof vt){const r=this.externalChunkByModule.get(t);return[`'${r.getImportPath(n)}'`,r.getImportAssertions(this.snippets)]}return[t||"",this.outputOptions.format==="es"&&this.outputOptions.externalImportAssertions||null]}getFallbackChunkName(){return this.manualChunkAlias?this.manualChunkAlias:this.dynamicName?this.dynamicName:this.fileName?Vh(this.fileName):Vh(this.orderedModules[this.orderedModules.length-1].id)}getImportSpecifiers(){const{interop:t}=this.outputOptions,n=new Map;for(const r of this.imports){const s=r.module;let i,o;if(s instanceof vt){if(i=this.externalChunkByModule.get(s),o=r.name,o!=="default"&&o!=="*"&&t(s.id)==="defaultOnly")return ve(QE(s.id,o,!1))}else i=this.chunkByModule.get(s),o=i.getVariableExportName(r);kn(n,i,RE).push({imported:o,local:r.getName(this.snippets.getPropertyAccess)})}return n}getIncludedDynamicImports(){if(this.includedDynamicImports)return this.includedDynamicImports;const t=[];for(const n of this.orderedModules)for(const{node:r,resolution:s}of n.dynamicImports)r.included&&t.push(s instanceof kt?{chunk:this.chunkByModule.get(s),externalChunk:null,facadeChunk:this.facadeChunkByModule.get(s),node:r,resolution:s}:s instanceof vt?{chunk:null,externalChunk:this.externalChunkByModule.get(s),facadeChunk:null,node:r,resolution:s}:{chunk:null,externalChunk:null,facadeChunk:null,node:r,resolution:s});return this.includedDynamicImports=t}getPreRenderedChunkInfo(){if(this.preRenderedChunkInfo)return this.preRenderedChunkInfo;
43const{dynamicEntryModules:t,facadeModule:n,implicitEntryModules:r,orderedModules:s}=this;return this.preRenderedChunkInfo={exports:this.getExportNames(),facadeModuleId:n&&n.id,isDynamicEntry:t.length>0,isEntry:!!(n!=null&&n.info.isEntry),isImplicitEntry:r.length>0,moduleIds:s.map((({id:i})=>i)),name:this.getChunkName(),type:"chunk"}}getPreserveModulesChunkNameFromModule(t){const n=ES(t);if(n)return n;const{preserveModulesRoot:r,sanitizeFileName:s}=this.outputOptions,i=s(fi(t.id.split(mR,1)[0])),o=pr(i),c=fR.has(o)?i.slice(0,-o.length):i;return fr(c)?r&&En(c).startsWith(r)?c.slice(r.length).replace(/^[/\\]/,""):Ps(this.inputBase,c):`_virtual/${sr(c)}`}getReexportSpecifiers(){const{externalLiveBindings:t,interop:n}=this.outputOptions,r=new Map;for(let s of this.getExportNames()){let i,o,c=!1;if(s[0]==="*"){const u=s.slice(1);n(u)==="defaultOnly"&&this.inputOptions.onwarn(gC(u)),c=t,i=this.externalChunkByModule.get(this.modulesById.get(u)),o=s="*"}else{const u=this.exportsByName.get(s);if(u instanceof rn)continue;const l=u.module;if(l instanceof kt){if(i=this.chunkByModule.get(l),i===this)continue;o=i.getVariableExportName(u),c=u.isReassigned}else{if(i=this.externalChunkByModule.get(l),o=u.name,o!=="default"&&o!=="*"&&n(l.id)==="defaultOnly")return ve(QE(l.id,o,!0));c=t&&(o!=="default"||lo(n(l.id),!0))}}kn(r,i,RE).push({imported:o,needsLiveBinding:c,reexported:s})}return r}getReferencedFiles(){const t=new Set;for(const n of this.orderedModules)for(const r of n.importMetas){const s=r.getReferencedFileName(this.pluginDriver);s&&t.add(s)}return[...t]}getRenderedDependencies(){if(this.renderedDependencies)return this.renderedDependencies;const t=this.getImportSpecifiers(),n=this.getReexportSpecifiers(),r=new Map,s=this.getFileName();for(const i of this.dependencies){const o=t.get(i)||null,c=n.get(i)||null,u=i instanceof Ts||i.exportMode!=="default",l=i.getImportPath(s);r.set(i,{assertions:i instanceof Ts?i.getImportAssertions(this.snippets):null,defaultVariableName:i.defaultVariableName,globalName:i instanceof Ts&&(this.outputOptions.format==="umd"||this.outputOptions.format==="iife")&&pR(i,this.outputOptions.globals,(o||c)!==null,this.inputOptions.onwarn),importPath:l,imports:o,isChunk:i instanceof yr,name:i.variableName,namedExportsMode:u,namespaceVariableName:i.namespaceVariableName,reexports:c})}return this.renderedDependencies=r}inlineChunkDependencies(t){for(const n of t.dependencies)this.dependencies.has(n)||(this.dependencies.add(n),n instanceof yr&&this.inlineChunkDependencies(n))}renderModules(t){const{accessedGlobalsByScope:n,dependencies:r,exportNamesByVariable:s,includedNamespaces:i,inputOptions:{onwarn:o},isEmpty:c,orderedModules:u,outputOptions:l,pluginDriver:h,renderedModules:p,snippets:d}=this,{compact:_,dynamicImportFunction:k,format:g,freeze:y,namespaceToStringTag:E,preserveModules:I}=l,{_:v,cnst:x,n:b}=d;this.setDynamicImportResolutions(t),this.setImportMetaResolutions(t),this.setIdentifierRenderResolutions();const A=new class A0{constructor(j={}){this.intro=j.intro||"",this.separator=j.separator!==void 0?j.separator:`
44`,this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}addSource(j){if(j instanceof Gr)return this.addSource({content:j,filename:j.filename,separator:this.separator});if(!AE(j)||!j.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(($=>{TE.call(j,$)||(j[$]=j.content[$])})),j.separator===void 0&&(j.separator=this.separator),j.filename)if(TE.call(this.uniqueSourceIndexByFilename,j.filename)){const $=this.uniqueSources[this.uniqueSourceIndexByFilename[j.filename]];if(j.content.original!==$.content)throw new Error(`Illegal source: same filename (${j.filename}), different contents`)}else this.uniqueSourceIndexByFilename[j.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:j.filename,content:j.content.original});return this.sources.push(j),this}append(j,$){return this.addSource({content:new Gr(j),separator:$&&$.separator||""}),this}clone(){const j=new A0({intro:this.intro,separator:this.separator});
44return this.sources.forEach(($=>{j.addSource({filename:$.filename,content:$.content.clone(),separator:$.separator})})),j}generateDecodedMap(j={}){const $=[];this.sources.forEach((X=>{Object.keys(X.content.storedNames).forEach((U=>{~$.indexOf(U)||$.push(U)}))}));const M=new PE(j.hires);return this.intro&&M.advance(this.intro),this.sources.forEach(((X,U)=>{U>0&&M.advance(this.separator);const H=X.filename?this.uniqueSourceIndexByFilename[X.filename]:-1,ae=X.content,te=jh(ae.original);ae.intro&&M.advance(ae.intro),ae.firstChunk.eachNext((q=>{const K=te(q.start);q.intro.length&&M.advance(q.intro),X.filename?q.edited?M.addEdit(H,q.content,K,q.storeName?$.indexOf(q.original):-1):M.addUneditedChunk(H,q,ae.original,K,ae.sourcemapLocations):M.advance(q.content),q.outro.length&&M.advance(q.outro)})),ae.outro&&M.advance(ae.outro)})),{file:j.file?j.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map((X=>j.file?wE(j.file,X.filename):X.filename)),sourcesContent:this.uniqueSources.map((X=>j.includeContent?X.content:null)),names:$,mappings:M.raw}}generateMap(j){return new Na(this.generateDecodedMap(j))}getIndentString(){const j={};return this.sources.forEach(($=>{const M=$.content._getRawIndentString();M!==null&&(j[M]||(j[M]=0),j[M]+=1)})),Object.keys(j).sort((($,M)=>j[$]-j[M]))[0]||"	"}
44indent(j){if(arguments.length||(j=this.getIndentString()),j==="")return this;let $=!this.intro||this.intro.slice(-1)===`
45`;return this.sources.forEach(((M,X)=>{const U=M.separator!==void 0?M.separator:this.separator,H=$||X>0&&/\r?\n$/.test(U);M.content.indent(j,{exclude:M.indentExclusionRanges,indentStart:H}),$=M.content.lastChar()===`
46`})),this.intro&&(this.intro=j+this.intro.replace(/^[^\n]/gm,((M,X)=>X>0?j+M:M))),this}prepend(j){return this.intro=j+this.intro,this}toString(){const j=this.sources.map((($,M)=>{const X=$.separator!==void 0?$.separator:this.separator;return(M>0?X:"")+$.content.toString()})).join("");return this.intro+j}isEmpty(){return!(this.intro.length&&this.intro.trim()||this.sources.some((j=>!j.content.isEmpty())))}length(){return this.sources.reduce(((j,$)=>j+$.content.length()),this.intro.length)}trimLines(){return this.trim("[\\r\\n]")}trim(j){return this.trimStart(j).trimEnd(j)}trimStart(j){const $=new RegExp("^"+(j||"\\s")+"+");if(this.intro=this.intro.replace($,""),!this.intro){let M,X=0;do if(M=this.sources[X++],!M)break;while(!M.content.trimStartAborted(j))}return this}trimEnd(j){const $=new RegExp((j||"\\s")+"+$");let M,X=this.sources.length-1;do if(M=this.sources[X--],!M){this.intro=this.intro.replace($,"");break}while(!M.content.trimEndAborted(j));return this}}({separator:`${b}${b}`}),P=(function(J,j){if(j.indent!==!0)return j.indent;for(const $ of J){const M=lR($.originalCode);if(M!==null)return M}return"	"})(u,l),F=[];let N="";const z=new Set,B=new Map,R={dynamicImportFunction:k,exportNamesByVariable:s,format:g,freeze:y,indent:P,namespaceToStringTag:E,pluginDriver:h,snippets:d,useOriginalName:null};let C=!1;for(const J of u){let j,$=0;if(J.isIncluded()||i.has(J)){const U=J.render(R);({source:j}=U),C||(C=U.usesTopLevelAwait),$=j.length(),$&&(_&&j.lastLine().includes("//")&&j.append(`
47`),B.set(J,j),A.addSource(j),F.push(J));const H=J.namespace;if(i.has(J)&&!I){const te=H.renderBlock(R);H.renderFirst()?N+=b+te:A.addSource(new Gr(te))}const ae=n.get(J.scope);if(ae)for(const te of ae)z.add(te)}const{renderedExports:M,removedExports:X}=J.getRenderedExports();p[J.id]={get code(){return(j==null?void 0:j.toString())??null},originalLength:J.originalCode.length,removedExports:X,renderedExports:M,renderedLength:$}}N&&A.prepend(N+b+b),this.needsExportsShim&&A.prepend(`${b}${x} ${Ms}${v}=${v}void 0;${b}${b}`);const D=_?A:A.trim();var W;return c&&this.getExportNames().length===0&&r.size===0&&o({code:"EMPTY_BUNDLE",message:`Generated an empty chunk: "${W=this.getChunkName()}".`,names:[W]}),{accessedGlobals:z,indent:P,magicString:A,renderedSource:D,usedModules:F,usesTopLevelAwait:C}}setDynamicImportResolutions(t){const{accessedGlobalsByScope:n,outputOptions:r,pluginDriver:s,snippets:i}=this;for(const o of this.getIncludedDynamicImports())if(o.chunk){const{chunk:c,facadeChunk:u,node:l,resolution:h}=o;c===this?l.setInternalResolution(h.namespace):l.setExternalResolution((u||c).exportMode,h,r,i,s,n,`'${(u||c).getImportPath(t)}'`,!(u!=null&&u.strictFacade)&&c.exportNamesByVariable.get(h.namespace)[0],null)}else{const{node:c,resolution:u}=o,[l,h]=this.getDynamicImportStringAndAssertions(u,t);c.setExternalResolution("external",u,r,i,s,n,l,!1,h)}}setIdentifierRenderResolutions(){const{format:t,interop:n,namespaceToStringTag:r,preserveModules:s,externalLiveBindings:i}=this.outputOptions,o=new Set;for(const u of this.getExportNames()){const l=this.exportsByName.get(u);t!=="es"&&t!=="system"&&l.isReassigned&&!l.isId?l.setRenderNames("exports",u):l instanceof rn?o.add(l):l.setRenderNames(null,null)}for(const u of this.orderedModules)if(u.needsExportShim){this.needsExportsShim=!0;break}const c=new Set(["Object","Promise"]);switch(this.needsExportsShim&&c.add(Ms),r&&c.add("Symbol"),t){case"system":c.add("module").add("exports");break;case"es":break;case"cjs":c.add("module").add("require").add("__filename").add("__dirname");default:c.add("exports");for(const u of qf)c.add(u)}cR(this.orderedModules,this.getDependenciesToBeDeconflicted(t!=="es"&&t!=="system",t==="amd"||t==="umd"||t==="iife",n),this.imports,c,t,n,s,i,this.chunkByModule,this.externalChunkByModule,o,this.exportNamesByVariable,this.accessedGlobalsByScope,this.includedNamespaces)}setImportMetaResolutions(t){const{accessedGlobalsByScope:n,includedNamespaces:r,orderedModules:s,outputOptions:{format:i,preserveModules:o}}=this;for(const c of s){for(const u of c.importMetas)u.setResolution(i,n,t);r.has(c)&&!o&&c.namespace.prepare(n)}}setUpChunkImportsAndExportsForModule(t){const n=new Set(t.includedImports);if(!this.outputOptions.preserveModules&&this.includedNamespaces.has(t)){const r=t.namespace.getMemberVariables();for(const s of Object.values(r))n.add(s)}for(let r of n){r instanceof Vn&&(r=r.getOriginalVariable()),r instanceof rn&&(r=r.getBaseVariable());const s=this.chunkByModule.get(r.module);s!==this&&(this.imports.add(r),r.module instanceof kt&&(this.checkCircularDependencyImport(r,t),r instanceof Ri&&this.outputOptions.preserveModules||s.exports.add(r)))}(this.includedNamespaces.has(t)||t.info.isEntry&&t.preserveSignature!==!1||t.includedDynamicImporters.some((r=>this.chunkByModule.get(r)!==this)))&&this.ensureReexportsAreAvailableForModule(t);for(const{node:r,resolution:s}of t.dynamicImports)r.included&&s instanceof kt&&this.chunkByModule.get(s)===this&&!this.includedNamespaces.has(s)&&(this.includedNamespaces.add(s),this.ensureReexportsAreAvailableForModule(s))}}function np(e){return ES(e)??Vh(e.id)}function ES(e){var t,n;return((t=e.chunkNames.find((({isUserDefined:r})=>r)))==null?void 0:t.name)??((n=e.chunkNames[0])==null?void 0:n.name)}function dR(e,t){const n={};for(const[r,s]of e){const i=new Set;if(s.imports)for(const{imported:o}of s.imports)i.add(o);
47if(s.reexports)for(const{imported:o}of s.reexports)i.add(o);n[t(r)]=[...i]}return n}const mR=/[#?]/,So=e=>e.getFileName();function*kS(e){for(const t of e)yield*t}function gR(e,t,n){const{chunkDefinitions:r,modulesInManualChunks:s}=(function(h){const p=[],d=new Set(h.keys()),_=Object.create(null);for(const[k,g]of h)vR(k,_[g]||(_[g]=[]),d);for(const[k,g]of Object.entries(_))p.push({alias:k,modules:g});return{chunkDefinitions:p,modulesInManualChunks:d}})(t),{allEntries:i,dependentEntriesByModule:o,dynamicallyDependentEntriesByDynamicEntry:c,dynamicImportsByEntry:u}=(function(h){const p=new Set,d=new Map,_=[],k=new Set(h);let g=0;for(const v of k){const x=new Set;_.push(x);const b=new Set([v]);for(const A of b){kn(d,A,Hr).add(g);for(const P of A.getDependenciesToBeIncluded())P instanceof vt||b.add(P);for(const{resolution:P}of A.dynamicImports)P instanceof kt&&P.includedDynamicImporters.length>0&&!k.has(P)&&(p.add(P),k.add(P),x.add(P));for(const P of A.implicitlyLoadedBefore)k.has(P)||(p.add(P),k.add(P))}g++}const y=[...k],{dynamicEntries:E,dynamicImportsByEntry:I}=(function(v,x,b){const A=new Map,P=new Set;for(const[N,z]of v.entries())A.set(z,N),x.has(z)&&P.add(N);const F=[];for(const N of b){const z=new Set;for(const B of N)z.add(A.get(B));F.push(z)}return{dynamicEntries:P,dynamicImportsByEntry:F}})(y,p,_);return{allEntries:y,dependentEntriesByModule:d,dynamicallyDependentEntriesByDynamicEntry:yR(d,E,y),dynamicImportsByEntry:I}})(e),l=Object.values(SS((function*(h,p){for(const[d,_]of h)p.has(d)||(yield{dependentEntries:_,modules:[d]})})(o,s)));return(function(h,p,d,_){const k=_.map((()=>0n)),g=_.map(((I,v)=>p.has(v)?-1n:0n));let y=1n;for(const{dependentEntries:I}of h){for(const v of I)k[v]|=y;y<<=1n}const E=p;for(const[I,v]of E){E.delete(I);const x=g[I];let b=x;for(const A of v)b&=k[A]|g[A];if(b!==x){g[I]=b;for(const A of d[I])kn(E,A,Hr).add(I)}}y=1n;for(const{dependentEntries:I}of h){for(const v of I)(g[v]&y)===y&&I.delete(v);y<<=1n}})(l,c,u,i),r.push(...(function(h,p,d){return d===0?Object.values(p).map((({modules:_})=>({alias:null,modules:_}))):(function(_,k,g){Pt("optimize chunks",3);const y=(function(E,I,v){const x=[],b=[],A=new Map,P=[];for(let F=0;F<I;F++)P.push(new Set);for(const[F,{dependentEntries:N,modules:z}]of Object.entries(E)){const B={correlatedSideEffects:new Set,dependencies:new Set,dependentChunks:new Set,dependentEntries:N,modules:z,pure:!0,sideEffects:new Set,size:0};let R=0,C=!0;for(const D of z)A.set(D,B),C&&(C=!D.hasEffects()),R+=D.originalCode.length;if(B.pure=C,B.size=R,!C){for(const D of N)P[D].add(F);B.sideEffects.add(F)}(R<v?x:b).push(B)}return(function(F,N,z){for(const B of F){B.sort(_R);for(const R of B){const{dependencies:C,modules:D,correlatedSideEffects:W,dependentEntries:J}=R;for(const $ of D)for(const M of $.getDependenciesToBeIncluded()){const X=N.get(M);X&&X!==R&&(C.add(X),X.dependentChunks.add(R))}let j=!0;for(const $ of J){const M=z[$];if(j){for(const X of M)W.add(X);j=!1}else for(const X of W)M.has(X)||W.delete(X)}}}})([b,x],A,P),{big:new Set(b),small:new Set(x)}})(_,k,g);return console.log(`Before eliminating small chunks, there were
48`,Object.keys(_).length,`chunks, of which
49`,y.small.size,"were below minChunkSize."),y.small.size>0&&(function(E,I){for(const v of[!1,!0])for(const x of E.small){let b=null,A=1/0;const{modules:P,pure:F,size:N}=x;for(const z of kS([E.small,E.big])){if(x===z)continue;const B=!v&&z.size>=I,R=bR(x,z,B);R<A&&xR(x,z,B)&&(b=z,A=R)}if(b){E.small.delete(x),wS(b,I,E).delete(b),b.modules.push(...P),b.size+=N,b.pure&&(b.pure=F);const{correlatedSideEffects:z,dependencies:B,dependentChunks:R,dependentEntries:C,sideEffects:D}=b;for(const W of z)x.correlatedSideEffects.has(W)||z.delete(W);for(const W of x.dependentEntries)C.add(W);for(const W of x.sideEffects)D.add(W);for(const W of x.dependencies)B.add(W),W.dependentChunks.delete(x),W.dependentChunks.add(b);for(const W of x.dependentChunks)R.add(W),W.dependencies.delete(x),W.dependencies.add(b);B.delete(b),R.delete(b),wS(b,I,E).add(b)}}})(y,g),console.log(`After merging chunks,
50`,y.small.size+y.big.size,`chunks remain, of which
51`,y.small.size,"are below minChunkSize."),Tt("optimize chunks",3),[...y.small,...y.big]})(p,h.length,d).map((({modules:_})=>({alias:null,modules:_})))})(i,SS(l),n)),r}function vR(e,t,n){const r=new Set([e]);for(const s of r){n.add(s),t.push(s);for(const i of s.dependencies)i instanceof vt||n.has(i)||r.add(i)}}function yR(e,t,n){const r=new Map;for(const s of t){const i=kn(r,s,Hr),o=n[s];for(const c of kS([o.includedDynamicImporters,o.implicitlyLoadedAfter]))for(const u of e.get(c))i.add(u)}return r}function SS(e){var t;const n=Object.create(null);for(const{dependentEntries:r,modules:s}of e){let i=0n;for(const o of r)i|=1n<<BigInt(o);(n[t=String(i)]||(n[t]={dependentEntries:new Set(r),modules:[]})).modules.push(...s)}return n}function _R({size:e},{size:t}){return e-t}
51function xR(e,t,n){return!(IS(e,t,!0)||IS(t,e,!n))}function IS(e,t,n){const{correlatedSideEffects:r}=t;if(n){for(const i of e.sideEffects)if(!r.has(i))return!0}const s=new Set(e.dependencies);for(const{dependencies:i,sideEffects:o}of s){for(const c of i){if(c===t)return!0;s.add(c)}if(n){for(const c of o)if(!r.has(c))return!0}}return!1}function wS(e,t,n){return e.size<t?n.small:n.big}function bR({dependentEntries:e},{dependentEntries:t},n){let r=0;for(const s of t)e.has(s)||r++;for(const s of e)if(!t.has(s)){if(n)return 1/0;r++}return r}const ER=(e,t)=>e.execIndex>t.execIndex?1:-1;function kR(e,t,n){const r=Symbol(e.id),s=[e.id];let i=t;for(e.cycles.add(r);i!==e;)i.cycles.add(r),s.push(i.id),i=n.get(i);return s.push(s[0]),s.reverse(),s}const AS=(e,t)=>t?`(${e})`:e,PS=/^(?!\d)[\w$]+$/;class TS{constructor(t,n){this.isOriginal=!0,this.filename=t,this.content=n}traceSegment(t,n,r){return{column:n,line:t,name:r,source:this}}}class Io{constructor(t,n){this.sources=n,this.names=t.names,this.mappings=t.mappings}traceMappings(){const t=[],n=new Map,r=[],s=[],i=new Map,o=[];for(const c of this.mappings){const u=[];for(const l of c){if(l.length===1)continue;const h=this.sources[l[1]];if(!h)continue;const p=h.traceSegment(l[2],l[3],l.length===5?this.names[l[4]]:"");if(p){const{column:d,line:_,name:k,source:{content:g,filename:y}}=p;let E=n.get(y);if(E===void 0)E=t.length,t.push(y),n.set(y,E),r[E]=g;else if(r[E]==null)r[E]=g;else if(g!=null&&r[E]!==g)return ve(mC(y));const I=[l[0],E,_,d];if(k){let v=i.get(k);v===void 0&&(v=s.length,s.push(k),i.set(k,v)),I[4]=v}u.push(I)}}o.push(u)}return{mappings:o,names:s,sources:t,sourcesContent:r}}traceSegment(t,n,r){const s=this.mappings[t];if(!s)return null;let i=0,o=s.length-1;for(;i<=o;){const c=i+o>>1,u=s[c];if(u[0]===n||i===o){if(u.length==1)return null;const l=this.sources[u[1]];return l?l.traceSegment(u[2],u[3],u.length===5?this.names[u[4]]:r):null}u[0]>n?o=c-1:i=c+1}return null}}function CS(e){return function(t,n){return n.mappings?new Io(n,[t]):(e((r=n.plugin,{code:VE,message:`Sourcemap is likely to be incorrect: a plugin (${r}) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help`,plugin:r,url:Ft("troubleshooting/#warning-sourcemap-is-likely-to-be-incorrect")})),new Io({mappings:[],names:[]},[t]));var r}}function RS(e,t,n,r,s){let i;if(n){const o=n.sources,c=n.sourcesContent||[],u=Wr(e)||".",l=n.sourceRoot||".",h=o.map(((p,d)=>new TS(En(u,l,p),c[d])));i=new Io(n,h)}else i=new TS(e,t);return r.reduce(s,i)}var ct={},rp=NS;function NS(e,t){if(!e)throw new Error(t||"Assertion failed")}NS.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)};var sp={},OS={get exports(){return sp},set exports(e){sp=e}};typeof Object.create=="function"?OS.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:OS.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var SR=rp,IR=sp;function wR(e,t){return(64512&e.charCodeAt(t))==55296&&!(t<0||t+1>=e.length)&&(64512&e.charCodeAt(t+1))==56320}function $S(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function DS(e){return e.length===1?"0"+e:e}function LS(e){return e.length===7?"0"+e:e.length===6?"00"+e:e.length===5?"000"+e:e.length===4?"0000"+e:e.length===3?"00000"+e:e.length===2?"000000"+e:e.length===1?"0000000"+e:e}ct.inherits=IR,ct.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if(typeof e=="string")if(t){if(t==="hex")for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),s=0;s<e.length;s+=2)n.push(parseInt(e[s]+e[s+1],16))}else for(var r=0,s=0;s<e.length;s++){var i=e.charCodeAt(s);i<128?n[r++]=i:i<2048?(n[r++]=i>>6|192,n[r++]=63&i|128):wR(e,s)?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++s)),n[r++]=i>>18|240,n[r++]=i>>12&63|128,n[r++]=i>>6&63|128,n[r++]=63&i|128):(n[r++]=i>>12|224,n[r++]=i>>6&63|128,n[r++]=63&i|128)}else for(s=0;s<e.length;s++)n[s]=0|e[s];return n},ct.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=DS(e[n].toString(16));return t},ct.htonl=$S,ct.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var s=e[r];t==="little"&&(s=$S(s)),n+=LS(s.toString(16))}return n},ct.zero2=DS,ct.zero8=LS,ct.join32=function(e,t,n,r){var s=n-t;SR(s%4==0);for(var i=new Array(s/4),o=0,c=t;o<i.length;o++,c+=4){var u;u=r==="big"?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],i[o]=u>>>0}return i},ct.split32=function(e,t){for(var n=new Array(4*e.length),r=0,s=0;r<e.length;r++,s+=4){var i=e[r];t==="big"?(n[s]=i>>>24,n[s+1]=i>>>16&255,n[s+2]=i>>>8&255,n[s+3]=255&i):(n[s+3]=i>>>24,n[s+2]=i>>>16&255,n[s+1]=i>>>8&255,n[s]=255&i)}return n},ct.rotr32=function(e,t){return e>>>t|e<<32-t},ct.rotl32=function(e,t){return e<<t|e>>>32-t},ct.sum32=function(e,t){return e+t>>>0},ct.sum32_3=function(e,t,n){return e+t+n>>>0},ct.sum32_4=function(e,t,n,r){return e+t+n+r>>>0}
51,ct.sum32_5=function(e,t,n,r,s){return e+t+n+r+s>>>0},ct.sum64=function(e,t,n,r){var s=e[t],i=r+e[t+1]>>>0,o=(i<r?1:0)+n+s;e[t]=o>>>0,e[t+1]=i},ct.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},ct.sum64_lo=function(e,t,n,r){return t+r>>>0},ct.sum64_4_hi=function(e,t,n,r,s,i,o,c){var u=0,l=t;return u+=(l=l+r>>>0)<t?1:0,u+=(l=l+i>>>0)<i?1:0,e+n+s+o+(u+=(l=l+c>>>0)<c?1:0)>>>0},ct.sum64_4_lo=function(e,t,n,r,s,i,o,c){return t+r+i+c>>>0},ct.sum64_5_hi=function(e,t,n,r,s,i,o,c,u,l){var h=0,p=t;return h+=(p=p+r>>>0)<t?1:0,h+=(p=p+i>>>0)<i?1:0,h+=(p=p+c>>>0)<c?1:0,e+n+s+o+u+(h+=(p=p+l>>>0)<l?1:0)>>>0},ct.sum64_5_lo=function(e,t,n,r,s,i,o,c,u,l){return t+r+i+c+l>>>0},ct.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},ct.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},ct.shr64_hi=function(e,t,n){return e>>>n},ct.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0};var MS={},FS=ct,AR=rp;function wo(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}MS.BlockHash=wo,wo.prototype.update=function(e,t){if(e=FS.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),this.pending.length===0&&(this.pending=null),e=FS.join32(e,0,e.length-n,this.endian);for(var r=0;r<e.length;r+=this._delta32)this._update(e,r,r+this._delta32)}return this},wo.prototype.digest=function(e){return this.update(this._pad()),AR(this.pending===null),this._digest(e)},wo.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var s=1;s<n;s++)r[s]=0;if(e<<=3,this.endian==="big"){for(var i=8;i<this.padLength;i++)r[s++]=0;r[s++]=0,r[s++]=0,r[s++]=0,r[s++]=0,r[s++]=e>>>24&255,r[s++]=e>>>16&255,r[s++]=e>>>8&255,r[s++]=255&e}else for(r[s++]=255&e,r[s++]=e>>>8&255,r[s++]=e>>>16&255,r[s++]=e>>>24&255,r[s++]=0,r[s++]=0,r[s++]=0,r[s++]=0,i=8;i<this.padLength;i++)r[s++]=0;return r};var or={},zn=ct.rotr32;function qS(e,t,n){return e&t^~e&n}function jS(e,t,n){return e&t^e&n^t&n}function BS(e,t,n){return e^t^n}or.ft_1=function(e,t,n,r){return e===0?qS(t,n,r):e===1||e===3?BS(t,n,r):e===2?jS(t,n,r):void 0},or.ch32=qS,or.maj32=jS,or.p32=BS,or.s0_256=function(e){return zn(e,2)^zn(e,13)^zn(e,22)},or.s1_256=function(e){return zn(e,6)^zn(e,11)^zn(e,25)},or.g0_256=function(e){return zn(e,7)^zn(e,18)^e>>>3},or.g1_256=function(e){return zn(e,17)^zn(e,19)^e>>>10};var Fs=ct,PR=MS,qs=or,TR=rp,In=Fs.sum32,CR=Fs.sum32_4,RR=Fs.sum32_5,NR=qs.ch32,OR=qs.maj32,$R=qs.s0_256,DR=qs.s1_256,LR=qs.g0_256,MR=qs.g1_256,VS=PR.BlockHash,FR=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function Un(){if(!(this instanceof Un))return new Un;VS.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=FR,this.W=new Array(64)}Fs.inherits(Un,VS);var qR=Un;Un.blockSize=512,Un.outSize=256,Un.hmacStrength=192,Un.padLength=64,Un.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=CR(MR(n[r-2]),n[r-7],LR(n[r-15]),n[r-16]);var s=this.h[0],i=this.h[1],o=this.h[2],c=this.h[3],u=this.h[4],l=this.h[5],h=this.h[6],p=this.h[7];for(TR(this.k.length===n.length),r=0;r<n.length;r++){var d=RR(p,DR(u),NR(u,l,h),this.k[r],n[r]),_=In($R(s),OR(s,i,o));p=h,h=l,l=u,u=In(c,d),c=o,o=i,i=s,s=In(d,_)}this.h[0]=In(this.h[0],s),this.h[1]=In(this.h[1],i),this.h[2]=In(this.h[2],o),this.h[3]=In(this.h[3],c),this.h[4]=In(this.h[4],u),this.h[5]=In(this.h[5],l),this.h[6]=In(this.h[6],h),this.h[7]=In(this.h[7],p)},Un.prototype._digest=function(e){return e==="hex"?Fs.toHex32(this.h,"big"):Fs.split32(this.h,"big")};var jR=qR;const $i=()=>jR();function ip(e){if(!e)return null;if(typeof e=="string"&&(e=JSON.parse(e)),e.mappings==="")return{mappings:[],names:[],sources:[],version:3};const t=typeof e.mappings=="string"?qh.decode(e.mappings):e.mappings;return{...e,mappings:t}}
51async function BR(e,t,n,r,s){Pt("render chunks",2),(function(p){for(const d of p)d.facadeModule&&d.facadeModule.isUserDefinedEntryPoint&&d.getPreliminaryFileName()})(e);const i=await Promise.all(e.map((p=>p.render())));Tt("render chunks",2),Pt("transform chunks",2);const o=(function(p){return Object.fromEntries(p.map((d=>{const _=d.getRenderedChunkInfo();return[_.fileName,_]})))})(e),{nonHashedChunksWithPlaceholders:c,renderedChunksByPlaceholder:u,hashDependenciesByPlaceholder:l}=await(async function(p,d,_,k,g){const y=[],E=new Map,I=new Map,v=new Set;for(const{preliminaryFileName:{hashPlaceholder:x}}of p)x&&v.add(x);return await Promise.all(p.map((async({chunk:x,preliminaryFileName:{fileName:b,hashPlaceholder:A},magicString:P,usedModules:F})=>{const N={chunk:x,fileName:b,...await VR(P,b,F,d,_,k,g)},{code:z}=N;if(A){const{containedPlaceholders:B,transformedCode:R}=((W,J)=>{const j=new Set,$=W.replace(ep,(M=>J.has(M)?(j.add(M),`${bo}${"0".repeat(M.length-Zf)}${Eo}`):M));return{containedPlaceholders:j,transformedCode:$}})(z,v),C=$i().update(R),D=k.hookReduceValueSync("augmentChunkHash","",[x.getRenderedChunkInfo()],((W,J)=>(J&&(W+=J),W)));D&&C.update(D),E.set(A,N),I.set(A,{containedPlaceholders:B,contentHash:C.digest("hex")})}else y.push(N)}))),{hashDependenciesByPlaceholder:I,nonHashedChunksWithPlaceholders:y,renderedChunksByPlaceholder:E}})(i,o,r,n,s),h=(function(p,d,_){const k=new Map;for(const[g,{fileName:y}]of p){let E=$i();const I=new Set([g]);for(const b of I){const{containedPlaceholders:A,contentHash:P}=d.get(b);E.update(P);for(const F of A)I.add(F)}let v,x;do x&&(E=$i().update(x)),x=E.digest("hex").slice(0,g.length),v=hR(y,g,x);while(_[ko].has(v.toLowerCase()));_[v]=tp,k.set(g,x)}return k})(u,l,t);(function(p,d,_,k,g,y){for(const{chunk:E,code:I,fileName:v,map:x}of p.values()){let b=Oi(I,d);const A=Oi(v,d);
51x&&(x.file=Oi(x.file,d),b+=zS(A,x,g,y)),_[A]=E.finalizeChunk(b,x,d)}for(const{chunk:E,code:I,fileName:v,map:x}of k){let b=d.size>0?Oi(I,d):I;x&&(b+=zS(v,x,g,y)),_[v]=E.finalizeChunk(b,x,d)}})(u,h,t,c,n,r),Tt("transform chunks",2)}async function VR(e,t,n,r,s,i,o){let c=null;const u=[];let l=await i.hookReduceArg0("renderChunk",[e.toString(),r[t],s,{chunks:r}],((I,v,x)=>{if(v==null)return I;if(typeof v=="string"&&(v={code:v,map:void 0}),v.map!==null){const b=ip(v.map);u.push(b||{missing:!0,plugin:x.name})}return v.code}));const{compact:h,dir:p,file:d,sourcemap:_,sourcemapExcludeSources:k,sourcemapFile:g,sourcemapPathTransform:y,sourcemapIgnoreList:E}=s;if(h||l[l.length-1]===`
52`||(l+=`
53`),_){let I;Pt("sourcemaps",3),I=d?En(g||d):p?En(p,t):En(t),c=(function(v,x,b,A,P,F){const N=CS(F),z=b.filter((j=>!j.excludeFromSourcemap)).map((j=>RS(j.id,j.originalCode,j.originalSourcemap,j.sourcemapChain,N))),B=new Io(x,z),R=A.reduce(N,B);let{sources:C,sourcesContent:D,names:W,mappings:J}=R.traceMappings();if(v){const j=Wr(v);C=C.map(($=>Ps(j,$))),v=sr(v)}return D=P?null:D,new Na({file:v,mappings:J,names:W,sources:C,sourcesContent:D})})(I,e.generateDecodedMap({}),n,u,k,o);for(let v=0;v<c.sources.length;++v){let x=c.sources[v];const b=`${I}.map`,A=E(x,b);typeof A!="boolean"&&ve(dn("sourcemapIgnoreList function must return a boolean.")),A&&(c.x_google_ignoreList===void 0&&(c.x_google_ignoreList=[]),c.x_google_ignoreList.includes(v)||c.x_google_ignoreList.push(v)),y&&(x=y(x,b),typeof x!="string"&&ve(dn("sourcemapPathTransform function must return a string."))),c.sources[v]=fi(x)}Tt("sourcemaps",3)}return{code:l,map:c}}function zS(e,t,n,{sourcemap:r,sourcemapBaseUrl:s}){let i;if(r==="inline")i=t.toUrl();else{const o=`${sr(e)}.map`;i=s?new URL(o,s).toString():o,n.emitFile({fileName:`${e}.map`,source:t.toString(),type:"asset"})}return r==="hidden"?"":`//# ${pf}=${i}
54`}class zR{constructor(t,n,r,s,i){this.outputOptions=t,this.unsetOptions=n,this.inputOptions=r,this.pluginDriver=s,this.graph=i,this.facadeChunkByModule=new Map,this.includedNamespaces=new Set}async generate(t){Pt("GENERATE",1);const n=Object.create(null),r=(s=>{const i=new Set;return new Proxy(s,{deleteProperty:(o,c)=>(typeof c=="string"&&i.delete(c.toLowerCase()),Reflect.deleteProperty(o,c)),get:(o,c)=>c===ko?i:Reflect.get(o,c),set:(o,c,u)=>(typeof c=="string"&&i.add(c.toLowerCase()),Reflect.set(o,c,u))})})(n);this.pluginDriver.setOutputBundle(r,this.outputOptions);try{Pt("initialize render",2),await this.pluginDriver.hookParallel("renderStart",[this.outputOptions,this.inputOptions]),Tt("initialize render",2),Pt("generate chunks",2);const s=(()=>{let o=0;return(c,u=8)=>{if(u>64)return ve(dn(`Hashes cannot be longer than 64 characters, received ${u}. Check the "${c}" option.`));const l=`${bo}${Ja(++o).padStart(u-Zf,"0")}${Eo}`;return l.length>u?ve(dn(`To generate hashes for this number of chunks (currently ${o}), you need a minimum hash size of ${l.length}, received ${u}. Check the "${c}" option.`)):l}})(),i=await this.generateChunks(r,s);i.length>1&&(function(o,c){if(o.format==="umd"||o.format==="iife")return ve(Et("output.format",$E,"UMD and IIFE output formats are not supported for code-splitting builds",o.format));if(typeof o.file=="string")return ve(Et("output.file",di,'when building multiple chunks, the "output.dir" option must be used, not "output.file". To 
54inline dynamic imports, set the "inlineDynamicImports" option'));if(o.sourcemapFile)return ve(Et("output.sourcemapFile",hC,'"output.sourcemapFile" is only supported for single-file builds'));!o.amd.autoId&&o.amd.id&&c(Et("output.amd.id",OE,'this option is only properly supported for single-file builds. Use "output.amd.autoId" and "output.amd.basePath" instead'))})(this.outputOptions,this.inputOptions.onwarn),this.pluginDriver.setChunkInformation(this.facadeChunkByModule);for(const o of i)o.generateExports();Tt("generate chunks",2),await BR(i,r,this.pluginDriver,this.outputOptions,this.inputOptions.onwarn)}catch(s){throw await this.pluginDriver.hookParallel("renderError",[s]),s}return(s=>{const i=new Set,o=Object.values(s);for(const c of o)c.type==="asset"&&c.needsCodeReference&&i.add(c.fileName);for(const c of o)if(c.type==="chunk")for(const u of c.referencedFiles)i.has(u)&&i.delete(u);for(const c of i)delete s[c]})(r),Pt("generate bundle",2),await this.pluginDriver.hookSeq("generateBundle",[this.outputOptions,r,t]),this.finaliseAssets(r),Tt("generate bundle",2),Tt("GENERATE",1),n}async addManualChunks(t){const n=new Map,r=await Promise.all(Object.entries(t).map((async([s,i])=>({alias:s,entries:await this.graph.moduleLoader.addAdditionalModules(i)}))));for(const{alias:s,entries:i}of r)for(const o of i)US(s,o,n);return n}assignManualChunks(t){const n=[],r={getModuleIds:()=>this.graph.modulesById.keys(),getModuleInfo:this.graph.getModuleInfo};for(const i of this.graph.modulesById.values())if(i instanceof kt){const o=t(i.id,r);typeof o=="string"&&n.push([o,i])}n.sort((([i],[o])=>i>o?1:i<o?-1:0));const s=new Map;for(const[i,o]of n)US(i,o,s);return s}finaliseAssets(t){if(this.outputOptions.validate){for(const n of Object.values(t))if("code"in n)try{this.graph.contextParse(n.code,{ecmaVersion:"latest"})}catch(r){this.inputOptions.onwarn(fC(n,r))}}
54this.pluginDriver.finaliseAssets()}async generateChunks(t,n){const{experimentalMinChunkSize:r,inlineDynamicImports:s,manualChunks:i,preserveModules:o}=this.outputOptions,c=typeof i=="object"?await this.addManualChunks(i):this.assignManualChunks(i),u=(function({compact:g,generatedCode:{arrowFunctions:y,constBindings:E,objectShorthand:I,reservedNamesAsProps:v}}){const{_:x,n:b,s:A}=g?{_:"",n:"",s:""}:{_:" ",n:`
55`,s:";"},P=E?"const":"var",F=(R,{isAsync:C,name:D})=>`${C?"async ":""}function${D?` ${D}`:""}${x}(${R.join(`,${x}`)})${x}`,N=y?(R,{isAsync:C,name:D})=>{const W=R.length===1;return`${D?`${P} ${D}${x}=${x}`:""}${C?`async${W?" ":x}`:""}${W?R[0]:`(${R.join(`,${x}`)})`}${x}=>${x}`}:F,z=(R,{functionReturn:C,lineBreakIndent:D,name:W})=>[`${N(R,{isAsync:!1,name:W})}${y?D?`${b}${D.base}${D.t}`:"":`{${D?`${b}${D.base}${D.t}`:x}${C?"return ":""}`}`,y?`${W?";":""}${D?`${b}${D.base}`:""}`:`${A}${D?`${b}${D.base}`:x}}`],B=v?R=>PS.test(R):R=>!Va.has(R)&&PS.test(R);return{_:x,cnst:P,getDirectReturnFunction:z,getDirectReturnIifeLeft:(R,C,{needsArrowReturnParens:D,needsWrappedFunction:W})=>{const[J,j]=z(R,{functionReturn:!0,lineBreakIndent:null,name:null});return`${AS(`${J}${AS(C,y&&D)}${j}`,y||W)}(`},getFunctionIntro:N,getNonArrowFunctionIntro:F,getObject(R,{lineBreakIndent:C}){const D=C?`${b}${C.base}${C.t}`:x;return`{${R.map((([W,J])=>{if(W===null)return`${D}${J}`;const j=!B(W);return W===J&&I&&!j?D+W:`${D}${j?`'${W}'`:W}:${x}${J}`})).join(",")}${R.length===0?"":C?`${b}${C.base}`:x}}`},getPropertyAccess:R=>B(R)?`.${R}`:`[${JSON.stringify(R)}]`,n:b,s:A}})(this.outputOptions),l=(function(g){const y=[];for(const E of g.values())E instanceof kt&&(E.isIncluded()||E.info.isEntry||E.includedDynamicImporters.length>0)&&y.push(E);return y})(this.graph.modulesById),h=(function(g){if(g.length===0)return"/";if(g.length===1)return Wr(g[0]);const y=g.slice(1).reduce(((E,I)=>{const v=I.split(/\/+|\\+/);let x;for(x=0;E[x]===v[x]&&x<Math.min(E.length,v.length);x++);return E.slice(0,x)}),g[0].split(/\/+|\\+/));return y.length>1?y.join("/"):"/"})((function(g,y){const E=[];for(const I of g)(I.info.isEntry||y)&&fr(I.id)&&E.push(I.id);return E})(l,o)),p=(function(g,y,E){const I=new Map;for(const v of g.values())v instanceof vt&&I.set(v,new Ts(v,y,E));return I})(this.graph.modulesById,this.outputOptions,h),d=[],_=new Map;for(const{alias:g,modules:y}of s?[{alias:null,modules:l}]:o?l.map((E=>({alias:null,modules:[E]}))):gR(this.graph.entryModules,c,r)){y.sort(ER);const E=new yr(y,this.inputOptions,this.outputOptions,this.unsetOptions,this.pluginDriver,this.graph.modulesById,_,p,this.facadeChunkByModule,this.includedNamespaces,g,n,t,h,u);d.push(E)}for(const g of d)g.link();const k=[];for(const g of d)k.push(...g.generateFacades());return[...d,...k]}}function US(e,t,n){const r=n.get(t);if(typeof r=="string"&&r!==e)return ve((s=t.id,i=e,o=r,{code:"INVALID_CHUNK",message:`Cannot assign "${je(s)}" to the "${i}" chunk as it is already in the "${o}" chunk.`}));var s,i,o;n.set(t,e)}var UR=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239],GS=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,
5515,7472,3104,541,1507,4938],WS="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ap={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},op="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",GR={5:op,"5module":op+" export import",6:op+" const class extends export import super"},WR=/^in(stanceof)?$/,HR=new RegExp("["+WS+"]"),KR=new RegExp("["+WS+"‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_]");function cp(e,t){for(var n=65536,r=0;r<t.length;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}}function Gn(e,t){return e<65?e===36:e<91||(e<97?e===95:e<123||(e<=65535?e>=170&&HR.test(String.fromCharCode(e)):t!==!1&&cp(e,GS)))}function ss(e,t){return e<48?e===36:e<58||!(e<65)&&(e<91||(e<97?e===95:e<123||(e<=65535?e>=170&&KR.test(String.fromCharCode(e)):t!==!1&&(cp(e,GS)||cp(e,UR)))))}var Ye=function(e,t){t===void 0&&(t={}
55),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function gn(e,t){return new Ye(e,{beforeExpr:!0,binop:t})}var vn={beforeExpr:!0},Jt={startsExpr:!0},Ao={};function Je(e,t){return t===void 0&&(t={}),t.keyword=e,Ao[e]=new Ye(e,t)}var S={num:new Ye("num",Jt),regexp:new Ye("regexp",Jt),string:new Ye("string",Jt),name:new Ye("name",Jt),privateId:new Ye("privateId",Jt),eof:new Ye("eof"),bracketL:new Ye("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Ye("]"),braceL:new Ye("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Ye("}"),parenL:new Ye("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Ye(")"),comma:new Ye(",",vn),semi:new Ye(";",vn),colon:new Ye(":",vn),dot:new Ye("."),question:new Ye("?",vn),questionDot:new Ye("?."),arrow:new Ye("=>",vn),template:new Ye("template"),invalidTemplate:new Ye("invalidTemplate"),ellipsis:new Ye("...",vn),backQuote:new Ye("`",Jt),dollarBraceL:new Ye("${",{beforeExpr:!0,startsExpr:!0}),eq:new Ye("=",{beforeExpr:!0,isAssign:!0}),assign:new Ye("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Ye("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Ye("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:gn("||",1),logicalAND:gn("&&",2),bitwiseOR:gn("|",3),bitwiseXOR:gn("^",4),bitwiseAND:gn("&",5),equality:gn("==/!=/===/!==",6),relational:gn("</>/<=/>=",7),bitShift:gn("<</>>/>>>",8),plusMin:new Ye("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:gn("%",10),star:gn("*",10),slash:gn("/",10),starstar:new Ye("**",{beforeExpr:!0}),coalesce:gn("??",1),_break:Je("break"),_case:Je("case",vn),_catch:Je("catch"),_continue:Je("continue"),_debugger:Je("debugger"),_default:Je("default",vn),_do:Je("do",{isLoop:!0,beforeExpr:!0}),_else:Je("else",vn),_finally:Je("finally"),_for:Je("for",{isLoop:!0}),_function:Je("function",Jt),_if:Je("if"),_return:Je("return",vn),_switch:Je("switch"),_throw:Je("throw",vn),_try:Je("try"),_var:Je("var"),_const:Je("const"),_while:Je("while",{isLoop:!0}),_with:Je("with"),_new:Je("new",{beforeExpr:!0,startsExpr:!0}),_this:Je("this",Jt),_super:Je("super",Jt),_class:Je("class",Jt),_extends:Je("extends",vn),_export:Je("export"),_import:Je("import",Jt),_null:Je("null",Jt),_true:Je("true",Jt),_false:Je("false",Jt),_in:Je("in",{beforeExpr:!0,binop:7}),_instanceof:Je("instanceof",{beforeExpr:!0,binop:7}),_typeof:Je("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Je("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Je("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},sn=/\r\n?|\n|\u2028|\u2029/,HS=new RegExp(sn.source,"g");function is(e){return e===10||e===13||e===8232||e===8233}function KS(e,t,n){n===void 0&&(n=e.length);for(var r=t;r<n;r++){var s=e.charCodeAt(r);if(is(s))return r<n-1&&s===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var up=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,yn=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,XS=Object.prototype,XR=XS.hasOwnProperty,QR=XS.toString,Di=Object.hasOwn||function(e,t){return XR.call(e,t)},QS=Array.isArray||function(e){return QR.call(e)==="[object Array]"};function as(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function _r(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var JR=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,js=function(e,t){this.line=e,this.column=t};js.prototype.offset=function(e){return new js(this.line,this.column+e)};var Li=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)};function lp(e,t){for(var n=1,r=0;;){var s=KS(e,r,t);if(s<0)return new js(n,t-r);++n,r=s}}var Po={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},JS=!1;function YR(e){var t={};for(var n in Po)t[n]=e&&Di(e,n)?e[n]:Po[n];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!JS&&typeof console=="object"&&console.warn&&(JS=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
56Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),e.allowHashBang==null&&(t.allowHashBang=t.ecmaVersion>=14),QS(t.onToken)){var r=t.onToken;t.onToken=function(s){return r.push(s)}}return QS(t.onComment)&&(t.onComment=(function(s,i){return function(o,c,u,l,h,p){var d={type:o?"Block":"Line",value:c,start:u,end:l};s.locations&&(d.loc=new Li(this,h,p)),s.ranges&&(d.range=[u,l]),i.push(d)}})(t,t.onComment)),t}var YS=256;function hp(e,t){return 2|(e?4:0)|(t?8:0)}var yt=function(e,t,n){this.options=e=YR(e),this.sourceFile=e.sourceFile,this.keywords=as(GR[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var r="";e.allowReserved!==!0&&(r=ap[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3],e.sourceType==="module"&&(r+=" await")),this.reservedWords=as(r);var s=(r?r+" ":"")+ap.strict;this.reservedWordsStrict=as(s),this.reservedWordsStrictBind=as(s+" "+ap.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
57`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(sn).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=S.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Wn={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};yt.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Wn.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Wn.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Wn.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Wn.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&YS)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>
57=13||this.options.allowAwaitOutsideFunction},Wn.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(64&t)>0||n||this.options.allowSuperOutsideMethod},Wn.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Wn.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Wn.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(258&t)>0||n},Wn.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&YS)>0},yt.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},yt.parse=function(e,t){return new this(t,e).parse()},yt.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},yt.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(yt.prototype,Wn);var Ht=yt.prototype,ZR=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Ht.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){yn.lastIndex=e,e+=yn.exec(this.input)[0].length;var t=ZR.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){yn.lastIndex=e+t[0].length;var n=yn.exec(this.input),r=n.index+n[0].length,s=this.input.charAt(r);return s===";"||s==="}"||sn.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,yn.lastIndex=e,e+=yn.exec(this.input)[0].length,this.input[e]===";"&&e++}},Ht.eat=function(e){return this.type===e&&(this.next(),!0)},Ht.isContextual=function(e){return this.type===S.name&&this.value===e&&!this.containsEsc},Ht.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Ht.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Ht.canInsertSemicolon=function(){return this.type===S.eof||this.type===S.braceR||sn.test(this.input.slice(this.lastTokEnd,this.start))},Ht.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ht.semicolon=function(){this.eat(S.semi)||this.insertSemicolon()||this.unexpected()},Ht.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Ht.expect=function(e){this.eat(e)||this.unexpected()},Ht.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var To=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Ht.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?"Assigning to rvalue":"Parenthesized pattern")}},Ht.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},Ht.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Ht.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var Ne=yt.prototype;Ne.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==S.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,s=Object.keys(this.undefinedExports);r<s.length;r+=1){var i=s[r];this.raiseRecoverable(this.undefinedExports[i].start,"Export '"+i+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var fp={kind:"loop"},eN={kind:"switch"};Ne.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;yn.lastIndex=this.pos;var t=yn.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(r===91||r===92||r>55295&&r<56320)return!0;
57if(e)return!1;if(r===123)return!0;if(Gn(r,!0)){for(var s=n+1;ss(r=this.input.charCodeAt(s),!0);)++s;if(r===92||r>55295&&r<56320)return!0;var i=this.input.slice(n,s);if(!WR.test(i))return!0}return!1},Ne.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;yn.lastIndex=this.pos;var e,t=yn.exec(this.input),n=this.pos+t[0].length;return!(sn.test(this.input.slice(this.pos,n))||this.input.slice(n,n+8)!=="function"||n+8!==this.input.length&&(ss(e=this.input.charCodeAt(n+8))||e>55295&&e<56320))},Ne.parseStatement=function(e,t,n){var r,s=this.type,i=this.startNode();switch(this.isLet(e)&&(s=S._var,r="let"),s){case S._break:case S._continue:return this.parseBreakContinueStatement(i,s.keyword);case S._debugger:return this.parseDebuggerStatement(i);case S._do:return this.parseDoStatement(i);case S._for:return this.parseForStatement(i);case S._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case S._class:return e&&this.unexpected(),this.parseClass(i,!0);case S._if:return this.parseIfStatement(i);
57case S._return:return this.parseReturnStatement(i);case S._switch:return this.parseSwitchStatement(i);case S._throw:return this.parseThrowStatement(i);case S._try:return this.parseTryStatement(i);case S._const:case S._var:return r=r||this.value,e&&r!=="var"&&this.unexpected(),this.parseVarStatement(i,r);case S._while:return this.parseWhileStatement(i);case S._with:return this.parseWithStatement(i);case S.braceL:return this.parseBlock(!0,i);case S.semi:return this.parseEmptyStatement(i);case S._export:case S._import:if(this.options.ecmaVersion>10&&s===S._import){yn.lastIndex=this.pos;var o=yn.exec(this.input),c=this.pos+o[0].length,u=this.input.charCodeAt(c);if(u===40||u===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===S._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.value,h=this.parseExpression();return s===S.name&&h.type==="Identifier"&&this.eat(S.colon)?this.parseLabeledStatement(i,l,h,e):this.parseExpressionStatement(i,h)}},Ne.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next(),this.eat(S.semi)||this.insertSemicolon()?e.label=null:this.type!==S.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var s=this.labels[r];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(n||s.kind==="loop")||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},Ne.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Ne.parseDoStatement=function(e){return this.next(),this.labels.push(fp),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(S._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(S.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Ne.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(fp),this.enterScope(0),this.expect(S.parenL),this.type===S.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===S._var||this.type===S._const||n){var r=this.startNode(),s=n?"let":this.value;return this.next(),this.parseVar(r,!0,s),this.finishNode(r,"VariableDeclaration"),(this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===S._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var i=this.isContextual("let"),o=!1,c=new To,u=this.parseExpression(!(t>-1)||"await",c);return this.type===S._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===S._in?t>-1&&this.unexpected(t):e.await=t>-1),i&&o&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,c),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(c,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},Ne.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,Mi|(n?0:pp),!1,t)},Ne.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(S._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Ne.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(S.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Ne.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(S.braceL),this.labels.push(eN),this.enterScope(0);for(var n=!1;this.type!==S.braceR;
57)if(this.type===S._case||this.type===S._default){var r=this.type===S._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(S.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Ne.parseThrowStatement=function(e){return this.next(),sn.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var tN=[];Ne.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===S._catch){var t=this.startNode();if(this.next(),this.eat(S.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?32:0),this.checkLValPattern(t.param,n?4:2),this.expect(S.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(S._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Ne.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Ne.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(fp),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Ne.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},Ne.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Ne.parseLabeledStatement=function(e,t,n,r){for(var s=0,i=this.labels;s<i.length;s+=1)i[s].name===t&&this.raise(n.start,"Label '"+t+"' is already declared");for(var o=this.type.isLoop?"loop":this.type===S._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var u=this.labels[c];if(u.statementStart!==e.start)break;u.statementStart=this.start,u.kind=o}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},Ne.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Ne.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(S.braceL),e&&this.enterScope(0);this.type!==S.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Ne.parseFor=function(e,t){return e.init=t,this.expect(S.semi),e.test=this.type===S.semi?null:this.parseExpression(),this.expect(S.semi),e.update=this.type===S.parenR?null:this.parseExpression(),this.expect(S.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Ne.parseForIn=function(e,t){var n=this.type===S._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(S.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},Ne.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(S.eq)?r.init=this.parseMaybeAssign(t):n!=="const"||this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of")?r.id.type==="Identifier"||t&&(this.t
57ype===S._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(S.comma))break}return e},Ne.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?1:2,!1)};var Mi=1,pp=2;function nN(e,t){var n=t.key.name,r=e[n],s="true";return t.type!=="MethodDefinition"||t.kind!=="get"&&t.kind!=="set"||(s=(t.static?"s":"i")+t.kind),r==="iget"&&s==="iset"||r==="iset"&&s==="iget"||r==="sget"&&s==="sset"||r==="sset"&&s==="sget"?(e[n]="true",!1):!!r||(e[n]=s,!1)}function Co(e,t){var n=e.computed,r=e.key;return!n&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}Ne.parseFunction=function(e,t,n,r,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===S.star&&t&pp&&this.unexpected(),e.generator=this.eat(S.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&Mi&&(e.id=4&t&&this.type!==S.name?null:this.parseIdent(),!e.id||t&pp||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,o=this.awaitPos,c=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(hp(e.async,e.generator)),t&Mi||(e.id=this.type===S.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,s),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=c,this.finishNode(e,t&Mi?"FunctionDeclaration":"FunctionExpression")},Ne.parseFunctionParams=function(e){this.expect(S.parenL),e.params=this.parseBindingList(S.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Ne.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),s=this.startNode(),i=!1;for(s.body=[],this.expect(S.braceL);this.type!==S.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(s.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0):o.key&&o.key.type==="PrivateIdentifier"&&nN(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Ne.parseClassElement=function(e){if(this.eat(S.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",s=!1,i=!1,o="method",c=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(S.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===S.star?c=!0:r="static"}if(n.static=c,!r&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==S.star||this.canInsertSemicolon()?r="async":i=!0),!r&&(t>=9||!i)&&this.eat(S.star)&&(s=!0),!r&&!i&&!s){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=u:r=u)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===S.parenL||o!=="method"||s||i){var l=!n.static&&Co(n,"constructor"),h=l&&e;l&&o!=="method"&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=l?"constructor":o,this.parseClassMethod(n,s,i,h)}else this.parseClassField(n);return n},Ne.isClassElementNameStart=function(){return this.type===S.name||this.type===S.privateId||this.type===S.num||this.type===S.string||this.type===S.bracketL||this.type.keyword},Ne.parseClassElementName=function(e){this.type===S.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},Ne.parseClassMethod=function(e,t,n,r){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),n&&this.raise(s.start,"Constructor can't be an async method")):e.static&&Co(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var i=e.value=this.parseMethod(t,n,r);return e.kind==="get"&&i.params.length!==0&&this.raiseRecoverable(i.start,"getter should have no params"),e.kind==="set"&&i.params.length!==1&&this.raiseRecoverable(i.start,"setter should have exactly one param"),e.kind==="set"&&i.params[0].type==="RestElement"&&this.raiseRecoverable(i.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},Ne.parseClassField=function(e){if(Co(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Co(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(S.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},Ne.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==S.braceR;
57){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},Ne.parseClassId=function(e,t){this.type===S.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(t===!0&&this.unexpected(),e.id=null)},Ne.parseClassSuper=function(e){e.superClass=this.eat(S._extends)?this.parseExprSubscripts(!1):null},Ne.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},Ne.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,n=e.used,r=this.privateNameStack.length,s=r===0?null:this.privateNameStack[r-1],i=0;i<n.length;++i){var o=n[i];Di(t,o.name)||(s?s.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}},Ne.parseExport=function(e,t){if(this.next(),this.eat(S.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==S.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(S._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===S._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,4|Mi,!1,n)}else if(this.type===S._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==S.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,o=e.specifiers;i<o.length;i+=1){var c=o[i];this.checkUnreserved(c.local),this.checkLocalExport(c.local),c.local.type==="Literal"&&this.raise(c.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Ne.checkExport=function(e,t,n){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Di(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},Ne.checkPatternExport=function(e,t){var n=t.type;if(n==="Identifier")this.checkExport(e,t,t.start);else if(n==="ObjectPattern")for(var r=0,s=t.properties;r<s.length;r+=1){var i=s[r];this.checkPatternExport(e,i)}else if(n==="ArrayPattern")for(var o=0,c=t.elements;o<c.length;o+=1){var u=c[o];u&&this.checkPatternExport(e,u)}else n==="Property"?this.checkPatternExport(e,t.value):n==="AssignmentPattern"?this.checkPatternExport(e,t.left):n==="RestElement"?this.checkPatternExport(e,t.argument):n==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},Ne.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s.id)}},Ne.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Ne.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(S.braceL);!this.eat(S.braceR);){if(n)n=!1;else if(this.expect(S.comma),this.afterTrailingComma(S.braceR))break;var r=this.startNode();r.local=this.parseModuleExportName(),r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local,this.checkExport(e,r.exported,r.exported.start),t.push(this.finishNode(r,"ExportSpecifier"))}return t},Ne.parseImport=function(e){return this.next(),this.type===S.string?(e.specifiers=tN,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.t
57ype===S.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Ne.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===S.name){var n=this.startNode();if(n.local=this.parseIdent(),this.checkLValSimple(n.local,2),e.push(this.finishNode(n,"ImportDefaultSpecifier")),!this.eat(S.comma))return e}if(this.type===S.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLValSimple(r.local,2),e.push(this.finishNode(r,"ImportNamespaceSpecifier")),e}for(this.expect(S.braceL);!this.eat(S.braceR);){if(t)t=!1;else if(this.expect(S.comma),this.afterTrailingComma(S.braceR))break;var s=this.startNode();s.imported=this.parseModuleExportName(),this.eatContextual("as")?s.local=this.parseIdent():(this.checkUnreserved(s.imported),s.local=s.imported),this.checkLValSimple(s.local,2),e.push(this.finishNode(s,"ImportSpecifier"))}return e},Ne.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===S.string){var e=this.parseLiteral(this.value);return JR.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},Ne.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},Ne.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var wn=yt.prototype;wn.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,s=e.properties;r<s.length;r+=1){var i=s[r];this.toAssignable(i,t),i.type!=="RestElement"||i.argument.type!=="ArrayPattern"&&i.argument.type!=="ObjectPattern"||this.raise(i.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return e},wn.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var s=e[r];s&&this.toAssignable(s,t)}if(n){var i=e[n-1];this.options.ecmaVersion===6&&t&&i&&i.type==="RestElement"&&i.argument.type!=="Identifier"&&this.unexpected(i.argument.start)}return e},wn.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},wn.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==S.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},wn.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case S.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(S.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case S.braceL:return this.parseObj(!0)}return this.parseIdent()},wn.parseBindingList=function(e,t,n){for(var r=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(S.comma),t&&this.type===S.comma)r.push(null);else{if(n&&this.afterTrailingComma(e))break;
57if(this.type===S.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),r.push(i),this.type===S.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),r.push(o)}return r},wn.parseBindingListItem=function(e){return e},wn.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(S.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},wn.checkLValSimple=function(e,t,n){t===void 0&&(t=0);var r=t!==0;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===2&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),n&&(Di(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),t!==5&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}},wn.checkLValPattern=function(e,t,n){switch(t===void 0&&(t=0),e.type){case"ObjectPattern":for(var r=0,s=e.properties;r<s.length;r+=1){var i=s[r];this.checkLValInnerPattern(i,t,n)}break;case"ArrayPattern":for(var o=0,c=e.elements;o<c.length;o+=1){var u=c[o];u&&this.checkLValInnerPattern(u,t,n)}break;default:this.checkLValSimple(e,t,n)}},wn.checkLValInnerPattern=function(e,t,n){switch(t===void 0&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,n);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,n);break;case"RestElement":this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var _n=function(e,t,n,r,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!s},ft={b_stat:new _n("{",!1),b_expr:new _n("{",!0),b_tmpl:new _n("${",!1),p_stat:new _n("(",!1),p_expr:new _n("(",!0),q_tmpl:new _n("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new _n("function",!1),f_expr:new _n("function",!0),f_expr_gen:new _n("function",!0,!1,null,!0),f_gen:new _n("function",!1,!1,null,!0)},Bs=yt.prototype;Bs.initialContext=function(){return[ft.b_stat]},Bs.curContext=function(){return this.context[this.context.length-1]},Bs.braceIsBlock=function(e){var t=this.curContext();return t===ft.f_expr||t===ft.f_stat||(e!==S.colon||t!==ft.b_stat&&t!==ft.b_expr?e===S._return||e===S.name&&this.exprAllowed?sn.test(this.input.slice(this.lastTokEnd,this.start)):e===S._else||e===S.semi||e===S.eof||e===S.parenR||e===S.arrow||(e===S.braceL?t===ft.b_stat:e!==S._var&&e!==S._const&&e!==S.name&&!this.exprAllowed):!t.isExpr)},Bs.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Bs.updateContext=function(e){var t,n=this.type;n.keyword&&e===S.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},Bs.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},S.parenR.updateContext=S.braceR.updateContext=function(){if(this.context.length!==1){var e=this.context.pop();e===ft.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},S.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ft.b_stat:ft.b_expr),this.exprAllowed=!0},S.dollarBraceL.updateContext=function(){this.context.push(ft.b_tmpl),this.exprAllowed=!0},S.parenL.updateContext=function(e){var t=e===S._if||e===S._for||e===S._with||e===S._while;this.context.push(t?ft.p_stat:ft.p_expr),this.exprAllowed=!0},S.incDec.updateContext=function(){},S._function.updateContext=S._class.updateContext=function(e){!e.beforeExpr||e===S._else||e===S.semi&&this.curContext()!==ft.p_stat||e===S._return&&sn.test(this.input.slice(this.lastTokEnd,this.start))||(e===S.colon||e===S.braceL)&&this.curContext()===ft.b_stat?this.context.push(ft.f_stat):this.context.push(ft.f_expr),this.exprAllowed=!1},S.backQuote.updateContext=function(){this.curContext()===ft.q_tmpl?this.context.pop():this.context.push(ft.q_tmpl),this.exprAllowed=!1},S.star.updateContext=function(e){if(e===S._function){var t=this.context.length-1;this.context[t]===ft.f_expr?this.context[t]=ft.f_expr_gen:this.context[t]=ft.f_gen}this.exprAllowed=!0},S.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==S.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Ve=yt.prototype;function ZS(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&ZS(e.expression)}Ve.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement"||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,s=e.key;switch(s.type){case"Identifier":r=s.name;break;case"Literal":r=String(s.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)r==="__proto__"&&i==="init"&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];o?(i==="init"?this.strict&&o.init||o.get||o.set:o.init||o[i])&&this.raiseRecoverable(s.start,"Redefinition of property"):o=t[r]={init:!1,get:!1,set:!1},o[i]=!0}}},Ve.parseExpression=function(e,t){var n=this.start,r=this.startLoc,s=this.parseMaybeAssign(e,t);
57if(this.type===S.comma){var i=this.startNodeAt(n,r);for(i.expressions=[s];this.eat(S.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")}return s},Ve.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,s=-1,i=-1,o=-1;t?(s=t.parenthesizedAssign,i=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new To,r=!0);var c=this.start,u=this.startLoc;this.type!==S.parenL&&this.type!==S.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var l=this.parseMaybeConditional(e,t);if(n&&(l=n.call(this,l,c,u)),this.type.isAssign){var h=this.startNodeAt(c,u);return h.operator=this.value,this.type===S.eq&&(l=this.toAssignable(l,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===S.eq?this.checkLValPattern(l):this.checkLValSimple(l),h.left=l,this.next(),h.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(h,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),s>-1&&(t.parenthesizedAssign=s),i>-1&&(t.trailingComma=i),l},Ve.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(S.question)){var i=this.startNodeAt(n,r);return i.test=s,i.consequent=this.parseMaybeAssign(),this.expect(S.colon),i.alternate=this.parseMaybeAssign(e),this.finishNode(i,"ConditionalExpression")}return s},Ve.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===n&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,n,r,-1,e)},Ve.parseExprOp=function(e,t,n,r,s){var i=this.type.binop;if(i!=null&&(!s||this.type!==S._in)&&i>r){var o=this.type===S.logicalOR||this.type===S.logicalAND,c=this.type===S.coalesce;c&&(i=S.logicalAND.binop);var u=this.value;this.next();var l=this.start,h=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),l,h,i,s),d=this.buildBinary(t,n,e,p,u,o||c);return(o&&this.type===S.coalesce||c&&(this.type===S.logicalOR||this.type===S.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(d,t,n,r,s)}return e},Ve.buildBinary=function(e,t,n,r,s,i){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=n,o.operator=s,o.right=r,this.finishNode(o,i?"LogicalExpression":"BinaryExpression")},Ve.parseMaybeUnary=function(e,t,n,r){var s,i=this.start,o=this.startLoc;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(r),t=!0;else if(this.type.prefix){var c=this.startNode(),u=this.type===S.incDec;c.operator=this.value,c.prefix=!0,this.next(),c.argument=this.parseMaybeUnary(null,!0,u,r),this.checkExpressionErrors(e,!0),u?this.checkLValSimple(c.argument):this.strict&&c.operator==="delete"&&c.argument.type==="Identifier"?this.raiseRecoverable(c.start,"Deleting local variable in strict mode"):c.operator==="delete"&&ZS(c.argument)?this.raiseRecoverable(c.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(c,u?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==S.privateId){if(s=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(i,o);l.operator=this.value,l.prefix=!1,l.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(l,"UpdateExpression")}}else(r||this.privateNameStack.length===0)&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==S._in&&this.unexpected();return n||!this.eat(S.starstar)?s:t?void this.unexpected(this.lastTokStart):this.buildBinary(i,o,s,this.parseMaybeUnary(null,!1,!1,r),"**",!1)},Ve.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var i=this.parseSubscripts(s,n,r,!1,t);return e&&i.type==="MemberExpression"&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1),e.trailingComma>=i.start&&(e.trailingComma=-1)),i}
57,Ve.parseSubscripts=function(e,t,n,r,s){for(var i=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,o=!1;;){var c=this.parseSubscript(e,t,n,r,i,o,s);if(c.optional&&(o=!0),c===e||c.type==="ArrowFunctionExpression"){if(o){var u=this.startNodeAt(t,n);u.expression=c,c=this.finishNode(u,"ChainExpression")}return c}e=c}},Ve.parseSubscript=function(e,t,n,r,s,i,o){var c=this.options.ecmaVersion>=11,u=c&&this.eat(S.questionDot);r&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(S.bracketL);if(l||u&&this.type!==S.parenL&&this.type!==S.backQuote||this.eat(S.dot)){var h=this.startNodeAt(t,n);h.object=e,l?(h.property=this.parseExpression(),this.expect(S.bracketR)):this.type===S.privateId&&e.type!=="Super"?h.property=this.parsePrivateIdent():h.property=this.parseIdent(this.options.allowReserved!=="never"),h.computed=!!l,c&&(h.optional=u),e=this.finishNode(h,"MemberExpression")}else if(!r&&this.eat(S.parenL)){var p=new To,d=this.yieldPos,_=this.awaitPos,k=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(S.parenR,this.options.ecmaVersion>=8,!1,p);if(s&&!u&&!this.canInsertSemicolon()&&this.eat(S.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=_,this.awaitIdentPos=k,this.parseArrowExpression(this.startNodeAt(t,n),g,!0,o);this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=_||this.awaitPos,this.awaitIdentPos=k||this.awaitIdentPos;var y=this.startNodeAt(t,n);y.callee=e,y.arguments=g,c&&(y.optional=u),e=this.finishNode(y,"CallExpression")}else if(this.type===S.backQuote){(u||i)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var E=this.startNodeAt(t,n);E.tag=e,E.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(E,"TaggedTemplateExpression")}return e},Ve.parseExprAtom=function(e,t){this.type===S.slash&&this.readRegexp();var n,r=this.potentialArrowAt===this.start;switch(this.type){case S._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type!==S.parenL||this.allowDirectSuper||this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==S.dot&&this.type!==S.bracketL&&this.type!==S.parenL&&this.unexpected(),this.finishNode(n,"Super");case S._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case S.name:var s=this.start,i=this.startLoc,o=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&c.name==="async"&&!this.canInsertSemicolon()&&this.eat(S._function))return this.overrideContext(ft.f_expr),this.parseFunction(this.startNodeAt(s,i),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(S.arrow))return this.parseArrowExpression(this.startNodeAt(s,i),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name==="async"&&this.type===S.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return c=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(S.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,i),[c],!0,t)}return c;case S.regexp:var u=this.value;return(n=this.parseLiteral(u.value)).regex={pattern:u.pattern,flags:u.flags},n;case S.num:case S.string:return this.parseLiteral(this.value);case S._null:case S._true:case S._false:return(n=this.startNode()).value=this.type===S._null?null:this.type===S._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case S.parenL:var l=this.start,h=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),h;case S.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(S.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case S.braceL:return this.overrideContext(ft.b_expr),this.parseObj(!1,e);case S._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case S._class:return this.parseClass(this.startNode(),!1);case S._new:return this.parseNew();case S.backQuote:return this.parseTemplate();case S._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Ve.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case S.parenL:return this.parseDynamicImport(e);case S.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Ve.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(S.parenR)){var t=this.start;this.eat(S.comma)&&this.eat(S.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Ve.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Ve.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Ve.parseParenExpression=function(){this.expect(S.parenL);var e=this.parseExpression();return this.expect(S.parenR),e}
57,Ve.parseParenAndDistinguishExpression=function(e,t){var n,r=this.start,s=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,c=this.start,u=this.startLoc,l=[],h=!0,p=!1,d=new To,_=this.yieldPos,k=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==S.parenR;){if(h?h=!1:this.expect(S.comma),i&&this.afterTrailingComma(S.parenR,!0)){p=!0;break}if(this.type===S.ellipsis){o=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===S.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var g=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(S.parenR),e&&!this.canInsertSemicolon()&&this.eat(S.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=_,this.awaitPos=k,this.parseParenArrowList(r,s,l,t);l.length&&!p||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(d,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=k||this.awaitPos,l.length>1?((n=this.startNodeAt(c,u)).expressions=l,this.finishNodeAt(n,"SequenceExpression",g,y)):n=l[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var E=this.startNodeAt(r,s);return E.expression=n,this.finishNode(E,"ParenthesizedExpression")}return n},Ve.parseParenItem=function(e){return e},Ve.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var rN=[];Ve.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(S.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,s=this.startLoc,i=this.type===S._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,s,!0,!1),i&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(S.parenL)?e.arguments=this.parseExprList(S.parenR,this.options.ecmaVersion>=8,!1):e.arguments=rN,this.finishNode(e,"NewExpression")},Ve.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===S.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
58`),cooked:this.value},this.next(),n.tail=this.type===S.backQuote,this.finishNode(n,"TemplateElement")},Ve.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===S.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(S.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(S.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Ve.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===S.name||this.type===S.num||this.type===S.string||this.type===S.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===S.star)&&!sn.test(this.input.slice(this.lastTokEnd,this.start))},Ve.parseObj=function(e,t){var n=this.startNode(),r=!0,s={};for(n.properties=[],this.next();!this.eat(S.braceR);){if(r)r=!1;else if(this.expect(S.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(S.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,s,t),n.properties.push(i)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},Ve.parseProperty=function(e,t){var n,r,s,i,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(S.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===S.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(o.argument=this.parseMaybeAssign(!1,t),this.type===S.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(s=this.start,i=this.startLoc),e||(n=this.eat(S.star)));var c=this.containsEsc;return this.parsePropertyName(o),!e&&!c&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(S.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,s,i,t,c),this.finishNode(o,"Property")},Ve.parsePropertyValue=function(e,t,n,r,s,i,o,c){if((n||r)&&this.type===S.colon&&this.unexpected(),this.eat(S.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===S.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||c||!(this.options.ecmaVersion>=5)||e.computed||e.key.type!=="Identifier"||e.key.name!=="get"&&e.key.name!=="set"||this.type===S.comma||this.type===S.braceR||this.type===S.eq)this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,i,this.copyNode(e.key)):this.type===S.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var l=e.value.start;e.kind==="get"?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Ve.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(S.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(S.bracketR),e.key;e.computed=!1}return e.key=this.type===S.num||this.type===S.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Ve.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Ve.parseMethod=function(e,t,n){var r=this.startNode(),s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|hp(t,r.generator)|(n?128:0)),this.expect(S.parenL),r.params=this.parseBindingList(S.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")},Ve.parseArrowExpression=function(e,t,n,r){var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(16|hp(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Ve.parseFunctionBody=function(e,t,n,r){var s=t&&this.type!==S.braceL,i=this.strict,o=!1;if(s)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var c=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!c||(o=this.strictDirective(this.end))&&c&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var u=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()},Ve.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1)if(n[t].type!=="Identifier")return!1;return!0},Ve.checkParams=function(e,t){for(var n=Object.create(null),r=0,s=e.params;r<s.length;r+=1){var i=s[r];this.checkLValInnerPattern(i,1,t?null:n)}},Ve.parseExprList=function(e,t,n,r){for(var s=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(S.comma),t&&this.afterTrailingComma(e))break;var o=void 0;n&&this.type===S.comma?o=null:this.type===S.ellipsis?(o=this.parseSpread(r),r&&this.type===S.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),s.push(o)}return s},Ve.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;
58this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&r==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||r!=="arguments"&&r!=="await"||this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(this.inAsync||r!=="await"||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))},Ve.parseIdent=function(e,t){var n=this.startNode();return this.type===S.name?n.name=this.value:this.type.keyword?(n.name=this.type.keyword,n.name!=="class"&&n.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(n,"Identifier"),e||(this.checkUnreserved(n),n.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=n.start)),n},Ve.parsePrivateIdent=function(){var e=this.startNode();return this.type===S.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e},Ve.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===S.semi||this.canInsertSemicolon()||this.type!==S.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(S.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Ve.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Ro=yt.prototype;Ro.raise=function(e,t){var n=lp(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},Ro.raiseRecoverable=Ro.raise,Ro.curPosition=function(){if(this.options.locations)return new js(this.curLine,this.pos-this.lineStart)};var xr=yt.prototype,sN=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};xr.enterScope=function(e){this.scopeStack.push(new sN(e))},xr.exitScope=function(){this.scopeStack.pop()},xr.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},xr.declareName=function(e,t,n){var r=!1;if(t===2){var s=this.currentScope();r=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e]}else if(t===4)this.currentScope().lexical.push(e);else if(t===3){var i=this.currentScope();r=this.treatFunctionsAsVar?i.lexical.indexOf(e)>-1:i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var c=this.scopeStack[o];if(c.lexical.indexOf(e)>-1&&!(32&c.flags&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=!0;break}if(c.var.push(e),this.inModule&&1&c.flags&&delete this.undefinedExports[e],259&c.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},xr.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},xr.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},xr.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},xr.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var Fi=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Li(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},qi=yt.prototype;function eI(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}qi.startNode=function(){return new Fi(this,this.start,this.startLoc)},qi.startNodeAt=function(e,t){return new Fi(this,e,t)},qi.finishNode=function(e,t){return eI.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},qi.finishNodeAt=function(e,t,n,r){return eI.call(this,e,t,n,r)},qi.copyNode=function(e){var t=new Fi(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var tI="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE L
58owercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",dp=tI+" Extended_Pictographic",nI=dp+" EBase EComp EMod EPres ExtPict",iN={9:tI,10:dp,11:dp,12:nI,13:nI},rI="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",sI="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",iI=sI+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",aI=iI+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",oI=aI+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",aN={9:sI,10:iI,11:aI,12:oI,13:oI+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith"},cI={};function oN(e){var t=cI[e]={binary:as(iN[e]+" "+rI),nonBinary:{General_Category:as(rI),Script:as(aN[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var mp=0,uI=[9,10,11,12,13];mp<uI.length;mp+=1)oN(uI[mp]);var Pe=yt.prototype,cr=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=cI[e.options.ecmaVersion>=13?13:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function lI(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function hI(e){return e>=65&&e<=90||e>=97&&e<=122}function fI(e){return hI(e)||e===95}function cN(e){return fI(e)||No(e)}function No(e){return e>=48&&e<=57}function pI(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function dI(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function mI(e){return e>=48&&e<=55}cr.prototype.reset=function(e,t,n){var r=n.indexOf("u")!==-1;this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},cr.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},cr.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var s=n.charCodeAt(e);if(!t&&!this.switchU||s<=55295||s>=57344||e+1>=r)return s;var i=n.charCodeAt(e+1);return i>=56320&&i<=57343?(s<<10)+i-56613888:s},cr.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var s,i=n.charCodeAt(e);return!t&&!this.switchU||i<=55295||i>=57344||e+1>=r||(s=n.charCodeAt(e+1))<56320||s>57343?e+1:e+2},cr.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},cr.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},cr.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},cr.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Pe.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r<n.length;r++){var s=n.charAt(r);t.indexOf(s)===-1&&this.raise(e.start,"Invalid regular expression flag"),n.indexOf(s,r+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},Pe.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Pe.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames.indexOf(r)===-1&&e.raise("Invalid named capture referenced")}},Pe.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},Pe.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Pe.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},Pe.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;
58if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Pe.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Pe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Pe.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=n}return!1},Pe.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},Pe.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Pe.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},Pe.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Pe.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Pe.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Pe.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!lI(t)&&(e.lastIntValue=t,e.advance(),!0)},Pe.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!lI(n);)e.advance();return e.pos!==t},Pe.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(t===-1||t===36||t>=40&&t<=43||t===46||t===63||t===91||t===94||t===124)&&(e.advance(),!0)},Pe.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Pe.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Pe.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=_r(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=_r(e.lastIntValue);return!0}return!1},Pe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),(function(s){return Gn(s,!0)||s===36||s===95})(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Pe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),(function(s){return ss(s,!0)||s===36||s===95||s===8204||s===8205})(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Pe.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Pe.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>
58e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Pe.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Pe.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Pe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Pe.regexp_eatZero=function(e){return e.current()===48&&!No(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Pe.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114&&(e.lastIntValue=13,e.advance(),!0)},Pe.regexp_eatControlLetter=function(e){var t=e.current();return!!hI(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Pe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n,r=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(s&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var c=e.lastIntValue;if(c>=56320&&c<=57343)return e.lastIntValue=1024*(i-55296)+(c-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(n=e.lastIntValue)>=0&&n<=1114111)return!0;s&&e.raise("Invalid unicode escape"),e.pos=r}return!1},Pe.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(t===99||e.switchN&&t===107)&&(e.lastIntValue=t,e.advance(),!0)},Pe.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},Pe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if((function(n){return n===100||n===68||n===115||n===83||n===119||n===87})(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Pe.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1},Pe.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){Di(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},Pe.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},Pe.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";fI(t=e.current());)e.lastStringValue+=_r(t),e.advance();return e.lastStringValue!==""},Pe.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";cN(t=e.current());)e.lastStringValue+=_r(t),e.advance();return e.lastStringValue!==""},Pe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Pe.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Pe.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||t!==-1&&n!==-1||e.raise("Invalid character class"),t!==-1&&n!==-1&&t>n&&e.raise("Range out of order in character class")}}},Pe.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;
58if(e.switchU){var n=e.current();(n===99||mI(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93&&(e.lastIntValue=r,e.advance(),!0)},Pe.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Pe.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!No(t)&&t!==95)&&(e.lastIntValue=t%32,e.advance(),!0)},Pe.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Pe.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;No(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},Pe.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;pI(n=e.current());)e.lastIntValue=16*e.lastIntValue+dI(n),e.advance();return e.pos!==t},Pe.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},Pe.regexp_eatOctalDigit=function(e){var t=e.current();return mI(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Pe.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var s=e.current();if(!pI(s))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+dI(s),e.advance()}return!0};var Oo=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Li(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Qe=yt.prototype;function gI(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}Qe.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Oo(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Qe.getToken=function(){return this.next(),new Oo(this)},typeof Symbol<"u"&&(Qe[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===S.eof,value:t}}}}),Qe.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(S.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Qe.readToken=function(e){return Gn(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},Qe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},Qe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(var r=void 0,s=t;(r=KS(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},Qe.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!is(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},Qe.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&up.test(String.fromCharCode(e))))break e;++this.pos}}},Qe.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Qe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(S.ellipsis)):(++this.pos,this.finishToken(S.dot))},Qe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(S.assign,2):this.finishOp(S.slash,1)},Qe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?S.star:S.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=S.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(S.assign,n+1):this.finishOp(r,n)},Qe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(S.assign,3):this.finishOp(e===124?S.logicalOR:S.logicalAND,2):t===61?this.finishOp(S.assign,2):this.finishOp(e===124?S.bitwiseOR:S.bitwiseAND,1)},Qe.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(S.assign,2):this.finishOp(S.bitwiseXOR,1)},Qe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!sn.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(S.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):t===61?this.finishOp(S.assign,2):this.finishOp(S.plusMin,1)},Qe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(S.assign,n+1):this.finishOp(S.bitShift,n)):t!==33||e!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(t===61&&(n=2),this.finishOp(S.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Qe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(S.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(S.arrow)):this.finishOp(e===61?S.eq:S.prefix,1)},Qe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);
58if(n<48||n>57)return this.finishOp(S.questionDot,2)}if(t===63)return e>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(S.assign,3):this.finishOp(S.coalesce,2)}return this.finishOp(S.question,1)},Qe.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,Gn(e=this.fullCharCodeAtPos(),!0)||e===92))return this.finishToken(S.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+_r(e)+"'")},Qe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(S.parenL);case 41:return++this.pos,this.finishToken(S.parenR);case 59:return++this.pos,this.finishToken(S.semi);case 44:return++this.pos,this.finishToken(S.comma);case 91:return++this.pos,this.finishToken(S.bracketL);case 93:return++this.pos,this.finishToken(S.bracketR);case 123:return++this.pos,this.finishToken(S.braceL);case 125:return++this.pos,this.finishToken(S.braceR);case 58:return++this.pos,this.finishToken(S.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(S.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(S.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+_r(e)+"'")},Qe.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Qe.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(sn.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var s=this.input.slice(n,this.pos);++this.pos;var i=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(i);var c=this.regexpState||(this.regexpState=new cr(this));c.reset(n,s,o),this.validateRegExpFlags(c),this.validateRegExpPattern(c);var u=null;try{u=new RegExp(s,o)}catch{}return this.finishToken(S.regexp,{pattern:s,flags:o,value:u})},Qe.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,s=n&&this.input.charCodeAt(this.pos)===48,i=this.pos,o=0,c=0,u=0,l=t??1/0;u<l;++u,++this.pos){var h=this.input.charCodeAt(this.pos),p=void 0;if(r&&h===95)s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),c===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),c=h;else{if((p=h>=97?h-97+10:h>=65?h-65+10:h>=48&&h<=57?h-48:1/0)>=e)break;c=h,o=o*e+p}}return r&&c===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===i||t!=null&&this.pos-i!==t?null:o},Qe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=gI(this.input.slice(t,this.pos)),++this.pos):Gn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(S.num,n)},Qe.readNumber=function(e){var t=this.pos;e||this.readInt(10,void 0,!0)!==null||this.raise(t,"Invalid number");var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var s=gI(this.input.slice(t,this.pos));return++this.pos,Gn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(S.num,s)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r!==46||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),r!==69&&r!==101||n||((r=this.input.charCodeAt(++this.pos))!==43&&r!==45||++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Gn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i,o=(i=this.input.slice(t,this.pos),n?parseInt(i,8):parseFloat(i.replace(/_/g,"")));return this.finishToken(S.num,o)},Qe.readCodePoint=function(){var e;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Qe.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(is(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(S.string,t)};var vI={};Qe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==vI)throw e;
58this.readInvalidTemplateToken()}this.inTemplateElement=!1},Qe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw vI;this.raise(e,t)},Qe.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==S.template&&this.type!==S.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(S.template,e)):n===36?(this.pos+=2,this.finishToken(S.dollarBraceL)):(++this.pos,this.finishToken(S.backQuote));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(is(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
59`;break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Qe.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(S.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Qe.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
60`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return _r(this.readCodePoint());case 116:return"	";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var n=this.pos-1;return this.invalidStringToken(n,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);return s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),r==="0"&&t!==56&&t!==57||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return is(t)?"":String.fromCharCode(t)}},Qe.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,"Bad character escape sequence"),n},Qe.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(ss(s,r))this.pos+=s<=65535?1:2;else{if(s!==92)break;this.containsEsc=!0,e+=this.input.slice(n,this.pos);var i=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?Gn:ss)(o,r)||this.invalidStringToken(i,"Invalid Unicode escape"),e+=_r(o),n=this.pos}t=!1}return e+this.input.slice(n,this.pos)},Qe.readWord=function(){var e=this.readWord1(),t=S.name;return this.keywords.test(e)&&(t=Ao[e]),this.finishToken(t,e)};var yI="8.8.1";yt.acorn={Parser:yt,version:yI,defaultOptions:Po,Position:js,SourceLocation:Li,getLineInfo:lp,Node:Fi,TokenType:Ye,tokTypes:S,keywordTypes:Ao,TokContext:_n,tokContexts:ft,isIdentifierChar:ss,isIdentifierStart:Gn,Token:Oo,isNewLine:is,lineBreak:sn,lineBreakG:HS,nonASCIIwhitespace:up};var uN=Object.freeze({__proto__:null,Node:Fi,Parser:yt,Position:js,SourceLocation:Li,TokContext:_n,Token:Oo,TokenType:Ye,defaultOptions:Po,getLineInfo:lp,isIdentifierChar:ss,isIdentifierStart:Gn,isNewLine:is,keywordTypes:Ao,lineBreak:sn,lineBreakG:HS,nonASCIIwhitespace:up,parse:function(e,t){return yt.parse(e,t)},parseExpressionAt:function(e,t,n){return yt.parseExpressionAt(e,t,n)},tokContexts:ft,tokTypes:S,tokenizer:function(e,t){return yt.tokenizer(e,t)},version:yI});const $o=e=>()=>ve((function(t){return{code:"NO_FS_IN_BROWSER",message:`Cannot access the file system (via "${t}") when using the browser build of Rollup. Make sure you supply a plugin with custom resolveId and load hooks to Rollup.`,url:Ft("plugin-development/#a-simple-example")}}
60)(e)),lN=$o("fs.mkdir"),hN=$o("fs.readFile"),fN=$o("fs.writeFile");async function _I(e,t,n,r,s,i,o,c,u){const l=await(function(h,p,d,_,k,g,y,E){let I=null,v=null;if(k){I=new Set;for(const x of k)h===x.source&&p===x.importer&&I.add(x.plugin);v=(x,b)=>({...x,resolve:(A,P,{assertions:F,custom:N,isEntry:z,skipSelf:B}=Bt)=>_(A,P,N,z,F||tn,B?[...k,{importer:P,plugin:b,source:A}]:k)})}return d.hookFirstAndGetPlugin("resolveId",[h,p,{assertions:E,custom:g,isEntry:y}],v,I)})(e,t,r,s,i,o,c,u);return l==null?$o("path.resolve")():l[0]}const gp="at position ",vp="at output position ",pN={delete:()=>!1,get(){},has:()=>!1,set(){}};function Do(e){return e.startsWith(gp)||e.startsWith(vp)?ve({code:"ANONYMOUS_PLUGIN_CACHE",message:"A plugin is trying to use the Rollup cache but is not declaring a plugin name or cacheKey."}):ve({code:"DUPLICATE_PLUGIN_NAME",message:`The plugin name ${e} is being used twice in the same build. Plugin names must be distinct or provide a cacheKey (please post an issue to the plugin if you are a plugin user).`})}async function dN(e,t,n,r){const s=t.id,i=[];let o=e.map===null?null:ip(e.map);const c=e.code;let u=e.ast;const l=[],h=[];let p=!1;const d=()=>p=!0;let _="";const k=e.code;let g;try{g=await n.hookReduceArg0("transform",[k,s],(function(y,E,I){let v,x;if(typeof E=="string")v=E;else{if(!E||typeof E!="object")return y;if(t.updateOptions(E),E.code==null)return(E.map||E.ast)&&r((function(b){return{code:"NO_TRANSFORM_MAP_OR_AST_WITHOUT_CODE",message:`The plugin "${b}" returned a "map" or "ast" without returning a "code". This will be ignored.`}})(I.name)),y;({code:v,map:x,ast:u}=E)}return x!==null&&i.push(ip(typeof x=="string"?JSON.parse(x):x)||{missing:!0,plugin:I.name}),v}),((y,E)=>{return _=E.name,{...y,addWatchFile(x){l.push(x),y.addWatchFile(x)},cache:p?y.cache:(I=y.cache,v=d,{delete:x=>(v(),I.delete(x)),get:x=>(v(),I.get(x)),has:x=>(v(),I.has(x)),set:(x,b)=>(v(),I.set(x,b))}),emitFile:x=>(h.push(x),n.emitFile(x)),error:(x,b)=>(typeof x=="string"&&(x={message:x}),b&&Fa(x,b,k,s),x.id=s,x.hook="transform",y.error(x)),getCombinedSourcemap(){const x=(function(b,A,P,F,N){return F.length===0?P:{version:3,...RS(b,A,P,F,CS(N)).traceMappings()}})(s,c,o,i,r);return x?(o!==x&&(o=x,i.length=0),new Na({...x,file:null,sourcesContent:x.sourcesContent})):new Gr(c).generateMap({hires:!0,includeContent:!0,source:s})},setAssetSource(){return this.error({code:"INVALID_SETASSETSOURCE",message:"setAssetSource cannot be called in transform for caching reasons. Use emitFile with a source, or call setAssetSource in another hook."})},warn(x,b){typeof x=="string"&&(x={message:x}),b&&Fa(x,b,k,s),x.id=s,x.hook="transform",y.warn(x)}};var I,v}))}catch(y){return ve(Ba(y,_,{hook:"transform",id:s}))}return!p&&h.length>0&&(t.transformFiles=h),{ast:u,code:g,customTransformCache:p,originalCode:c,originalSourcemap:o,sourcemapChain:i,transformDependencies:l}}const yp="resolveDependencies";class mN{constructor(t,n,r,s){this.graph=t,this.modulesById=n,this.options=r,this.pluginDriver=s,this.implicitEntryModules=new Set,this.indexedEntryModules=[],this.latestLoadModulesPromise=Promise.resolve(),this.moduleLoadPromises=new Map,this.modulesWithLoadedDependencies=new Set,this.nextChunkNamePriority=0,this.nextEntryModuleIndex=0,this.resolveId=async(i,o,c,u,l,h=null)=>this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(!this.options.external(i,o,!1)&&await _I(i,o,this.options.preserveSymlinks,this.pluginDriver,this.resolveId,h,c,typeof u=="boolean"?u:!o,l),o,i),l),this.hasModuleSideEffects=r.treeshake?r.treeshake.moduleSideEffects:()=>!0}async addAdditionalModules(t){const n=this.extendLoadModulesPromise(Promise.all(t.map((r=>this.loadEntryModule(r,!1,void 0,null)))));return await this.awaitLoadModulesPromise(),n}async addEntryModules(t,n){const r=this.nextEntryModuleIndex;this.nextEntryModuleIndex+=t.length;const s=this.nextChunkNamePriority;this.nextChunkNamePriority+=t.length;const i=await this.extendLoadModulesPromise(Promise.all(t.map((({id:o,importer:c})=>this.loadEntryModule(o,!0,c,null)))).then((o=>{for(const[c,u]of o.entries()){u.isUserDefinedEntryPoint=u.isUserDefinedEntryPoint||n,bI(u,t[c],n,s+c);const l=this.indexedEntryModules.find((h=>h.module===u));l?l.index=Math.min(l.index,r+c):this.indexedEntryModules.push({index:r+c,module:u})}return this.indexedEntryModules.sort((({index:c},{index:u})=>c>u?1:-1)),o})));return await this.awaitLoadModulesPromise(),{entryModules:this.indexedEntryModules.map((({module:o})=>
60o)),implicitEntryModules:[...this.implicitEntryModules],newEntryModules:i}}async emitChunk({fileName:t,id:n,importer:r,name:s,implicitlyLoadedAfterOneOf:i,preserveSignature:o}){const c={fileName:t||null,id:n,importer:r,name:s||null},u=i?await this.addEntryWithImplicitDependants(c,i):(await this.addEntryModules([c],!1)).newEntryModules[0];return o!=null&&(u.preserveSignature=o),u}async preloadModule(t){return(await this.fetchModule(this.getResolvedIdWithDefaults(t,tn),void 0,!1,!t.resolveDependencies||yp)).info}addEntryWithImplicitDependants(t,n){const r=this.nextChunkNamePriority++;return this.extendLoadModulesPromise(this.loadEntryModule(t.id,!1,t.importer,null).then((async s=>{if(bI(s,t,!1,r),!s.info.isEntry){this.implicitEntryModules.add(s);const i=await Promise.all(n.map((o=>this.loadEntryModule(o,!1,t.importer,s.id))));for(const o of i)s.implicitlyLoadedAfter.add(o);for(const o of s.implicitlyLoadedAfter)o.implicitlyLoadedBefore.add(s)}return s})))}async addModuleSource(t,n,r){let s;try{s=await this.graph.fileOperationQueue.run((async()=>await this.pluginDriver.hookFirst("load",[t])??await hN(t,"utf8")))}catch(c){let u=`Could not load ${t}`;throw n&&(u+=` (imported by ${je(n)})`),u+=`: ${c.message}`,c.message=u,c}const i=typeof s=="string"?{code:s}:s!=null&&typeof s=="object"&&typeof s.code=="string"?s:ve((function(c){return{code:"BAD_LOADER",message:`Error loading "${je(c)}": plugin load hook should return a string, a { code, map } object, or nothing/null.`}})(t)),o=this.graph.cachedModules.get(t);if(!o||o.customTransformCache||o.originalCode!==i.code||await this.pluginDriver.hookFirst("shouldTransformCachedModule",[{ast:o.ast,code:o.code,id:o.id,meta:o.meta,moduleSideEffects:o.moduleSideEffects,resolvedSources:o.resolvedIds,syntheticNamedExports:o.syntheticNamedExports}]))r.updateOptions(i),r.setSource(await dN(i,r,this.pluginDriver,this.options.onwarn));else{if(o.transformFiles)for(const c of o.transformFiles)this.pluginDriver.emitFile(c);r.setSource(o)}}async awaitLoadModulesPromise(){let t;do t=this.latestLoadModulesPromise,await t;while(t!==this.latestLoadModulesPromise)}extendLoadModulesPromise(t){return this.latestLoadModulesPromise=Promise.all([t,this.latestLoadModulesPromise]),this.latestLoadModulesPromise.catch((()=>{})),t}async fetchDynamicDependencies(t,n){const r=await Promise.all(n.map((s=>s.then((async([i,o])=>o===null?null:typeof o=="string"?(i.resolution=o,null):i.resolution=await this.fetchResolvedDependency(je(o.id),t.id,o))))));for(const s of r)s&&(t.dynamicDependencies.add(s),s.dynamicImporters.push(t.id))}async fetchModule({assertions:t,id:n,meta:r,moduleSideEffects:s,syntheticNamedExports:i},o,c,u){const l=this.modulesById.get(n);if(l instanceof kt)return o&&fo(t,l.info.assertions)&&this.options.onwarn(qa(l.info.assertions,t,n,o)),await this.handleExistingModule(l,c,u),l;const h=new kt(this.graph,n,this.options,c,s,i,r,t);this.modulesById.set(n,h),this.graph.watchFiles[n]=!0;const p=this.addModuleSource(n,o,h).then((()=>[this.getResolveStaticDependencyPromises(h),this.getResolveDynamicImportPromises(h),d])),d=EI(p).then((()=>this.pluginDriver.hookParallel("moduleParsed",[h.info])));d.catch((()=>{})),this.moduleLoadPromises.set(h,p);const _=await p;return u?u===yp&&await d:await this.fetchModuleDependencies(h,..._),h}async fetchModuleDependencies(t,n,r,s){this.modulesWithLoadedDependencies.has(t)||(this.modulesWithLoadedDependencies.add(t),await Promise.all([this.fetchStaticDependencies(t,n),this.fetchDynamicDependencies(t,r)]),t.linkImports(),await s)}fetchResolvedDependency(t,n,r){if(r.external){const{assertions:s,external:i,id:o,moduleSideEffects:c,meta:u}=r;let l=this.modulesById.get(o);if(l){if(!(l instanceof vt))return ve((function(h,p){return{code:"INVALID_EXTERNAL_ID",message:`"${h}" is imported as an external by "${je(p)}", but is already an existing non-external module id.`}})(t,n));fo(l.info.assertions,s)&&this.options.onwarn(qa(l.info.assertions,s,t,n))}else l=new vt(this.options,o,c,u,i!=="absolute"&&fr(o),s),this.modulesById.set(o,l);return Promise.resolve(l)}return this.fetchModule(r,n,!1,!1)}async fetchStaticDependencies(t,n){for(const r of await Promise.all(n.map((s=>
60s.then((([i,o])=>this.fetchResolvedDependency(i,t.id,o)))))))t.dependencies.add(r),r.importers.push(t.id);if(!this.options.treeshake||t.info.moduleSideEffects==="no-treeshake")for(const r of t.dependencies)r instanceof kt&&(r.importedFromNotTreeshaken=!0)}getNormalizedResolvedIdWithoutDefaults(t,n,r){const{makeAbsoluteExternalsRelative:s}=this.options;if(t){if(typeof t=="object"){const c=t.external||this.options.external(t.id,n,!0);return{...t,external:c&&(c==="relative"||!fr(t.id)||c===!0&&_p(t.id,r,s)||"absolute")}}const o=this.options.external(t,n,!0);return{external:o&&(_p(t,r,s)||"absolute"),id:o&&s?xI(t,n):t}}const i=s?xI(r,n):r;return t===!1||this.options.external(i,n,!0)?{external:_p(i,r,s)||"absolute",id:i}:null}getResolveDynamicImportPromises(t){return t.dynamicImports.map((async n=>{const r=await this.resolveDynamicImport(t,typeof n.argument=="string"?n.argument:n.argument.esTreeNode,t.id,(function(s){var c,u,l;const i=(l=(u=(c=s.arguments)==null?void 0:c[0])==null?void 0:u.properties.find((h=>Wf(h)==="assert")))==null?void 0:l.value;if(!i)return tn;const o=i.properties.map((h=>{const p=Wf(h);return typeof p=="string"&&typeof h.value.value=="string"?[p,h.value.value]:null})).filter((h=>!!h));return o.length>0?Object.fromEntries(o):tn})(n.node));return r&&typeof r=="object"&&(n.id=r.id),[n,r]}))}getResolveStaticDependencyPromises(t){return Array.from(t.sourcesWithAssertions,(async([n,r])=>[n,t.resolvedIds[n]=t.resolvedIds[n]||this.handleInvalidResolvedId(await this.resolveId(n,t.id,tn,!1,r),n,t.id,r)]))}getResolvedIdWithDefaults(t,n){if(!t)return null;const r=t.external||!1;return{assertions:t.assertions||n,external:r,id:t.id,meta:t.meta||{},moduleSideEffects:t.moduleSideEffects??this.hasModuleSideEffects(t.id,!!r),resolvedBy:t.resolvedBy??"rollup",syntheticNamedExports:t.syntheticNamedExports??!1}}async handleExistingModule(t,n,r){const s=this.moduleLoadPromises.get(t);if(r)return r===yp?EI(s):s;if(n){t.info.isEntry=!0,this.implicitEntryModules.delete(t);for(const i of t.implicitlyLoadedAfter)i.implicitlyLoadedBefore.delete(t);t.implicitlyLoadedAfter.clear()}return this.fetchModuleDependencies(t,...await s)}handleInvalidResolvedId(t,n,r,s){return t===null?Bh(n)?ve((function(i,o){return{code:GE,exporter:i,id:o,message:`Could not resolve "${i}" from "${je(o)}"`}})(n,r)):(this.options.onwarn((function(i,o){return{code:GE,exporter:i,id:o,message:`"${i}" is imported by "${je(o)}", but could not be resolved – treating it as an external dependency.`,url:Ft("troubleshooting/#warning-treating-module-as-external-dependency")}})(n,r)),{assertions:s,external:!0,id:n,meta:{},moduleSideEffects:this.hasModuleSideEffects(n,!0),resolvedBy:"rollup",syntheticNamedExports:!1}):(t.external&&t.syntheticNamedExports&&this.options.onwarn((function(i,o){return{code:"EXTERNAL_SYNTHETIC_EXPORTS",exporter:i,message:`External "${i}" cannot have "syntheticNamedExports" enabled (imported by "${je(o)}").`}})(n,r)),t)}async loadEntryModule(t,n,r,s){const i=await _I(t,r,this.options.preserveSymlinks,this.pluginDriver,this.resolveId,null,tn,!0,tn);return i==null?ve(s===null?(function(o){return{code:UE,message:`Could not resolve entry module "${je(o)}".`}})(t):(function(o,c){return{code:sf,message:`Module "${je(o)}" that should be implicitly loaded before "${je(c)}" could not be resolved.`}})(t,s)):i===!1||typeof i=="object"&&i.external?ve(s===null?(function(o){return{code:UE,message:`Entry module "${je(o)}" cannot be external.`}})(t):(function(o,c){return{code:sf,message:`Module "${je(o)}" that should be implicitly loaded before "${je(c)}" cannot be external.`}})(t,s)):this.fetchModule(this.getResolvedIdWithDefaults(typeof i=="object"?i:{id:i},tn),void 0,n,!1)}async resolveDynamicImport(t,n,r,s){const i=await this.pluginDriver.hookFirst("resolveDynamicImport",[n,r,{assertions:s}]);if(typeof n!="string")return typeof i=="string"?i:i?this.getResolvedIdWithDefaults(i,s):null;if(i==null){const o=t.resolvedIds[n];return o?(fo(o.assertions,s)&&this.options.onwarn(qa(o.assertions,s,n,r)),o):t.resolvedIds[n]=this.handleInvalidResolvedId(await this.resolveId(n,t.id,tn,!1,s),n,t.id,s)}return this.handleInvalidResolvedId(this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(i,r,n),s),n,r,s)}}function xI(e,t){return Bh(e)?t?En(t,"..",e):En(e):e}function bI(e,{fileName:t,name:n},r,s){var i;if(t!==null)e.chunkFileNames.add(t);else if(n!==null){let o=0;for(;((i=e.chunkNames[o])==null?void 0:i.priority)<s;)o++;e.chunkNames.splice(o,0,{isUserDefined:r,name:n,priority:s})}}function _p(e,t,n){return n===!0||n==="ifRelativeSource"&&Bh(t)||!fr(e)}async function EI(e){const[t,n]=await e;return Promise.all([...t,...n])}class gN extends vk{constructor(){super(),this.parent=null,this.variables.set("undefined",new eS)}findVariable(t){let n=this.variables.get(t);return n||(n=new kf(t),this.variables.set(t,n)),n}}function kI(e,{bundle:t},n){t[ko].has(e.toLowerCase())?n((function(r){return{code:"FILE_NAME_CONFLICT",message:`The emitted file "${r}" overwrites a previously emitted file of the same name.`}})(e)):t[e]=tp}function SI(e,t,n){if(!(typeof e=="string"||e instanceof Uint8Array)){const r=t.fileName||t.name||n;return ve(dn(`Could not set source for ${typeof r=="string"?`asset "${r}"`:"unnamed asset"}, asset source needs to be a string, Uint8Array or Buffer.`))}return e}class vN{constructor(t,n,r){this.graph=t,this.options=n,this.facadeChunkByModule=null,this.nextIdBase=1,this.output=null,this.outputFileEmitters=[],this.emitFile=s=>(function(i){return!!(i&&(i.type==="asset"||i.type==="chunk"))})(s)?(function(i){const o=i.fileName||i.name;
60return!o||typeof o=="string"&&!zh(o)})(s)?s.type==="chunk"?this.emitChunk(s):this.emitAsset(s):ve(dn(`The "fileName" or "name" properties of emitted files must be strings that are neither absolute nor relative paths, received "${s.fileName||s.name}".`)):ve(dn(`Emitted files must be of type "asset" or "chunk", received "${s&&s.type}".`)),this.finaliseAssets=()=>{for(const[s,i]of this.filesByReferenceId)if(i.type==="asset"&&typeof i.fileName!="string")return ve({code:"ASSET_SOURCE_MISSING",message:`Plugin error creating asset "${i.name||s}" - no asset source set.`})},this.getFileName=s=>{const i=this.filesByReferenceId.get(s);return i?i.type==="chunk"?(o=i,c=this.facadeChunkByModule,o.fileName?o.fileName:c?c.get(o.module).getFileName():ve({code:"CHUNK_NOT_GENERATED",message:`Plugin error - Unable to get file name for emitted chunk "${o.fileName||o.name}". You can only get file names once chunks have been generated after the "renderStart" hook.`})):(function(u,l){return typeof u.fileName!="string"?ve({code:"ASSET_NOT_FINALISED",message:`Plugin error - Unable to get file name for asset "${u.name||l}". Ensure that the source is set and that generate is called first. If you reference assets via import.meta.ROLLUP_FILE_URL_<referenceId>, you need to either have set their source after "renderStart" or need to provide an explicit "fileName" when emitting them.`}):u.fileName})(i,s):ve({code:"FILE_NOT_FOUND",message:`Plugin error - Unable to get file name for unknown file "${s}".`});var o,c},this.setAssetSource=(s,i)=>{const o=this.filesByReferenceId.get(s);if(!o)return ve({code:"ASSET_NOT_FOUND",message:`Plugin error - Unable to set the source for unknown asset "${s}".`});if(o.type!=="asset")return ve(dn(`Asset sources can only be set for emitted assets but "${s}" is an emitted chunk.`));if(o.source!==void 0)return ve({code:"ASSET_SOURCE_ALREADY_SET",message:`Unable to set the source for asset "${o.name||s}", source already set.`});const c=SI(i,o,s);if(this.output)this.finalizeAsset(o,c,s,this.output);else{o.source=c;for(const u of this.outputFileEmitters)u.finalizeAsset(o,c,s,u.output)}},this.setChunkInformation=s=>{this.facadeChunkByModule=s},this.setOutputBundle=(s,i)=>{const o=this.output={bundle:s,fileNamesBySource:new Map,outputOptions:i};for(const c of this.filesByReferenceId.values())c.fileName&&kI(c.fileName,o,this.options.onwarn);for(const[c,u]of this.filesByReferenceId)u.type==="asset"&&u.source!==void 0&&this.finalizeAsset(u,u.source,c,o)},this.filesByReferenceId=r?new Map(r.filesByReferenceId):new Map,r==null||r.addOutputFileEmitter(this)}addOutputFileEmitter(t){this.outputFileEmitters.push(t)}assignReferenceId(t,n){let r=n;do r=$i().update(r).digest("hex").slice(0,8);while(this.filesByReferenceId.has(r)||this.outputFileEmitters.some((({filesByReferenceId:s})=>s.has(r))));this.filesByReferenceId.set(r,t);for(const{filesByReferenceId:s}of this.outputFileEmitters)s.set(r,t);return r}emitAsset(t){const n=t.source===void 0?void 0:SI(t.source,t,null),r={fileName:t.fileName,name:t.name,needsCodeReference:!!t.needsCodeReference,source:n,type:"asset"},s=this.assignReferenceId(r,t.fileName||t.name||String(this.nextIdBase++));if(this.output)this.emitAssetWithReferenceId(r,s,this.output);else for(const i of this.outputFileEmitters)i.emitAssetWithReferenceId(r,s,i.output);return s}emitAssetWithReferenceId(t,n,r){const{fileName:s,source:i}=t;s&&kI(s,r,this.options.onwarn),i!==void 0&&this.finalizeAsset(t,i,n,r)}emitChunk(t){if(this.graph.phase>vr.LOAD_AND_PARSE)return ve({code:qE,message:"Cannot emit chunks after module loading has finished."});if(typeof t.id!="string")return ve(dn(`Emitted chunks need to have a valid string id, received "${t.id}"`));const n={fileName:t.fileName,module:null,name:t.name||t.id,type:"chunk"};return this.graph.moduleLoader.emitChunk(t).then((r=>n.module=r)).catch((()=>{})),this.assignReferenceId(n,t.id)}finalizeAsset(t,n,r,{bundle:s,fileNamesBySource:i,outputOptions:o}){let c=t.fileName;if(!c){const l=(function(h){return $i().update(h).digest("hex")})(n);c=i.get(l),c||(c=(function(h,p,d,_,k){const g=_.sanitizeFileName(h||"asset");return bS(xS(typeof _.assetFileNames=="function"?_.assetFileNames({name:h,source:p,type:"asset"}):_.assetFileNames,"output.assetFileNames",{ext:()=>pr(g).slice(1),extname:()=>pr(g),hash:y=>d.slice(0,Math.max(0,y||8)),name:()=>g.slice(0,Math.max(0,g.length-pr(g).length))}),k)})(t.name,n,l,o,s),i.set(l,c))}const u={...t,fileName:c,source:n};this.filesByReferenceId.set(r,u),s[c]={fileName:c,name:t.name,needsCodeReference:t.needsCodeReference,source:n,type:"asset"}}}function yN(e,t,n,r,s,i){let o,c=!0;if(typeof e.cacheKey!="string"&&(e.name.startsWith(gp)||e.name.startsWith(vp)||i.has(e.name)?c=!1:i.add(e.name)),t)if(c){const h=e.cacheKey||e.name;l=t[h]||(t[h]=Object.create(null)),o={delete:p=>delete l[p],get(p){const d=l[p];if(d)return d[0]=0,d[1]},has(p){const d=l[p];return!!d&&(d[0]=0,!0)},set(p,d){l[p]=[0,d]}}}else u=e.name,o={delete:()=>Do(u),get:()=>Do(u),has:()=>Do(u),set:()=>Do(u)};else o=pN;var u,l;return{addWatchFile(h){if(n.phase>=vr.GENERATE)return this.error({code:qE,message:'Cannot call "addWatchFile" after the build has finished.'});n.watchFiles[h]=!0},cache:o,emitFile:s.emitFile.bind(s),error:h=>ve(Ba(h,e.name)),getFileName:s.getFileName,getModuleIds:()=>n.modulesById.keys(),getModuleInfo:n.getModuleInfo,getWatchFiles:()=>Object.keys(n.watchFiles),load:h=>n.moduleLoader.preloadModule(h),meta:{rollupVersion:SE,watchMode:n.watchMode},get moduleIds(){const h=n.modulesById.keys();return(function*(){Xr(`Accessing "this.moduleIds" on the plugin context by plugin ${e.name} is deprecated. The "this.getModuleIds" plugin context function should be used instead.`,"plugin-development/#this-getmoduleids",!0,r,e.name),yield*h})()},parse:n.contextParse.bind(n),resolve:(h,p,{assertions:d,custom:_,isEntry:k,skipSelf:g}=Bt)=>n.moduleLoader.resolveId(h,p,_,k,d||tn,g?[{importer:p,plugin:e,source:h}]:null),setAssetSource:s.setAssetSource,warn(h){typeof h=="string"&&(h={message:h}
60),h.code&&(h.pluginCode=h.code),h.code="PLUGIN_WARNING",h.plugin=e.name,r.onwarn(h)}}}const _N=Object.keys({buildEnd:1,buildStart:1,closeBundle:1,closeWatcher:1,load:1,moduleParsed:1,options:1,resolveDynamicImport:1,resolveId:1,shouldTransformCachedModule:1,transform:1,watchChange:1});class xp{constructor(t,n,r,s,i){this.graph=t,this.options=n,this.pluginCache=s,this.sortedPlugins=new Map,this.unfulfilledActions=new Set,this.fileEmitter=new vN(t,n,i&&i.fileEmitter),this.emitFile=this.fileEmitter.emitFile.bind(this.fileEmitter),this.getFileName=this.fileEmitter.getFileName.bind(this.fileEmitter),this.finaliseAssets=this.fileEmitter.finaliseAssets.bind(this.fileEmitter),this.setChunkInformation=this.fileEmitter.setChunkInformation.bind(this.fileEmitter),this.setOutputBundle=this.fileEmitter.setOutputBundle.bind(this.fileEmitter),this.plugins=[...i?i.plugins:[],...r];const o=new Set;if(this.pluginContexts=new Map(this.plugins.map((u=>[u,yN(u,s,t,n,this.fileEmitter,o)]))),i)for(const u of r)for(const l of _N)l in u&&n.onwarn((c=u.name,{code:"INPUT_HOOK_IN_OUTPUT_PLUGIN",message:`The "${l}" hook used by the output plugin ${c} is a build time hook and will not be run for that plugin. Either this plugin cannot be used as an output plugin, or it should have an option to configure it as an output plugin.`}));var c}createOutputPluginDriver(t){return new xp(this.graph,this.options,t,this.pluginCache,this)}getUnfulfilledHookActions(){return this.unfulfilledActions}hookFirst(t,n,r,s){return this.hookFirstAndGetPlugin(t,n,r,s).then((i=>i&&i[0]))}
60async hookFirstAndGetPlugin(t,n,r,s){for(const i of this.getSortedPlugins(t)){if(s!=null&&s.has(i))continue;const o=await this.runHook(t,n,i,r);if(o!=null)return[o,i]}return null}hookFirstSync(t,n,r){for(const s of this.getSortedPlugins(t)){const i=this.runHookSync(t,n,s,r);if(i!=null)return i}return null}async hookParallel(t,n,r){const s=[];for(const i of this.getSortedPlugins(t))i[t].sequential?(await Promise.all(s),s.length=0,await this.runHook(t,n,i,r)):s.push(this.runHook(t,n,i,r));await Promise.all(s)}hookReduceArg0(t,[n,...r],s,i){let o=Promise.resolve(n);for(const c of this.getSortedPlugins(t))o=o.then((u=>this.runHook(t,[u,...r],c,i).then((l=>s.call(this.pluginContexts.get(c),u,l,c)))));return o}hookReduceArg0Sync(t,[n,...r],s,i){for(const o of this.getSortedPlugins(t)){const c=[n,...r],u=this.runHookSync(t,c,o,i);n=s.call(this.pluginContexts.get(o),n,u,o)}return n}async hookReduceValue(t,n,r,s){const i=[],o=[];for(const c of this.getSortedPlugins(t,bN))c[t].sequential?(i.push(...await Promise.all(o)),o.length=0,i.push(await this.runHook(t,r,c))):o.push(this.runHook(t,r,c));return i.push(...await Promise.all(o)),i.reduce(s,await n)}hookReduceValueSync(t,n,r,s,i){let o=n;
60for(const c of this.getSortedPlugins(t)){const u=this.runHookSync(t,r,c,i);o=s.call(this.pluginContexts.get(c),o,u,c)}return o}hookSeq(t,n,r){let s=Promise.resolve();for(const i of this.getSortedPlugins(t))s=s.then((()=>this.runHook(t,n,i,r)));return s.then(EN)}getSortedPlugins(t,n){return kn(this.sortedPlugins,t,(()=>II(t,this.plugins,n)))}runHook(t,n,r,s){const i=r[t],o=typeof i=="object"?i.handler:i;let c=this.pluginContexts.get(r);s&&(c=s(c,r));let u=null;return Promise.resolve().then((()=>{if(typeof o!="function")return o;const l=o.apply(c,n);return l!=null&&l.then?(u=[r.name,t,n],this.unfulfilledActions.add(u),Promise.resolve(l).then((h=>(this.unfulfilledActions.delete(u),h)))):l})).catch((l=>(u!==null&&this.unfulfilledActions.delete(u),ve(Ba(l,r.name,{hook:t})))))}runHookSync(t,n,r,s){const i=r[t],o=typeof i=="object"?i.handler:i;let c=this.pluginContexts.get(r);s&&(c=s(c,r));try{return o.apply(c,n)}catch(u){return ve(Ba(u,r.name,{hook:t}))}}}function II(e,t,n=xN){const r=[],s=[],i=[];for(const o of t){const c=o[e];if(c){if(typeof c=="object"){if(n(c.handler,e,o),c.order==="pre"){r.push(o);continue}if(c.order==="post"){i.push(o);continue}}else n(c,e,o);s.push(o)}}return[...r,...s,...i]}function xN(e,t,n){typeof e!="function"&&ve((function(r,s){return{code:FE,hook:r,message:`Error running plugin hook "${r}" for plugin "${s}", expected a function hook or an object with a "handler" function.`,plugin:s}})(t,n.name))}function bN(e,t,n){if(typeof e!="string"&&typeof e!="function")return ve((function(r,s){return{code:FE,hook:r,message:`Error running plugin hook "${r}" for plugin "${s}", expected a string, a function hook or an object with a "handler" string or function.`,plugin:s}})(t,n.name))}function EN(){}class kN{constructor(t){this.maxParallel=t,this.queue=[],this.workerCount=0}run(t){return new Promise(((n,r)=>{this.queue.push({reject:r,resolve:n,task:t}),this.work()}))}async work(){if(this.workerCount>=this.maxParallel)return;let t;for(this.workerCount++;t=this.queue.shift();){const{reject:n,resolve:r,task:s}=t;try{r(await s())}catch(i){n(i)}}this.workerCount--}}class SN{constructor(t,n){var r,s;if(this.options=t,this.astLru=(function(i){var o,c,u,l=i;function h(d,_){++o>l&&(u=c,p(1),++o),c[d]=_}function p(d){o=0,c=Object.create(null),d||(u=Object.create(null))}return p(),{clear:p,has:function(d){return c[d]!==void 0||u[d]!==void 0},get:function(d){var _=c[d];return _!==void 0?_:(_=u[d])!==void 0?(h(d,_),_):void 0},set:function(d,_){c[d]!==void 0?c[d]=_:h(d,_)}}})(5),this.cachedModules=new Map,this.deoptimizationTracker=new Da,this.entryModules=[],this.modulesById=new Map,this.needsTreeshakingPass=!1,this.phase=vr.LOAD_AND_PARSE,this.scope=new gN,this.watchFiles=Object.create(null),this.watchMode=!1,this.externalModules=[],this.implicitEntryModules=[],this.modules=[],this.getModuleInfo=i=>{const o=this.modulesById.get(i);return o?o.info:null},t.cache!==!1){if((r=t.cache)!=null&&r.modules)for(const i of t.cac
60he.modules)this.cachedModules.set(i.id,i);this.pluginCache=((s=t.cache)==null?void 0:s.plugins)||Object.create(null);for(const i in this.pluginCache){const o=this.pluginCache[i];for(const c of Object.values(o))c[0]++}}if(n){this.watchMode=!0;const i=(...c)=>this.pluginDriver.hookParallel("watchChange",c),o=()=>this.pluginDriver.hookParallel("closeWatcher",[]);n.onCurrentRun("change",i),n.onCurrentRun("close",o)}this.pluginDriver=new xp(this,t,t.plugins,this.pluginCache),this.acornParser=yt.extend(...t.acornInjectPlugins),this.moduleLoader=new mN(this,this.modulesById,this.options,this.pluginDriver),this.fileOperationQueue=new kN(t.maxParallelFileOps),this.pureFunctions=(({treeshake:i})=>{const o=Object.create(null);for(const c of i?i.manualPureFunctions:[]){let u=o;for(const l of c.split("."))u=u[l]||(u[l]=Object.create(null));u[_f]=!0}return o})(t)}async build(){Pt("generate module graph",2),await this.generateModuleGraph(),Tt("generate module graph",2),Pt("sort and bind modules",2),this.phase=vr.ANALYSE,this.sortModules(),Tt("sort and bind modules",2),Pt("mark included statements",2),this.includeStatements(),Tt("mark included statements",2),this.phase=vr.GENERATE}contextParse(t,n={}){const r=n.onComment,s=[];n.onComment=r&&typeof r=="function"?(o,c,u,l,...h)=>(s.push({end:l,start:u,type:o?"Block":"Line",value:c}),r.call(n,o,c,u,l,...h)):s;const i=this.acornParser.parse(t,{...this.options.acorn,...n});return typeof r=="object"&&r.push(...s),n.onComment=r,(function(o,c,u){const l=[],h=[];for(const p of o)EC.test(p.value)?l.push(p):_C.test(p.value)&&h.push(p);for(const p of h)Ha(c,p,!1);ak(c,{annotationIndex:0,annotations:l,code:u})})(s,i,t),i}getCache(){for(const t in this.pluginCache){const n=this.pluginCache[t];let r=!0;for(const[s,i]of Object.entries(n))i[0]>=this.options.experimentalCacheExpiry?delete n[s]:r=!1;r&&delete this.pluginCache[t]}return{modules:this.modules.map((t=>t.toJSON())),plugins:this.pluginCache}}async generateModuleGraph(){var t;if({entryModules:this.entryModules,implicitEntryModules:this.implicitEntryModules}=await this.moduleLoader.addEntryModules((t=this.options.input,Array.isArray(t)?t.map((n=>({fileName:null,id:n,implicitlyLoadedAfter:[],importer:void 0,name:null}))):Object.entries(t).map((([n,r])=>({fileName:null,id:r,implicitlyLoadedAfter:[],importer:void 0,name:n})))),!0),this.entryModules.length===0)throw new Error("You must supply options.input to rollup");for(const n of this.modulesById.values())n instanceof kt?this.modules.push(n):this.externalModules.push(n)}includeStatements(){const t=[...this.entryModules,...this.implicitEntryModules];for(const n of t)mo(n);if(this.options.treeshake){let n=1;do{Pt(`treeshaking pass ${n}`,3),this.needsTreeshakingPass=!1;for(const r of this.modules)r.isExecuted&&(r.info.moduleSideEffects==="no-treeshake"?r.includeAllInBundle():r.include());if(n===1)for(const r of t)r.preserveSignature!==!1&&(r.includeAllExports(!1),this.needsTreeshakingPass=!0);Tt("treeshaking pass "+n++,3)}while(this.needsTreeshakingPass)}else for(const n of this.modules)n.includeAllInBundle();for(const n of this.externalModules)n.warnUnusedImports();for(const n of this.implicitEntryModules)for(const r of n.implicitlyLoadedAfter)r.info.isEntry||r.isIncluded()||ve(dC(r))}sortModules(){const{orderedModules:t,cyclePaths:n}=(function(r){let s=0;const i=[],o=new Set,c=new Set,u=new Map,l=[],h=p=>{if(p instanceof kt){for(const d of p.dependencies)u.has(d)?o.has(d)||i.push(kR(d,p,u)):(u.set(d,p),h(d));for(const d of p.implicitlyLoadedBefore)c.add(d);for(const{resolution:d}of p.dynamicImports)d instanceof kt&&c.add(d);l.push(p)}p.execIndex=s++,o.add(p)};for(const p of r)u.has(p)||(u.set(p,null),h(p));for(const p of c)u.has(p)||(u.set(p,null),h(p));return{cyclePaths:i,orderedModules:l}})(this.entryModules);for(const r of n)this.options.onwarn(pC(r));this.modules=t;for(const r of this.modules)r.bindReferences();this.warnForMissingExports()}warnForMissingExports(){for(const t of this.modules)for(const n of t.importDescriptions.values())n.name==="*"||n.module.getVariableForExportName(n.name)[0]||t.warn(ja(n.name,t.id,n.module.id),n.start)}}function wI(e,t){return t()}const IN=123,wN=32,Lo="assert";function AN(e){const t=e.acorn||uN,{tokTypes:n,TokenType:r}=t;return class extends e{constructor(...s){super(...s),this.assertToken=new r(Lo)}_codeAt(s){return this.input.charCodeAt(s)}_eat(s){this.type!==s&&this.unexpected(),this.next()}readToken(s){let i=0;for(;i<Lo.length;
60i++)if(this._codeAt(this.pos+i)!==Lo.charCodeAt(i))return super.readToken(s);for(;this._codeAt(this.pos+i)!==IN;i++)if(this._codeAt(this.pos+i)!==wN)return super.readToken(s);return this.type.label==="{"?super.readToken(s):(this.pos+=Lo.length,this.finishToken(this.assertToken))}parseDynamicImport(s){if(this.next(),s.source=this.parseMaybeAssign(),this.eat(n.comma)){const i=this.parseObj(!1);s.arguments=[i]}return this._eat(n.parenR),this.finishNode(s,"ImportExpression")}parseExport(s,i){if(this.next(),this.eat(n.star)){if(this.options.ecmaVersion>=11&&(this.eatContextual("as")?(s.exported=this.parseIdent(!0),this.checkExport(i,s.exported.name,this.lastTokStart)):s.exported=null),this.expectContextual("from"),this.type!==n.string&&this.unexpected(),s.source=this.parseExprAtom(),this.type===this.assertToken){this.next();const d=this.parseImportAssertions();d&&(s.assertions=d)}return this.semicolon(),this.finishNode(s,"ExportAllDeclaration")}if(this.eat(n._default)){var o;if(this.checkExport(i,"default",this.lastTokStart),this.type===n._function||(o=this.isAsyncFunction())){var c=this.startNode();this.next(),o&&this.next(),s.declaration=this.parseFunction(c,5,!1,o)}else if(this.type===n._class){var u=this.startNode();s.declaration=this.parseClass(u,"nullableID")}else s.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(s,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())s.declaration=this.parseStatement(null),s.declaration.type==="VariableDeclaration"?this.checkVariableExport(i,s.declaration.declarations):this.checkExport(i,s.declaration.id.name,s.declaration.id.start),s.specifiers=[],s.source=null;else{if(s.declaration=null,s.specifiers=this.parseExportSpecifiers(i),this.eatContextual("from")){if(this.type!==n.string&&this.unexpected(),s.source=this.parseExprAtom(),this.type===this.assertToken){this.next();const d=this.parseImportAssertions();d&&(s.assertions=d)}}else{for(var l=0,h=s.specifiers;l<h.length;l+=1){var p=h[l];this.checkUnreserved(p.local),this.checkLocalExport(p.local)}s.source=null}this.semicolon()}return this.finishNode(s,"ExportNamedDeclaration")}parseImport(s){if(this.next(),this.type===n.string?(s.specifiers=[],s.source=this.parseExprAtom()):(s.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),s.source=this.t
60ype===n.string?this.parseExprAtom():this.unexpected()),this.type===this.assertToken){this.next();const i=this.parseImportAssertions();i&&(s.assertions=i)}return this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportAssertions(){this._eat(n.braceL);const s=this.parseAssertEntries();return this._eat(n.braceR),s}parseAssertEntries(){const s=[],i=new Set;do{if(this.type===n.braceR)break;const o=this.startNode();let c;c=this.type===n.string?this.parseLiteral(this.value):this.parseIdent(!0),this.next(),o.key=c,i.has(o.key.name)&&this.raise(this.pos,"Duplicated key in assertions"),i.add(o.key.name),this.type!==n.string&&this.raise(this.pos,"Only string is supported as an assertion value"),o.value=this.parseLiteral(this.value),s.push(this.finishNode(o,"ImportAttribute"))}while(this.eat(n.comma));return s}}}function AI(e){return Array.isArray(e)?e.filter(Boolean):e?[e]:[]}const PI=e=>console.warn(e.message||e);function TI(e,t,n,r,s=/$./){const i=new Set(t),o=Object.keys(e).filter((c=>!(i.has(c)||s.test(c))));o.length>0&&r((function(c,u,l){return{code:"UNKNOWN_OPTION",message:`Unknown ${c}: ${u.join(", ")}. Allowed options: ${l.join(", ")}`}})(n,o,[...i].sort()))}const PN={recommended:{annotations:!0,correctVarValueBeforeDeclaration:!1,manualPureFunctions:Fn,moduleSideEffects:()=>!0,propertyReadSideEffects:!0,tryCatchDeoptimization:!0,unknownGlobalSideEffects:!1},safest:{annotations:!0,correctVarValueBeforeDeclaration:!0,manualPureFunctions:Fn,moduleSideEffects:()=>!0,propertyReadSideEffects:!0,tryCatchDeoptimization:!0,unknownGlobalSideEffects:!0},smallest:{annotations:!0,correctVarValueBeforeDeclaration:!1,manualPureFunctions:Fn,moduleSideEffects:()=>!1,propertyReadSideEffects:!1,tryCatchDeoptimization:!1,unknownGlobalSideEffects:!1}},TN={es2015:{arrowFunctions:!0,constBindings:!0,objectShorthand:!0,reservedNamesAsProps:!0,symbols:!0},es5:{arrowFunctions:!1,constBindings:!1,objectShorthand:!1,reservedNamesAsProps:!0,symbols:!1}},CI=(e,t,n,r,s)=>{const i=e==null?void 0:e.preset;if(i){const o=t[i];if(o)return{...o,...e};ve(Et(`${n}.preset`,r,`valid values are ${ir(Object.keys(t))}`,i))}return((o,c,u,l)=>h=>{if(typeof h=="string"){const p=o[h];if(p)return p;ve(Et(c,u,`valid values are ${l}${ir(Object.keys(o))}. You can also supply an object for more fine-grained control`,h))}return(p=>p&&typeof p=="object"?p:{})(h)})(t,n,r,s)(e)},Mo=async e=>(await(async function(t){do t=(await Promise.all(t)).flat(1/0);while(t.some((n=>n==null?void 0:n.then)));return t})([e])).filter(Boolean),CN=e=>{const{onwarn:t}=e;return t?n=>{n.toString=()=>{let r="";return n.plugin&&(r+=`(${n.plugin} plugin) `),n.loc&&(r+=`${je(n.loc.file)} (${n.loc.line}:${n.loc.column}) `),r+=n.message,r},t(n,PI)}:PI},RN=e=>({ecmaVersion:"latest",sourceType:"module",...e.acorn}),NN=e=>[AN,...AI(e.acornInjectPlugins)],ON=e=>{var t;return e.cache===!0?void 0:((t=e.cache)==null?void 0:t.cache)||e.cache},$N=e=>{if(e===!0)return()=>!0;if(typeof e=="function")return(t,...n)=>!t.startsWith("\0")&&e(t,...n)||!1;if(e){const t=new Set,n=[];for(const r of AI(e))r instanceof RegExp?n.push(r):t.add(r);return(r,...s)=>t.has(r)||n.some((i=>i.test(r)))}return()=>!1},DN=(e,t,n)=>{const r=e.inlineDynamicImports;return r&&mi('The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.',tf,!0,t,n),r},LN=e=>{const t=e.input;return t==null?[]:typeof t=="string"?[t]:t},MN=(e,t,n)=>{const r=e.manualChunks;return r&&mi('The "manualChunks" option is deprecated. Use the "output.manualChunks" option instead.',rf,!0,t,n),r},FN=(e,t,n)=>{const r=e.maxParallelFileReads;typeof r=="number"&&mi('The "maxParallelFileReads" option is deprecated. Use the "maxParallelFileOps" option instead.',"configuration-options/#maxparallelfileops",!0,t,n);const s=e.maxParallelFileOps??r;return typeof s=="number"?s<=0?1/0:s:20},qN=(e,t)=>{const n=e.moduleContext;if(typeof n=="function")return r=>n(r)??t;if(n){const r=Object.create(null);for(const[s,i]of Object.entries(n))r[En(s)]=i;return s=>r[s]??t}return()=>t},jN=(e,t,n)=>{const r=e.preserveModules;return r&&mi('The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.',"configuration-options/#output-preservemodules",!0,t,n),r},BN=e=>{if(e.treeshake===!1)return!1;const t=CI(e.treeshake,PN,"treeshake","configuration-options/#treeshake","false, true, ");return{annotations:t.annotations!==!1,correctVarValueBeforeDeclaration:t.correctVarValueBeforeDeclaration===!0,manualPureFunctions:t.manualPureFunctions??Fn,moduleSideEffects:VN(t.moduleSideEffects),propertyReadSideEffects:t.propertyReadSideEffects==="always"?"always":t.propertyReadSideEffects!==!1,tryCatchDeoptimization:t.tryCatchDeoptimization!==!1,unknownGlobalSideEffects:t.unknownGlobalSideEffects!==!1}},VN=e=>{if(typeof e=="boolean")return()=>e;if(e==="no-external")return(t,n)=>!n;if(typeof e=="function")return(t,n)=>!!t.startsWith("\0")||e(t,n)!==!1;if(Array.isArray(e)){const t=new Set(e);return n=>t.has(n)}return e&&ve(Et("treeshake.moduleSideEffects","configuration-options/#treeshake-modulesideeffects",'please use one of false, "no-external", a function or an array')),()=>!0},zN=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,UN=/^[a-z]:/i;function GN(e){const t=UN.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(zN,"_")}const WN=(e,t,n)=>{const{file:r}=e;
60if(typeof r=="string"){if(t)return ve(Et("output.file",di,'you must set "output.dir" instead of "output.file" when using the "output.preserveModules" option'));if(!Array.isArray(n.input))return ve(Et("output.file",di,'you must set "output.dir" instead of "output.file" when providing named inputs'))}return r},HN=e=>{const t=e.format;switch(t){case void 0:case"es":case"esm":case"module":return"es";case"cjs":case"commonjs":return"cjs";case"system":case"systemjs":return"system";case"amd":case"iife":case"umd":return t;default:return ve(Et("output.format",$E,'Valid values are "amd", "cjs", "system", "es", "iife" or "umd"',t))}},KN=(e,t)=>{const n=(e.inlineDynamicImports??t.inlineDynamicImports)||!1,{input:r}=t;return n&&(Array.isArray(r)?r:Object.keys(r)).length>1?ve(Et("output.inlineDynamicImports",tf,'multiple inputs are not supported when "output.inlineDynamicImports" is true')):n},XN=(e,t,n)=>{const r=(e.preserveModules??n.preserveModules)||!1;if(r){if(t)return ve(Et("output.inlineDynamicImports",tf,'this option is not supported for "output.preserveModules"'));if(n.preserveEntrySignatures===!1)return ve(Et("preserveEntrySignatures","configuration-options/#preserveentrysignatures",'setting this option to false is not supported for "output.preserveModules"'))}return r},QN=(e,t)=>{const n=e.preferConst;return n!=null&&Xr('The "output.preferConst" option is deprecated. Use the "output.generatedCode.constBindings" option instead.',"configuration-options/#output-generatedcode-constbindings",!0,t),!!n},JN=e=>{const{preserveModulesRoot:t}=e;if(t!=null)return En(t)},YN=e=>{const t={autoId:!1,basePath:"",define:"define",forceJsExtensionForImports:!1,...e.amd};return(t.autoId||t.basePath)&&t.id?ve(Et("output.amd.id",OE,'this option cannot be used together with "output.amd.autoId"/"output.amd.basePath"')):t.basePath&&!t.autoId?ve(Et("output.amd.basePath","configuration-options/#output-amd-basepath",'this option only works with "output.amd.autoId"')):t.autoId?{autoId:!0,basePath:t.basePath,define:t.define,forceJsExtensionForImports:t.forceJsExtensionForImports}:{autoId:!1,define:t.define,forceJsExtensionForImports:t.forceJsExtensionForImports,id:t.id}},Fo=(e,t)=>{const n=e[t];return typeof n=="function"?n:()=>n||""},ZN=(e,t)=>{const{dir:n}=e;return typeof n=="string"&&typeof t=="string"?ve(Et("output.dir",di,'you must set either "output.file" for a single-file build or "output.dir" when generating multiple chunks')):n},eO=(e,t,n)=>{const r=e.dynamicImportFunction;return r&&(Xr('The "output.dynamicImportFunction" option is deprecated. Use the "renderDynamicImport" plugin hook instead.',"plugin-development/#renderdynamicimport",!0,t),n!=="es"&&t.onwarn(Et("output.dynamicImportFunction","configuration-options/#output-dynamicimportfunction",'this option is ignored for formats other than "es"'))),r},tO=(e,t)=>{const n=e.entryFileNames;return n==null&&t.add("entryFileNames"),n??"[name].js"};function nO(e,t){const n=e.experimentalDeepDynamicChunkOptimization;return n!=null&&Xr('The "output.experimentalDeepDynamicChunkOptimization" option is deprecated as Rollup always runs the full chunking algorithm now. The option should be removed.',"configuration-options/#output-experimentaldeepdynamicchunkoptimization",!0,t),n||!1}function rO(e,t){const n=e.exports;if(n==null)t.add("exports");else if(!["default","named","none","auto"].includes(n))return ve({code:ME,message:`"output.exports" must be "default", "named", "none", "auto", or left unspecified (defaults to "auto"), received "${n}".`,url:Ft(ef)});return n||"auto"}const sO=(e,t)=>{const n=CI(e.generatedCode,TN,"output.generatedCode","configuration-options/#output-generatedcode","");return{arrowFunctions:n.arrowFunctions===!0,constBindings:n.constBindings===!0||t,objectShorthand:n.objectShorthand===!0,reservedNamesAsProps:n.reservedNamesAsProps!==!1,symbols:n.symbols===!0}},iO=(e,t)=>{if(t)return"";const n=e.indent;return n===!1?"":n??!0},RI=new Set(["compat","auto","esModule","default","defaultOnly"]),aO=e=>{const t=e.interop;if(typeof t=="function"){const n=Object.create(null);let r=null;return s=>s===null?r||bp(r=t(s)):s in n?n[s]:bp(n[s]=t(s))}return t===void 0?()=>"default":()=>bp(t)},bp=e=>RI.has(e)?e:ve(Et("output.interop",nf,`use one of ${Array.from(RI,(t=>JSON.stringify(t))).join(", ")}`,e)),oO=(e,t,n,r)=>{const s=e.manualChunks||r.manualChunks;if(s){if(t)return ve(Et("output.manualChunks",rf,'this option is not supported for "output.inlineDynamicImports"'));if(n)return ve(Et("output.manualChunks",rf,'this option is not supported for "output.preserveModules"'))}return s||{}}
60,cO=(e,t,n)=>e.minifyInternalExports??(n||t==="es"||t==="system"),uO=(e,t,n)=>{const r=e.namespaceToStringTag;return r!=null?(Xr('The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.',"configuration-options/#output-generatedcode-symbols",!0,n),r):t.symbols||!1},lO=e=>{const{sourcemapBaseUrl:t}=e;if(t)return(function(n){try{new URL(n)}catch{return!1}return!0})(t)?t:ve(Et("output.sourcemapBaseUrl","configuration-options/#output-sourcemapbaseurl",`must be a valid URL, received ${JSON.stringify(t)}`))};function hO(e){return(async function(t,n){const{options:r,unsetOptions:s}=await(async function(u,l){if(!u)throw new Error("You must supply an options object to rollup");const h=II("options",await Mo(u.plugins)),{options:p,unsetOptions:d}=await(async function(_){const k=new Set,g=_.context??"undefined",y=CN(_),E=_.strictDeprecations||!1,I=FN(_,y,E),v={acorn:RN(_),acornInjectPlugins:NN(_),cache:ON(_),context:g,experimentalCacheExpiry:_.experimentalCacheExpiry??10,experimentalLogSideEffects:_.experimentalLogSideEffects||!1,external:$N(_.external),inlineDynamicImports:DN(_,y,E),input:LN(_),makeAbsoluteExternalsRelative:_.makeAbsoluteExternalsRelative??"ifRelativeSource",manualChunks:MN(_,y,E),maxParallelFileOps:I,maxParallelFileReads:I,moduleContext:qN(_,g),onwarn:y,perf:_.perf||!1,plugins:await Mo(_.plugins),preserveEntrySignatures:_.preserveEntrySignatures??"exports-only",preserveModules:jN(_,y,E),preserveSymlinks:_.preserveSymlinks||!1,shimMissingExports:_.shimMissingExports||!1,strictDeprecations:E,treeshake:BN(_)};return TI(_,[...Object.keys(v),"watch"],"input options",v.onwarn,/^(output)$/),{options:v,unsetOptions:k}})(await h.reduce((function(_){return async(k,g)=>await("handler"in g.options?g.options.handler:g.options).call({meta:{rollupVersion:SE,watchMode:_}},await k)||k})(l),Promise.resolve(u)));return NI(p.plugins,gp),{options:p,unsetOptions:d}})(t,n!==null);(function(u){u.perf?(Ni=new Map,Pt=GC,Tt=WC,u.plugins=u.plugins.map(XC)):(Pt=po,Tt=po)})(r);const i=new SN(r,n),o=t.cache!==!1;
60t.cache&&(r.cache=void 0,t.cache=void 0),Pt("BUILD",1),await wI(i.pluginDriver,(async()=>{try{Pt("initialize",2),await i.pluginDriver.hookParallel("buildStart",[r]),Tt("initialize",2),await i.build()}catch(u){const l=Object.keys(i.watchFiles);throw l.length>0&&(u.watchFiles=l),await i.pluginDriver.hookParallel("buildEnd",[u]),await i.pluginDriver.hookParallel("closeBundle",[]),u}await i.pluginDriver.hookParallel("buildEnd",[])})),Tt("BUILD",1);const c={cache:o?i.getCache():void 0,async close(){c.closed||(c.closed=!0,await i.pluginDriver.hookParallel("closeBundle",[]))},closed:!1,generate:async u=>c.closed?ve({code:"ALREADY_CLOSED",message:'Bundle is already closed, no more calls to "generate" or "write" are allowed.'}):OI(!1,r,s,u,i),watchFiles:Object.keys(i.watchFiles),write:async u=>c.closed?ve({code:"ALREADY_CLOSED",message:'Bundle is already closed, no more calls to "generate" or "write" are allowed.'}):OI(!0,r,s,u,i)};return r.perf&&(c.getTimings=HC),c})(e,null)}function NI(e,t){for(const[n,r]of e.entries())r.name||(r.name=`${t}${n+1}`)}async function OI(e,t,n,r,s){const{options:i,outputPluginDriver:o,unsetOptions:c}=await(async function(u,l,h,p){if(!u)throw new Error("You must supply an options object");const d=await Mo(u.plugins);NI(d,vp);const _=l.createOutputPluginDriver(d);return{...await fO(h,p,u,_),outputPluginDriver:_}})(r,s.pluginDriver,t,n);return wI(0,(async()=>{const u=new zR(i,c,t,o,s),l=await u.generate(e);if(e){if(Pt("WRITE",1),!i.dir&&!i.file)return ve({code:"MISSING_OPTION",message:'You must specify "output.file" or "output.dir" for the build.',url:Ft(di)});await Promise.all(Object.values(l).map((p=>s.fileOperationQueue.run((()=>(async function(d,_){const k=En(_.dir||Wr(_.file),d.fileName);return await lN(Wr(k),{recursive:!0}),fN(k,d.type==="asset"?d.source:d.code)})(p,i)))))),await o.hookParallel("writeBundle",[i,l]),Tt("WRITE",1)}return h=l,{output:Object.values(h).filter((p=>Object.keys(p).length>0)).sort(((p,d)=>$I(p)-$I(d)))};var h}))}function fO(e,t,n,r){return(async function(s,i,o){const c=new Set(o),u=s.compact||!1,l=HN(s),h=KN(s,i),p=XN(s,h,i),d=WN(s,p,i),_=QN(s,i),k=sO(s,_),g={amd:YN(s),assetFileNames:s.assetFileNames??"assets/[name]-[hash][extname]",banner:Fo(s,"banner"),chunkFileNames:s.chunkFileNames??"[name]-[hash].js",compact:u,dir:ZN(s,d),dynamicImportFunction:eO(s,i,l),dynamicImportInCjs:s.dynamicImportInCjs??!0,entryFileNames:tO(s,c),esModule:s.esModule??"if-default-prop",experimentalDeepDynamicChunkOptimization:nO(s,i),experimentalMinChunkSize:s.experimentalMinChunkSize||0,exports:rO(s,c),extend:s.extend||!1,externalImportAssertions:s.externalImportAssertions??!0,externalLiveBindings:s.externalLiveBindings??!0,file:d,footer:Fo(s,"footer"),format:l,freeze:s.freeze??!0,generatedCode:k,globals:s.globals||{},hoistTransitiveImports:s.hoistTransitiveImports??!0,indent:iO(s,u),inlineDynamicImports:h,interop:aO(s),intro:Fo(s,"intro"),manualChunks:oO(s,h,p,i),minifyInternalExports:cO(s,l,u),name:s.name,namespaceToStringTag:uO(s,k,i),noConflict:s.noConflict||!1,outro:Fo(s,"outro"),paths:s.paths||{},plugins:await Mo(s.plugins),preferConst:_,preserveModules:p,preserveModulesRoot:JN(s),sanitizeFileName:typeof s.sanitizeFileName=="function"?s.sanitizeFileName:s.sanitizeFileName===!1?y=>y:GN,sourcemap:s.sourcemap||!1,sourcemapBaseUrl:lO(s),sourcemapExcludeSources:s.sourcemapExcludeSources||!1,sourcemapFile:s.sourcemapFile,sourcemapIgnoreList:typeof s.sourcemapIgnoreList=="function"?s.sourcemapIgnoreList:s.sourcemapIgnoreList===!1?()=>!1:y=>y.includes("node_modules"),sourcemapPathTransform:s.sourcemapPathTransform,strict:s.strict??!0,systemNullSetters:s.systemNullSetters??!0,validate:s.validate||!1};return TI(s,Object.keys(g),"output options",i.onwarn),{options:g,unsetOptions:c}})(r.hookReduceArg0Sync("outputOptions",[n],((s,i)=>i||s),(s=>{const i=()=>s.error({code:"CANNOT_EMIT_FROM_OPTIONS_HOOK",message:'Cannot emit files or set asset sources in the "outputOptions" hook, use the "renderStart" hook instead.'});return{...s,emitFile:i,setAssetSource:i}})),e,t)}var ji;function $I(e){return e.type==="asset"?ji.ASSET:e.isEntry?ji.ENTRY_CHUNK:ji.SECONDARY_CHUNK}(function(e){e[e.ENTRY_CHUNK=0]="ENTRY_CHUNK",e[e.SECONDARY_CHUNK=1]="SECONDARY_CHUNK",e[e.ASSET=2]="ASSET"})(ji||(ji={}));var T;(function(e){e[e.NONE=0]="NONE";const n=1;e[e._abstract=n]="_abstract";const r=n+1;e[e._accessor=r]="_accessor";const s=r+1;e[e._as=s]="_as";const i=s+1;e[e._assert=i]="_assert";const o=i+1;e[e._asserts=o]="_asserts";const c=o+1;e[e._async=c]="_async";const u=c+1;e[e._await=u]="_await";const l=u+1;e[e._checks=l]="_checks";const h=l+1;e[e._constructor=h]="_constructor";const p=h+1;e[e._declare=p]="_declare";const d=p+1;e[e._enum=d]="_enum";const _=d+1;e[e._exports=_]="_exports";
60const k=_+1;e[e._from=k]="_from";const g=k+1;e[e._get=g]="_get";const y=g+1;e[e._global=y]="_global";const E=y+1;e[e._implements=E]="_implements";const I=E+1;e[e._infer=I]="_infer";const v=I+1;e[e._interface=v]="_interface";const x=v+1;e[e._is=x]="_is";const b=x+1;e[e._keyof=b]="_keyof";const A=b+1;e[e._mixins=A]="_mixins";const P=A+1;e[e._module=P]="_module";const F=P+1;e[e._namespace=F]="_namespace";const N=F+1;e[e._of=N]="_of";const z=N+1;e[e._opaque=z]="_opaque";const B=z+1;e[e._out=B]="_out";const R=B+1;e[e._override=R]="_override";const C=R+1;e[e._private=C]="_private";const D=C+1;e[e._protected=D]="_protected";const W=D+1;e[e._proto=W]="_proto";const J=W+1;e[e._public=J]="_public";const j=J+1;e[e._readonly=j]="_readonly";const $=j+1;e[e._require=$]="_require";const M=$+1;e[e._satisfies=M]="_satisfies";const X=M+1;e[e._set=X]="_set";const U=X+1;e[e._static=U]="_static";const H=U+1;e[e._symbol=H]="_symbol";const ae=H+1;e[e._type=ae]="_type";const te=ae+1;e[e._unique=te]="_unique";const q=te+1;e[e._using=q]="_using"})(T||(T={}));var a;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const n=16;e[e.IS_KEYWORD=n]="IS_KEYWORD";const r=32;e[e.IS_ASSIGN=r]="IS_ASSIGN";const s=64;e[e.IS_RIGHT_ASSOCIATIVE=s]="IS_RIGHT_ASSOCIATIVE";const i=128;e[e.IS_PREFIX=i]="IS_PREFIX";const o=256;e[e.IS_POSTFIX=o]="IS_POSTFIX";const c=512;e[e.IS_EXPRESSION_START=c]="IS_EXPRESSION_START";const u=512;e[e.num=u]="num";const l=1536;e[e.bigint=l]="bigint";const h=2560;e[e.decimal=h]="decimal";const p=3584;e[e.regexp=p]="regexp";const d=4608;e[e.string=d]="string";const _=5632;e[e.name=_]="name";const k=6144;e[e.eof=k]="eof";const g=7680;e[e.bracketL=g]="bracketL";const y=8192;e[e.bracketR=y]="bracketR";const E=9728;
60e[e.braceL=E]="braceL";const I=10752;e[e.braceBarL=I]="braceBarL";const v=11264;e[e.braceR=v]="braceR";const x=12288;e[e.braceBarR=x]="braceBarR";const b=13824;e[e.parenL=b]="parenL";const A=14336;e[e.parenR=A]="parenR";const P=15360;e[e.comma=P]="comma";const F=16384;e[e.semi=F]="semi";const N=17408;e[e.colon=N]="colon";const z=18432;e[e.doubleColon=z]="doubleColon";const B=19456;e[e.dot=B]="dot";const R=20480;e[e.question=R]="question";const C=21504;e[e.questionDot=C]="questionDot";const D=22528;e[e.arrow=D]="arrow";const W=23552;e[e.template=W]="template";const J=24576;e[e.ellipsis=J]="ellipsis";const j=25600;e[e.backQuote=j]="backQuote";const $=27136;e[e.dollarBraceL=$]="dollarBraceL";const M=27648;e[e.at=M]="at";const X=29184;e[e.hash=X]="hash";const U=29728;e[e.eq=U]="eq";const H=30752;e[e.assign=H]="assign";const ae=32640;e[e.preIncDec=ae]="preIncDec";const te=33664;e[e.postIncDec=te]="postIncDec";const q=34432;e[e.bang=q]="bang";const K=35456;e[e.tilde=K]="tilde";const L=35841;e[e.pipeline=L]="pipeline";const O=36866;e[e.nullishCoalescing=O]="nullishCoalescing";const V=37890;e[e.logicalOR=V]="logicalOR";const Q=38915;e[e.logicalAND=Q]="logicalAND";const Z=39940;e[e.bitwiseOR=Z]="bitwiseOR";const re=40965;e[e.bitwiseXOR=re]="bitwiseXOR";const oe=41990;e[e.bitwiseAND=oe]="bitwiseAND";const me=43015;e[e.equality=me]="equality";const ye=44040;e[e.lessThan=ye]="lessThan";const Se=45064;e[e.greaterThan=Se]="greaterThan";const we=46088;e[e.relationalOrEqual=we]="relationalOrEqual";const Ce=47113;e[e.bitShiftL=Ce]="bitShiftL";const se=48137;e[e.bitShiftR=se]="bitShiftR";const ue=49802;e[e.plus=ue]="plus";const _e=50826;e[e.minus=_e]="minus";const Ue=51723;e[e.modulo=Ue]="modulo";const xe=52235;e[e.star=xe]="star";const le=53259;e[e.slash=le]="slash";const ge=54348;e[e.exponent=ge]="exponent";const Ae=55296;e[e.jsxName=Ae]="jsxName";const Ke=56320;e[e.jsxText=Ke]="jsxText";const Ge=57344;e[e.jsxEmptyText=Ge]="jsxEmptyText";const Oe=58880;e[e.jsxTagStart=Oe]="jsxTagStart";const at=59392;e[e.jsxTagEnd=at]="jsxTagEnd";const Dt=60928;e[e.typeParameterStart=Dt]="typeParameterStart";const Jn=61440;e[e.nonNullAssertion=Jn]="nonNullAssertion";const Yn=62480;e[e._break=Yn]="_break";const wr=63504;e[e._case=wr]="_case";const Xs=64528;e[e._catch=Xs]="_catch";const Ar=65552;e[e._continue=Ar]="_continue";const Qs=66576;e[e._debugger=Qs]="_debugger";const Zn=67600;e[e._default=Zn]="_default";const la=68624;e[e._do=la]="_do";const Pr=69648;e[e._else=Pr]="_else";const ha=70672;e[e._finally=ha]="_finally";const Js=71696;e[e._for=Js]="_for";const fa=73232;e[e._function=fa]="_function";const Tr=73744;e[e._if=Tr]="_if";const ut=74768;e[e._return=ut]="_return";const Cr=75792;e[e._switch=Cr]="_switch";const Ys=77456;e[e._throw=Ys]="_throw";const gs=77840;e[e._try=gs]="_try";const Rr=78864;e[e._var=Rr]="_var";const vs=79888;e[e._let=vs]="_let";const pa=80912;e[e._const=pa]="_const";const da=81936;e[e._while=da]="_while";const Zs=82960;e[e._with=Zs]="_with";const ei=84496;e[e._new=ei]="_new";const ti=85520;e[e._this=ti]="_this";const ni=86544;e[e._super=ni]="_super";const Nr=87568;e[e._class=Nr]="_class";const ri=88080;e[e._extends=ri]="_extends";const si=89104;e[e._export=si]="_export";const ii=90640;e[e._import=ii]="_import";const cn=91664;e[e._yield=cn]="_yield";const ke=92688;e[e._null=ke]="_null";const he=93712;e[e._true=he]="_true";const Re=94736;e[e._false=Re]="_false";const Be=95256;e[e._in=Be]="_in";const We=96280;e[e._instanceof=We]="_instanceof";const zt=97936;e[e._typeof=zt]="_typeof";const un=98960;e[e._void=un]="_void";const Le=99984;e[e._delete=Le]="_delete";const Qt=100880;e[e._async=Qt]="_async";const Or=101904;e[e._get=Or]="_get";const ys=102928;e[e._set=ys]="_set";const _s=103952;e[e._declare=_s]="_declare";const St=104976;e[e._readonly=St]="_readonly";const dd=106e3;e[e._abstract=dd]="_abstract";const md=107024;e[e._static=md]="_static";const gd=107536;e[e._public=gd]="_public";const ai=108560;e[e._private=ai]="_private";const ma=109584;e[e._protected=ma]="_protected";const mc=110608;e[e._override=mc]="_override";const Lt=112144;e[e._as=Lt]="_as";const ot=113168;e[e._enum=ot]="_enum";const Mt=114192;e[e._type=Mt]="_type";const er=115216;e[e._implements=er]="_implements"})(a||(a={}));function pO(e){switch(e){case a.num:return"num";case a.bigint:return"bigint";
60case a.decimal:return"decimal";case a.regexp:return"regexp";case a.string:return"string";case a.name:return"name";case a.eof:return"eof";case a.bracketL:return"[";case a.bracketR:return"]";case a.braceL:return"{";case a.braceBarL:return"{|";case a.braceR:return"}";case a.braceBarR:return"|}";case a.parenL:return"(";case a.parenR:return")";case a.comma:return",";case a.semi:return";";case a.colon:return":";case a.doubleColon:return"::";case a.dot:return".";case a.question:return"?";case a.questionDot:return"?.";case a.arrow:return"=>";case a.template:return"template";case a.ellipsis:return"...";case a.backQuote:return"`";case a.dollarBraceL:return"${";case a.at:return"@";case a.hash:return"#";case a.eq:return"=";case a.assign:return"_=";case a.preIncDec:return"++/--";case a.postIncDec:return"++/--";case a.bang:return"!";case a.tilde:return"~";case a.pipeline:return"|>";case a.nullishCoalescing:return"??";case a.logicalOR:return"||";case a.logicalAND:return"&&";case a.bitwiseOR:return"|";case a.bitwiseXOR:return"^";case a.bitwiseAND:return"&";case a.equality:return"==/!=";case a.lessThan:return"<";case a.greaterThan:return">";case a.relationalOrEqual:return"<=/>=";case a.bitShiftL:return"<<";case a.bitShiftR:return">>/>>>";case a.plus:return"+";case a.minus:return"-";case a.modulo:return"%";case a.star:return"*";case a.slash:return"/";case a.exponent:return"**";case a.jsxName:return"jsxName";case a.jsxText:return"jsxText";case a.jsxEmptyText:return"jsxEmptyText";case a.jsxTagStart:return"jsxTagStart";case a.jsxTagEnd:return"jsxTagEnd";case a.typeParameterStart:return"typeParameterStart";case a.nonNullAssertion:return"nonNullAssertion";case a._break:return"break";case a._case:return"case";case a._catch:return"catch";case a._continue:return"continue";case a._debugger:return"debugger";case a._default:return"default";case a._do:return"do";case a._else:return"else";case a._finally:return"finally";case a._for:return"for";case a._function:return"function";case a._if:return"if";case a._return:return"return";case a._switch:return"switch";case a._throw:return"throw";case a._try:return"try";case a._var:return"var";case a._let:return"let";case a._const:return"const";case a._while:return"while";case a._with:return"with";case a._new:return"new";case a._this:return"this";case a._super:return"super";case a._class:return"class";case a._extends:return"extends";case a._export:return"export";case a._import:return"import";case a._yield:return"yield";case a._null:return"null";case a._true:return"true";case a._false:return"false";case a._in:return"in";case a._instanceof:return"instanceof";case a._typeof:return"typeof";case a._void:return"void";case a._delete:return"delete";case a._async:return"async";case a._get:return"get";case a._set:return"set";case a._declare:return"declare";case a._readonly:return"readonly";case a._abstract:return"abstract";case a._static:return"static";case a._public:return"public";case a._private:return"private";case a._protected:return"protected";case a._override:return"override";case a._as:return"as";case a._enum:return"enum";case a._type:return"type";case a._implements:return"implements";default:return""}}class Hn{constructor(t,n,r){this.startTokenIndex=t,this.endTokenIndex=n,this.isFunctionScope=r}}class dO{constructor(t,n,r,s,i,o,c,u,l,h,p,d,_){this.potentialArrowAt=t,this.noAnonFunctionType=n,this.inDisallowConditionalTypesContext=r,this.tokensLength=s,this.scopesLength=i,this.pos=o,this.type=c,this.contextualKeyword=u,this.start=l,this.end=h,this.isType=p,this.scopeDepth=d,this.error=_}}class Kt{constructor(){Kt.prototype.__init.call(this),Kt.prototype.__init2.call(this),Kt.prototype.__init3.call(this),Kt.prototype.__init4.call(this),Kt.prototype.__init5.call(this),Kt.prototype.__init6.call(this),Kt.prototype.__init7.call(this),Kt.prototype.__init8.call(this),Kt.prototype.__init9.call(this),Kt.prototype.__init10.call(this),Kt.prototype.__init11.call(this),Kt.prototype.__init12.call(this),Kt.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=a.eof}__init8(){this.contextualKeyword=T.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new dO(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}var G;(function(e){e[e.backSpace=8]="backSpace";const n=10;e[e.lineFeed=n]="lineFeed";const r=9;e[e.tab=r]="tab";const s=13;e[e.carriageReturn=s]="carriageReturn";const i=14;e[e.shiftOut=i]="shiftOut";const o=32;e[e.space=o]="space";const c=33;e[e.exclamationMark=c]="exclamationMark";const u=34;e[e.quotationMark=u]="quotationMark";const l=35;e[e.numberSign=l]="numberSign";const h=36;e[e.dollarSign=h]="dollarSign";const p=37;e[e.percentSign=p]="percentSign";const d=38;e[e.ampersand=d]="ampersand";const _=39;e[e.apostrophe=_]="apostrophe";const k=40;e[e.leftParenthesis=k]="leftParenthesis";const g=41;e[e.rightParenthesis=g]="rightParenthesis";const y=42;e[e.asterisk=y]="asterisk";const E=43;e[e.plusSign=E]="plusSign";const I=44;e[e.comma=I]="comma";const v=45;e[e.dash=v]="dash";const x=46;e[e.dot=x]="dot";const b=47;e[e.slash=b]="slash";const A=48;e[e.digit0=A]="digit0";const P=49;e[e.digit1=P]="digit1";const F=50;e[e.digit2=F]="digit2";const N=51;e[e.digit3=N]="digit3";const z=52;e[e.digit4=z]="digit4";const B=53;e[e.digit5=B]="digit5";const R=54;e[e.digit6=R]="digit6";const C=55;e[e.digit7=C]="digit7";const D=56;e[e.digit8=D]="digit8";const W=57;e[e.digit9=W]="digit9";const J=58;e[e.colon=J]="colon";const j=59;e[e.semicolon=j]="semicolon";const $=60;e[e.lessThan=$]="lessThan";const M=61;e[e.equalsTo=M]="equalsTo";const X=62;e[e.greaterThan=X]="greaterThan";const U=63;e[e.questionMark=U]="questionMark";const H=64;e[e.atSign=H]="atSign";const ae=65;e[e.uppercaseA=ae]="uppercaseA";const te=66;e[e.uppercaseB=te]="uppercaseB";const q=67;e[e.uppercaseC=q]="uppercaseC";const K=68;e[e.uppercaseD=K]="uppercaseD";const L=69;e[e.uppercaseE=L]="uppercaseE";const O=70;e[e.uppercaseF=O]="uppercaseF";const V=71;e[e.uppercaseG=V]="uppercaseG";const Q=72;e[e.uppercaseH=Q]="uppercaseH";
60const Z=73;e[e.uppercaseI=Z]="uppercaseI";const re=74;e[e.uppercaseJ=re]="uppercaseJ";const oe=75;e[e.uppercaseK=oe]="uppercaseK";const me=76;e[e.uppercaseL=me]="uppercaseL";const ye=77;e[e.uppercaseM=ye]="uppercaseM";const Se=78;e[e.uppercaseN=Se]="uppercaseN";const we=79;e[e.uppercaseO=we]="uppercaseO";const Ce=80;e[e.uppercaseP=Ce]="uppercaseP";const se=81;e[e.uppercaseQ=se]="uppercaseQ";const ue=82;e[e.uppercaseR=ue]="uppercaseR";const _e=83;e[e.uppercaseS=_e]="uppercaseS";const Ue=84;e[e.uppercaseT=Ue]="uppercaseT";const xe=85;e[e.uppercaseU=xe]="uppercaseU";const le=86;e[e.uppercaseV=le]="uppercaseV";const ge=87;e[e.uppercaseW=ge]="uppercaseW";const Ae=88;e[e.uppercaseX=Ae]="uppercaseX";const Ke=89;e[e.uppercaseY=Ke]="uppercaseY";const Ge=90;e[e.uppercaseZ=Ge]="uppercaseZ";const Oe=91;e[e.leftSquareBracket=Oe]="leftSquareBracket";const at=92;e[e.backslash=at]="backslash";const Dt=93;e[e.rightSquareBracket=Dt]="rightSquareBracket";const Jn=94;e[e.caret=Jn]="caret";const Yn=95;e[e.underscore=Yn]="underscore";const wr=96;e[e.graveAccent=wr]="graveAccent";const Xs=97;e[e.lowercaseA=Xs]="lowercaseA";const Ar=98;e[e.lowercaseB=Ar]="lowercaseB";const Qs=99;e[e.lowercaseC=Qs]="lowercaseC";const Zn=100;e[e.lowercaseD=Zn]="lowercaseD";const la=101;e[e.lowercaseE=la]="lowercaseE";const Pr=102;e[e.lowercaseF=Pr]="lowercaseF";const ha=103;e[e.lowercaseG=ha]="lowercaseG";const Js=104;e[e.lowercaseH=Js]="lowercaseH";const fa=105;e[e.lowercaseI=fa]="lowercaseI";const Tr=106;e[e.lowercaseJ=Tr]="lowercaseJ";const ut=107;e[e.lowercaseK=ut]="lowercaseK";const Cr=108;e[e.lowercaseL=Cr]="lowercaseL";const Ys=109;e[e.lowercaseM=Ys]="lowercaseM";const gs=110;e[e.lowercaseN=gs]="lowercaseN";const Rr=111;e[e.lowercaseO=Rr]="lowercaseO";const vs=112;e[e.lowercaseP=vs]="lowercaseP";const pa=113;e[e.lowercaseQ=pa]="lowercaseQ";const da=114;e[e.lowercaseR=da]="lowercaseR";const Zs=115;e[e.lowercaseS=Zs]="lowercaseS";const ei=116;e[e.lowercaseT=ei]="lowercaseT";const ti=117;e[e.lowercaseU=ti]="lowercaseU";const ni=118;e[e.lowercaseV=ni]="lowercaseV";const Nr=119;e[e.lowercaseW=Nr]="lowercaseW";const ri=120;e[e.lowercaseX=ri]="lowercaseX";const si=121;e[e.lowercaseY=si]="lowercaseY";const ii=122;e[e.lowercaseZ=ii]="lowercaseZ";const cn=123;e[e.leftCurlyBrace=cn]="leftCurlyBrace";const ke=124;e[e.verticalBar=ke]="verticalBar";const he=125;e[e.rightCurlyBrace=he]="rightCurlyBrace";const Re=126;e[e.tilde=Re]="tilde";const Be=160;e[e.nonBreakingSpace=Be]="nonBreakingSpace";const We=5760;e[e.oghamSpaceMark=We]="oghamSpaceMark";const zt=8232;e[e.lineSeparator=zt]="lineSeparator";const un=8233;e[e.paragraphSeparator=un]="paragraphSeparator"})(G||(G={}));let qo,He,Ze,f,fe,DI;function Bi(){return DI++}function mO(e){if("pos"in e){const t=vO(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}class gO{constructor(t,n){this.line=t,this.column=n}}function vO(e){let t=1,n=1;for(let r=0;r<e;r++)fe.charCodeAt(r)===G.lineFeed?(t++,n=1):n++;return new gO(t,n)}function yO(e,t,n,r){fe=e,f=new Kt,DI=1,qo=t,He=n,Ze=r}function Ee(e){return f.contextualKeyword===e}function Ep(e){const t=zi();return t.type===a.name&&t.contextualKeyword===e}function Ct(e){return f.contextualKeyword===e&&Y(a.name)}function bt(e){Ct(e)||$e()}function an(){return w(a.eof)||w(a.braceR)||Xt()}function Xt(){const e=f.tokens[f.tokens.length-1],t=e?e.end:0;for(let n=t;n<f.start;n++){const r=fe.charCodeAt(n);if(r===G.lineFeed||r===G.carriageReturn||r===8232||r===8233)return!0}return!1}function LI(){const e=kp();for(let t=f.end;t<e;t++){const n=fe.charCodeAt(t);if(n===G.lineFeed||n===G.carriageReturn||n===8232||n===8233)return!0}return!1}function Kn(){return Y(a.semi)||an()}function ht(){Kn()||$e('Unexpected token, expected ";"')}function ee(e){Y(e)||$e(`Unexpected token, expected "${pO(e)}"`)}function $e(e="Unexpected token",t=f.start){if(f.error)return;const n=new SyntaxError(e);n.pos=t,f.error=n,f.pos=fe.length,De(a.eof)}const MI=[9,11,12,G.space,G.nonBreakingSpace,G.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],FI=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,qI=new Uint8Array(65536);for(const e of MI)qI[e]=1;function _O(e){if(e<48)return e===36;if(e<58)return!0;
vendor: 16,384 bytes, line 60
60if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const An=new Uint8Array(65536);for(let e=0;e<128;e++)An[e]=_O(e)?1:0;for(let e=128;e<65536;e++)An[e]=1;for(const e of MI)An[e]=0;An[8232]=0,An[8233]=0;const Vi=An.slice();for(let e=G.digit0;e<=G.digit9;e++)Vi[e]=0;const jI=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,T._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,T._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,T._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,T._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,T._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,T._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(a._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(a._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,T._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(a._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(a._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(a._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,T._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(a._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(a._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(a._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,T._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(a._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,T._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(a._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,T._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(a._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,T._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,50
6049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(a._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,T._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,T._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,
vendor: 8,253 bytes, line 60
60-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,T._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,T._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,T._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(a._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(a._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(a._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,T._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(a._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(a._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function xO(){let e=0,t=0,n=f.pos;for(;n<fe.length&&(t=fe.charCodeAt(n),!(t<G.lowercaseA||t>G.lowercaseZ));){const s=jI[e+(t-G.lowercaseA)+1];if(s===-1)break;e=s,n++}const r=jI[e];if(r>-1&&!An[t]){f.pos=n,r&1?De(r>>
60>1):De(a.name,r>>>1);return}for(;n<fe.length;){const s=fe.charCodeAt(n);if(An[s])n++;else if(s===G.backslash){if(n+=2,fe.charCodeAt(n)===G.leftCurlyBrace){for(;n<fe.length&&fe.charCodeAt(n)!==G.rightCurlyBrace;)n++;n++}}else if(s===G.atSign&&fe.charCodeAt(n+1)===G.atSign)n+=2;else break}f.pos=n,De(a.name)}var Ie;(function(e){e[e.Access=0]="Access";const n=1;e[e.ExportAccess=n]="ExportAccess";const r=n+1;e[e.TopLevelDeclaration=r]="TopLevelDeclaration";const s=r+1;e[e.FunctionScopedDeclaration=s]="FunctionScopedDeclaration";const i=s+1;e[e.BlockScopedDeclaration=i]="BlockScopedDeclaration";const o=i+1;e[e.ObjectShorthandTopLevelDeclaration=o]="ObjectShorthandTopLevelDeclaration";const c=o+1;e[e.ObjectShorthandFunctionScopedDeclaration=c]="ObjectShorthandFunctionScopedDeclaration";const u=c+1;e[e.ObjectShorthandBlockScopedDeclaration=u]="ObjectShorthandBlockScopedDeclaration";const l=u+1;e[e.ObjectShorthand=l]="ObjectShorthand";const h=l+1;e[e.ImportDeclaration=h]="ImportDeclaration";const p=h+1;e[e.ObjectKey=p]="ObjectKey";const d=p+1;e[e.ImportAccess=d]="ImportAccess"})(Ie||(Ie={}));var Pn;(function(e){e[e.NoChildren=0]="NoChildren";const n=1;e[e.OneChild=n]="OneChild";const r=n+1;e[e.StaticChildren=r]="StaticChildren";const s=r+1;e[e.KeyAfterPropSpread=s]="KeyAfterPropSpread"})(Pn||(Pn={}));function BI(e){const t=e.identifierRole;return t===Ie.TopLevelDeclaration||t===Ie.FunctionScopedDeclaration||t===Ie.BlockScopedDeclaration||t===Ie.ObjectShorthandTopLevelDeclaration||t===Ie.ObjectShorthandFunctionScopedDeclaration||t===Ie.ObjectShorthandBlockScopedDeclaration}function bO(e){const t=e.identifierRole;return t===Ie.FunctionScopedDeclaration||t===Ie.BlockScopedDeclaration||t===Ie.ObjectShorthandFunctionScopedDeclaration||t===Ie.ObjectShorthandBlockScopedDeclaration}function VI(e){const t=e.identifierRole;return t===Ie.TopLevelDeclaration||t===Ie.ObjectShorthandTopLevelDeclaration||t===Ie.ImportDeclaration}function EO(e){const t=e.identifierRole;return t===Ie.TopLevelDeclaration||t===Ie.BlockScopedDeclaration||t===Ie.ObjectShorthandTopLevelDeclaration||t===Ie.ObjectShorthandBlockScopedDeclaration}function kO(e){const t=e.identifierRole;return t===Ie.FunctionScopedDeclaration||t===Ie.ObjectShorthandFunctionScopedDeclaration}function SO(e){return e.identifierRole===Ie.ObjectShorthandTopLevelDeclaration||e.identifierRole===Ie.ObjectShorthandBlockScopedDeclaration||e.identifierRole===Ie.ObjectShorthandFunctionScopedDeclaration}class jo{constructor(){this.type=f.type,this.contextualKeyword=f.contextualKeyword,this.start=f.start,this.end=f.end,this.scopeDepth=f.scopeDepth,this.isType=f.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function ne(){f.tokens.push(new jo),WI()}function br(){f.tokens.push(new jo),f.start=f.pos,BO()}function IO(){f.type===a.assign&&--f.pos,FO()}function qe(e){for(let n=f.tokens.length-e;n<f.tokens.length;n++)f.tokens[n].isType=!0;const t=f.isType;return f.isType=!0,t}function Fe(e){f.isType=e}function Y(e){return w(e)?(ne(),!0):!1}function zI(e){const t=f.isType;f.isType=!0,Y(e),f.isType=t}function w(e){return f.type===e}function dt(){const e=f.snapshot();ne();const t=f.type;return f.restoreFromSnapshot(e),t}class wO{constructor(t,n){this.type=t,this.contextualKeyword=n}}function zi(){const e=f.snapshot();ne();const t=f.type,n=f.contextualKeyword;return f.restoreFromSnapshot(e),new wO(t,n)}function kp(){return UI(f.pos)}function UI(e){FI.lastIndex=e;const t=FI.exec(fe);return e+t[0].length}function GI(){return fe.charCodeAt(kp())}function WI(){if(KI(),f.start=f.pos,f.pos>=fe.length){const e=f.tokens;e.length>=2&&e[e.length-1].start>=fe.length&&e[e.length-2].start>=fe.length&&$e("Unexpectedly reached the end of input."),De(a.eof);return}AO(fe.charCodeAt(f.pos))}function AO(e){Vi[e]||e===G.backslash||e===G.atSign&&fe.charCodeAt(f.pos+1)===G.atSign?xO():JI(e)}function PO(){for(;fe.charCodeAt(f.pos)!==G.asterisk||fe.charCodeAt(f.pos+1)!==G.slash;)if(f.pos++,f.pos>fe.length){$e("Unterminated comment",f.pos-2);return}f.pos+=2}function HI(e){let t=fe.charCodeAt(f.pos+=e);if(f.pos<fe.length)for(;t!==G.lineFeed&&t!==G.carriageReturn&&t!==G.lineSeparator&&t!==G.paragraphSeparator&&++f.pos<fe.length;)t=fe.charCodeAt(f.pos)}function KI(){for(;f.pos<fe.length;){const e=fe.charCodeAt(f.pos);switch(e){case G.carriageReturn:fe.charCodeAt(f.pos+1)===G.lineFeed&&++f.pos;case G.lineFeed:case G.lineSeparator:case G.paragraphSeparator:++f.pos;break;case G.slash:switch(fe.charCodeAt(f.pos+1)){case G.asterisk:f.pos+=2,PO();break;case G.slash:HI(2);break;default:return}break;default:if(qI[e])++f.pos;else return}}}function De(e,t=T.NONE){f.end=f.pos,f.type=e,f.contextualKeyword=t}function TO(){const e=fe.charCodeAt(f.pos+1);if(e>=G.digit0&&e<=G.digit9){YI(!0);return}e===G.dot&&fe.charCodeAt(f.pos+2)===G.dot?(f.pos+=3,De(a.ellipsis)):(++f.pos,De(a.dot))}function CO(){fe.charCodeAt(f.pos+1)===G.equalsTo?tt(a.assign,2):tt(a.slash,1)}function RO(e){let t=e===G.asterisk?a.star:a.modulo,n=1,r=fe.charCodeAt(f.pos+1);e===G.asterisk&&r===G.asterisk&&(n++,r=fe.charCodeAt(f.pos+2),t=a.exponent),r===G.equalsTo&&fe.charCodeAt(f.pos+2)!==G.greaterThan&&(n++,t=a.assign),tt(t,n)}function NO(e){const t=fe.charCodeAt(f.pos+1);if(t===e){fe.charCodeAt(f.pos+2)===G.equalsTo?tt(a.assign,3):tt(e===G.verticalBar?a.logicalOR:a.logicalAND,2);return}if(e===G.verticalBar){if(t===G.greaterThan){tt(a.pipeline,2);return}else if(t===G.rightCurlyBrace&&Ze){tt(a.braceBarR,2);return}}if(t===G.equalsTo){tt(a.assign,2);return}tt(e===G.verticalBar?a.bitwiseOR:a.bitwiseAND,1)}function OO(){fe.charCodeAt(f.pos+1)===G.equalsTo?tt(a.assign,2):tt(a.bitwiseXOR,1)}function $O(e){const t=fe.charCodeAt(f.pos+1);if(t===e){tt(a.preIncDec,2);return}t===G.equalsTo?tt(a.assign,2):e===G.plusSign?tt(a.plus,1):tt(a.minus,1)}function DO(){const e=fe.charCodeAt(f.pos+1);if(e===G.lessThan){if(fe.charCodeAt(f.pos+2)===G.equalsTo){tt(a.assign,3);return}f.isType?tt(a.lessThan,1):tt(a.bitShiftL,2);return}e===G.equalsTo?tt(a.relationalOrEqual,2):tt(a.lessThan,1)}function XI(){if(f.isType){tt(a.greaterThan,1);return}const e=fe.charCodeAt(f.pos+1);if(e===G.greaterThan){const t=fe.charCodeAt(f.pos+2)===G.greaterThan?3:2;if(fe.charCodeAt(f.pos+t)===G.equalsTo){tt(a.assign,t+1);return}tt(a.bitShiftR,t);return}e===G.equalsTo?tt(a.relationalOrEqual,2):tt(a.greaterThan,1)}function QI(){f.type===a.greaterThan&&(f.pos-=1,XI())}function LO(e){const t=fe.charCodeAt(f.pos+1);if(t===G.equalsTo){tt(a.equality,fe.charCodeAt(f.pos+2)===G.equalsTo?3:2);return}if(e===G.equalsTo&&t===G.greaterThan){f.pos+=2,De(a.arrow);return}tt(e===G.equalsTo?a.eq:a.bang,1)}function MO(){const e=fe.charCodeAt(f.pos+1),t=fe.charCodeAt(f.pos+2);e===G.questionMark&&!(Ze&&f.isType)?t===G.equalsTo?tt(a.assign,3):tt(a.nullishCoalescing,2):e===G.dot&&!(t>=G.digit0&&t<=G.digit9)?(f.pos+=2,De(a.questionDot)):(++f.pos,De(a.question))}function JI(e){switch(e){case G.numberSign:++f.pos,De(a.hash);return;case G.dot:TO();return;case G.leftParenthesis:++f.pos,De(a.parenL);return;case G.rightParenthesis:++f.pos,De(a.parenR);return;case G.semicolon:++f.pos,De(a.semi);return;case G.comma:++f.pos,De(a.comma);return;case G.leftSquareBracket:++f.pos,De(a.bracketL);return;case G.rightSquareBracket:++f.pos,De(a.bracketR);return;case G.leftCurlyBrace:Ze&&fe.charCodeAt(f.pos+1)===G.verticalBar?tt(a.braceBarL,2):(++f.pos,De(a.braceL));return;case G.rightCurlyBrace:++f.pos,De(a.braceR);return;case G.colon:fe.charCodeAt(f.pos+1)===G.colon?tt(a.doubleColon,2):(++f.pos,De(a.colon));return;case G.questionMark:MO();return;case G.atSign:++f.pos,De(a.at);return;case G.graveAccent:++f.pos,De(a.backQuote);return;case G.digit0:{const t=fe.charCodeAt(f.pos+1);if(t===G.lowercaseX||t===G.uppercaseX||t===G.lowercaseO||t===G.uppercaseO||t===G.lowercaseB||t===G.uppercaseB){qO();return}}case G.digit1:case G.digit2:case G.digit3:case G.digit4:case G.digit5:case G.digit6:case G.digit7:case G.digit8:case G.digit9:YI(!1);return;case G.quotationMark:case G.apostrophe:jO(e);return;case G.slash:CO();return;case G.percentSign:case G.asterisk:RO(e);return;case G.verticalBar:case G.ampersand:NO(e);return;case G.caret:OO();return;case G.plusSign:case G.dash:$O(e);return;case G.lessThan:DO();return;case G.greaterThan:XI();return;case G.equalsTo:case G.exclamationMark:LO(e);return;case G.tilde:tt(a.tilde,1);return}$e(`Unexpected character '${String.fromCharCode(e)}'`,f.pos)}function tt(e,t){f.pos+=t,De(e)}function FO(){const e=f.pos;let t=!1,n=!1;for(;;){if(f.pos>=fe.length){$e("Unterminated regular expression",e);return}const r=fe.charCodeAt(f.pos);if(t)t=!1;else{if(r===G.leftSquareBracket)n=!0;else if(r===G.rightSquareBracket&&n)n=!1;else if(r===G.slash&&!n)break;t=r===G.backslash}++f.pos}++f.pos,VO(),De(a.regexp)}function Sp(){for(;;){const e=fe.charCodeAt(f.pos);if(e>=G.digit0&&e<=G.digit9||e===G.underscore)f.pos++;else break}}function qO(){for(f.pos+=2;;){const t=fe.charCodeAt(f.pos);if(t>=G.digit0&&t<=G.digit9||t>=G.lowercaseA&&t<=G.lowercaseF||t>=G.uppercaseA&&t<=G.uppercaseF||t===G.underscore)f.pos++;else break}fe.charCodeAt(f.pos)===G.lowercaseN?(++f.pos,De(a.bigint)):De(a.num)}function YI(e){let t=!1,n=!1;e||Sp();let r=fe.charCodeAt(f.pos);if(r===G.dot&&(++f.pos,Sp(),r=fe.charCodeAt(f.pos)),(r===G.uppercaseE||r===G.lowercaseE)&&
60(r=fe.charCodeAt(++f.pos),(r===G.plusSign||r===G.dash)&&++f.pos,Sp(),r=fe.charCodeAt(f.pos)),r===G.lowercaseN?(++f.pos,t=!0):r===G.lowercaseM&&(++f.pos,n=!0),t){De(a.bigint);return}if(n){De(a.decimal);return}De(a.num)}function jO(e){for(f.pos++;;){if(f.pos>=fe.length){$e("Unterminated string constant");return}const t=fe.charCodeAt(f.pos);if(t===G.backslash)f.pos++;else if(t===e)break;f.pos++}f.pos++,De(a.string)}function BO(){for(;;){if(f.pos>=fe.length){$e("Unterminated template");return}const e=fe.charCodeAt(f.pos);if(e===G.graveAccent||e===G.dollarSign&&fe.charCodeAt(f.pos+1)===G.leftCurlyBrace){if(f.pos===f.start&&w(a.template))if(e===G.dollarSign){f.pos+=2,De(a.dollarBraceL);return}else{++f.pos,De(a.backQuote);return}De(a.template);return}e===G.backslash&&f.pos++,f.pos++}}function VO(){for(;f.pos<fe.length;){const e=fe.charCodeAt(f.pos);if(An[e])f.pos++;else if(e===G.backslash){if(f.pos+=2,fe.charCodeAt(f.pos)===G.leftCurlyBrace){for(;f.pos<fe.length&&fe.charCodeAt(f.pos)!==G.rightCurlyBrace;)f.pos++;f.pos++}}else break}}function Ui(e,t=e.currentIndex()){let n=t+1;if(Bo(e,n)){const r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,Bo(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,Bo(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,Bo(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}function Bo(e,t){const n=e.tokens[t];return n.type===a.braceR||n.type===a.comma}var zO=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy","­"],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["
60infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function ZI(e){const[t,n]=ew(e.jsxPragma||"React.createElement"),[r,s]=ew(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:s}}function ew(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}class Tn{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class os extends Tn{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,n,r,s,i){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.nameManager=s,this.options=i,os.prototype.__init.call(this),os.prototype.__init2.call(this),os.prototype.__init3.call(this),os.prototype.__init4.call(this),os.prototype.__init5.call(this),this.jsxPragmaInfo=ZI(i),this.isAutomaticRuntime=i.jsxRuntime==="automatic",this.jsxImportSource=i.jsxImportSource||"react"}process(){return this.tokens.matches1(a.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[n,r]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${r} = require("${n}");`;else{const{createElement:n,...r}=this.esmAutomaticImportNameResolutions;n&&(t+=`import {createElement as ${n}} from "${this.jsxImportSource}";`);const s=Object.entries(r).map(([i,o])=>`${i} as ${o}`).join(", ");if(s){const i=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${s}} from "${i}";`}}return t}processJSXTag(){const{jsxRole:t,start:n}=this.tokens.currentToken(),r=this.options.production?null:this.getElementLocationCode(n);this.isAutomaticRuntime&&t!==Pn.KeyAfterPropSpread?this.transformTagToJSXFunc(r,t):this.transformTagToCreateElement(r)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const n=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<n.length;)n[this.lastIndex]===`
61`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,n){const r=n===Pn.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(r));let s=null;if(this.tokens.matches1(a.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(n);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),s=this.processProps(!0),this.tokens.matches2(a.slash,a.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(a.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(n);else throw new Error("Expected either /> or > at the end of the tag.");s&&this.tokens.appendCode(`, ${s}`)}for(this.options.production||(s===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${r}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(a.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(a.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(a.slash,a.jsxTagEnd))if(this.tokens.matches1(a.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(a.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,n){const r=this.claimAutoImportedName(t,n);return this.importProcessor?`${r}.call(void 0, `:`${r}(`}claimAutoImportedName(t,n){if(this.importProcessor){const r=this.jsxImportSource+n;return this.cjsAutomaticModuleNameResolutions[r]||(this.cjsAutomaticModuleNameResolutions[r]=this.importProcessor.getFreeIdentifierForPath(r)),`${this.cjsAutomaticModuleNameResolutions[r]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,a.jsxName,a.jsxName)&&!this.tokens.matches2AtIndex(t-1,a.greaterThan,a.jsxName)&&!this.tokens.matches1AtIndex(t,a.braceL)&&!this.tokens.matches1AtIndex(t,a.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,a.slash,a.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const n=this.tokens.identifierName();tw(n)&&this.tokens.replaceToken(`'${n}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){const n=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(a.jsxName)&&!this.tokens.matches1(a.braceL)){n?this.tokens.appendCode(`, {${n}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),n?this.tokens.appendCode(` ${n}}`):this.tokens.appendCode("}")}processProps(t){let n=null;for(;;){if(this.tokens.matches2(a.jsxName,a.eq)){const r=this.tokens.identifierName();if(t&&r==="key"){n!==null&&this.tokens.appendCode(n.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const s=this.tokens.snapshot();this.processPropValue(),n=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(s);continue}else this.processPropName(r),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(a.jsxName)){const r=this.tokens.identifierName();this.processPropName(r),this.tokens.appendCode(": true")}else if(this.tokens.matches1(a.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return n}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(a.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(a.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const t=this.tokens.currentToken(),n=this.tokens.code.slice(t.start+1,t.end-1),r=nw(n),s=GO(n);this.tokens.replaceToken(s+r)}
61processAutomaticChildrenAndEndProps(t){t===Pn.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===Pn.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let n=t;for(;;){if(this.tokens.matches2(a.jsxTagStart,a.slash))return;let r=!1;if(this.tokens.matches1(a.braceL))this.tokens.matches2(a.braceL,a.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(n?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),r=!0);else if(this.tokens.matches1(a.jsxTagStart))this.tokens.appendCode(n?", ":""),this.processJSXTag(),r=!0;else if(this.tokens.matches1(a.jsxText)||this.tokens.matches1(a.jsxEmptyText))r=this.processChildTextElement(n);else throw new Error("Unexpected token when processing JSX children.");r&&(n=!0)}}processChildTextElement(t){const n=this.tokens.currentToken(),r=this.tokens.code.slice(n.start,n.end),s=nw(r),i=UO(r);return i==='""'?(this.tokens.replaceToken(s),!1):(this.tokens.replaceToken(`${t?", ":""}${i}${s}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function tw(e){const t=e.charCodeAt(0);return t>=G.lowercaseA&&t<=G.lowercaseZ}function UO(e){let t="",n="",r=!1,s=!1;for(let i=0;i<e.length;i++){const o=e[i];if(o===" "||o==="	"||o==="\r")r||(n+=o);else if(o===`
62`)n="",r=!0;else{if(s&&r&&(t+=" "),t+=n,n="",o==="&"){const{entity:c,newI:u}=rw(e,i+1);i=u-1,t+=c}else t+=o;s=!0,r=!1}}return r||(t+=n),JSON.stringify(t)}function nw(e){let t=0,n=0;for(const r of e)r===`
63`?(t++,n=0):r===" "&&n++;return`
64`.repeat(t)+" ".repeat(n)}function GO(e){let t="";for(let n=0;n<e.length;n++){const r=e[n];if(r===`
65`)if(/\s/.test(e[n+1]))for(t+=" ";n<e.length&&/\s/.test(e[n+1]);)n++;else t+=`
66`;else if(r==="&"){const{entity:s,newI:i}=rw(e,n+1);t+=s,n=i-1}else t+=r}return JSON.stringify(t)}function rw(e,t){let n="",r=0,s,i=t;if(e[i]==="#"){let o=10;i++;let c;if(e[i]==="x")for(o=16,i++,c=i;i<e.length&&HO(e.charCodeAt(i));)i++;else for(c=i;i<e.length&&WO(e.charCodeAt(i));)i++;if(e[i]===";"){const u=e.slice(c,i);u&&(i++,s=String.fromCodePoint(parseInt(u,o)))}}else for(;i<e.length&&r++<10;){const o=e[i];if(i++,o===";"){s=zO.get(n);break}n+=o}return s?{entity:s,newI:i}:{entity:"&",newI:t}}function WO(e){return e>=G.digit0&&e<=G.digit9}function HO(e){return e>=G.digit0&&e<=G.digit9||e>=G.lowercaseA&&e<=G.lowercaseF||e>=G.uppercaseA&&e<=G.uppercaseF}function sw(e,t){const n=ZI(t),r=new Set;for(let s=0;s<e.tokens.length;s++){const i=e.tokens[s];if(i.type===a.name&&!i.isType&&(i.identifierRole===Ie.Access||i.identifierRole===Ie.ObjectShorthand||i.identifierRole===Ie.ExportAccess)&&!i.shadowsGlobal&&r.add(e.identifierNameForToken(i)),i.type===a.jsxTagStart&&r.add(n.base),i.type===a.jsxTagStart&&s+1<e.tokens.length&&e.tokens[s+1].type===a.jsxTagEnd&&(r.add(n.base),r.add(n.fragmentBase)),i.type===a.jsxName&&i.identifierRole===Ie.Access){const o=e.identifierNameForToken(i);(!tw(o)||e.tokens[s+1].type===a.dot)&&r.add(e.identifierNameForToken(i))}}return r}class cs{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,n,r,s,i,o,c){this.nameManager=t,this.tokens=n,this.enableLegacyTypeScriptModuleInterop=r,this.options=s,this.isTypeScriptTransformEnabled=i,this.keepUnusedImports=o,this.helperManager=c,cs.prototype.__init.call(this),cs.prototype.__init2.call(this),cs.prototype.__init3.call(this),cs.prototype.__init4.call(this),cs.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,a._import)&&!this.tokens.matches3AtIndex(t,a._import,a.name,a.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,a._export)&&!this.tokens.matches2AtIndex(t,a._export,a.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=sw(this.tokens,this.options);for(const[t,n]of this.importInfoByPath.entries()){if(n.hasBareImport||n.hasStarExport||n.exportStarNames.length>0||n.namedExports.length>0)continue;[...n.defaultNames,...n.wildcardNames,...n.namedImports.map(({localName:s})=>s)].every(s=>this.shouldAutomaticallyElideImportedName(s))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(const[t,n]of this.importInfoByPath.entries()){const{defaultNames:r,wildcardNames:s,namedImports:i,namedExports:o,exportStarNames:c,hasStarExport:u}=n;
66if(r.length===0&&s.length===0&&i.length===0&&o.length===0&&c.length===0&&!u){this.importsToReplace.set(t,`require('${t}');`);continue}const l=this.getFreeIdentifierForPath(t);let h;this.enableLegacyTypeScriptModuleInterop?h=l:h=s.length>0?s[0]:this.getFreeIdentifierForPath(t);let p=`var ${l} = require('${t}');`;if(s.length>0)for(const d of s){const _=this.enableLegacyTypeScriptModuleInterop?l:`${this.helperManager.getHelperName("interopRequireWildcard")}(${l})`;p+=` var ${d} = ${_};`}else c.length>0&&h!==l?p+=` var ${h} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${l});`:r.length>0&&h!==l&&(p+=` var ${h} = ${this.helperManager.getHelperName("interopRequireDefault")}(${l});`);for(const{importedName:d,localName:_}of o)p+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${l}, '${_}', '${d}');`;for(const d of c)p+=` exports.${d} = ${h};`;u&&(p+=` ${this.helperManager.getHelperName("createStarExport")}(${l});`),this.importsToReplace.set(t,p);for(const d of r)this.identifierReplacements.set(d,`${h}.default`);for(const{importedName:d,localName:_}of i)this.identifierReplacements.set(_,`${l}.${d}`)}}getFreeIdentifierForPath(t){const n=t.split("/"),s=n[n.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${s}`)}preprocessImportAtIndex(t){const n=[],r=[],s=[];if(t++,(this.tokens.matchesContextualAtIndex(t,T._type)||this.tokens.matches1AtIndex(t,a._typeof))&&!this.tokens.matches1AtIndex(t+1,a.comma)&&!this.tokens.matchesContextualAtIndex(t+1,T._from)||this.tokens.matches1AtIndex(t,a.parenL))return;if(this.tokens.matches1AtIndex(t,a.name)&&(n.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,a.comma)&&t++),this.tokens.matches1AtIndex(t,a.star)&&(t+=2,r.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,a.braceL)){const c=this.getNamedImports(t+1);t=c.newIndex;for(const u of c.namedImports)u.importedName==="default"?n.push(u.localName):s.push(u)}if(this.tokens.matchesContextualAtIndex(t,T._from)&&t++,!this.tokens.matches1AtIndex(t,a.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(t),o=this.getImportInfo(i);o.defaultNames.push(...n),o.wildcardNames.push(...r),o.namedImports.push(...s),n.length===0&&r.length===0&&s.length===0&&(o.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,a._export,a._var)||this.tokens.matches2AtIndex(t,a._export,a._let)||this.tokens.matches2AtIndex(t,a._export,a._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,a._export,a._function)||this.tokens.matches2AtIndex(t,a._export,a._class)){const n=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(n,n)}else if(this.tokens.matches3AtIndex(t,a._export,a.name,a._function)){const n=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(n,n)}else this.tokens.matches2AtIndex(t,a._export,a.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,a._export,a.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let n=0;for(let r=t+2;;r++)if(this.tokens.matches1AtIndex(r,a.braceL)||this.tokens.matches1AtIndex(r,a.dollarBraceL)||this.tokens.matches1AtIndex(r,a.bracketL))n++;else if(this.tokens.matches1AtIndex(r,a.braceR)||this.tokens.matches1AtIndex(r,a.bracketR))n--;else{if(n===0&&!this.tokens.matches1AtIndex(r,a.name))break;if(this.tokens.matches1AtIndex(1,a.eq)){const s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");r=s-1}else{const s=this.tokens.tokens[r];if(BI(s)){const i=this.tokens.identifierNameAtIndex(r);this.identifierReplacements.set(i,`exports.${i}`)}}}}preprocessNamedExportAtIndex(t){t+=2;const{newIndex:n,namedImports:r}=this.getNamedImports(t);if(t=n,this.tokens.matchesContextualAtIndex(t,T._from))t++;else{for(const{importedName:o,localName:c}of r)this.addExportBinding(o,c);return}if(!this.tokens.matches1AtIndex(t,a.string))throw new Error("Expected string token at the end of import statement.");const s=this.tokens.stringValueAtIndex(t);this.getImportInfo(s).namedExports.push(...r)}preprocessExportStarAtIndex(t){let n=null;if(this.tokens.matches3AtIndex(t,a._export,a.star,a._as)?(t+=3,n=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,a.string))throw new Error("Expected string token at the end of star export statement.");const r=this.tokens.stringValueAtIndex(t),s=this.getImportInfo(r);n!==null?s.exportStarNames.push(n):s.hasStarExport=!0}getNamedImports(t){const n=[];for(;;){if(this.tokens.matches1AtIndex(t,a.braceR)){t++;break}const r=Ui(this.tokens,t);if(t=r.endIndex,r.isType||n.push({importedName:r.leftName,localName:r.rightName}),this.tokens.matches2AtIndex(t,a.comma,a.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,a.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,a.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:n}}getImportInfo(t){const n=this.importInfoByPath.get(t);if(n)return n;const r={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,r),r}addExportBinding(t,n){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(n)}claimImportCode(t){const n=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),n||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){const n=this.exportBindingsByLocalName.get(t);return!n||n.length===0?null:n.map(r=>`exports.${r}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Gi={exports:{}},Wi={exports:{}},KO=Wi.exports,iw;function XO(){return iw||(iw=1,(function(e,t){(function(n,r){r(t)})(KO,(function(n){n.get=void 0,n.put=void 0,n.pop=void 0;
66class r{constructor(){this._indexes={__proto__:null},this.array=[]}}n.get=(s,i)=>s._indexes[i],n.put=(s,i)=>{const o=n.get(s,i);if(o!==void 0)return o;const{array:c,_indexes:u}=s;return u[i]=c.push(i)-1},n.pop=s=>{const{array:i,_indexes:o}=s;if(i.length===0)return;const c=i.pop();o[c]=void 0},n.SetArray=r,Object.defineProperty(n,"__esModule",{value:!0})}))})(Wi,Wi.exports)),Wi.exports}var Hi={exports:{}},QO=Hi.exports,aw;function ow(){return aw||(aw=1,(function(e,t){(function(n,r){r(t)})(QO,(function(n){const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(64),c=new Uint8Array(128);for(let B=0;B<i.length;B++){const R=i.charCodeAt(B);o[B]=R,c[R]=B}function u(B,R){let C=0,D=0,W=0;do{const j=B.next();W=c[j],C|=(W&31)<<D,D+=5}while(W&32);const J=C&1;return C>>>=1,J&&(C=-2147483648|-C),R+C}function l(B,R,C){let D=R-C;D=D<0?-D<<1|1:D<<1;do{let W=D&31;D>>>=5,D>0&&(W|=32),B.write(o[W])}while(D>0);return R}function h(B,R){return B.pos>=R?!1:B.peek()!==44}const p=1024*16,d=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(B){return Buffer.from(B.buffer,B.byteOffset,B.byteLength).toString()}}:{decode(B){let R="";for(let C=0;C<B.length;C++)R+=String.fromCharCode(B[C]);return R}};class _{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(p)}write(R){const{buffer:C}=this;C[this.pos++]=R,this.pos===p&&(this.out+=d.decode(C),this.pos=0)}flush(){const{buffer:R,out:C,pos:D}=this;return D>0?C+d.decode(R.subarray(0,D)):C}}class k{constructor(R){this.pos=0,this.buffer=R}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(R){const{buffer:C,pos:D}=this,W=C.indexOf(R,D);return W===-1?C.length:W}}const g=[];function y(B){const{length:R}=B,C=new k(B),D=[],W=[];let J=0;for(;C.pos<R;C.pos++){J=u(C,J);const j=u(C,0);if(!h(C,R)){const ae=W.pop();ae[2]=J,ae[3]=j;continue}const $=u(C,0),U=u(C,0)&1?[J,j,0,0,$,u(C,0)]:[J,j,0,0,$];let H=g;if(h(C,R)){H=[];do{const ae=u(C,0);H.push(ae)}while(h(C,R))}U.vars=H,D.push(U),W.push(U)}return D}function E(B){const R=new _;for(let C=0;C<B.length;)C=I(B,C,R,[0]);return R.flush()}function I(B,R,C,D){const W=B[R],{0:J,1:j,2:$,3:M,4:X,vars:U}=W;R>0&&C.write(44),D[0]=l(C,J,D[0]),l(C,j,0),l(C,X,0);const H=W.length===6?1:0;l(C,H,0),W.length===6&&l(C,W[5],0);for(const ae of U)l(C,ae,0);for(R++;R<B.length;){const ae=B[R],{0:te,1:q}=ae;if(te>$||te===$&&q>=M)break;R=I(B,R,C,D)}return C.write(44),D[0]=l(C,$,D[0]),l(C,M,0),R}function v(B){const{length:R}=B,C=new k(B),D=[],W=[];let J=0,j=0,$=0,M=0,X=0,U=0,H=0,ae=0;do{const te=C.indexOf(";");let q=0;for(;C.pos<te;C.pos++){if(q=u(C,q),!h(C,te)){const oe=W.pop();oe[2]=J,oe[3]=q;continue}const K=u(C,0),L=K&1,O=K&2,V=K&4;let Q=null,Z=g,re;if(L){const oe=u(C,j);$=u(C,j===oe?$:0),j=oe,re=[J,q,0,0,oe,$]}else re=[J,q,0,0];if(re.isScope=!!V,O){const oe=M,me=X;M=u(C,M);const ye=oe===M;X=u(C,ye?X:0),U=u(C,ye&&me===X?U:0),Q=[M,X,U]}if(re.callsite=Q,h(C,te)){Z=[];do{H=J,ae=q;const oe=u(C,0);let me;if(oe<-1){me=[[u(C,0)]];for(let ye=-1;ye>oe;ye--){const Se=H;H=u(C,H),ae=u(C,H===Se?ae:0);const we=u(C,0);me.push([we,H,ae])}}else me=[[oe]];Z.push(me)}while(h(C,te))}re.bindings=Z,D.push(re),W.push(re)}J++,C.pos=te+1}while(C.pos<R);return D}function x(B){if(B.length===0)return"";const R=new _;for(let C=0;C<B.length;)C=b(B,C,R,[0,0,0,0,0,0,0]);return R.flush()}function b(B,R,C,D){const W=B[R],{0:J,1:j,2:$,3:M,isScope:X,callsite:U,bindings:H}=W;D[0]<J?(A(C,D[0],J),D[0]=J,D[1]=0):R>0&&C.write(44),D[1]=l(C,W[1],D[1]);const ae=(W.length===6?1:0)|(U?2:0)|(X?4:0);if(l(C,ae,0),W.length===6){const{4:te,5:q}=W;te!==D[2]&&(D[3]=0),D[2]=l(C,te,D[2]),D[3]=l(C,q,D[3])}if(U){const{0:te,1:q,2:K}=W.callsite;te!==D[4]?(D[5]=0,D[6]=0):q!==D[5]&&(D[6]=0),D[4]=l(C,te,D[4]),D[5]=l(C,q,D[5]),D[6]=l(C,K,D[6])}if(H)for(const te of H){te.length>1&&l(C,-te.length,0);const q=te[0][0];l(C,q,0);let K=J,L=j;for(let O=1;O<te.length;O++){const V=te[O];K=l(C,V[1],K),L=l(C,V[2],L),l(C,V[0],0)}}for(R++;R<B.length;){const te=B[R],{0:q,1:K}=te;if(q>$||q===$&&K>=M)break;R=b(B,R,C,D)}return D[0]<$?(A(C,D[0],$),D[0]=$,D[1]=0):C.write(44),D[1]=l(C,M,D[1]),R}function A(B,R,C){do B.write(59);while(++R<C)}function P(B){const{length:R}=B,C=new k(B),D=[];let W=0,J=0,j=0,$=0,M=0;do{const X=C.indexOf(";"),U=[];let H=!0,ae=0;for(W=0;C.pos<X;){let te;W=u(C,W),W<ae&&(H=!1),ae=W,h(C,X)?(J=u(C,J),j=u(C,j),$=u(C,$),h(C,X)?(M=u(C,M),te=[W,J,j,$,M]):te=[W,J,j,$]):te=[W],U.push(te),C.pos++}H||F(U),D.push(U),C.pos=X+1}while(C.pos<=R);return D}function F(B){B.sort(N)}function N(B,R){return B[0]-R[0]}function z(B){const R=new _;let C=0,D=0,W=0,J=0;for(let j=0;j<B.length;j++){const $=B[j];if(j>0&&R.write(59),$.length===0)continue;let M=0;for(let X=0;X<$.length;X++){const U=$[X];X>0&&R.write(44),M=l(R,U[0],M),U.length!==1&&(C=l(R,U[1],C),D=l(R,U[2],D),W=l(R,U[3],W),U.length!==4&&(J=l(R,U[4],J)))}}return R.flush()}n.decode=P,n.decodeGeneratedRanges=v,n.decodeOriginalScopes=y,n.encode=z,n.encodeGeneratedRanges=x,n.encodeOriginalScopes=E,Object.defineProperty(n,"__esModule",{value:!0})}
66))})(Hi,Hi.exports)),Hi.exports}var Ki={exports:{}},Vo={exports:{}},JO=Vo.exports,cw;function YO(){return cw||(cw=1,(function(e,t){(function(n,r){e.exports=r()})(JO,(function(){const n=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var i;(function(v){v[v.Empty=1]="Empty",v[v.Hash=2]="Hash",v[v.Query=3]="Query",v[v.RelativePath=4]="RelativePath",v[v.AbsolutePath=5]="AbsolutePath",v[v.SchemeRelative=6]="SchemeRelative",v[v.Absolute=7]="Absolute"})(i||(i={}));function o(v){return n.test(v)}function c(v){return v.startsWith("//")}function u(v){return v.startsWith("/")}function l(v){return v.startsWith("file:")}function h(v){return/^[.?#]/.test(v)}function p(v){const x=r.exec(v);return _(x[1],x[2]||"",x[3],x[4]||"",x[5]||"/",x[6]||"",x[7]||"")}function d(v){const x=s.exec(v),b=x[2];return _("file:","",x[1]||"","",u(b)?b:"/"+b,x[3]||"",x[4]||"")}function _(v,x,b,A,P,F,N){return{scheme:v,user:x,host:b,port:A,path:P,query:F,hash:N,type:i.Absolute}}function k(v){if(c(v)){const b=p("http:"+v);return b.scheme="",b.type=i.SchemeRelative,b}if(u(v)){const b=p("http://foo.com"+v);return b.scheme="",b.host="",b.type=i.AbsolutePath,b}if(l(v))return d(v);if(o(v))return p(v);const x=p("http://foo.com/"+v);return x.scheme="",x.host="",x.type=v?v.startsWith("?")?i.Query:v.startsWith("#")?i.Hash:i.RelativePath:i.Empty,x}function g(v){if(v.endsWith("/.."))return v;const x=v.lastIndexOf("/");return v.slice(0,x+1)}function y(v,x){E(x,x.type),v.path==="/"?v.path=x.path:v.path=g(x.path)+v.path}function E(v,x){const b=x<=i.RelativePath,A=v.path.split("/");let P=1,F=0,N=!1;for(let B=1;B<A.length;B++){const R=A[B];if(!R){N=!0;continue}if(N=!1,R!=="."){if(R===".."){F?(N=!0,F--,P--):b&&(A[P++]=R);continue}A[P++]=R,F++}}let z="";for(let B=1;B<P;B++)z+="/"+A[B];(!z||N&&!z.endsWith("/.."))&&(z+="/"),v.path=z}function I(v,x){if(!v&&!x)return"";const b=k(v);let A=b.type;if(x&&A!==i.Absolute){const F=k(x),N=F.type;switch(A){case i.Empty:b.hash=F.hash;case i.Hash:b.query=F.query;case i.Query:case i.RelativePath:y(b,F);case i.AbsolutePath:b.user=F.user,b.host=F.host,b.port=F.port;case i.SchemeRelative:b.scheme=F.scheme}N>A&&(A=N)}E(b,A);const P=b.query+b.hash;switch(A){case i.Hash:case i.Query:return P;case i.RelativePath:{const F=b.path.slice(1);return F?h(x||v)&&!h(F)?"./"+F+P:F+P:P||"."}case i.AbsolutePath:return b.path+P;default:return b.scheme+"//"+b.user+b.host+b.port+b.path+P}}return I}))})(Vo)),Vo.exports}var ZO=Ki.exports,uw;function e2(){return uw||(uw=1,(function(e,t){(function(n,r){r(t,ow(),YO())})(ZO,(function(n,r,s){function i(L,O){return O&&!O.endsWith("/")&&(O+="/"),s(L,O)}function o(L){if(!L)return"";const O=L.lastIndexOf("/");return L.slice(0,O+1)}const c=0,u=1,l=2,h=3,p=4,d=1,_=2;function k(L,O){const V=g(L,0);if(V===L.length)return L;O||(L=L.slice());for(let Q=V;Q<L.length;Q=g(L,Q+1))L[Q]=E(L[Q],O);return L}function g(L,O){for(let V=O;V<L.length;V++)if(!y(L[V]))return V;return L.length}function y(L){for(let O=1;O<L.length;O++)if(L[O][c]<L[O-1][c])return!1;return!0}function E(L,O){return O||(L=L.slice()),L.sort(I)}function I(L,O){return L[c]-O[c]}let v=!1;function x(L,O,V,Q){for(;V<=Q;){const Z=V+(Q-V>>1),re=L[Z][c]-O;if(re===0)return v=!0,Z;re<0?V=Z+1:Q=Z-1}return v=!1,V-1}function b(L,O,V){for(let Q=V+1;Q<L.length&&L[Q][c]===O;V=Q++);return V}function A(L,O,V){for(let Q=V-1;Q>=0&&L[Q][c]===O;V=Q--);return V}function P(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function F(L,O,V,Q){const{lastKey:Z,lastNeedle:re,lastIndex:oe}=V;let me=0,ye=L.length-1;if(Q===Z){if(O===re)return v=oe!==-1&&L[oe][c]===O,oe;O>=re?me=oe===-1?0:oe:ye=oe}return V.lastKey=Q,V.lastNeedle=O,V.lastIndex=x(L,O,me,ye)}function N(L,O){const V=O.map(B);for(let Q=0;Q<L.length;Q++){const Z=L[Q];for(let re=0;re<Z.length;re++){const oe=Z[re];if(oe.length===1)continue;const me=oe[u],ye=oe[l],Se=oe[h],we=V[me],Ce=we[ye]||(we[ye]=[]),se=O[me],ue=b(Ce,Se,F(Ce,Se,se,ye));z(Ce,se.lastIndex=ue+1,[Se,Q,oe[c]])}}return V}function z(L,O,V){for(let Q=L.length;Q>O;Q--)L[Q]=L[Q-1];L[O]=V}function B(){return{__proto__:null}}const R=function(L,O){const V=typeof L=="string"?JSON.parse(L):L;if(!("sections"in V))return new U(V,O);const Q=[],Z=[],re=[],oe=[];C(V,O,Q,Z,re,oe,0,0,1/0,1/0);
66const me={version:3,file:V.file,names:oe,sources:Z,sourcesContent:re,mappings:Q};return n.presortedDecodedMap(me)};function C(L,O,V,Q,Z,re,oe,me,ye,Se){const{sections:we}=L;for(let Ce=0;Ce<we.length;Ce++){const{map:se,offset:ue}=we[Ce];let _e=ye,Ue=Se;if(Ce+1<we.length){const xe=we[Ce+1].offset;_e=Math.min(ye,oe+xe.line),_e===ye?Ue=Math.min(Se,me+xe.column):_e<ye&&(Ue=me+xe.column)}D(se,O,V,Q,Z,re,oe+ue.line,me+ue.column,_e,Ue)}}function D(L,O,V,Q,Z,re,oe,me,ye,Se){if("sections"in L)return C(...arguments);const we=new U(L,O),Ce=Q.length,se=re.length,ue=n.decodedMappings(we),{resolvedSources:_e,sourcesContent:Ue}=we;if(W(Q,_e),W(re,we.names),Ue)W(Z,Ue);else for(let xe=0;xe<_e.length;xe++)Z.push(null);for(let xe=0;xe<ue.length;xe++){const le=oe+xe;if(le>ye)return;const ge=J(V,le),Ae=xe===0?me:0,Ke=ue[xe];for(let Ge=0;Ge<Ke.length;Ge++){const Oe=Ke[Ge],at=Ae+Oe[c];if(le===ye&&at>=Se)return;if(Oe.length===1){ge.push([at]);continue}const Dt=Ce+Oe[u],Jn=Oe[l],Yn=Oe[h];ge.push(Oe.length===4?[at,Dt,Jn,Yn]:[at,Dt,Jn,Yn,se+Oe[p]])}}}function W(L,O){for(let V=0;V<O.length;V++)L.push(O[V])}function J(L,O){for(let V=L.length;V<=O;V++)L[V]=[];return L[O]}const j="`line` must be greater than 0 (lines start at line 1)",$="`column` must be greater than or equal to 0 (columns start at column 0)",M=-1,X=1;n.encodedMappings=void 0,n.decodedMappings=void 0,n.traceSegment=void 0,n.originalPositionFor=void 0,n.generatedPositionFor=void 0,n.allGeneratedPositionsFor=void 0,n.eachMapping=void 0,n.sourceContentFor=void 0,n.presortedDecodedMap=void 0,n.decodedMap=void 0,n.encodedMap=void 0;class U{constructor(O,V){const Q=typeof O=="string";if(!Q&&O._decodedMemo)return O;const Z=Q?JSON.parse(O):O,{version:re,file:oe,names:me,sourceRoot:ye,sources:Se,sourcesContent:we}=Z;this.version=re,this.file=oe,this.names=me||[],this.sourceRoot=ye,this.sources=Se,this.sourcesContent=we;const Ce=i(ye||"",o(V));this.resolvedSources=Se.map(ue=>i(ue||"",Ce));const{mappings:se}=Z;typeof se=="string"?(this._encoded=se,this._decoded=void 0):(this._encoded=void 0,this._decoded=k(se,Q)),this._decodedMemo=P(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{n.encodedMappings=O=>{var V;return(V=O._encoded)!==null&&V!==void 0?V:O._encoded=r.encode(O._decoded)},n.decodedMappings=O=>O._decoded||(O._decoded=r.decode(O._encoded)),n.traceSegment=(O,V,Q)=>{const Z=n.decodedMappings(O);if(V>=Z.length)return null;const re=Z[V],oe=q(re,O._decodedMemo,V,Q,X);return oe===-1?null:re[oe]},n.originalPositionFor=(O,{line:V,column:Q,bias:Z})=>{if(V--,V<0)throw new Error(j);if(Q<0)throw new Error($);const re=n.decodedMappings(O);if(V>=re.length)return ae(null,null,null,null);const oe=re[V],me=q(oe,O._decodedMemo,V,Q,Z||X);if(me===-1)return ae(null,null,null,null);const ye=oe[me];if(ye.length===1)return ae(null,null,null,null);const{names:Se,resolvedSources:we}=O;return ae(we[ye[u]],ye[l]+1,ye[h],ye.length===5?Se[ye[p]]:null)},n.allGeneratedPositionsFor=(O,{source:V,line:Q,column:Z,bias:re})=>L(O,V,Q,Z,re||M,!0),n.generatedPositionFor=(O,{source:V,line:Q,column:Z,bias:re})=>L(O,V,Q,Z,re||X,!1),n.eachMapping=(O,V)=>{const Q=n.decodedMappings(O),{names:Z,resolvedSources:re}=O;for(let oe=0;oe<Q.length;oe++){const me=Q[oe];for(let ye=0;ye<me.length;ye++){const Se=me[ye],we=oe+1,Ce=Se[0];let se=null,ue=null,_e=null,Ue=null;Se.length!==1&&(se=re[Se[1]],ue=Se[2]+1,_e=Se[3]),Se.length===5&&(Ue=Z[Se[4]]),V({generatedLine:we,generatedColumn:Ce,source:se,originalLine:ue,originalColumn:_e,name:Ue})}}},n.sourceContentFor=(O,V)=>{const{sources:Q,resolvedSources:Z,sourcesContent:re}=O;if(re==null)return null;let oe=Q.indexOf(V);return oe===-1&&(oe=Z.indexOf(V)),oe===-1?null:re[oe]},n.presortedDecodedMap=(O,V)=>{const Q=new U(H(O,[]),V);return Q._decoded=O.mappings,Q},n.decodedMap=O=>H(O,n.decodedMappings(O)),n.encodedMap=O=>H(O,n.encodedMappings(O));function L(O,V,Q,Z,re,oe){if(Q--,Q<0)throw new Error(j);if(Z<0)throw new Error($);const{sources:me,resolvedSources:ye}=O;let Se=me.indexOf(V);if(Se===-1&&(Se=ye.indexOf(V)),Se===-1)return oe?[]:te(null,null);const Ce=(O._bySources||(O._bySources=N(n.decodedMappings(O),O._bySourceMemos=me.map(P))))[Se][Q];if(Ce==null)return oe?[]:te(null,null);const se=O._bySourceMemos[Se];if(oe)return K(Ce,se,Q,Z,re);const ue=q(Ce,se,Q,Z,re);if(ue===-1)return te(null,null);const _e=Ce[ue];return te(_e[d]+1,_e[_])}})();function H(L,O){return{version:L.version,file:L.file,names:L.names,sourceRoot:L.sourceRoot,sources:L.sources,sourcesContent:L.sourcesContent,mappings:O}}function ae(L,O,V,Q){return{source:L,line:O,column:V,name:Q}}function te(L,O){return{line:L,column:O}}function q(L,O,V,Q,Z){let re=F(L,Q,O,V);return v?re=(Z===M?b:A)(L,Q,re):Z===M&&re++,re===-1||re===L.length?-1:re}function K(L,O,V,Q,Z){let re=q(L,O,V,Q,X);if(!v&&Z===M&&re++,re===-1||re===L.length)return[];const oe=v?Q:L[re][c];v||(re=A(L,oe,re));const me=b(L,oe,re),ye=[];for(;re<=me;re++){const Se=L[re];ye.push(te(Se[d]+1,Se[_]))}return ye}n.AnyMap=R,n.GREATEST_LOWER_BOUND=X,n.LEAST_UPPER_BOUND=M,n.TraceMap=U}))}
66)(Ki,Ki.exports)),Ki.exports}var t2=Gi.exports,lw;function n2(){return lw||(lw=1,(function(e,t){(function(n,r){r(t,XO(),ow(),e2())})(t2,(function(n,r,s,i){n.addSegment=void 0,n.addMapping=void 0,n.maybeAddSegment=void 0,n.maybeAddMapping=void 0,n.setSourceContent=void 0,n.toDecodedMap=void 0,n.toEncodedMap=void 0,n.fromMap=void 0,n.allMappings=void 0;let d;class _{constructor({file:P,sourceRoot:F}={}){this._names=new r.SetArray,this._sources=new r.SetArray,this._sourcesContent=[],this._mappings=[],this.file=P,this.sourceRoot=F}}n.addSegment=(A,P,F,N,z,B,R,C)=>d(!1,A,P,F,N,z,B,R,C),n.maybeAddSegment=(A,P,F,N,z,B,R,C)=>d(!0,A,P,F,N,z,B,R,C),n.addMapping=(A,P)=>b(!1,A,P),n.maybeAddMapping=(A,P)=>b(!0,A,P),n.setSourceContent=(A,P,F)=>{const{_sources:N,_sourcesContent:z}=A;z[r.put(N,P)]=F},n.toDecodedMap=A=>{const{file:P,sourceRoot:F,_mappings:N,_sources:z,_sourcesContent:B,_names:R}=A;return E(N),{version:3,file:P||void 0,names:R.array,sourceRoot:F||void 0,sources:z.array,sourcesContent:B,mappings:N}},n.toEncodedMap=A=>{const P=n.toDecodedMap(A);return Object.assign(Object.assign({},P),{mappings:s.encode(P.mappings)})},n.allMappings=A=>{const P=[],{_mappings:F,_sources:N,_names:z}=A;for(let B=0;B<F.length;B++){const R=F[B];for(let C=0;C<R.length;C++){const D=R[C],W={line:B+1,column:D[0]};let J,j,$;D.length!==1&&(J=N.array[D[1]],j={line:D[2]+1,column:D[3]},D.length===5&&($=z.array[D[4]])),P.push({generated:W,source:J,original:j,name:$})}}return P},n.fromMap=A=>{const P=new i.TraceMap(A),F=new _({file:P.file,sourceRoot:P.sourceRoot});return I(F._names,P.names),I(F._sources,P.sources),F._sourcesContent=P.sourcesContent||P.sources.map(()=>null),F._mappings=i.decodedMappings(P),F},d=(A,P,F,N,z,B,R,C,D)=>{const{_mappings:W,_sources:J,_sourcesContent:j,_names:$}=P,M=k(W,F),X=g(M,N);if(!z)return A&&v(M,X)?void 0:y(M,X,[N]);const U=r.put(J,z),H=C?r.put($,C):-1;if(U===j.length&&(j[U]=D??null),!(A&&x(M,X,U,B,R,H)))return y(M,X,C?[N,U,B,R,H]:[N,U,B,R])};function k(A,P){for(let F=A.length;F<=P;F++)A[F]=[];return A[P]}function g(A,P){let F=A.length;for(let N=F-1;N>=0;F=N--){const z=A[N];if(P>=z[0])break}return F}function y(A,P,F){for(let N=A.length;N>P;N--)A[N]=A[N-1];A[P]=F}function E(A){const{length:P}=A;let F=P;for(let N=F-1;N>=0&&!(A[N].length>0);F=N,N--);F<P&&(A.length=F)}function I(A,P){for(let F=0;F<P.length;F++)r.put(A,P[F])}function v(A,P){return P===0?!0:A[P-1].length===1}function x(A,P,F,N,z,B){if(P===0)return!1;const R=A[P-1];return R.length===1?!1:F===R[1]&&N===R[2]&&z===R[3]&&B===(R.length===5?R[4]:-1)}function b(A,P,F){const{generated:N,source:z,original:B,name:R,content:C}=F;if(!z)return d(A,P,N.line-1,N.column,null,null,null,null,null);const D=z;return d(A,P,N.line-1,N.column,D,B.line-1,B.column,R,C)}n.GenMapping=_,Object.defineProperty(n,"__esModule",{value:!0})}))})(Gi,Gi.exports)),Gi.exports}var Xi=n2();function r2({code:e,mappings:t},n,r,s,i){const o=s2(s,i),c=new Xi.GenMapping({file:r.compiledFilename});let u=0,l=t[0];for(;l===void 0&&u<t.length-1;)u++,l=t[u];let h=0,p=0;l!==p&&Xi.maybeAddSegment(c,h,0,n,h,0);for(let g=0;g<e.length;g++){if(g===l){const y=l-p,E=o[u];for(Xi.maybeAddSegment(c,h,y,n,h,E);(l===g||l===void 0)&&u<t.length-1;)u++,l=t[u]}e.charCodeAt(g)===G.lineFeed&&(h++,p=g+1,l!==p&&Xi.maybeAddSegment(c,h,0,n,h,0))}const{sourceRoot:d,sourcesContent:_,...k}=Xi.toEncodedMap(c);return k}function s2(e,t){const n=new Array(t.length);let r=0,s=t[r].start,i=0;for(let o=0;o<e.length;o++)o===s&&(n[r]=s-i,r++,s=t[r].start),e.charCodeAt(o)===G.lineFeed&&(i=o+1);return n}const i2={require:`
67    import {createRequire as CREATE_REQUIRE_NAME} from "module";
68    const require = CREATE_REQUIRE_NAME(import.meta.url);
69  `,interopRequireWildcard:`
70    function interopRequireWildcard(obj) {
71      if (obj && obj.__esModule) {
72        return obj;
73      } else {
74        var newObj = {};
75        if (obj != null) {
76          for (var key in obj) {
77            if (Object.prototype.hasOwnProperty.call(obj, key)) {
78              newObj[key] = obj[key];
79            }
80          }
81        }
82        newObj.default = obj;
83        return newObj;
84      }
85    }
86  `,interopRequireDefault:`
87    function interopRequireDefault(obj) {
88      return obj && obj.__esModule ? obj : { default: obj };
89    }
90  `,createNamedExportFrom:`
91    function createNamedExportFrom(obj, localName, importedName) {
92      Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
93    }
94  `,createStarExport:`
95    function createStarExport(obj) {
96      Object.keys(obj)
97        .filter((key) =>
97 key !== "default" && key !== "__esModule")
98        .forEach((key) => {
99          if (exports.hasOwnProperty(key)) {
100            return;
101          }
102          Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
103        });
104    }
105  `,nullishCoalesce:`
106    function nullishCoalesce(lhs, rhsFn) {
107      if (lhs != null) {
108        return lhs;
109      } else {
110        return rhsFn();
111      }
112    }
113  `,asyncNullishCoalesce:`
114    async function asyncNullishCoalesce(lhs, rhsFn) {
115      if (lhs != null) {
116        return lhs;
117      } else {
118        return await rhsFn();
119      }
120    }
121  `,optionalChain:`
122    function optionalChain(ops) {
123      let lastAccessLHS = undefined;
124      let value = ops[0];
125      let i = 1;
126      while (i < ops.length) {
127        const op = ops[i];
128        const fn = ops[i + 1];
129        i += 2;
130        if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
131          return undefined;
132        }
133        if (op === 'access' || op === 'optionalAccess') {
134          lastAccessLHS = value;
135          value = fn(value);
136        } else if (op === 'call' || op === 'optionalCall') {
137          value = fn((...args) => value.call(lastAccessLHS, ...args));
138          lastAccessLHS = undefined;
139        }
140      }
141      return value;
142    }
143  `,asyncOptionalChain:`
144    async function asyncOptionalChain(ops) {
145      let lastAccessLHS = undefined;
146      let value = ops[0];
147      let i = 1;
148      while (i < ops.length) {
149        const op = ops[i];
150        const fn = ops[i + 1];
151        i += 2;
152        if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
153          return undefined;
154        }
155        if (op === 'access' || op === 'optionalAccess') {
156          lastAccessLHS = value;
157          value = await fn(value);
158        } else if (op === 'call' || op === 'optionalCall') {
159          value = await fn((...args) => value.call(lastAccessLHS, ...args));
160          lastAccessLHS = undefined;
161        }
162      }
163      return value;
164    }
165  `,optionalChainDelete:`
166    function optionalChainDelete(ops) {
167      const result = OPTIONAL_CHAIN_NAME(ops);
168      return result == null ? true : result;
169    }
170  `,asyncOptionalChainDelete:`
171    async function asyncOptionalChainDelete(ops) {
172      const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
173      return result == null ? true : result;
174    }
175  `};class zo{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,zo.prototype.__init.call(this),zo.prototype.__init2.call(this)}getHelperName(t){let n=this.helperNames[t];return n||(n=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=n,n)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[n,r]of Object.entries(i2)){const s=this.helperNames[n];let i=r;n==="optionalChainDelete"?i=i.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):n==="asyncOptionalChainDelete"?i=i.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):n==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),i=i.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),s&&(t+=" ",t+=i.replace(n,s).replace(/\s+/g," ").trim())}return t}}function hw(e,t,n){a2(e,n)&&o2(e,t,n)}function a2(e,t){for(const n of e.tokens)if(n.type===a.name&&!n.isType&&bO(n)&&t.has(e.identifierNameForToken(n)))return!0;return!1}function o2(e,t,n){const r=[];let s=t.length-1;for(let i=e.tokens.length-1;;i--){for(;r.length>0&&r[r.length-1].startTokenIndex===i+1;)r.pop();for(;s>=0&&t[s].endTokenIndex===i+1;)r.push(t[s]),s--;if(i<0)break;const o=e.tokens[i],c=e.identifierNameForToken(o);if(r.length>1&&!o.isType&&o.type===a.name&&n.has(c)){if(EO(o))fw(r[r.length-1],e,c);else if(kO(o)){let u=r.length-1;for(;u>0&&!r[u].isFunctionScope;)u--;if(u<0)throw new Error("Did not find parent function scope.");fw(r[u],e,c)}}}if(r.length>0)throw new Error("Expected empty scope stack after processing file.")}function fw(e,t,n){for(let r=e.startTokenIndex;r<e.endTokenIndex;r++){const s=t.tokens[r];(s.type===a.name||s.type===a.jsxName)&&t.identifierNameForToken(s)===n&&(s.shadowsGlobal=!0)}}function c2(e,t){const n=[];for(const r of t)r.type===a.name&&n.push(e.slice(r.start,r.end));return n}class Ip{__init(){this.usedNames=new Set}constructor(t,n){Ip.prototype.__init.call(this),this.usedNames=new Set(c2(t,n))}claimFreeName(t){const n=this.findFreeName(t);return this.usedNames.add(n),n}findFreeName(t){if(!this.usedNames.has(t))return t;let n=2;
175for(;this.usedNames.has(t+String(n));)n++;return t+String(n)}}var Qi={},Ji={},Cn={},pw;function wp(){if(pw)return Cn;pw=1;var e=Cn&&Cn.__extends||(function(){var i=function(o,c){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var h in l)l.hasOwnProperty(h)&&(u[h]=l[h])},i(o,c)};return function(o,c){i(o,c);function u(){this.constructor=o}o.prototype=c===null?Object.create(c):(u.prototype=c.prototype,new u)}})();Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.DetailContext=Cn.NoopContext=Cn.VError=void 0;var t=(function(i){e(o,i);function o(c,u){var l=i.call(this,u)||this;return l.path=c,Object.setPrototypeOf(l,o.prototype),l}return o})(Error);Cn.VError=t;var n=(function(){function i(){}return i.prototype.fail=function(o,c,u){return!1},i.prototype.unionResolver=function(){return this},i.prototype.createContext=function(){return this},i.prototype.resolveUnion=function(o){},i})();Cn.NoopContext=n;var r=(function(){function i(){this._propNames=[""],this._messages=[null],this._score=0}return i.prototype.fail=function(o,c,u){return this._propNames.push(o),this._messages.push(c),this._score+=u,!1},i.prototype.unionResolver=function(){return new s},i.prototype.resolveUnion=function(o){for(var c,u,l=o,h=null,p=0,d=l.contexts;p<d.length;p++){var _=d[p];(!h||_._score>=h._score)&&(h=_)}h&&h._score>0&&((c=this._propNames).push.apply(c,h._propNames),(u=this._messages).push.apply(u,h._messages))},i.prototype.getError=function(o){for(var c=[],u=this._propNames.length-1;u>=0;u--){var l=this._propNames[u];o+=typeof l=="number"?"["+l+"]":l?"."+l:"";var h=this._messages[u];h&&c.push(o+" "+h)}return new t(o,c.join("; "))},i.prototype.getErrorDetail=function(o){for(var c=[],u=this._propNames.length-1;u>=0;u--){var l=this._propNames[u];o+=typeof l=="number"?"["+l+"]":l?"."+l:"";var h=this._messages[u];h&&c.push({path:o,message:h})}for(var p=null,u=c.length-1;u>=0;u--)p&&(c[u].nested=[p]),p=c[u];return p},i})();Cn.DetailContext=r;var s=(function(){function i(){this.contexts=[]}return i.prototype.createContext=function(){var o=new r;return this.contexts.push(o),o},i})();return Cn}var dw;function mw(){return dw||(dw=1,(function(e){var t=Ji&&Ji.__extends||(function(){var q=function(K,L){return q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,V){O.__proto__=V}||function(O,V){for(var Q in V)V.hasOwnProperty(Q)&&(O[Q]=V[Q])},q(K,L)};return function(K,L){q(K,L);function O(){this.constructor=K}K.prototype=L===null?Object.create(L):(O.prototype=L.prototype,new O)}})();Object.defineProperty(e,"__esModule",{value:!0}),e.basicTypes=e.BasicType=e.TParamList=e.TParam=e.param=e.TFunc=e.func=e.TProp=e.TOptional=e.opt=e.TIface=e.iface=e.TEnumLiteral=e.enumlit=e.TEnumType=e.enumtype=e.TIntersection=e.intersection=e.TUnion=e.union=e.TTuple=e.tuple=e.TArray=e.array=e.TLiteral=e.lit=e.TName=e.name=e.TType=void 0;var n=wp(),r=(function(){function q(){}return q})();e.TType=r;function s(q){return typeof q=="string"?o(q):q}function i(q,K){var L=q[K];if(!L)throw new Error("Unknown type "+K);return L}function o(q){return new c(q)}e.name=o;var c=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.name=L,O._failMsg="is not a "+L,O}return K.prototype.getChecker=function(L,O,V){var Q=this,Z=i(L,this.name),re=Z.getChecker(L,O,V);return Z instanceof $||Z instanceof K?re:function(oe,me){return re(oe,me)?!0:me.fail(null,Q._failMsg,0)}},K})(r);e.TName=c;function u(q){return new l(q)}e.lit=u;var l=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.value=L,O.name=JSON.stringify(L),O._failMsg="is not "+O.name,O}return K.prototype.getChecker=function(L,O){var V=this;return function(Q,Z){return Q===V.value?!0:Z.fail(null,V._failMsg,-1)}},K})(r);e.TLiteral=l;function h(q){return new p(s(q))}e.array=h;var p=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.ttype=L,O}return K.prototype.getChecker=function(L,O){var V=this.ttype.getChecker(L,O);return function(Q,Z){if(!Array.isArray(Q))return Z.fail(null,"is not an array",0);for(var re=0;re<Q.length;re++){var oe=V(Q[re],Z);if(!oe)return Z.fail(re,null,1)}return!0}},K})(r);e.TArray=p;function d(){for(var q=[],K=0;K<arguments.length;K++)q[K]=arguments[K];return new _(q.map(function(L){return s(L)}))}e.tuple=d;var _=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.ttypes=L,O}return K.prototype.getChecker=function(L,O){var V=this.ttypes.map(function(Z){return Z.getChecker(L,O)}),Q=function(Z,re){if(!Array.isArray(Z))return re.fail(null,"is not an array",0);for(var oe=0;oe<V.length;oe++){var me=V[oe](Z[oe],re);if(!me)return re.fail(oe,null,1)}return!0};return O?function(Z,re){return Q(Z,re)?Z.length<=V.length?!0:re.fail(V.length,"is extraneous",2):!1}:Q},K})(r);e.TTuple=_;function k(){for(var q=[],K=0;K<arguments.length;K++)q[K]=arguments[K];return new g(q.map(function(L){return s(L)}))}e.union=k;var g=(function(q){t(K,q);function K(L){var O=q.call(this)||this;O.ttypes=L;var V=L.map(function(Z){return Z instanceof c||Z instanceof l?Z.name:null}).filter(function(Z){return Z}),Q=L.length-V.length;return V.length?(Q>0&&V.push(Q+" more"),O._failMsg="is none of "+V.join(", ")):O._failMsg="is none of "+Q+" types",O}return K.prototype.getChecker=function(L,O){var V=this,Q=this.ttypes.map(function(Z){return Z.getChecker(L,O)});return function(Z,re){for(var oe=re.unionResolver(),me=0;me<Q.length;me++){var ye=Q[me](Z,oe.createContext());if(ye)return!0}return re.resolveUnion(oe),re.fail(null,V._failMsg,0)}},K})(r);e.TUnion=g;function y(){for(var q=[],K=0;K<arguments.length;K++)q[K]=arguments[K];return new E(q.map(function(L){return s(L)}))}e.intersection=y;var E=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.ttypes=L,O}return K.prototype.getChecker=function(L,O){var V=new Set,Q=this.ttypes.map(function(Z){return Z.getChecker(L,O,V)});return function(Z,re){var oe=Q.every(function(me){return me(Z,re)});return oe?!0:re.fail(null,null,0)}},K})(r);e.TIntersection=E;function I(q){return new v(q)}e.enumtype=I;var v=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.members=L,O.validValues=new Set,O._failMsg="is not a valid enum value",O.validValues=new Set(Object.keys(L).map(function(V){return L[V]})),O}return K.prototype.getChecker=function(L,O){var V=this;return function(Q,Z){return V.validValues.has(Q)?!0:Z.fail(null,V._failMsg,0)}},K})(r);e.TEnumType=v;function x(q,K){return new b(q,K)}e.enumlit=x;var b=(function(q){t(K,q);function K(L,O){var V=q.call(this)||this;return V.enumName=L,V.prop=O,V._failMsg="is not "+L+"."+O,V}return K.prototype.getChecker=function(L,O){var V=this,Q=i(L,this.enumName);if(!(Q instanceof v))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var Z=Q.members[this.prop];if(!Q.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(re,oe){return re===Z?!0:oe.fail(null,V._failMsg,-1)}},K})(r);e.TEnumLiteral=b;function A(q){return Object.keys(q).map(function(K){return P(K,q[K])})}function P(q,K){return K instanceof B?new R(q,K.ttype,!0):new R(q,s(K),!1)}function F(q,K){return new N(q,A(K))}e.iface=F;var N=(function(q){t(K,q);function K(L,O){var V=q.call(this)||this;return V.bases=L,V.props=O,V.propSet=new Set(O.map(function(Q){return Q.name})),V}return K.prototype.getChecker=function(L,O,V){var Q=this,Z=this.bases.map(function(we){return i(L,we).getChecker(L,O)}),re=this.props.map(function(we){return we.ttype.getChecker(L,O)}),oe=new n.NoopContext,me=this.props.map(function(we,Ce){return!we.isOpt&&!re[Ce](void 0,oe)}),ye=function(we,Ce){if(typeof we!="object"||we===null)return Ce.fail(null,"is not an object",0);for(var se=0;se<Z.length;se++)if(!Z[se](we,Ce))return!1;for(var se=0;se<re.length;se++){var ue=Q.props[se].name,_e=we[ue];if(_e===void 0){if(me[se])return Ce.fail(ue,"is missing",1)}else{var Ue=re[se](_e,Ce);if(!Ue)return Ce.fail(ue,null,1)}}return!0};if(!O)return ye;var Se=this.propSet;return V&&(this.propSet.forEach(function(we){return V.add(we)}),Se=V),function(we,Ce){if(!ye(we,Ce))return!1;for(var se in we)if(!Se.has(se))return Ce.fail(se,"is extraneous",2);return!0}},K})(r);e.TIface=N;function z(q){return new B(s(q))}e.opt=z;var B=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.ttype=L,O}return K.prototype.getChecker=function(L,O){var V=this.ttype.getChecker(L,O);return function(Q,Z){return Q===void 0||V(Q,Z)}},K})(r);e.TOptional=B;var R=(function(){function q(K,L,O){this.name=K,this.ttype=L,this.isOpt=O}return q})();e.TProp=R;function C(q){for(var K=[],L=1;L<arguments.length;L++)K[L-1]=arguments[L];return new D(new j(K),s(q))}e.func=C;var D=(function(q){t(K,q);function K(L,O){var V=q.call(this)||this;return V.paramList=L,V.result=O,V}return K.prototype.getChecker=function(L,O){return function(V,Q){return typeof V=="function"?!0:Q.fail(null,"is not a function",0)}},K})(r);e.TFunc=D;
175function W(q,K,L){return new J(q,s(K),!!L)}e.param=W;var J=(function(){function q(K,L,O){this.name=K,this.ttype=L,this.isOpt=O}return q})();e.TParam=J;var j=(function(q){t(K,q);function K(L){var O=q.call(this)||this;return O.params=L,O}return K.prototype.getChecker=function(L,O){var V=this,Q=this.params.map(function(me){return me.ttype.getChecker(L,O)}),Z=new n.NoopContext,re=this.params.map(function(me,ye){return!me.isOpt&&!Q[ye](void 0,Z)}),oe=function(me,ye){if(!Array.isArray(me))return ye.fail(null,"is not an array",0);for(var Se=0;Se<Q.length;Se++){var we=V.params[Se];if(me[Se]===void 0){if(re[Se])return ye.fail(we.name,"is missing",1)}else{var Ce=Q[Se](me[Se],ye);if(!Ce)return ye.fail(we.name,null,1)}}return!0};return O?function(me,ye){return oe(me,ye)?me.length<=Q.length?!0:ye.fail(Q.length,"is extraneous",2):!1}:oe},K})(r);e.TParamList=j;var $=(function(q){t(K,q);function K(L,O){var V=q.call(this)||this;return V.validator=L,V.message=O,V}return K.prototype.getChecker=function(L,O){var V=this;return function(Q,Z){return V.validator(Q)?!0:Z.fail(null,V.message,0)}},K})(r);e.BasicType=$,e.basicTypes={any:new $(function(q){return!0}
175,"is invalid"),number:new $(function(q){return typeof q=="number"},"is not a number"),object:new $(function(q){return typeof q=="object"&&q},"is not an object"),boolean:new $(function(q){return typeof q=="boolean"},"is not a boolean"),string:new $(function(q){return typeof q=="string"},"is not a string"),symbol:new $(function(q){return typeof q=="symbol"},"is not a symbol"),void:new $(function(q){return q==null},"is not void"),undefined:new $(function(q){return q===void 0},"is not undefined"),null:new $(function(q){return q===null},"is not null"),never:new $(function(q){return!1},"is unexpected"),Date:new $(X("[object Date]"),"is not a Date"),RegExp:new $(X("[object RegExp]"),"is not a RegExp")};var M=Object.prototype.toString;function X(q){return function(K){return typeof K=="object"&&K&&M.call(K)===q}}typeof Buffer<"u"&&(e.basicTypes.Buffer=new $(function(q){return Buffer.isBuffer(q)},"is not a Buffer"));for(var U=function(q){e.basicTypes[q.name]=new $(function(K){return K instanceof q},"is not a "+q.name)},H=0,ae=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];H<ae.length;H++){var te=ae[H];U(te)}})(Ji)),Ji}var gw;function u2(){return gw||(gw=1,(function(e){var t=Qi&&Qi.__spreadArrays||function(){for(var u=0,l=0,h=arguments.length;l<h;l++)u+=arguments[l].length;for(var p=Array(u),d=0,l=0;l<h;l++)for(var _=arguments[l],k=0,g=_.length;k<g;k++,d++)p[d]=_[k];return p};Object.defineProperty(e,"__esModule",{value:!0}),e.Checker=e.createCheckers=void 0;var n=mw(),r=wp(),s=mw();Object.defineProperty(e,"TArray",{enumerable:!0,get:function(){return s.TArray}}),Object.defineProperty(e,"TEnumType",{enumerable:!0,get:function(){return s.TEnumType}}),Object.defineProperty(e,"TEnumLiteral",{enumerable:!0,get:function(){return s.TEnumLiteral}}),Object.defineProperty(e,"TFunc",{enumerable:!0,get:function(){return s.TFunc}}),Object.defineProperty(e,"TIface",{enumerable:!0,get:function(){return s.TIface}}),Object.defineProperty(e,"TLiteral",{enumerable:!0,get:function(){return s.TLiteral}}),Object.defineProperty(e,"TName",{enumerable:!0,get:function(){return s.TName}}),Object.defineProperty(e,"TOptional",{enumerable:!0,get:function(){return s.TOptional}}),Object.defineProperty(e,"TParam",{enumerable:!0,get:function(){return s.TParam}}),Object.defineProperty(e,"TParamList",{enumerable:!0,get:function(){return s.TParamList}}),Object.defineProperty(e,"TProp",{enumerable:!0,get:function(){return s.TProp}}),Object.defineProperty(e,"TTuple",{enumerable:!0,get:function(){return s.TTuple}}),Object.defineProperty(e,"TType",{enumerable:!0,get:function(){return s.TType}}),Object.defineProperty(e,"TUnion",{enumerable:!0,get:function(){return s.TUnion}}),Object.defineProperty(e,"TIntersection",{enumerable:!0,get:function(){return s.TIntersection}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return s.array}}),Object.defineProperty(e,"enumlit",{enumerable:!0,get:function(){return s.enumlit}}),Object.defineProperty(e,"enumtype",{enumerable:!0,get:function(){return s.enumtype}}),Object.defineProperty(e,"func",{enumerable:!0,get:function(){return s.func}}),Object.defineProperty(e,"iface",{enumerable:!0,get:function(){return s.iface}}),Object.defineProperty(e,"lit",{enumerable:!0,get:function(){return s.lit}}),Object.defineProperty(e,"name",{enumerable:!0,get:function(){return s.name}}),Object.defineProperty(e,"opt",{enumerable:!0,get:function(){return s.opt}}),Object.defineProperty(e,"param",{enumerable:!0,get:function(){return s.param}}),Object.defineProperty(e,"tuple",{enumerable:!0,get:function(){return s.tuple}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return s.union}}),Object.defineProperty(e,"intersection",{enumerable:!0,get:function(){return s.intersection}}),Object.defineProperty(e,"BasicType",{enumerable:!0,get:function(){return s.BasicType}});var i=wp();Object.defineProperty(e,"VError",{enumerable:!0,get:function(){return i.VError}});function o(){for(var u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];for(var h=Object.assign.apply(Object,t([{},n.basicTypes],u)),p={},d=0,_=u;d<_.length;d++)for(var k=_[d],g=0,y=Object.keys(k);g<y.length;g++){var E=y[g];p[E]=new c(h,k[E])}return p}e.createCheckers=o;var c=(function(){function u(l,h,p){if(p===void 0&&(p="value"),this.suite=l,this.ttype=h,this._path=p,this.props=new Map,h instanceof n.TIface)for(var d=0,_=h.props;d<_.length;d++){var k=_[d];this.props.set(k.name,k.ttype)}this.checkerPlain=this.ttype.getChecker(l,!1),this.checkerStrict=this.ttype.getChecker(l,!0)}return u.prototype.setReportedPath=function(l){this._path=l},u.prototype.check=function(l){return this._doCheck(this.checkerPlain,l)},u.prototype.test=function(l){return this.checkerPlain(l,new r.NoopContext)},u.prototype.validate=function(l){return this._doValidate(this.checkerPlain,l)},u.prototype.strictCheck=function(l){return this._doCheck(this.checkerStrict,l)},u.prototype.strictTest=function(l){return this.checkerStrict(l,new r.NoopContext)},u.prototype.strictValidate=function(l){return this._doValidate(this.checkerStrict,l)},u.prototype.getProp=function(l){var h=this.props.get(l);if(!h)throw new Error("Type has no property "+l);return new u(this.suite,h,this._path+"."+l)},u.prototype.methodArgs=function(l){var h=this._getMethod(l);return new u(this.suite,h.paramList)},u.prototype.methodResult=function(l){var h=this._getMethod(l);return new u(this.suite,h.result)},u.prototype.getArgs=function(){if(!(this.ttype instanceof n.TFunc))throw new Error("getArgs() applied to non-function");return new u(this.suite,this.ttype.paramList)},u.prototype.getResult=function(){if(!(this.ttype instanceof n.TFunc))throw new Error("getResult() applied to non-function");return new u(this.suite,this.ttype.result)},u.prototype.getType=function(){return this.ttype},u.prototype._doCheck=function(l,h){var p=new r.NoopContext;if(!l(h,p)){var d=new r.DetailContext;throw l(h,d),d.getError(this._path)}},u.prototype._doValidate=function(l,h){var p=new r.NoopContext;if(l(h,p))return null;var d=new r.DetailContext;return l(h,d),d.getErrorDetail(this._path)},u.prototype._getMethod=function(l){var h=this.props.get(l);if(!h)throw new Error("Type has no property "+l);if(!(h instanceof n.TFunc))throw new Error("Property "+l+" is not a method");return h},u})();e.Checker=c})(Qi)),Qi}var lt=u2();const l2=lt.union(lt.lit("jsx"),lt.lit("typescript"),lt.lit("flow"),lt.lit("imports"),lt.lit("react-hot-loader"),lt.lit("jest")),h2=lt.iface([],{compiledFilename:"string"}),f2=lt.iface([],{transforms:lt.array("Transform"),disableESTransforms:lt.opt("boolean"),jsxRuntime:lt.opt(lt.union(lt.lit("classic"),lt.lit("automatic"),lt.lit("preserve"))),production:lt.opt("boolean"),jsxImportSource:lt.opt("string"),jsxPragma:lt.opt("string"),jsxFragmentPragma:lt.opt("string"),keepUnusedImports:lt.opt("boolean"),preserveDynamicImport:lt.opt("boolean"),injectCreateRequireForImportRequire:lt.opt("boolean"),enableLegacyTypeScriptModuleInterop:lt.opt("boolean"),enableLegacyBabel5ModuleInterop:lt.opt("boolean"),sourceMapOptions:lt.opt("SourceMapOptions"),filePath:lt.opt("string")}),p2={Transform:l2,SourceMapOptions:h2,Options:f2},{Options:d2}=lt.createCheckers(p2);function m2(e){d2.strictCheck(e)}function vw(){ne(),jt(!1)}function yw(e){ne(),Go(e)}function Er(e){Te(),Ap(e)}
175function Uo(){Te(),f.tokens[f.tokens.length-1].identifierRole=Ie.ImportDeclaration}function Ap(e){let t;f.scopeDepth===0?t=Ie.TopLevelDeclaration:e?t=Ie.BlockScopedDeclaration:t=Ie.FunctionScopedDeclaration,f.tokens[f.tokens.length-1].identifierRole=t}function Go(e){switch(f.type){case a._this:{const t=qe(0);ne(),Fe(t);return}case a._yield:case a.name:{f.type=a.name,Er(e);return}case a.bracketL:{ne(),Pp(a.bracketR,e,!0);return}case a.braceL:Wp(!0,e);return;default:$e()}}function Pp(e,t,n=!1,r=!1,s=0){let i=!0,o=!1;const c=f.tokens.length;for(;!Y(e)&&!f.error;)if(i?i=!1:(ee(a.comma),f.tokens[f.tokens.length-1].contextId=s,!o&&f.tokens[c].isType&&(f.tokens[f.tokens.length-1].isType=!0,o=!0)),!(n&&w(a.comma))){if(Y(e))break;if(w(a.ellipsis)){yw(t),_w(),Y(a.comma),ee(e);break}else g2(r,t)}}function g2(e,t){e&&Cp([T._public,T._protected,T._private,T._readonly,T._override]),Wo(t),_w(),Wo(t,!0)}function _w(){Ze?$D():He&&S$()}function Wo(e,t=!1){if(t||Go(e),!Y(a.eq))return;const n=f.tokens.length-1;jt(),f.tokens[n].rhsEndIndex=f.tokens.length}function Tp(){return w(a.name)}function v2(){return w(a.name)||!!(f.type&a.IS_KEYWORD)||w(a.string)||w(a.num)||w(a.bigint)||w(a.decimal)}function xw(){const e=f.snapshot();return ne(),(w(a.bracketL)||w(a.braceL)||w(a.star)||w(a.ellipsis)||w(a.hash)||v2())&&!Xt()?!0:(f.restoreFromSnapshot(e),!1)}function Cp(e){for(;bw(e)!==null;);}function bw(e){if(!w(a.name))return null;const t=f.contextualKeyword;if(e.indexOf(t)!==-1&&xw()){switch(t){case T._readonly:f.tokens[f.tokens.length-1].type=a._readonly;break;case T._abstract:f.tokens[f.tokens.length-1].type=a._abstract;break;case T._static:f.tokens[f.tokens.length-1].type=a._static;break;case T._public:f.tokens[f.tokens.length-1].type=a._public;break;case T._private:f.tokens[f.tokens.length-1].type=a._private;break;case T._protected:f.tokens[f.tokens.length-1].type=a._protected;break;case T._override:f.tokens[f.tokens.length-1].type=a._override;break;case T._declare:f.tokens[f.tokens.length-1].type=a._declare;break}return t}return null}function Yi(){for(Te();Y(a.dot);)Te()}function y2(){Yi(),!Xt()&&w(a.lessThan)&&Us()}function _2(){ne(),ea()}function x2(){ne()}function b2(){ee(a._typeof),w(a._import)?Ew():Yi(),!Xt()&&w(a.lessThan)&&Us()}function Ew(){ee(a._import),ee(a.parenL),ee(a.string),ee(a.parenR),Y(a.dot)&&Yi(),w(a.lessThan)&&Us()}function E2(){Y(a._const);const e=Y(a._in),t=Ct(T._out);Y(a._const),(e||t)&&!w(a.name)?f.tokens[f.tokens.length-1].type=a.name:Te(),Y(a._extends)&&mt(),Y(a.eq)&&mt()}function us(){w(a.lessThan)&&Ho()}function Ho(){const e=qe(0);for(w(a.lessThan)||w(a.typeParameterStart)?ne():$e();!Y(a.greaterThan)&&!f.error;)E2(),Y(a.comma);Fe(e)}function Rp(e){const t=e===a.arrow;us(),ee(a.parenL),f.scopeDepth++,k2(!1),f.scopeDepth--,(t||w(e))&&Zi(e)}function k2(e){Pp(a.parenR,e)}function Ko(){Y(a.comma)||ht()}function kw(){Rp(a.colon),Ko()}function S2(){const e=f.snapshot();ne();const t=Y(a.name)&&w(a.colon);return f.restoreFromSnapshot(e),t}function Sw(){if(!(w(a.bracketL)&&S2()))return!1;const e=qe(0);return ee(a.bracketL),Te(),ea(),ee(a.bracketR),Vs(),Ko(),Fe(e),!0}function Iw(e){Y(a.question),!e&&(w(a.parenL)||w(a.lessThan))?(Rp(a.colon),Ko()):(Vs(),Ko())}function I2(){if(w(a.parenL)||w(a.lessThan)){kw();return}if(w(a._new)){ne(),w(a.parenL)||w(a.lessThan)?kw():Iw(!1);return}const e=!!bw([T._readonly]);Sw()||((Ee(T._get)||Ee(T._set))&&xw(),na(-1),Iw(e))}function w2(){ww()}function ww(){for(ee(a.braceL);!Y(a.braceR)&&!f.error;)I2()}function A2(){const e=f.snapshot(),t=P2();return f.restoreFromSnapshot(e),t}function P2(){return ne(),Y(a.plus)||Y(a.minus)?Ee(T._readonly):(Ee(T._readonly)&&ne(),!w(a.bracketL)||(ne(),!Tp())?!1:(ne(),w(a._in)))}function T2(){Te(),ee(a._in),mt()}function C2(){ee(a.braceL),w(a.plus)||w(a.minus)?(ne(),bt(T._readonly)):Ct(T._readonly),ee(a.bracketL),T2(),Ct(T._as)&&mt(),ee(a.bracketR),w(a.plus)||w(a.minus)?(ne(),ee(a.question)):Y(a.question),U2(),ht(),ee(a.braceR)}function R2(){for(ee(a.bracketL);!Y(a.bracketR)&&!f.error;)N2(),Y(a.comma)}function N2(){Y(a.ellipsis)?mt():(mt(),Y(a.question)),Y(a.colon)&&mt()}function O2(){ee(a.parenL),mt(),ee(a.parenR)}function $2(){for(br(),br();!w(a.backQuote)&&!f.error;)ee(a.dollarBraceL),mt(),br(),br();ne()}var kr;(function(e){e[e.TSFunctionType=0]="TSFunctionType";const n=1;e[e.TSConstructorType=n]="TSConstructorType";const r=n+1;e[e.TSAbstractConstructorType=r]="TSAbstractConstructorType"})(kr||(kr={}));function Np(e){e===kr.TSAbstractConstructorType&&bt(T._abstract),(e===kr.TSConstructorType||e===kr.TSAbstractConstructorType)&&ee(a._new);const t=f.inDisallowConditionalTypesContext;f.inDisallowConditionalTypesContext=!1,Rp(a.arrow),f.inDisallowConditionalTypesContext=t}function D2(){switch(f.type){case a.name:y2();return;case a._void:case a._null:ne();return;
175case a.string:case a.num:case a.bigint:case a.decimal:case a._true:case a._false:Ws();return;case a.minus:ne(),Ws();return;case a._this:{x2(),Ee(T._is)&&!Xt()&&_2();return}case a._typeof:b2();return;case a._import:Ew();return;case a.braceL:A2()?C2():w2();return;case a.bracketL:R2();return;case a.parenL:O2();return;case a.backQuote:$2();return;default:if(f.type&a.IS_KEYWORD){ne(),f.tokens[f.tokens.length-1].type=a.name;return}break}$e()}function L2(){for(D2();!Xt()&&Y(a.bracketL);)Y(a.bracketR)||(mt(),ee(a.bracketR))}function M2(){if(bt(T._infer),Te(),w(a._extends)){const e=f.snapshot();ee(a._extends);const t=f.inDisallowConditionalTypesContext;f.inDisallowConditionalTypesContext=!0,mt(),f.inDisallowConditionalTypesContext=t,(f.error||!f.inDisallowConditionalTypesContext&&w(a.question))&&f.restoreFromSnapshot(e)}}function Op(){if(Ee(T._keyof)||Ee(T._unique)||Ee(T._readonly))ne(),Op();else if(Ee(T._infer))M2();else{const e=f.inDisallowConditionalTypesContext;f.inDisallowConditionalTypesContext=!1,L2(),f.inDisallowConditionalTypesContext=e}}function Aw(){if(Y(a.bitwiseAND),Op(),w(a.bitwiseAND))for(;Y(a.bitwiseAND);)Op()}function F2(){if(Y(a.bitwiseOR),Aw(),w(a.bitwiseOR))for(;Y(a.bitwiseOR);)Aw()}function q2(){return w(a.lessThan)?!0:w(a.parenL)&&B2()}function j2(){if(w(a.name)||w(a._this))return ne(),!0;if(w(a.braceL)||w(a.bracketL)){let e=1;for(ne();e>0&&!f.error;)w(a.braceL)||w(a.bracketL)?e++:(w(a.braceR)||w(a.bracketR))&&e--,ne();return!0}return!1}function B2(){const e=f.snapshot(),t=V2();return f.restoreFromSnapshot(e),t}function V2(){return ne(),!!(w(a.parenR)||w(a.ellipsis)||j2()&&(w(a.colon)||w(a.comma)||w(a.question)||w(a.eq)||w(a.parenR)&&(ne(),w(a.arrow))))}function Zi(e){const t=qe(0);ee(e),G2()||mt(),Fe(t)}function z2(){w(a.colon)&&Zi(a.colon)}function Vs(){w(a.colon)&&ea()}function U2(){Y(a.colon)&&mt()}function G2(){const e=f.snapshot();return Ee(T._asserts)?(ne(),Ct(T._is)?(mt(),!0):Tp()||w(a._this)?(ne(),Ct(T._is)&&mt(),!0):(f.restoreFromSnapshot(e),!1)):Tp()||w(a._this)?(ne(),Ee(T._is)&&!Xt()?(ne(),mt(),!0):(f.restoreFromSnapshot(e),!1)):!1}function ea(){const e=qe(0);ee(a.colon),mt(),Fe(e)}function mt(){if(Pw(),f.inDisallowConditionalTypesContext||Xt()||!Y(a._extends))return;const e=f.inDisallowConditionalTypesContext;f.inDisallowConditionalTypesContext=!0,Pw(),f.inDisallowConditionalTypesContext=e,ee(a.question),mt(),ee(a.colon),mt()}function W2(){return Ee(T._abstract)&&dt()===a._new}function Pw(){if(q2()){Np(kr.TSFunctionType);return}if(w(a._new)){Np(kr.TSConstructorType);return}else if(W2()){Np(kr.TSAbstractConstructorType);return}F2()}function H2(){const e=qe(1);mt(),ee(a.greaterThan),Fe(e),ta()}function K2(){if(Y(a.jsxTagStart)){f.tokens[f.tokens.length-1].type=a.typeParameterStart;const e=qe(1);for(;!w(a.greaterThan)&&!f.error;)mt(),Y(a.comma);xn(),Fe(e)}}function Tw(){for(;!w(a.braceL)&&!f.error;)X2(),Y(a.comma)}function X2(){Yi(),w(a.lessThan)&&Us()}function Q2(){Er(!1),us(),Y(a._extends)&&Tw(),ww()}function J2(){Er(!1),us(),ee(a.eq),mt(),ht()}function Y2(){if(w(a.string)?Ws():Te(),Y(a.eq)){const e=f.tokens.length-1;jt(),f.tokens[e].rhsEndIndex=f.tokens.length}}function $p(){for(Er(!1),ee(a.braceL);!Y(a.braceR)&&!f.error;)Y2(),Y(a.comma)}function Dp(){ee(a.braceL),sc(a.braceR)}function Lp(){Er(!1),Y(a.dot)?Lp():Dp()}function Cw(){Ee(T._global)?Te():w(a.string)?ur():$e(),w(a.braceL)?Dp():ht()}function Mp(){Uo(),ee(a.eq),e$(),ht()}function Z2(){return Ee(T._require)&&dt()===a.parenL}function e$(){Z2()?t$():Yi()}function t$(){bt(T._require),ee(a.parenL),w(a.string)||$e(),Ws(),ee(a.parenR)}function n$(){if(Kn())return!1;switch(f.type){case a._function:{const e=qe(1);ne();const t=f.start;return fs(t,!0),Fe(e),!0}case a._class:{const e=qe(1);return ps(!0,!1),Fe(e),!0}case a._const:if(w(a._const)&&Ep(T._enum)){const e=qe(1);return ee(a._const),bt(T._enum),f.tokens[f.tokens.length-1].type=a._enum,$p(),Fe(e),!0}case a._var:case a._let:{const e=qe(1);return rc(f.type!==a._var),Fe(e),!0}case a.name:{const e=qe(1),t=f.contextualKeyword;let n=!1;return t===T._global?(Cw(),n=!0):n=Xo(t,!0),Fe(e),n}default:return!1}}function Rw(){return Xo(f.contextualKeyword,!0)}function r$(e){switch(e){case T._declare:{const t=f.tokens.length-1;if(n$())return f.tokens[t].type=a._declare,!0;break}case T._global:if(w(a.braceL))return Dp(),!0;break;default:return Xo(e,!1)}return!1}function Xo(e,t){switch(e){case T._abstract:if(zs(t)&&w(a._class))return f.tokens[f.tokens.length-1].type=a._abstract,ps(!0,!1),!0;break;case T._enum:if(zs(t)&&w(a.name))return f.tokens[f.tokens.length-1].type=a._enum,$p(),!0;break;case T._interface:if(zs(t)&&w(a.name)){const n=qe(t?2:1);return Q2(),Fe(n),!0}break;case T._module:if(zs(t)){if(w(a.string)){const n=qe(t?2:1);return Cw(),Fe(n),!0}else if(w(a.name)){const n=qe(t?2:1);return Lp(),Fe(n),!0}}break;case T._namespace:if(zs(t)&&w(a.name)){const n=qe(t?2:1);return Lp(),Fe(n),!0}break;case T._type:if(zs(t)&&w(a.name)){const n=qe(t?2:1);return J2(),Fe(n),!0}break}return!1}function zs(e){return e?(ne(),!0):!Kn()}function s$(){const e=f.snapshot();return Ho(),Hs(),z2(),ee(a.arrow),f.error?(f.restoreFromSnapshot(e),!1):(sa(!0),!0)}function Fp(){f.type===a.bitShiftL&&(f.pos-=1,De(a.lessThan)),Us()}function Us(){const e=qe(0);for(ee(a.lessThan);!w(a.greaterThan)&&!f.error;)mt(),Y(a.comma);e?(ee(a.greaterThan),Fe(e)):(Fe(e),QI(),ee(a.greaterThan),f.tokens[f.tokens.length-1].isType=!0)}function Nw(){if(w(a.name))switch(f.contextualKeyword){case T._abstract:case T._declare:case T._enum:case T._interface:case T._module:case T._namespace:case T._type:return!0}return!1}function i$(e,t){if(w(a.colon)&&Zi(a.colon),!w(a.braceL)&&Kn()){let n=f.tokens.length-1;for(;n>=0&&(f.tokens[n].start>=e||f.tokens[n].type===a._default||f.tokens[n].type===a._export);)f.tokens[n].isType=!0,n--;return}sa(!1,t)}function a$(e,t,n){if(!Xt()&&Y(a.bang)){f.tokens[f.tokens.length-1].type=a.nonNullAssertion;return}if(w(a.lessThan)||w(a.bitShiftL)){const r=f.snapshot();if(!t&&jw()&&s$())return;if(Fp(),!t&&Y(a.parenL)?(f.tokens[f.tokens.length-1].subscriptStartIndex=e,Sr()):w(a.backQuote)?Gp():(f.type===a.greaterThan||f.type!==a.parenL&&f.type&a.IS_EXPRESSION_START&&!Xt())&&$e(),f.error)f.restoreFromSnapshot(r);else return}else!t&&w(a.questionDot)&&dt()===a.lessThan&&(ne(),f.tokens[e].isOptionalChainStart=!0,f.tokens[f.tokens.length-1].subscriptStartIndex=e,Us(),ee(a.parenL),Sr());Bp(e,t,n)}function o$(){if(Y(a._import))return Ee(T._type)&&dt()!==a.eq&&bt(T._type),Mp(),!0;if(Y(a.eq))return qt(),ht(),!0;if(Ct(T._as))return bt(T._namespace),Te(),ht(),!0;if(Ee(T._type)){const e=dt();(e===a.braceL||e===a.star)&&ne()}return!1}function c$(){if(Te(),w(a.comma)||w(a.braceR)){f.tokens[f.tokens.length-1].identifierRole=Ie.ImportDeclaration;return}if(Te(),w(a.comma)||w(a.braceR)){f.tokens[f.tokens.length-1].identifierRole=Ie.ImportDeclaration,f.tokens[f.tokens.length-2].isType=!0,f.tokens[f.tokens.length-1].isType=!0;return}if(Te(),w(a.comma)||w(a.braceR)){f.tokens[f.tokens.length-3].identifierRole=Ie.ImportAccess,f.tokens[f.tokens.length-1].identifierRole=Ie.ImportDeclaration;return}Te(),f.tokens[f.tokens.length-3].identifierRole=Ie.ImportAccess,f.tokens[f.tokens.length-1].identifierRole=Ie.ImportDeclaration,f.tokens[f.tokens.length-4].isType=!0,f.tokens[f.tokens.length-3].isType=!0,f.tokens[f.tokens.length-2].isType=!0,f.tokens[f.tokens.length-1].isType=!0}
175function u$(){if(Te(),w(a.comma)||w(a.braceR)){f.tokens[f.tokens.length-1].identifierRole=Ie.ExportAccess;return}if(Te(),w(a.comma)||w(a.braceR)){f.tokens[f.tokens.length-1].identifierRole=Ie.ExportAccess,f.tokens[f.tokens.length-2].isType=!0,f.tokens[f.tokens.length-1].isType=!0;return}if(Te(),w(a.comma)||w(a.braceR)){f.tokens[f.tokens.length-3].identifierRole=Ie.ExportAccess;return}Te(),f.tokens[f.tokens.length-3].identifierRole=Ie.ExportAccess,f.tokens[f.tokens.length-4].isType=!0,f.tokens[f.tokens.length-3].isType=!0,f.tokens[f.tokens.length-2].isType=!0,f.tokens[f.tokens.length-1].isType=!0}function l$(){if(Ee(T._abstract)&&dt()===a._class)return f.type=a._abstract,ne(),ps(!0,!0),!0;if(Ee(T._interface)){const e=qe(2);return Xo(T._interface,!0),Fe(e),!0}return!1}function h$(){if(f.type===a._const){const e=zi();if(e.type===a.name&&e.contextualKeyword===T._enum)return ee(a._const),bt(T._enum),f.tokens[f.tokens.length-1].type=a._enum,$p(),!0}return!1}function f$(e){const t=f.tokens.length;Cp([T._abstract,T._readonly,T._declare,T._static,T._override]);const n=f.tokens.length;if(Sw()){const s=e?t-1:t;for(let i=s;i<n;i++)f.tokens[i].isType=!0;return!0}return!1}function p$(e){r$(e)||ht()}function d$(){const e=Ct(T._declare);e&&(f.tokens[f.tokens.length-1].type=a._declare);let t=!1;if(w(a.name))if(e){const n=qe(2);t=Rw(),Fe(n)}else t=Rw();if(!t)if(e){const n=qe(2);on(!0),Fe(n)}else on(!0)}function m$(e){if(e&&(w(a.lessThan)||w(a.bitShiftL))&&Fp(),Ct(T._implements)){f.tokens[f.tokens.length-1].type=a._implements;const t=qe(1);Tw(),Fe(t)}}function g$(){us()}function v$(){us()}function y$(){const e=qe(0);Xt()||Y(a.bang),Vs(),Fe(e)}function _$(){w(a.colon)&&ea()}function x$(e,t){return qo?b$(e,t):E$(e,t)}function b$(e,t){if(!w(a.lessThan))return Xn(e,t);const n=f.snapshot();let r=Xn(e,t);if(f.error)f.restoreFromSnapshot(n);else return r;return f.type=a.typeParameterStart,Ho(),r=Xn(e,t),r||$e(),r}function E$(e,t){if(!w(a.lessThan))return Xn(e,t);const n=f.snapshot();Ho();const r=Xn(e,t);if(r||$e(),f.error)f.restoreFromSnapshot(n);else return r;return Xn(e,t)}function k$(){if(w(a.colon)){const e=f.snapshot();Zi(a.colon),an()&&$e(),w(a.arrow)||$e(),f.error&&f.restoreFromSnapshot(e)}return Y(a.arrow)}function S$(){const e=qe(0);Y(a.question),Vs(),Fe(e)}function I$(){(w(a.lessThan)||w(a.bitShiftL))&&Fp(),t0()}function w$(){let e=!1,t=!1;for(;;){if(f.pos>=fe.length){$e("Unterminated JSX contents");return}const n=fe.charCodeAt(f.pos);if(n===G.lessThan||n===G.leftCurlyBrace){if(f.pos===f.start){if(n===G.lessThan){f.pos++,De(a.jsxTagStart);return}JI(n);return}De(e&&!t?a.jsxEmptyText:a.jsxText);return}n===G.lineFeed?e=!0:n!==G.space&&n!==G.carriageReturn&&n!==G.tab&&(t=!0),f.pos++}}function A$(e){for(f.pos++;;){if(f.pos>=fe.length){$e("Unterminated string constant");return}if(fe.charCodeAt(f.pos)===e){f.pos++;break}f.pos++}De(a.string)}function P$(){let e;do{if(f.pos>fe.length){$e("Unexpectedly reached the end of input.");return}e=fe.charCodeAt(++f.pos)}while(An[e]||e===G.dash);De(a.jsxName)}function qp(){xn()}function Ow(e){if(qp(),!Y(a.colon)){f.tokens[f.tokens.length-1].identifierRole=e;return}qp()}function $w(){const e=f.tokens.length;Ow(Ie.Access);let t=!1;for(;w(a.dot);)t=!0,xn(),qp();if(!t){const n=f.tokens[e],r=fe.charCodeAt(n.start);r>=G.lowercaseA&&r<=G.lowercaseZ&&(n.identifierRole=null)}}function T$(){switch(f.type){case a.braceL:ne(),qt(),xn();return;case a.jsxTagStart:Lw(),xn();return;case a.string:xn();return;default:$e("JSX value should be either an expression or a quoted JSX text")}}function C$(){ee(a.ellipsis),qt()}function R$(e){if(w(a.jsxTagEnd))return!1;$w(),He&&K2();let t=!1;for(;!w(a.slash)&&!w(a.jsxTagEnd)&&!f.error;){if(Y(a.braceL)){t=!0,ee(a.ellipsis),jt(),xn();continue}t&&f.end-f.start===3&&fe.charCodeAt(f.start)===G.lowercaseK&&fe.charCodeAt(f.start+1)===G.lowercaseE&&fe.charCodeAt(f.start+2)===G.lowercaseY&&(f.tokens[e].jsxRole=Pn.KeyAfterPropSpread),Ow(Ie.ObjectKey),w(a.eq)&&(xn(),T$())}const n=w(a.slash);return n&&xn(),n}function N$(){w(a.jsxTagEnd)||$w()}function Dw(){const e=f.tokens.length-1;f.tokens[e].jsxRole=Pn.NoChildren;let t=0;if(!R$(e))for(Gs();;)switch(f.type){case a.jsxTagStart:if(xn(),w(a.slash)){xn(),N$(),f.tokens[e].jsxRole!==Pn.KeyAfterPropSpread&&(t===1?f.tokens[e].jsxRole=Pn.OneChild:t>1&&(f.tokens[e].jsxRole=Pn.StaticChildren));return}t++,Dw(),Gs();break;case a.jsxText:t++,Gs();break;case a.jsxEmptyText:Gs();break;case a.braceL:ne(),w(a.ellipsis)?(C$(),Gs(),t+=2):(w(a.braceR)||(t++,qt()),Gs());break;default:$e();return}}function Lw(){xn(),Dw()}function xn(){f.tokens.push(new jo),KI(),f.start=f.pos;const e=fe.charCodeAt(f.pos);if(Vi[e])P$();
175else if(e===G.quotationMark||e===G.apostrophe)A$(e);else switch(++f.pos,e){case G.greaterThan:De(a.jsxTagEnd);break;case G.lessThan:De(a.jsxTagStart);break;case G.slash:De(a.slash);break;case G.equalsTo:De(a.eq);break;case G.leftCurlyBrace:De(a.braceL);break;case G.dot:De(a.dot);break;case G.colon:De(a.colon);break;default:$e()}}function Gs(){f.tokens.push(new jo),f.start=f.pos,w$()}function O$(e){if(w(a.question)){const t=dt();if(t===a.colon||t===a.comma||t===a.parenR)return}Mw(e)}function $$(){zI(a.question),w(a.colon)&&(He?ea():Ze&&hs())}class D${constructor(t){this.stop=t}}function qt(e=!1){if(jt(e),w(a.comma))for(;Y(a.comma);)jt(e)}function jt(e=!1,t=!1){return He?x$(e,t):Ze?jD(e,t):Xn(e,t)}function Xn(e,t){if(w(a._yield))return J$(),!1;(w(a.parenL)||w(a.name)||w(a._yield))&&(f.potentialArrowAt=f.start);const n=L$(e);return t&&Up(),f.type&a.IS_ASSIGN?(ne(),jt(e),!1):n}function L$(e){return F$(e)?!0:(M$(e),!1)}function M$(e){He||Ze?O$(e):Mw(e)}function Mw(e){Y(a.question)&&(jt(),ee(a.colon),jt(e))}function F$(e){const t=f.tokens.length;return ta()?!0:(Qo(t,-1,e),!1)}function Qo(e,t,n){if(He&&(a._in&a.PRECEDENCE_MASK)>t&&!Xt()&&(Ct(T._as)||Ct(T._satisfies))){const s=qe(1);mt(),Fe(s),QI(),Qo(e,t,n);return}const r=f.type&a.PRECEDENCE_MASK;if(r>0&&(!n||!w(a._in))&&r>t){const s=f.type;ne(),s===a.nullishCoalescing&&(f.tokens[f.tokens.length-1].nullishStartIndex=e);const i=f.tokens.length;ta(),Qo(i,s&a.IS_RIGHT_ASSOCIATIVE?r-1:r,n),s===a.nullishCoalescing&&(f.tokens[e].numNullishCoalesceStarts++,f.tokens[f.tokens.length-1].numNullishCoalesceEnds++),Qo(e,t,n)}}function ta(){if(He&&!qo&&Y(a.lessThan))return H2(),!1;if(Ee(T._module)&&GI()===G.leftCurlyBrace&&!LI())return Y$(),!1;if(f.type&a.IS_PREFIX)return ne(),ta(),!1;if(Fw())return!0;for(;f.type&a.IS_POSTFIX&&!an();)f.type===a.preIncDec&&(f.type=a.postIncDec),ne();return!1}function Fw(){const e=f.tokens.length;return ur()?!0:(jp(e),f.tokens.length>e&&f.tokens[e].isOptionalChainStart&&(f.tokens[f.tokens.length-1].isOptionalChainEnd=!0),!1)}function jp(e,t=!1){Ze?VD(e,t):qw(e,t)}function qw(e,t=!1){const n=new D$(!1);do q$(e,t,n);while(!n.stop&&!f.error)}function q$(e,t,n){He?a$(e,t,n):Ze?ED(e,t,n):Bp(e,t,n)}function Bp(e,t,n){if(!t&&Y(a.doubleColon))Vp(),n.stop=!0,jp(e,t);else if(w(a.questionDot)){if(f.tokens[e].isOptionalChainStart=!0,t&&dt()===a.parenL){n.stop=!0;return}ne(),f.tokens[f.tokens.length-1].subscriptStartIndex=e,Y(a.bracketL)?(qt(),ee(a.bracketR)):Y(a.parenL)?Sr():Jo()}else if(Y(a.dot))f.tokens[f.tokens.length-1].subscriptStartIndex=e,Jo();else if(Y(a.bracketL))f.tokens[f.tokens.length-1].subscriptStartIndex=e,qt(),ee(a.bracketR);else if(!t&&w(a.parenL))if(jw()){const r=f.snapshot(),s=f.tokens.length;ne(),f.tokens[f.tokens.length-1].subscriptStartIndex=e;const i=Bi();f.tokens[f.tokens.length-1].contextId=i,Sr(),f.tokens[f.tokens.length-1].contextId=i,j$()&&(f.restoreFromSnapshot(r),n.stop=!0,f.scopeDepth++,Hs(),B$(s))}else{ne(),f.tokens[f.tokens.length-1].subscriptStartIndex=e;const r=Bi();f.tokens[f.tokens.length-1].contextId=r,Sr(),f.tokens[f.tokens.length-1].contextId=r}else w(a.backQuote)?Gp():n.stop=!0}function jw(){return f.tokens[f.tokens.length-1].contextualKeyword===T._async&&!an()}function Sr(){let e=!0;for(;!Y(a.parenR)&&!f.error;){if(e)e=!1;else if(ee(a.comma),Y(a.parenR))break;Uw(!1)}}function j$(){return w(a.colon)||w(a.arrow)}function B$(e){He?_$():Ze&&qD(),ee(a.arrow),ra(e)}function Vp(){const e=f.tokens.length;ur(),jp(e,!0)}function ur(){if(Y(a.modulo))return Te(),!1;if(w(a.jsxText)||w(a.jsxEmptyText))return Ws(),!1;if(w(a.lessThan)&&qo)return f.type=a.jsxTagStart,Lw(),ne(),!1;const e=f.potentialArrowAt===f.start;switch(f.type){case a.slash:case a.assign:IO();case a._super:case a._this:case a.regexp:case a.num:case a.bigint:case a.decimal:case a.string:case a._null:case a._true:case a._false:return ne(),!1;case a._import:return ne(),w(a.dot)&&(f.tokens[f.tokens.length-1].type=a.name,ne(),Te()),!1;case a.name:{const t=f.tokens.length,n=f.start,r=f.contextualKeyword;return Te(),r===T._await?(Q$(),!1):r===T._async&&w(a._function)&&!an()?(ne(),fs(n,!1),!1):e&&r===T._async&&!an()&&w(a.name)?(f.scopeDepth++,Er(!1),ee(a.arrow),ra(t),!0):w(a._do)&&!an()?(ne(),Ir(),!1):e&&!an()&&w(a.arrow)?(f.scopeDepth++,Ap(!1),ee(a.arrow),ra(t),!0):(f.tokens[f.tokens.length-1].identifierRole=Ie.Access,!1)}case a._do:return ne(),Ir(),!1;case a.parenL:return Bw(e);case a.bracketL:return ne(),zw(a.bracketR,!0),!1;case a.braceL:return Wp(!1,!1),!1;case a._function:return V$(),!1;case a.at:sd();case a._class:return ps(!1),!1;case a._new:return U$(),!1;case a.backQuote:return Gp(),!1;case a.doubleColon:return ne(),Vp(),!1;case a.hash:{const t=GI();return Vi[t]||t===G.backslash?Jo():ne(),!1}default:return $e(),!1}}function Jo(){Y(a.hash),Te()}function V$(){const e=f.start;Te(),Y(a.dot)&&Te(),fs(e,!1)}function Ws(){ne()}function Yo(){ee(a.parenL),qt(),ee(a.parenR)}function Bw(e){const t=f.snapshot(),n=f.tokens.length;ee(a.parenL);let r=!0;for(;!w(a.parenR)&&!f.error;){if(r)r=!1;else if(ee(a.comma),w(a.parenR))break;if(w(a.ellipsis)){yw(!1),Up();break}else jt(!1,!0)}return ee(a.parenR),e&&z$()&&zp()?(f.restoreFromSnapshot(t),f.scopeDepth++,Hs(),zp(),ra(n),f.error?(f.restoreFromSnapshot(t),Bw(!1),!1):!0):!1}function z$(){return w(a.colon)||!an()}function zp(){return He?k$():Ze?BD():Y(a.arrow)}function Up(){(He||Ze)&&$$()}function U$(){if(ee(a._new),Y(a.dot)){Te();return}G$(),Ze&&kD(),Y(a.parenL)&&zw(a.parenR)}function G$(){Vp(),Y(a.questionDot)}function Gp(){for(br(),br();!w(a.backQuote)&&!f.error;)ee(a.dollarBraceL),qt(),br(),br();ne()}function Wp(e,t){const n=Bi();let r=!0;for(ne(),f.tokens[f.tokens.length-1].contextId=n;!Y(a.braceR)&&!f.error;){if(r)r=!1;else if(ee(a.comma),Y(a.braceR))break;let s=!1;if(w(a.ellipsis)){const i=f.tokens.length;if(vw(),e&&(f.tokens.length===i+2&&Ap(t),Y(a.braceR)))break;continue}e||(s=Y(a.star)),!e&&Ee(T._async)?(s&&$e(),Te(),w(a.colon)||w(a.parenL)||w(a.braceR)||w(a.eq)||w(a.comma)||(w(a.star)&&(ne(),s=!0),na(n))):na(n),X$(e,t,n)}f.tokens[f.tokens.length-1].contextId=n}function W$(e){return!e&&(w(a.string)||w(a.num)||w(a.bracketL)||w(a.name)||!!(f.type&a.IS_KEYWORD))}function H$(e,t){const n=f.start;return w(a.parenL)?(e&&$e(),Hp(n,!1),!0):W$(e)?(na(t),Hp(n,!1),!0):!1}function K$(e,t){if(Y(a.colon)){e?Wo(t):jt(!1);return}let n;e?f.scopeDepth===0?n=Ie.ObjectShorthandTopLevelDeclaration:t?n=Ie.ObjectShorthandBlockScopedDeclaration:n=Ie.ObjectShorthandFunctionScopedDeclaration:n=Ie.ObjectShorthand,f.tokens[f.tokens.length-1].identifierRole=n,Wo(t,!0)}
175function X$(e,t,n){He?g$():Ze&&OD(),H$(e,n)||K$(e,t)}function na(e){Ze&&rd(),Y(a.bracketL)?(f.tokens[f.tokens.length-1].contextId=e,jt(),ee(a.bracketR),f.tokens[f.tokens.length-1].contextId=e):(w(a.num)||w(a.string)||w(a.bigint)||w(a.decimal)?ur():Jo(),f.tokens[f.tokens.length-1].identifierRole=Ie.ObjectKey,f.tokens[f.tokens.length-1].contextId=e)}function Hp(e,t){const n=Bi();f.scopeDepth++;const r=f.tokens.length;Hs(t,n),Vw(e,n);const i=f.tokens.length;f.scopes.push(new Hn(r,i,!0)),f.scopeDepth--}function ra(e){sa(!0);const t=f.tokens.length;f.scopes.push(new Hn(e,t,!0)),f.scopeDepth--}function Vw(e,t=0){He?i$(e,t):Ze?bD(t):sa(!1,t)}function sa(e,t=0){e&&!w(a.braceL)?jt():Ir(!0,t)}function zw(e,t=!1){let n=!0;for(;!Y(e)&&!f.error;){if(n)n=!1;else if(ee(a.comma),Y(e))break;Uw(t)}}function Uw(e){e&&w(a.comma)||(w(a.ellipsis)?(vw(),Up()):w(a.question)?ne():jt(!1,!0))}function Te(){ne(),f.tokens[f.tokens.length-1].type=a.name}function Q$(){ta()}function J$(){ne(),!w(a.semi)&&!an()&&(Y(a.star),jt())}function Y$(){bt(T._module),ee(a.braceL),sc(a.braceR)}function Z$(e){return(e.type===a.name||!!(e.type&a.IS_KEYWORD))&&e.contextualKeyword!==T._from}function Qn(e){const t=qe(0);ee(e||a.colon),Yt(),Fe(t)}function Gw(){ee(a.modulo),bt(T._checks),Y(a.parenL)&&(qt(),ee(a.parenR))}function Kp(){const e=qe(0);ee(a.colon),w(a.modulo)?Gw():(Yt(),w(a.modulo)&&Gw()),Fe(e)}function eD(){ne(),Qp(!0)}function tD(){ne(),Te(),w(a.lessThan)&&Rn(),ee(a.parenL),nd(),ee(a.parenR),Kp(),ht()}function Xp(){w(a._class)?eD():w(a._function)?tD():w(a._var)?nD():Ct(T._module)?Y(a.dot)?iD():rD():Ee(T._type)?aD():Ee(T._opaque)?oD():Ee(T._interface)?cD():w(a._export)?sD():$e()}function nD(){ne(),Jw(),ht()}function rD(){for(w(a.string)?ur():Te(),ee(a.braceL);!w(a.braceR)&&!f.error;)w(a._import)?(ne(),u0()):$e();ee(a.braceR)}function sD(){ee(a._export),Y(a._default)?w(a._function)||w(a._class)?Xp():(Yt(),ht()):w(a._var)||w(a._function)||w(a._class)||Ee(T._opaque)?Xp():w(a.star)||w(a.braceL)||Ee(T._interface)||Ee(T._type)||Ee(T._opaque)?o0():$e()}function iD(){bt(T._exports),hs(),ht()}function aD(){ne(),Yp()}function oD(){ne(),Zp(!0)}function cD(){ne(),Qp()}function Qp(e=!1){if(ec(),w(a.lessThan)&&Rn(),Y(a._extends))do Zo();while(!e&&Y(a.comma));if(Ee(T._mixins)){ne();do Zo();while(Y(a.comma))}if(Ee(T._implements)){ne();do Zo();while(Y(a.comma))}tc(e,!1,e)}function Zo(){Ww(!1),w(a.lessThan)&&ls()}function Jp(){Qp()}function ec(){Te()}function Yp(){ec(),w(a.lessThan)&&Rn(),Qn(a.eq),ht()}function Zp(e){bt(T._type),ec(),w(a.lessThan)&&Rn(),w(a.colon)&&Qn(a.colon),e||Qn(a.eq),ht()}function uD(){rd(),Jw(),Y(a.eq)&&Yt()}function Rn(){const e=qe(0);w(a.lessThan)||w(a.typeParameterStart)?ne():$e();do uD(),w(a.greaterThan)||ee(a.comma);while(!w(a.greaterThan)&&!f.error);ee(a.greaterThan),Fe(e)}function ls(){const e=qe(0);for(ee(a.lessThan);!w(a.greaterThan)&&!f.error;)Yt(),w(a.greaterThan)||ee(a.comma);ee(a.greaterThan),Fe(e)}function lD(){if(bt(T._interface),Y(a._extends))do Zo();while(Y(a.comma));tc(!1,!1,!1)}function ed(){w(a.num)||w(a.string)?ur():Te()}function hD(){dt()===a.colon?(ed(),Qn()):Yt(),ee(a.bracketR),Qn()}function fD(){ed(),ee(a.bracketR),ee(a.bracketR),w(a.lessThan)||w(a.parenL)?td():(Y(a.question),Qn())}function td(){for(w(a.lessThan)&&Rn(),ee(a.parenL);!w(a.parenR)&&!w(a.ellipsis)&&!f.error;)nc(),w(a.parenR)||ee(a.comma);Y(a.ellipsis)&&nc(),ee(a.parenR),Qn()}function pD(){td()}function tc(e,t,n){let r;for(t&&w(a.braceBarL)?(ee(a.braceBarL),r=a.braceBarR):(ee(a.braceL),r=a.braceR);!w(r)&&!f.error;){if(n&&Ee(T._proto)){const s=dt();s!==a.colon&&s!==a.question&&(ne(),e=!1)}if(e&&Ee(T._static)){const s=dt();s!==a.colon&&s!==a.question&&ne()}if(rd(),Y(a.bracketL))Y(a.bracketL)?fD():hD();else if(w(a.parenL)||w(a.lessThan))pD();else{if(Ee(T._get)||Ee(T._set)){const s=dt();(s===a.name||s===a.string||s===a.num)&&ne()}dD()}mD()}ee(r)}function dD(){if(w(a.ellipsis)){if(ee(a.ellipsis),Y(a.comma)||Y(a.semi),w(a.braceR))return;Yt()}else ed(),w(a.lessThan)||w(a.parenL)?td():(Y(a.question),Qn())}function mD(){!Y(a.semi)&&!Y(a.comma)&&!w(a.braceR)&&!w(a.braceBarR)&&$e()}function Ww(e){for(e||Te();Y(a.dot);)Te()}function gD(){Ww(!0),w(a.lessThan)&&ls()}function vD(){ee(a._typeof),Hw()}function yD(){for(ee(a.bracketL);f.pos<fe.length&&!w(a.bracketR)&&(Yt(),!w(a.bracketR));)ee(a.comma);ee(a.bracketR)}function nc(){const e=dt();e===a.colon||e===a.question?(Te(),Y(a.question),Qn()):Yt()}
175function nd(){for(;!w(a.parenR)&&!w(a.ellipsis)&&!f.error;)nc(),w(a.parenR)||ee(a.comma);Y(a.ellipsis)&&nc()}function Hw(){let e=!1;const t=f.noAnonFunctionType;switch(f.type){case a.name:{if(Ee(T._interface)){lD();return}Te(),gD();return}case a.braceL:tc(!1,!1,!1);return;case a.braceBarL:tc(!1,!0,!1);return;case a.bracketL:yD();return;case a.lessThan:Rn(),ee(a.parenL),nd(),ee(a.parenR),ee(a.arrow),Yt();return;case a.parenL:if(ne(),!w(a.parenR)&&!w(a.ellipsis))if(w(a.name)){const n=dt();e=n!==a.question&&n!==a.colon}else e=!0;if(e)if(f.noAnonFunctionType=!1,Yt(),f.noAnonFunctionType=t,f.noAnonFunctionType||!(w(a.comma)||w(a.parenR)&&dt()===a.arrow)){ee(a.parenR);return}else Y(a.comma);nd(),ee(a.parenR),ee(a.arrow),Yt();return;case a.minus:ne(),Ws();return;case a.string:case a.num:case a._true:case a._false:case a._null:case a._this:case a._void:case a.star:ne();return;default:if(f.type===a._typeof){vD();return}else if(f.type&a.IS_KEYWORD){ne(),f.tokens[f.tokens.length-1].type=a.name;return}}$e()}function _D(){for(Hw();!an()&&(w(a.bracketL)||w(a.questionDot));)Y(a.questionDot),ee(a.bracketL),Y(a.bracketR)||(Yt(),ee(a.bracketR))}function Kw(){Y(a.question)?Kw():_D()}function Xw(){Kw(),!f.noAnonFunctionType&&Y(a.arrow)&&Yt()}function Qw(){for(Y(a.bitwiseAND),Xw();Y(a.bitwiseAND);)Xw()}function xD(){for(Y(a.bitwiseOR),Qw();Y(a.bitwiseOR);)Qw()}function Yt(){xD()}function hs(){Qn()}function Jw(){Te(),w(a.colon)&&hs()}function rd(){(w(a.plus)||w(a.minus))&&(ne(),f.tokens[f.tokens.length-1].isType=!0)}function bD(e){w(a.colon)&&Kp(),sa(!1,e)}function ED(e,t,n){if(w(a.questionDot)&&dt()===a.lessThan){if(t){n.stop=!0;return}ne(),ls(),ee(a.parenL),Sr();return}else if(!t&&w(a.lessThan)){const r=f.snapshot();if(ls(),ee(a.parenL),Sr(),f.error)f.restoreFromSnapshot(r);else return}Bp(e,t,n)}function kD(){if(w(a.lessThan)){const e=f.snapshot();ls(),f.error&&f.restoreFromSnapshot(e)}}function SD(){if(w(a.name)&&f.contextualKeyword===T._interface){const e=qe(0);return ne(),Jp(),Fe(e),!0}else if(Ee(T._enum))return Yw(),!0;return!1}function ID(){return Ee(T._enum)?(Yw(),!0):!1}function wD(e){if(e===T._declare){if(w(a._class)||w(a.name)||w(a._function)||w(a._var)||w(a._export)){const t=qe(1);Xp(),Fe(t)}}else if(w(a.name)){if(e===T._interface){const t=qe(1);Jp(),Fe(t)}else if(e===T._type){const t=qe(1);Yp(),Fe(t)}else if(e===T._opaque){const t=qe(1);Zp(!1),Fe(t)}}ht()}function AD(){return Ee(T._type)||Ee(T._interface)||Ee(T._opaque)||Ee(T._enum)}function PD(){return w(a.name)&&(f.contextualKeyword===T._type||f.contextualKeyword===T._interface||f.contextualKeyword===T._opaque||f.contextualKeyword===T._enum)}function TD(){if(Ee(T._type)){const e=qe(1);ne(),w(a.braceL)?(od(),oa()):Yp(),Fe(e)}else if(Ee(T._opaque)){const e=qe(1);ne(),Zp(!1),Fe(e)}else if(Ee(T._interface)){const e=qe(1);ne(),Jp(),Fe(e)}else on(!0)}function CD(){return w(a.star)||Ee(T._type)&&dt()===a.star}function RD(){if(Ct(T._type)){const e=qe(2);ad(),Fe(e)}else ad()}function ND(e){if(e&&w(a.lessThan)&&ls(),Ee(T._implements)){const t=qe(0);ne(),f.tokens[f.tokens.length-1].type=a._implements;do ec(),w(a.lessThan)&&ls();while(Y(a.comma));Fe(t)}}function OD(){w(a.lessThan)&&(Rn(),w(a.parenL)||$e())}function $D(){const e=qe(0);Y(a.question),w(a.colon)&&hs(),Fe(e)}function DD(){if(w(a._typeof)||Ee(T._type)){const e=zi();(Z$(e)||e.type===a.braceL||e.type===a.star)&&ne()}}function LD(){const e=f.contextualKeyword===T._type||f.type===a._typeof;e?ne():Te(),Ee(T._as)&&!Ep(T._as)?(Te(),e&&!w(a.name)&&!(f.type&a.IS_KEYWORD)||Te()):(e&&(w(a.name)||f.type&a.IS_KEYWORD)&&Te(),Ct(T._as)&&Te())}function MD(){if(w(a.lessThan)){const e=qe(0);Rn(),Fe(e)}}function FD(){w(a.colon)&&hs()}function qD(){if(w(a.colon)){const e=f.noAnonFunctionType;f.noAnonFunctionType=!0,hs(),f.noAnonFunctionType=e}}function jD(e,t){if(w(a.lessThan)){const n=f.snapshot();let r=Xn(e,t);if(f.error)f.restoreFromSnapshot(n),f.type=a.typeParameterStart;else return r;const s=qe(0);if(Rn(),Fe(s),r=Xn(e,t),r)return!0;$e()}return Xn(e,t)}function BD(){if(w(a.colon)){const e=qe(0),t=f.snapshot(),n=f.noAnonFunctionType;f.noAnonFunctionType=!0,Kp(),f.noAnonFunctionType=n,an()&&$e(),w(a.arrow)||$e(),f.error&&f.restoreFromSnapshot(t),Fe(e)}return Y(a.arrow)}function VD(e,t=!1){if(f.tokens[f.tokens.length-1].contextualKeyword===T._async&&w(a.lessThan)){const n=f.snapshot();if(zD()&&!f.error)return;f.restoreFromSnapshot(n)}qw(e,t)}function zD(){f.scopeDepth++;const e=f.tokens.length;return Hs(),zp()?(ra(e),!0):!1}function Yw(){bt(T._enum),f.tokens[f.tokens.length-1].type=a._enum,Te(
175),UD()}function UD(){Ct(T._of)&&ne(),ee(a.braceL),GD(),ee(a.braceR)}function GD(){for(;!w(a.braceR)&&!f.error&&!Y(a.ellipsis);)WD(),w(a.braceR)||ee(a.comma)}function WD(){Te(),Y(a.eq)&&ne()}function HD(){if(sc(a.eof),f.scopes.push(new Hn(0,f.tokens.length,!0)),f.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${f.scopeDepth}`);return new OL(f.tokens,f.scopes)}function on(e){Ze&&SD()||(w(a.at)&&sd(),KD(e))}function KD(e){if(He&&h$())return;const t=f.type;switch(t){case a._break:case a._continue:QD();return;case a._debugger:JD();return;case a._do:YD();return;case a._for:ZD();return;case a._function:if(dt()===a.dot)break;e||$e(),nL();return;case a._class:e||$e(),ps(!0);return;case a._if:rL();return;case a._return:sL();return;case a._switch:iL();return;case a._throw:aL();return;case a._try:cL();return;case a._let:case a._const:e||$e();case a._var:rc(t!==a._var);return;case a._while:uL();return;case a.braceL:Ir();return;case a.semi:lL();return;case a._export:case a._import:{const s=dt();if(s===a.parenL||s===a.dot)break;ne(),t===a._import?u0():o0();return}case a.name:if(f.contextualKeyword===T._async){const s=f.start,i=f.snapshot();if(ne(),w(a._function)&&!an()){ee(a._function),fs(s,!0);return}else f.restoreFromSnapshot(i)}else if(f.contextualKeyword===T._using&&!LI()&&dt()===a.name){rc(!0);return}else if(Zw()){bt(T._await),rc(!0);return}}const n=f.tokens.length;qt();let r=null;if(f.tokens.length===n+1){const s=f.tokens[f.tokens.length-1];s.type===a.name&&(r=s.contextualKeyword)}if(r==null){ht();return}Y(a.colon)?hL():fL(r)}function Zw(){if(!Ee(T._await))return!1;const e=f.snapshot();return ne(),!Ee(T._using)||Xt()||(ne(),!w(a.name)||Xt())?(f.restoreFromSnapshot(e),!1):(f.restoreFromSnapshot(e),!0)}function sd(){for(;w(a.at);)e0()}function e0(){if(ne(),Y(a.parenL))qt(),ee(a.parenR);else{for(Te();Y(a.dot);)Te();XD()}}function XD(){He?I$():t0()}function t0(){Y(a.parenL)&&Sr()}function QD(){ne(),Kn()||(Te(),ht())}function JD(){ne(),ht()}function YD(){ne(),on(!1),ee(a._while),Yo(),Y(a.semi)}function ZD(){f.scopeDepth++;const e=f.tokens.length;tL();const t=f.tokens.length;f.scopes.push(new Hn(e,t,!1)),f.scopeDepth--}function eL(){return!(!Ee(T._using)||Ep(T._of))}function tL(){ne();let e=!1;if(Ee(T._await)&&(e=!0,ne()),ee(a.parenL),w(a.semi)){e&&$e(),id();return}const t=Zw();if(t||w(a._var)||w(a._let)||w(a._const)||eL()){if(t&&bt(T._await),ne(),r0(!0,f.type!==a._var),w(a._in)||Ee(T._of)){n0(e);return}id();return}if(qt(!0),w(a._in)||Ee(T._of)){n0(e);return}e&&$e(),id()}function nL(){const e=f.start;ne(),fs(e,!0)}function rL(){ne(),Yo(),on(!1),Y(a._else)&&on(!1)}function sL(){ne(),Kn()||(qt(),ht())}function iL(){ne(),Yo(),f.scopeDepth++;const e=f.tokens.length;for(ee(a.braceL);!w(a.braceR)&&!f.error;)if(w(a._case)||w(a._default)){const n=w(a._case);ne(),n&&qt(),ee(a.colon)}else on(!0);ne();const t=f.tokens.length;f.scopes.push(new Hn(e,t,!1)),f.scopeDepth--}function aL(){ne(),qt(),ht()}function oL(){Go(!0),He&&Vs()}function cL(){if(ne(),Ir(),w(a._catch)){ne();let e=null;if(w(a.parenL)&&(f.scopeDepth++,e=f.tokens.length,ee(a.parenL),oL(),ee(a.parenR)),Ir(),e!=null){const t=f.tokens.length;f.scopes.push(new Hn(e,t,!1)),f.scopeDepth--}}Y(a._finally)&&Ir()}function rc(e){ne(),r0(!1,e),ht()}function uL(){ne(),Yo(),on(!1)}function lL(){ne()}function hL(){on(!0)}function fL(e){He?p$(e):Ze?wD(e):ht()}function Ir(e=!1,t=0){const n=f.tokens.length;f.scopeDepth++,ee(a.braceL),t&&(f.tokens[f.tokens.length-1].contextId=t),sc(a.braceR),t&&(f.tokens[f.tokens.length-1].contextId=t);const r=f.tokens.length;f.scopes.push(new Hn(n,r,e)),f.scopeDepth--}function sc(e){for(;!Y(e)&&!f.error;)on(!0)}function id(){ee(a.semi),w(a.semi)||qt(),ee(a.semi),w(a.parenR)||qt(),ee(a.parenR),on(!1)}function n0(e){e?Ct(T._of):ne(),qt(),ee(a.parenR),on(!1)}function r0(e,t){for(;;){if(pL(t),Y(a.eq)){const n=f.tokens.length-1;jt(e),f.tokens[n].rhsEndIndex=f.tokens.length}if(!Y(a.comma))break}}function pL(e){Go(e),He?y$():Ze&&FD()}function fs(e,t,n=!1){w(a.star)&&ne(),t&&!n&&!w(a.name)&&!w(a._yield)&&$e();let r=null;w(a.name)&&(t||(r=f.tokens.length,f.scopeDepth++),Er(!1));const s=f.tokens.length;f.scopeDepth++,Hs(),Vw(e);const i=f.tokens.length;f.scopes.push(new Hn(s,i,!0)),f.scopeDepth--,r!==null&&(f.scopes.push(new Hn(r,i,!0)),f.scopeDepth--)}function Hs(e=!1,t=0){He?v$():Ze&&MD(),ee(a.parenL),t&&(f.tokens[f.tokens.length-1].contextId=t),Pp(a.parenR,!1,!1,e,t),t&&(f.tokens[f.tokens.length-1].contextId=t)}function ps(e,t=!1){const n=Bi();ne(),f.tokens[f.tokens.length-1].contextId=n,f.tokens[f.tokens.length-1].isExpression=!e;let r=null;e||(r=f.tokens.length,f.scopeDepth++),vL(e,t),yL();const s=f.tokens.length;if(dL(n),!f.error&&(f.tokens[s].contextId=n,f.tokens[f.tokens.length-1].contextId=n,r!==null)){const i=f.tokens.length;f.scopes.push(new Hn(r,i,!1)),f.scopeDepth--}}function s0(){return w(a.eq)||w(a.semi)||w(a.braceR)||w(a.bang)||w(a.colon)}function i0(){return w(a.parenL)||w(a.lessThan)}function dL(e){for(ee(a.braceL);!Y(a.braceR)&&!f.error;){if(Y(a.semi))continue;if(w(a.at)){e0();continue}const t=f.start;mL(t,e)}}function mL(e,t){He&&Cp([T._declare,T._public,T._protected,T._private,T._override]);let n=!1;if(w(a.name)&&f.contextualKeyword===T._static){if(Te(),i0()){ia(e,!1);return}else if(s0()){ic();return}if(f.tokens[f.tokens.length-1].type=a._static,n=!0,w(a.braceL)){f.tokens[f.tokens.length-1].contextId=t,Ir();return}}gL(e,n,t)}function gL(e,t,n){if(He&&f$(t))return;if(Y(a.star)){aa(n),ia(e,!1);return}aa(n);let r=!1;const s=f.tokens[f.tokens.length-1];
175s.contextualKeyword===T._constructor&&(r=!0),a0(),i0()?ia(e,r):s0()?ic():s.contextualKeyword===T._async&&!Kn()?(f.tokens[f.tokens.length-1].type=a._async,w(a.star)&&ne(),aa(n),a0(),ia(e,!1)):(s.contextualKeyword===T._get||s.contextualKeyword===T._set)&&!(Kn()&&w(a.star))?(s.contextualKeyword===T._get?f.tokens[f.tokens.length-1].type=a._get:f.tokens[f.tokens.length-1].type=a._set,aa(n),ia(e,!1)):s.contextualKeyword===T._accessor&&!Kn()?(aa(n),ic()):Kn()?ic():$e()}function ia(e,t){He?us():Ze&&w(a.lessThan)&&Rn(),Hp(e,t)}function aa(e){na(e)}function a0(){if(He){const e=qe(0);Y(a.question),Fe(e)}}function ic(){if(He?(zI(a.bang),Vs()):Ze&&w(a.colon)&&hs(),w(a.eq)){const e=f.tokens.length;ne(),jt(),f.tokens[e].rhsEndIndex=f.tokens.length}ht()}function vL(e,t=!1){He&&(!e||t)&&Ee(T._implements)||(w(a.name)&&Er(!0),He?us():Ze&&w(a.lessThan)&&Rn())}function yL(){let e=!1;Y(a._extends)?(Fw(),e=!0):e=!1,He?m$(e):Ze&&ND(e)}function o0(){const e=f.tokens.length-1;He&&o$()||(EL()?kL():bL()?(Te(),w(a.comma)&&dt()===a.star?(ee(a.comma),ee(a.star),bt(T._as),Te()):c0(),oa()):Y(a._default)?_L():IL()?xL():(od(),oa()),f.tokens[e].rhsEndIndex=f.tokens.length)}function _L(){if(He&&l$()||Ze&&ID())return;const e=f.start;Y(a._function)?fs(e,!0,!0):Ee(T._async)&&dt()===a._function?(Ct(T._async),Y(a._function),fs(e,!0,!0)):w(a._class)?ps(!0,!0):w(a.at)?(sd(),ps(!0,!0)):(jt(),ht())}function xL(){He?d$():Ze?TD():on(!0)}function bL(){if(He&&Nw())return!1;if(Ze&&PD())return!1;if(w(a.name))return f.contextualKeyword!==T._async;if(!w(a._default))return!1;const e=kp(),t=zi(),n=t.type===a.name&&t.contextualKeyword===T._from;if(t.type===a.comma)return!0;if(n){const r=fe.charCodeAt(UI(e+4));return r===G.quotationMark||r===G.apostrophe}return!1}function c0(){Y(a.comma)&&od()}function oa(){Ct(T._from)&&(ur(),h0()),ht()}function EL(){return Ze?CD():w(a.star)}function kL(){Ze?RD():ad()}function ad(){ee(a.star),Ee(T._as)?SL():oa()}function SL(){ne(),f.tokens[f.tokens.length-1].type=a._as,Te(),c0(),oa()}function IL(){return He&&Nw()||Ze&&AD()||f.type===a._var||f.type===a._const||f.type===a._let||f.type===a._function||f.type===a._class||Ee(T._async)||w(a.at)}function od(){let e=!0;for(ee(a.braceL);!Y(a.braceR)&&!f.error;){if(e)e=!1;else if(ee(a.comma),Y(a.braceR))break;wL()}}function wL(){if(He){u$();return}Te(),f.tokens[f.tokens.length-1].identifierRole=Ie.ExportAccess,Ct(T._as)&&Te()}function AL(){const e=f.snapshot();return bt(T._module),Ct(T._from)?Ee(T._from)?(f.restoreFromSnapshot(e),!0):(f.restoreFromSnapshot(e),!1):w(a.comma)?(f.restoreFromSnapshot(e),!1):(f.restoreFromSnapshot(e),!0)}function PL(){Ee(T._module)&&AL()&&ne()}function u0(){if(He&&w(a.name)&&dt()===a.eq){Mp();return}if(He&&Ee(T._type)){const e=zi();if(e.type===a.name&&e.contextualKeyword!==T._from){if(bt(T._type),dt()===a.eq){Mp();return}}else(e.type===a.star||e.type===a.braceL)&&bt(T._type)}w(a.string)||(PL(),CL(),bt(T._from)),ur(),h0(),ht()}function TL(){return w(a.name)}function l0(){Uo()}function CL(){Ze&&DD();let e=!0;if(!(TL()&&(l0(),!Y(a.comma)))){if(w(a.star)){ne(),bt(T._as),l0();return}for(ee(a.braceL);!Y(a.braceR)&&!f.error;){if(e)e=!1;else if(Y(a.colon)&&$e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),ee(a.comma),Y(a.braceR))break;RL()}}}function RL(){if(He){c$();return}if(Ze){LD();return}Uo(),Ee(T._as)&&(f.tokens[f.tokens.length-1].identifierRole=Ie.ImportAccess,ne(),Uo())}function h0(){(w(a._with)||Ee(T._assert)&&!Xt())&&(ne(),Wp(!1,!1))}function NL(){return f.pos===0&&fe.charCodeAt(0)===G.numberSign&&fe.charCodeAt(1)===G.exclamationMark&&HI(2),WI(),HD()}class OL{constructor(t,n){this.tokens=t,this.scopes=n}}function $L(e,t,n,r){if(r&&n)throw new Error("Cannot combine flow and typescript plugins.");yO(e,t,n,r);const s=NL();if(f.error)throw mO(f.error);return s}function DL(e){let t=e.currentIndex(),n=0;const r=e.currentToken();do{const s=e.tokens[t];if(s.isOptionalChainStart&&n++,s.isOptionalChainEnd&&n--,n+=s.numNullishCoalesceStarts,n-=s.numNullishCoalesceEnds,s.contextualKeyword===T._await&&s.identifierRole==null&&s.scopeDepth===r.
175scopeDepth)return!0;t+=1}while(n>0&&t<e.tokens.length);return!1}class ca{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,n,r,s,i){this.code=t,this.tokens=n,this.isFlowEnabled=r,this.disableESTransforms=s,this.helperManager=i,ca.prototype.__init.call(this),ca.prototype.__init2.call(this),ca.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){const n=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,n}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,n){return this.matches1AtIndex(t,a.name)&&this.tokens[t].contextualKeyword===n}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,n){return this.tokens[t].type===n}matches2AtIndex(t,n,r){return this.tokens[t].type===n&&this.tokens[t+1].type===r}matches3AtIndex(t,n,r,s){return this.tokens[t].type===n&&this.tokens[t+1].type===r&&this.tokens[t+2].type===s}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n}matches3(t,n,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===r}matches4(t,n,r,s){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===r&&this.tokens[this.tokenIndex+3].type===s}matches5(t,n,r,s,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===r&&this.tokens[this.tokenIndex+3].type===s&&this.tokens[this.tokenIndex+4].type===i}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,n){return this.matches1(t)&&this.currentToken().contextId===n}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(a.braceL))t++;else if(this.matches1(a.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){const t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=DL(this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let n=0;n<t.numNullishCoalesceStarts;n++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>
1750&&this.tokenAtRelativeIndex(-1).type===a._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let n=0;n<t.numNullishCoalesceEnds;n++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){const t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}function LL(e,t,n,r){const s=t.snapshot(),i=ML(t);let o=[];const c=[],u=[];let l=null;const h=[],p=[],d=t.currentToken().contextId;if(d==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(a.braceR,d);)if(t.matchesContextual(T._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:o,constructorInsertPos:l}=f0(t));else if(t.matches1(a.semi))r||p.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{const _=t.currentIndex();let k=!1,g=!1,y=!1;for(;ac(t.currentToken());)t.matches1(a._static)&&(k=!0),t.matches1(a.hash)&&(g=!0),(t.matches1(a._declare)||t.matches1(a._abstract))&&(y=!0),t.nextToken();if(k&&t.matches1(a.braceL)){cd(t,d);continue}if(g){cd(t,d);continue}if(t.matchesContextual(T._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:o,constructorInsertPos:l}=f0(t));continue}const E=t.currentIndex();if(FL(t),t.matches1(a.lessThan)||t.matches1(a.parenL)){cd(t,d);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(a.eq)){const I=t.currentIndex(),v=t.currentToken().rhsEndIndex;if(v==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<v;)e.processToken();let x;
175k?(x=n.claimFreeName("__initStatic"),u.push(x)):(x=n.claimFreeName("__init"),c.push(x)),h.push({initializerName:x,equalsIndex:I,start:E,end:t.currentIndex()})}else(!r||y)&&p.push({start:_,end:t.currentIndex()})}return t.restoreToSnapshot(s),r?{headerInfo:i,constructorInitializerStatements:o,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:l,fields:[],rangesToRemove:p}:{headerInfo:i,constructorInitializerStatements:o,instanceInitializerNames:c,staticInitializerNames:u,constructorInsertPos:l,fields:h,rangesToRemove:p}}function cd(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;ac(e.tokenAtRelativeIndex(-1));)e.previousToken()}function ML(e){const t=e.currentToken(),n=t.contextId;if(n==null)throw new Error("Expected context ID on class token.");const r=t.isExpression;if(r==null)throw new Error("Expected isExpression on class token.");let s=null,i=!1;for(e.nextToken(),e.matches1(a.name)&&(s=e.identifierName());!e.matchesContextIdAndLabel(a.braceL,n);)e.matches1(a._extends)&&!e.currentToken().isType&&(i=!0),e.nextToken();return{isExpression:r,className:s,hasSuperclass:i}}function f0(e){const t=[];e.nextToken();const n=e.currentToken().contextId;if(n==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(a.parenR,n);)if(e.currentToken().contextId===n){if(e.nextToken(),ac(e.currentToken())){for(e.nextToken();ac(e.currentToken());)e.nextToken();const i=e.currentToken();if(i.type!==a.name)throw new Error("Expected identifier after access modifiers in constructor arg.");const o=e.identifierNameForToken(i);t.push(`this.${o} = ${o}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let r=e.currentIndex(),s=!1;for(;!e.matchesContextIdAndLabel(a.braceR,n);){if(!s&&e.matches2(a._super,a.parenL)){e.nextToken();const i=e.currentToken().contextId;if(i==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(a.parenR,i);)e.nextToken();r=e.currentIndex(),s=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:r}}function ac(e){return[a._async,a._get,a._set,a.plus,a.minus,a._readonly,a._static,a._public,a._private,a._protected,a._override,a._abstract,a.star,a._declare,a.hash].includes(e.type)}function FL(e){if(e.matches1(a.bracketL)){const n=e.currentToken().contextId;if(n==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(a.bracketR,n);)e.nextToken();e.nextToken()}else e.nextToken()}function p0(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(a.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(a.dot);)e.removeToken(),e.removeToken()}const d0={typeDeclarations:new Set,valueDeclarations:new Set};function m0(e){const t=new Set,n=new Set;for(let r=0;r<e.tokens.length;r++){const s=e.tokens[r];s.type===a.name&&VI(s)&&(s.isType?t.add(e.identifierNameForToken(s)):n.add(e.identifierNameForToken(s)))}return{typeDeclarations:t,valueDeclarations:n}}function g0(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,a.braceR);)t++;return e.matchesContextualAtIndex(t+1,T._from)&&e.matches1AtIndex(t+2,a.string)}function ds(e){(e.matches2(a._with,a.braceL)||e.matches2(a.name,a.braceL)&&e.matchesContextual(T._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function v0(e,t,n,r){if(!e||t)return!1;const s=n.currentToken();if(s.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");const i=s.rhsEndIndex-n.currentIndex();if(i!==3&&!(i===4&&n.matches1AtIndex(s.rhsEndIndex-1,a.semi)))return!1;const o=n.tokenAtRelativeIndex(2);if(o.type!==a.name)return!1;const c=n.identifierNameForToken(o);return r.typeDeclarations.has(c)&&!r.valueDeclarations.has(c)}class ua extends Tn{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,n,r,s,i,o,c,u,l,h,p,d){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.nameManager=s,this.helperManager=i,this.reactHotLoaderTransformer=o,this.enableLegacyBabel5ModuleInterop=c,this.enableLegacyTypeScriptModuleInterop=u,this.isTypeScriptTransformEnabled=l,this.isFlowTransformEnabled=h,this.preserveDynamicImport=p,this.keepUnusedImports=d,ua.prototype.__init.call(this),ua.prototype.__init2.call(this),ua.prototype.__init3.call(this),this.declarationInfo=l?m0(n):d0}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
176module.exports = exports.default;
177`:""}process(){return this.tokens.matches3(a._import,a.name,a.eq)?this.processImportEquals():this.tokens.matches1(a._import)?(this.processImport(),!0):this.tokens.matches2(a._export,a.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(a._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(a.name,a.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(a.name)||this.tokens.matches1(a.jsxName)?this.processIdentifier():this.tokens.matches1(a.eq)?this.processAssignment():this.tokens.matches1(a.assign)?this.processComplexAssignment():this.tokens.matches1(a.preIncDec)?this.processPreIncDec():!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?p0(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(a._import,a.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}const n=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${n}require`);const r=this.tokens.currentToken().contextId;if(r==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(a.parenR,r);)this.rootTransformer.processToken();this.tokens.replaceToken(n?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),this.tokens.appendCode(this.importProcessor.claimImportCode(n))}ds(this.tokens),this.tokens.matches1(a.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(T._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,a.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,T._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(a.name)||this.tokens.matches1(a.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(a.string))return!1;let t=!1,n=!1;for(;!this.tokens.matches1(a.string);)(!t&&this.tokens.matches1(a.braceL)||this.tokens.matches1(a.comma))&&(this.tokens.removeToken(),this.tokens.matches1(a.braceR)||(n=!0),(this.tokens.matches2(a.name,a.comma)||this.tokens.matches2(a.name,a.braceR)||this.tokens.matches4(a.name,a.name,a.name,a.comma)||this.tokens.matches4(a.name,a.name,a.name,a.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(a.string);)this.tokens.removeToken()}processIdentifier(){const t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===Ie.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==Ie.Access)return!1;const n=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!n)return!1;let r=this.tokens.currentIndex()+1;for(;r<this.tokens.tokens.length&&this.tokens.tokens[r].type===a.parenR;)r++;return this.tokens.tokens[r].type===a.parenL?this.tokens.tokenAtRelativeIndex(1).type===a.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==a._new?(this.tokens.replaceToken(`${n}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.parenR)):this.tokens.replaceToken(`(0, ${n})`):this.tokens.replaceToken(n),!0}processObjectShorthand(){const t=this.tokens.identifierName(),n=this.importProcessor.getIdentifierReplacement(t);return n?(this.tokens.replaceToken(`${t}: ${n}`),!0):!1}processExport(){if(this.tokens.matches2(a._export,a._enum)||this.tokens.matches3(a._export,a._const,a._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(a._export,a._default))return this.tokens.matches3(a._export,a._default,a._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(a._export,a.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(a._export,a.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,T._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(a.braceL)){for(;!this.tokens.matches1(a.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(a._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(T._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,a.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),ds(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(a._export,a._var)||this.tokens.matches2(a._export,a._let)||this.tokens.matches2(a._export,a._const))return this.processExportVar(),!0;if(this.tokens.matches2(a._export,a._function)||this.tokens.matches3(a._export,a.name,a._function))return this.processExportFunction(),!0;if(this.tokens.matches2(a._export,a._class)||this.tokens.matches3(a._export,a._abstract,a._class)||this.tokens.matches2(a._export,a.at))return this.processExportClass(),!0;if(this.tokens.matches2(a._export,a.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.isType||n.type!==a.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,a.dot)||t>=2&&[a._var,a._let,a._const].includes(this.tokens.tokens[t-2].type))return!1;const r=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return r?(this.tokens.copyToken(),this.tokens.appendCode(` ${r} =`),!0):!1}processComplexAssignment(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.type!==a.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,a.dot))return!1;const r=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return r?(this.tokens.appendCode(` = ${r}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t+1];if(n.type!==a.name||n.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,a.dot)||this.tokens.matches1AtIndex(t+2,a.bracketL)||this.tokens.matches1AtIndex(t+2,a.parenL)))return!1;const r=this.tokens.identifierNameForToken(n),s=this.importProcessor.resolveExportBinding(r);return s?(this.tokens.appendCode(`${s} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){const t=this.tokens.currentIndex(),n=this.tokens.tokens[t],r=this.tokens.tokens[t+1];if(n.type!==a.name||n.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,a.dot))return!1;const s=this.tokens.identifierNameForToken(n),i=this.importProcessor.resolveExportBinding(s);if(!i)return!1;const o=this.tokens.rawCodeForToken(r),c=this.importProcessor.getIdentifierReplacement(s)||s;if(o==="++")this.tokens.replaceToken(`(${c} = ${i} = ${c} + 1, ${c} - 1)`);else if(o==="--")this.tokens.replaceToken(`(${c} = ${i} = ${c} - 1, ${c} + 1)`);else throw new Error(`Unexpected operator: ${o}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(a._export,a._default,a._function,a.name)||this.tokens.matches5(a._export,a._default,a.name,a._function,a.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,T._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const n=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${n};`)}else if(this.tokens.matches4(a._export,a._default,a._class,a.name)||this.tokens.matches5(a._export,a._default,a._abstract,a._class,a.name)||this.tokens.matches3(a._export,a._default,a.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(a._abstract)&&this.tokens.removeToken();const n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${n};`)}else if(v0(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const n=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${n}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(a.at);)if(this.tokens.copyToken(),this.tokens.matches1(a.parenL))this.tokens.copyExpectedToken(a.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.parenR);else{for(this.tokens.copyExpectedToken(a.name);this.tokens.matches1(a.dot);)this.tokens.copyExpectedToken(a.dot),this.tokens.copyExpectedToken(a.name);this.tokens.matches1(a.parenL)&&(this.tokens.copyExpectedToken(a.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,a.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,a.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();const t=this.tokens.identifierName();for(;!this.tokens.matches1(a.eq);)this.rootTransformer.processToken();const n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.matches1(a.braceL);t&&this.tokens.appendCode("(");let n=0;for(;;)if(this.tokens.matches1(a.braceL)||this.tokens.matches1(a.dollarBraceL)||this.tokens.matches1(a.bracketL))n++,this.tokens.copyToken();else if(this.tokens.matches1(a.braceR)||this.tokens.matches1(a.bracketR))n--,this.tokens.copyToken();else{if(n===0&&!this.tokens.matches1(a.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(a.eq)){const r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken()}else{const r=this.tokens.currentToken();if(BI(r)){const s=this.tokens.identifierName();let i=this.importProcessor.getIdentifierReplacement(s);if(i===null)throw new Error(`Expected a replacement for ${s} in \`export var\` syntax.`);SO(r)&&(i=`${s}: ${i}`),this.tokens.replaceToken(i)}else this.rootTransformer.processToken()}}if(t){const r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");const t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(a._function))this.tokens.copyToken();
177else if(this.tokens.matches2(a.name,a._function)){if(!this.tokens.matchesContextual(T._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(a.star)&&this.tokens.copyToken(),!this.tokens.matches1(a.name))throw new Error("Expected identifier for exported function name.");const t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(a.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(a.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(a._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=g0(this.tokens),n=[];for(;;){if(this.tokens.matches1(a.braceR)){this.tokens.removeToken();break}const r=Ui(this.tokens);for(;this.tokens.currentIndex()<r.endIndex;)this.tokens.removeToken();if(!(r.isType||!t&&this.shouldElideExportedIdentifier(r.leftName))){const i=r.rightName;i==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;const o=r.leftName,c=this.importProcessor.getIdentifierReplacement(o);n.push(`exports.${i} = ${c||o};`)}if(this.tokens.matches1(a.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(a.comma,a.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(a.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(T._from)){this.tokens.removeToken();const r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),ds(this.tokens)}else this.tokens.appendCode(n.join(" "));this.tokens.matches1(a.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(a.string);)this.tokens.removeToken();const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),ds(this.tokens),this.tokens.matches1(a.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}}class qL extends Tn{constructor(t,n,r,s,i,o,c,u){super(),this.tokens=t,this.nameManager=n,this.helperManager=r,this.reactHotLoaderTransformer=s,this.isTypeScriptTransformEnabled=i,this.isFlowTransformEnabled=o,this.keepUnusedImports=c,this.nonTypeIdentifiers=i&&!c?sw(t,u):new Set,this.declarationInfo=i&&!c?m0(t):d0,this.injectCreateRequireForImportRequire=!!u.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(a._import,a.name,a.eq))return this.processImportEquals();if(this.tokens.matches4(a._import,a.name,a.name,a.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,T._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(a._export,a.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(a._export,a._import,a.name,a.name,a.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,T._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(a._import))return this.processImport();if(this.tokens.matches2(a._export,a._default))return this.processExportDefault();if(this.tokens.matches2(a._export,a.braceL))return this.processNamedExports();if(this.tokens.matches2(a._export,a.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,T._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(a.braceL)){for(;!this.tokens.matches1(a.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(a._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(T._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,a.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),ds(this.tokens)),!0}return!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?p0(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(a._import,a.parenL))return!1;const t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(a.string);)this.tokens.removeToken();this.tokens.removeToken(),ds(this.tokens),this.tokens.matches1(a.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(a._import),this.tokens.matchesContextual(T._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,a.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,T._from))return!0;
177if(this.tokens.matches1(a.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(T._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,T._from)&&this.tokens.copyToken();let t=!1,n=!1,r=!1;if(this.tokens.matches1(a.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(a.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(a.comma)&&(r=!0,this.tokens.removeToken()))),this.tokens.matches1(a.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(r&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(a.star),this.tokens.copyExpectedToken(a.name),this.tokens.copyExpectedToken(a.name));else if(this.tokens.matches1(a.braceL)){for(r&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(a.braceR);){n=!0;const s=Ui(this.tokens);if(s.isType||this.shouldAutomaticallyElideImportedName(s.rightName)){for(;this.tokens.currentIndex()<s.endIndex;)this.tokens.removeToken();this.tokens.matches1(a.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<s.endIndex;)this.tokens.copyToken();this.tokens.matches1(a.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(a.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(v0(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(a._export,a._default,a._function,a.name)||this.tokens.matches5(a._export,a._default,a.name,a._function,a.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,T._async)||this.tokens.matches4(a._export,a._default,a._class,a.name)||this.tokens.matches5(a._export,a._default,a._abstract,a._class,a.name))&&this.reactHotLoaderTransformer){const n=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${n}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(a._export),this.tokens.copyExpectedToken(a.braceL);const t=g0(this.tokens);let n=!1;for(;!this.tokens.matches1(a.braceR);){const r=Ui(this.tokens);if(r.isType||!t&&this.shouldElideExportedName(r.leftName)){for(;this.tokens.currentIndex()<r.endIndex;)this.tokens.removeToken();this.tokens.matches1(a.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<r.endIndex;)this.tokens.copyToken();this.tokens.matches1(a.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(a.braceR),!this.keepUnusedImports&&t&&!n&&(this.tokens.removeToken(),this.tokens.removeToken(),ds(this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}}class jL extends Tn{constructor(t,n,r){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=r}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(a._enum)?(this.processEnum(),!0):this.tokens.matches2(a._export,a._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(a._export,a._default,a._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(a.name);let t=!1;this.tokens.matchesContextual(T._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(T._symbol),this.tokens.removeToken());const n=this.tokens.matches3(a.braceL,a.name,a.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');const r=!t&&!n;for(this.tokens.replaceTokenTrimmingLeftWhitespace(r?".Mirrored([":"({");!this.tokens.matches1(a.braceR);){if(this.tokens.matches1(a.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,n),this.tokens.matches1(a.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(r?"]);":"});")}processEnumElement(t,n){if(t){const r=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${r}")`)}else n?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}function BL(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}const oc="jest",VL=["mock","unmock","enableAutomock","disableAutomock"];class ud extends Tn{__init(){this.hoistedFunctionNames=[]}constructor(t,n,r,s){super(),this.rootTransformer=t,this.tokens=n,this.nameManager=r,this.importProcessor=s,ud.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(a.name,a.dot,a.name,a.parenL)&&this.tokens.identifierName()===oc?BL([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(oc)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(a.dot,a.name,a.parenL);){const n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(VL.includes(n)){const s=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(s),this.tokens.replaceToken(`function ${s}(){${oc}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${oc}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.parenR),t=!0}return!0}}class zL extends Tn{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(a.num)){const t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}}class UL extends Tn{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){return this.tokens.matches2(a._catch,a.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}}class GL extends Tn{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){if(this.tokens.matches1(a.nullishCoalescing)){const r=this.tokens.currentToken();return this.tokens.tokens[r.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(a._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;const n=this.tokens.currentToken().subscriptStartIndex;if(n!=null&&this.tokens.tokens[n].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==a._super){const r=this.nameManager.claimFreeName("_");let s;if(n>0&&this.tokens.matches1AtIndex(n-1,a._delete)&&this.isLastSubscriptInChain()?s=`${r} => delete ${r}`:s=`${r} => ${r}`,this.tokens.tokens[n].isAsyncOperation&&(s=`async ${s}`),this.tokens.matches2(a.questionDot,a.parenL)||this.tokens.matches2(a.questionDot,a.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${s}`);else if(this.tokens.matches2(a.questionDot,a.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${s}`);else if(this.tokens.matches1(a.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${s}.`);else if(this.tokens.matches1(a.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${s}.`);else if(this.tokens.matches1(a.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${s}[`);else if(this.tokens.matches1(a.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${s}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let n=this.tokens.currentIndex()+1;;n++){if(n>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t++:this.tokens.tokens[n].isOptionalChainEnd&&t--,t<0)return!0;
177if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,n=this.tokens.currentIndex()-1;for(;;){if(n<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t--:this.tokens.tokens[n].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return this.tokens.tokens[n-1].type===a._super;n--}}}class WL extends Tn{constructor(t,n,r,s){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.options=s}process(){const t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){const n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return n?this.tokens.replaceToken(`(0, ${n})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(a.name,a.dot,a.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){const n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return this.tokens.replaceToken(n),this.tokens.copyToken(),this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){const n=this.findDisplayName(t);n&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(a.parenL),this.tokens.copyExpectedToken(a.braceL),this.tokens.appendCode(`displayName: '${n}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(a.braceR),this.tokens.copyExpectedToken(a.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,a.name,a.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===Ie.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,a._export,a._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const n=(this.options.filePath||"unknown").split("/"),r=n[n.length-1],s=r.lastIndexOf("."),i=s===-1?r:r.slice(0,s);return i==="index"&&n[n.length-2]?n[n.length-2]:i}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(a.parenL,a.braceL))return!1;const n=t+1,r=this.tokens.tokens[n].contextId;if(r==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){const s=this.tokens.tokens[t];if(s.type===a.braceR&&s.contextId===r){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===Ie.ObjectKey&&s.contextId===r)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,a.parenR)||this.tokens.matches2AtIndex(t,a.comma,a.parenR)}}class ld extends Tn{__init(){this.extractedDefaultExportName=null}constructor(t,n){super(),this.tokens=t,this.filePath=n,ld.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
178      (function () {
179        var enterModule = require('react-hot-loader').enterModule;
180        enterModule && enterModule(module);
181      })();`.replace(/\s+/g," ").trim()}getSuffixCode(){const t=new Set;for(const r of this.tokens.tokens)!r.isType&&VI(r)&&r.identifierRole!==Ie.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(r));const n=Array.from(t).map(r=>({variableName:r,uniqueLocalName:r}));return this.extractedDefaultExportName&&n.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
182;(function () {
183  var reactHotLoader = require('react-hot-loader').default;
184  var leaveModule = require('react-hot-loader').leaveModule;
185  if (!reactHotLoader) {
186    return;
187  }
188${n.map(({variableName:r,uniqueLocalName:s})=>`  reactHotLoader.register(${r}, "${s}", ${JSON.stringify(this.filePath||"")});`).join(`
189`)}
190  leaveModule(module);
191})();`}process(){return!1}}const HL=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function y0(e){if(e.length===0||!Vi[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!An[e.charCodeAt(t)])return!1;return!HL.has(e)}class KL extends Tn{constructor(t,n,r){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=r}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(a._public)||this.tokens.matches1(a._protected)||this.tokens.matches1(a._private)||this.tokens.matches1(a._abstract)||this.tokens.matches1(a._readonly)||this.tokens.matches1(a._override)||this.tokens.matches1(a.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(a._enum)||this.tokens.matches2(a._const,a._enum)?(this.processEnum(),!0):this.tokens.matches2(a._export,a._enum)||this.tokens.matches3(a._export,a._const,a._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(a._const)||this.tokens.matches1(a._enum);)this.tokens.removeToken();const n=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${n}; (function (${n})`),this.tokens.copyExpectedToken(a.braceL),this.processEnumBody(n),this.tokens.copyExpectedToken(a.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${n} || (exports.${n} = ${n} = {}));`):this.tokens.appendCode(`)(${n} || (${n} = {}));`)}processEnumBody(t){let n=null;for(;!this.tokens.matches1(a.braceR);){const{nameStringCode:r,variableName:s}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(a.eq,a.string,a.comma)||this.tokens.matches3(a.eq,a.string,a.braceR)?this.processStringLiteralEnumMember(t,r,s):this.tokens.matches1(a.eq)?this.processExplicitValueEnumMember(t,r,s):this.processImplicitValueEnumMember(t,r,s,n),this.tokens.matches1(a.comma)&&this.tokens.removeToken(),s!=null?n=s:n=`${t}[${r}]`}}extractEnumKeyInfo(t){if(t.type===a.name){const n=this.tokens.identifierNameForToken(t);
191return{nameStringCode:`"${n}"`,variableName:y0(n)?n:null}}else if(t.type===a.string){const n=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:y0(n)?n:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,n,r){r!=null?(this.tokens.appendCode(`const ${r}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${n}] = ${r};`)):(this.tokens.appendCode(`${t}[${n}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,n,r){const s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected rhsEndIndex on enum assign.");if(r!=null){for(this.tokens.appendCode(`const ${r}`),this.tokens.copyToken();this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${n}] = ${r}] = ${n};`)}else{for(this.tokens.appendCode(`${t}[${t}[${n}]`),this.tokens.copyToken();this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${n};`)}}processImplicitValueEnumMember(t,n,r,s){let i=s!=null?`${s} + 1`:"0";r!=null&&(this.tokens.appendCode(`const ${r} = ${i}; `),i=r),this.tokens.appendCode(`${t}[${t}[${n}] = ${i}] = ${n};`)}}class cc{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,n,r,s){cc.prototype.__init.call(this),cc.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;const{tokenProcessor:i,importProcessor:o}=t;this.tokens=i,this.isImportsTransformEnabled=n.includes("imports"),this.isReactHotLoaderTransformEnabled=n.includes("react-hot-loader"),this.disableESTransforms=!!s.disableESTransforms,s.disableESTransforms||(this.transformers.push(new GL(i,this.nameManager)),this.transformers.push(new zL(i)),this.transformers.push(new UL(i,this.nameManager))),n.includes("jsx")&&(s.jsxRuntime!=="preserve"&&this.transformers.push(new os(this,i,o,this.nameManager,s)),this.transformers.push(new WL(this,i,o,s)));let c=null;if(n.includes("react-hot-loader")){if(!s.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");c=new ld(i,s.filePath),this.transformers.push(c)}if(n.includes("imports")){if(o===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new ua(this,i,o,this.nameManager,this.helperManager,c,r,!!s.enableLegacyTypeScriptModuleInterop,n.includes("typescript"),n.includes("flow"),!!s.preserveDynamicImport,!!s.keepUnusedImports))}else this.transformers.push(new qL(i,this.nameManager,this.helperManager,c,n.includes("typescript"),n.includes("flow"),!!s.keepUnusedImports,s));n.includes("flow")&&this.transformers.push(new jL(this,i,n.includes("imports"))),n.includes("typescript")&&this.transformers.push(new KL(this,i,n.includes("imports"))),n.includes("jest")&&this.transformers.push(new ud(this,i,this.nameManager,o))}transform(){this.tokens.reset(),this.processBalancedCode();let n=this.isImportsTransformEnabled?'"use strict";':"";for(const o of this.transformers)n+=o.getPrefixCode();n+=this.helperManager.emitHelpers(),n+=this.generatedVariables.map(o=>` var ${o};`).join("");for(const o of this.transformers)n+=o.getHoistedCode();let r="";for(const o of this.transformers)r+=o.getSuffixCode();const s=this.tokens.finish();let{code:i}=s;if(i.startsWith("#!")){let o=i.indexOf(`
192`);return o===-1&&(o=i.length,i+=`
193`),{code:i.slice(0,o+1)+n+i.slice(o+1)+r,mappings:this.shiftMappings(s.mappings,n.length)}}else return{code:n+i+r,mappings:this.shiftMappings(s.mappings,n.length)}}processBalancedCode(){let t=0,n=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(a.braceL)||this.tokens.matches1(a.dollarBraceL))t++;else if(this.tokens.matches1(a.braceR)){if(t===0)return;t--}if(this.tokens.matches1(a.parenL))n++;else if(this.tokens.matches1(a.parenR)){if(n===0)return;n--}this.processToken()}}processToken(){if(this.tokens.matches1(a._class)){this.processClass();return}for(const t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(a._class,a.name))throw new Error("Expected identifier for exported class name.");const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){const t=LL(this,this.tokens,this.nameManager,this.disableESTransforms),n=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0;let r=t.headerInfo.className;n&&(r=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(r),this.tokens.appendCode(` (${r} =`));const i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(a._class);!this.tokens.matchesContextIdAndLabel(a.braceL,i);)this.processToken();this.processClassBody(t,r);const o=t.staticInitializerNames.map(c=>`${r}.${c}()`);n?this.tokens.appendCode(`, ${o.map(c=>`${c}, `).join("")}${r})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${o.map(c=>`${c};`).join(" ")}`)}processClassBody(t,n){const{headerInfo:r,constructorInsertPos:s,constructorInitializerStatements:i,fields:o,instanceInitializerNames:c,rangesToRemove:u}=t;let l=0,h=0;const p=this.tokens.currentToken().contextId;if(p==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(a.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const d=i.length+c.length>0;
193if(s===null&&d){const _=this.makeConstructorInitCode(i,c,n);if(r.hasSuperclass){const k=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${k}) { super(...${k}); ${_}; }`)}else this.tokens.appendCode(`constructor() { ${_}; }`)}for(;!this.tokens.matchesContextIdAndLabel(a.braceR,p);)if(l<o.length&&this.tokens.currentIndex()===o[l].start){let _=!1;for(this.tokens.matches1(a.bracketL)?this.tokens.copyTokenWithPrefix(`${o[l].initializerName}() {this`):this.tokens.matches1(a.string)||this.tokens.matches1(a.num)?(this.tokens.copyTokenWithPrefix(`${o[l].initializerName}() {this[`),_=!0):this.tokens.copyTokenWithPrefix(`${o[l].initializerName}() {this.`);this.tokens.currentIndex()<o[l].end;)_&&this.tokens.currentIndex()===o[l].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),l++}else if(h<u.length&&this.tokens.currentIndex()>=u[h].start){for(this.tokens.currentIndex()<u[h].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<u[h].end;)this.tokens.removeToken();h++}else this.tokens.currentIndex()===s?(this.tokens.copyToken(),d&&this.tokens.appendCode(`;${this.makeConstructorInitCode(i,c,n)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(a.braceR)}makeConstructorInitCode(t,n,r){return[...t,...n.map(s=>`${r}.prototype.${s}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(a.parenR,a.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,a.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(T._async)&&!this.tokens.matches1(a._async))return!1;const t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==a.lessThan||!t.isType)return!1;let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,a.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,n){for(let r=0;r<t.length;r++){const s=t[r];s!==void 0&&(t[r]=s+n)}return t}}function XL(e){const t=new Set;for(let n=0;n<e.tokens.length;n++)e.matches1AtIndex(n,a._import)&&!e.matches3AtIndex(n,a._import,a.name,a.eq)&&QL(e,n,t);return t}function QL(e,t,n){t++,!e.matches1AtIndex(t,a.parenL)&&(e.matches1AtIndex(t,a.name)&&(n.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,a.comma)&&t++),e.matches1AtIndex(t,a.star)&&(t+=2,n.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,a.braceL)&&(t++,JL(e,t,n)))}function JL(e,t,n){for(;;){if(e.matches1AtIndex(t,a.braceR))return;const r=Ui(e,t);if(t=r.endIndex,r.isType||n.add(r.rightName),e.matches2AtIndex(t,a.comma,a.braceR))return;if(e.matches1AtIndex(t,a.braceR))return;if(e.matches1AtIndex(t,a.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}function YL(e,t){m2(t);try{const n=ZL(e,t),s=new cc(n,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform();let i={code:s.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");i={...i,sourceMap:r2(s,t.filePath,t.sourceMapOptions,e,n.tokenProcessor.tokens)}}return i}
193catch(n){throw t.filePath&&(n.message=`Error transforming ${t.filePath}: ${n.message}`),n}}function ZL(e,t){const n=t.transforms.includes("jsx"),r=t.transforms.includes("typescript"),s=t.transforms.includes("flow"),i=t.disableESTransforms===!0,o=$L(e,n,r,s),c=o.tokens,u=o.scopes,l=new Ip(e,c),h=new zo(l),p=new ca(e,c,s,i,h),d=!!t.enableLegacyTypeScriptModuleInterop;let _=null;return t.transforms.includes("imports")?(_=new cs(l,p,d,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,h),_.preprocessTokens(),hw(p,u,_.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&_.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&hw(p,u,XL(p)),{tokenProcessor:p,scopes:u,nameManager:l,importProcessor:_,helperManager:h}}/**
194 * @license
195 * Copyright 2019 Google LLC
196 * SPDX-License-Identifier: Apache-2.0
197 */const _0=Symbol("Comlink.proxy"),eM=Symbol("Comlink.endpoint"),tM=Symbol("Comlink.releaseProxy"),hd=Symbol("Comlink.finalizer"),uc=Symbol("Comlink.thrown"),x0=e=>typeof e=="object"&&e!==null||typeof e=="function",nM={canHandle:e=>x0(e)&&e[_0],serialize(e){const{port1:t,port2:n}=new MessageChannel;return fd(e,t),[n,[n]]},deserialize(e){return e.start(),aM(e)}},rM={canHandle:e=>x0(e)&&uc in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},b0=new Map([["proxy",nM],["throw",rM]]);function sM(e,t){for(const n of e)if(t===n||n==="*"||n instanceof RegExp&&n.test(t))return!0;return!1}function fd(e,t=globalThis,n=["*"]){t.addEventListener("message",function r(s){if(!s||!s.data)return;if(!sM(n,s.origin)){console.warn(`Invalid origin '${s.origin}' for comlink proxy`);return}const{id:i,type:o,path:c}=Object.assign({path:[]},s.data),u=(s.data.argumentList||[]).map(ms);let l;try{const h=c.slice(0,-1).reduce((d,_)=>d[_],e),p=c.reduce((d,_)=>d[_],e);switch(o){case"GET":l=p;break;case"SET":h[c.slice(-1)[0]]=ms(s.data.value),l=!0;break;case"APPLY":l=p.apply(h,u);break;case"CONSTRUCT":{const d=new p(...u);l=hM(d)}break;case"ENDPOINT":{const{port1:d,port2:_}=new MessageChannel;fd(e,_),l=lM(d,[d])}break;case"RELEASE":l=void 0;break;default:return}}catch(h){l={value:h,[uc]:0}}Promise.resolve(l).catch(h=>({value:h,[uc]:0})).then(h=>{const[p,d]=pc(h);t.postMessage(Object.assign(Object.assign({},p),{id:i}),d),o==="RELEASE"&&(t.removeEventListener("message",r),E0(t),hd in e&&typeof e[hd]=="function"&&e[hd]())}).catch(h=>{const[p,d]=pc({value:new TypeError("Unserializable return value"),[uc]:0});t.postMessage(Object.assign(Object.assign({},p),{id:i}),d)})}),t.start&&t.start()}function iM(e){return e.constructor.name==="MessagePort"}function E0(e){iM(e)&&e.close()}function aM(e,t){return pd(e,[],t)}function lc(e){if(e)throw new Error("Proxy has been released and is not useable")}function k0(e){return Ks(e,{type:"RELEASE"}).then(()=>{E0(e)})}const hc=new WeakMap,fc="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{const t=(hc.get(e)||0)-1;hc.set(e,t),t===0&&k0(e)});function oM(e,t){const n=(hc.get(t)||0)+1;hc.set(t,n),fc&&fc.register(e,t,e)}function cM(e){fc&&fc.unregister(e)}function pd(e,t=[],n=function(){}){let r=!1;const s=new Proxy(n,{get(i,o){if(lc(r),o===tM)return()=>{cM(s),k0(e),r=!0};if(o==="then"){if(t.length===0)return{then:()=>s};const c=Ks(e,{type:"GET",path:t.map(u=>u.toString())}).then(ms);return c.then.bind(c)}return pd(e,[...t,o])},set(i,o,c){lc(r);const[u,l]=pc(c);return Ks(e,{type:"SET",path:[...t,o].map(h=>h.toString()),value:u},l).then(ms)},apply(i,o,c){lc(r);const u=t[t.length-1];if(u===eM)return Ks(e,{type:"ENDPOINT"}).then(ms);if(u==="bind")return pd(e,t.slice(0,-1));const[l,h]=S0(c);return Ks(e,{type:"APPLY",path:t.map(p=>p.toString()),argumentList:l},h).then(ms)},construct(i,o){lc(r);const[c,u]=S0(o);return Ks(e,{type:"CONSTRUCT",path:t.map(l=>l.toString()),argumentList:c},u).then(ms)}});return oM(s,e),s}function uM(e){return Array.prototype.concat.apply([],e)}function S0(e){const t=e.map(pc);return[t.map(n=>n[0]),uM(t.map(n=>n[1]))]}const I0=new WeakMap;function lM(e,t){return I0.set(e,t),e}function hM(e){return Object.assign(e,{[_0]:!0})}function pc(e){for(const[t,n]of b0)if(n.canHandle(e)){const[r,s]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},s]}return[{type:"RAW",value:e},I0.get(e)||[]]}function ms(e){switch(e.type){case"HANDLER":return b0.get(e.name).deserialize(e.value);case"RAW":return e.value}}function Ks(e,t,n){return new Promise(r=>{const s=fM();e.addEventListener("message",function i(o){!o.data||!o.data.id||o.data.id!==s||(e.removeEventListener("message",i),r(o.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:s},t),n)})}function fM(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function pM(e){let t=!0;return e.stack.split(`
198`).slice(1).filter(n=>t&&!/node_modules/.test(n)||(t=!1)).map(n=>n.replace(/\(.*:(\d+):(\d+)\)/,"($1:$2)")).map(n=>{const r=n.match(/at\s+(.*)\s\((\d+):(\d+)\)/);return{functionName:r!=null?r[1]:"unknown",line:r!=null?parseInt(r[2],10):0,column:r!=null?parseInt(r[3],10):0}})}const dM="(function(module,exports){",mM=`import * as $preact from 'preact';
199import * as $hooks from 'preact/hooks';
200Object.assign(self, {$preact:$preact,$hooks:$hooks},$preact);
201self._require = m => self['$'+m];
202`;function gM(){return!0}function vM(e){let t=`data:text/javascript;base64,${btoa(unescape(encodeURIComponent(e)))}`;try{return YL(e,{filePath:t,sourceMapOptions:{compiledFilename:"repl.js"},transforms:["jsx","typescript"],production:!0,jsxPragma:"h",jsxFragmentPragma:"Fragment"})}catch(n){if(n.name!=="SyntaxError"&&/unexpected\stoken/i.test(n.message)){let r=n;n=new SyntaxError(r.message),n.stack=r.stack,n.loc=r.loc}if(n.name==="SyntaxError"){n.message=n.message.replace(t,"repl.js");const r=n.message.match(/([A-Za-z0-9_-]*\.js)/),s=n.message.match(/(\d+):(\d+)\)/)||[0,0,0];n.message=n.message.replace(/Error\stransforming\s.*\.js:/,"").replace(/\(.*\)$/,"");const i=pM(n);let o=s[1],c=s[2];o>0&&(o=/\sexpected/.test(n.message)?o-2:o),i.splice(1,0,`    at ${r[1]} (:${o}:${c})
203`),n.stack=i.join(`
204`),n.loc||(n.loc={line:o,column:c}
204)}throw n}}async function yM(e){const t=Object.prototype.hasOwnProperty.bind(e),n=await hO({input:Object.keys(e),treeshake:"recommended",plugins:[{name:"repl",resolveId(s,i){if(t(s))return s;if(s[0]==="/"){if(!i.match(/^https?:/))throw new Error(`Cannot resolve ${s} from ${i}`);try{return new URL(s,i).href}catch{}}if(s.includes("://esm.sh/")){const c=new URL(s);return c.searchParams.set("external","*"),c.href}if(!i||/(^\.\/|:\/\/)/.test(s))return s;const o=new URL(s,"https://esm.sh/");return o.searchParams.set("external","*"),o.href},async load(s){if(t(s)){const i=e[s];return vM(i)}return _M(s)}}]}),r=await n.generate({format:"cjs"});return await n.close(),r.output[0]}const dc=new Map;function _M(e){if(e=new URL(e).href,dc.has(e))return dc.get(e);const t=fetch(e).then(n=>(dc.set(n.url,t),n.text()));return dc.set(e,t),t}async function xM(e,t){e=`${mM}${t||""}${e}`;const n=await yM({"repl.js":e});let r=`${dM}
205${n&&n.code||""}
206})`;if(r&&n.map)try{r+=`
207//# sourceMappingURL=`+n.map.toUrl()}catch(s){console.error(`Source Map generation failed: ${s}`)}return r}fd({ping:gM,process:xM})})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.