diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/1374.ead63561.async.js b/1374.ead63561.async.js new file mode 100644 index 000000000..8d5687765 --- /dev/null +++ b/1374.ead63561.async.js @@ -0,0 +1,137 @@ +!(function(){var yl=Object.defineProperty,xl=Object.defineProperties;var wl=Object.getOwnPropertyDescriptors;var Bn=Object.getOwnPropertySymbols;var z1=Object.prototype.hasOwnProperty,Y1=Object.prototype.propertyIsEnumerable;var X1=(Fe,w,ee)=>w in Fe?yl(Fe,w,{enumerable:!0,configurable:!0,writable:!0,value:ee}):Fe[w]=ee,J1=(Fe,w)=>{for(var ee in w||(w={}))z1.call(w,ee)&&X1(Fe,ee,w[ee]);if(Bn)for(var ee of Bn(w))Y1.call(w,ee)&&X1(Fe,ee,w[ee]);return Fe},Q1=(Fe,w)=>xl(Fe,wl(w));var Fs=(Fe,w)=>{var ee={};for(var l in Fe)z1.call(Fe,l)&&w.indexOf(l)<0&&(ee[l]=Fe[l]);if(Fe!=null&&Bn)for(var l of Bn(Fe))w.indexOf(l)<0&&Y1.call(Fe,l)&&(ee[l]=Fe[l]);return ee};(self.webpackChunkroot=self.webpackChunkroot||[]).push([[1374],{40653:function(Fe,w,ee){(function(l,e){e(w,ee(78750),ee(12697),ee(2634))})(this,function(l,e,ve,V){"use strict";class X{constructor({file:M,sourceRoot:W}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=M,this.sourceRoot=W,this._ignoreList=new e.SetArray}}function s(j){return j}function x(j,M,W,O,fe,le,oe,C){return Ee(!1,j,M,W,O,fe,le,oe,C)}function he(j,M){return de(!1,j,M)}const q=(j,M,W,O,fe,le,oe,C)=>Ee(!0,j,M,W,O,fe,le,oe,C),se=(j,M)=>de(!0,j,M);function ce(j,M,W){const{_sources:O,_sourcesContent:fe}=j,le=e.put(O,M);fe[le]=W}function ge(j,M,W=!0){const{_sources:O,_sourcesContent:fe,_ignoreList:le}=j,oe=e.put(O,M);oe===fe.length&&(fe[oe]=null),W?e.put(le,oe):e.remove(le,oe)}function Ce(j){const{_mappings:M,_sources:W,_sourcesContent:O,_names:fe,_ignoreList:le}=j;return J(M),{version:3,file:j.file||void 0,names:fe.array,sourceRoot:j.sourceRoot||void 0,sources:W.array,sourcesContent:O,mappings:M,ignoreList:le.array}}function L(j){const M=Ce(j);return Object.assign(Object.assign({},M),{mappings:ve.encode(M.mappings)})}function Ne(j){const M=new V.TraceMap(j),W=new X({file:M.file,sourceRoot:M.sourceRoot});return N(W._names,M.names),N(W._sources,M.sources),W._sourcesContent=M.sourcesContent||M.sources.map(()=>null),W._mappings=V.decodedMappings(M),M.ignoreList&&N(W._ignoreList,M.ignoreList),W}function Te(j){const M=[],{_mappings:W,_sources:O,_names:fe}=j;for(let le=0;le=0;W=O--){const fe=j[O];if(M>=fe[0])break}return W}function tt(j,M,W){for(let O=j.length;O>M;O--)j[O]=j[O-1];j[M]=W}function J(j){const{length:M}=j;let W=M;for(let O=W-1;O>=0&&!(j[O].length>0);W=O,O--);Wge&&(ge=Ne)}x(ce,ge);const Ce=ce.query+ce.hash;switch(ge){case 2:case 3:return Ce;case 4:{const L=ce.path.slice(1);return L?U(se||q)&&!U(L)?"./"+L+Ce:L+Ce:Ce||"."}case 5:return ce.path+Ce;default:return ce.scheme+"//"+ce.user+ce.host+ce.port+ce.path+Ce}}return he})},78750:function(Fe,w){(function(ee,l){l(w)})(this,function(ee){"use strict";class l{constructor(){this._indexes={__proto__:null},this.array=[]}}function e(f){return f}function ve(f,d){return f._indexes[d]}function V(f,d){const E=ve(f,d);if(E!==void 0)return E;const{array:v,_indexes:X}=f,s=v.push(d);return X[d]=s-1}function te(f){const{array:d,_indexes:E}=f;if(d.length===0)return;const v=d.pop();E[v]=void 0}function U(f,d){const E=ve(f,d);if(E===void 0)return;const{array:v,_indexes:X}=f;for(let s=E+1;s>>=1,j&&(p=-2147483648|-p),N+p}function E(J,N,p){let A=N-p;A=A<0?-A<<1|1:A<<1;do{let de=A&31;A>>>=5,A>0&&(de|=32),J.write(U[de])}while(A>0);return N}function v(J,N){return J.pos>=N?!1:J.peek()!==44}const X=1024*16,s=typeof TextDecoder!="undefined"?new TextDecoder:typeof l!="undefined"?{decode(J){return l.from(J.buffer,J.byteOffset,J.byteLength).toString()}}:{decode(J){let N="";for(let p=0;p0?p+s.decode(N.subarray(0,A)):p}}class he{constructor(N){this.pos=0,this.buffer=N}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(N){const{buffer:p,pos:A}=this,de=p.indexOf(N,A);return de===-1?p.length:de}}const q=[];function se(J){const{length:N}=J,p=new he(J),A=[],de=[];let j=0;for(;p.pos0&&p.write(44),A[0]=E(p,j,A[0]),E(p,M,0),E(p,fe,0);const oe=de.length===6?1:0;E(p,oe,0),de.length===6&&E(p,de[5],0);for(const C of le)E(p,C,0);for(N++;NW||ie===W&&Pe>=O)break;N=ge(J,N,p,A)}return p.write(44),A[0]=E(p,W,A[0]),E(p,O,0),N}function Ce(J){const{length:N}=J,p=new he(J),A=[],de=[];let j=0,M=0,W=0,O=0,fe=0,le=0,oe=0,C=0;do{const ie=p.indexOf(";");let Pe=0;for(;p.pospe;H--){const re=oe;oe=d(p,oe),C=d(p,oe===re?C:0);const c=d(p,0);Ae.push([c,oe,C])}}else Ae=[[pe]];ae.push(Ae)}while(v(p,ie))}_.bindings=ae,A.push(_),de.push(_)}j++,p.pos=ie+1}while(p.pos0&&p.write(44),A[1]=E(p,de[1],A[1]);const C=(de.length===6?1:0)|(le?2:0)|(fe?4:0);if(E(p,C,0),de.length===6){const{4:ie,5:Pe}=de;ie!==A[2]&&(A[3]=0),A[2]=E(p,ie,A[2]),A[3]=E(p,Pe,A[3])}if(le){const{0:ie,1:Pe,2:I}=de.callsite;ie!==A[4]?(A[5]=0,A[6]=0):Pe!==A[5]&&(A[6]=0),A[4]=E(p,ie,A[4]),A[5]=E(p,Pe,A[5]),A[6]=E(p,I,A[6])}if(oe)for(const ie of oe){ie.length>1&&E(p,-ie.length,0);const Pe=ie[0][0];E(p,Pe,0);let I=j,S=M;for(let P=1;PW||Pe===W&&I>=O)break;N=Ne(J,N,p,A)}return A[0]0&&N.write(59),W.length===0)continue;let O=0;for(let fe=0;fe0&&N.write(44),O=E(N,le[0],O),le.length!==1&&(p=E(N,le[1],p),A=E(N,le[2],A),de=E(N,le[3],de),le.length!==4&&(j=E(N,le[4],j)))}}return N.flush()}e.decode=Ee,e.decodeGeneratedRanges=Ce,e.decodeOriginalScopes=se,e.encode=tt,e.encodeGeneratedRanges=L,e.encodeOriginalScopes=ce,Object.defineProperty(e,"__esModule",{value:!0})})},2634:function(Fe,w,ee){(function(l,e){e(w,ee(12697),ee(54498))})(this,function(l,e,ve){"use strict";function V(m,g){return g&&!g.endsWith("/")&&(g+="/"),ve(m,g)}function te(m){if(!m)return"";const g=m.lastIndexOf("/");return m.slice(0,g+1)}const U=0,f=1,d=2,E=3,v=4,X=1,s=2;function x(m,g){const b=he(m,0);if(b===m.length)return m;g||(m=m.slice());for(let R=b;R>1),Q=m[K][U]-g;if(Q===0)return ge=!0,K;Q<0?b=K+1:R=K-1}return ge=!1,b-1}function L(m,g,b){for(let R=b+1;R=0&&m[R][U]===g;b=R--);return b}function Te(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Ee(m,g,b,R){const{lastKey:K,lastNeedle:Q,lastIndex:me}=b;let Re=0,Se=m.length-1;if(R===K){if(g===Q)return ge=me!==-1&&m[me][U]===g,me;g>=Q?Re=me===-1?0:me:Se=me}return b.lastKey=R,b.lastNeedle=g,b.lastIndex=Ce(m,g,Re,Se)}function De(m,g){const b=g.map(tt);for(let R=0;Rg;R--)m[R]=m[R-1];m[g]=b}function tt(){return{__proto__:null}}const J=function(m,g){const b=N(m);if(!("sections"in b))return new le(b,g);const R=[],K=[],Q=[],me=[],Re=[];p(b,g,R,K,Q,me,Re,0,0,1/0,1/0);const Se={version:3,file:b.file,names:me,sources:K,sourcesContent:Q,mappings:R,ignoreList:Re};return pe(Se)};function N(m){return typeof m=="string"?JSON.parse(m):m}function p(m,g,b,R,K,Q,me,Re,Se,z,Qe){const{sections:$e}=m;for(let qe=0;qe<$e.length;qe++){const{map:ze,offset:at}=$e[qe];let gt=z,bt=Qe;if(qe+1<$e.length){const _t=$e[qe+1].offset;gt=Math.min(z,Re+_t.line),gt===z?bt=Math.min(Qe,Se+_t.column):gtz)return;const Yt=j(b,zt),Le=nt===0?Se:0,fn=gt[nt];for(let Nt=0;Nt=Qe)return;if(yt.length===1){Yt.push([Rt]);continue}const pn=ze+yt[f],mn=yt[d],dn=yt[E];Yt.push(yt.length===4?[Rt,pn,mn,dn]:[Rt,pn,mn,dn,at+yt[v]])}}}function de(m,g){for(let b=0;bV(ze||"",$e));const{mappings:qe}=K;typeof qe=="string"?(this._encoded=qe,this._decoded=void 0):(this._encoded=void 0,this._decoded=x(qe,R)),this._decodedMemo=Te(),this._bySources=void 0,this._bySourceMemos=void 0}}function oe(m){return m}function C(m){var g,b;return(g=(b=m)._encoded)!==null&&g!==void 0?g:b._encoded=e.encode(m._decoded)}function ie(m){var g;return(g=m)._decoded||(g._decoded=e.decode(m._encoded))}function Pe(m,g,b){const R=ie(m);if(g>=R.length)return null;const K=R[g],Q=r(K,m._decodedMemo,g,b,fe);return Q===-1?null:K[Q]}function I(m,g){let{line:b,column:R,bias:K}=g;if(b--,b<0)throw new Error(M);if(R<0)throw new Error(W);const Q=ie(m);if(b>=Q.length)return c(null,null,null,null);const me=Q[b],Re=r(me,m._decodedMemo,b,R,K||fe);if(Re===-1)return c(null,null,null,null);const Se=me[Re];if(Se.length===1)return c(null,null,null,null);const{names:z,resolvedSources:Qe}=m;return c(Qe[Se[f]],Se[d]+1,Se[E],Se.length===5?z[Se[v]]:null)}function S(m,g){const{source:b,line:R,column:K,bias:Q}=g;return y(m,b,R,K,Q||fe,!1)}function P(m,g){const{source:b,line:R,column:K,bias:Q}=g;return y(m,b,R,K,Q||O,!0)}function F(m,g){const b=ie(m),{names:R,resolvedSources:K}=m;for(let Q=0;Q";case e.template:return"template";case e.ellipsis:return"...";case e.backQuote:return"`";case e.dollarBraceL:return"${";case e.at:return"@";case e.hash:return"#";case e.eq:return"=";case e.assign:return"_=";case e.preIncDec:return"++/--";case e.postIncDec:return"++/--";case e.bang:return"!";case e.tilde:return"~";case e.pipeline:return"|>";case e.nullishCoalescing:return"??";case e.logicalOR:return"||";case e.logicalAND:return"&&";case e.bitwiseOR:return"|";case e.bitwiseXOR:return"^";case e.bitwiseAND:return"&";case e.equality:return"==/!=";case e.lessThan:return"<";case e.greaterThan:return">";case e.relationalOrEqual:return"<=/>=";case e.bitShiftL:return"<<";case e.bitShiftR:return">>/>>>";case e.plus:return"+";case e.minus:return"-";case e.modulo:return"%";case e.star:return"*";case e.slash:return"/";case e.exponent:return"**";case e.jsxName:return"jsxName";case e.jsxText:return"jsxText";case e.jsxEmptyText:return"jsxEmptyText";case e.jsxTagStart:return"jsxTagStart";case e.jsxTagEnd:return"jsxTagEnd";case e.typeParameterStart:return"typeParameterStart";case e.nonNullAssertion:return"nonNullAssertion";case e._break:return"break";case e._case:return"case";case e._catch:return"catch";case e._continue:return"continue";case e._debugger:return"debugger";case e._default:return"default";case e._do:return"do";case e._else:return"else";case e._finally:return"finally";case e._for:return"for";case e._function:return"function";case e._if:return"if";case e._return:return"return";case e._switch:return"switch";case e._throw:return"throw";case e._try:return"try";case e._var:return"var";case e._let:return"let";case e._const:return"const";case e._while:return"while";case e._with:return"with";case e._new:return"new";case e._this:return"this";case e._super:return"super";case e._class:return"class";case e._extends:return"extends";case e._export:return"export";case e._import:return"import";case e._yield:return"yield";case e._null:return"null";case e._true:return"true";case e._false:return"false";case e._in:return"in";case e._instanceof:return"instanceof";case e._typeof:return"typeof";case e._void:return"void";case e._delete:return"delete";case e._async:return"async";case e._get:return"get";case e._set:return"set";case e._declare:return"declare";case e._readonly:return"readonly";case e._abstract:return"abstract";case e._static:return"static";case e._public:return"public";case e._private:return"private";case e._protected:return"protected";case e._override:return"override";case e._as:return"as";case e._enum:return"enum";case e._type:return"type";case e._implements:return"implements";default:return""}}class V{constructor(n,o,a){this.startTokenIndex=n,this.endTokenIndex=o,this.isFunctionScope=a}}class te{constructor(n,o,a,u,k,T,B,Z,ue,Ie,_e,ne,we){this.potentialArrowAt=n,this.noAnonFunctionType=o,this.inDisallowConditionalTypesContext=a,this.tokensLength=u,this.scopesLength=k,this.pos=T,this.type=B,this.contextualKeyword=Z,this.start=ue,this.end=Ie,this.isType=_e,this.scopeDepth=ne,this.error=we}}class U{constructor(){U.prototype.__init.call(this),U.prototype.__init2.call(this),U.prototype.__init3.call(this),U.prototype.__init4.call(this),U.prototype.__init5.call(this),U.prototype.__init6.call(this),U.prototype.__init7.call(this),U.prototype.__init8.call(this),U.prototype.__init9.call(this),U.prototype.__init10.call(this),U.prototype.__init11.call(this),U.prototype.__init12.call(this),U.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=e.eof}__init8(){this.contextualKeyword=l.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new te(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(n){this.potentialArrowAt=n.potentialArrowAt,this.noAnonFunctionType=n.noAnonFunctionType,this.inDisallowConditionalTypesContext=n.inDisallowConditionalTypesContext,this.tokens.length=n.tokensLength,this.scopes.length=n.scopesLength,this.pos=n.pos,this.type=n.type,this.contextualKeyword=n.contextualKeyword,this.start=n.start,this.end=n.end,this.isType=n.isType,this.scopeDepth=n.scopeDepth,this.error=n.error}}var f;(function(t){t[t.backSpace=8]="backSpace";const o=10;t[t.lineFeed=o]="lineFeed";const a=9;t[t.tab=a]="tab";const u=13;t[t.carriageReturn=u]="carriageReturn";const k=14;t[t.shiftOut=k]="shiftOut";const T=32;t[t.space=T]="space";const B=33;t[t.exclamationMark=B]="exclamationMark";const Z=34;t[t.quotationMark=Z]="quotationMark";const ue=35;t[t.numberSign=ue]="numberSign";const Ie=36;t[t.dollarSign=Ie]="dollarSign";const _e=37;t[t.percentSign=_e]="percentSign";const ne=38;t[t.ampersand=ne]="ampersand";const we=39;t[t.apostrophe=we]="apostrophe";const Oe=40;t[t.leftParenthesis=Oe]="leftParenthesis";const Ze=41;t[t.rightParenthesis=Ze]="rightParenthesis";const He=42;t[t.asterisk=He]="asterisk";const Ke=43;t[t.plusSign=Ke]="plusSign";const Ye=44;t[t.comma=Ye]="comma";const lt=45;t[t.dash=lt]="dash";const Je=46;t[t.dot=Je]="dot";const vt=47;t[t.slash=vt]="slash";const wt=48;t[t.digit0=wt]="digit0";const Ct=49;t[t.digit1=Ct]="digit1";const mt=50;t[t.digit2=mt]="digit2";const dt=51;t[t.digit3=dt]="digit3";const kt=52;t[t.digit4=kt]="digit4";const It=53;t[t.digit5=It]="digit5";const Y=54;t[t.digit6=Y]="digit6";const D=55;t[t.digit7=D]="digit7";const $=56;t[t.digit8=$]="digit8";const ke=57;t[t.digit9=ke]="digit9";const be=58;t[t.colon=be]="colon";const ye=59;t[t.semicolon=ye]="semicolon";const Me=60;t[t.lessThan=Me]="lessThan";const Ve=61;t[t.equalsTo=Ve]="equalsTo";const We=62;t[t.greaterThan=We]="greaterThan";const st=63;t[t.questionMark=st]="questionMark";const et=64;t[t.atSign=et]="atSign";const ot=65;t[t.uppercaseA=ot]="uppercaseA";const Xt=66;t[t.uppercaseB=Xt]="uppercaseB";const hn=67;t[t.uppercaseC=hn]="uppercaseC";const Er=68;t[t.uppercaseD=Er]="uppercaseD";const Ar=69;t[t.uppercaseE=Ar]="uppercaseE";const Sr=70;t[t.uppercaseF=Sr]="uppercaseF";const vr=71;t[t.uppercaseG=vr]="uppercaseG";const Cr=72;t[t.uppercaseH=Cr]="uppercaseH";const Nr=73;t[t.uppercaseI=Nr]="uppercaseI";const Rr=74;t[t.uppercaseJ=Rr]="uppercaseJ";const Lr=75;t[t.uppercaseK=Lr]="uppercaseK";const Pr=76;t[t.uppercaseL=Pr]="uppercaseL";const Fr=77;t[t.uppercaseM=Fr]="uppercaseM";const Dr=78;t[t.uppercaseN=Dr]="uppercaseN";const Or=79;t[t.uppercaseO=Or]="uppercaseO";const Br=80;t[t.uppercaseP=Br]="uppercaseP";const Mr=81;t[t.uppercaseQ=Mr]="uppercaseQ";const jr=82;t[t.uppercaseR=jr]="uppercaseR";const qr=83;t[t.uppercaseS=qr]="uppercaseS";const Ur=84;t[t.uppercaseT=Ur]="uppercaseT";const $r=85;t[t.uppercaseU=$r]="uppercaseU";const Vr=86;t[t.uppercaseV=Vr]="uppercaseV";const Wr=87;t[t.uppercaseW=Wr]="uppercaseW";const Hr=88;t[t.uppercaseX=Hr]="uppercaseX";const Gr=89;t[t.uppercaseY=Gr]="uppercaseY";const Xr=90;t[t.uppercaseZ=Xr]="uppercaseZ";const zr=91;t[t.leftSquareBracket=zr]="leftSquareBracket";const Yr=92;t[t.backslash=Yr]="backslash";const Jr=93;t[t.rightSquareBracket=Jr]="rightSquareBracket";const Qr=94;t[t.caret=Qr]="caret";const Zr=95;t[t.underscore=Zr]="underscore";const Kr=96;t[t.graveAccent=Kr]="graveAccent";const es=97;t[t.lowercaseA=es]="lowercaseA";const ts=98;t[t.lowercaseB=ts]="lowercaseB";const ns=99;t[t.lowercaseC=ns]="lowercaseC";const rs=100;t[t.lowercaseD=rs]="lowercaseD";const ss=101;t[t.lowercaseE=ss]="lowercaseE";const os=102;t[t.lowercaseF=os]="lowercaseF";const is=103;t[t.lowercaseG=is]="lowercaseG";const as=104;t[t.lowercaseH=as]="lowercaseH";const cs=105;t[t.lowercaseI=cs]="lowercaseI";const ls=106;t[t.lowercaseJ=ls]="lowercaseJ";const us=107;t[t.lowercaseK=us]="lowercaseK";const hs=108;t[t.lowercaseL=hs]="lowercaseL";const fs=109;t[t.lowercaseM=fs]="lowercaseM";const ps=110;t[t.lowercaseN=ps]="lowercaseN";const ms=111;t[t.lowercaseO=ms]="lowercaseO";const ds=112;t[t.lowercaseP=ds]="lowercaseP";const ks=113;t[t.lowercaseQ=ks]="lowercaseQ";const gs=114;t[t.lowercaseR=gs]="lowercaseR";const _s=115;t[t.lowercaseS=_s]="lowercaseS";const ys=116;t[t.lowercaseT=ys]="lowercaseT";const xs=117;t[t.lowercaseU=xs]="lowercaseU";const ws=118;t[t.lowercaseV=ws]="lowercaseV";const Is=119;t[t.lowercaseW=Is]="lowercaseW";const bs=120;t[t.lowercaseX=bs]="lowercaseX";const Ts=121;t[t.lowercaseY=Ts]="lowercaseY";const Es=122;t[t.lowercaseZ=Es]="lowercaseZ";const As=123;t[t.leftCurlyBrace=As]="leftCurlyBrace";const Ss=124;t[t.verticalBar=Ss]="verticalBar";const vs=125;t[t.rightCurlyBrace=vs]="rightCurlyBrace";const Cs=126;t[t.tilde=Cs]="tilde";const Ns=160;t[t.nonBreakingSpace=Ns]="nonBreakingSpace";const Rs=5760;t[t.oghamSpaceMark=Rs]="oghamSpaceMark";const Ls=8232;t[t.lineSeparator=Ls]="lineSeparator";const Ps=8233;t[t.paragraphSeparator=Ps]="paragraphSeparator"})(f||(f={}));function d(t){return t>=f.digit0&&t<=f.digit9||t>=f.lowercaseA&&t<=f.lowercaseF||t>=f.uppercaseA&&t<=f.uppercaseF}let E,v,X,s,x,he;function q(){return he++}function se(t){if("pos"in t){const n=ge(t.pos);t.message+=` (${n.line}:${n.column})`,t.loc=n}return t}class ce{constructor(n,o){this.line=n,this.column=o}}function ge(t){let n=1,o=1;for(let a=0;af.lowercaseZ));){const u=le[t+(n-f.lowercaseA)+1];if(u===-1)break;t=u,o++}const a=le[t];if(a>-1&&!O[n]){s.pos=o,a&1?z(a>>>1):z(e.name,a>>>1);return}for(;o=x.length){const t=s.tokens;t.length>=2&&t[t.length-1].start>=x.length&&t[t.length-2].start>=x.length&&A("Unexpectedly reached the end of input."),z(e.eof);return}Q(x.charCodeAt(s.pos))}function Q(t){fe[t]||t===f.backslash||t===f.atSign&&x.charCodeAt(s.pos+1)===f.atSign?oe():Yt(t)}function me(){for(;x.charCodeAt(s.pos)!==f.asterisk||x.charCodeAt(s.pos+1)!==f.slash;)if(s.pos++,s.pos>x.length){A("Unterminated comment",s.pos-2);return}s.pos+=2}function Re(t){let n=x.charCodeAt(s.pos+=t);if(s.pos=f.digit0&&t<=f.digit9){Rt(!0);return}t===f.dot&&x.charCodeAt(s.pos+2)===f.dot?(s.pos+=3,z(e.ellipsis)):(++s.pos,z(e.dot))}function $e(){x.charCodeAt(s.pos+1)===f.equalsTo?Le(e.assign,2):Le(e.slash,1)}function qe(t){let n=t===f.asterisk?e.star:e.modulo,o=1,a=x.charCodeAt(s.pos+1);t===f.asterisk&&a===f.asterisk&&(o++,a=x.charCodeAt(s.pos+2),n=e.exponent),a===f.equalsTo&&x.charCodeAt(s.pos+2)!==f.greaterThan&&(o++,n=e.assign),Le(n,o)}function ze(t){const n=x.charCodeAt(s.pos+1);if(n===t){x.charCodeAt(s.pos+2)===f.equalsTo?Le(e.assign,3):Le(t===f.verticalBar?e.logicalOR:e.logicalAND,2);return}if(t===f.verticalBar){if(n===f.greaterThan){Le(e.pipeline,2);return}else if(n===f.rightCurlyBrace&&X){Le(e.braceBarR,2);return}}if(n===f.equalsTo){Le(e.assign,2);return}Le(t===f.verticalBar?e.bitwiseOR:e.bitwiseAND,1)}function at(){x.charCodeAt(s.pos+1)===f.equalsTo?Le(e.assign,2):Le(e.bitwiseXOR,1)}function gt(t){const n=x.charCodeAt(s.pos+1);if(n===t){Le(e.preIncDec,2);return}n===f.equalsTo?Le(e.assign,2):t===f.plusSign?Le(e.plus,1):Le(e.minus,1)}function bt(){const t=x.charCodeAt(s.pos+1);if(t===f.lessThan){if(x.charCodeAt(s.pos+2)===f.equalsTo){Le(e.assign,3);return}s.isType?Le(e.lessThan,1):Le(e.bitShiftL,2);return}t===f.equalsTo?Le(e.relationalOrEqual,2):Le(e.lessThan,1)}function _t(){if(s.isType){Le(e.greaterThan,1);return}const t=x.charCodeAt(s.pos+1);if(t===f.greaterThan){const n=x.charCodeAt(s.pos+2)===f.greaterThan?3:2;if(x.charCodeAt(s.pos+n)===f.equalsTo){Le(e.assign,n+1);return}Le(e.bitShiftR,n);return}t===f.equalsTo?Le(e.relationalOrEqual,2):Le(e.greaterThan,1)}function qt(){s.type===e.greaterThan&&(s.pos-=1,_t())}function nt(t){const n=x.charCodeAt(s.pos+1);if(n===f.equalsTo){Le(e.equality,x.charCodeAt(s.pos+2)===f.equalsTo?3:2);return}if(t===f.equalsTo&&n===f.greaterThan){s.pos+=2,z(e.arrow);return}Le(t===f.equalsTo?e.eq:e.bang,1)}function zt(){const t=x.charCodeAt(s.pos+1),n=x.charCodeAt(s.pos+2);t===f.questionMark&&!(X&&s.isType)?n===f.equalsTo?Le(e.assign,3):Le(e.nullishCoalescing,2):t===f.dot&&!(n>=f.digit0&&n<=f.digit9)?(s.pos+=2,z(e.questionDot)):(++s.pos,z(e.question))}function Yt(t){switch(t){case f.numberSign:++s.pos,z(e.hash);return;case f.dot:Qe();return;case f.leftParenthesis:++s.pos,z(e.parenL);return;case f.rightParenthesis:++s.pos,z(e.parenR);return;case f.semicolon:++s.pos,z(e.semi);return;case f.comma:++s.pos,z(e.comma);return;case f.leftSquareBracket:++s.pos,z(e.bracketL);return;case f.rightSquareBracket:++s.pos,z(e.bracketR);return;case f.leftCurlyBrace:X&&x.charCodeAt(s.pos+1)===f.verticalBar?Le(e.braceBarL,2):(++s.pos,z(e.braceL));return;case f.rightCurlyBrace:++s.pos,z(e.braceR);return;case f.colon:x.charCodeAt(s.pos+1)===f.colon?Le(e.doubleColon,2):(++s.pos,z(e.colon));return;case f.questionMark:zt();return;case f.atSign:++s.pos,z(e.at);return;case f.graveAccent:++s.pos,z(e.backQuote);return;case f.digit0:{const n=x.charCodeAt(s.pos+1);if(n===f.lowercaseX||n===f.uppercaseX||n===f.lowercaseO||n===f.uppercaseO||n===f.lowercaseB||n===f.uppercaseB){yt();return}}case f.digit1:case f.digit2:case f.digit3:case f.digit4:case f.digit5:case f.digit6:case f.digit7:case f.digit8:case f.digit9:Rt(!1);return;case f.quotationMark:case f.apostrophe:pn(t);return;case f.slash:$e();return;case f.percentSign:case f.asterisk:qe(t);return;case f.verticalBar:case f.ampersand:ze(t);return;case f.caret:at();return;case f.plusSign:case f.dash:gt(t);return;case f.lessThan:bt();return;case f.greaterThan:_t();return;case f.equalsTo:case f.exclamationMark:nt(t);return;case f.tilde:Le(e.tilde,1);return;default:break}A(`Unexpected character '${String.fromCharCode(t)}'`,s.pos)}function Le(t,n){s.pos+=n,z(t)}function fn(){const t=s.pos;let n=!1,o=!1;for(;;){if(s.pos>=x.length){A("Unterminated regular expression",t);return}const a=x.charCodeAt(s.pos);if(n)n=!1;else{if(a===f.leftSquareBracket)o=!0;else if(a===f.rightSquareBracket&&o)o=!1;else if(a===f.slash&&!o)break;n=a===f.backslash}++s.pos}++s.pos,dn(),z(e.regexp)}function Nt(){for(;;){const t=x.charCodeAt(s.pos);if(t>=f.digit0&&t<=f.digit9||t===f.underscore)s.pos++;else break}}function yt(){for(s.pos+=2;;){const n=x.charCodeAt(s.pos);if(n>=f.digit0&&n<=f.digit9||n>=f.lowercaseA&&n<=f.lowercaseF||n>=f.uppercaseA&&n<=f.uppercaseF||n===f.underscore)s.pos++;else break}x.charCodeAt(s.pos)===f.lowercaseN?(++s.pos,z(e.bigint)):z(e.num)}function Rt(t){let n=!1,o=!1;t||Nt();let a=x.charCodeAt(s.pos);if(a===f.dot&&(++s.pos,Nt(),a=x.charCodeAt(s.pos)),(a===f.uppercaseE||a===f.lowercaseE)&&(a=x.charCodeAt(++s.pos),(a===f.plusSign||a===f.dash)&&++s.pos,Nt(),a=x.charCodeAt(s.pos)),a===f.lowercaseN?(++s.pos,n=!0):a===f.lowercaseM&&(++s.pos,o=!0),n){z(e.bigint);return}if(o){z(e.decimal);return}z(e.num)}function pn(t){for(s.pos++;;){if(s.pos>=x.length){A("Unterminated string constant");return}const n=x.charCodeAt(s.pos);if(n===f.backslash)s.pos++;else if(n===t)break;s.pos++}s.pos++,z(e.string)}function mn(){for(;;){if(s.pos>=x.length){A("Unterminated template");return}const t=x.charCodeAt(s.pos);if(t===f.graveAccent||t===f.dollarSign&&x.charCodeAt(s.pos+1)===f.leftCurlyBrace){if(s.pos===s.start&&r(e.template))if(t===f.dollarSign){s.pos+=2,z(e.dollarBraceL);return}else{++s.pos,z(e.backQuote);return}z(e.template);return}t===f.backslash&&s.pos++,s.pos++}}function dn(){for(;s.pos"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function Ds(t){const[n,o]=Os(t.jsxPragma||"React.createElement"),[a,u]=Os(t.jsxFragmentPragma||"React.Fragment");return{base:n,suffix:o,fragmentBase:a,fragmentSuffix:u}}function Os(t){let n=t.indexOf(".");return n===-1&&(n=t.length),[t.slice(0,n),t.slice(n)]}class ut{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class Lt extends ut{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(n,o,a,u,k){super(),this.rootTransformer=n,this.tokens=o,this.importProcessor=a,this.nameManager=u,this.options=k,Lt.prototype.__init.call(this),Lt.prototype.__init2.call(this),Lt.prototype.__init3.call(this),Lt.prototype.__init4.call(this),Lt.prototype.__init5.call(this),this.jsxPragmaInfo=Ds(k),this.isAutomaticRuntime=k.jsxRuntime==="automatic",this.jsxImportSource=k.jsxImportSource||"react"}process(){return this.tokens.matches1(e.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let n="";if(this.filenameVarName&&(n+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[a,u]of Object.entries(this.cjsAutomaticModuleNameResolutions))n+=`var ${u} = require("${a}");`;else{const o=this.esmAutomaticImportNameResolutions,{createElement:a}=o,u=Fs(o,["createElement"]);a&&(n+=`import {createElement as ${a}} from "${this.jsxImportSource}";`);const k=Object.entries(u).map(([T,B])=>`${T} as ${B}`).join(", ");if(k){const T=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");n+=`import {${k}} from "${T}";`}}return n}processJSXTag(){const{jsxRole:n,start:o}=this.tokens.currentToken(),a=this.options.production?null:this.getElementLocationCode(o);this.isAutomaticRuntime&&n!==ie.KeyAfterPropSpread?this.transformTagToJSXFunc(a,n):this.transformTagToCreateElement(a)}getElementLocationCode(n){return`lineNumber: ${this.getLineNumberForIndex(n)}`}getLineNumberForIndex(n){const o=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");u&&this.tokens.appendCode(`, ${u}`)}for(this.options.production||(u===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${a}, ${this.getDevSource(n)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(e.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(n){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(e.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(n),!this.tokens.matches2(e.slash,e.jsxTagEnd))if(this.tokens.matches1(e.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(e.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(n){return this.options.production?n?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:n}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.base)||n.base}${n.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:n}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.fragmentBase)||n.fragmentBase)+n.fragmentSuffix}}claimAutoImportedFuncInvocation(n,o){const a=this.claimAutoImportedName(n,o);return this.importProcessor?`${a}.call(void 0, `:`${a}(`}claimAutoImportedName(n,o){if(this.importProcessor){const a=this.jsxImportSource+o;return this.cjsAutomaticModuleNameResolutions[a]||(this.cjsAutomaticModuleNameResolutions[a]=this.importProcessor.getFreeIdentifierForPath(a)),`${this.cjsAutomaticModuleNameResolutions[a]}.${n}`}else return this.esmAutomaticImportNameResolutions[n]||(this.esmAutomaticImportNameResolutions[n]=this.nameManager.claimFreeName(`_${n}`)),this.esmAutomaticImportNameResolutions[n]}processTagIntro(){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType||!this.tokens.matches2AtIndex(n-1,e.jsxName,e.jsxName)&&!this.tokens.matches2AtIndex(n-1,e.greaterThan,e.jsxName)&&!this.tokens.matches1AtIndex(n,e.braceL)&&!this.tokens.matches1AtIndex(n,e.jsxTagEnd)&&!this.tokens.matches2AtIndex(n,e.slash,e.jsxTagEnd);)n++;if(n===this.tokens.currentIndex()+1){const o=this.tokens.identifierName();Bs(o)&&this.tokens.replaceToken(`'${o}'`)}for(;this.tokens.currentIndex()=f.lowercaseA&&n<=f.lowercaseZ}function K1(t){let n="",o="",a=!1,u=!1;for(let k=0;k=f.digit0&&t<=f.digit9}function no(t){return t>=f.digit0&&t<=f.digit9||t>=f.lowercaseA&&t<=f.lowercaseF||t>=f.uppercaseA&&t<=f.uppercaseF}function qs(t,n){const o=Ds(n),a=new Set;for(let u=0;u0||o.namedExports.length>0)continue;[...o.defaultNames,...o.wildcardNames,...o.namedImports.map(({localName:u})=>u)].every(u=>this.shouldAutomaticallyElideImportedName(u))&&this.importsToReplace.set(n,"")}}shouldAutomaticallyElideImportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(n)}generateImportReplacements(){for(const[n,o]of this.importInfoByPath.entries()){const{defaultNames:a,wildcardNames:u,namedImports:k,namedExports:T,exportStarNames:B,hasStarExport:Z}=o;if(a.length===0&&u.length===0&&k.length===0&&T.length===0&&B.length===0&&!Z){this.importsToReplace.set(n,`require('${n}');`);continue}const ue=this.getFreeIdentifierForPath(n);let Ie;this.enableLegacyTypeScriptModuleInterop?Ie=ue:Ie=u.length>0?u[0]:this.getFreeIdentifierForPath(n);let _e=`var ${ue} = require('${n}');`;if(u.length>0)for(const ne of u){const we=this.enableLegacyTypeScriptModuleInterop?ue:`${this.helperManager.getHelperName("interopRequireWildcard")}(${ue})`;_e+=` var ${ne} = ${we};`}else B.length>0&&Ie!==ue?_e+=` var ${Ie} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${ue});`:a.length>0&&Ie!==ue&&(_e+=` var ${Ie} = ${this.helperManager.getHelperName("interopRequireDefault")}(${ue});`);for(const{importedName:ne,localName:we}of T)_e+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${ue}, '${we}', '${ne}');`;for(const ne of B)_e+=` exports.${ne} = ${Ie};`;Z&&(_e+=` ${this.helperManager.getHelperName("createStarExport")}(${ue});`),this.importsToReplace.set(n,_e);for(const ne of a)this.identifierReplacements.set(ne,`${Ie}.default`);for(const{importedName:ne,localName:we}of k)this.identifierReplacements.set(we,`${ue}.${ne}`)}}getFreeIdentifierForPath(n){const o=n.split("/"),u=o[o.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${u}`)}preprocessImportAtIndex(n){const o=[],a=[],u=[];if(n++,(this.tokens.matchesContextualAtIndex(n,l._type)||this.tokens.matches1AtIndex(n,e._typeof))&&!this.tokens.matches1AtIndex(n+1,e.comma)&&!this.tokens.matchesContextualAtIndex(n+1,l._from)||this.tokens.matches1AtIndex(n,e.parenL))return;if(this.tokens.matches1AtIndex(n,e.name)&&(o.push(this.tokens.identifierNameAtIndex(n)),n++,this.tokens.matches1AtIndex(n,e.comma)&&n++),this.tokens.matches1AtIndex(n,e.star)&&(n+=2,a.push(this.tokens.identifierNameAtIndex(n)),n++),this.tokens.matches1AtIndex(n,e.braceL)){const B=this.getNamedImports(n+1);n=B.newIndex;for(const Z of B.namedImports)Z.importedName==="default"?o.push(Z.localName):u.push(Z)}if(this.tokens.matchesContextualAtIndex(n,l._from)&&n++,!this.tokens.matches1AtIndex(n,e.string))throw new Error("Expected string token at the end of import statement.");const k=this.tokens.stringValueAtIndex(n),T=this.getImportInfo(k);T.defaultNames.push(...o),T.wildcardNames.push(...a),T.namedImports.push(...u),o.length===0&&a.length===0&&u.length===0&&(T.hasBareImport=!0)}preprocessExportAtIndex(n){if(this.tokens.matches2AtIndex(n,e._export,e._var)||this.tokens.matches2AtIndex(n,e._export,e._let)||this.tokens.matches2AtIndex(n,e._export,e._const))this.preprocessVarExportAtIndex(n);else if(this.tokens.matches2AtIndex(n,e._export,e._function)||this.tokens.matches2AtIndex(n,e._export,e._class)){const o=this.tokens.identifierNameAtIndex(n+2);this.addExportBinding(o,o)}else if(this.tokens.matches3AtIndex(n,e._export,e.name,e._function)){const o=this.tokens.identifierNameAtIndex(n+3);this.addExportBinding(o,o)}else this.tokens.matches2AtIndex(n,e._export,e.braceL)?this.preprocessNamedExportAtIndex(n):this.tokens.matches2AtIndex(n,e._export,e.star)&&this.preprocessExportStarAtIndex(n)}preprocessVarExportAtIndex(n){let o=0;for(let a=n+2;;a++)if(this.tokens.matches1AtIndex(a,e.braceL)||this.tokens.matches1AtIndex(a,e.dollarBraceL)||this.tokens.matches1AtIndex(a,e.bracketL))o++;else if(this.tokens.matches1AtIndex(a,e.braceR)||this.tokens.matches1AtIndex(a,e.bracketR))o--;else{if(o===0&&!this.tokens.matches1AtIndex(a,e.name))break;if(this.tokens.matches1AtIndex(1,e.eq)){const u=this.tokens.currentToken().rhsEndIndex;if(u==null)throw new Error("Expected = token with an end index.");a=u-1}else{const u=this.tokens.tokens[a];if(Pe(u)){const k=this.tokens.identifierNameAtIndex(a);this.identifierReplacements.set(k,`exports.${k}`)}}}}preprocessNamedExportAtIndex(n){n+=2;const{newIndex:o,namedImports:a}=this.getNamedImports(n);if(n=o,this.tokens.matchesContextualAtIndex(n,l._from))n++;else{for(const{importedName:T,localName:B}of a)this.addExportBinding(T,B);return}if(!this.tokens.matches1AtIndex(n,e.string))throw new Error("Expected string token at the end of import statement.");const u=this.tokens.stringValueAtIndex(n);this.getImportInfo(u).namedExports.push(...a)}preprocessExportStarAtIndex(n){let o=null;if(this.tokens.matches3AtIndex(n,e._export,e.star,e._as)?(n+=3,o=this.tokens.identifierNameAtIndex(n),n+=2):n+=3,!this.tokens.matches1AtIndex(n,e.string))throw new Error("Expected string token at the end of star export statement.");const a=this.tokens.stringValueAtIndex(n),u=this.getImportInfo(a);o!==null?u.exportStarNames.push(o):u.hasStarExport=!0}getNamedImports(n){const o=[];for(;;){if(this.tokens.matches1AtIndex(n,e.braceR)){n++;break}const a=Jt(this.tokens,n);if(n=a.endIndex,a.isType||o.push({importedName:a.leftName,localName:a.rightName}),this.tokens.matches2AtIndex(n,e.comma,e.braceR)){n+=2;break}else if(this.tokens.matches1AtIndex(n,e.braceR)){n++;break}else if(this.tokens.matches1AtIndex(n,e.comma))n++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[n])}`)}return{newIndex:n,namedImports:o}}getImportInfo(n){const o=this.importInfoByPath.get(n);if(o)return o;const a={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(n,a),a}addExportBinding(n,o){this.exportBindingsByLocalName.has(n)||this.exportBindingsByLocalName.set(n,[]),this.exportBindingsByLocalName.get(n).push(o)}claimImportCode(n){const o=this.importsToReplace.get(n);return this.importsToReplace.set(n,""),o||""}getIdentifierReplacement(n){return this.identifierReplacements.get(n)||null}resolveExportBinding(n){const o=this.exportBindingsByLocalName.get(n);return!o||o.length===0?null:o.map(a=>`exports.${a}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Qt=ee(40653);function ro({code:t,mappings:n},o,a,u,k){const T=so(u,k),B=new Qt.GenMapping({file:a.compiledFilename});let Z=0,ue=n[0];for(;ue===void 0&&Z obj[importedName]}); + } + `,createStarExport:` + function createStarExport(obj) { + Object.keys(obj) + .filter((key) => key !== "default" && key !== "__esModule") + .forEach((key) => { + if (exports.hasOwnProperty(key)) { + return; + } + Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); + }); + } + `,nullishCoalesce:` + function nullishCoalesce(lhs, rhsFn) { + if (lhs != null) { + return lhs; + } else { + return rhsFn(); + } + } + `,asyncNullishCoalesce:` + async function asyncNullishCoalesce(lhs, rhsFn) { + if (lhs != null) { + return lhs; + } else { + return await rhsFn(); + } + } + `,optionalChain:` + function optionalChain(ops) { + let lastAccessLHS = undefined; + let value = ops[0]; + let i = 1; + while (i < ops.length) { + const op = ops[i]; + const fn = ops[i + 1]; + i += 2; + if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { + return undefined; + } + if (op === 'access' || op === 'optionalAccess') { + lastAccessLHS = value; + value = fn(value); + } else if (op === 'call' || op === 'optionalCall') { + value = fn((...args) => value.call(lastAccessLHS, ...args)); + lastAccessLHS = undefined; + } + } + return value; + } + `,asyncOptionalChain:` + async function asyncOptionalChain(ops) { + let lastAccessLHS = undefined; + let value = ops[0]; + let i = 1; + while (i < ops.length) { + const op = ops[i]; + const fn = ops[i + 1]; + i += 2; + if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { + return undefined; + } + if (op === 'access' || op === 'optionalAccess') { + lastAccessLHS = value; + value = await fn(value); + } else if (op === 'call' || op === 'optionalCall') { + value = await fn((...args) => value.call(lastAccessLHS, ...args)); + lastAccessLHS = undefined; + } + } + return value; + } + `,optionalChainDelete:` + function optionalChainDelete(ops) { + const result = OPTIONAL_CHAIN_NAME(ops); + return result == null ? true : result; + } + `,asyncOptionalChainDelete:` + async function asyncOptionalChainDelete(ops) { + const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops); + return result == null ? true : result; + } + `};class gn{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(n){this.nameManager=n,gn.prototype.__init.call(this),gn.prototype.__init2.call(this)}getHelperName(n){let o=this.helperNames[n];return o||(o=this.nameManager.claimFreeName(`_${n}`),this.helperNames[n]=o,o)}emitHelpers(){let n="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[o,a]of Object.entries(oo)){const u=this.helperNames[o];let k=a;o==="optionalChainDelete"?k=k.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):o==="asyncOptionalChainDelete"?k=k.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):o==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),k=k.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),u&&(n+=" ",n+=k.replace(o,u).replace(/\s+/g," ").trim())}return n}}function Us(t,n,o){io(t,o)&&ao(t,n,o)}function io(t,n){for(const o of t.tokens)if(o.type===e.name&&!o.isType&&I(o)&&n.has(t.identifierNameForToken(o)))return!0;return!1}function ao(t,n,o){const a=[];let u=n.length-1;for(let k=t.tokens.length-1;;k--){for(;a.length>0&&a[a.length-1].startTokenIndex===k+1;)a.pop();for(;u>=0&&n[u].endTokenIndex===k+1;)a.push(n[u]),u--;if(k<0)break;const T=t.tokens[k],B=t.identifierNameForToken(T);if(a.length>1&&!T.isType&&T.type===e.name&&o.has(B)){if(P(T))$s(a[a.length-1],t,B);else if(F(T)){let Z=a.length-1;for(;Z>0&&!a[Z].isFunctionScope;)Z--;if(Z<0)throw new Error("Did not find parent function scope.");$s(a[Z],t,B)}}}if(a.length>0)throw new Error("Expected empty scope stack after processing file.")}function $s(t,n,o){for(let a=t.startTokenIndex;a0&&!s.error;)r(e.braceL)||r(e.bracketL)?t++:(r(e.braceR)||r(e.bracketR))&&t--,_();return!0}return!1}function Uo(){const t=s.snapshot(),n=$o();return s.restoreFromSnapshot(t),n}function $o(){return _(),!!(r(e.parenR)||r(e.ellipsis)||qo()&&(r(e.colon)||r(e.comma)||r(e.question)||r(e.eq)||r(e.parenR)&&(_(),r(e.arrow))))}function Kt(t){const n=H(0);p(t),Ho()||Ue(),re(n)}function Vo(){r(e.colon)&&Kt(e.colon)}function Ut(){r(e.colon)&&en()}function Wo(){c(e.colon)&&Ue()}function Ho(){const t=s.snapshot();return L(l._asserts)?(_(),Te(l._is)?(Ue(),!0):Un()||r(e._this)?(_(),Te(l._is)&&Ue(),!0):(s.restoreFromSnapshot(t),!1)):Un()||r(e._this)?(_(),L(l._is)&&!je()?(_(),Ue(),!0):(s.restoreFromSnapshot(t),!1)):!1}function en(){const t=H(0);p(e.colon),Ue(),re(t)}function Ue(){if(e1(),s.inDisallowConditionalTypesContext||je()||!c(e._extends))return;const t=s.inDisallowConditionalTypesContext;s.inDisallowConditionalTypesContext=!0,e1(),s.inDisallowConditionalTypesContext=t,p(e.question),Ue(),p(e.colon),Ue()}function Go(){return L(l._abstract)&&h()===e._new}function e1(){if(jo()){Wn(Et.TSFunctionType);return}if(r(e._new)){Wn(Et.TSConstructorType);return}else if(Go()){Wn(Et.TSAbstractConstructorType);return}Mo()}function Xo(){const t=H(1);Ue(),p(e.greaterThan),re(t),tn()}function zo(){if(c(e.jsxTagStart)){s.tokens[s.tokens.length-1].type=e.typeParameterStart;const t=H(1);for(;!r(e.greaterThan)&&!s.error;)Ue(),c(e.comma);ct(),re(t)}}function t1(){for(;!r(e.braceL)&&!s.error;)Yo(),c(e.comma)}function Yo(){Zt(),r(e.lessThan)&&Vt()}function Jo(){Tt(!1),Ft(),c(e._extends)&&t1(),Zs()}function Qo(){Tt(!1),Ft(),p(e.eq),Ue(),N()}function Zo(){if(r(e.string)?Ht():xe(),c(e.eq)){const t=s.tokens.length-1;Xe(),s.tokens[t].rhsEndIndex=s.tokens.length}}function Gn(){for(Tt(!1),p(e.braceL);!c(e.braceR)&&!s.error;)Zo(),c(e.comma)}function Xn(){p(e.braceL),Ln(e.braceR)}function zn(){Tt(!1),c(e.dot)?zn():Xn()}function n1(){L(l._global)?xe():r(e.string)?xt():A(),r(e.braceL)?Xn():N()}function Yn(){_n(),p(e.eq),ei(),N()}function Ko(){return L(l._require)&&h()===e.parenL}function ei(){Ko()?ti():Zt()}function ti(){Ee(l._require),p(e.parenL),r(e.string)||A(),Ht(),p(e.parenR)}function ni(){if(J())return!1;switch(s.type){case e._function:{const t=H(1);_();const n=s.start;return Bt(n,!0),re(t),!0}case e._class:{const t=H(1);return Mt(!0,!1),re(t),!0}case e._const:if(r(e._const)&&Ne(l._enum)){const t=H(1);return p(e._const),Ee(l._enum),s.tokens[s.tokens.length-1].type=e._enum,Gn(),re(t),!0}case e._var:case e._let:{const t=H(1);return Rn(s.type!==e._var),re(t),!0}case e.name:{const t=H(1),n=s.contextualKeyword;let o=!1;return n===l._global?(n1(),o=!0):o=bn(n,!0),re(t),o}default:return!1}}function r1(){return bn(s.contextualKeyword,!0)}function ri(t){switch(t){case l._declare:{const n=s.tokens.length-1;if(ni())return s.tokens[n].type=e._declare,!0;break}case l._global:if(r(e.braceL))return Xn(),!0;break;default:return bn(t,!1)}return!1}function bn(t,n){switch(t){case l._abstract:if($t(n)&&r(e._class))return s.tokens[s.tokens.length-1].type=e._abstract,Mt(!0,!1),!0;break;case l._enum:if($t(n)&&r(e.name))return s.tokens[s.tokens.length-1].type=e._enum,Gn(),!0;break;case l._interface:if($t(n)&&r(e.name)){const o=H(n?2:1);return Jo(),re(o),!0}break;case l._module:if($t(n)){if(r(e.string)){const o=H(n?2:1);return n1(),re(o),!0}else if(r(e.name)){const o=H(n?2:1);return zn(),re(o),!0}}break;case l._namespace:if($t(n)&&r(e.name)){const o=H(n?2:1);return zn(),re(o),!0}break;case l._type:if($t(n)&&r(e.name)){const o=H(n?2:1);return Qo(),re(o),!0}break;default:break}return!1}function $t(t){return t?(_(),!0):!J()}function si(){const t=s.snapshot();return wn(),Gt(),Vo(),p(e.arrow),s.error?(s.restoreFromSnapshot(t),!1):(sn(!0),!0)}function Jn(){s.type===e.bitShiftL&&(s.pos-=1,z(e.lessThan)),Vt()}function Vt(){const t=H(0);for(p(e.lessThan);!r(e.greaterThan)&&!s.error;)Ue(),c(e.comma);t?(p(e.greaterThan),re(t)):(re(t),qt(),p(e.greaterThan),s.tokens[s.tokens.length-1].isType=!0)}function s1(){if(r(e.name))switch(s.contextualKeyword){case l._abstract:case l._declare:case l._enum:case l._interface:case l._module:case l._namespace:case l._type:return!0;default:break}return!1}function oi(t,n){if(r(e.colon)&&Kt(e.colon),!r(e.braceL)&&J()){let o=s.tokens.length-1;for(;o>=0&&(s.tokens[o].start>=t||s.tokens[o].type===e._default||s.tokens[o].type===e._export);)s.tokens[o].isType=!0,o--;return}sn(!1,n)}function ii(t,n,o){if(!je()&&c(e.bang)){s.tokens[s.tokens.length-1].type=e.nonNullAssertion;return}if(r(e.lessThan)||r(e.bitShiftL)){const a=s.snapshot();if(!n&&f1()&&si())return;if(Jn(),!n&&c(e.parenL)?(s.tokens[s.tokens.length-1].subscriptStartIndex=t,At()):r(e.backQuote)?rr():(s.type===e.greaterThan||s.type!==e.parenL&&s.type&e.IS_EXPRESSION_START&&!je())&&A(),s.error)s.restoreFromSnapshot(a);else return}else!n&&r(e.questionDot)&&h()===e.lessThan&&(_(),s.tokens[t].isOptionalChainStart=!0,s.tokens[s.tokens.length-1].subscriptStartIndex=t,Vt(),p(e.parenL),At());Kn(t,n,o)}function ai(){if(c(e._import))return L(l._type)&&h()!==e.eq&&Ee(l._type),Yn(),!0;if(c(e.eq))return Ge(),N(),!0;if(Te(l._as))return Ee(l._namespace),xe(),N(),!0;if(L(l._type)){const t=h();(t===e.braceL||t===e.star)&&_()}return!1}function ci(){if(xe(),r(e.comma)||r(e.braceR)){s.tokens[s.tokens.length-1].identifierRole=C.ImportDeclaration;return}if(xe(),r(e.comma)||r(e.braceR)){s.tokens[s.tokens.length-1].identifierRole=C.ImportDeclaration,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0;return}if(xe(),r(e.comma)||r(e.braceR)){s.tokens[s.tokens.length-3].identifierRole=C.ImportAccess,s.tokens[s.tokens.length-1].identifierRole=C.ImportDeclaration;return}xe(),s.tokens[s.tokens.length-3].identifierRole=C.ImportAccess,s.tokens[s.tokens.length-1].identifierRole=C.ImportDeclaration,s.tokens[s.tokens.length-4].isType=!0,s.tokens[s.tokens.length-3].isType=!0,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0}function li(){if(xe(),r(e.comma)||r(e.braceR)){s.tokens[s.tokens.length-1].identifierRole=C.ExportAccess;return}if(xe(),r(e.comma)||r(e.braceR)){s.tokens[s.tokens.length-1].identifierRole=C.ExportAccess,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0;return}if(xe(),r(e.comma)||r(e.braceR)){s.tokens[s.tokens.length-3].identifierRole=C.ExportAccess;return}xe(),s.tokens[s.tokens.length-3].identifierRole=C.ExportAccess,s.tokens[s.tokens.length-4].isType=!0,s.tokens[s.tokens.length-3].isType=!0,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0}function ui(){if(L(l._abstract)&&h()===e._class)return s.type=e._abstract,_(),Mt(!0,!0),!0;if(L(l._interface)){const t=H(2);return bn(l._interface,!0),re(t),!0}return!1}function hi(){if(s.type===e._const){const t=m();if(t.type===e.name&&t.contextualKeyword===l._enum)return p(e._const),Ee(l._enum),s.tokens[s.tokens.length-1].type=e._enum,Gn(),!0}return!1}function fi(t){const n=s.tokens.length;$n([l._abstract,l._readonly,l._declare,l._static,l._override]);const o=s.tokens.length;if(Js()){const u=t?n-1:n;for(let k=u;k=x.length){A("Unterminated JSX contents");return}const o=x.charCodeAt(s.pos);if(o===f.lessThan||o===f.leftCurlyBrace){if(s.pos===s.start){if(o===f.lessThan){s.pos++,z(e.jsxTagStart);return}Yt(o);return}z(t&&!n?e.jsxEmptyText:e.jsxText);return}o===f.lineFeed?t=!0:o!==f.space&&o!==f.carriageReturn&&o!==f.tab&&(n=!0),s.pos++}}function Si(t){for(s.pos++;;){if(s.pos>=x.length){A("Unterminated string constant");return}if(x.charCodeAt(s.pos)===t){s.pos++;break}s.pos++}z(e.string)}function vi(){let t;do{if(s.pos>x.length){A("Unexpectedly reached the end of input.");return}t=x.charCodeAt(++s.pos)}while(O[t]||t===f.dash);z(e.jsxName)}function Qn(){ct()}function o1(t){if(Qn(),!c(e.colon)){s.tokens[s.tokens.length-1].identifierRole=t;return}Qn()}function i1(){const t=s.tokens.length;o1(C.Access);let n=!1;for(;r(e.dot);)n=!0,ct(),Qn();if(!n){const o=s.tokens[t],a=x.charCodeAt(o.start);a>=f.lowercaseA&&a<=f.lowercaseZ&&(o.identifierRole=null)}}function Ci(){switch(s.type){case e.braceL:_(),Ge(),ct();return;case e.jsxTagStart:c1(),ct();return;case e.string:ct();return;default:A("JSX value should be either an expression or a quoted JSX text")}}function Ni(){p(e.ellipsis),Ge()}function Ri(t){if(r(e.jsxTagEnd))return!1;i1(),v&&zo();let n=!1;for(;!r(e.slash)&&!r(e.jsxTagEnd)&&!s.error;){if(c(e.braceL)){n=!0,p(e.ellipsis),Xe(),ct();continue}n&&s.end-s.start===3&&x.charCodeAt(s.start)===f.lowercaseK&&x.charCodeAt(s.start+1)===f.lowercaseE&&x.charCodeAt(s.start+2)===f.lowercaseY&&(s.tokens[t].jsxRole=ie.KeyAfterPropSpread),o1(C.ObjectKey),r(e.eq)&&(ct(),Ci())}const o=r(e.slash);return o&&ct(),o}function Li(){r(e.jsxTagEnd)||i1()}function a1(){const t=s.tokens.length-1;s.tokens[t].jsxRole=ie.NoChildren;let n=0;if(!Ri(t))for(Wt();;)switch(s.type){case e.jsxTagStart:if(ct(),r(e.slash)){ct(),Li(),s.tokens[t].jsxRole!==ie.KeyAfterPropSpread&&(n===1?s.tokens[t].jsxRole=ie.OneChild:n>1&&(s.tokens[t].jsxRole=ie.StaticChildren));return}n++,a1(),Wt();break;case e.jsxText:n++,Wt();break;case e.jsxEmptyText:Wt();break;case e.braceL:_(),r(e.ellipsis)?(Ni(),Wt(),n+=2):(r(e.braceR)||(n++,Ge()),Wt());break;default:A();return}}function c1(){ct(),a1()}function ct(){s.tokens.push(new ae),Se(),s.start=s.pos;const t=x.charCodeAt(s.pos);if(fe[t])vi();else if(t===f.quotationMark||t===f.apostrophe)Si(t);else switch(++s.pos,t){case f.greaterThan:z(e.jsxTagEnd);break;case f.lessThan:z(e.jsxTagStart);break;case f.slash:z(e.slash);break;case f.equalsTo:z(e.eq);break;case f.leftCurlyBrace:z(e.braceL);break;case f.dot:z(e.dot);break;case f.colon:z(e.colon);break;default:A()}}function Wt(){s.tokens.push(new ae),s.start=s.pos,Ai()}function Pi(t){if(r(e.question)){const n=h();if(n===e.colon||n===e.comma||n===e.parenR)return}l1(t)}function Fi(){i(e.question),r(e.colon)&&(v?en():X&&Ot())}class Di{constructor(n){this.stop=n}}function Ge(t=!1){if(Xe(t),r(e.comma))for(;c(e.comma);)Xe(t)}function Xe(t=!1,n=!1){return v?xi(t,n):X?qa(t,n):ft(t,n)}function ft(t,n){if(r(e._yield))return Qi(),!1;(r(e.parenL)||r(e.name)||r(e._yield))&&(s.potentialArrowAt=s.start);const o=Oi(t);return n&&nr(),s.type&e.IS_ASSIGN?(_(),Xe(t),!1):o}function Oi(t){return Mi(t)?!0:(Bi(t),!1)}function Bi(t){v||X?Pi(t):l1(t)}function l1(t){c(e.question)&&(Xe(),p(e.colon),Xe(t))}function Mi(t){const n=s.tokens.length;return tn()?!0:(Tn(n,-1,t),!1)}function Tn(t,n,o){if(v&&(e._in&e.PRECEDENCE_MASK)>n&&!je()&&(Te(l._as)||Te(l._satisfies))){const u=H(1);Ue(),re(u),qt(),Tn(t,n,o);return}const a=s.type&e.PRECEDENCE_MASK;if(a>0&&(!o||!r(e._in))&&a>n){const u=s.type;_(),u===e.nullishCoalescing&&(s.tokens[s.tokens.length-1].nullishStartIndex=t);const k=s.tokens.length;tn(),Tn(k,u&e.IS_RIGHT_ASSOCIATIVE?a-1:a,o),u===e.nullishCoalescing&&(s.tokens[t].numNullishCoalesceStarts++,s.tokens[s.tokens.length-1].numNullishCoalesceEnds++),Tn(t,n,o)}}function tn(){if(v&&!E&&c(e.lessThan))return Xo(),!1;if(L(l._module)&&R()===f.leftCurlyBrace&&!tt())return Zi(),!1;if(s.type&e.IS_PREFIX)return _(),tn(),!1;if(u1())return!0;for(;s.type&e.IS_POSTFIX&&!De();)s.type===e.preIncDec&&(s.type=e.postIncDec),_();return!1}function u1(){const t=s.tokens.length;return xt()?!0:(Zn(t),s.tokens.length>t&&s.tokens[t].isOptionalChainStart&&(s.tokens[s.tokens.length-1].isOptionalChainEnd=!0),!1)}function Zn(t,n=!1){X?$a(t,n):h1(t,n)}function h1(t,n=!1){const o=new Di(!1);do ji(t,n,o);while(!o.stop&&!s.error)}function ji(t,n,o){v?ii(t,n,o):X?Ia(t,n,o):Kn(t,n,o)}function Kn(t,n,o){if(!n&&c(e.doubleColon))er(),o.stop=!0,Zn(t,n);else if(r(e.questionDot)){if(s.tokens[t].isOptionalChainStart=!0,n&&h()===e.parenL){o.stop=!0;return}_(),s.tokens[s.tokens.length-1].subscriptStartIndex=t,c(e.bracketL)?(Ge(),p(e.bracketR)):c(e.parenL)?At():En()}else if(c(e.dot))s.tokens[s.tokens.length-1].subscriptStartIndex=t,En();else if(c(e.bracketL))s.tokens[s.tokens.length-1].subscriptStartIndex=t,Ge(),p(e.bracketR);else if(!n&&r(e.parenL))if(f1()){const a=s.snapshot(),u=s.tokens.length;_(),s.tokens[s.tokens.length-1].subscriptStartIndex=t;const k=q();s.tokens[s.tokens.length-1].contextId=k,At(),s.tokens[s.tokens.length-1].contextId=k,qi()&&(s.restoreFromSnapshot(a),o.stop=!0,s.scopeDepth++,Gt(),Ui(u))}else{_(),s.tokens[s.tokens.length-1].subscriptStartIndex=t;const a=q();s.tokens[s.tokens.length-1].contextId=a,At(),s.tokens[s.tokens.length-1].contextId=a}else r(e.backQuote)?rr():o.stop=!0}function f1(){return s.tokens[s.tokens.length-1].contextualKeyword===l._async&&!De()}function At(){let t=!0;for(;!c(e.parenR)&&!s.error;){if(t)t=!1;else if(p(e.comma),c(e.parenR))break;k1(!1)}}function qi(){return r(e.colon)||r(e.arrow)}function Ui(t){v?yi():X&&ja(),p(e.arrow),rn(t)}function er(){const t=s.tokens.length;xt(),Zn(t,!0)}function xt(){if(c(e.modulo))return xe(),!1;if(r(e.jsxText)||r(e.jsxEmptyText))return Ht(),!1;if(r(e.lessThan)&&E)return s.type=e.jsxTagStart,c1(),_(),!1;const t=s.potentialArrowAt===s.start;switch(s.type){case e.slash:case e.assign:Ae();case e._super:case e._this:case e.regexp:case e.num:case e.bigint:case e.decimal:case e.string:case e._null:case e._true:case e._false:return _(),!1;case e._import:return _(),r(e.dot)&&(s.tokens[s.tokens.length-1].type=e.name,_(),xe()),!1;case e.name:{const n=s.tokens.length,o=s.start,a=s.contextualKeyword;return xe(),a===l._await?(Ji(),!1):a===l._async&&r(e._function)&&!De()?(_(),Bt(o,!1),!1):t&&a===l._async&&!De()&&r(e.name)?(s.scopeDepth++,Tt(!1),p(e.arrow),rn(n),!0):r(e._do)&&!De()?(_(),St(),!1):t&&!De()&&r(e.arrow)?(s.scopeDepth++,jn(!1),p(e.arrow),rn(n),!0):(s.tokens[s.tokens.length-1].identifierRole=C.Access,!1)}case e._do:return _(),St(),!1;case e.parenL:return p1(t);case e.bracketL:return _(),d1(e.bracketR,!0),!1;case e.braceL:return sr(!1,!1),!1;case e._function:return $i(),!1;case e.at:kr();case e._class:return Mt(!1),!1;case e._new:return Wi(),!1;case e.backQuote:return rr(),!1;case e.doubleColon:return _(),er(),!1;case e.hash:{const n=R();return fe[n]||n===f.backslash?En():_(),!1}default:return A(),!1}}function En(){c(e.hash),xe()}function $i(){const t=s.start;xe(),c(e.dot)&&xe(),Bt(t,!1)}function Ht(){_()}function An(){p(e.parenL),Ge(),p(e.parenR)}function p1(t){const n=s.snapshot(),o=s.tokens.length;p(e.parenL);let a=!0;for(;!r(e.parenR)&&!s.error;){if(a)a=!1;else if(p(e.comma),r(e.parenR))break;if(r(e.ellipsis)){Ws(!1),nr();break}else Xe(!1,!0)}return p(e.parenR),t&&Vi()&&tr()?(s.restoreFromSnapshot(n),s.scopeDepth++,Gt(),tr(),rn(o),s.error?(s.restoreFromSnapshot(n),p1(!1),!1):!0):!1}function Vi(){return r(e.colon)||!De()}function tr(){return v?bi():X?Ua():c(e.arrow)}function nr(){(v||X)&&Fi()}function Wi(){if(p(e._new),c(e.dot)){xe();return}Hi(),X&&ba(),c(e.parenL)&&d1(e.parenR)}function Hi(){er(),c(e.questionDot)}function rr(){for(pe(),pe();!r(e.backQuote)&&!s.error;)p(e.dollarBraceL),Ge(),pe(),pe();_()}function sr(t,n){const o=q();let a=!0;for(_(),s.tokens[s.tokens.length-1].contextId=o;!c(e.braceR)&&!s.error;){if(a)a=!1;else if(p(e.comma),c(e.braceR))break;let u=!1;if(r(e.ellipsis)){const k=s.tokens.length;if(Vs(),t&&(s.tokens.length===k+2&&jn(n),c(e.braceR)))break;continue}t||(u=c(e.star)),!t&&L(l._async)?(u&&A(),xe(),r(e.colon)||r(e.parenL)||r(e.braceR)||r(e.eq)||r(e.comma)||(r(e.star)&&(_(),u=!0),nn(o))):nn(o),Yi(t,n,o)}s.tokens[s.tokens.length-1].contextId=o}function Gi(t){return!t&&(r(e.string)||r(e.num)||r(e.bracketL)||r(e.name)||!!(s.type&e.IS_KEYWORD))}function Xi(t,n){const o=s.start;return r(e.parenL)?(t&&A(),or(o,!1),!0):Gi(t)?(nn(n),or(o,!1),!0):!1}function zi(t,n){if(c(e.colon)){t?xn(n):Xe(!1);return}let o;t?s.scopeDepth===0?o=C.ObjectShorthandTopLevelDeclaration:n?o=C.ObjectShorthandBlockScopedDeclaration:o=C.ObjectShorthandFunctionScopedDeclaration:o=C.ObjectShorthand,s.tokens[s.tokens.length-1].identifierRole=o,xn(n,!0)}function Yi(t,n,o){v?ki():X&&Pa(),Xi(t,o)||zi(t,n)}function nn(t){X&&dr(),c(e.bracketL)?(s.tokens[s.tokens.length-1].contextId=t,Xe(),p(e.bracketR),s.tokens[s.tokens.length-1].contextId=t):(r(e.num)||r(e.string)||r(e.bigint)||r(e.decimal)?xt():En(),s.tokens[s.tokens.length-1].identifierRole=C.ObjectKey,s.tokens[s.tokens.length-1].contextId=t)}function or(t,n){const o=q();s.scopeDepth++;const a=s.tokens.length;Gt(n,o),m1(t,o);const k=s.tokens.length;s.scopes.push(new V(a,k,!0)),s.scopeDepth--}function rn(t){sn(!0);const n=s.tokens.length;s.scopes.push(new V(t,n,!0)),s.scopeDepth--}function m1(t,n=0){v?oi(t,n):X?wa(n):sn(!1,n)}function sn(t,n=0){t&&!r(e.braceL)?Xe():St(!0,n)}function d1(t,n=!1){let o=!0;for(;!c(t)&&!s.error;){if(o)o=!1;else if(p(e.comma),c(t))break;k1(n)}}function k1(t){t&&r(e.comma)||(r(e.ellipsis)?(Vs(),nr()):r(e.question)?_():Xe(!1,!0))}function xe(){_(),s.tokens[s.tokens.length-1].type=e.name}function Ji(){tn()}function Qi(){_(),!r(e.semi)&&!De()&&(c(e.star),Xe())}function Zi(){Ee(l._module),p(e.braceL),Ln(e.braceR)}function Ki(t){return(t.type===e.name||!!(t.type&e.IS_KEYWORD))&&t.contextualKeyword!==l._from}function pt(t){const n=H(0);p(t||e.colon),rt(),re(n)}function g1(){p(e.modulo),Ee(l._checks),c(e.parenL)&&(Ge(),p(e.parenR))}function ir(){const t=H(0);p(e.colon),r(e.modulo)?g1():(rt(),r(e.modulo)&&g1()),re(t)}function ea(){_(),cr(!0)}function ta(){_(),xe(),r(e.lessThan)&&ht(),p(e.parenL),mr(),p(e.parenR),ir(),N()}function ar(){r(e._class)?ea():r(e._function)?ta():r(e._var)?na():Te(l._module)?c(e.dot)?oa():ra():L(l._type)?ia():L(l._opaque)?aa():L(l._interface)?ca():r(e._export)?sa():A()}function na(){_(),b1(),N()}function ra(){for(r(e.string)?xt():xe(),p(e.braceL);!r(e.braceR)&&!s.error;)r(e._import)?(_(),D1()):A();p(e.braceR)}function sa(){p(e._export),c(e._default)?r(e._function)||r(e._class)?ar():(rt(),N()):r(e._var)||r(e._function)||r(e._class)||L(l._opaque)?ar():r(e.star)||r(e.braceL)||L(l._interface)||L(l._type)||L(l._opaque)?P1():A()}function oa(){Ee(l._exports),Ot(),N()}function ia(){_(),ur()}function aa(){_(),hr(!0)}function ca(){_(),cr()}function cr(t=!1){if(vn(),r(e.lessThan)&&ht(),c(e._extends))do Sn();while(!t&&c(e.comma));if(L(l._mixins)){_();do Sn();while(c(e.comma))}if(L(l._implements)){_();do Sn();while(c(e.comma))}Cn(t,!1,t)}function Sn(){_1(!1),r(e.lessThan)&&Dt()}function lr(){cr()}function vn(){xe()}function ur(){vn(),r(e.lessThan)&&ht(),pt(e.eq),N()}function hr(t){Ee(l._type),vn(),r(e.lessThan)&&ht(),r(e.colon)&&pt(e.colon),t||pt(e.eq),N()}function la(){dr(),b1(),c(e.eq)&&rt()}function ht(){const t=H(0);r(e.lessThan)||r(e.typeParameterStart)?_():A();do la(),r(e.greaterThan)||p(e.comma);while(!r(e.greaterThan)&&!s.error);p(e.greaterThan),re(t)}function Dt(){const t=H(0);for(p(e.lessThan);!r(e.greaterThan)&&!s.error;)rt(),r(e.greaterThan)||p(e.comma);p(e.greaterThan),re(t)}function ua(){if(Ee(l._interface),c(e._extends))do Sn();while(c(e.comma));Cn(!1,!1,!1)}function fr(){r(e.num)||r(e.string)?xt():xe()}function ha(){h()===e.colon?(fr(),pt()):rt(),p(e.bracketR),pt()}function fa(){fr(),p(e.bracketR),p(e.bracketR),r(e.lessThan)||r(e.parenL)?pr():(c(e.question),pt())}function pr(){for(r(e.lessThan)&&ht(),p(e.parenL);!r(e.parenR)&&!r(e.ellipsis)&&!s.error;)Nn(),r(e.parenR)||p(e.comma);c(e.ellipsis)&&Nn(),p(e.parenR),pt()}function pa(){pr()}function Cn(t,n,o){let a;for(n&&r(e.braceBarL)?(p(e.braceBarL),a=e.braceBarR):(p(e.braceL),a=e.braceR);!r(a)&&!s.error;){if(o&&L(l._proto)){const u=h();u!==e.colon&&u!==e.question&&(_(),t=!1)}if(t&&L(l._static)){const u=h();u!==e.colon&&u!==e.question&&_()}if(dr(),c(e.bracketL))c(e.bracketL)?fa():ha();else if(r(e.parenL)||r(e.lessThan))pa();else{if(L(l._get)||L(l._set)){const u=h();(u===e.name||u===e.string||u===e.num)&&_()}ma()}da()}p(a)}function ma(){if(r(e.ellipsis)){if(p(e.ellipsis),c(e.comma)||c(e.semi),r(e.braceR))return;rt()}else fr(),r(e.lessThan)||r(e.parenL)?pr():(c(e.question),pt())}function da(){!c(e.semi)&&!c(e.comma)&&!r(e.braceR)&&!r(e.braceBarR)&&A()}function _1(t){for(t||xe();c(e.dot);)xe()}function ka(){_1(!0),r(e.lessThan)&&Dt()}function ga(){p(e._typeof),y1()}function _a(){for(p(e.bracketL);s.pos0&&n0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex0&&this.tokenAtRelativeIndex(-1).type===e._delete?n.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):n.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const n=this.currentToken();if(n.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),n.numNullishCoalesceEnds&&!this.disableESTransforms)for(let o=0;o ${o}require`);const a=this.tokens.currentToken().contextId;if(a==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(e.parenR,a);)this.rootTransformer.processToken();this.tokens.replaceToken(o?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const o=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(o)),this.tokens.appendCode(this.importProcessor.claimImportCode(o))}jt(this.tokens),this.tokens.matches1(e.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(l._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,e.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(e.name)||this.tokens.matches1(e.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(e.string))return!1;let n=!1,o=!1;for(;!this.tokens.matches1(e.string);)(!n&&this.tokens.matches1(e.braceL)||this.tokens.matches1(e.comma))&&(this.tokens.removeToken(),this.tokens.matches1(e.braceR)||(o=!0),(this.tokens.matches2(e.name,e.comma)||this.tokens.matches2(e.name,e.braceR)||this.tokens.matches4(e.name,e.name,e.name,e.comma)||this.tokens.matches4(e.name,e.name,e.name,e.braceR))&&(n=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!n:this.isFlowTransformEnabled?o&&!n:!1}removeRemainingImport(){for(;!this.tokens.matches1(e.string);)this.tokens.removeToken()}processIdentifier(){const n=this.tokens.currentToken();if(n.shadowsGlobal)return!1;if(n.identifierRole===C.ObjectShorthand)return this.processObjectShorthand();if(n.identifierRole!==C.Access)return!1;const o=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(n));if(!o)return!1;let a=this.tokens.currentIndex()+1;for(;a=2&&this.tokens.matches1AtIndex(n-2,e.dot)||n>=2&&[e._var,e._let,e._const].includes(this.tokens.tokens[n-2].type))return!1;const a=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(o));return a?(this.tokens.copyToken(),this.tokens.appendCode(` ${a} =`),!0):!1}processComplexAssignment(){const n=this.tokens.currentIndex(),o=this.tokens.tokens[n-1];if(o.type!==e.name||o.shadowsGlobal||n>=2&&this.tokens.matches1AtIndex(n-2,e.dot))return!1;const a=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(o));return a?(this.tokens.appendCode(` = ${a}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){const n=this.tokens.currentIndex(),o=this.tokens.tokens[n+1];if(o.type!==e.name||o.shadowsGlobal||n+2=1&&this.tokens.matches1AtIndex(n-1,e.dot))return!1;const u=this.tokens.identifierNameForToken(o),k=this.importProcessor.resolveExportBinding(u);if(!k)return!1;const T=this.tokens.rawCodeForToken(a),B=this.importProcessor.getIdentifierReplacement(u)||u;if(T==="++")this.tokens.replaceToken(`(${B} = ${k} = ${B} + 1, ${B} - 1)`);else if(T==="--")this.tokens.replaceToken(`(${B} = ${k} = ${B} - 1, ${B} + 1)`);else throw new Error(`Unexpected operator: ${T}`);return this.tokens.removeToken(),!0}processExportDefault(){let n=!0;if(this.tokens.matches4(e._export,e._default,e._function,e.name)||this.tokens.matches5(e._export,e._default,e.name,e._function,e.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const o=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${o};`)}else if(this.tokens.matches4(e._export,e._default,e._class,e.name)||this.tokens.matches5(e._export,e._default,e._abstract,e._class,e.name)||this.tokens.matches3(e._export,e._default,e.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(e._abstract)&&this.tokens.removeToken();const o=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${o};`)}else if(V1(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))n=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const o=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${o}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${o} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(o)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");n&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(e.at);)if(this.tokens.copyToken(),this.tokens.matches1(e.parenL))this.tokens.copyExpectedToken(e.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(e.parenR);else{for(this.tokens.copyExpectedToken(e.name);this.tokens.matches1(e.dot);)this.tokens.copyExpectedToken(e.dot),this.tokens.copyExpectedToken(e.name);this.tokens.matches1(e.parenL)&&(this.tokens.copyExpectedToken(e.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(e.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let n=this.tokens.currentIndex();if(n++,n++,!this.tokens.matches1AtIndex(n,e.name))return!1;for(n++;no.call(n,...T)),n=void 0)}return o}const Dn="jest",$c=["mock","unmock","enableAutomock","disableAutomock"];class wr extends ut{__init(){this.hoistedFunctionNames=[]}constructor(n,o,a,u){super(),this.rootTransformer=n,this.tokens=o,this.nameManager=a,this.importProcessor=u,wr.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(e.name,e.dot,e.name,e.parenL)&&this.tokens.identifierName()===Dn?Uc([this,"access",n=>n.importProcessor,"optionalAccess",n=>n.getGlobalNames,"call",n=>n(),"optionalAccess",n=>n.has,"call",n=>n(Dn)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(n=>`${n}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let n=!1;for(;this.tokens.matches3(e.dot,e.name,e.parenL);){const o=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if($c.includes(o)){const u=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(u),this.tokens.replaceToken(`function ${u}(){${Dn}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(e.parenR),this.tokens.appendCode(";}"),n=!1}else n?this.tokens.copyToken():this.tokens.replaceToken(`${Dn}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(e.parenR),n=!0}return!0}}class Vc extends ut{constructor(n){super(),this.tokens=n}process(){if(this.tokens.matches1(e.num)){const n=this.tokens.currentTokenCode();if(n.includes("_"))return this.tokens.replaceToken(n.replace(/_/g,"")),!0}return!1}}class Wc extends ut{constructor(n,o){super(),this.tokens=n,this.nameManager=o}process(){return this.tokens.matches2(e._catch,e.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}}class Hc extends ut{constructor(n,o){super(),this.tokens=n,this.nameManager=o}process(){if(this.tokens.matches1(e.nullishCoalescing)){const a=this.tokens.currentToken();return this.tokens.tokens[a.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(e._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;const o=this.tokens.currentToken().subscriptStartIndex;if(o!=null&&this.tokens.tokens[o].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==e._super){const a=this.nameManager.claimFreeName("_");let u;if(o>0&&this.tokens.matches1AtIndex(o-1,e._delete)&&this.isLastSubscriptInChain()?u=`${a} => delete ${a}`:u=`${a} => ${a}`,this.tokens.tokens[o].isAsyncOperation&&(u=`async ${u}`),this.tokens.matches2(e.questionDot,e.parenL)||this.tokens.matches2(e.questionDot,e.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${u}`);else if(this.tokens.matches2(e.questionDot,e.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${u}`);else if(this.tokens.matches1(e.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${u}.`);else if(this.tokens.matches1(e.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${u}.`);else if(this.tokens.matches1(e.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${u}[`);else if(this.tokens.matches1(e.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${u}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let n=0;for(let o=this.tokens.currentIndex()+1;;o++){if(o>=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[o].isOptionalChainStart?n++:this.tokens.tokens[o].isOptionalChainEnd&&n--,n<0)return!0;if(n===0&&this.tokens.tokens[o].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let n=0,o=this.tokens.currentIndex()-1;for(;;){if(o<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[o].isOptionalChainStart?n--:this.tokens.tokens[o].isOptionalChainEnd&&n++,n<0)return!1;if(n===0&&this.tokens.tokens[o].subscriptStartIndex!=null)return this.tokens.tokens[o-1].type===e._super;o--}}}class Gc extends ut{constructor(n,o,a,u){super(),this.rootTransformer=n,this.tokens=o,this.importProcessor=a,this.options=u}process(){const n=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){const o=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return o?this.tokens.replaceToken(`(0, ${o})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(n),!0}if(this.tokens.matches3(e.name,e.dot,e.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){const o=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return o?(this.tokens.replaceToken(o),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(n),!0}return!1}tryProcessCreateClassCall(n){const o=this.findDisplayName(n);o&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(e.parenL),this.tokens.copyExpectedToken(e.braceL),this.tokens.appendCode(`displayName: '${o}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(e.braceR),this.tokens.copyExpectedToken(e.parenR))}findDisplayName(n){return n<2?null:this.tokens.matches2AtIndex(n-2,e.name,e.eq)?this.tokens.identifierNameAtIndex(n-2):n>=2&&this.tokens.tokens[n-2].identifierRole===C.ObjectKey?this.tokens.identifierNameAtIndex(n-2):this.tokens.matches2AtIndex(n-2,e._export,e._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const o=(this.options.filePath||"unknown").split("/"),a=o[o.length-1],u=a.lastIndexOf("."),k=u===-1?a:a.slice(0,u);return k==="index"&&o[o.length-2]?o[o.length-2]:k}classNeedsDisplayName(){let n=this.tokens.currentIndex();if(!this.tokens.matches2(e.parenL,e.braceL))return!1;const o=n+1,a=this.tokens.tokens[o].contextId;if(a==null)throw new Error("Expected non-null context ID on object open-brace.");for(;n({variableName:a,uniqueLocalName:a}));return this.extractedDefaultExportName&&o.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),` +;(function () { + var reactHotLoader = require('react-hot-loader').default; + var leaveModule = require('react-hot-loader').leaveModule; + if (!reactHotLoader) { + return; + } +${o.map(({variableName:a,uniqueLocalName:u})=>` reactHotLoader.register(${a}, "${u}", ${JSON.stringify(this.filePath||"")});`).join(` +`)} + leaveModule(module); +})();`}process(){return!1}}const Xc=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 W1(t){if(t.length===0||!fe[t.charCodeAt(0)])return!1;for(let n=1;n` var ${T};`).join("");for(const T of this.transformers)o+=T.getHoistedCode();let a="";for(const T of this.transformers)a+=T.getSuffixCode();const u=this.tokens.finish();let{code:k}=u;if(k.startsWith("#!")){let T=k.indexOf(` +`);return T===-1&&(T=k.length,k+=` +`),{code:k.slice(0,T+1)+o+k.slice(T+1)+a,mappings:this.shiftMappings(u.mappings,o.length)}}else return{code:o+k+a,mappings:this.shiftMappings(u.mappings,o.length)}}processBalancedCode(){let n=0,o=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(e.braceL)||this.tokens.matches1(e.dollarBraceL))n++;else if(this.tokens.matches1(e.braceR)){if(n===0)return;n--}if(this.tokens.matches1(e.parenL))o++;else if(this.tokens.matches1(e.parenR)){if(o===0)return;o--}this.processToken()}}processToken(){if(this.tokens.matches1(e._class)){this.processClass();return}for(const n of this.transformers)if(n.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(e._class,e.name))throw new Error("Expected identifier for exported class name.");const n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),n}processClass(){const n=Oc(this,this.tokens,this.nameManager,this.disableESTransforms),o=(n.headerInfo.isExpression||!n.headerInfo.className)&&n.staticInitializerNames.length+n.instanceInitializerNames.length>0;let a=n.headerInfo.className;o&&(a=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(a),this.tokens.appendCode(` (${a} =`));const k=this.tokens.currentToken().contextId;if(k==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(e._class);!this.tokens.matchesContextIdAndLabel(e.braceL,k);)this.processToken();this.processClassBody(n,a);const T=n.staticInitializerNames.map(B=>`${a}.${B}()`);o?this.tokens.appendCode(`, ${T.map(B=>`${B}, `).join("")}${a})`):n.staticInitializerNames.length>0&&this.tokens.appendCode(` ${T.map(B=>`${B};`).join(" ")}`)}processClassBody(n,o){const{headerInfo:a,constructorInsertPos:u,constructorInitializerStatements:k,fields:T,instanceInitializerNames:B,rangesToRemove:Z}=n;let ue=0,Ie=0;const _e=this.tokens.currentToken().contextId;if(_e==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(e.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const ne=k.length+B.length>0;if(u===null&&ne){const we=this.makeConstructorInitCode(k,B,o);if(a.hasSuperclass){const Oe=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${Oe}) { super(...${Oe}); ${we}; }`)}else this.tokens.appendCode(`constructor() { ${we}; }`)}for(;!this.tokens.matchesContextIdAndLabel(e.braceR,_e);)if(ue=Z[Ie].start){for(this.tokens.currentIndex()`${a}.prototype.${u}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(e.parenR,e.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,e.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(l._async)&&!this.tokens.matches1(e._async))return!1;const n=this.tokens.tokenAtRelativeIndex(1);if(n.type!==e.lessThan||!n.isType)return!1;let o=this.tokens.currentIndex()+1;for(;this.tokens.tokens[o].isType;)o++;if(this.tokens.matches1AtIndex(o,e.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()ne!=="type"&&ne!=="value"&&ne!=="start"&&ne!=="end"&&ne!=="loc"),a=Object.keys(n[0].type).filter(ne=>ne!=="label"&&ne!=="keyword"),u=["Location","Label","Raw",...o,...a],k=new LinesAndColumns(t),T=[u,...n.map(Z)],B=u.map(()=>0);for(const ne of T)for(let we=0;wene.map((we,Oe)=>we.padEnd(B[Oe])).join(" ")).join(` +`);function Z(ne){const we=t.slice(ne.start,ne.end);return[Ie(ne.start,ne.end),formatTokenType(ne.type),Yc(String(we),14),...o.map(Oe=>ue(ne[Oe],Oe)),...a.map(Oe=>ue(ne.type[Oe],Oe))]}function ue(ne,we){return ne===!0?we:ne===!1||ne===null?"":String(ne)}function Ie(ne,we){return`${_e(ne)}-${_e(we)}`}function _e(ne){const we=k.locationForIndex(ne);return we?`${we.line+1}:${we.column+1}`:"Unknown"}}function Yc(t,n){return t.length>n?`${t.slice(0,n-3)}...`:t}function Jc(t){const n=new Set;for(let o=0;o=0;--be){var ye=this.tryEntries[be],Me=ye.completion;if(ye.tryLoc==="root")return ke("end");if(ye.tryLoc<=this.prev){var Ve=o.call(ye,"catchLoc"),We=o.call(ye,"finallyLoc");if(Ve&&We){if(this.prev=0;--ke){var be=this.tryEntries[ke];if(be.tryLoc<=this.prev&&o.call(be,"finallyLoc")&&this.prev=0;--$){var ke=this.tryEntries[$];if(ke.finallyLoc===D)return this.complete(ke.completion,ke.afterLoc),mt(ke),_e}},catch:function(D){for(var $=this.tryEntries.length-1;$>=0;--$){var ke=this.tryEntries[$];if(ke.tryLoc===D){var be=ke.completion;if(be.type==="throw"){var ye=be.arg;mt(ke)}return ye}}throw new Error("illegal catch attempt")},delegateYield:function(D,$,ke){return this.delegate={iterator:kt(D),resultName:$,nextLoc:ke},this.method==="next"&&(this.arg=void 0),_e}},t}function G1(t,n,o,a,u,k,T){try{var B=t[k](T),Z=B.value}catch(ue){o(ue);return}B.done?n(Z):Promise.resolve(Z).then(a,u)}function el(t){return function(){var n=this,o=arguments;return new Promise(function(a,u){var k=t.apply(n,o);function T(Z){G1(k,a,u,T,B,"next",Z)}function B(Z){G1(k,a,u,T,B,"throw",Z)}T(void 0)})}}var tl=function(){var t=el(Tr().mark(function n(o){return Tr().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",Kc(o,{transforms:["typescript","jsx","imports"]}).code);case 1:case"end":return u.stop()}},n)}));return function(o){return t.apply(this,arguments)}}(),nl=tl},65415:function(Fe,w){"use strict";w.byteLength=f,w.toByteArray=E,w.fromByteArray=s;for(var ee=[],l=[],e=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",V=0,te=ve.length;V0)throw new Error("Invalid string. Length must be a multiple of 4");var q=x.indexOf("=");q===-1&&(q=he);var se=q===he?0:4-q%4;return[q,se]}function f(x){var he=U(x),q=he[0],se=he[1];return(q+se)*3/4-se}function d(x,he,q){return(he+q)*3/4-q}function E(x){var he,q=U(x),se=q[0],ce=q[1],ge=new e(d(x,se,ce)),Ce=0,L=ce>0?se-4:se,Ne;for(Ne=0;Ne>16&255,ge[Ce++]=he>>8&255,ge[Ce++]=he&255;return ce===2&&(he=l[x.charCodeAt(Ne)]<<2|l[x.charCodeAt(Ne+1)]>>4,ge[Ce++]=he&255),ce===1&&(he=l[x.charCodeAt(Ne)]<<10|l[x.charCodeAt(Ne+1)]<<4|l[x.charCodeAt(Ne+2)]>>2,ge[Ce++]=he>>8&255,ge[Ce++]=he&255),ge}function v(x){return ee[x>>18&63]+ee[x>>12&63]+ee[x>>6&63]+ee[x&63]}function X(x,he,q){for(var se,ce=[],ge=he;geL?L:Ce+ge));return se===1?(he=x[q-1],ce.push(ee[he>>2]+ee[he<<4&63]+"==")):se===2&&(he=(x[q-2]<<8)+x[q-1],ce.push(ee[he>>10]+ee[he>>4&63]+ee[he<<2&63]+"=")),ce.join("")}},91620:function(Fe,w,ee){"use strict";var l;var e=ee(65415),ve=ee(30551),V=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;w.lW=d,l=Ce,w.h2=50;var te=2147483647;l=te,d.TYPED_ARRAY_SUPPORT=U(),!d.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function U(){try{var c=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(c,i),c.foo()===42}catch(r){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function f(c){if(c>te)throw new RangeError('The value "'+c+'" is invalid for option "size"');var i=new Uint8Array(c);return Object.setPrototypeOf(i,d.prototype),i}function d(c,i,r){if(typeof c=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return s(c)}return E(c,i,r)}d.poolSize=8192;function E(c,i,r){if(typeof c=="string")return x(c,i);if(ArrayBuffer.isView(c))return q(c);if(c==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c);if(Ae(c,ArrayBuffer)||c&&Ae(c.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ae(c,SharedArrayBuffer)||c&&Ae(c.buffer,SharedArrayBuffer)))return se(c,i,r);if(typeof c=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var h=c.valueOf&&c.valueOf();if(h!=null&&h!==c)return d.from(h,i,r);var y=ce(c);if(y)return y;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof c[Symbol.toPrimitive]=="function")return d.from(c[Symbol.toPrimitive]("string"),i,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c)}d.from=function(c,i,r){return E(c,i,r)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array);function v(c){if(typeof c!="number")throw new TypeError('"size" argument must be of type number');if(c<0)throw new RangeError('The value "'+c+'" is invalid for option "size"')}function X(c,i,r){return v(c),c<=0?f(c):i!==void 0?typeof r=="string"?f(c).fill(i,r):f(c).fill(i):f(c)}d.alloc=function(c,i,r){return X(c,i,r)};function s(c){return v(c),f(c<0?0:ge(c)|0)}d.allocUnsafe=function(c){return s(c)},d.allocUnsafeSlow=function(c){return s(c)};function x(c,i){if((typeof i!="string"||i==="")&&(i="utf8"),!d.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var r=L(c,i)|0,h=f(r),y=h.write(c,i);return y!==r&&(h=h.slice(0,y)),h}function he(c){for(var i=c.length<0?0:ge(c.length)|0,r=f(i),h=0;h=te)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+te.toString(16)+" bytes");return c|0}function Ce(c){return+c!=c&&(c=0),d.alloc(+c)}d.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==d.prototype},d.compare=function(i,r){if(Ae(i,Uint8Array)&&(i=d.from(i,i.offset,i.byteLength)),Ae(r,Uint8Array)&&(r=d.from(r,r.offset,r.byteLength)),!d.isBuffer(i)||!d.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===r)return 0;for(var h=i.length,y=r.length,m=0,g=Math.min(h,y);my.length?d.from(g).copy(y,m):Uint8Array.prototype.set.call(y,g,m);else if(d.isBuffer(g))g.copy(y,m);else throw new TypeError('"list" argument must be an Array of Buffers');m+=g.length}return y};function L(c,i){if(d.isBuffer(c))return c.length;if(ArrayBuffer.isView(c)||Ae(c,ArrayBuffer))return c.byteLength;if(typeof c!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof c);var r=c.length,h=arguments.length>2&&arguments[2]===!0;if(!h&&r===0)return 0;for(var y=!1;;)switch(i){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return F(c).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return _(c).length;default:if(y)return h?-1:F(c).length;i=(""+i).toLowerCase(),y=!0}}d.byteLength=L;function Ne(c,i,r){var h=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,i>>>=0,r<=i))return"";for(c||(c="utf8");;)switch(c){case"hex":return fe(this,i,r);case"utf8":case"utf-8":return de(this,i,r);case"ascii":return W(this,i,r);case"latin1":case"binary":return O(this,i,r);case"base64":return A(this,i,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,i,r);default:if(h)throw new TypeError("Unknown encoding: "+c);c=(c+"").toLowerCase(),h=!0}}d.prototype._isBuffer=!0;function Te(c,i,r){var h=c[i];c[i]=c[r],c[r]=h}d.prototype.swap16=function(){var i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;rr&&(i+=" ... "),""},V&&(d.prototype[V]=d.prototype.inspect),d.prototype.compare=function(i,r,h,y,m){if(Ae(i,Uint8Array)&&(i=d.from(i,i.offset,i.byteLength)),!d.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(r===void 0&&(r=0),h===void 0&&(h=i?i.length:0),y===void 0&&(y=0),m===void 0&&(m=this.length),r<0||h>i.length||y<0||m>this.length)throw new RangeError("out of range index");if(y>=m&&r>=h)return 0;if(y>=m)return-1;if(r>=h)return 1;if(r>>>=0,h>>>=0,y>>>=0,m>>>=0,this===i)return 0;for(var g=m-y,b=h-r,R=Math.min(g,b),K=this.slice(y,m),Q=i.slice(r,h),me=0;me2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,H(r)&&(r=y?0:c.length-1),r<0&&(r=c.length+r),r>=c.length){if(y)return-1;r=c.length-1}else if(r<0)if(y)r=0;else return-1;if(typeof i=="string"&&(i=d.from(i,h)),d.isBuffer(i))return i.length===0?-1:De(c,i,r,h,y);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(c,i,r):Uint8Array.prototype.lastIndexOf.call(c,i,r):De(c,[i],r,h,y);throw new TypeError("val must be string, number or Buffer")}function De(c,i,r,h,y){var m=1,g=c.length,b=i.length;if(h!==void 0&&(h=String(h).toLowerCase(),h==="ucs2"||h==="ucs-2"||h==="utf16le"||h==="utf-16le")){if(c.length<2||i.length<2)return-1;m=2,g/=2,b/=2,r/=2}function R(Se,z){return m===1?Se[z]:Se.readUInt16BE(z*m)}var K;if(y){var Q=-1;for(K=r;Kg&&(r=g-b),K=r;K>=0;K--){for(var me=!0,Re=0;Rey&&(h=y)):h=y;var m=i.length;h>m/2&&(h=m/2);for(var g=0;g>>0,isFinite(h)?(h=h>>>0,y===void 0&&(y="utf8")):(y=h,h=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var m=this.length-r;if((h===void 0||h>m)&&(h=m),i.length>0&&(h<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");for(var g=!1;;)switch(y){case"hex":return je(this,i,r,h);case"utf8":case"utf-8":return tt(this,i,r,h);case"ascii":case"latin1":case"binary":return J(this,i,r,h);case"base64":return N(this,i,r,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,i,r,h);default:if(g)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),g=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function A(c,i,r){return i===0&&r===c.length?e.fromByteArray(c):e.fromByteArray(c.slice(i,r))}function de(c,i,r){r=Math.min(c.length,r);for(var h=[],y=i;y239?4:m>223?3:m>191?2:1;if(y+b<=r){var R,K,Q,me;switch(b){case 1:m<128&&(g=m);break;case 2:R=c[y+1],(R&192)===128&&(me=(m&31)<<6|R&63,me>127&&(g=me));break;case 3:R=c[y+1],K=c[y+2],(R&192)===128&&(K&192)===128&&(me=(m&15)<<12|(R&63)<<6|K&63,me>2047&&(me<55296||me>57343)&&(g=me));break;case 4:R=c[y+1],K=c[y+2],Q=c[y+3],(R&192)===128&&(K&192)===128&&(Q&192)===128&&(me=(m&15)<<18|(R&63)<<12|(K&63)<<6|Q&63,me>65535&&me<1114112&&(g=me))}}g===null?(g=65533,b=1):g>65535&&(g-=65536,h.push(g>>>10&1023|55296),g=56320|g&1023),h.push(g),y+=b}return M(h)}var j=4096;function M(c){var i=c.length;if(i<=j)return String.fromCharCode.apply(String,c);for(var r="",h=0;hh)&&(r=h);for(var y="",m=i;mh&&(i=h),r<0?(r+=h,r<0&&(r=0)):r>h&&(r=h),rr)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(i,r,h){i=i>>>0,r=r>>>0,h||oe(i,r,this.length);for(var y=this[i],m=1,g=0;++g>>0,r=r>>>0,h||oe(i,r,this.length);for(var y=this[i+--r],m=1;r>0&&(m*=256);)y+=this[i+--r]*m;return y},d.prototype.readUint8=d.prototype.readUInt8=function(i,r){return i=i>>>0,r||oe(i,1,this.length),this[i]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(i,r){return i=i>>>0,r||oe(i,2,this.length),this[i]|this[i+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(i,r){return i=i>>>0,r||oe(i,2,this.length),this[i]<<8|this[i+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(i,r){return i=i>>>0,r||oe(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(i,r){return i=i>>>0,r||oe(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},d.prototype.readIntLE=function(i,r,h){i=i>>>0,r=r>>>0,h||oe(i,r,this.length);for(var y=this[i],m=1,g=0;++g=m&&(y-=Math.pow(2,8*r)),y},d.prototype.readIntBE=function(i,r,h){i=i>>>0,r=r>>>0,h||oe(i,r,this.length);for(var y=r,m=1,g=this[i+--y];y>0&&(m*=256);)g+=this[i+--y]*m;return m*=128,g>=m&&(g-=Math.pow(2,8*r)),g},d.prototype.readInt8=function(i,r){return i=i>>>0,r||oe(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},d.prototype.readInt16LE=function(i,r){i=i>>>0,r||oe(i,2,this.length);var h=this[i]|this[i+1]<<8;return h&32768?h|4294901760:h},d.prototype.readInt16BE=function(i,r){i=i>>>0,r||oe(i,2,this.length);var h=this[i+1]|this[i]<<8;return h&32768?h|4294901760:h},d.prototype.readInt32LE=function(i,r){return i=i>>>0,r||oe(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},d.prototype.readInt32BE=function(i,r){return i=i>>>0,r||oe(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},d.prototype.readFloatLE=function(i,r){return i=i>>>0,r||oe(i,4,this.length),ve.read(this,i,!0,23,4)},d.prototype.readFloatBE=function(i,r){return i=i>>>0,r||oe(i,4,this.length),ve.read(this,i,!1,23,4)},d.prototype.readDoubleLE=function(i,r){return i=i>>>0,r||oe(i,8,this.length),ve.read(this,i,!0,52,8)},d.prototype.readDoubleBE=function(i,r){return i=i>>>0,r||oe(i,8,this.length),ve.read(this,i,!1,52,8)};function C(c,i,r,h,y,m){if(!d.isBuffer(c))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>y||ic.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(i,r,h,y){if(i=+i,r=r>>>0,h=h>>>0,!y){var m=Math.pow(2,8*h)-1;C(this,i,r,h,m,0)}var g=1,b=0;for(this[r]=i&255;++b>>0,h=h>>>0,!y){var m=Math.pow(2,8*h)-1;C(this,i,r,h,m,0)}var g=h-1,b=1;for(this[r+g]=i&255;--g>=0&&(b*=256);)this[r+g]=i/b&255;return r+h},d.prototype.writeUint8=d.prototype.writeUInt8=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,1,255,0),this[r]=i&255,r+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,2,65535,0),this[r]=i&255,this[r+1]=i>>>8,r+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,2,65535,0),this[r]=i>>>8,this[r+1]=i&255,r+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,4,4294967295,0),this[r+3]=i>>>24,this[r+2]=i>>>16,this[r+1]=i>>>8,this[r]=i&255,r+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,4,4294967295,0),this[r]=i>>>24,this[r+1]=i>>>16,this[r+2]=i>>>8,this[r+3]=i&255,r+4},d.prototype.writeIntLE=function(i,r,h,y){if(i=+i,r=r>>>0,!y){var m=Math.pow(2,8*h-1);C(this,i,r,h,m-1,-m)}var g=0,b=1,R=0;for(this[r]=i&255;++g>0)-R&255;return r+h},d.prototype.writeIntBE=function(i,r,h,y){if(i=+i,r=r>>>0,!y){var m=Math.pow(2,8*h-1);C(this,i,r,h,m-1,-m)}var g=h-1,b=1,R=0;for(this[r+g]=i&255;--g>=0&&(b*=256);)i<0&&R===0&&this[r+g+1]!==0&&(R=1),this[r+g]=(i/b>>0)-R&255;return r+h},d.prototype.writeInt8=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,1,127,-128),i<0&&(i=255+i+1),this[r]=i&255,r+1},d.prototype.writeInt16LE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,2,32767,-32768),this[r]=i&255,this[r+1]=i>>>8,r+2},d.prototype.writeInt16BE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,2,32767,-32768),this[r]=i>>>8,this[r+1]=i&255,r+2},d.prototype.writeInt32LE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,4,2147483647,-2147483648),this[r]=i&255,this[r+1]=i>>>8,this[r+2]=i>>>16,this[r+3]=i>>>24,r+4},d.prototype.writeInt32BE=function(i,r,h){return i=+i,r=r>>>0,h||C(this,i,r,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[r]=i>>>24,this[r+1]=i>>>16,this[r+2]=i>>>8,this[r+3]=i&255,r+4};function ie(c,i,r,h,y,m){if(r+h>c.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Pe(c,i,r,h,y){return i=+i,r=r>>>0,y||ie(c,i,r,4,34028234663852886e22,-34028234663852886e22),ve.write(c,i,r,h,23,4),r+4}d.prototype.writeFloatLE=function(i,r,h){return Pe(this,i,r,!0,h)},d.prototype.writeFloatBE=function(i,r,h){return Pe(this,i,r,!1,h)};function I(c,i,r,h,y){return i=+i,r=r>>>0,y||ie(c,i,r,8,17976931348623157e292,-17976931348623157e292),ve.write(c,i,r,h,52,8),r+8}d.prototype.writeDoubleLE=function(i,r,h){return I(this,i,r,!0,h)},d.prototype.writeDoubleBE=function(i,r,h){return I(this,i,r,!1,h)},d.prototype.copy=function(i,r,h,y){if(!d.isBuffer(i))throw new TypeError("argument should be a Buffer");if(h||(h=0),!y&&y!==0&&(y=this.length),r>=i.length&&(r=i.length),r||(r=0),y>0&&y=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),i.length-r>>0,h=h===void 0?this.length:h>>>0,i||(i=0);var g;if(typeof i=="number")for(g=r;g55295&&r<57344){if(!y){if(r>56319){(i-=3)>-1&&m.push(239,191,189);continue}else if(g+1===h){(i-=3)>-1&&m.push(239,191,189);continue}y=r;continue}if(r<56320){(i-=3)>-1&&m.push(239,191,189),y=r;continue}r=(y-55296<<10|r-56320)+65536}else y&&(i-=3)>-1&&m.push(239,191,189);if(y=null,r<128){if((i-=1)<0)break;m.push(r)}else if(r<2048){if((i-=2)<0)break;m.push(r>>6|192,r&63|128)}else if(r<65536){if((i-=3)<0)break;m.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((i-=4)<0)break;m.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return m}function G(c){for(var i=[],r=0;r>8,y=r%256,m.push(y),m.push(h);return m}function _(c){return e.toByteArray(P(c))}function pe(c,i,r,h){for(var y=0;y=i.length||y>=c.length);++y)i[y+r]=c[y];return y}function Ae(c,i){return c instanceof i||c!=null&&c.constructor!=null&&c.constructor.name!=null&&c.constructor.name===i.name}function H(c){return c!==c}var re=function(){for(var c="0123456789abcdef",i=new Array(256),r=0;r<16;++r)for(var h=r*16,y=0;y<16;++y)i[h+y]=c[r]+c[y];return i}()},17703:function(Fe,w){"use strict";var ee;ee=!0,ee=void 0;var l=` +`,e="\r",ve=function(){function V(te){this.string=te;for(var U=[0],f=0;fthis.string.length)return null;for(var U=0,f=this.offsets;f[U+1]<=te;)U++;var d=te-f[U];return{line:U,column:d}},V.prototype.indexForLocation=function(te){var U=te.line,f=te.column;return U<0||U>=this.offsets.length||f<0||f>this.lengthOfLine(U)?null:this.offsets[U]+f},V.prototype.lengthOfLine=function(te){var U=this.offsets[te],f=te===this.offsets.length-1?this.string.length:this.offsets[te+1];return f-U},V}();ee=ve,ee=ve},59541:function(Fe,w,ee){"use strict";var l=this&&this.__spreadArrays||function(){for(var d=0,E=0,v=arguments.length;E0&&G.push(ae+" more"),F._failMsg="is none of "+G.join(", ")):F._failMsg="is none of "+ae+" types",F}return S.prototype.getChecker=function(P,F){var G=this,ae=this.ttypes.map(function(_){return _.getChecker(P,F)});return function(_,pe){for(var Ae=pe.unionResolver(),H=0;H=v._score)&&(v=x)}v&&v._score>0&&((f=this._propNames).push.apply(f,v._propNames),(d=this._messages).push.apply(d,v._messages))},te.prototype.getError=function(U){for(var f=[],d=this._propNames.length-1;d>=0;d--){var E=this._propNames[d];U+=typeof E=="number"?"["+E+"]":E?"."+E:"";var v=this._messages[d];v&&f.push(U+" "+v)}return new l(U,f.join("; "))},te.prototype.getErrorDetail=function(U){for(var f=[],d=this._propNames.length-1;d>=0;d--){var E=this._propNames[d];U+=typeof E=="number"?"["+E+"]":E?"."+E:"";var v=this._messages[d];v&&f.push({path:U,message:v})}for(var X=null,d=f.length-1;d>=0;d--)X&&(f[d].nested=[X]),X=f[d];return X},te}();w.DetailContext=ve;var V=function(){function te(){this.contexts=[]}return te.prototype.createContext=function(){var U=new ve;return this.contexts.push(U),U},te}()}}]); +}()); \ No newline at end of file diff --git a/1684.fe65c164.async.js b/1684.fe65c164.async.js new file mode 100644 index 000000000..f2d634a35 --- /dev/null +++ b/1684.fe65c164.async.js @@ -0,0 +1 @@ +(self.webpackChunkroot=self.webpackChunkroot||[]).push([[1684],{1477:function(Y,o,e){"use strict";e.d(o,{Z:function(){return x}});var r=e(35047),n=e(75271),m=e(82187),C=e.n(m),a=e(72107),$=e(10886),E=e(92999),p=e(76535),M=e(50872),y=e(49903),S=e(5125),v=n.createContext(void 0),O=t=>{const{href:i,title:s,prefixCls:b,children:f,className:d,target:g,replace:T}=t,R=n.useContext(v),{registerLink:U,unregisterLink:B,scrollTo:D,onClick:I,activeLink:A,direction:V}=R||{};n.useEffect(()=>(U==null||U(i),()=>{B==null||B(i)}),[i]);const F=J=>{I==null||I(J,{title:s,href:i}),D==null||D(i),T&&(J.preventDefault(),window.location.replace(i))},{getPrefixCls:ee}=n.useContext(y.E_),Z=ee("anchor",b),ae=A===i,q=C()(`${Z}-link`,d,{[`${Z}-link-active`]:ae}),L=C()(`${Z}-link-title`,{[`${Z}-link-title-active`]:ae});return n.createElement("div",{className:q},n.createElement("a",{className:L,href:i,title:typeof s=="string"?s:"",target:g,onClick:F},s),V!=="horizontal"?f:null)},P=e(31876),k=e(21572),j=e(51688),X=e(84458);const _=t=>{const{componentCls:i,holderOffsetBlock:s,motionDurationSlow:b,lineWidthBold:f,colorPrimary:d,lineType:g,colorSplit:T,calc:R}=t;return{[`${i}-wrapper`]:{marginBlockStart:R(s).mul(-1).equal(),paddingBlockStart:s,[i]:Object.assign(Object.assign({},(0,k.Wf)(t)),{position:"relative",paddingInlineStart:f,[`${i}-link`]:{paddingBlock:t.linkPaddingBlock,paddingInline:`${(0,P.unit)(t.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},k.vS),{position:"relative",display:"block",marginBlockEnd:t.anchorTitleBlock,color:t.colorText,transition:`all ${t.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${i}-link-title`]:{color:t.colorPrimary},[`${i}-link`]:{paddingBlock:t.anchorPaddingBlockSecondary}}}),[`&:not(${i}-wrapper-horizontal)`]:{[i]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,P.unit)(f)} ${g} ${T}`,content:'" "'},[`${i}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${b} ease-in-out`,width:f,backgroundColor:d,[`&${i}-ink-visible`]:{display:"inline-block"}}}},[`${i}-fixed ${i}-ink ${i}-ink`]:{display:"none"}}}},Q=t=>{const{componentCls:i,motionDurationSlow:s,lineWidthBold:b,colorPrimary:f}=t;return{[`${i}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,P.unit)(t.lineWidth)} ${t.lineType} ${t.colorSplit}`,content:'" "'},[i]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${i}-link:first-of-type`]:{paddingInline:0},[`${i}-ink`]:{position:"absolute",bottom:0,transition:`left ${s} ease-in-out, width ${s} ease-in-out`,height:b,backgroundColor:f}}}}},K=t=>({linkPaddingBlock:t.paddingXXS,linkPaddingInlineStart:t.padding});var z=(0,j.I$)("Anchor",t=>{const{fontSize:i,fontSizeLG:s,paddingXXS:b,calc:f}=t,d=(0,X.mergeToken)(t,{holderOffsetBlock:b,anchorPaddingBlockSecondary:f(b).div(2).equal(),anchorTitleBlock:f(i).div(14).mul(3).equal(),anchorBallSize:f(s).div(2).equal()});return[_(d),Q(d)]},K);function H(){return window}function te(t,i){if(!t.getClientRects().length)return 0;const s=t.getBoundingClientRect();return s.width||s.height?i===window?s.top-t.ownerDocument.documentElement.clientTop:s.top-i.getBoundingClientRect().top:s.top}const le=/#([\S ]+)$/;var l=t=>{var i;const{rootClassName:s,prefixCls:b,className:f,style:d,offsetTop:g,affix:T=!0,showInkInFixed:R=!1,children:U,items:B,direction:D="vertical",bounds:I,targetOffset:A,onClick:V,onChange:F,getContainer:ee,getCurrentAnchor:Z,replace:ae}=t,[q,L]=n.useState([]),[J,ge]=n.useState(null),oe=n.useRef(J),de=n.useRef(null),he=n.useRef(null),ye=n.useRef(!1),{direction:be,anchor:se,getTargetContainer:ve,getPrefixCls:fe}=n.useContext(y.E_),G=fe("anchor",b),Pe=(0,S.Z)(G),[ke,De,me]=z(G,Pe),$e=(i=ee!=null?ee:ve)!==null&&i!==void 0?i:H,ce=JSON.stringify(q),je=(0,a.Z)(W=>{q.includes(W)||L(re=>[].concat((0,r.Z)(re),[W]))}),xe=(0,a.Z)(W=>{q.includes(W)&&L(re=>re.filter(Oe=>Oe!==W))}),He=()=>{var W;const re=(W=de.current)===null||W===void 0?void 0:W.querySelector(`.${G}-link-title-active`);if(re&&he.current){const{style:Oe}=he.current,pe=D==="horizontal";Oe.top=pe?"":`${re.offsetTop+re.clientHeight/2}px`,Oe.height=pe?"":`${re.clientHeight}px`,Oe.left=pe?`${re.offsetLeft}px`:"",Oe.width=pe?`${re.clientWidth}px`:"",pe&&(0,$.Z)(re,{scrollMode:"if-needed",block:"nearest"})}},we=function(W){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;const pe=[],ie=$e();return W.forEach(ue=>{const Se=le.exec(ue==null?void 0:ue.toString());if(!Se)return;const Ee=document.getElementById(Se[1]);if(Ee){const ze=te(Ee,ie);ze<=re+Oe&&pe.push({link:ue,top:ze})}}),pe.length?pe.reduce((Se,Ee)=>Ee.top>Se.top?Ee:Se).link:""},Le=(0,a.Z)(W=>{if(oe.current===W)return;const re=typeof Z=="function"?Z(W):W;ge(re),oe.current=re,F==null||F(W)}),Re=n.useCallback(()=>{if(ye.current)return;const W=we(q,A!==void 0?A:g||0,I);Le(W)},[ce,A,g]),Ae=n.useCallback(W=>{Le(W);const re=le.exec(W);if(!re)return;const Oe=document.getElementById(re[1]);if(!Oe)return;const pe=$e(),ie=(0,E.Z)(pe),ue=te(Oe,pe);let Se=ie+ue;Se-=A!==void 0?A:g||0,ye.current=!0,(0,p.Z)(Se,{getContainer:$e,callback(){ye.current=!1}})},[A,g]),Me=C()(De,me,Pe,s,`${G}-wrapper`,{[`${G}-wrapper-horizontal`]:D==="horizontal",[`${G}-rtl`]:be==="rtl"},f,se==null?void 0:se.className),ne=C()(G,{[`${G}-fixed`]:!T&&!R}),N=C()(`${G}-ink`,{[`${G}-ink-visible`]:J}),Ce=Object.assign(Object.assign({maxHeight:g?`calc(100vh - ${g}px)`:"100vh"},se==null?void 0:se.style),d),Te=W=>Array.isArray(W)?W.map(re=>n.createElement(O,Object.assign({replace:ae},re,{key:re.key}),D==="vertical"&&Te(re.children))):null,Ie=n.createElement("div",{ref:de,className:Me,style:Ce},n.createElement("div",{className:ne},n.createElement("span",{className:N,ref:he}),"items"in t?Te(B):U));n.useEffect(()=>{const W=$e();return Re(),W==null||W.addEventListener("scroll",Re),()=>{W==null||W.removeEventListener("scroll",Re)}},[ce]),n.useEffect(()=>{typeof Z=="function"&&Le(Z(oe.current||""))},[Z]),n.useEffect(()=>{He()},[D,Z,ce,J]);const Be=n.useMemo(()=>({registerLink:je,unregisterLink:xe,scrollTo:Ae,activeLink:J,onClick:V,direction:D}),[J,V,Ae,D]),Ne=T&&typeof T=="object"?T:void 0;return ke(n.createElement(v.Provider,{value:Be},T?n.createElement(M.Z,Object.assign({offsetTop:g,target:$e},Ne),Ie):Ie))};const u=l;u.Link=O;var x=u},58841:function(Y,o,e){"use strict";e.d(o,{C:function(){return i}});var r=e(75271),n=e(82187),m=e.n(n),C=e(86487),a=e(82986),$=e(60570),E=e(49903),p=e(5125),M=e(19578),y=e(10696),h=r.createContext({}),v=e(31876),c=e(21572),O=e(51688),P=e(84458);const k=s=>{const{antCls:b,componentCls:f,iconCls:d,avatarBg:g,avatarColor:T,containerSize:R,containerSizeLG:U,containerSizeSM:B,textFontSize:D,textFontSizeLG:I,textFontSizeSM:A,borderRadius:V,borderRadiusLG:F,borderRadiusSM:ee,lineWidth:Z,lineType:ae}=s,q=(L,J,ge)=>({width:L,height:L,borderRadius:"50%",[`&${f}-square`]:{borderRadius:ge},[`&${f}-icon`]:{fontSize:J,[`> ${d}`]:{margin:0}}});return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,c.Wf)(s)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:T,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:g,border:`${(0,v.unit)(Z)} ${ae} transparent`,"&-image":{background:"transparent"},[`${b}-image-img`]:{display:"block"}}),q(R,D,V)),{"&-lg":Object.assign({},q(U,I,F)),"&-sm":Object.assign({},q(B,A,ee)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},j=s=>{const{componentCls:b,groupBorderColor:f,groupOverlapping:d,groupSpace:g}=s;return{[`${b}-group`]:{display:"inline-flex",[b]:{borderColor:f},"> *:not(:first-child)":{marginInlineStart:d}},[`${b}-group-popover`]:{[`${b} + ${b}`]:{marginInlineStart:g}}}},X=s=>{const{controlHeight:b,controlHeightLG:f,controlHeightSM:d,fontSize:g,fontSizeLG:T,fontSizeXL:R,fontSizeHeading3:U,marginXS:B,marginXXS:D,colorBorderBg:I}=s;return{containerSize:b,containerSizeLG:f,containerSizeSM:d,textFontSize:Math.round((T+R)/2),textFontSizeLG:U,textFontSizeSM:g,groupSpace:D,groupOverlapping:-B,groupBorderColor:I}};var _=(0,O.I$)("Avatar",s=>{const{colorTextLightSolid:b,colorTextPlaceholder:f}=s,d=(0,P.mergeToken)(s,{avatarBg:f,avatarColor:b});return[k(d),j(d)]},X),Q=function(s,b){var f={};for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&b.indexOf(d)<0&&(f[d]=s[d]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,d=Object.getOwnPropertySymbols(s);g{const[f,d]=r.useState(1),[g,T]=r.useState(!1),[R,U]=r.useState(!0),B=r.useRef(null),D=r.useRef(null),I=(0,a.sQ)(b,B),{getPrefixCls:A,avatar:V}=r.useContext(E.E_),F=r.useContext(h),ee=()=>{if(!D.current||!B.current)return;const ne=D.current.offsetWidth,N=B.current.offsetWidth;if(ne!==0&&N!==0){const{gap:Ce=4}=s;Ce*2{T(!0)},[]),r.useEffect(()=>{U(!0),d(1)},[s.src]),r.useEffect(ee,[s.gap]);const Z=()=>{const{onError:ne}=s;(ne==null?void 0:ne())!==!1&&U(!1)},{prefixCls:ae,shape:q,size:L,src:J,srcSet:ge,icon:oe,className:de,rootClassName:he,alt:ye,draggable:be,children:se,crossOrigin:ve}=s,fe=Q(s,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),G=(0,M.Z)(ne=>{var N,Ce;return(Ce=(N=L!=null?L:F==null?void 0:F.size)!==null&&N!==void 0?N:ne)!==null&&Ce!==void 0?Ce:"default"}),Pe=Object.keys(typeof G=="object"?G||{}:{}).some(ne=>["xs","sm","md","lg","xl","xxl"].includes(ne)),ke=(0,y.Z)(Pe),De=r.useMemo(()=>{if(typeof G!="object")return{};const ne=$.c4.find(Ce=>ke[Ce]),N=G[ne];return N?{width:N,height:N,fontSize:N&&(oe||se)?N/2:18}:{}},[ke,G]),me=A("avatar",ae),$e=(0,p.Z)(me),[ce,je,xe]=_(me,$e),He=m()({[`${me}-lg`]:G==="large",[`${me}-sm`]:G==="small"}),we=r.isValidElement(J),Le=q||(F==null?void 0:F.shape)||"circle",Re=m()(me,He,V==null?void 0:V.className,`${me}-${Le}`,{[`${me}-image`]:we||J&&R,[`${me}-icon`]:!!oe},xe,$e,de,he,je),Ae=typeof G=="number"?{width:G,height:G,fontSize:oe?G/2:18}:{};let Me;if(typeof J=="string"&&R)Me=r.createElement("img",{src:J,draggable:be,srcSet:ge,onError:Z,alt:ye,crossOrigin:ve});else if(we)Me=J;else if(oe)Me=oe;else if(g||f!==1){const ne=`scale(${f})`,N={msTransform:ne,WebkitTransform:ne,transform:ne};Me=r.createElement(C.Z,{onResize:ee},r.createElement("span",{className:`${me}-string`,ref:D,style:Object.assign({},N)},se))}else Me=r.createElement("span",{className:`${me}-string`,style:{opacity:0},ref:D},se);return delete fe.onError,delete fe.gap,ce(r.createElement("span",Object.assign({},fe,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Ae),De),V==null?void 0:V.style),fe.style),className:Re,ref:I}),Me))};var H=r.forwardRef(K),te=e(49653),le=e(54351),w=e(14170);const l=s=>{const{size:b,shape:f}=r.useContext(h),d=r.useMemo(()=>({size:s.size||b,shape:s.shape||f}),[s.size,s.shape,b,f]);return r.createElement(h.Provider,{value:d},s.children)};var x=s=>{var b,f,d,g;const{getPrefixCls:T,direction:R}=r.useContext(E.E_),{prefixCls:U,className:B,rootClassName:D,style:I,maxCount:A,maxStyle:V,size:F,shape:ee,maxPopoverPlacement:Z,maxPopoverTrigger:ae,children:q,max:L}=s,J=T("avatar",U),ge=`${J}-group`,oe=(0,p.Z)(J),[de,he,ye]=_(J,oe),be=m()(ge,{[`${ge}-rtl`]:R==="rtl"},ye,oe,B,D,he),se=(0,te.Z)(q).map((G,Pe)=>(0,le.Tm)(G,{key:`avatar-key-${Pe}`})),ve=(L==null?void 0:L.count)||A,fe=se.length;if(ve&&ve{const{getPrefixCls:v,direction:c}=r.useContext(C.E_),{gutter:O,wrap:P}=r.useContext(a.Z),{prefixCls:k,span:j,order:X,offset:_,push:Q,pull:K,className:z,children:H,flex:te,style:le}=S,w=E(S,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),l=v("col",k),[u,x,t]=(0,$.cG)(l),i={};let s={};M.forEach(d=>{let g={};const T=S[d];typeof T=="number"?g.span=T:typeof T=="object"&&(g=T||{}),delete w[d],s=Object.assign(Object.assign({},s),{[`${l}-${d}-${g.span}`]:g.span!==void 0,[`${l}-${d}-order-${g.order}`]:g.order||g.order===0,[`${l}-${d}-offset-${g.offset}`]:g.offset||g.offset===0,[`${l}-${d}-push-${g.push}`]:g.push||g.push===0,[`${l}-${d}-pull-${g.pull}`]:g.pull||g.pull===0,[`${l}-rtl`]:c==="rtl"}),g.flex&&(s[`${l}-${d}-flex`]=!0,i[`--${l}-${d}-flex`]=p(g.flex))});const b=m()(l,{[`${l}-${j}`]:j!==void 0,[`${l}-order-${X}`]:X,[`${l}-offset-${_}`]:_,[`${l}-push-${Q}`]:Q,[`${l}-pull-${K}`]:K},z,s,x,t),f={};if(O&&O[0]>0){const d=O[0]/2;f.paddingLeft=d,f.paddingRight=d}return te&&(f.flex=p(te),P===!1&&!f.minWidth&&(f.minWidth=0)),u(r.createElement("div",Object.assign({},w,{style:Object.assign(Object.assign(Object.assign({},f),le),i),className:b,ref:h}),H))});o.Z=y},39844:function(Y,o,e){"use strict";var r=e(75271),n=e(82187),m=e.n(n),C=e(60570),a=e(49903),$=e(44087),E=e(40782),p=function(v,c){var O={};for(var P in v)Object.prototype.hasOwnProperty.call(v,P)&&c.indexOf(P)<0&&(O[P]=v[P]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,P=Object.getOwnPropertySymbols(v);k{if(typeof v=="string"&&P(v),typeof v=="object")for(let j=0;j{k()},[JSON.stringify(v),c]),O}const h=r.forwardRef((v,c)=>{const{prefixCls:O,justify:P,align:k,className:j,style:X,children:_,gutter:Q=0,wrap:K}=v,z=p(v,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:H,direction:te}=r.useContext(a.E_),[le,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[l,u]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),x=S(k,l),t=S(P,l),i=r.useRef(Q),s=(0,C.ZP)();r.useEffect(()=>{const F=s.subscribe(ee=>{u(ee);const Z=i.current||0;(!Array.isArray(Z)&&typeof Z=="object"||Array.isArray(Z)&&(typeof Z[0]=="object"||typeof Z[1]=="object"))&&w(ee)});return()=>s.unsubscribe(F)},[]);const b=()=>{const F=[void 0,void 0];return(Array.isArray(Q)?Q:[Q,void 0]).forEach((Z,ae)=>{if(typeof Z=="object")for(let q=0;q0?R[0]/-2:void 0;D&&(B.marginLeft=D,B.marginRight=D);const[I,A]=R;B.rowGap=A;const V=r.useMemo(()=>({gutter:[I,A],wrap:K}),[I,A,K]);return d(r.createElement($.Z.Provider,{value:V},r.createElement("div",Object.assign({},z,{className:U,style:Object.assign(Object.assign({},B),X),ref:c}),_)))});o.Z=h},36764:function(Y,o,e){"use strict";var r=e(39844);o.Z=r.Z},99564:function(Y,o,e){"use strict";var r=e(65957).default;Object.defineProperty(o,"__esModule",{value:!0}),o.defaultPrefixCls=o.defaultIconPrefixCls=o.Variants=o.ConfigContext=o.ConfigConsumer=void 0;var n=r(e(75271));const m=o.defaultPrefixCls="ant",C=o.defaultIconPrefixCls="anticon",a=o.Variants=["outlined","borderless","filled"],$=(M,y)=>y||(M?`${m}-${M}`:m),E=o.ConfigContext=n.createContext({getPrefixCls:$,iconPrefixCls:C}),{Consumer:p}=E;o.ConfigConsumer=p},16371:function(Y,o,e){"use strict";"use client";Object.defineProperty(o,"__esModule",{value:!0}),o.textEllipsis=o.resetIcon=o.resetComponent=o.operationUnit=o.genLinkStyle=o.genIconStyle=o.genFocusStyle=o.genFocusOutline=o.genCommonStyle=o.clearFix=void 0;var r=e(31876);const n=o.textEllipsis={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},m=function(h){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:h.colorText,fontSize:h.fontSize,lineHeight:h.lineHeight,listStyle:"none",fontFamily:v?"inherit":h.fontFamily}};o.resetComponent=m;const C=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});o.resetIcon=C;const a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}});o.clearFix=a;const $=h=>({a:{color:h.colorLink,textDecoration:h.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${h.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:h.colorLinkHover},"&:active":{color:h.colorLinkActive},"&:active, &:hover":{textDecoration:h.linkHoverDecoration,outline:0},"&:focus":{textDecoration:h.linkFocusDecoration,outline:0},"&[disabled]":{color:h.colorTextDisabled,cursor:"not-allowed"}}});o.genLinkStyle=$;const E=(h,v,c,O)=>{const P=`[class^="${v}"], [class*=" ${v}"]`,k=c?`.${c}`:P,j={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let X={};return O!==!1&&(X={fontFamily:h.fontFamily,fontSize:h.fontSize}),{[k]:Object.assign(Object.assign(Object.assign({},X),j),{[P]:j})}};o.genCommonStyle=E;const p=(h,v)=>({outline:`${(0,r.unit)(h.lineWidthFocus)} solid ${h.colorPrimaryBorder}`,outlineOffset:v!=null?v:1,transition:"outline-offset 0s, outline 0s"});o.genFocusOutline=p;const M=(h,v)=>({"&:focus-visible":Object.assign({},p(h,v))});o.genFocusStyle=M;const y=h=>({[`.${h}`]:Object.assign(Object.assign({},C()),{[`.${h} .${h}-icon`]:{display:"block"}})});o.genIconStyle=y;const S=h=>Object.assign(Object.assign({color:h.colorLink,textDecoration:h.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${h.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},M(h)),{"&:focus, &:hover":{color:h.colorLinkHover},"&:active":{color:h.colorLinkActive}});o.operationUnit=S},95780:function(Y,o,e){"use strict";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.defaultTheme=o.defaultConfig=o.DesignTokenContext=void 0;var n=r(e(75271)),m=e(31876),C=r(e(28943)),a=r(e(90182));const $=o.defaultTheme=(0,m.createTheme)(C.default),E=o.defaultConfig={token:a.default,override:{override:a.default},hashed:!0},p=o.DesignTokenContext=n.default.createContext(E)},12216:function(Y,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"PresetColors",{enumerable:!0,get:function(){return r.PresetColors}});var r=e(21083)},21083:function(Y,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.PresetColors=void 0;const e=o.PresetColors=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},91474:function(Y,o,e){"use strict";var r,n=e(26538).default;r={value:!0},r={enumerable:!0,get:function(){return S.DesignTokenContext}},r={enumerable:!0,get:function(){return a.PresetColors}},r={enumerable:!0,get:function(){return C.genCalc}},r={enumerable:!0,get:function(){return S.defaultConfig}},r={enumerable:!0,get:function(){return p.genComponentStyleHook}},Object.defineProperty(o,"jb",{enumerable:!0,get:function(){return M.default}}),r={enumerable:!0,get:function(){return p.genStyleHooks}},r={enumerable:!0,get:function(){return p.genSubStyleComponent}},r={enumerable:!0,get:function(){return $.getLineHeight}},r={enumerable:!0,get:function(){return C.mergeToken}},r={enumerable:!0,get:function(){return C.statistic}},r={enumerable:!0,get:function(){return C.statisticToken}},r={enumerable:!0,get:function(){return y.default}},r={enumerable:!0,get:function(){return m.useStyleRegister}},r={enumerable:!0,get:function(){return E.default}};var m=e(31876),C=e(84458),a=e(12216),$=e(2381),E=n(e(94817)),p=e(62582),M=n(e(93224)),y=n(e(28374)),S=e(95780)},12652:function(Y,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getSolidColor=o.getAlphaColor=void 0;var r=e(84432);const n=(C,a)=>new r.FastColor(C).setA(a).toRgbString();o.getAlphaColor=n;const m=(C,a)=>new r.FastColor(C).darken(a).toHexString();o.getSolidColor=m},89198:function(Y,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNeutralColorPalettes=o.generateColorPalettes=void 0;var r=e(68640),n=e(12652);const m=a=>{const $=(0,r.generate)(a);return{1:$[0],2:$[1],3:$[2],4:$[3],5:$[4],6:$[5],7:$[6],8:$[4],9:$[5],10:$[6]}};o.generateColorPalettes=m;const C=(a,$)=>{const E=a||"#fff",p=$||"#000";return{colorBgBase:E,colorTextBase:p,colorText:(0,n.getAlphaColor)(p,.88),colorTextSecondary:(0,n.getAlphaColor)(p,.65),colorTextTertiary:(0,n.getAlphaColor)(p,.45),colorTextQuaternary:(0,n.getAlphaColor)(p,.25),colorFill:(0,n.getAlphaColor)(p,.15),colorFillSecondary:(0,n.getAlphaColor)(p,.06),colorFillTertiary:(0,n.getAlphaColor)(p,.04),colorFillQuaternary:(0,n.getAlphaColor)(p,.02),colorBgSolid:(0,n.getAlphaColor)(p,1),colorBgSolidHover:(0,n.getAlphaColor)(p,.75),colorBgSolidActive:(0,n.getAlphaColor)(p,.95),colorBgLayout:(0,n.getSolidColor)(E,4),colorBgContainer:(0,n.getSolidColor)(E,0),colorBgElevated:(0,n.getSolidColor)(E,0),colorBgSpotlight:(0,n.getAlphaColor)(p,.85),colorBgBlur:"transparent",colorBorder:(0,n.getSolidColor)(E,15),colorBorderSecondary:(0,n.getSolidColor)(E,6)}};o.generateNeutralColorPalettes=C},28943:function(Y,o,e){"use strict";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.default=y;var n=e(68640),m=e(90182),C=r(e(41197)),a=r(e(79170)),$=r(e(5583)),E=r(e(96882)),p=r(e(4379)),M=e(89198);function y(S){n.presetPrimaryColors.pink=n.presetPrimaryColors.magenta,n.presetPalettes.pink=n.presetPalettes.magenta;const h=Object.keys(m.defaultPresetColors).map(v=>{const c=S[v]===n.presetPrimaryColors[v]?n.presetPalettes[v]:(0,n.generate)(S[v]);return new Array(10).fill(1).reduce((O,P,k)=>(O[`${v}-${k+1}`]=c[k],O[`${v}${k+1}`]=c[k],O),{})}).reduce((v,c)=>(v=Object.assign(Object.assign({},v),c),v),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S),h),(0,C.default)(S,{generateColorPalettes:M.generateColorPalettes,generateNeutralColorPalettes:M.generateNeutralColorPalettes})),(0,E.default)(S.fontSize)),(0,p.default)(S)),(0,$.default)(S)),(0,a.default)(S))}},41197:function(Y,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=n;var r=e(84432);function n(m,C){let{generateColorPalettes:a,generateNeutralColorPalettes:$}=C;const{colorSuccess:E,colorWarning:p,colorError:M,colorInfo:y,colorPrimary:S,colorBgBase:h,colorTextBase:v}=m,c=a(S),O=a(E),P=a(p),k=a(M),j=a(y),X=$(h,v),_=m.colorLink||m.colorInfo,Q=a(_),K=new r.FastColor(k[1]).mix(new r.FastColor(k[3]),50).toHexString();return Object.assign(Object.assign({},X),{colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:O[1],colorSuccessBgHover:O[2],colorSuccessBorder:O[3],colorSuccessBorderHover:O[4],colorSuccessHover:O[4],colorSuccess:O[6],colorSuccessActive:O[7],colorSuccessTextHover:O[8],colorSuccessText:O[9],colorSuccessTextActive:O[10],colorErrorBg:k[1],colorErrorBgHover:k[2],colorErrorBgFilledHover:K,colorErrorBgActive:k[3],colorErrorBorder:k[3],colorErrorBorderHover:k[4],colorErrorHover:k[5],colorError:k[6],colorErrorActive:k[7],colorErrorTextHover:k[8],colorErrorText:k[9],colorErrorTextActive:k[10],colorWarningBg:P[1],colorWarningBgHover:P[2],colorWarningBorder:P[3],colorWarningBorderHover:P[4],colorWarningHover:P[4],colorWarning:P[6],colorWarningActive:P[7],colorWarningTextHover:P[8],colorWarningText:P[9],colorWarningTextActive:P[10],colorInfoBg:j[1],colorInfoBgHover:j[2],colorInfoBorder:j[3],colorInfoBorderHover:j[4],colorInfoHover:j[4],colorInfo:j[6],colorInfoActive:j[7],colorInfoTextHover:j[8],colorInfoText:j[9],colorInfoTextActive:j[10],colorLinkHover:Q[4],colorLink:Q[6],colorLinkActive:Q[7],colorBgMask:new r.FastColor("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}},79170:function(Y,o,e){"use strict";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.default=m;var n=r(e(32448));function m(C){const{motionUnit:a,motionBase:$,borderRadius:E,lineWidth:p}=C;return Object.assign({motionDurationFast:`${($+a).toFixed(1)}s`,motionDurationMid:`${($+a*2).toFixed(1)}s`,motionDurationSlow:`${($+a*3).toFixed(1)}s`,lineWidthBold:p+1},(0,n.default)(E))}},5583:function(Y,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;const e=n=>{const{controlHeight:m}=n;return{controlHeightSM:m*.75,controlHeightXS:m*.5,controlHeightLG:m*1.25}};var r=o.default=e},96882:function(Y,o,e){"use strict";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n=r(e(2381));const m=a=>{const $=(0,n.default)(a),E=$.map(O=>O.size),p=$.map(O=>O.lineHeight),M=E[1],y=E[0],S=E[2],h=p[1],v=p[0],c=p[2];return{fontSizeSM:y,fontSize:M,fontSizeLG:S,fontSizeXL:E[3],fontSizeHeading1:E[6],fontSizeHeading2:E[5],fontSizeHeading3:E[4],fontSizeHeading4:E[3],fontSizeHeading5:E[2],lineHeight:h,lineHeightLG:c,lineHeightSM:v,fontHeight:Math.round(h*M),fontHeightLG:Math.round(c*S),fontHeightSM:Math.round(v*y),lineHeightHeading1:p[6],lineHeightHeading2:p[5],lineHeightHeading3:p[4],lineHeightHeading4:p[3],lineHeightHeading5:p[2]}};var C=o.default=m},2381:function(Y,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=r,o.getLineHeight=e;function e(n){return(n+8)/n}function r(n){const m=new Array(10).fill(null).map((C,a)=>{const $=a-1,E=n*Math.pow(Math.E,$/5),p=a>1?Math.floor(E):Math.ceil(E);return Math.floor(p/2)*2});return m[1]=n,m.map(C=>({size:C,lineHeight:e(C)}))}},32448:function(Y,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;const e=n=>{let m=n,C=n,a=n,$=n;return n<6&&n>=5?m=n+1:n<16&&n>=6?m=n+2:n>=16&&(m=16),n<7&&n>=5?C=4:n<8&&n>=7?C=5:n<14&&n>=8?C=6:n<16&&n>=14?C=7:n>=16&&(C=8),n<6&&n>=2?a=1:n>=6&&(a=2),n>4&&n<8?$=4:n>=8&&($=6),{borderRadius:n,borderRadiusXS:a,borderRadiusSM:C,borderRadiusLG:m,borderRadiusOuter:$}};var r=o.default=e},4379:function(Y,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=e;function e(r){const{sizeUnit:n,sizeStep:m}=r;return{sizeXXL:n*(m+8),sizeXL:n*(m+4),sizeLG:n*(m+2),sizeMD:n*(m+1),sizeMS:n*m,size:n*m,sizeSM:n*(m-1),sizeXS:n*(m-2),sizeXXS:n*(m-3)}}},94817:function(Y,o,e){"use strict";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.default=v,o.unitless=o.ignore=o.getComputedToken=void 0;var n=r(e(75271)),m=e(31876),C=r(e(68906)),a=e(95780),$=r(e(90182)),E=r(e(52569)),p=function(c,O){var P={};for(var k in c)Object.prototype.hasOwnProperty.call(c,k)&&O.indexOf(k)<0&&(P[k]=c[k]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,k=Object.getOwnPropertySymbols(c);j{const k=P.getDerivativeToken(c),{override:j}=O,X=p(O,["override"]);let _=Object.assign(Object.assign({},k),{override:j});return _=(0,E.default)(_),X&&Object.entries(X).forEach(Q=>{let[K,z]=Q;const{theme:H}=z,te=p(z,["theme"]);let le=te;H&&(le=h(Object.assign(Object.assign({},_),te),{override:te},H)),_[K]=le}),_};o.getComputedToken=h;function v(){const{token:c,hashed:O,theme:P,override:k,cssVar:j}=n.default.useContext(a.DesignTokenContext),X=`${C.default}-${O||""}`,_=P||a.defaultTheme,[Q,K,z]=(0,m.useCacheToken)(_,[$.default,c],{salt:X,override:k,getComputedToken:h,formatToken:E.default,cssVar:j&&{prefix:j.prefix,key:j.key,unitless:M,ignore:y,preserve:S}});return[_,z,O?K:"",Q,j]}},93224:function(Y,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=n;var r=e(12216);function n(m,C){return r.PresetColors.reduce((a,$)=>{const E=m[`${$}1`],p=m[`${$}3`],M=m[`${$}6`],y=m[`${$}7`];return Object.assign(Object.assign({},a),C($,{lightColor:E,lightBorderColor:p,darkColor:M,textColor:y}))},{})}},62582:function(Y,o,e){"use strict";var r=e(65957).default;Object.defineProperty(o,"__esModule",{value:!0}),o.genSubStyleComponent=o.genStyleHooks=o.genComponentStyleHook=void 0;var n=e(75271),m=e(84458),C=e(99564),a=e(16371),$=r(e(94817));const{genStyleHooks:E,genComponentStyleHook:p,genSubStyleComponent:M}=(0,m.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:y,iconPrefixCls:S}=(0,n.useContext)(C.ConfigContext);return{rootPrefixCls:y(),iconPrefixCls:S}},useToken:()=>{const[y,S,h,v,c]=(0,$.default)();return{theme:y,realToken:S,hashId:h,token:v,cssVar:c}},useCSP:()=>{const{csp:y}=(0,n.useContext)(C.ConfigContext);return y!=null?y:{}},getResetStyles:(y,S)=>{var h;return[{"&":(0,a.genLinkStyle)(y)},(0,a.genIconStyle)((h=S==null?void 0:S.prefix.iconPrefixCls)!==null&&h!==void 0?h:C.defaultIconPrefixCls)]},getCommonStyle:a.genCommonStyle,getCompUnitless:()=>$.unitless});o.genSubStyleComponent=M,o.genComponentStyleHook=p,o.genStyleHooks=E},28374:function(Y,o,e){"use strict";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n=e(31876),m=e(16371),C=r(e(94817));const a=(E,p)=>{const[M,y]=(0,C.default)();return(0,n.useStyleRegister)({theme:M,token:y,hashId:"",path:["ant-design-icons",E],nonce:()=>p==null?void 0:p.nonce,layer:{name:"antd"}},()=>[(0,m.genIconStyle)(E)])};var $=o.default=a},68906:function(Y,o,e){"use strict";"use client";var r=e(26538).default;Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n=r(e(19600)),m=o.default=n.default},19600:function(Y,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=o.default="5.23.1"},16483:function(Y){(function(o,e){Y.exports=e()})(this,function(){"use strict";var o=1e3,e=6e4,r=36e5,n="millisecond",m="second",C="minute",a="hour",$="day",E="week",p="month",M="quarter",y="year",S="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(w){var l=["th","st","nd","rd"],u=w%100;return"["+w+(l[(u-20)%10]||l[u]||l[0])+"]"}},P=function(w,l,u){var x=String(w);return!x||x.length>=l?w:""+Array(l+1-x.length).join(u)+w},k={s:P,z:function(w){var l=-w.utcOffset(),u=Math.abs(l),x=Math.floor(u/60),t=u%60;return(l<=0?"+":"-")+P(x,2,"0")+":"+P(t,2,"0")},m:function w(l,u){if(l.date()1)return w(s[0])}else{var b=l.name;X[b]=l,t=b}return!x&&t&&(j=t),t||!x&&j},z=function(w,l){if(Q(w))return w.clone();var u=typeof l=="object"?l:{};return u.date=w,u.args=arguments,new te(u)},H=k;H.l=K,H.i=Q,H.w=function(w,l){return z(w,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var te=function(){function w(u){this.$L=K(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[_]=!0}var l=w.prototype;return l.parse=function(u){this.$d=function(x){var t=x.date,i=x.utc;if(t===null)return new Date(NaN);if(H.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var s=t.match(v);if(s){var b=s[2]-1||0,f=(s[7]||"0").substring(0,3);return i?new Date(Date.UTC(s[1],b,s[3]||1,s[4]||0,s[5]||0,s[6]||0,f)):new Date(s[1],b,s[3]||1,s[4]||0,s[5]||0,s[6]||0,f)}}return new Date(t)}(u),this.init()},l.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},l.$utils=function(){return H},l.isValid=function(){return this.$d.toString()!==h},l.isSame=function(u,x){var t=z(u);return this.startOf(x)<=t&&t<=this.endOf(x)},l.isAfter=function(u,x){return z(u)typeof M=="object"&&M!=null&&M.nodeType===1,n=(M,y)=>(!y||M!=="hidden")&&M!=="visible"&&M!=="clip",m=(M,y)=>{if(M.clientHeight{const v=(c=>{if(!c.ownerDocument||!c.ownerDocument.defaultView)return null;try{return c.ownerDocument.defaultView.frameElement}catch(O){return null}})(h);return!!v&&(v.clientHeightcy||c>M&&O=y&&P>=S?c-M-h:O>y&&PS?O-y+v:0,a=M=>{const y=M.parentElement;return y==null?M.getRootNode().host||null:y},$=(M,y)=>{var S,h,v,c;if(typeof document=="undefined")return[];const{scrollMode:O,block:P,inline:k,boundary:j,skipOverflowHiddenElements:X}=y,_=typeof j=="function"?j:B=>B!==j;if(!r(M))throw new TypeError("Invalid target");const Q=document.scrollingElement||document.documentElement,K=[];let z=M;for(;r(z)&&_(z);){if(z=a(z),z===Q){K.push(z);break}z!=null&&z===document.body&&m(z)&&!m(document.documentElement)||z!=null&&m(z,X)&&K.push(z)}const H=(h=(S=window.visualViewport)==null?void 0:S.width)!=null?h:innerWidth,te=(c=(v=window.visualViewport)==null?void 0:v.height)!=null?c:innerHeight,{scrollX:le,scrollY:w}=window,{height:l,width:u,top:x,right:t,bottom:i,left:s}=M.getBoundingClientRect(),{top:b,right:f,bottom:d,left:g}=(B=>{const D=window.getComputedStyle(B);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(M);let T=P==="start"||P==="nearest"?x-b:P==="end"?i+d:x+l/2-b+d,R=k==="center"?s+u/2-g+f:k==="end"?t+f:s-g;const U=[];for(let B=0;B=0&&s>=0&&i<=te&&t<=H&&x>=V&&i<=ee&&s>=Z&&t<=F)return U;const ae=getComputedStyle(D),q=parseInt(ae.borderLeftWidth,10),L=parseInt(ae.borderTopWidth,10),J=parseInt(ae.borderRightWidth,10),ge=parseInt(ae.borderBottomWidth,10);let oe=0,de=0;const he="offsetWidth"in D?D.offsetWidth-D.clientWidth-q-J:0,ye="offsetHeight"in D?D.offsetHeight-D.clientHeight-L-ge:0,be="offsetWidth"in D?D.offsetWidth===0?0:A/D.offsetWidth:0,se="offsetHeight"in D?D.offsetHeight===0?0:I/D.offsetHeight:0;if(Q===D)oe=P==="start"?T:P==="end"?T-te:P==="nearest"?C(w,w+te,te,L,ge,w+T,w+T+l,l):T-te/2,de=k==="start"?R:k==="center"?R-H/2:k==="end"?R-H:C(le,le+H,H,q,J,le+R,le+R+u,u),oe=Math.max(0,oe+w),de=Math.max(0,de+le);else{oe=P==="start"?T-V-L:P==="end"?T-ee+ge+ye:P==="nearest"?C(V,ee,I,L,ge+ye,T,T+l,l):T-(V+I/2)+ye/2,de=k==="start"?R-Z-q:k==="center"?R-(Z+A/2)+he/2:k==="end"?R-F+J+he:C(Z,F,A,q,J+he,R,R+u,u);const{scrollLeft:ve,scrollTop:fe}=D;oe=se===0?0:Math.max(0,Math.min(fe+oe/se,D.scrollHeight-I/se+ye)),de=be===0?0:Math.max(0,Math.min(ve+de/be,D.scrollWidth-A/be+he)),T+=fe-oe,R+=ve-de}U.push({el:D,top:oe,left:de})}return U},E=M=>M===!1?{block:"end",inline:"nearest"}:(y=>y===Object(y)&&Object.keys(y).length!==0)(M)?M:{block:"start",inline:"nearest"};function p(M,y){if(!M.isConnected||!(v=>{let c=v;for(;c&&c.parentNode;){if(c.parentNode===document)return!0;c=c.parentNode instanceof ShadowRoot?c.parentNode.host:c.parentNode}return!1})(M))return;const S=(v=>{const c=window.getComputedStyle(v);return{top:parseFloat(c.scrollMarginTop)||0,right:parseFloat(c.scrollMarginRight)||0,bottom:parseFloat(c.scrollMarginBottom)||0,left:parseFloat(c.scrollMarginLeft)||0}})(M);if((v=>typeof v=="object"&&typeof v.behavior=="function")(y))return y.behavior($(M,y));const h=typeof y=="boolean"||y==null?void 0:y.behavior;for(const{el:v,top:c,left:O}of $(M,E(y))){const P=c-S.top+S.bottom,k=O-S.left+S.right;v.scroll({top:P,left:k,behavior:h})}}}}]); diff --git a/27.34c4988b.async.js b/27.34c4988b.async.js new file mode 100644 index 000000000..a89e21c73 --- /dev/null +++ b/27.34c4988b.async.js @@ -0,0 +1,11 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[27],{41973:function(Bn,$,Re){var X=Re(75271);function y(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,l=1;l