@skaldapp/runtime 3.4.10 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,172 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-DAXXjFlN.js";import{i as t}from"./markdown-BUPhMiJ2.js";var n=t();function r(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var i=Object.freeze({}),a=()=>{},o=()=>!1,s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=Object.assign,l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>y(e)===`[object Map]`,p=e=>y(e)===`[object Set]`,m=e=>typeof e==`function`,h=e=>typeof e==`string`,g=e=>typeof e==`symbol`,_=e=>typeof e==`object`&&!!e,v=Object.prototype.toString,y=e=>v.call(e),b=e=>y(e)===`[object Object]`,x=r(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),S=r(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),C=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},w=/-\w/g,T=C(e=>e.replace(w,e=>e.slice(1).toUpperCase())),E=/\B([A-Z])/g,ee=C(e=>e.replace(E,`-$1`).toLowerCase()),D=C(e=>e.charAt(0).toUpperCase()+e.slice(1)),O=C(e=>e?`on${D(e)}`:``),k=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function A(e){return k.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function te(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}var j={1:`TEXT`,2:`CLASS`,4:`STYLE`,8:`PROPS`,16:`FULL_PROPS`,32:`NEED_HYDRATION`,64:`STABLE_FRAGMENT`,128:`KEYED_FRAGMENT`,256:`UNKEYED_FRAGMENT`,512:`NEED_PATCH`,1024:`DYNAMIC_SLOTS`,2048:`DEV_ROOT_FRAGMENT`,[-1]:`CACHED`,[-2]:`BAIL`},ne={1:`STABLE`,2:`DYNAMIC`,3:`FORWARDED`},re=r(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`),ie=2;function M(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return``;let r=e.split(/(\r?\n)/),i=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let a=0,o=[];for(let e=0;e<r.length;e++)if(a+=r[e].length+(i[e]&&i[e].length||0),a>=t){for(let s=e-ie;s<=e+ie||n>a;s++){if(s<0||s>=r.length)continue;let c=s+1;o.push(`${c}${` `.repeat(Math.max(3-String(c).length,0))}| ${r[s]}`);let l=r[s].length,u=i[s]&&i[s].length||0;if(s===e){let e=t-(a-(l+u)),r=Math.max(1,n>a?l-e:n-t);o.push(` | `+` `.repeat(e)+`^`.repeat(r))}else if(s>e){if(n>a){let e=Math.max(Math.min(n-a,l),1);o.push(` | `+`^`.repeat(e))}a+=l+u}}break}return o.join(`
2
- `)}function N(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=h(r)?se(r):N(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(h(e)||_(e))return e}var ae=/;(?![^(]*\))/g,P=/:([^]+)/,oe=/\/\*[^]*?\*\//g;function se(e){let t={};return e.replace(oe,``).split(ae).forEach(e=>{if(e){let n=e.split(P);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ce(e){if(!e)return``;if(h(e))return e;let t=``;for(let n in e){let r=e[n];if(h(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:ee(n);t+=`${e}:${r};`}}return t}function le(e){let t=``;if(h(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=le(e[n]);r&&(t+=r+` `)}else if(_(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var ue=`html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot`,de=`svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view`,fe=`annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics`,pe=`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`,me=r(ue),he=r(de),ge=r(fe),_e=r(pe),ve=r(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`),ye=/[>/="'\u0009\u000a\u000c\u0020]/,be={};function xe(e){if(be.hasOwnProperty(e))return be[e];let t=ye.test(e);return t&&console.error(`unsafe attribute name: ${e}`),be[e]=!t}var Se={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`},Ce=r(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`),we=r(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`),Te=r(`accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`),Ee=/["'&<>]/;function De(e){let t=``+e,n=Ee.exec(t);if(!n)return t;let r=``,i,a,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i=`&quot;`;break;case 38:i=`&amp;`;break;case 39:i=`&#39;`;break;case 60:i=`&lt;`;break;case 62:i=`&gt;`;break;default:continue}o!==a&&(r+=t.slice(o,a)),o=a+1,r+=i}return o===a?r:r+t.slice(o,a)}var Oe=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function ke(e,t){return e.replace(Oe,e=>t?e===`"`?`\\\\\\"`:`\\\\${e}`:`\\${e}`)}var Ae=e=>!!(e&&e.__v_isRef===!0),je=e=>h(e)?e:e==null?``:d(e)||_(e)&&(e.toString===v||!m(e.toString))?Ae(e)?je(e.value):JSON.stringify(e,Me,2):String(e),Me=(e,t)=>Ae(t)?Me(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ne(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ne(e))}:g(t)?Ne(t):_(t)&&!d(t)&&!b(t)?String(t):t,Ne=(e,t=``)=>g(e)?`Symbol(${e.description??t})`:e,Pe=Symbol(`Fragment`),Fe=Symbol(`Teleport`),Ie=Symbol(`Suspense`),Le=Symbol(`KeepAlive`),Re=Symbol(`BaseTransition`),ze=Symbol(`openBlock`),Be=Symbol(`createBlock`),Ve=Symbol(`createElementBlock`),He=Symbol(`createVNode`),Ue=Symbol(`createElementVNode`),We=Symbol(`createCommentVNode`),Ge=Symbol(`createTextVNode`),Ke=Symbol(`createStaticVNode`),qe=Symbol(`resolveComponent`),Je=Symbol(`resolveDynamicComponent`),Ye=Symbol(`resolveDirective`),Xe=Symbol(`resolveFilter`),F=Symbol(`withDirectives`),Ze=Symbol(`renderList`),Qe=Symbol(`renderSlot`),$e=Symbol(`createSlots`),et=Symbol(`toDisplayString`),tt=Symbol(`mergeProps`),nt=Symbol(`normalizeClass`),rt=Symbol(`normalizeStyle`),it=Symbol(`normalizeProps`),at=Symbol(`guardReactiveProps`),ot=Symbol(`toHandlers`),st=Symbol(`camelize`),ct=Symbol(`capitalize`),lt=Symbol(`toHandlerKey`),ut=Symbol(`setBlockTracking`),dt=Symbol(`pushScopeId`),ft=Symbol(`popScopeId`),pt=Symbol(`withCtx`),mt=Symbol(`unref`),ht=Symbol(`isRef`),gt=Symbol(`withMemo`),_t=Symbol(`isMemoSame`),vt={[Pe]:`Fragment`,[Fe]:`Teleport`,[Ie]:`Suspense`,[Le]:`KeepAlive`,[Re]:`BaseTransition`,[ze]:`openBlock`,[Be]:`createBlock`,[Ve]:`createElementBlock`,[He]:`createVNode`,[Ue]:`createElementVNode`,[We]:`createCommentVNode`,[Ge]:`createTextVNode`,[Ke]:`createStaticVNode`,[qe]:`resolveComponent`,[Je]:`resolveDynamicComponent`,[Ye]:`resolveDirective`,[Xe]:`resolveFilter`,[F]:`withDirectives`,[Ze]:`renderList`,[Qe]:`renderSlot`,[$e]:`createSlots`,[et]:`toDisplayString`,[tt]:`mergeProps`,[nt]:`normalizeClass`,[rt]:`normalizeStyle`,[it]:`normalizeProps`,[at]:`guardReactiveProps`,[ot]:`toHandlers`,[st]:`camelize`,[ct]:`capitalize`,[lt]:`toHandlerKey`,[ut]:`setBlockTracking`,[dt]:`pushScopeId`,[ft]:`popScopeId`,[pt]:`withCtx`,[mt]:`unref`,[ht]:`isRef`,[gt]:`withMemo`,[_t]:`isMemoSame`};function yt(e){Object.getOwnPropertySymbols(e).forEach(t=>{vt[t]=e[t]})}var bt={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},xt={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},St={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},Ct={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},I={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function wt(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:I}}function Tt(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=I){return e&&(s?(e.helper(ze),e.helper(Bt(e.inSSR,l))):e.helper(zt(e.inSSR,l)),o&&e.helper(F)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function Et(e,t=I){return{type:17,loc:t,elements:e}}function Dt(e,t=I){return{type:15,loc:t,properties:e}}function L(e,t){return{type:16,loc:I,key:h(e)?R(e,!0):e,value:t}}function R(e,t=!1,n=I,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Ot(e,t){return{type:5,loc:t,content:h(e)?R(e,!1,t):e}}function kt(e,t=I){return{type:8,loc:t,children:e}}function z(e,t=[],n=I){return{type:14,loc:n,callee:e,arguments:t}}function At(e,t=void 0,n=!1,r=!1,i=I){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function jt(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:I}}function Mt(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:I}}function Nt(e){return{type:21,body:e,loc:I}}function Pt(e){return{type:22,elements:e,loc:I}}function Ft(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:I}}function It(e,t){return{type:24,left:e,right:t,loc:I}}function Lt(e){return{type:25,expressions:e,loc:I}}function Rt(e){return{type:26,returns:e,loc:I}}function zt(e,t){return e||t?He:Ue}function Bt(e,t){return e||t?Be:Ve}function Vt(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(zt(r,e.isComponent)),t(ze),t(Bt(r,e.isComponent)))}var Ht=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ut=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function Wt(e){return e>=55296&&e<=57343||e>1114111?65533:Ht.get(e)??e}var Gt=typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{},Kt=[],qt=[],Jt=typeof Uint8Array<`u`?Uint8Array:Array,Yt=!1;function Xt(){Yt=!0;for(var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,t=0,n=e.length;t<n;++t)Kt[t]=e[t],qt[e.charCodeAt(t)]=t;qt[45]=62,qt[95]=63}function Zt(e){Yt||Xt();var t,n,r,i,a,o,s=e.length;if(s%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);a=e[s-2]===`=`?2:+(e[s-1]===`=`),o=new Jt(s*3/4-a),r=a>0?s-4:s;var c=0;for(t=0,n=0;t<r;t+=4,n+=3)i=qt[e.charCodeAt(t)]<<18|qt[e.charCodeAt(t+1)]<<12|qt[e.charCodeAt(t+2)]<<6|qt[e.charCodeAt(t+3)],o[c++]=i>>16&255,o[c++]=i>>8&255,o[c++]=i&255;return a===2?(i=qt[e.charCodeAt(t)]<<2|qt[e.charCodeAt(t+1)]>>4,o[c++]=i&255):a===1&&(i=qt[e.charCodeAt(t)]<<10|qt[e.charCodeAt(t+1)]<<4|qt[e.charCodeAt(t+2)]>>2,o[c++]=i>>8&255,o[c++]=i&255),o}function Qt(e){return Kt[e>>18&63]+Kt[e>>12&63]+Kt[e>>6&63]+Kt[e&63]}function B(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(Qt(r));return i.join(``)}function $t(e){Yt||Xt();for(var t,n=e.length,r=n%3,i=``,a=[],o=16383,s=0,c=n-r;s<c;s+=o)a.push(B(e,s,s+o>c?c:s+o));return r===1?(t=e[n-1],i+=Kt[t>>2],i+=Kt[t<<4&63],i+=`==`):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=Kt[t>>10],i+=Kt[t>>4&63],i+=Kt[t<<2&63],i+=`=`),a.push(i),a.join(``)}function en(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)}function tn(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128}var nn={}.toString,rn=Array.isArray||function(e){return nn.call(e)==`[object Array]`},an=50;V.TYPED_ARRAY_SUPPORT=Gt.TYPED_ARRAY_SUPPORT===void 0||Gt.TYPED_ARRAY_SUPPORT,on();function on(){return V.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function sn(e,t){if(on()<t)throw RangeError(`Invalid typed array length`);return V.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=V.prototype):(e===null&&(e=new V(t)),e.length=t),e}function V(e,t,n){if(!V.TYPED_ARRAY_SUPPORT&&!(this instanceof V))return new V(e,t,n);if(typeof e==`number`){if(typeof t==`string`)throw Error(`If encoding is specified then the first argument must be a string`);return dn(this,e)}return cn(this,e,t,n)}V.poolSize=8192,V._augment=function(e){return e.__proto__=V.prototype,e};function cn(e,t,n,r){if(typeof t==`number`)throw TypeError(`"value" argument must not be a number`);return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer?mn(e,t,n,r):typeof t==`string`?fn(e,t,n):hn(e,t)}V.from=function(e,t,n){return cn(null,e,t,n)},V.TYPED_ARRAY_SUPPORT&&(V.prototype.__proto__=Uint8Array.prototype,V.__proto__=Uint8Array,typeof Symbol<`u`&&Symbol.species&&V[Symbol.species]);function ln(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be a number`);if(e<0)throw RangeError(`"size" argument must not be negative`)}function un(e,t,n,r){return ln(t),t<=0||n===void 0?sn(e,t):typeof r==`string`?sn(e,t).fill(n,r):sn(e,t).fill(n)}V.alloc=function(e,t,n){return un(null,e,t,n)};function dn(e,t){if(ln(t),e=sn(e,t<0?0:gn(t)|0),!V.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}V.allocUnsafe=function(e){return dn(null,e)},V.allocUnsafeSlow=function(e){return dn(null,e)};function fn(e,t,n){if((typeof n!=`string`||n===``)&&(n=`utf8`),!V.isEncoding(n))throw TypeError(`"encoding" must be a valid string encoding`);var r=vn(t,n)|0;e=sn(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function pn(e,t){var n=t.length<0?0:gn(t.length)|0;e=sn(e,n);for(var r=0;r<n;r+=1)e[r]=t[r]&255;return e}function mn(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw RangeError(`'offset' is out of bounds`);if(t.byteLength<n+(r||0))throw RangeError(`'length' is out of bounds`);return t=n===void 0&&r===void 0?new Uint8Array(t):r===void 0?new Uint8Array(t,n):new Uint8Array(t,n,r),V.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=V.prototype):e=pn(e,t),e}function hn(e,t){if(_n(t)){var n=gn(t.length)|0;return e=sn(e,n),e.length===0||t.copy(e,0,0,n),e}if(t){if(typeof ArrayBuffer<`u`&&t.buffer instanceof ArrayBuffer||`length`in t)return typeof t.length!=`number`||$n(t.length)?sn(e,0):pn(e,t);if(t.type===`Buffer`&&rn(t.data))return pn(e,t.data)}throw TypeError(`First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.`)}function gn(e){if(e>=on())throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+on().toString(16)+` bytes`);return e|0}V.isBuffer=er;function _n(e){return!!(e!=null&&e._isBuffer)}V.compare=function(e,t){if(!_n(e)||!_n(t))throw TypeError(`Arguments must be Buffers`);if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},V.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},V.concat=function(e,t){if(!rn(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return V.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=V.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!_n(a))throw TypeError(`"list" argument must be an Array of Buffers`);a.copy(r,i),i+=a.length}return r};function vn(e,t){if(_n(e))return e.length;if(typeof ArrayBuffer<`u`&&typeof ArrayBuffer.isView==`function`&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!=`string`&&(e=``+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:case void 0:return Jn(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return Zn(e).length;default:if(r)return Jn(e).length;t=(``+t).toLowerCase(),r=!0}}V.byteLength=vn;function yn(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return Fn(this,t,n);case`utf8`:case`utf-8`:return An(this,t,n);case`ascii`:return Nn(this,t,n);case`latin1`:case`binary`:return Pn(this,t,n);case`base64`:return kn(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return In(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}V.prototype._isBuffer=!0;function bn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}V.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(var t=0;t<e;t+=2)bn(this,t,t+1);return this},V.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(var t=0;t<e;t+=4)bn(this,t,t+3),bn(this,t+1,t+2);return this},V.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(var t=0;t<e;t+=8)bn(this,t,t+7),bn(this,t+1,t+6),bn(this,t+2,t+5),bn(this,t+3,t+4);return this},V.prototype.toString=function(){var e=this.length|0;return e===0?``:arguments.length===0?An(this,0,e):yn.apply(this,arguments)},V.prototype.equals=function(e){if(!_n(e))throw TypeError(`Argument must be a Buffer`);return this===e||V.compare(this,e)===0},V.prototype.inspect=function(){var e=``,t=an;return this.length>0&&(e=this.toString(`hex`,0,t).match(/.{2}/g).join(` `),this.length>t&&(e+=` ... `)),`<Buffer `+e+`>`},V.prototype.compare=function(e,t,n,r,i){if(!_n(e))throw TypeError(`Argument must be a Buffer`);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),u=0;u<s;++u)if(c[u]!==l[u]){a=c[u],o=l[u];break}return a<o?-1:+(o<a)};function xn(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=V.from(t,r)),_n(t))return t.length===0?-1:Sn(e,t,n,r,i);if(typeof t==`number`)return t&=255,V.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Sn(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function Sn(e,t,n,r,i){var a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}var l;if(i){var u=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===s)return u*a}else u!==-1&&(l-=l-u),u=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){for(var d=!0,f=0;f<s;f++)if(c(e,l+f)!==c(t,f)){d=!1;break}if(d)return l}return-1}V.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},V.prototype.indexOf=function(e,t,n){return xn(this,e,t,n,!0)},V.prototype.lastIndexOf=function(e,t,n){return xn(this,e,t,n,!1)};function Cn(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var a=t.length;if(a%2!=0)throw TypeError(`Invalid hex string`);r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(o*2,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function wn(e,t,n,r){return Qn(Jn(t,e.length-n),e,n,r)}function Tn(e,t,n,r){return Qn(Yn(t),e,n,r)}function En(e,t,n,r){return Tn(e,t,n,r)}function Dn(e,t,n,r){return Qn(Zn(t),e,n,r)}function On(e,t,n,r){return Qn(Xn(t,e.length-n),e,n,r)}V.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t|=0,isFinite(n)?(n|=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;for(var a=!1;;)switch(r){case`hex`:return Cn(this,e,t,n);case`utf8`:case`utf-8`:return wn(this,e,t,n);case`ascii`:return Tn(this,e,t,n);case`latin1`:case`binary`:return En(this,e,t,n);case`base64`:return Dn(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return On(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},V.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function kn(e,t,n){return t===0&&n===e.length?$t(e):$t(e.slice(t,n))}function An(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a=e[i],o=null,s=a>239?4:a>223?3:a>191?2:1;if(i+s<=n){var c,l,u,d;switch(s){case 1:a<128&&(o=a);break;case 2:c=e[i+1],(c&192)==128&&(d=(a&31)<<6|c&63,d>127&&(o=d));break;case 3:c=e[i+1],l=e[i+2],(c&192)==128&&(l&192)==128&&(d=(a&15)<<12|(c&63)<<6|l&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:c=e[i+1],l=e[i+2],u=e[i+3],(c&192)==128&&(l&192)==128&&(u&192)==128&&(d=(a&15)<<18|(c&63)<<12|(l&63)<<6|u&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),i+=s}return Mn(r)}var jn=4096;function Mn(e){var t=e.length;if(t<=jn)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=jn));return n}function Nn(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function Pn(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Fn(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i=``,a=t;a<n;++a)i+=qn(e[a]);return i}function In(e,t,n){for(var r=e.slice(t,n),i=``,a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+r[a+1]*256);return i}V.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var r;if(V.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=V.prototype;else{var i=t-e;r=new V(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r};function Ln(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}V.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Ln(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},V.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Ln(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},V.prototype.readUInt8=function(e,t){return t||Ln(e,1,this.length),this[e]},V.prototype.readUInt16LE=function(e,t){return t||Ln(e,2,this.length),this[e]|this[e+1]<<8},V.prototype.readUInt16BE=function(e,t){return t||Ln(e,2,this.length),this[e]<<8|this[e+1]},V.prototype.readUInt32LE=function(e,t){return t||Ln(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},V.prototype.readUInt32BE=function(e,t){return t||Ln(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},V.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Ln(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},V.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Ln(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},V.prototype.readInt8=function(e,t){return t||Ln(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},V.prototype.readInt16LE=function(e,t){t||Ln(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},V.prototype.readInt16BE=function(e,t){t||Ln(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},V.prototype.readInt32LE=function(e,t){return t||Ln(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},V.prototype.readInt32BE=function(e,t){return t||Ln(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},V.prototype.readFloatLE=function(e,t){return t||Ln(e,4,this.length),en(this,e,!0,23,4)},V.prototype.readFloatBE=function(e,t){return t||Ln(e,4,this.length),en(this,e,!1,23,4)},V.prototype.readDoubleLE=function(e,t){return t||Ln(e,8,this.length),en(this,e,!0,52,8)},V.prototype.readDoubleBE=function(e,t){return t||Ln(e,8,this.length),en(this,e,!1,52,8)};function Rn(e,t,n,r,i,a){if(!_n(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}V.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;Rn(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=e&255;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},V.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;Rn(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},V.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,1,255,0),V.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function zn(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>(r?i:1-i)*8}V.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,2,65535,0),V.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):zn(this,e,t,!0),t+2},V.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,2,65535,0),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):zn(this,e,t,!1),t+2};function Bn(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>(r?i:3-i)*8&255}V.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,4,4294967295,0),V.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):Bn(this,e,t,!0),t+4},V.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,4,4294967295,0),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Bn(this,e,t,!1),t+4},V.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);Rn(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=e&255;++a<n&&(o*=256);)e<0&&s===0&&this[t+a-1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},V.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);Rn(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&s===0&&this[t+a+1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},V.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,1,127,-128),V.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1},V.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,2,32767,-32768),V.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):zn(this,e,t,!0),t+2},V.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,2,32767,-32768),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):zn(this,e,t,!1),t+2},V.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,4,2147483647,-2147483648),V.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Bn(this,e,t,!0),t+4},V.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Rn(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Bn(this,e,t,!1),t+4};function Vn(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function Hn(e,t,n,r,i){return i||Vn(e,t,n,4),tn(e,t,n,r,23,4),n+4}V.prototype.writeFloatLE=function(e,t,n){return Hn(this,e,t,!0,n)},V.prototype.writeFloatBE=function(e,t,n){return Hn(this,e,t,!1,n)};function Un(e,t,n,r,i){return i||Vn(e,t,n,8),tn(e,t,n,r,52,8),n+8}V.prototype.writeDoubleLE=function(e,t,n){return Un(this,e,t,!0,n)},V.prototype.writeDoubleBE=function(e,t,n){return Un(this,e,t,!1,n)},V.prototype.copy=function(e,t,n,r){if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`sourceStart out of bounds`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n,a;if(this===e&&n<t&&t<r)for(a=i-1;a>=0;--a)e[a+t]=this[a+n];else if(i<1e3||!V.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},V.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),e.length===1){var i=e.charCodeAt(0);i<256&&(e=i)}if(r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!V.isEncoding(r))throw TypeError(`Unknown encoding: `+r)}else typeof e==`number`&&(e&=255);if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;var a;if(typeof e==`number`)for(a=t;a<n;++a)this[a]=e;else{var o=_n(e)?e:Jn(new V(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var Wn=/[^+\/0-9A-Za-z-_]/g;function Gn(e){if(e=Kn(e).replace(Wn,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function Kn(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function qn(e){return e<16?`0`+e.toString(16):e.toString(16)}function Jn(e,t){t||=1/0;for(var n,r=e.length,i=null,a=[],o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function Yn(e){for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function Xn(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function Zn(e){return Zt(Gn(e))}function Qn(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function $n(e){return e!==e}function er(e){return e!=null&&(!!e._isBuffer||tr(e)||nr(e))}function tr(e){return!!e.constructor&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}function nr(e){return typeof e.readFloatLE==`function`&&typeof e.slice==`function`&&tr(e.slice(0,0))}function rr(e){let t=typeof atob==`function`?atob(e):typeof V.from==`function`?V.from(e,`base64`).toString(`binary`):new V(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}var ir=rr(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg`),ar;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(ar||={});var H;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(H||={});var or=32;function sr(e){return e>=H.ZERO&&e<=H.NINE}function cr(e){return e>=H.UPPER_A&&e<=H.UPPER_F||e>=H.LOWER_A&&e<=H.LOWER_F}function lr(e){return e>=H.UPPER_A&&e<=H.UPPER_Z||e>=H.LOWER_A&&e<=H.LOWER_Z||sr(e)}function ur(e){return e===H.EQUALS||lr(e)}var dr;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(dr||={});var fr;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(fr||={});var pr=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=dr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=fr.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=dr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case dr.EntityStart:return e.charCodeAt(t)===H.NUM?(this.state=dr.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=dr.NamedEntity,this.stateNamedEntity(e,t));case dr.NumericStart:return this.stateNumericStart(e,t);case dr.NumericDecimal:return this.stateNumericDecimal(e,t);case dr.NumericHex:return this.stateNumericHex(e,t);case dr.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|or)===H.LOWER_X?(this.state=dr.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=dr.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(sr(n)||cr(n)){let e=n<=H.NINE?n-H.ZERO:(n|or)-H.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(sr(n))this.result=this.result*10+(n-H.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===H.SEMI)this.consumed+=1;else if(this.decodeMode===fr.Strict)return 0;return this.emitCodePoint(Wt(this.result),this.consumed),this.errors&&(e!==H.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&ar.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&ar.FLAG13)!==0){let a=(r&ar.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&ar.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&ar.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===H.SEMI&&i!==0&&(r&ar.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=hr(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===fr.Attribute&&(i===0||ur(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&ar.VALUE_LENGTH)>>14,i!==0){if(a===H.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==fr.Strict&&(r&ar.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&ar.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(ar.VALUE_LENGTH|ar.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case dr.NamedEntity:return this.result!==0&&(this.decodeMode!==fr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case dr.NumericDecimal:return this.emitNumericEntity(0,2);case dr.NumericHex:return this.emitNumericEntity(0,3);case dr.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case dr.EntityStart:return 0}}};function mr(e){let t=``,n=new pr(e,e=>t+=Ut(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function hr(e,t,n,r){let i=(t&ar.BRANCH_LENGTH)>>7,a=t&ar.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}var gr=mr(ir);function _r(e,t=fr.Legacy){return gr(e,t)}var vr=new Uint8Array([123,123]),yr=new Uint8Array([125,125]);function br(e){return e>=97&&e<=122||e>=65&&e<=90}function xr(e){return e===32||e===10||e===9||e===12||e===13}function Sr(e){return e===47||e===62||xr(e)}function Cr(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}var wr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},Tr=class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=vr,this.delimiterClose=yr,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new pr(ir,(e,t)=>this.emitCodePoint(e,t))}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=vr,this.delimiterClose=yr}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){let r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let t=r-1;t>=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?Sr(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||xr(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===wr.TitleEnd||this.currentSequence===wr.TextareaEnd&&!this.inSFCRoot?e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===wr.Cdata[this.sequenceIndex]?++this.sequenceIndex===wr.Cdata.length&&(this.state=28,this.currentSequence=wr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===wr.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):br(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Sr(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Sr(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(Cr(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){xr(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=br(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||xr(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):xr(e)||(e===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):xr(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||Sr(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):(e===34||e===39||e===60)&&this.cbs.onerr(17,this.index)}stateInDirName(e){e===61||Sr(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||Sr(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||Sr(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||Sr(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):xr(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):xr(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){e===t?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11):e===38&&this.startEntity()}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){xr(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):e===34||e===39||e===60||e===61||e===96?this.cbs.onerr(18,this.index):e===38&&this.startEntity()}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=wr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===wr.ScriptEnd[3]?this.startSpecial(wr.ScriptEnd,4):e===wr.StyleEnd[3]?this.startSpecial(wr.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===wr.TitleEnd[3]?this.startSpecial(wr.TitleEnd,4):e===wr.TextareaEnd[3]?this.startSpecial(wr.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?fr.Legacy:fr.Attribute)}stateInEntity(){{let e=this.entityDecoder.write(this.buffer,this.index);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();break}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.state===33&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===wr.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(Ut(e),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(Ut(e),this.entityStart,this.sectionStart))}},Er={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},Dr={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_OBJECT_ORDER:{message:`v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-bind.html`},COMPILER_V_ON_NATIVE:{message:`.native modifier for v-on has been removed as is no longer necessary.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:`v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`},COMPILER_NATIVE_TEMPLATE:{message:`<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`},COMPILER_INLINE_TEMPLATE:{message:`"inline-template" has been removed in Vue 3.`,link:`https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`},COMPILER_FILTERS:{message:`filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,link:`https://v3-migration.vuejs.org/breaking-changes/filters.html`}};function Or(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function kr(e,t){let n=Or(`MODE`,t),r=Or(e,t);return n===3?r===!0:r!==!1}function Ar(e,t,n,...r){let i=kr(e,t);return i&&jr(e,t,n,...r),i}function jr(e,t,n,...r){if(Or(e,t)===`suppress-warning`)return;let{message:i,link:a}=Dr[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
3
- Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function Mr(e){throw e}function Nr(e){console.warn(`[Vue warn] ${e.message}`)}function U(e,t,n,r){let i=(n||Fr)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}var Pr={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:`ABRUPT_CLOSING_OF_EMPTY_COMMENT`,CDATA_IN_HTML_CONTENT:1,1:`CDATA_IN_HTML_CONTENT`,DUPLICATE_ATTRIBUTE:2,2:`DUPLICATE_ATTRIBUTE`,END_TAG_WITH_ATTRIBUTES:3,3:`END_TAG_WITH_ATTRIBUTES`,END_TAG_WITH_TRAILING_SOLIDUS:4,4:`END_TAG_WITH_TRAILING_SOLIDUS`,EOF_BEFORE_TAG_NAME:5,5:`EOF_BEFORE_TAG_NAME`,EOF_IN_CDATA:6,6:`EOF_IN_CDATA`,EOF_IN_COMMENT:7,7:`EOF_IN_COMMENT`,EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:`EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT`,EOF_IN_TAG:9,9:`EOF_IN_TAG`,INCORRECTLY_CLOSED_COMMENT:10,10:`INCORRECTLY_CLOSED_COMMENT`,INCORRECTLY_OPENED_COMMENT:11,11:`INCORRECTLY_OPENED_COMMENT`,INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:`INVALID_FIRST_CHARACTER_OF_TAG_NAME`,MISSING_ATTRIBUTE_VALUE:13,13:`MISSING_ATTRIBUTE_VALUE`,MISSING_END_TAG_NAME:14,14:`MISSING_END_TAG_NAME`,MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:`MISSING_WHITESPACE_BETWEEN_ATTRIBUTES`,NESTED_COMMENT:16,16:`NESTED_COMMENT`,UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:`UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME`,UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:`UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE`,UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:`UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME`,UNEXPECTED_NULL_CHARACTER:20,20:`UNEXPECTED_NULL_CHARACTER`,UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:`UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME`,UNEXPECTED_SOLIDUS_IN_TAG:22,22:`UNEXPECTED_SOLIDUS_IN_TAG`,X_INVALID_END_TAG:23,23:`X_INVALID_END_TAG`,X_MISSING_END_TAG:24,24:`X_MISSING_END_TAG`,X_MISSING_INTERPOLATION_END:25,25:`X_MISSING_INTERPOLATION_END`,X_MISSING_DIRECTIVE_NAME:26,26:`X_MISSING_DIRECTIVE_NAME`,X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:`X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END`,X_V_IF_NO_EXPRESSION:28,28:`X_V_IF_NO_EXPRESSION`,X_V_IF_SAME_KEY:29,29:`X_V_IF_SAME_KEY`,X_V_ELSE_NO_ADJACENT_IF:30,30:`X_V_ELSE_NO_ADJACENT_IF`,X_V_FOR_NO_EXPRESSION:31,31:`X_V_FOR_NO_EXPRESSION`,X_V_FOR_MALFORMED_EXPRESSION:32,32:`X_V_FOR_MALFORMED_EXPRESSION`,X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:`X_V_FOR_TEMPLATE_KEY_PLACEMENT`,X_V_BIND_NO_EXPRESSION:34,34:`X_V_BIND_NO_EXPRESSION`,X_V_ON_NO_EXPRESSION:35,35:`X_V_ON_NO_EXPRESSION`,X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:`X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET`,X_V_SLOT_MIXED_SLOT_USAGE:37,37:`X_V_SLOT_MIXED_SLOT_USAGE`,X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:`X_V_SLOT_DUPLICATE_SLOT_NAMES`,X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:`X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN`,X_V_SLOT_MISPLACED:40,40:`X_V_SLOT_MISPLACED`,X_V_MODEL_NO_EXPRESSION:41,41:`X_V_MODEL_NO_EXPRESSION`,X_V_MODEL_MALFORMED_EXPRESSION:42,42:`X_V_MODEL_MALFORMED_EXPRESSION`,X_V_MODEL_ON_SCOPE_VARIABLE:43,43:`X_V_MODEL_ON_SCOPE_VARIABLE`,X_V_MODEL_ON_PROPS:44,44:`X_V_MODEL_ON_PROPS`,X_V_MODEL_ON_CONST:45,45:`X_V_MODEL_ON_CONST`,X_INVALID_EXPRESSION:46,46:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:47,47:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:48,48:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:49,49:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:50,50:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:51,51:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:52,52:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:54,54:`__EXTEND_POINT__`},Fr={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '&lt;' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,53:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
4
- Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`v-model cannot be used on a const binding because it is not writable.`,46:`Error parsing JavaScript expression: `,47:`<KeepAlive> expects exactly one child component.`,52:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,48:`"prefixIdentifiers" option is not supported in this build of compiler.`,49:`ES module mode is not supported in this build of compiler.`,50:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,51:`"scopeId" option is only supported in module mode.`,54:``};function Ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function Lr(e){if(Object.prototype.hasOwnProperty.call(e,`__esModule`))return e;var t=e.default;if(typeof t==`function`){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var Rr={},zr;function Br(){if(zr)return Rr;zr=1,Object.defineProperty(Rr,"__esModule",{value:!0});function e(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}class t{constructor(e,t,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=n}}class n{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function r(e,n){let{line:r,column:i,index:a}=e;return new t(r,i+n,a+n)}let i=`BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED`;var a={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:i},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:i}};let o={ArrayPattern:`array destructuring pattern`,AssignmentExpression:`assignment expression`,AssignmentPattern:`assignment expression`,ArrowFunctionExpression:`arrow function expression`,ConditionalExpression:`conditional expression`,CatchClause:`catch clause`,ForOfStatement:`for-of statement`,ForInStatement:`for-in statement`,ForStatement:`for-loop`,FormalParameters:`function parameter list`,Identifier:`identifier`,ImportSpecifier:`import specifier`,ImportDefaultSpecifier:`import default specifier`,ImportNamespaceSpecifier:`import namespace specifier`,ObjectPattern:`object destructuring pattern`,ParenthesizedExpression:`parenthesized expression`,RestElement:`rest element`,UpdateExpression:{true:`prefix operation`,false:`postfix operation`},VariableDeclarator:`variable declaration`,YieldExpression:`yield expression`},s=e=>e.type===`UpdateExpression`?o.UpdateExpression[`${e.prefix}`]:o[e.type];var c={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:`'arguments' is only allowed in functions and class methods.`,AsyncFunctionInSingleStatementContext:`Async functions can only be declared at the top level or inside a block.`,AwaitBindingIdentifier:`Can not use 'await' as identifier inside an async function.`,AwaitBindingIdentifierInStaticBlock:`Can not use 'await' as identifier inside a static block.`,AwaitExpressionFormalParameter:`'await' is not allowed in async function parameters.`,AwaitUsingNotInAsyncContext:`'await using' is only allowed within async functions and at the top levels of modules.`,AwaitNotInAsyncContext:`'await' is only allowed within async functions and at the top levels of modules.`,BadGetterArity:`A 'get' accessor must not have any formal parameters.`,BadSetterArity:`A 'set' accessor must have exactly one formal parameter.`,BadSetterRestParameter:`A 'set' accessor function argument must not be a rest parameter.`,ConstructorClassField:`Classes may not have a field named 'constructor'.`,ConstructorClassPrivateField:`Classes may not have a private field named '#constructor'.`,ConstructorIsAccessor:`Class constructor may not be an accessor.`,ConstructorIsAsync:`Constructor can't be an async function.`,ConstructorIsGenerator:`Constructor can't be a generator.`,DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:`Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.`,DecoratorBeforeExport:`Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.`,DecoratorsBeforeAfterExport:`Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.`,DecoratorConstructor:`Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?`,DecoratorExportClass:`Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.`,DecoratorSemicolon:`Decorators must not be followed by a semicolon.`,DecoratorStaticBlock:`Decorators can't be used with a static block.`,DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:`Deleting a private field is not allowed.`,DestructureNamedImport:`ES2015 named imports do not destructure. Use another statement for destructuring after the import.`,DuplicateConstructor:`Duplicate constructor in the same class.`,DuplicateDefaultExport:`Only one default export allowed per module.`,DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:`Redefinition of __proto__ property.`,DuplicateRegExpFlags:`Duplicate regular expression flag.`,ElementAfterRest:`Rest element must be last element.`,EscapedCharNotAnIdentifier:`Invalid Unicode escape.`,ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:`'from' is not allowed as an identifier after 'export default'.`,ForInOfLoopInitializer:({type:e})=>`'${e===`ForInStatement`?`for-in`:`for-of`}' loop variable declaration may not have an initializer.`,ForInUsing:`For-in loop may not start with 'using' declaration.`,ForOfAsync:`The left-hand side of a for-of loop may not be 'async'.`,ForOfLet:`The left-hand side of a for-of loop may not start with 'let'.`,GeneratorInSingleStatementContext:`Generators can only be declared at the top level or inside a block.`,IllegalBreakContinue:({type:e})=>`Unsyntactic ${e===`BreakStatement`?`break`:`continue`}.`,IllegalLanguageModeDirective:`Illegal 'use strict' directive in function with non-simple parameter list.`,IllegalReturn:`'return' outside of function.`,ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:`Cannot use new with import(...).`,ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:`The 'u' and 'v' regular expression flags cannot be enabled at the same time.`,InvalidBigIntLiteral:`Invalid BigIntLiteral.`,InvalidCodePoint:`Code point out of bounds.`,InvalidCoverDiscardElement:`'void' must be followed by an expression when not used in a binding position.`,InvalidCoverInitializedName:`Invalid shorthand property initializer.`,InvalidDecimal:`Invalid decimal.`,InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:`Bad character escape sequence.`,InvalidEscapeSequenceTemplate:`Invalid escape sequence in template.`,InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${s(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${s(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${s(e)}.`,InvalidNumber:`Invalid number.`,InvalidOrMissingExponent:`Floating-point numbers require a valid exponent after the 'e'.`,InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:`Invalid parenthesized assignment pattern.`,InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:`Binding member expression.`,InvalidRecordProperty:`Only properties and spread elements are allowed in record definitions.`,InvalidRestAssignmentPattern:`Invalid rest operator's argument.`,LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:`'let' is disallowed as a lexically bound name.`,LineTerminatorBeforeArrow:`No line break is allowed before '=>'.`,MalformedRegExpFlags:`Invalid regular expression flag.`,MissingClassName:`A class name is required.`,MissingEqInAssignment:`Only '=' operator can be used for specifying default value.`,MissingSemicolon:`Missing semicolon.`,MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(e=>JSON.stringify(e)).join(`, `)}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(e=>JSON.stringify(e)).join(`, `)}.`,MissingUnicodeEscape:`Expecting Unicode escape sequence \\uXXXX.`,MixingCoalesceWithLogical:`Nullish coalescing operator(??) requires parens when mixing with logical operators.`,ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:`Only string literals are allowed as module attribute values.`,ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:`Multiple default clauses.`,NewlineAfterThrow:`Illegal newline after throw.`,NoCatchOrFinally:`Missing catch or finally clause.`,NumberIdentifier:`Identifier directly after number.`,NumericSeparatorInEscapeSequence:`Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.`,ObsoleteAwaitStar:`'await*' has been removed from the async functions proposal. Use Promise.all() instead.`,OptionalChainingNoNew:`Constructors in/after an Optional Chain are not allowed.`,OptionalChainingNoTemplate:`Tagged Template Literals are not allowed in optionalChain.`,OverrideOnConstructor:`'override' modifier cannot appear on a constructor declaration.`,ParamDupe:`Argument name clash.`,PatternHasAccessor:`Object pattern can't contain getter or setter.`,PatternHasMethod:`Object pattern can't contain methods.`,PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:`Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,RecordExpressionBarIncorrectStartSyntaxType:`Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,RecordExpressionHashIncorrectStartSyntaxType:`Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.`,RecordNoProto:`'__proto__' is not allowed in Record expressions.`,RestTrailingComma:`Unexpected trailing comma after rest element.`,SloppyFunction:`In non-strict mode code, functions can only be declared at top level or inside a block.`,SloppyFunctionAnnexB:`In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.`,SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:`Classes may not have static property named prototype.`,SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:`Private fields can't be accessed on super.`,TrailingDecorator:`Decorators must be attached to a class element.`,TupleExpressionBarIncorrectEndSyntaxType:`Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,TupleExpressionBarIncorrectStartSyntaxType:`Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,TupleExpressionHashIncorrectStartSyntaxType:`Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.`,UnexpectedArgumentPlaceholder:`Unexpected argument placeholder.`,UnexpectedAwaitAfterPipelineBody:`Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.`,UnexpectedDigitAfterHash:`Unexpected digit after hash token.`,UnexpectedImportExport:`'import' and 'export' may only appear at the top level.`,UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:`Leading decorators must be attached to a class declaration.`,UnexpectedLexicalDeclaration:`Lexical declaration cannot appear in a single-statement context.`,UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:`A numeric separator is only allowed between two digits.`,UnexpectedPrivateField:`Unexpected private name.`,UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:`'super' is only allowed in object methods and classes.`,UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:``}${e?`, expected "${e}"`:``}`,UnexpectedTokenUnaryExponentiation:`Illegal expression. Wrap left hand side or entire exponentiation in parentheses.`,UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:`Unexpected void binding.`,UnsupportedBind:`Binding should be performed on object property.`,UnsupportedDecoratorExport:`A decorated export must export a class declaration.`,UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:`Decorators cannot be used to decorate parameters.`,UnsupportedPropertyDecorator:`Decorators cannot be used to decorate object literal properties.`,UnsupportedSuper:`'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).`,UnterminatedComment:`Unterminated comment.`,UnterminatedRegExp:`Unterminated regular expression.`,UnterminatedString:`Unterminated string constant.`,UnterminatedTemplate:`Unterminated template.`,UsingDeclarationExport:`Using declaration cannot be exported.`,UsingDeclarationHasBindingPattern:`Using declaration cannot have destructuring patterns.`,VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:`A void binding may not have an initializer.`,YieldBindingIdentifier:`Can not use 'yield' as identifier inside a generator.`,YieldInParameter:`Yield expression is not allowed in formal parameters.`,YieldNotInGeneratorFunction:`'yield' is only allowed within generator functions.`,ZeroDigitNumericSeparator:`Numeric separator can not be used after leading 0.`},l={StrictDelete:`Deleting local variable in strict mode.`,StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:`In strict mode code, functions can only be declared at top level or inside a block.`,StrictNumericEscape:`The only valid numeric escape in strict mode is '\\0'.`,StrictOctalLiteral:`Legacy octal literals are not allowed in strict mode.`,StrictWith:`'with' in strict mode.`},u={ParseExpressionEmptyInput:`Unexpected parseExpression() input: The input is empty or contains only comments.`,ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`};let d=new Set([`ArrowFunctionExpression`,`AssignmentExpression`,`ConditionalExpression`,`YieldExpression`]);var f=Object.assign({PipeBodyIsTighter:`Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.`,PipeTopicRequiresHackPipes:`Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.`,PipeTopicUnbound:`Topic reference is unbound; it must be inside a pipe body.`,PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:`Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.`,PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${s({type:e})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:`Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.`,PipelineBodySequenceExpression:`Pipeline body may not be a comma-separated sequence expression.`,PipelineHeadSequenceExpression:`Pipeline head should not be a comma-separated sequence expression.`,PipelineTopicUnused:`Pipeline is in topic style but does not use topic reference.`,PrimaryTopicNotAllowed:`Topic reference was used in a lexical context without topic binding.`,PrimaryTopicRequiresSmartPipeline:`Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.`});let p=[`message`];function m(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:n})}function h({toMessage:e,code:n,reasonCode:r,syntaxPlugin:i}){let a=r===`MissingPlugin`||r===`MissingOneOfPlugins`,o={AccessorCannotDeclareThisParameter:`AccesorCannotDeclareThisParameter`,AccessorCannotHaveTypeParameters:`AccesorCannotHaveTypeParameters`,ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:`ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference`,SetAccessorCannotHaveOptionalParameter:`SetAccesorCannotHaveOptionalParameter`,SetAccessorCannotHaveRestParameter:`SetAccesorCannotHaveRestParameter`,SetAccessorCannotHaveReturnType:`SetAccesorCannotHaveReturnType`};return o[r]&&(r=o[r]),function o(s,c){let l=SyntaxError();return l.code=n,l.reasonCode=r,l.loc=s,l.pos=s.index,l.syntaxPlugin=i,a&&(l.missingPlugin=c.missingPlugin),m(l,`clone`,function(e={}){let{line:n,column:r,index:i}=e.loc??s;return o(new t(n,r,i),Object.assign({},c,e.details))}),m(l,`details`,c),Object.defineProperty(l,"message",{configurable:!0,get(){let t=`${e(c)} (${s.line}:${s.column})`;return this.message=t,t},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),l}}function g(t,n){if(Array.isArray(t))return e=>g(e,t[0]);let r={};for(let i of Object.keys(t)){let a=t[i],o=typeof a==`string`?{message:()=>a}:typeof a==`function`?{message:a}:a,{message:s}=o,c=e(o,p);r[i]=h(Object.assign({code:`BABEL_PARSER_SYNTAX_ERROR`,reasonCode:i,toMessage:typeof s==`string`?()=>s:s},n?{syntaxPlugin:n}:{},c))}return r}let _=Object.assign({},g(a),g(c),g(l),g(u),g`pipelineOperator`(f));function v(){return{sourceType:`script`,sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function y(e){let t=v();if(e==null)return t;if(e.annexB!=null&&e.annexB!==!1)throw Error("The `annexB` option can only be set to `false`.");for(let n of Object.keys(t))e[n]!=null&&(t[n]=e[n]);if(t.startLine===1)e.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:e.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((e.startColumn==null||e.startIndex==null)&&e.startIndex!=null)throw Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(t.sourceType===`commonjs`){if(e.allowAwaitOutsideFunction!=null)throw Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(e.allowReturnOutsideFunction!=null)throw Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(e.allowNewTargetOutsideFunction!=null)throw Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}let{defineProperty:b}=Object,x=(e,t)=>{e&&b(e,t,{enumerable:!1,value:e[t]})};function S(e){return x(e.loc.start,`index`),x(e.loc.end,`index`),e}var C=e=>class extends e{parse(){let e=S(super.parse());return this.optionFlags&256&&(e.tokens=e.tokens.map(S)),e}parseRegExpLiteral({pattern:e,flags:t}){let n=null;try{n=new RegExp(e,t)}catch{}let r=this.estreeParseLiteral(n);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let n=this.estreeParseLiteral(t);return n.bigint=String(n.value||e),n}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,`Literal`)}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}estreeParseChainExpression(e,t){let n=this.startNodeAtNode(e);return n.expression=e,this.finishNodeAt(n,`ChainExpression`,t)}directiveToStmt(e){let t=e.value;delete e.value,this.castNodeTo(t,`Literal`),t.raw=t.extra.raw,t.value=t.extra.expressionValue;let n=this.castNodeTo(e,`ExpressionStatement`);return n.expression=t,n.directive=t.extra.rawValue,delete t.extra,n}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){let{start:t,end:n,loc:r,range:i,raw:a,value:o}=e,s=Object.create(e.constructor.prototype);return s.type=`Literal`,s.start=t,s.end=n,s.loc=r,s.range=i,s.raw=a,s.value=o,s}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type===`ExpressionStatement`&&e.expression.type===`Literal`&&typeof e.expression.value==`string`&&!((t=e.expression.extra)!=null&&t.parenthesized)}parseBlockBody(e,t,n,r,i){super.parseBlockBody(e,t,n,r,i),e.body=e.directives.map(e=>this.directiveToStmt(e)).concat(e.body),delete e.directives}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption(`estree`,`classFeatures`)?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,this.castNodeTo(e,`PrivateIdentifier`)}isPrivateName(e){return this.getPluginOption(`estree`,`classFeatures`)?e.type===`PrivateIdentifier`:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption(`estree`,`classFeatures`)?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let n=super.parseLiteral(e,t);return n.raw=n.extra.raw,delete n.extra,n}parseFunctionBody(e,t,n=!1){super.parseFunctionBody(e,t,n),e.expression=e.body.type!==`BlockStatement`}parseMethod(e,t,n,r,i,a,o=!1){let s=this.startNode();s.kind=e.kind,s=super.parseMethod(s,t,n,r,i,a,o),delete s.kind;let{typeParameters:c}=e;return c&&(delete e.typeParameters,s.typeParameters=c,this.resetStartLocationFromNode(s,c)),e.value=this.castNodeTo(s,`FunctionExpression`),a===`ClassPrivateMethod`&&(e.computed=!1),a===`ObjectMethod`?(e.kind===`method`&&(e.kind=`init`),e.shorthand=!1,this.finishNode(e,`Property`)):this.finishNode(e,`MethodDefinition`)}nameIsConstructor(e){return e.type===`Literal`?e.value===`constructor`:super.nameIsConstructor(e)}parseClassProperty(...e){let t=super.parseClassProperty(...e);return this.getPluginOption(`estree`,`classFeatures`)&&this.castNodeTo(t,`PropertyDefinition`),t}parseClassPrivateProperty(...e){let t=super.parseClassPrivateProperty(...e);return this.getPluginOption(`estree`,`classFeatures`)?(this.castNodeTo(t,`PropertyDefinition`),t.computed=!1,t):t}parseClassAccessorProperty(e){let t=super.parseClassAccessorProperty(e);return this.getPluginOption(`estree`,`classFeatures`)&&(t.abstract&&this.hasPlugin(`typescript`)?(delete t.abstract,this.castNodeTo(t,`TSAbstractAccessorProperty`)):this.castNodeTo(t,`AccessorProperty`)),t}parseObjectProperty(e,t,n,r){let i=super.parseObjectProperty(e,t,n,r);return i&&(i.kind=`init`,this.castNodeTo(i,`Property`)),i}finishObjectProperty(e){return e.kind=`init`,this.finishNode(e,`Property`)}isValidLVal(e,t,n,r){return e===`Property`?`value`:super.isValidLVal(e,t,n,r)}isAssignable(e,t){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(e!=null&&this.isObjectProperty(e)){let{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,n){e.type===`Property`&&(e.kind===`get`||e.kind===`set`)?this.raise(_.PatternHasAccessor,e.key):e.type===`Property`&&e.method?this.raise(_.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,n)}finishCallExpression(e,t){let n=super.finishCallExpression(e,t);return n.callee.type===`Import`?(this.castNodeTo(n,`ImportExpression`),n.source=n.arguments[0],n.options=n.arguments[1]??null,n.attributes=n.arguments[1]??null,delete n.arguments,delete n.callee):n.type===`OptionalCallExpression`?this.castNodeTo(n,`CallExpression`):n.optional=!1,n}toReferencedArguments(e){e.type!==`ImportExpression`&&super.toReferencedArguments(e)}parseExport(e,t){let n=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case`ExportAllDeclaration`:r.exported=null;break;case`ExportNamedDeclaration`:r.specifiers.length===1&&r.specifiers[0].type===`ExportNamespaceSpecifier`&&(this.castNodeTo(r,`ExportAllDeclaration`),r.exported=r.specifiers[0].exported,delete r.specifiers);case`ExportDefaultDeclaration`:{let{declaration:e}=r;e?.type===`ClassDeclaration`&&e.decorators?.length>0&&e.start===r.start&&this.resetStartLocation(r,n)}break}return r}stopParseSubscript(e,t){let n=super.stopParseSubscript(e,t);return t.optionalChainMember?this.estreeParseChainExpression(n,e.loc.end):n}parseMember(e,t,n,r,i){let a=super.parseMember(e,t,n,r,i);return a.type===`OptionalMemberExpression`?this.castNodeTo(a,`MemberExpression`):a.optional=!1,a}isOptionalMemberExpression(e){return e.type===`ChainExpression`?e.expression.type===`MemberExpression`:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type===`ChainExpression`&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type===`Property`&&e.kind===`init`&&!e.method}isObjectMethod(e){return e.type===`Property`&&(e.method||e.kind===`get`||e.kind===`set`)}castNodeTo(e,t){let n=super.castNodeTo(e,t);return this.fillOptionalPropertiesForTSESLint(n),n}cloneIdentifier(e){let t=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(t),t}cloneStringLiteral(e){return e.type===`Literal`?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,t,n){return S(super.finishNodeAt(e,t,n))}finishNode(e,t){let n=super.finishNode(e,t);return this.fillOptionalPropertiesForTSESLint(n),n}resetStartLocation(e,t){super.resetStartLocation(e,t),S(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),S(e)}};class w{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}let T={brace:new w(`{`),j_oTag:new w(`<tag`),j_cTag:new w(`</tag`),j_expr:new w(`<tag>...</tag>`,!0)};T.template=new w("`",!0);class E{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop==null?null:t.binop,this.updateContext=null}}let ee=new Map;function D(e,t={}){t.keyword=e;let n=M(e,t);return ee.set(e,n),n}function O(e,t){return M(e,{beforeExpr:!0,binop:t})}let k=-1,A=[],te=[],j=[],ne=[],re=[],ie=[];function M(e,t={}){return++k,te.push(e),j.push(t.binop??-1),ne.push(t.beforeExpr??!1),re.push(t.startsExpr??!1),ie.push(t.prefix??!1),A.push(new E(e,t)),k}function N(e,t={}){return++k,ee.set(e,k),te.push(e),j.push(t.binop??-1),ne.push(t.beforeExpr??!1),re.push(t.startsExpr??!1),ie.push(t.prefix??!1),A.push(new E(`name`,t)),k}let ae={bracketL:M(`[`,{beforeExpr:!0,startsExpr:!0}),bracketHashL:M(`#[`,{beforeExpr:!0,startsExpr:!0}),bracketBarL:M(`[|`,{beforeExpr:!0,startsExpr:!0}),bracketR:M(`]`),bracketBarR:M(`|]`),braceL:M(`{`,{beforeExpr:!0,startsExpr:!0}),braceBarL:M(`{|`,{beforeExpr:!0,startsExpr:!0}),braceHashL:M(`#{`,{beforeExpr:!0,startsExpr:!0}),braceR:M(`}`),braceBarR:M(`|}`),parenL:M(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:M(`)`),comma:M(`,`,{beforeExpr:!0}),semi:M(`;`,{beforeExpr:!0}),colon:M(`:`,{beforeExpr:!0}),doubleColon:M(`::`,{beforeExpr:!0}),dot:M(`.`),question:M(`?`,{beforeExpr:!0}),questionDot:M(`?.`),arrow:M(`=>`,{beforeExpr:!0}),template:M(`template`),ellipsis:M(`...`,{beforeExpr:!0}),backQuote:M("`",{startsExpr:!0}),dollarBraceL:M("${",{beforeExpr:!0,startsExpr:!0}),templateTail:M("...`",{startsExpr:!0}),templateNonTail:M("...${",{beforeExpr:!0,startsExpr:!0}),at:M(`@`),hash:M(`#`,{startsExpr:!0}),interpreterDirective:M(`#!...`),eq:M(`=`,{beforeExpr:!0,isAssign:!0}),assign:M(`_=`,{beforeExpr:!0,isAssign:!0}),slashAssign:M(`_=`,{beforeExpr:!0,isAssign:!0}),xorAssign:M(`_=`,{beforeExpr:!0,isAssign:!0}),moduloAssign:M(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:M(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),bang:M(`!`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:M(`~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:M(`^^`,{startsExpr:!0}),doubleAt:M(`@@`,{startsExpr:!0}),pipeline:O(`|>`,0),nullishCoalescing:O(`??`,1),logicalOR:O(`||`,1),logicalAND:O(`&&`,2),bitwiseOR:O(`|`,3),bitwiseXOR:O(`^`,4),bitwiseAND:O(`&`,5),equality:O(`==/!=/===/!==`,6),lt:O(`</>/<=/>=`,7),gt:O(`</>/<=/>=`,7),relational:O(`</>/<=/>=`,7),bitShift:O(`<</>>/>>>`,8),bitShiftL:O(`<</>>/>>>`,8),bitShiftR:O(`<</>>/>>>`,8),plusMin:M(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:M(`%`,{binop:10,startsExpr:!0}),star:M(`*`,{binop:10}),slash:O(`/`,10),exponent:M(`**`,{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:D(`in`,{beforeExpr:!0,binop:7}),_instanceof:D(`instanceof`,{beforeExpr:!0,binop:7}),_break:D(`break`),_case:D(`case`,{beforeExpr:!0}),_catch:D(`catch`),_continue:D(`continue`),_debugger:D(`debugger`),_default:D(`default`,{beforeExpr:!0}),_else:D(`else`,{beforeExpr:!0}),_finally:D(`finally`),_function:D(`function`,{startsExpr:!0}),_if:D(`if`),_return:D(`return`,{beforeExpr:!0}),_switch:D(`switch`),_throw:D(`throw`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:D(`try`),_var:D(`var`),_const:D(`const`),_with:D(`with`),_new:D(`new`,{beforeExpr:!0,startsExpr:!0}),_this:D(`this`,{startsExpr:!0}),_super:D(`super`,{startsExpr:!0}),_class:D(`class`,{startsExpr:!0}),_extends:D(`extends`,{beforeExpr:!0}),_export:D(`export`),_import:D(`import`,{startsExpr:!0}),_null:D(`null`,{startsExpr:!0}),_true:D(`true`,{startsExpr:!0}),_false:D(`false`,{startsExpr:!0}),_typeof:D(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:D(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:D(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:D(`do`,{isLoop:!0,beforeExpr:!0}),_for:D(`for`,{isLoop:!0}),_while:D(`while`,{isLoop:!0}),_as:N(`as`,{startsExpr:!0}),_assert:N(`assert`,{startsExpr:!0}),_async:N(`async`,{startsExpr:!0}),_await:N(`await`,{startsExpr:!0}),_defer:N(`defer`,{startsExpr:!0}),_from:N(`from`,{startsExpr:!0}),_get:N(`get`,{startsExpr:!0}),_let:N(`let`,{startsExpr:!0}),_meta:N(`meta`,{startsExpr:!0}),_of:N(`of`,{startsExpr:!0}),_sent:N(`sent`,{startsExpr:!0}),_set:N(`set`,{startsExpr:!0}),_source:N(`source`,{startsExpr:!0}),_static:N(`static`,{startsExpr:!0}),_using:N(`using`,{startsExpr:!0}),_yield:N(`yield`,{startsExpr:!0}),_asserts:N(`asserts`,{startsExpr:!0}),_checks:N(`checks`,{startsExpr:!0}),_exports:N(`exports`,{startsExpr:!0}),_global:N(`global`,{startsExpr:!0}),_implements:N(`implements`,{startsExpr:!0}),_intrinsic:N(`intrinsic`,{startsExpr:!0}),_infer:N(`infer`,{startsExpr:!0}),_is:N(`is`,{startsExpr:!0}),_mixins:N(`mixins`,{startsExpr:!0}),_proto:N(`proto`,{startsExpr:!0}),_require:N(`require`,{startsExpr:!0}),_satisfies:N(`satisfies`,{startsExpr:!0}),_keyof:N(`keyof`,{startsExpr:!0}),_readonly:N(`readonly`,{startsExpr:!0}),_unique:N(`unique`,{startsExpr:!0}),_abstract:N(`abstract`,{startsExpr:!0}),_declare:N(`declare`,{startsExpr:!0}),_enum:N(`enum`,{startsExpr:!0}),_module:N(`module`,{startsExpr:!0}),_namespace:N(`namespace`,{startsExpr:!0}),_interface:N(`interface`,{startsExpr:!0}),_type:N(`type`,{startsExpr:!0}),_opaque:N(`opaque`,{startsExpr:!0}),name:M(`name`,{startsExpr:!0}),placeholder:M(`%%`,{startsExpr:!0}),string:M(`string`,{startsExpr:!0}),num:M(`num`,{startsExpr:!0}),bigint:M(`bigint`,{startsExpr:!0}),decimal:M(`decimal`,{startsExpr:!0}),regexp:M(`regexp`,{startsExpr:!0}),privateName:M(`#name`,{startsExpr:!0}),eof:M(`eof`),jsxName:M(`jsxName`),jsxText:M(`jsxText`,{beforeExpr:!0}),jsxTagStart:M(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:M(`jsxTagEnd`)};function P(e){return e>=93&&e<=133}function oe(e){return e<=92}function se(e){return e>=58&&e<=133}function ce(e){return e>=58&&e<=137}function le(e){return ne[e]}function ue(e){return re[e]}function de(e){return e>=29&&e<=33}function fe(e){return e>=129&&e<=131}function pe(e){return e>=90&&e<=92}function me(e){return e>=58&&e<=92}function he(e){return e>=39&&e<=59}function ge(e){return e===34}function _e(e){return ie[e]}function ve(e){return e>=121&&e<=123}function ye(e){return e>=124&&e<=130}function be(e){return te[e]}function xe(e){return j[e]}function Se(e){return e===57}function Ce(e){return e>=24&&e<=25}function we(e){return A[e]}A[8].updateContext=e=>{e.pop()},A[5].updateContext=A[7].updateContext=A[23].updateContext=e=>{e.push(T.brace)},A[22].updateContext=e=>{e[e.length-1]===T.template?e.pop():e.push(T.template)},A[143].updateContext=e=>{e.push(T.j_expr,T.j_oTag)};let Te=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,Ee=`·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,De=RegExp(`[`+Te+`]`),Oe=RegExp(`[`+Te+Ee+`]`);Te=Ee=null;let ke=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Ae=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function je(e,t){let n=65536;for(let r=0,i=t.length;r<i;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function Me(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&De.test(String.fromCharCode(e)):je(e,ke)}function Ne(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Oe.test(String.fromCharCode(e)):je(e,ke)||je(e,Ae)}let Pe={keyword:`break.case.catch.continue.debugger.default.do.else.finally.for.function.if.return.switch.throw.try.var.const.while.with.new.this.super.class.extends.export.import.null.true.false.in.instanceof.typeof.void.delete`.split(`.`),strict:[`implements`,`interface`,`let`,`package`,`private`,`protected`,`public`,`static`,`yield`],strictBind:[`eval`,`arguments`]},Fe=new Set(Pe.keyword),Ie=new Set(Pe.strict),Le=new Set(Pe.strictBind);function Re(e,t){return t&&e===`await`||e===`enum`}function ze(e,t){return Re(e,t)||Ie.has(e)}function Be(e){return Le.has(e)}function Ve(e,t){return ze(e,t)||Be(e)}function He(e){return Fe.has(e)}function Ue(e,t,n){return e===64&&t===64&&Me(n)}let We=new Set(`break.case.catch.continue.debugger.default.do.else.finally.for.function.if.return.switch.throw.try.var.const.while.with.new.this.super.class.extends.export.import.null.true.false.in.instanceof.typeof.void.delete.implements.interface.let.package.private.protected.public.static.yield.eval.arguments.enum.await`.split(`.`));function Ge(e){return We.has(e)}class Ke{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName=``,this.flags=e}}class qe{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&64)>0&&(e&2)==0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&128)return!0;if(t&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Ke(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&130||!this.parser.inModule&&e.flags&1)}declareName(e,t,n){let r=this.currentScope();if(t&8||t&16){this.checkRedeclarationInScope(r,e,t,n);let i=r.names.get(e)||0;t&16?i|=4:(r.firstLexicalName||=e,i|=2),r.names.set(e,i),t&8&&this.maybeExportDefined(r,e)}else if(t&4)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,n),r.names.set(e,(r.names.get(e)||0)|1),this.maybeExportDefined(r,e),!(r.flags&1667));--i);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&1&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,n,r){this.isRedeclaredInScope(e,t,n)&&this.parser.raise(_.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,n){if(!(n&1))return!1;if(n&8)return e.names.has(t);let r=e.names.get(t)||0;return n&16?(r&2)>0||!this.treatFunctionsAsVarInScope(e)&&(r&1)>0:(r&2)>0&&!(e.flags&8&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(r&4)>0}checkLocalExport(e){let{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&1667)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&1731&&!(t&4))return t}}}class Je extends Ke{constructor(...e){super(...e),this.declareFunctions=new Set}}class Ye extends qe{createScope(e){return new Je(e)}declareName(e,t,n){let r=this.currentScope();if(t&2048){this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e),r.declareFunctions.add(e);return}super.declareName(e,t,n)}isRedeclaredInScope(e,t,n){if(super.isRedeclaredInScope(e,t,n))return!0;if(n&2048&&!e.declareFunctions.has(t)){let n=e.names.get(t);return(n&4)>0||(n&2)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}let Xe=new Set([`_`,`any`,`bool`,`boolean`,`empty`,`extends`,`false`,`interface`,`mixed`,`null`,`number`,`static`,`string`,`true`,`typeof`,`void`]),F=g`flow`({AmbiguousConditionalArrow:`Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.`,AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:n})=>`Enum \`${e}\` has type \`${n}\`, so the initializer of \`${t}\` needs to be a ${n} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:n})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${n}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:`Explicit inexact syntax cannot appear inside an explicit exact object type.`,InexactInsideNonObject:`Explicit inexact syntax cannot appear in class or interface definitions.`,InexactVariance:`Explicit inexact syntax cannot have variance.`,InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:`Type parameter declaration needs a default, since a preceding type parameter declaration has a default.`,NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:`Cannot have a flow comment inside another flow comment.`,PatternIsOptional:Object.assign({message:`A binding pattern parameter cannot be optional in an implementation signature.`},{reasonCode:`OptionalBindingPattern`}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:`Spread properties cannot have variance.`,ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:`The type cast expression is expected to be wrapped with parenthesis.`,UnexpectedExplicitInexactInObject:`Explicit inexact syntax must appear at the end of an inexact object.`,UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:`Spread operator cannot appear in class or interface definitions.`,UnexpectedSubtractionOperand:`Unexpected token, expected "number" or "bigint".`,UnexpectedTokenAfterTypeParameter:`Expected an arrow function after this type parameter declaration.`,UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:`Only declares and type imports are allowed inside declare module.`,UnterminatedFlowComment:`Unterminated flow-comment.`});function Ze(e){return e.type===`DeclareExportAllDeclaration`||e.type===`DeclareExportDeclaration`&&(!e.declaration||e.declaration.type!==`TypeAlias`&&e.declaration.type!==`InterfaceDeclaration`)}function Qe(e){return e.importKind===`type`||e.importKind===`typeof`}let $e={const:`declare export var`,let:`declare export var`,type:`export type`,interface:`export interface`};function et(e,t){let n=[],r=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?n:r).push(e[i]);return[n,r]}let tt=/\*?\s*@((?:no)?flow)\b/;var nt=e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Ye}shouldParseTypes(){return this.getPluginOption(`flow`,`all`)||this.flowPragma===`flow`}finishToken(e,t){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(this.flowPragma===void 0){let t=tt.exec(e.value);if(t)if(t[1]===`flow`)this.flowPragma=`flow`;else if(t[1]===`noflow`)this.flowPragma=`noflow`;else throw Error(`Unexpected flow pragma`)}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let n=this.flowParseType();return this.state.inType=t,n}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(F.UnexpectedSpaceBetweenModuloChecks,t),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,`DeclaredPredicate`)):this.finishNode(e,`InferredPredicate`)}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,n=null;return this.match(54)?(this.state.inType=e,n=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(n=this.flowParsePredicate())),[t,n]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,`DeclareClass`)}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),n=this.startNode(),r=this.startNode();this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return n.params=i.params,n.rest=i.rest,n.this=i._this,this.expect(11),[n.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(n,`FunctionTypeAnnotation`),t.typeAnnotation=this.finishNode(r,`TypeAnnotation`),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,`DeclareFunction`)}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(F.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,`DeclareVariable`)}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),n=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(F.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),n.push(super.parseImport(e))):(this.expectContextual(125,F.UnsupportedStatementInDeclareModule),n.push(this.flowParseDeclare(e,!0)))}this.scope.exit(),this.expect(8),this.finishNode(t,`BlockStatement`);let r=null,i=!1;return n.forEach(e=>{Ze(e)?(r===`CommonJS`&&this.raise(F.AmbiguousDeclareModuleKind,e),r=`ES`):e.type===`DeclareModuleExports`&&(i&&this.raise(F.DuplicateDeclareModuleExports,e),r===`ES`&&this.raise(F.AmbiguousDeclareModuleKind,e),r=`CommonJS`,i=!0)}),e.kind=r||`CommonJS`,this.finishNode(e,`DeclareModule`)}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,`DeclareExportDeclaration`);if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){let e=this.state.value;throw this.raise(F.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:$e[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,`DeclareExportDeclaration`);if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type===`ExportNamedDeclaration`?(e.default=!1,delete e.exportKind,this.castNodeTo(e,`DeclareExportDeclaration`)):this.castNodeTo(e,`DeclareExportAllDeclaration`);throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,`DeclareModuleExports`)}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return this.castNodeTo(t,`DeclareTypeAlias`),t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return this.castNodeTo(t,`DeclareOpaqueType`),t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,`DeclareInterface`)}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,`InterfaceExtends`)}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,`InterfaceDeclaration`)}checkNotUnderscore(e){e===`_`&&this.raise(F.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,n){Xe.has(e)&&this.raise(n?F.AssignReservedType:F.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifierName(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifierName(e)}flowParseRestrictedIdentifier(e,t){let n=this.startNode(),r=this.flowParseRestrictedIdentifierName(e,t);return this.createIdentifier(n,r)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,`TypeAlias`)}flowParseOpaqueType(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,`OpaqueType`)}flowParseTypeParameterBound(){if(this.match(14)||this.isContextual(81)){let e=this.startNode();return this.next(),e.typeAnnotation=this.flowParseType(),this.finishNode(e,`TypeAnnotation`)}}flowParseTypeParameter(e=!1){let t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance();return n.name=this.flowParseRestrictedIdentifierName(),n.variance=r,n.bound=this.flowParseTypeParameterBound(),this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(F.MissingTypeParamDefault,t),this.finishNode(n,`TypeParameter`)}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let n=!1;do{let e=this.flowParseTypeParameter(n);t.params.push(e),e.default&&(n=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,`TypeParameterDeclaration`)}flowInTopLevelContext(e){if(this.curContext()!==T.brace){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let t=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=t}),this.state.inType=t,!this.state.inType&&this.curContext()===T.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,`TypeParameterInstantiation`)}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return null;let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,`TypeParameterInstantiation`)}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,`InterfaceTypeAnnotation`)}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,n){return e.static=t,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.finishNode(e,`ObjectTypeIndexer`)}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,`ObjectTypeInternalSlot`)}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,`FunctionTypeAnnotation`)}flowParseObjectTypeCallProperty(e,t){let n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.finishNode(e,`ObjectTypeCallProperty`)}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:n,allowProto:r,allowInexact:i}){let a=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let s,c,l=!1;for(t&&this.match(6)?(this.expect(6),s=9,c=!0):(this.expect(5),s=8,c=!1),o.exact=c;!this.match(s);){let t=!1,a=null,s=null,u=this.startNode();if(r&&this.isContextual(118)){let t=this.lookahead();t.type!==14&&t.type!==17&&(this.next(),a=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let e=this.lookahead();e.type!==14&&e.type!==17&&(this.next(),t=!0)}let d=this.flowParseVariance();if(this.eat(0))a!=null&&this.unexpected(a),this.eat(0)?(d&&this.unexpected(d.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))):o.indexers.push(this.flowParseObjectTypeIndexer(u,t,d));else if(this.match(10)||this.match(47))a!=null&&this.unexpected(a),d&&this.unexpected(d.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(u,t));else{let e=`init`;(this.isContextual(99)||this.isContextual(104))&&ce(this.lookahead().type)&&(e=this.state.value,this.next());let r=this.flowParseObjectTypeProperty(u,t,a,d,e,n,i??!c);r===null?(l=!0,s=this.state.lastTokStartLoc):o.properties.push(r)}this.flowObjectTypeSemicolon(),s&&!this.match(8)&&!this.match(9)&&this.raise(F.UnexpectedExplicitInexactInObject,s)}this.expect(s),n&&(o.inexact=l);let u=this.finishNode(o,`ObjectTypeAnnotation`);return this.state.inType=a,u}flowParseObjectTypeProperty(e,t,n,r,i,a,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?o||this.raise(F.InexactInsideExact,this.state.lastTokStartLoc):this.raise(F.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(F.InexactVariance,r),null):(a||this.raise(F.UnexpectedSpreadType,this.state.lastTokStartLoc),n!=null&&this.unexpected(n),r&&this.raise(F.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,`ObjectTypeSpreadProperty`));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=n!=null,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,n!=null&&this.unexpected(n),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(i===`get`||i===`set`)&&this.flowCheckGetterSetterParams(e),!a&&e.key.name===`constructor`&&e.value.this&&this.raise(F.ThisParamBannedInConstructor,e.value.this)):(i!==`init`&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=o,this.finishNode(e,`ObjectTypeProperty`)}}flowCheckGetterSetterParams(e){let t=e.kind===`get`?0:1,n=e.value.params.length+ +!!e.value.rest;e.value.this&&this.raise(e.kind===`get`?F.GetterMayNotHaveThisParam:F.SetterMayNotHaveThisParam,e.value.this),n!==t&&this.raise(e.kind===`get`?_.BadGetterArity:_.BadSetterArity,e),e.kind===`set`&&e.value.rest&&this.raise(_.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){e??=this.state.startLoc;let n=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=n,t.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(t,`QualifiedTypeIdentifier`)}return n}flowParseGenericType(e,t){let n=this.startNodeAt(e);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,`GenericTypeAnnotation`)}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,`TypeofTypeAnnotation`)}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,`TupleTypeAnnotation`)}flowParseFunctionTypeParam(e){let t=null,n=!1,r=null,i=this.startNode(),a=this.lookahead(),o=this.state.type===78;return a.type===14||a.type===17?(o&&!e&&this.raise(F.ThisParamMustBeFirst,i),t=this.parseIdentifier(o),this.eat(17)&&(n=!0,o&&this.raise(F.ThisParamMayNotBeOptional,i)),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),i.name=t,i.optional=n,i.typeAnnotation=r,this.finishNode(i,`FunctionTypeParam`)}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,`FunctionTypeParam`)}flowParseFunctionTypeParams(e=[]){let t=null,n=null;for(this.match(78)&&(n=this.flowParseFunctionTypeParam(!0),n.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:n}}flowIdentToTypeAnnotation(e,t,n){switch(n.name){case`any`:return this.finishNode(t,`AnyTypeAnnotation`);case`bool`:case`boolean`:return this.finishNode(t,`BooleanTypeAnnotation`);case`mixed`:return this.finishNode(t,`MixedTypeAnnotation`);case`empty`:return this.finishNode(t,`EmptyTypeAnnotation`);case`number`:return this.finishNode(t,`NumberTypeAnnotation`);case`string`:return this.finishNode(t,`StringTypeAnnotation`);case`symbol`:return this.finishNode(t,`SymbolTypeAnnotation`);default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,n)}}flowParsePrimaryType(){let e=this.state.startLoc,t=this.startNode(),n,r,i=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=a,r;case 47:{let e=this.startNode();return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),n=this.flowParseFunctionTypeParams(),e.params=n.params,e.rest=n.rest,e.this=n._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),this.finishNode(e,`FunctionTypeAnnotation`)}case 10:{let e=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(P(this.state.type)||this.match(78)){let e=this.lookahead().type;i=e!==17&&e!==14}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),r;this.eat(12)}return n=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),e.params=n.params,e.rest=n.rest,e.this=n._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,`FunctionTypeAnnotation`)}case 134:return this.parseLiteral(this.state.value,`StringLiteralTypeAnnotation`);case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,`BooleanLiteralTypeAnnotation`);case 53:if(this.state.value===`-`){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,`NumberLiteralTypeAnnotation`,t);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,`BigIntLiteralTypeAnnotation`,t);throw this.raise(F.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();case 135:return this.parseLiteral(this.state.value,`NumberLiteralTypeAnnotation`);case 136:return this.parseLiteral(this.state.value,`BigIntLiteralTypeAnnotation`);case 88:return this.next(),this.finishNode(t,`VoidTypeAnnotation`);case 84:return this.next(),this.finishNode(t,`NullLiteralTypeAnnotation`);case 78:return this.next(),this.finishNode(t,`ThisTypeAnnotation`);case 55:return this.next(),this.finishNode(t,`ExistsTypeAnnotation`);case 87:return this.flowParseTypeofType();default:if(me(this.state.type)){let e=be(this.state.type);return this.next(),super.createIdentifier(t,e)}else if(P(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let r=this.startNodeAt(e),i=this.eat(18);n||=i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,`ArrayTypeAnnotation`)):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),n?(r.optional=i,t=this.finishNode(r,`OptionalIndexedAccessType`)):t=this.finishNode(r,`IndexedAccessType`))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,`NullableTypeAnnotation`)):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,`FunctionTypeAnnotation`)}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?t:this.finishNode(e,`IntersectionTypeAnnotation`)}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?t:this.finishNode(e,`UnionTypeAnnotation`)}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value===`_`){let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}else return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,`TypeAnnotation`)}flowParseTypeAnnotatableIdentifier(){let e=this.startNode(),t=this.parseIdentifierName();return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),this.createIdentifier(e,t)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value===`+`?e.kind=`plus`:e.kind=`minus`,this.next(),this.finishNode(e,`Variance`)):e}parseFunctionBody(e,t,n=!1){if(t){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,n));return}super.parseFunctionBody(e,!1,n)}parseFunctionBodyAndFinish(e,t,n=!1){if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,`TypeAnnotation`):null}return super.parseFunctionBodyAndFinish(e,t,n)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(se(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(t)&&(this.flowPragma=null),t}parseExpressionStatement(e,t,n){if(t.type===`Identifier`){if(t.name===`declare`){if(this.match(80)||P(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(P(this.state.type)){if(t.name===`interface`)return this.flowParseInterface(e);if(t.name===`type`)return this.flowParseTypeAlias(e);if(t.name===`opaque`)return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,t,n)}shouldParseExportDeclaration(){let{type:e}=this.state;return e===126||fe(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||fe(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41)return this.setOptionalParametersError(n),e}this.expect(17);let r=this.state.clone(),i=this.state.noArrowAt,a=this.startNodeAt(t),{consequent:o,failed:s}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(s||l.length>0){let e=[...i];if(l.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:s}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}s&&c.length>1&&this.raise(F.AmbiguousConditionalArrow,r.startLoc),s&&c.length===1&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,{consequent:o,failed:s}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,`ConditionalExpression`)}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let n=[e],r=[];for(;n.length!==0;){let e=n.pop();e.type===`ArrowFunctionExpression`&&e.body.type!==`BlockStatement`?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),n.push(e.body)):e.type===`ConditionalExpression`&&(n.push(e.consequent),n.push(e.alternate))}return t?(r.forEach(e=>this.finishArrowValidation(e)),[r,[]]):et(r,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){this.toAssignableList(e.params,e.extra?.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let n;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),n=t(),this.state.noArrowParamsConversionAt.pop()):n=t(),n}parseParenItem(e,t){let n=super.parseParenItem(e,t);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){let e=this.startNodeAt(t);return e.expression=n,e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,`TypeCastExpression`)}return n}assertModuleNodeAllowed(e){e.type===`ImportDeclaration`&&(e.importKind===`type`||e.importKind===`typeof`)||e.type===`ExportNamedDeclaration`&&e.exportKind===`type`||e.type===`ExportAllDeclaration`&&e.exportKind===`type`||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}else if(this.isContextual(131)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}else if(this.isContextual(129)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.flowParseInterface(t)}else if(this.isContextual(126)){e.exportKind=`value`;let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind=`type`,this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,n=super.maybeParseExportNamespaceSpecifier(e);return n&&e.exportKind===`type`&&this.unexpected(t),n}parseClassId(e,t,n){super.parseClassId(e,t,n),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,n){let{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,n),t.declare&&(t.type!==`ClassProperty`&&t.type!==`ClassPrivateProperty`&&t.type!==`PropertyDefinition`?this.raise(F.DeclareClassElement,r):t.value&&this.raise(F.DeclareClassFieldInitializer,t.value))}isIterator(e){return e===`iterator`||e===`asyncIterator`}readIterator(){let e=super.readWord1(),t=`@@`+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(_.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);e===123&&t===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?t===46?this.finishOp(18,2):this.finishOp(17,1):Ue(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,t){return e.type===`TypeCastExpression`?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){!t&&e.type===`AssignmentExpression`&&e.left.type===`TypeCastExpression`&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,n){for(let t=0;t<e.length;t++){let n=e[t];n?.type===`TypeCastExpression`&&(e[t]=this.typeCastToParameter(n))}super.toAssignableList(e,t,n)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var n;let i=e[r];i&&i.type===`TypeCastExpression`&&!((n=i.extra)!=null&&n.parenthesized)&&(e.length>1||!t)&&this.raise(F.TypeCastInPattern,i.typeAnnotation)}return e}parseArrayLike(e,t,n){let r=super.parseArrayLike(e,t,n);return n!=null&&!this.state.maybeInArrowParameters&&this.toReferencedList(r.elements),r}isValidLVal(e,t,n,r){return e===`TypeCastExpression`||super.isValidLVal(e,t,n,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,n,r,i,a){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,n,r,i,a),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(F.ThisParamBannedInConstructor,t)}else if(t.type===`MethodDefinition`&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(F.ThisParamBannedInConstructor,t)}}pushClassPrivateMethod(e,t,n,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,n,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,`ClassImplements`))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let n=t[0];this.isThisParam(n)&&e.kind===`get`?this.raise(F.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(F.SetterMayNotHaveThisParam,n)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,n,r,i,a,o){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let s;this.match(47)&&!a&&(s=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(e,t,n,r,i,a,o);return s&&((c.value||c).typeParameters=s),c}parseFunctionParamType(e){return this.eat(17)&&(e.type!==`Identifier`&&this.raise(F.PatternIsOptional,e),this.isThisParam(e)&&this.raise(F.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(F.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(F.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let n=super.parseMaybeDefault(e,t);return n.type===`AssignmentPattern`&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(F.TypeBeforeInitializer,n.typeAnnotation),n}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(F.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,n){t.local=Qe(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;let t=this.lookaheadCharCode();return t===123||t===42}return!e&&this.isContextual(87)}applyImportPhase(e,t,n,r){if(super.applyImportPhase(e,t,n,r),t){if(!n&&this.match(65))return;e.exportKind=n===`type`?n:`value`}else n===`type`&&this.match(55)&&this.unexpected(),e.importKind=n===`type`||n===`typeof`?n:`value`}parseImportSpecifier(e,t,n,r,i){let a=e.imported,o=null;a.type===`Identifier`&&(a.name===`type`?o=`type`:a.name===`typeof`&&(o=`typeof`));let s=!1;if(this.isContextual(93)&&!this.isLookaheadContextual(`as`)){let t=this.parseIdentifier(!0);o!==null&&!se(this.state.type)?(e.imported=t,e.importKind=o,e.local=this.cloneIdentifier(t)):(e.imported=a,e.importKind=null,e.local=this.parseIdentifier())}else{if(o!==null&&se(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(_.ImportBindingIsString,e,{importName:a.value});e.imported=a,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(s=!0,e.local=this.cloneIdentifier(e.imported))}let c=Qe(e);return n&&c&&this.raise(F.ImportTypeShorthandOnlyInPureImport,e),(n||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),s&&!n&&!c&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,`ImportSpecifier`)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){let n=e.kind;n!==`get`&&n!==`set`&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var n;let r=null,i;if(this.hasPlugin(`jsx`)&&(this.match(143)||this.match(47))){if(r=this.state.clone(),i=this.tryParse(()=>super.parseMaybeAssign(e,t),r),!i.error)return i.node;let{context:n}=this.state,a=n[n.length-1];(a===T.j_oTag||a===T.j_expr)&&n.pop()}if((n=i)!=null&&n.error||this.match(47)){var a,o;r||=this.state.clone();let n,s=this.tryParse(r=>{var i;n=this.flowParseTypeParameterDeclaration();let a=this.forwardNoArrowParamsConversionAt(n,()=>{let r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,n),r});(i=a.extra)!=null&&i.parenthesized&&r();let o=this.maybeUnwrapTypeCastExpression(a);return o.type!==`ArrowFunctionExpression`&&r(),o.typeParameters=n,this.resetStartLocationFromNode(o,n),a},r),c=null;if(s.node&&this.maybeUnwrapTypeCastExpression(s.node).type===`ArrowFunctionExpression`){if(!s.error&&!s.aborted)return s.node.async&&this.raise(F.UnexpectedTypeParameterBeforeAsyncArrowFunction,n),s.node;c=s.node}if((a=i)!=null&&a.node)return this.state=i.failState,i.node;if(c)return this.state=s.failState,c;throw(o=i)!=null&&o.thrown?i.error:s.thrown?s.error:this.raise(F.UnexpectedTokenAfterTypeParameter,n)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,`TypeAnnotation`):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,n,r=!0){if(!(n&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(F.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,n,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,t,n){if(e.type===`Identifier`&&e.name===`async`&&this.state.noArrowAt.includes(t.index)){this.next();let n=this.startNodeAt(t);n.callee=e,n.arguments=super.parseCallExpressionArguments(),e=this.finishNode(n,`CallExpression`)}else if(e.type===`Identifier`&&e.name===`async`&&this.match(47)){let r=this.state.clone(),i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t)||e(),r);if(!i.error&&!i.aborted)return i.node;let a=this.tryParse(()=>super.parseSubscripts(e,t,n),r);if(a.node&&!a.error)return a.node;if(i.node)return this.state=i.failState,i.node;if(a.node)return this.state=a.failState,a.node;throw i.error||a.error}return super.parseSubscripts(e,t,n)}parseSubscript(e,t,n,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,n)return r.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),i.arguments=this.parseCallExpressionArguments(),i.optional=!0,this.finishCallExpression(i,!0)}else if(!n&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let n=this.startNodeAt(t);n.callee=e;let i=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){let n=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(F.UnterminatedFlowComment,this.state.curPosition()),n}skipBlockComment(){if(this.hasPlugin(`flowComments`)&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(F.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?`*-/`:`*/`)}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let n=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return n===58&&r===58?t+2:this.input.slice(t+e,t+e+12)===`flow-include`?t+12:n===58&&r!==58&&t}hasFlowCommentCompletion(){if(this.input.indexOf(`*/`,this.state.pos)===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:n}){this.raise(F.EnumBooleanMemberNotInitialized,e,{memberName:n,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?t.explicitType===`symbol`?F.EnumInvalidMemberInitializerSymbolType:F.EnumInvalidMemberInitializerPrimaryType:F.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(F.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(F.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let n=this.parseNumericLiteral(this.state.value);return t()?{type:`number`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}case 134:{let n=this.parseStringLiteral(this.state.value);return t()?{type:`string`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}case 85:case 86:{let n=this.parseBooleanLiteral(this.match(85));return t()?{type:`boolean`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}default:return{type:`invalid`,loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:`none`,loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,n){let{explicitType:r}=t;r!==null&&r!==n&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){let n=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},i=!1;for(;!this.match(8);){if(this.eat(21)){i=!0;break}let a=this.startNode(),{id:o,init:s}=this.flowEnumMemberRaw(),c=o.name;if(c===``)continue;/^[a-z]/.test(c)&&this.raise(F.EnumInvalidMemberName,o,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),n.has(c)&&this.raise(F.EnumDuplicateMemberName,o,{memberName:c,enumName:e}),n.add(c);let l={enumName:e,explicitType:t,memberName:c};switch(a.id=o,s.type){case`boolean`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`boolean`),a.init=s.value,r.booleanMembers.push(this.finishNode(a,`EnumBooleanMember`));break;case`number`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`number`),a.init=s.value,r.numberMembers.push(this.finishNode(a,`EnumNumberMember`));break;case`string`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`string`),a.init=s.value,r.stringMembers.push(this.finishNode(a,`EnumStringMember`));break;case`invalid`:throw this.flowEnumErrorInvalidMemberInitializer(s.loc,l);case`none`:switch(t){case`boolean`:this.flowEnumErrorBooleanMemberNotInitialized(s.loc,l);break;case`number`:this.flowEnumErrorNumberMemberNotInitialized(s.loc,l);break;default:r.defaultedMembers.push(this.finishNode(a,`EnumDefaultedMember`))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:n}){if(e.length===0)return t;if(t.length===0)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:n});return t}else{for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(e,{enumName:n});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!P(this.state.type))throw this.raise(F.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:t}=this.state;return this.next(),t!==`boolean`&&t!==`number`&&t!==`string`&&t!==`symbol`&&this.raise(F.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){let n=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:n});this.expect(5);let{members:a,hasUnknownMembers:o}=this.flowEnumMembers({enumName:n,explicitType:i});switch(e.hasUnknownMembers=o,i){case`boolean`:return e.explicitType=!0,e.members=a.booleanMembers,this.expect(8),this.finishNode(e,`EnumBooleanBody`);case`number`:return e.explicitType=!0,e.members=a.numberMembers,this.expect(8),this.finishNode(e,`EnumNumberBody`);case`string`:return e.explicitType=!0,e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,`EnumStringBody`);case`symbol`:return e.members=a.defaultedMembers,this.expect(8),this.finishNode(e,`EnumSymbolBody`);default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,`EnumStringBody`));e.explicitType=!1;let i=a.booleanMembers.length,o=a.numberMembers.length,s=a.stringMembers.length,c=a.defaultedMembers.length;if(!i&&!o&&!s&&!c)return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,`EnumStringBody`);if(!o&&!s&&i>=c){for(let e of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=a.booleanMembers,this.expect(8),this.finishNode(e,`EnumBooleanBody`)}else if(!i&&!s&&o>=c){for(let e of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=a.numberMembers,this.expect(8),this.finishNode(e,`EnumNumberBody`)}else return this.raise(F.EnumInconsistentMemberValues,r,{enumName:n}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,`EnumDeclaration`)}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return!1}reScan_lt_gt(){let{type:e}=this.state;e===47?(--this.state.pos,this.readToken_lt()):e===48&&(--this.state.pos,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type===`TypeCastExpression`?e.expression:e}};let rt={__proto__:null,quot:`"`,amp:`&`,apos:`'`,lt:`<`,gt:`>`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,fnof:`ƒ`,circ:`ˆ`,tilde:`˜`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,bull:`•`,hellip:`…`,permil:`‰`,prime:`′`,Prime:`″`,lsaquo:`‹`,rsaquo:`›`,oline:`‾`,frasl:`⁄`,euro:`€`,image:`ℑ`,weierp:`℘`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`},it=RegExp(`\\r\\n|[\\r\\n\\u2028\\u2029]`,`g`);function at(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function ot(e,t,n){for(let r=t;r<n;r++)if(at(e.charCodeAt(r)))return!0;return!1}let st=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ct=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function lt(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}let ut=g`jsx`({AttributeIsEmpty:`JSX attributes must only be assigned a non-empty expression.`,MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:`Expected corresponding JSX closing tag for <>.`,UnexpectedSequenceExpression:`Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?`,UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:`JSX value should be either an expression or a quoted JSX text.`,UnterminatedJsxContent:`Unterminated JSX contents.`,UnwrappedAdjacentJSXElements:`Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?`});function dt(e){return e?e.type===`JSXOpeningFragment`||e.type===`JSXClosingFragment`:!1}function ft(e){if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return ft(e.object)+`.`+ft(e.property);throw Error(`Node had unexpected type: `+e.type)}var pt=e=>class extends e{jsxReadToken(){let e=``,t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ut.UnterminatedJsxContent,this.state.startLoc);let n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:if(this.state.pos===this.state.start){n===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(n);return}e+=this.input.slice(t,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:at(n)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t=this.input.charCodeAt(this.state.pos),n;return++this.state.pos,t===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,n=e?`
5
- `:`\r
6
- `):n=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,n}jsxReadString(e){let t=``,n=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(_.UnterminatedString,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):at(r)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}t+=this.input.slice(n,this.state.pos++),this.finishToken(134,t)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;this.codePointAtPos(this.state.pos)===120&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,`bail`);if(t!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(t)}else{let t=0,n=!1;for(;t++<10&&this.state.pos<this.length&&!(n=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(n){let t=this.input.slice(e,this.state.pos),n=rt[t];if(++this.state.pos,n)return n}}return this.state.pos=e,`&`}jsxReadWord(){let e,t=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(Ne(e)||e===45);this.finishToken(141,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(141)?e.name=this.state.value:me(this.state.type)?e.name=be(this.state.type):this.unexpected(),this.next(),this.finishNode(e,`JSXIdentifier`)}jsxParseNamespacedName(){let e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;let n=this.startNodeAt(e);return n.namespace=t,n.name=this.jsxParseIdentifier(),this.finishNode(n,`JSXNamespacedName`)}jsxParseElementName(){let e=this.state.startLoc,t=this.jsxParseNamespacedName();if(t.type===`JSXNamespacedName`)return t;for(;this.eat(16);){let n=this.startNodeAt(e);n.object=t,n.property=this.jsxParseIdentifier(),t=this.finishNode(n,`JSXMemberExpression`)}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(T.brace),this.next(),e=this.jsxParseExpressionContainer(e,T.j_oTag),e.expression.type===`JSXEmptyExpression`&&this.raise(ut.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(ut.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,`JSXEmptyExpression`,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(T.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXSpreadChild`)}jsxParseExpressionContainer(e,t){return this.match(8)?e.expression=this.jsxParseEmptyExpression():e.expression=this.parseExpression(),this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXExpressionContainer`)}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(T.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(T.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXSpreadAttribute`)):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,`JSXAttribute`))}jsxParseOpeningElementAt(e){let t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,`JSXOpeningFragment`):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(144);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,`JSXOpeningElement`)}jsxParseClosingElementAt(e){let t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,`JSXClosingFragment`):(t.name=this.jsxParseElementName(),this.expect(144),this.finishNode(t,`JSXClosingElement`))}jsxParseElementAt(e){let t=this.startNodeAt(e),n=[],r=this.jsxParseOpeningElementAt(e),i=null;if(!r.selfClosing){contents:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){i=this.jsxParseClosingElementAt(e);break contents}n.push(this.jsxParseElementAt(e));break;case 142:n.push(this.parseLiteral(this.state.value,`JSXText`));break;case 5:{let e=this.startNode();this.setContext(T.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,T.j_expr));break}default:this.unexpected()}dt(r)&&!dt(i)&&i!==null?this.raise(ut.MissingClosingTagFragment,i):(!dt(r)&&dt(i)||!dt(r)&&!dt(i)&&ft(i.name)!==ft(r.name))&&this.raise(ut.MissingClosingTagElement,i,{openingTagName:ft(r.name)})}if(dt(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=n,this.match(47))throw this.raise(ut.UnwrappedAdjacentJSXElements,this.state.startLoc);return dt(r)?this.finishNode(t,`JSXFragment`):this.finishNode(t,`JSXElement`)}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t===T.j_expr){this.jsxReadToken();return}if(t===T.j_oTag||t===T.j_cTag){if(Me(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&t===T.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){let{context:t,type:n}=this.state;if(n===56&&e===143)t.splice(-2,2,T.j_cTag),this.state.canStartJSXElement=!1;else if(n===143)t.push(T.j_oTag);else if(n===144){let n=t[t.length-1];n===T.j_oTag&&e===56||n===T.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===T.j_expr):(this.setContext(T.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=le(n)}};class mt extends Ke{constructor(...e){super(...e),this.tsNames=new Map}}class ht extends qe{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new mt(e)}enter(e){e===1024&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e===1024&&this.importsStack.pop(),e}hasImport(e,t){let n=this.importsStack.length;if(this.importsStack[n-1].has(e))return!0;if(!t&&n>1){for(let t=0;t<n-1;t++)if(this.importsStack[t].has(e))return!0}return!1}declareName(e,t,n){if(t&4096){this.hasImport(e,!0)&&this.parser.raise(_.VarRedeclaration,n,{identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let r=this.currentScope(),i=r.tsNames.get(e)||0;if(t&1024){this.maybeExportDefined(r,e),r.tsNames.set(e,i|16);return}super.declareName(e,t,n),t&2&&(t&1||(this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e)),i|=1),t&256&&(i|=2),t&512&&(i|=4),t&128&&(i|=8),i&&r.tsNames.set(e,i)}isRedeclaredInScope(e,t,n){let r=e.tsNames.get(t);return(r&2)>0?n&256?!!(n&512)!=(r&4)>0:!0:n&128&&(r&8)>0?e.names.get(t)&2?!!(n&1):!1:n&2&&(r&1)>0?!0:super.isRedeclaredInScope(e,t,n)}checkLocalExport(e){let{name:t}=e;if(this.hasImport(t))return;let n=this.scopeStack.length;for(let e=n-1;e>=0;e--){let n=this.scopeStack[e].tsNames.get(t);if((n&1)>0||(n&16)>0)return}super.checkLocalExport(e)}}class gt{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function _t(e,t){return(e?2:0)|!!t}class vt{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if(typeof e==`string`)return this.plugins.has(e);{let[t,n]=e;if(!this.hasPlugin(t))return!1;let r=this.plugins.get(t);for(let e of Object.keys(n))if(r?.[e]!==n[e])return!1;return!0}}getPluginOption(e,t){return this.plugins.get(e)?.[t]}}function yt(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function bt(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function xt(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function St(e,t,n){let r=null,i=t.length;for(;r===null&&i>0;)r=t[--i];r===null||r.start>n.start?xt(e,n.comments):yt(r,n.comments)}class Ct extends vt{addComment(e){this.filename&&(e.loc.filename=this.filename);let{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){let{commentStack:t}=this.state,n=t.length;if(n===0)return;let r=n-1,i=t[r];i.start===e.end&&(i.leadingNode=e,r--);let{start:a}=e;for(;r>=0;r--){let n=t[r],i=n.end;if(i>a)n.containingNode=e,this.finalizeComment(n),t.splice(r,1);else{i===a&&(n.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&yt(e.leadingNode,t),e.trailingNode!==null&&bt(e.trailingNode,t);else{let n=e.containingNode,r=e.start;if(this.input.charCodeAt(this.offsetToSourcePos(r)-1)===44)switch(n.type){case`ObjectExpression`:case`ObjectPattern`:St(n,n.properties,e);break;case`CallExpression`:case`NewExpression`:case`OptionalCallExpression`:St(n,n.arguments,e);break;case`ImportExpression`:St(n,[n.source,n.options??null],e);break;case`FunctionDeclaration`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`ObjectMethod`:case`ClassMethod`:case`ClassPrivateMethod`:case`TSTypeParameterDeclaration`:St(n,n.params,e);break;case`ArrayExpression`:case`ArrayPattern`:St(n,n.elements,e);break;case`ExportNamedDeclaration`:case`ImportDeclaration`:St(n,n.specifiers,e);break;case`TSEnumDeclaration`:St(n,n.members,e);break;case`TSEnumBody`:St(n,n.members,e);break;case`TSInterfaceBody`:St(n,n.body,e);break;default:if(n.type===`RecordExpression`){St(n,n.properties,e);break}if(n.type===`TupleExpression`){St(n,n.elements,e);break}xt(n,t)}else xt(n,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:n}=t;if(n===0)return;let r=t[n-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,n){let{commentStack:r}=this.state,i=r.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let i=r[a],o=i.end;if(i.start===n)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}}class I{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[T.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:n,startIndex:r,startLine:i,startColumn:a}){this.strict=e===!1?!1:e===!0||n===`module`,this.startIndex=r,this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new t(i,a,r)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new t(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let e=new I;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var wt=function(e){return e>=48&&e<=57};let Tt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Et={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Dt(e,t,n,r,i,a){let o=n,s=r,c=i,l=``,u=null,d=n,{length:f}=t;for(;;){if(n>=f){a.unterminated(o,s,c),l+=t.slice(d,n);break}let p=t.charCodeAt(n);if(L(e,p,t,n)){l+=t.slice(d,n);break}if(p===92){l+=t.slice(d,n);let o=R(t,n,r,i,e===`template`,a);o.ch===null&&!u?u={pos:n,lineStart:r,curLine:i}:l+=o.ch,{pos:n,lineStart:r,curLine:i}=o,d=n}else p===8232||p===8233?(++n,++i,r=n):p===10||p===13?e===`template`?(l+=t.slice(d,n)+`
7
- `,++n,p===13&&t.charCodeAt(n)===10&&++n,++i,d=r=n):a.unterminated(o,s,c):++n}return{pos:n,str:l,firstInvalidLoc:u,lineStart:r,curLine:i,containsInvalid:!!u}}function L(e,t,n,r){return e===`template`?t===96||t===36&&n.charCodeAt(r+1)===123:t===(e===`double`?34:39)}function R(e,t,n,r,i,a){let o=!i;t++;let s=e=>({pos:t,ch:e,lineStart:n,curLine:r}),c=e.charCodeAt(t++);switch(c){case 110:return s(`
8
- `);case 114:return s(`\r`);case 120:{let i;return{code:i,pos:t}=Ot(e,t,n,r,2,!1,o,a),s(i===null?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=z(e,t,n,r,o,a),s(i===null?null:String.fromCodePoint(i))}case 116:return s(` `);case 98:return s(`\b`);case 118:return s(`\v`);case 102:return s(`\f`);case 13:e.charCodeAt(t)===10&&++t;case 10:n=t,++r;case 8232:case 8233:return s(``);case 56:case 57:if(i)return s(null);a.strictNumericEscape(t-1,n,r);default:if(c>=48&&c<=55){let o=t-1,c=/^[0-7]+/.exec(e.slice(o,t+2))[0],l=parseInt(c,8);l>255&&(c=c.slice(0,-1),l=parseInt(c,8)),t+=c.length-1;let u=e.charCodeAt(t);if(c!==`0`||u===56||u===57){if(i)return s(null);a.strictNumericEscape(o,n,r)}return s(String.fromCharCode(l))}return s(String.fromCharCode(c))}}function Ot(e,t,n,r,i,a,o,s){let c=t,l;return{n:l,pos:t}=kt(e,t,n,r,16,i,a,!1,s,!o),l===null&&(o?s.invalidEscapeSequence(c,n,r):t=c-1),{code:l,pos:t}}function kt(e,t,n,r,i,a,o,s,c,l){let u=t,d=i===16?Tt.hex:Tt.decBinOct,f=i===16?Et.hex:i===10?Et.dec:i===8?Et.oct:Et.bin,p=!1,m=0;for(let u=0,h=a??1/0;u<h;++u){let a=e.charCodeAt(t),u;if(a===95&&s!==`bail`){let i=e.charCodeAt(t-1),a=e.charCodeAt(t+1);if(!s){if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,n,r)}else if(Number.isNaN(a)||!f(a)||d.has(i)||d.has(a)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,n,r)}++t;continue}if(u=a>=97?a-97+10:a>=65?a-65+10:wt(a)?a-48:1/0,u>=i){if(u<=9&&l)return{n:null,pos:t};if(u<=9&&c.invalidDigit(t,n,r,i))u=0;else if(o)u=0,p=!0;else break}++t,m=m*i+u}return t===u||a!=null&&t-u!==a||p?{n:null,pos:t}:{n:m,pos:t}}function z(e,t,n,r,i,a){let o=e.charCodeAt(t),s;if(o===123){if(++t,{code:s,pos:t}=Ot(e,t,n,r,e.indexOf(`}`,t)-t,!0,i,a),++t,s!==null&&s>1114111)if(i)a.invalidCodePoint(t,n,r);else return{code:null,pos:t}}else({code:s,pos:t}=Ot(e,t,n,r,4,!1,i,a));return{code:s,pos:t}}function At(e,n,r){return new t(r,e-n,e)}let jt=new Set([103,109,115,105,121,117,100,118]);class Mt{constructor(e){let t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new n(e.startLoc,e.endLoc)}}class Nt extends Ct{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,n,r)=>this.optionFlags&2048?(this.raise(_.InvalidDigit,At(e,t,n),{radix:r}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(_.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(_.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(_.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(_.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,n)=>{this.recordStrictModeErrors(_.StrictNumericEscape,At(e,t,n))},unterminated:(e,t,n)=>{throw this.raise(_.UnterminatedString,At(e-1,t,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(_.StrictNumericEscape),unterminated:(e,t,n)=>{throw this.raise(_.UnterminatedTemplate,At(e,t,n))}}),this.state=new I,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new Mt(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return st.lastIndex=e,st.test(this.input)?st.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return ct.lastIndex=e,ct.test(this.input)?ct.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)==55296&&++e<this.input.length){let n=this.input.charCodeAt(e);(n&64512)==56320&&(t=65536+((t&1023)<<10)+(n&1023))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([e,t])=>this.raise(e,t)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,i=this.input.indexOf(e,r+2);if(i===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition());for(this.state.pos=i+e.length,it.lastIndex=r+2;it.test(this.input)&&it.lastIndex<=i;)++this.state.curLine,this.state.lineStart=it.lastIndex;if(this.isLookahead)return;let a={type:`CommentBlock`,value:this.input.slice(r+2,i),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(i+e.length),loc:new n(t,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(a),a}skipLineComment(e){let t=this.state.pos,r;this.isLookahead||(r=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!at(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let a=this.state.pos,o={type:`CommentLine`,value:this.input.slice(t+e,a),start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(a),loc:new n(r,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipSpace(){let e=this.state.pos,t=this.optionFlags&4096?[]:null;loop:for(;this.state.pos<this.length;){let n=this.input.charCodeAt(this.state.pos);switch(n){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let e=this.skipBlockComment(`*/`);e!==void 0&&(this.addComment(e),t?.push(e));break}case 47:{let e=this.skipLineComment(2);e!==void 0&&(this.addComment(e),t?.push(e));break}default:break loop}break;default:if(lt(n))++this.state.pos;else if(n===45&&!this.inModule&&this.optionFlags&8192){let n=this.state.pos;if(this.input.charCodeAt(n+1)===45&&this.input.charCodeAt(n+2)===62&&(e===0||this.state.lineStart>e)){let e=this.skipLineComment(3);e!==void 0&&(this.addComment(e),t?.push(e))}else break loop}else if(n===60&&!this.inModule&&this.optionFlags&8192){let e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){let e=this.skipLineComment(4);e!==void 0&&(this.addComment(e),t?.push(e))}else break loop}else break loop}}if(t?.length>0){let n=this.state.pos,r={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(n),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(n)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(_.UnexpectedDigitAfterHash,this.state.curPosition());if(t===123||t===91&&this.hasPlugin(`recordAndTuple`)){if(this.expectPlugin(`recordAndTuple`),this.getPluginOption(`recordAndTuple`,`syntaxType`)===`bar`)throw this.raise(t===123?_.RecordExpressionHashIncorrectStartSyntaxType:_.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else Me(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!at(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let n=this.input.slice(t+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(e){let t=e===42?55:54,n=1,r=this.input.charCodeAt(this.state.pos+1);e===42&&r===42&&(n++,r=this.input.charCodeAt(this.state.pos+2),t=57),r===61&&!this.state.inType&&(n++,t=e===37?33:30),this.finishOp(t,n)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(e===124?41:42,2);return}if(e===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin(`recordAndTuple`)&&t===125){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin(`recordAndTuple`)&&t===93){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);e===61&&!this.state.inType?this.finishOp(32,2):e===94&&this.hasPlugin([`pipelineOperator`,{proposal:`hack`,topicToken:`^^`}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin([`pipelineOperator`,{proposal:`hack`,topicToken:`@@`}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(34,2);return}t===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===62){let t=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+t)===61){this.finishOp(30,t+1);return}this.finishOp(52,t);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&t===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);e===63?t===61?this.finishOp(30,3):this.finishOp(40,2):e===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin(`recordAndTuple`)&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin(`recordAndTuple`)&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin(`functionBind`)&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Me(e)){this.readWord(e);return}}throw this.raise(_.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,t){let n=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,n)}readRegexp(){let e=this.state.startLoc,t=this.state.start+1,n,i,{pos:a}=this.state;for(;;++a){if(a>=this.length)throw this.raise(_.UnterminatedRegExp,r(e,1));let t=this.input.charCodeAt(a);if(at(t))throw this.raise(_.UnterminatedRegExp,r(e,1));if(n)n=!1;else{if(t===91)i=!0;else if(t===93&&i)i=!1;else if(t===47&&!i)break;n=t===92}}let o=this.input.slice(t,a);++a;let s=``,c=()=>r(e,a+2-t);for(;a<this.length;){let e=this.codePointAtPos(a),t=String.fromCharCode(e);if(jt.has(e))e===118?s.includes(`u`)&&this.raise(_.IncompatibleRegExpUVFlags,c()):e===117&&s.includes(`v`)&&this.raise(_.IncompatibleRegExpUVFlags,c()),s.includes(t)&&this.raise(_.DuplicateRegExpFlags,c());else if(Ne(e)||e===92)this.raise(_.MalformedRegExpFlags,c());else break;++a,s+=t}this.state.pos=a,this.finishToken(138,{pattern:o,flags:s})}readInt(e,t,n=!1,r=!0){let{n:i,pos:a}=kt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,n,r,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(e){let t=this.state.pos,n=this.state.curPosition(),i=!1;this.state.pos+=2;let a=this.readInt(e);a??this.raise(_.InvalidDigit,r(n,2),{radix:e});let o=this.input.charCodeAt(this.state.pos);if(o===110)++this.state.pos,i=!0;else if(o===109)throw this.raise(_.InvalidDecimal,n);if(Me(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,this.state.curPosition());if(i){let e=this.input.slice(t,this.state.pos).replace(/[_n]/g,``);this.finishToken(136,e);return}this.finishToken(135,a)}readNumber(e){let t=this.state.pos,n=this.state.curPosition(),i=!1,a=!1,o=!1,s=!1;!e&&this.readInt(10)===null&&this.raise(_.InvalidNumber,this.state.curPosition());let c=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(c){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(_.StrictOctalLiteral,n),!this.state.strict){let t=e.indexOf(`_`);t>0&&this.raise(_.ZeroDigitNumericSeparator,r(n,t))}s=c&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!s&&(++this.state.pos,this.readInt(10),i=!0,l=this.input.charCodeAt(this.state.pos)),(l===69||l===101)&&!s&&(l=this.input.charCodeAt(++this.state.pos),(l===43||l===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(_.InvalidOrMissingExponent,n),i=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),l===110&&((i||c)&&this.raise(_.InvalidBigIntLiteral,n),++this.state.pos,a=!0),l===109){this.expectPlugin(`decimal`,this.state.curPosition()),(o||c)&&this.raise(_.InvalidDecimal,n),++this.state.pos;var u=!0}if(Me(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,this.state.curPosition());let d=this.input.slice(t,this.state.pos).replace(/[_mn]/g,``);if(a){this.finishToken(136,d);return}if(u){this.finishToken(137,d);return}let f=s?parseInt(d,8):parseFloat(d);this.finishToken(135,f)}readCodePoint(e){let{code:t,pos:n}=z(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=n,t}readString(e){let{str:t,pos:n,curLine:r,lineStart:i}=Dt(e===34?`double`:`single`,this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(134,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:n,firstInvalidLoc:r,pos:i,curLine:a,lineStart:o}=Dt(`template`,this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=o,this.state.curLine=a,r&&(this.state.firstInvalidTemplateEscapePos=new t(r.curLine,r.pos-r.lineStart,this.sourceToOffsetPos(r.pos))),this.input.codePointAt(i)===96?this.finishToken(24,r?null:e+n+"`"):(this.state.pos++,this.finishToken(25,r?null:e+n+"${"))}recordStrictModeErrors(e,t){let n=t.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,t):this.state.strictErrors.set(n,[e,t])}readWord1(e){this.state.containsEsc=!1;let t=``,n=this.state.pos,r=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(Ne(e))this.state.pos+=e<=65535?1:2;else if(e===92){this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===n?Me:Ne;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(_.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;let a=this.readCodePoint(!0);a!==null&&(i(a)||this.raise(_.EscapedCharNotAnIdentifier,e),t+=String.fromCodePoint(a)),r=this.state.pos}else break}return t+this.input.slice(r,this.state.pos)}readWord(e){let t=this.readWord1(e),n=ee.get(t);n===void 0?this.finishToken(132,t):this.finishToken(n,be(n))}checkKeywordEscapes(){let{type:e}=this.state;me(e)&&this.state.containsEsc&&this.raise(_.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:be(e)})}raise(e,n,r={}){let i=e(n instanceof t?n:n.loc.start,r);if(!(this.optionFlags&2048))throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,n,r={}){let i=n instanceof t?n:n.loc.start,a=i.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){let n=o[t];if(n.loc.index===a)return o[t]=e(i,r);if(n.loc.index<a)break}return this.raise(e,n,r)}updateContext(e){}unexpected(e,t){throw this.raise(_.UnexpectedToken,e??this.state.startLoc,{expected:t?be(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(_.MissingPlugin,t??this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(_.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,n,r)=>{this.raise(e,At(t,n,r))}}}class Pt{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Ft{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Pt)}exit(){let e=this.stack.pop(),t=this.current();for(let[n,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(n)||t.undefinedPrivateNames.set(n,r):this.parser.raise(_.InvalidPrivateFieldResolution,r,{identifierName:n})}declarePrivateName(e,t,n){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:a}=this.current(),o=r.has(e);if(t&3){let n=o&&i.get(e);if(n){let r=n&4,a=t&4;o=(n&3)==(t&3)||r!==a,o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(_.PrivateNameRedeclaration,n,{identifierName:e}),r.add(e),a.delete(e)}usePrivateName(e,t){let n;for(n of this.stack)if(n.privateNames.has(e))return;n?n.undefinedPrivateNames.set(e,t):this.parser.raise(_.InvalidPrivateFieldResolution,t,{identifierName:e})}}class It{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Lt extends It{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let n=t.index;this.declarationErrors.set(n,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Rt{constructor(e){this.parser=void 0,this.stack=[new It],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let n=t.loc.start,{stack:r}=this,i=r.length-1,a=r[i];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(e,n);else return;a=r[--i]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,t){let{stack:n}=this,r=n[n.length-1],i=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,i);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(e,i);else return}recordAsyncArrowParametersError(e){let{stack:t}=this,n=t.length-1,r=t[n];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(_.AwaitBindingIdentifier,e),r=t[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(([t,n])=>{this.parser.raise(t,n);let r=e.length-2,i=e[r];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(n.index),i=e[--r]})}}function zt(){return new It(3)}function Bt(){return new Lt(1)}function Vt(){return new Lt(2)}function Ht(){return new It}class Ut extends Nt{addExtra(e,t,n,r=!0){if(!e)return;let{extra:i}=e;i??(i={},e.extra=i),r?i[t]=n:Object.defineProperty(i,t,{enumerable:r,value:n})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){if(this.input.startsWith(t,e)){let n=this.input.charCodeAt(e+t.length);return!(Ne(n)||(n&64512)==55296)}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ot(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return ot(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(_.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){let n={node:null};try{let r=e((e=null)=>{throw n.node=e,n});if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let r=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:r};if(e===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:a,voidPatternLoc:o}=e,s=!!n||!!r||!!a||!!i||!!o;if(!t)return s;n!=null&&this.raise(_.InvalidCoverInitializedName,n),r!=null&&this.raise(_.DuplicateProto,r),i!=null&&this.raise(_.UnexpectedPrivateField,i),a!=null&&this.unexpected(a),o!=null&&this.raise(_.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return ce(this.state.type)}isPrivateName(e){return e.type===`PrivateName`}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type===`MemberExpression`||e.type===`OptionalMemberExpression`)&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type===`ObjectProperty`}isObjectMethod(e){return e.type===`ObjectMethod`}initializeScopes(e=this.options.sourceType===`module`){let t=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=e;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,e);let o=this.prodParam;this.prodParam=new gt;let s=this.classScope;this.classScope=new Ft(this);let c=this.expressionScope;return this.expressionScope=new Rt(this),()=>{this.state.labels=t,this.exportedIdentifiers=n,this.inModule=r,this.scope=i,this.prodParam=o,this.classScope=s,this.expressionScope=c}}enterInitialScopes(){let e=0;(this.inModule||this.optionFlags&1)&&(e|=2),this.optionFlags&32&&(e|=1);let t=!this.inModule&&this.options.sourceType===`commonjs`;(t||this.optionFlags&2)&&(e|=4),this.prodParam.enter(e);let n=t?514:1;this.optionFlags&4&&(n|=512),this.scope.enter(n)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;t!==null&&this.expectPlugin(`destructuringPrivate`,t)}}class Wt{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class Gt{constructor(e,t,r){this.type=``,this.start=t,this.end=0,this.loc=new n(r),e?.optionFlags&128&&(this.range=[t,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}}let Kt=Gt.prototype;Kt.__clone=function(){let e=new Gt(void 0,this.start,this.loc.start),t=Object.keys(this);for(let n=0,r=t.length;n<r;n++){let r=t[n];r!==`leadingComments`&&r!==`trailingComments`&&r!==`innerComments`&&(e[r]=this[r])}return e};class qt extends Ut{startNode(){let e=this.state.startLoc;return new Gt(this,e.index,e)}startNodeAt(e){return new Gt(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,n){return e.type=t,e.end=n.index,e.loc.end=n,this.optionFlags&128&&(e.range[1]=n.index),this.optionFlags&4096&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.optionFlags&128&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,this.optionFlags&128&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}castNodeTo(e,t){return e.type=t,e}cloneIdentifier(e){let{type:t,start:n,end:r,loc:i,range:a,name:o}=e,s=Object.create(Kt);return s.type=t,s.start=n,s.end=r,s.loc=i,s.range=a,s.name=o,e.extra&&(s.extra=e.extra),s}cloneStringLiteral(e){let{type:t,start:n,end:r,loc:i,range:a,extra:o}=e,s=Object.create(Kt);return s.type=t,s.start=n,s.end=r,s.loc=i,s.range=a,s.extra=o,s.value=e.value,s}}let Jt=e=>e.type===`ParenthesizedExpression`?Jt(e.expression):e;class Yt extends qt{toAssignable(e,t=!1){var n;let r;switch((e.type===`ParenthesizedExpression`||(n=e.extra)!=null&&n.parenthesized)&&(r=Jt(e),t?r.type===`Identifier`?this.expressionScope.recordArrowParameterBindingError(_.InvalidParenthesizedAssignment,e):r.type!==`CallExpression`&&r.type!==`MemberExpression`&&!this.isOptionalMemberExpression(r)&&this.raise(_.InvalidParenthesizedAssignment,e):this.raise(_.InvalidParenthesizedAssignment,e)),e.type){case`Identifier`:case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:case`VoidPattern`:break;case`ObjectExpression`:this.castNodeTo(e,`ObjectPattern`);for(let n=0,r=e.properties.length,a=r-1;n<r;n++){var i;let r=e.properties[n],o=n===a;this.toAssignableObjectExpressionProp(r,o,t),o&&r.type===`RestElement`&&(i=e.extra)!=null&&i.trailingCommaLoc&&this.raise(_.RestTrailingComma,e.extra.trailingCommaLoc)}break;case`ObjectProperty`:{let{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t);break}case`SpreadElement`:throw Error(`Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.`);case`ArrayExpression`:this.castNodeTo(e,`ArrayPattern`),this.toAssignableList(e.elements,e.extra?.trailingCommaLoc,t);break;case`AssignmentExpression`:e.operator!==`=`&&this.raise(_.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,`AssignmentPattern`),delete e.operator,e.left.type===`VoidPattern`&&this.raise(_.VoidPatternInitializer,e.left),this.toAssignable(e.left,t);break;case`ParenthesizedExpression`:this.toAssignable(r,t);break}}toAssignableObjectExpressionProp(e,t,n){if(e.type===`ObjectMethod`)this.raise(e.kind===`get`||e.kind===`set`?_.PatternHasAccessor:_.PatternHasMethod,e.key);else if(e.type===`SpreadElement`){this.castNodeTo(e,`RestElement`);let r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,n),t||this.raise(_.RestTrailingComma,e)}else this.toAssignable(e,n)}toAssignableList(e,t,n){let r=e.length-1;for(let i=0;i<=r;i++){let a=e[i];a&&(this.toAssignableListItem(e,i,n),a.type===`RestElement`&&(i<r?this.raise(_.RestTrailingComma,a):t&&this.raise(_.RestTrailingComma,t)))}}toAssignableListItem(e,t,n){let r=e[t];if(r.type===`SpreadElement`){this.castNodeTo(r,`RestElement`);let e=r.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,n)}else this.toAssignable(r,n)}isAssignable(e,t){switch(e.type){case`Identifier`:case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:case`VoidPattern`:return!0;case`ObjectExpression`:{let t=e.properties.length-1;return e.properties.every((e,n)=>e.type!==`ObjectMethod`&&(n===t||e.type!==`SpreadElement`)&&this.isAssignable(e))}case`ObjectProperty`:return this.isAssignable(e.value);case`SpreadElement`:return this.isAssignable(e.argument);case`ArrayExpression`:return e.elements.every(e=>e===null||this.isAssignable(e));case`AssignmentExpression`:return e.operator===`=`;case`ParenthesizedExpression`:return this.isAssignable(e.expression);case`MemberExpression`:case`OptionalMemberExpression`:return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)t?.type===`ArrayExpression`&&this.toReferencedListDeep(t.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,`SpreadElement`)}parseRestBinding(){let e=this.startNode();this.next();let t=this.parseBindingAtom();return t.type===`VoidPattern`&&this.raise(_.UnexpectedVoidPattern,t),e.argument=t,this.finishNode(e,`RestElement`)}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,`ArrayPattern`)}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,t,n){let r=n&1,i=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else if(this.eat(e))break;else if(this.match(21)){let r=this.parseRestBinding();if((this.hasPlugin(`flow`)||n&2)&&(r=this.parseFunctionParamType(r)),i.push(r),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];if(n&2)for(this.match(26)&&this.hasPlugin(`decorators`)&&this.raise(_.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());i.push(this.parseBindingElement(n,e))}return i}parseBindingRestProperty(e){return this.next(),this.hasPlugin(`discardBinding`)&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(_.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,`RestElement`)}parseBindingProperty(){let{type:e,startLoc:t}=this.state;if(e===21)return this.parseBindingRestProperty(this.startNode());let n=this.startNode();return e===139?(this.expectPlugin(`destructuringPrivate`,t),this.classScope.usePrivateName(this.state.value,t),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,t,!1,!1,!0,!1)}parseBindingElement(e,t){let n=this.parseMaybeDefault();return(this.hasPlugin(`flow`)||e&2)&&this.parseFunctionParamType(n),t.length&&(n.decorators=t,this.resetStartLocationFromNode(n,t[0])),this.parseMaybeDefault(n.loc.start,n)}parseFunctionParamType(e){return e}parseMaybeDefault(e,t){if(e??=this.state.startLoc,t??=this.parseBindingAtom(),!this.eat(29))return t;let n=this.startNodeAt(e);return t.type===`VoidPattern`&&this.raise(_.VoidPatternInitializer,t),n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,`AssignmentPattern`)}isValidLVal(e,t,n,r){switch(e){case`AssignmentPattern`:return`left`;case`RestElement`:return`argument`;case`ObjectProperty`:return`value`;case`ParenthesizedExpression`:return`expression`;case`ArrayPattern`:return`elements`;case`ObjectPattern`:return`properties`;case`VoidPattern`:return!0;case`CallExpression`:if(!t&&!this.state.strict&&this.optionFlags&8192)return!0}return!1}isOptionalMemberExpression(e){return e.type===`OptionalMemberExpression`}checkLVal(e,t,n=64,r=!1,i=!1,a=!1,o=!1){var s;let c=e.type;if(this.isObjectMethod(e))return;let l=this.isOptionalMemberExpression(e);if(l||c===`MemberExpression`){l&&(this.expectPlugin(`optionalChainingAssign`,e.loc.start),t.type!==`AssignmentExpression`&&this.raise(_.InvalidLhsOptionalChaining,e,{ancestor:t})),n!==64&&this.raise(_.InvalidPropertyBindingPattern,e);return}if(c===`Identifier`){this.checkIdentifier(e,n,i);let{name:t}=e;r&&(r.has(t)?this.raise(_.ParamDupe,e):r.add(t));return}else c===`VoidPattern`&&t.type===`CatchClause`&&this.raise(_.VoidPatternCatchClauseParam,e);let u=Jt(e);o||=u.type===`CallExpression`&&(u.callee.type===`Import`||u.callee.type===`Super`);let d=this.isValidLVal(c,o,!(a||(s=e.extra)!=null&&s.parenthesized)&&t.type===`AssignmentExpression`,n);if(d===!0)return;if(d===!1){let r=n===64?_.InvalidLhs:_.InvalidLhsBinding;this.raise(r,e,{ancestor:t});return}let f,p;typeof d==`string`?(f=d,p=c===`ParenthesizedExpression`):[f,p]=d;let m=c===`ArrayPattern`||c===`ObjectPattern`?{type:c}:t,h=e[f];if(Array.isArray(h))for(let e of h)e&&this.checkLVal(e,m,n,r,i,p,!0);else h&&this.checkLVal(h,m,n,r,i,p,o)}checkIdentifier(e,t,n=!1){this.state.strict&&(n?Ve(e.name,this.inModule):Be(e.name))&&(t===64?this.raise(_.StrictEvalArguments,e,{referenceName:e.name}):this.raise(_.StrictEvalArgumentsBinding,e,{bindingName:e.name})),t&8192&&e.name===`let`&&this.raise(_.LetInLexicalBinding,e),t&64||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case`ParenthesizedExpression`:this.checkToRestConversion(e.expression,t);break;case`Identifier`:case`MemberExpression`:break;case`ArrayExpression`:case`ObjectExpression`:if(t)break;default:this.raise(_.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?_.RestTrailingComma:_.ElementAfterRest,this.state.startLoc),!0):!1}}let Xt=/in(?:stanceof)?|as|satisfies/y;function Zt(e){if(e==null)throw Error(`Unexpected ${e} value.`);return e}function Qt(e){if(!e)throw Error(`Assert fail`)}let B=g`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:`An 'accessor' property cannot be declared optional.`,AccessorCannotDeclareThisParameter:`'get' and 'set' accessors cannot declare 'this' parameters.`,AccessorCannotHaveTypeParameters:`An accessor cannot have type parameters.`,ClassMethodHasDeclare:`Class methods cannot have the 'declare' modifier.`,ClassMethodHasReadonly:`Class methods cannot have the 'readonly' modifier.`,ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:`A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.`,ConstructorHasTypeParameters:`Type parameters cannot appear on a constructor declaration.`,DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:`Initializers are not allowed in ambient contexts.`,DeclareFunctionHasImplementation:`An implementation cannot be declared in ambient contexts.`,DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen: '${e}'.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:`Type argument list cannot be empty.`,EmptyTypeParameters:`Type parameter list cannot be empty.`,ExpectedAmbientAfterExportDeclare:`'export declare' must be followed by an ambient declaration.`,ImportAliasHasImportType:`An import alias can not use 'import type'.`,ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:`Index signatures cannot have the 'abstract' modifier.`,IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:`Index signatures cannot have the 'declare' modifier.`,IndexSignatureHasOverride:`'override' modifier cannot appear on an index signature.`,IndexSignatureHasStatic:`Index signatures cannot have the 'static' modifier.`,InitializerNotAllowedInAmbientContext:`Initializers are not allowed in ambient contexts.`,InvalidHeritageClauseType:({token:e})=>`'${e}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:e=>`'${e}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:e=>`'${e}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:`Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.`,InvalidTupleMemberLabel:`Tuple members must be labeled with a simple identifier.`,MissingInterfaceName:`'interface' declarations must be followed by an identifier.`,NonAbstractClassHasAbstractMethod:`Abstract methods can only appear within an abstract class.`,NonClassMethodPropertyHasAbstractModifier:`'abstract' modifier can only appear on a class, method, or property declaration.`,OptionalTypeBeforeRequired:`A required element cannot follow an optional element.`,OverrideNotInSubClass:`This member cannot have an 'override' modifier because its containing class does not extend another class.`,PatternIsOptional:`A binding pattern parameter cannot be optional in an implementation signature.`,PrivateElementHasAbstract:`Private elements cannot have the 'abstract' modifier.`,PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:`'readonly' modifier can only appear on a property declaration or index signature.`,ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:`A 'set' accessor cannot have an optional parameter.`,SetAccessorCannotHaveRestParameter:`A 'set' accessor cannot have rest parameter.`,SetAccessorCannotHaveReturnType:`A 'set' accessor cannot have a return type annotation.`,SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:`Static class blocks cannot have any modifier.`,TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:`A type-only import can specify a default import or named bindings, but not both.`,TypeModifierIsUsedInTypeExports:`The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.`,TypeModifierIsUsedInTypeImports:`The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.`,UnexpectedParameterModifier:`A parameter property is only allowed in a constructor implementation.`,UnexpectedReadonly:`'readonly' type modifier is only permitted on array and tuple literal types.`,UnexpectedTypeAnnotation:`Did not expect a type annotation here.`,UnexpectedTypeCastInParameter:`Unexpected type cast in parameter position.`,UnsupportedImportTypeArgument:`Argument in a type import must be a string literal.`,UnsupportedParameterPropertyKind:`A parameter property may not be declared using a binding pattern.`,UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,UsingDeclarationInAmbientContext:e=>`'${e}' declarations are not allowed in ambient contexts.`});function $t(e){switch(e){case`any`:return`TSAnyKeyword`;case`boolean`:return`TSBooleanKeyword`;case`bigint`:return`TSBigIntKeyword`;case`never`:return`TSNeverKeyword`;case`number`:return`TSNumberKeyword`;case`object`:return`TSObjectKeyword`;case`string`:return`TSStringKeyword`;case`symbol`:return`TSSymbolKeyword`;case`undefined`:return`TSUndefinedKeyword`;case`unknown`:return`TSUnknownKeyword`;default:return}}function en(e){return e===`private`||e===`public`||e===`protected`}function tn(e){return e===`in`||e===`out`}var nn=e=>class extends e{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`],disallowedModifiers:[`const`,`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:B.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:[`const`],disallowedModifiers:[`in`,`out`],errorTemplate:B.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`,`const`],disallowedModifiers:[`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:B.InvalidModifierOnTypeParameter})}getScopeHandler(){return ht}tsIsIdentifier(){return P(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,t,n){if(!P(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let r=this.state.value;if(e.includes(r)){if(n&&this.match(106)||t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:n,errorTemplate:r=B.InvalidModifierOnTypeMember},i){let a=(e,t,n,r)=>{t===n&&i[r]&&this.raise(B.InvalidModifiersOrder,e,{orderedModifiers:[n,r]})},o=(e,t,n,r)=>{(i[n]&&t===r||i[r]&&t===n)&&this.raise(B.IncompatibleModifiers,e,{modifiers:[n,r]})};for(;;){let{startLoc:s}=this.state,c=this.tsParseModifier(e.concat(t??[]),n,i.static);if(!c)break;en(c)?i.accessibility?this.raise(B.DuplicateAccessibilityModifier,s,{modifier:c}):(a(s,c,c,`override`),a(s,c,c,`static`),a(s,c,c,`readonly`),i.accessibility=c):tn(c)?(i[c]&&this.raise(B.DuplicateModifier,s,{modifier:c}),i[c]=!0,a(s,c,`in`,`out`)):(hasOwnProperty.call(i,c)?this.raise(B.DuplicateModifier,s,{modifier:c}):(a(s,c,`static`,`readonly`),a(s,c,`static`,`override`),a(s,c,`override`,`readonly`),a(s,c,`abstract`,`override`),o(s,c,`declare`,`override`),o(s,c,`static`,`abstract`)),i[c]=!0),t!=null&&t.includes(c)&&this.raise(r,s,{modifier:c})}}tsIsListTerminator(e){switch(e){case`EnumMembers`:case`TypeMembers`:return this.match(8);case`HeritageClauseElement`:return this.match(5);case`TupleElementTypes`:return this.match(3);case`TypeParametersOrArguments`:return this.match(48)}}tsParseList(e,t){let n=[];for(;!this.tsIsListTerminator(e);)n.push(t());return n}tsParseDelimitedList(e,t,n){return Zt(this.tsParseDelimitedListWorker(e,t,!0,n))}tsParseDelimitedListWorker(e,t,n,r){let i=[],a=-1;for(;!this.tsIsListTerminator(e);){a=-1;let r=t();if(r==null)return;if(i.push(r),this.eat(12)){a=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;n&&this.expect(12);return}return r&&(r.value=a),i}tsParseBracketedList(e,t,n,r,i){r||(n?this.expect(0):this.expect(47));let a=this.tsParseDelimitedList(e,t,i);return n?this.expect(3):this.expect(48),a}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(B.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSImportType`)}tsParseImportTypeOptions(){let e=this.startNode();this.expect(5);let t=this.startNode();return this.isContextual(76)?(t.method=!1,t.key=this.parseIdentifier(!0),t.computed=!1,t.shorthand=!1):this.unexpected(null,76),this.expect(14),t.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(t)],this.eat(12),this.expect(8),this.finishNode(e,`ObjectExpression`)}tsParseImportTypeWithPropertyValue(){let e=this.startNode(),t=[];for(this.expect(5);!this.match(8);){let e=this.state.type;P(e)||e===134?t.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=t,this.next(),this.finishNode(e,`ObjectExpression`)}tsParseEntityName(e){let t;if(e&1&&this.match(78))if(e&2)t=this.parseIdentifier(!0);else{let e=this.startNode();this.next(),t=this.finishNode(e,`ThisExpression`)}else t=this.parseIdentifier(!!(e&1));for(;this.eat(16);){let n=this.startNodeAtNode(t);n.left=t,n.right=this.parseIdentifier(!!(e&1)),t=this.finishNode(n,`TSQualifiedName`)}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSTypeReference`)}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,`TSTypePredicate`)}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,`TSThisType`)}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSTypeQuery`)}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,`TSTypeParameter`)}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let n={value:-1};return t.params=this.tsParseBracketedList(`TypeParametersOrArguments`,this.tsParseTypeParameter.bind(this,e),!1,!0,n),t.params.length===0&&this.raise(B.EmptyTypeParameters,t),n.value!==-1&&this.addExtra(t,`trailingComma`,n.value),this.finishNode(t,`TSTypeParameterDeclaration`)}tsFillSignature(e,t){let n=e===19;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(n||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let t of e){let{type:e}=t;(e===`AssignmentPattern`||e===`TSParameterProperty`)&&this.raise(B.UnsupportedSignatureParameterKind,t,{type:e})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),P(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,`TSIndexSignature`)}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){t&&this.raise(B.ReadonlyForMethodSignature,e);let n=e;n.kind&&this.match(47)&&this.raise(B.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let r=`parameters`,i=`typeAnnotation`;if(n.kind===`get`)n[r].length>0&&(this.raise(_.BadGetterArity,this.state.curPosition()),this.isThisParam(n[r][0])&&this.raise(B.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind===`set`){if(n[r].length!==1)this.raise(_.BadSetterArity,this.state.curPosition());else{let e=n[r][0];this.isThisParam(e)&&this.raise(B.AccessorCannotDeclareThisParameter,this.state.curPosition()),e.type===`Identifier`&&e.optional&&this.raise(B.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),e.type===`RestElement`&&this.raise(B.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n[i]&&this.raise(B.SetAccessorCannotHaveReturnType,n[i])}else n.kind=`method`;return this.finishNode(n,`TSMethodSignature`)}else{let n=e;t&&(n.readonly=!0);let r=this.tsTryParseTypeAnnotation();return r&&(n.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(n,`TSPropertySignature`)}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember(`TSCallSignatureDeclaration`,e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember(`TSConstructSignatureDeclaration`,e):(e.key=this.createIdentifier(t,`new`),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:[`readonly`],disallowedModifiers:[`declare`,`abstract`,`private`,`protected`,`public`,`static`,`override`]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&e.key.type===`Identifier`&&(e.key.name===`get`||e.key.name===`set`)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,`TSTypeLiteral`)}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList(`TypeMembers`,this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,`TSTypeParameter`),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,`TSMappedType`)}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList(`TupleElementTypes`,this.tsParseTupleElementType.bind(this),!0,!1);let t=!1;return e.elementTypes.forEach(e=>{let{type:n}=e;t&&n!==`TSRestType`&&n!==`TSOptionalType`&&!(n===`TSNamedTupleMember`&&e.optional)&&this.raise(B.OptionalTypeBeforeRequired,e),t||=n===`TSNamedTupleMember`&&e.optional||n===`TSOptionalType`}),this.finishNode(e,`TSTupleType`)}tsParseTupleElementType(){let e=this.state.startLoc,t=this.eat(21),{startLoc:n}=this.state,r,i,a,o,s=se(this.state.type)?this.lookaheadCharCode():null;if(s===58)r=!0,a=!1,i=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(s===63){a=!0;let e=this.state.value,t=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(r=!0,i=this.createIdentifier(this.startNodeAt(n),e),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=t,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),r=this.eat(14);if(r){let e;i?(e=this.startNodeAt(n),e.optional=a,e.label=i,e.elementType=o,this.eat(17)&&(e.optional=!0,this.raise(B.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAt(n),e.optional=a,this.raise(B.InvalidTupleMemberLabel,o),e.label=o,e.elementType=this.tsParseType()),o=this.finishNode(e,`TSNamedTupleMember`)}else if(a){let e=this.startNodeAt(n);e.typeAnnotation=o,o=this.finishNode(e,`TSOptionalType`)}if(t){let t=this.startNodeAt(e);t.typeAnnotation=o,o=this.finishNode(t,`TSRestType`)}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,`TSParenthesizedType`)}tsParseFunctionOrConstructorType(e,t){let n=this.startNode();return e===`TSConstructorType`&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,n)),this.finishNode(n,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,`TSLiteralType`)}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,`TSLiteralType`)}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value===`-`){let e=this.startNode(),t=this.lookahead();return t.type!==135&&t.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,`TSLiteralType`)}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(P(e)||e===88||e===84){let t=e===88?`TSVoidKeyword`:e===84?`TSNullKeyword`:$t(this.state.value);if(t!==void 0&&this.lookaheadCharCode()!==46){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:e}=this.state,t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let n=this.startNodeAt(e);n.elementType=t,this.expect(3),t=this.finishNode(n,`TSArrayType`)}else{let n=this.startNodeAt(e);n.objectType=t,n.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(n,`TSIndexedAccessType`)}return t}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),t===`readonly`&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,`TSTypeOperator`)}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case`TSTupleType`:case`TSArrayType`:return;default:this.raise(B.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(t,`TSTypeParameter`),this.finishNode(e,`TSInferType`)}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return ve(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,t,n){let r=this.startNode(),i=this.eat(n),a=[];do a.push(t());while(this.eat(n));return a.length===1&&!i?a[0]:(r.types=a,this.finishNode(r,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(`TSIntersectionType`,this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(`TSUnionType`,this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(P(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let t=this.startNode();this.expect(e);let n=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return e.type===`TSThisType`?(n.parameterName=e,n.asserts=!0,n.typeAnnotation=null,e=this.finishNode(n,`TSTypePredicate`)):(this.resetStartLocationFromNode(e,n),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,`TSTypeAnnotation`)}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(n.parameterName=this.parseIdentifier(),n.asserts=r,n.typeAnnotation=null,t.typeAnnotation=this.finishNode(n,`TSTypePredicate`),this.finishNode(t,`TSTypeAnnotation`)):this.tsParseTypeAnnotation(!1,t);let a=this.tsParseTypeAnnotation(!1);return n.parameterName=i,n.typeAnnotation=a,n.asserts=r,t.typeAnnotation=this.finishNode(n,`TSTypePredicate`),this.finishNode(t,`TSTypeAnnotation`)})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!P(this.state.type)&&!this.match(78)?!1:(e&&this.raise(_.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:`asserts`}),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,`TSTypeAnnotation`)}tsParseType(){Qt(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(t,`TSConditionalType`)}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual(`new`)}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType(`TSFunctionType`):this.match(77)?this.tsParseFunctionOrConstructorType(`TSConstructorType`):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType(`TSConstructorType`,!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption(`typescript`,`disallowAmbiguousJSXLike`)&&this.raise(B.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,`TSTypeAssertion`)}tsParseHeritageClause(e){let t=this.state.startLoc,n=this.tsParseDelimitedList(`HeritageClauseElement`,()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(3),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSExpressionWithTypeArguments`)});return n.length||this.raise(B.EmptyHeritageClauseType,t,{token:e}),n}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),P(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(B.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause(`extends`));let n=this.startNode();return n.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(n,`TSInterfaceBody`),this.finishNode(e,`TSInterfaceDeclaration`)}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let e=this.startNode();return this.next(),this.finishNode(e,`TSIntrinsicKeyword`)}return this.tsParseType()}),this.semicolon(),this.finishNode(e,`TSTypeAliasDeclaration`)}tsInTopLevelContext(e){if(this.curContext()!==T.brace){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}else return e()}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,`TSEnumMember`)}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList(`EnumMembers`,this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,`TSEnumDeclaration`)}tsParseEnumBody(){let e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList(`EnumMembers`,this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,`TSEnumBody`)}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,`TSModuleBlock`)}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,`TSModuleDeclaration`)}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind=`global`,e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind=`module`,e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,`TSModuleDeclaration`)}tsParseImportEqualsDeclaration(e,t,n){e.isExport=n||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let r=this.tsParseModuleReference();return e.importKind===`type`&&r.type!==`TSExternalModuleReference`&&this.raise(B.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,`TSImportEqualsDeclaration`)}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,`TSExternalModuleReference`)}tsLookAhead(e){let t=this.state.clone(),n=e();return this.state=t,n}tsTryParseAndCatch(e){let t=this.tryParse(t=>e()||t());if(!(t.aborted||!t.node))return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),n=e();if(n!==void 0&&n!==!1)return n;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t=this.state.type;return this.tsInAmbientContext(()=>{switch(t){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual(`enum`)?(e.declare=!0,this.parseVarStatement(e,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(B.InvalidModifierOnUsingDeclaration,this.state.startLoc,`declare`),e.declare=!0,this.parseVarStatement(e,`using`,!0);break;case 96:if(this.isAwaitUsing())return this.raise(B.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,`declare`),e.declare=!0,this.next(),this.parseVarStatement(e,`await using`,!0);break;case 129:{let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(P(t))return this.tsParseDeclaration(e,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(e,t,n,r){switch(t){case 124:if(this.tsCheckLineTerminator(n)&&(this.match(80)||P(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case 127:if(this.tsCheckLineTerminator(n)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(P(this.state.type))return e.kind=`module`,this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(n)&&P(this.state.type))return e.kind=`namespace`,this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(n)&&P(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let n=this.tsTryParseAndCatch(()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t});if(this.state.maybeInArrowParameters=t,n)return super.parseArrowExpression(n,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList(`TypeParametersOrArguments`,this.tsParseType.bind(this))))),e.params.length===0?this.raise(B.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===T.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,`TSTypeParameterInstantiation`)}tsIsDeclarationStart(){return ye(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseBindingElement(e,t){let n=t.length?t[0].loc.start:this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:[`public`,`private`,`protected`,`override`,`readonly`]},r);let i=r.accessibility,a=r.override,o=r.readonly;!(e&4)&&(i||o||a)&&this.raise(B.UnexpectedParameterModifier,n);let s=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(s);let c=this.parseMaybeDefault(s.loc.start,s);if(i||o||a){let e=this.startNodeAt(n);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),a&&(e.override=a),c.type!==`Identifier`&&c.type!==`AssignmentPattern`&&this.raise(B.UnsupportedParameterPropertyKind,e),e.parameter=c,this.finishNode(e,`TSParameterProperty`)}return t.length&&(s.decorators=t),c}isSimpleParameter(e){return e.type===`TSParameterProperty`&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)t.type!==`Identifier`&&t.optional&&!this.state.isAmbientContext&&this.raise(B.PatternIsOptional,t)}setArrowFunctionParameters(e,t,n){super.setArrowFunctionParameters(e,t,n),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,n=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=t===`FunctionDeclaration`?`TSDeclareFunction`:t===`ClassMethod`||t===`ClassPrivateMethod`?`TSDeclareMethod`:void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r===`TSDeclareFunction`&&this.state.isAmbientContext&&(this.raise(B.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,n):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,n))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{e?.type===`TSTypeCastExpression`&&this.raise(B.UnexpectedTypeAnnotation,e.typeAnnotation)})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,n){let r=super.parseArrayLike(e,t,n);return r.type===`ArrayExpression`&&this.tsCheckForInvalidTypeCasts(r.elements),r}parseSubscript(e,t,n,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(t);return n.expression=e,this.finishNode(n,`TSNonNullExpression`)}let i=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(n)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let a,o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return r.stop=!0,e}let o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10)){a=this.state.curPosition();return}if(Ce(this.state.type)){let n=super.parseTaggedTemplateExpression(e,t,r);return n.typeParameters=o,n}if(!n&&this.eat(10)){let n=this.startNodeAt(t);return n.callee=e,n.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(n.arguments),n.typeParameters=o,r.optionalChainMember&&(n.optional=i),this.finishCallExpression(n,r.optionalChainMember)}let s=this.state.type;if(s===48||s===52||s!==10&&s!==93&&s!==120&&ue(s)&&!this.hasPrecedingLineBreak())return;let c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,`TSInstantiationExpression`)});if(a&&this.unexpected(a,10),o)return o.type===`TSInstantiationExpression`&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(B.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(o.expression=super.stopParseSubscript(e,r))),o}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:n}=e;n.type===`TSInstantiationExpression`&&!((t=n.extra)!=null&&t.parenthesized)&&(e.typeParameters=n.typeParameters,e.callee=n.expression)}parseExprOp(e,t,n){let r;if(xe(58)>n&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(_.UnexpectedKeyword,this.state.startLoc,{keyword:`const`}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(i,r?`TSSatisfiesExpression`:`TSAsExpression`),this.reScan_lt_gt(),this.parseExprOp(i,t,n)}return super.parseExprOp(e,t,n)}checkReservedWord(e,t,n,r){this.state.isAmbientContext||super.checkReservedWord(e,t,n,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(B.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let t=this.lookaheadCharCode();return e?t===123||t===42:t!==61}return!e&&this.isContextual(87)}applyImportPhase(e,t,n,r){super.applyImportPhase(e,t,n,r),t?e.exportKind=n===`type`?`type`:`value`:e.importKind=n===`type`||n===`typeof`?n:`value`}parseImport(e){if(this.match(134))return e.importKind=`value`,super.parseImport(e);let t;if(P(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind=`value`,this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let n=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,n);t=super.parseImportSpecifiersAndAfter(e,n)}else t=super.parseImport(e);return t.importKind===`type`&&t.specifiers.length>1&&t.specifiers[0].type===`ImportDefaultSpecifier`&&this.raise(B.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){let t=e;this.next();let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(t,!1):t.importKind=`value`,this.tsParseImportEqualsDeclaration(t,n,!0)}else if(this.eat(29)){let t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,`TSExportAssignment`)}else if(this.eatContextual(93)){let t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,`TSNamespaceExportDeclaration`)}else return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual(`class`)}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,n=!1){let{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,n||r);if(!r)return i;if(!e.declare&&(t===`using`||t===`await using`))return this.raiseOverwrite(B.UsingDeclarationInAmbientContext,e,t),i;for(let{id:e,init:n}of i.declarations)n&&(t===`var`||t===`let`||e.typeAnnotation?this.raise(B.InitializerNotAllowedInAmbientContext,n):an(n,this.hasPlugin(`estree`))||this.raise(B.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,n));return i}parseStatementContent(e,t){if(!this.state.containsEsc)switch(this.state.type){case 75:if(this.isLookaheadContextual(`enum`)){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}break;case 124:case 125:if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){let e=this.state.type,n=this.startNode();this.next();let r=e===125?this.tsTryParseDeclare(n):this.tsParseAbstractDeclaration(n,t);return r?(e===125&&(r.declare=!0),r):(n.expression=this.createIdentifier(this.startNodeAt(n.loc.start),e===125?`declare`:`abstract`),this.semicolon(!1),this.finishNode(n,`ExpressionStatement`))}break;case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:if(this.lookaheadCharCode()===123){let e=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(e)}break;case 129:{let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e;break}case 127:if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){let e=this.startNode();return this.next(),this.tsParseDeclaration(e,127,!1,t)}break;case 128:if(this.nextTokenIsIdentifierOnSameLine()){let e=this.startNode();return this.next(),this.tsParseDeclaration(e,128,!1,t)}break;case 130:if(this.nextTokenIsIdentifierOnSameLine()){let e=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(e)}break}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier([`public`,`protected`,`private`])}tsHasSomeModifiers(e,t){return t.some(t=>en(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,t,n){let r=[`declare`,`private`,`public`,`protected`,`override`,`abstract`,`readonly`,`static`];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:[`in`,`out`],stopOnStartOfClassStaticBlock:!0,errorTemplate:B.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(B.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,n,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,n,r){let i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i),t.abstract&&this.raise(B.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(B.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(B.IndexSignatureHasDeclare,t),t.override&&this.raise(B.IndexSignatureHasOverride,t);return}!this.state.inAbstractClass&&t.abstract&&this.raise(B.NonAbstractClassHasAbstractMethod,t),t.override&&(n.hadSuperClass||this.raise(B.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,n,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(B.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(B.ClassMethodHasDeclare,e)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,t,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41)return this.setOptionalParametersError(n),e}return super.parseConditional(e,t,n)}parseParenItem(e,t){let n=super.parseParenItem(e,t);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,`TSTypeCastExpression`)}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let t=this.state.startLoc,n=this.eatContextual(125);if(n&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(B.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let r=P(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?((r.type===`TSInterfaceDeclaration`||r.type===`TSTypeAliasDeclaration`||n)&&(e.exportKind=`type`),n&&r.type!==`TSImportEqualsDeclaration`&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,n,r){if((!t||n)&&this.isContextual(113))return;super.parseClassId(e,t,n,e.declare?1024:8331);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(B.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:t}=e;this.raise(B.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:t.type===`Identifier`&&!e.computed?t.name:`[${this.input.slice(this.offsetToSourcePos(t.start),this.offsetToSourcePos(t.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(B.PrivateElementHasAbstract,e),e.accessibility&&this.raise(B.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(B.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,n,r,i,a){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(B.ConstructorHasTypeParameters,o);let{declare:s=!1,kind:c}=t;s&&(c===`get`||c===`set`)&&this.raise(B.DeclareAccessor,t,{kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,n,r,i,a)}pushClassPrivateMethod(e,t,n,r){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,n,r)}declareClassPrivateMethodInScope(e,t){e.type!==`TSDeclareMethod`&&(e.type===`MethodDefinition`&&e.value.body==null||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass)if(e.superClass.type===`TSInstantiationExpression`){let t=e.superClass,n=t.expression;this.takeSurroundingComments(n,n.start,n.end);let r=t.typeParameters;this.takeSurroundingComments(r,r.start,r.end),e.superClass=n,e.superTypeParameters=r}else(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression());this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause(`implements`))}parseObjPropValue(e,t,n,r,i,a,o){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);return s&&(e.typeParameters=s),super.parseObjPropValue(e,t,n,r,i,a,o)}parseFunctionParams(e,t){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(e.typeParameters=n),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),e.id.type===`Identifier`&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let n=this.tsTryParseTypeAnnotation();n&&(e.id.typeAnnotation=n,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var n,r,i;let a,o,s;if(this.hasPlugin(`jsx`)&&(this.match(143)||this.match(47))){if(a=this.state.clone(),o=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!o.error)return o.node;let{context:n}=this.state,r=n[n.length-1];(r===T.j_oTag||r===T.j_expr)&&n.pop()}if(!((n=o)!=null&&n.error)&&!this.match(47))return super.parseMaybeAssign(e,t);(!a||a===this.state)&&(a=this.state.clone());let c,l=this.tryParse(n=>{var r;c=this.tsParseTypeParameters(this.tsParseConstModifier);let i=super.parseMaybeAssign(e,t);return(i.type!==`ArrowFunctionExpression`||(r=i.extra)!=null&&r.parenthesized)&&n(),c?.params.length!==0&&this.resetStartLocationFromNode(i,c),i.typeParameters=c,i},a);if(!l.error&&!l.aborted)return c&&this.reportReservedArrowTypeParam(c),l.node;if(!o&&(Qt(!this.hasPlugin(`jsx`)),s=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!s.error))return s.node;if((r=o)!=null&&r.node)return this.state=o.failState,o.node;if(l.node)return this.state=l.failState,c&&this.reportReservedArrowTypeParam(c),l.node;if((i=s)!=null&&i.node)return this.state=s.failState,s.node;throw o?.error||l.error||s?.error}reportReservedArrowTypeParam(e){var t;e.params.length===1&&!e.params[0].constraint&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption(`typescript`,`disallowAmbiguousJSXLike`)&&this.raise(B.ReservedArrowTypeParam,e)}parseMaybeUnary(e,t){return!this.hasPlugin(`jsx`)&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);let t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case`TSTypeCastExpression`:return this.isAssignable(e.expression,t);case`TSParameterProperty`:return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case`ParenthesizedExpression`:this.toAssignableParenthesizedExpression(e,t);break;case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`TSTypeAssertion`:t?this.expressionScope.recordArrowParameterBindingError(B.UnexpectedTypeCastInParameter,e):this.raise(B.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,t);break;case`AssignmentExpression`:!t&&e.left.type===`TSTypeCastExpression`&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`TSTypeAssertion`:case`ParenthesizedExpression`:this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSTypeAssertion`:case`TSNonNullExpression`:this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,n,r){switch(e){case`TSTypeCastExpression`:return!0;case`TSParameterProperty`:return`parameter`;case`TSNonNullExpression`:return`expression`;case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSTypeAssertion`:return(r!==64||!n)&&[`expression`,!0];default:return super.isValidLVal(e,t,n,r)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,t){if(this.match(47)||this.match(51)){let n=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e,t);return r.typeParameters=n,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,t)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let n=super.parseMaybeDefault(e,t);return n.type===`AssignmentPattern`&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(B.TypeAnnotationAfterAssign,n.typeAnnotation),n}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;e===47?(--this.state.pos,this.readToken_lt()):e===48&&(--this.state.pos,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableListItem(e,t,n){let r=e[t];r.type===`TSTypeCastExpression`&&(e[t]=this.typeCastToParameter(r)),super.toAssignableListItem(e,t,n)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(e=>this.isAssignable(e,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:t,strict:n}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=t,this.state.strict=n}}parseClass(e,t,n){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,n)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(e.abstract=!0,this.raise(B.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e));throw this.unexpected(null,80)}parseMethod(e,t,n,r,i,a,o){let s=super.parseMethod(e,t,n,r,i,a,o);if((s.abstract||s.type===`TSAbstractMethodDefinition`)&&(this.hasPlugin(`estree`)?s.value:s).body){let{key:e}=s;this.raise(B.AbstractMethodHasImplementation,s,{methodName:e.type===`Identifier`&&!s.computed?e.name:`[${this.input.slice(this.offsetToSourcePos(e.start),this.offsetToSourcePos(e.end))}]`})}return s}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption(`typescript`,`dts`)}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,n,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,n),this.finishNode(e,`ExportSpecifier`)):(e.exportKind=`value`,super.parseExportSpecifier(e,t,n,r))}parseImportSpecifier(e,t,n,r,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,n),this.finishNode(e,`ImportSpecifier`)):(e.importKind=`value`,super.parseImportSpecifier(e,t,n,r,n?4098:4096))}parseTypeOnlyImportExportSpecifier(e,t,n){let r=t?`imported`:`local`,i=t?`local`:`exported`,a=e[r],o,s=!1,c=!0,l=a.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let n=this.parseIdentifier();se(this.state.type)?(s=!0,a=e,o=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(o=n,c=!1)}else se(this.state.type)?(c=!1,o=t?this.parseIdentifier():this.parseModuleExportName()):(s=!0,a=e)}else se(this.state.type)&&(s=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());s&&n&&this.raise(t?B.TypeModifierIsUsedInTypeImports:B.TypeModifierIsUsedInTypeExports,l),e[r]=a,e[i]=o;let u=t?`importKind`:`exportKind`;e[u]=s?`type`:`value`,c&&this.eatContextual(93)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=this.cloneIdentifier(e[r])),t&&this.checkIdentifier(e[i],s?4098:4096)}fillOptionalPropertiesForTSESLint(e){switch(e.type){case`ExpressionStatement`:e.directive??=void 0;return;case`RestElement`:e.value=void 0;case`Identifier`:case`ArrayPattern`:case`AssignmentPattern`:case`ObjectPattern`:e.decorators??=[],e.optional??=!1,e.typeAnnotation??=void 0;return;case`TSParameterProperty`:e.accessibility??=void 0,e.decorators??=[],e.override??=!1,e.readonly??=!1,e.static??=!1;return;case`TSEmptyBodyFunctionExpression`:e.body=null;case`TSDeclareFunction`:case`FunctionDeclaration`:case`FunctionExpression`:case`ClassMethod`:case`ClassPrivateMethod`:e.declare??=!1,e.returnType??=void 0,e.typeParameters??=void 0;return;case`Property`:e.optional??=!1;return;case`TSMethodSignature`:case`TSPropertySignature`:e.optional??=!1;case`TSIndexSignature`:e.accessibility??=void 0,e.readonly??=!1,e.static??=!1;return;case`TSAbstractPropertyDefinition`:case`PropertyDefinition`:case`TSAbstractAccessorProperty`:case`AccessorProperty`:e.declare??=!1,e.definite??=!1,e.readonly??=!1,e.typeAnnotation??=void 0;case`TSAbstractMethodDefinition`:case`MethodDefinition`:e.accessibility??=void 0,e.decorators??=[],e.override??=!1,e.optional??=!1;return;case`ClassExpression`:e.id??=null;case`ClassDeclaration`:e.abstract??=!1,e.declare??=!1,e.decorators??=[],e.implements??=[],e.superTypeArguments??=void 0,e.typeParameters??=void 0;return;case`TSTypeAliasDeclaration`:case`VariableDeclaration`:e.declare??=!1;return;case`VariableDeclarator`:e.definite??=!1;return;case`TSEnumDeclaration`:e.const??=!1,e.declare??=!1;return;case`TSEnumMember`:e.computed??=!1;return;case`TSImportType`:e.qualifier??=null,e.options??=null;return;case`TSInterfaceDeclaration`:e.declare??=!1,e.extends??=[];return;case`TSMappedType`:e.optional??=!1,e.readonly??=void 0;return;case`TSModuleDeclaration`:e.declare??=!1,e.global??=e.kind===`global`;return;case`TSTypeParameter`:e.const??=!1,e.in??=!1,e.out??=!1;return}}chStartsBindingIdentifierAndNotRelationalOperator(e,t){if(Me(e)){if(Xt.lastIndex=t,Xt.test(this.input)){let e=this.codePointAtPos(Xt.lastIndex);if(!Ne(e)&&e!==92)return!1}return!0}else if(e===92)return!0;else return!1}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifierAndNotRelationalOperator(t,e)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)||t===34||t===39}};function rn(e){if(e.type!==`MemberExpression`)return!1;let{computed:t,property:n}=e;return t&&n.type!==`StringLiteral`&&(n.type!==`TemplateLiteral`||n.expressions.length>0)?!1:V(e.object)}function an(e,t){var n;let{type:r}=e;if((n=e.extra)!=null&&n.parenthesized)return!1;if(t){if(r===`Literal`){let{value:t}=e;if(typeof t==`string`||typeof t==`boolean`)return!0}}else if(r===`StringLiteral`||r===`BooleanLiteral`)return!0;return!!(on(e,t)||sn(e,t)||r===`TemplateLiteral`&&e.expressions.length===0||rn(e))}function on(e,t){return t?e.type===`Literal`&&(typeof e.value==`number`||`bigint`in e):e.type===`NumericLiteral`||e.type===`BigIntLiteral`}function sn(e,t){if(e.type===`UnaryExpression`){let{operator:n,argument:r}=e;if(n===`-`&&on(r,t))return!0}return!1}function V(e){return e.type===`Identifier`?!0:e.type!==`MemberExpression`||e.computed?!1:V(e.object)}let cn=g`placeholders`({ClassNameIsRequired:`A class name is required.`,UnexpectedSpace:`Unexpected space in placeholder.`});var ln=e=>class extends e{parsePlaceholder(e){if(this.match(133)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let n=e;return(!n.expectedNode||!n.type)&&(n=this.finishNode(n,`Placeholder`)),n.expectedNode=t,n}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder(`Expression`)||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder(`Identifier`)||super.parseIdentifier(e)}checkReservedWord(e,t,n,r){e!==void 0&&super.checkReservedWord(e,t,n,r)}cloneIdentifier(e){let t=super.cloneIdentifier(e);return t.type===`Placeholder`&&(t.expectedNode=e.expectedNode),t}cloneStringLiteral(e){return e.type===`Placeholder`?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder(`Pattern`)||super.parseBindingAtom()}isValidLVal(e,t,n,r){return e===`Placeholder`||super.isValidLVal(e,t,n,r)}toAssignable(e,t){e&&e.type===`Placeholder`&&e.expectedNode===`Expression`?e.expectedNode=`Pattern`:super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t))return!0;let n=this.nextTokenStart();return this.input.charCodeAt(n)===37&&this.input.charCodeAt(n+1)===37}verifyBreakContinue(e,t){e.label?.type!==`Placeholder`&&super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var n;if(t.type!==`Placeholder`||(n=t.extra)!=null&&n.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){let n=e;return n.label=this.finishPlaceholder(t,`Identifier`),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,`LabeledStatement`)}this.semicolon();let r=e;return r.name=t.name,this.finishPlaceholder(r,`Statement`)}parseBlock(e,t,n){return this.parsePlaceholder(`BlockStatement`)||super.parseBlock(e,t,n)}parseFunctionId(e){return this.parsePlaceholder(`Identifier`)||super.parseFunctionId(e)}parseClass(e,t,n){let r=t?`ClassDeclaration`:`ClassExpression`;this.next();let i=this.state.strict,a=this.parsePlaceholder(`Identifier`);if(a)if(this.match(81)||this.match(133)||this.match(5))e.id=a;else if(n||!t)return e.id=null,e.body=this.finishPlaceholder(a,`ClassBody`),this.finishNode(e,r);else throw this.raise(cn.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(e,t,n);return super.parseClassSuper(e),e.body=this.parsePlaceholder(`ClassBody`)||super.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e,t){let n=this.parsePlaceholder(`Identifier`);if(!n)return super.parseExport(e,t);let r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(n,`Declaration`),this.finishNode(r,`ExportNamedDeclaration`);this.expectPlugin(`exportDefaultFrom`);let i=this.startNode();return i.exported=n,r.specifiers=[this.finishNode(i,`ExportDefaultSpecifier`)],super.parseExport(r,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,`from`)&&this.input.startsWith(be(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var n;return(n=e.specifiers)!=null&&n.length?!0:super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){let{specifiers:t}=e;t!=null&&t.length&&(e.specifiers=t.filter(e=>e.exported.type===`Placeholder`)),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder(`Identifier`);if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(t,`StringLiteral`),this.semicolon(),this.finishNode(e,`ImportDeclaration`);let n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishNode(n,`ImportDefaultSpecifier`)),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,`ImportDeclaration`)}parseImportSource(){return this.parsePlaceholder(`StringLiteral`)||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(cn.UnexpectedSpace,this.state.lastTokEndLoc)}},un=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),P(this.state.type)){let e=this.parseIdentifierName(),n=this.createIdentifier(t,e);if(this.castNodeTo(n,`V8IntrinsicIdentifier`),this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};let dn=[`minimal`,`fsharp`,`hack`,`smart`],fn=[`^^`,`@@`,`^`,`%`,`#`];function pn(e){if(e.has(`decorators`)){if(e.has(`decorators-legacy`))throw Error(`Cannot use the decorators and decorators-legacy plugin together`);let t=e.get(`decorators`).decoratorsBeforeExport;if(t!=null&&typeof t!=`boolean`)throw Error(`'decoratorsBeforeExport' must be a boolean, if specified.`);let n=e.get(`decorators`).allowCallParenthesized;if(n!=null&&typeof n!=`boolean`)throw Error(`'allowCallParenthesized' must be a boolean.`)}if(e.has(`flow`)&&e.has(`typescript`))throw Error(`Cannot combine flow and typescript plugins.`);if(e.has(`placeholders`)&&e.has(`v8intrinsic`))throw Error(`Cannot combine placeholders and v8intrinsic plugins.`);if(e.has(`pipelineOperator`)){let t=e.get(`pipelineOperator`).proposal;if(!dn.includes(t)){let e=dn.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}if(t===`hack`){if(e.has(`placeholders`))throw Error(`Cannot combine placeholders plugin and Hack-style pipes.`);if(e.has(`v8intrinsic`))throw Error(`Cannot combine v8intrinsic plugin and Hack-style pipes.`);let t=e.get(`pipelineOperator`).topicToken;if(!fn.includes(t)){let e=fn.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t===`#`&&e.get(`recordAndTuple`)?.syntaxType===`hash`)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify([`recordAndTuple`,e.get(`recordAndTuple`)])}\`.`)}else if(t===`smart`&&e.get(`recordAndTuple`)?.syntaxType===`hash`)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify([`recordAndTuple`,e.get(`recordAndTuple`)])}\`.`)}if(e.has(`moduleAttributes`)){if(e.has(`deprecatedImportAssert`)||e.has(`importAssertions`))throw Error(`Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.`);if(e.get(`moduleAttributes`).version!==`may-2020`)throw Error(`The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.`)}if(e.has(`importAssertions`)&&e.has(`deprecatedImportAssert`))throw Error(`Cannot combine importAssertions and deprecatedImportAssert plugins.`);if(e.has(`deprecatedImportAssert`)||e.has(`importAttributes`)&&e.get(`importAttributes`).deprecatedAssertSyntax&&e.set(`deprecatedImportAssert`,{}),e.has(`recordAndTuple`)){let t=e.get(`recordAndTuple`).syntaxType;if(t!=null){let e=[`hash`,`bar`];if(!e.includes(t))throw Error(`The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: `+e.map(e=>`'${e}'`).join(`, `))}}if(e.has(`asyncDoExpressions`)&&!e.has(`doExpressions`)){let e=Error(`'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.`);throw e.missingPlugins=`doExpressions`,e}if(e.has(`optionalChainingAssign`)&&e.get(`optionalChainingAssign`).version!==`2023-07`)throw Error(`The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.`);if(e.has(`discardBinding`)&&e.get(`discardBinding`).syntaxType!==`void`)throw Error(`The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.`)}let mn={estree:C,jsx:pt,flow:nt,typescript:nn,v8intrinsic:un,placeholders:ln},hn=Object.keys(mn);class gn extends Yt{checkProto(e,t,n,r){if(e.type===`SpreadElement`||this.isObjectMethod(e)||e.computed||e.shorthand)return n;let i=e.key;return(i.type===`Identifier`?i.name:i.value)===`__proto__`?t?(this.raise(_.RecordNoProto,i),!0):(n&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=i.loc.start):this.raise(_.DuplicateProto,i)),!0):n}shouldExitDescending(e,t){return e.type===`ArrowFunctionExpression`&&this.offsetToSourcePos(e.start)===t}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(_.ParseExpressionEmptyInput,this.state.startLoc);let e=this.parseExpression();if(!this.match(140))throw this.raise(_.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.optionFlags&256&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){let t=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let r=this.startNodeAt(t);for(r.expressions=[n];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,`SequenceExpression`)}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,t){let n=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let e=this.parseYield(n);return t&&(e=t.call(this,e,n)),e}let i;e?i=!1:(e=new Wt,i=!0);let{type:a}=this.state;(a===10||P(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,n)),de(this.state.type)){let t=this.startNodeAt(n),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(o,!0),t.left=o;let r=n.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),e.voidPatternLoc!=null&&e.voidPatternLoc.index>=r&&(e.voidPatternLoc=null)}else t.left=o;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(t,`AssignmentExpression`),void 0,void 0,void 0,void 0,r===`||=`||r===`&&=`||r===`??=`),t}else i&&this.checkExpressionErrors(e,!0);if(r){let{type:e}=this.state;if((this.hasPlugin(`v8intrinsic`)?ue(e):ue(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(_.YieldNotInGeneratorFunction,n),this.parseYield(n)}return o}parseMaybeConditional(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,n)?r:this.parseConditional(r,t,e)}parseConditional(e,t,n){if(this.eat(17)){let n=this.startNodeAt(t);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,`ConditionalExpression`)}return e}parseMaybeUnaryOrPrivate(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,n)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,n){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(n>=xe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(_.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let r=this.state.type;if(he(r)&&(this.prodParam.hasIn||!this.match(58))){let i=xe(r);if(i>n){if(r===39){if(this.expectPlugin(`pipelineOperator`),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let a=this.startNodeAt(t);a.left=e,a.operator=this.state.value;let o=r===41||r===42,s=r===40;if(s&&(i=xe(42)),this.next(),r===39&&this.hasPlugin([`pipelineOperator`,{proposal:`minimal`}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(_.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,i);let c=this.finishNode(a,o||s?`LogicalExpression`:`BinaryExpression`),l=this.state.type;if(s&&(l===41||l===42)||o&&l===40)throw this.raise(_.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,n)}}return e}parseExprOpRightExpr(e,t){let n=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption(`pipelineOperator`,`proposal`)){case`hack`:return this.withTopicBindingContext(()=>this.parseHackPipeBody());case`fsharp`:return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}if(this.getPluginOption(`pipelineOperator`,`proposal`)===`smart`)return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(_.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),n)});default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,Se(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,n=this.parseMaybeAssign();return d.has(n.type)&&!((e=n.extra)!=null&&e.parenthesized)&&this.raise(_.PipeUnparenthesizedBody,t,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipeTopicUnused,t),n}checkExponentialAfterUnary(e){this.match(57)&&this.raise(_.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){let n=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();let e=this.parseAwait(n);return t||this.checkExponentialAfterUnary(e),e}let i=this.match(34),a=this.startNode();if(_e(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin(`throwExpressions`);let n=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&n){let e=a.argument;e.type===`Identifier`?this.raise(_.StrictDelete,a):this.hasPropertyAsPrivateName(e)&&this.raise(_.DeletePrivateField,a)}if(!i)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,`UnaryExpression`)}let o=this.parseUpdate(a,i,e);if(r){let{type:e}=this.state;if((this.hasPlugin(`v8intrinsic`)?ue(e):ue(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(_.AwaitNotInAsyncContext,n),this.parseAwait(n)}return o}parseUpdate(e,t,n){if(t){let t=e;return this.checkLVal(t.argument,this.finishNode(t,`UpdateExpression`)),e}let r=this.state.startLoc,i=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return i;for(;ge(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(e,`UpdateExpression`))}return i}parseExprSubscripts(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,n)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,n){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,t,n,r),r.maybeAsyncArrow=!1;while(!r.stop);return e}parseSubscript(e,t,n,r){let{type:i}=this.state;if(!n&&i===15)return this.parseBind(e,t,n,r);if(Ce(i))return this.parseTaggedTemplateExpression(e,t,r);let a=!1;if(i===18){if(n&&(this.raise(_.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(e,r);r.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(e,t,r,n,a):this.stopParseSubscript(e,r)}}stopParseSubscript(e,t){return t.stop=!0,e}parseMember(e,t,n,r,i){let a=this.startNodeAt(t);return a.object=e,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(e.type===`Super`&&this.raise(_.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=i,this.finishNode(a,`OptionalMemberExpression`)):this.finishNode(a,`MemberExpression`)}parseBind(e,t,n,r){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,`BindExpression`),t,n)}parseCoverCallAndAsyncArrowHead(e,t,n,r){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:s,optionalChainMember:c}=n;s&&(this.expressionScope.enter(Vt()),a=new Wt),c&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments():o.arguments=this.parseCallExpressionArguments(e.type!==`Super`,o,a);let l=this.finishCallExpression(o,c);return s&&this.shouldParseAsyncArrow()&&!r?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(s&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,n){let r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(_.OptionalChainingNoTemplate,t),this.finishNode(r,`TaggedTemplateExpression`)}atPossibleAsyncArrow(e){return e.type===`Identifier`&&e.name===`async`&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type===`Import`)if(e.arguments.length===0||e.arguments.length>2)this.raise(_.ImportCallArity,e);else for(let t of e.arguments)t.type===`SpreadElement`&&this.raise(_.ImportCallSpreadArgument,t);return this.finishNode(e,t?`OptionalCallExpression`:`CallExpression`)}parseCallExpressionArguments(e,t,n){let r=[],i=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(i)i=!1;else if(this.expect(12),this.match(11)){t&&this.addTrailingCommaExtraToNode(t),this.next();break}r.push(this.parseExprListItem(11,!1,n,e))}return this.state.inFSharpPipelineDirectBody=a,r}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,t.extra?.trailingCommaLoc),t.innerComments&&xt(e,t.innerComments),t.callee.trailingComments&&xt(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,n=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(t):this.match(10)?this.optionFlags&512?this.parseImportCall(t):this.finishNode(t,`Import`):(this.raise(_.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,`Import`));case 78:return t=this.startNode(),this.next(),this.finishNode(t,`ThisExpression`);case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 0:return this.parseArrayLike(3,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if(e.type===`MemberExpression`)return this.finishNode(t,`BindExpression`);throw this.raise(_.UnsupportedBind,e)}case 139:return this.raise(_.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,`%`);case 32:return this.parseTopicReferenceThenEqualsSign(44,`^`);case 37:case 38:return this.parseTopicReference(`hack`);case 44:case 54:case 27:{let e=this.getPluginOption(`pipelineOperator`,`proposal`);if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{let e=this.input.codePointAt(this.nextTokenStart());throw Me(e)||e===62?this.expectOnePlugin([`jsx`,`flow`,`typescript`]):this.unexpected()}default:if(r===137)return this.parseDecimalLiteral(this.state.value);if(r===2||r===1)return this.parseArrayLike(this.state.type===2?4:3,!0);if(r===6||r===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(P(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,n=this.parseIdentifier();if(!t&&n.name===`async`&&!this.canInsertSemicolon()){let{type:t}=this.state;if(t===68)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(P(t))return e&&this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(t===90)return this.resetPreviousNodeTrailingComments(n),this.parseDo(this.startNodeAtNode(n),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(n),[n],!1)):n}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let n=this.getPluginOption(`pipelineOperator`,`proposal`);if(n)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=r(this.state.endLoc,-1),this.parseTopicReference(n);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),n=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,n,e,r)}finishTopicReference(e,t,n,r){if(this.testTopicReferenceConfiguration(n,t,r))return n===`hack`?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(_.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,`TopicReference`)):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(_.PrimaryTopicNotAllowed,t),this.registerTopicReference(),this.finishNode(e,`PipelinePrimaryTopicReference`));throw this.raise(_.PipeTopicUnconfiguredToken,t,{token:be(r)})}testTopicReferenceConfiguration(e,t,n){switch(e){case`hack`:return this.hasPlugin([`pipelineOperator`,{topicToken:be(n)}]);case`smart`:return n===27;default:throw this.raise(_.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(_t(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(_.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin(`doExpressions`),t&&this.expectPlugin(`asyncDoExpressions`),e.async=t,this.next();let n=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=n,this.finishNode(e,`DoExpression`)}parseSuper(){let e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?this.optionFlags&16||this.raise(_.SuperNotAllowed,e):this.scope.allowSuper||this.optionFlags&16||this.raise(_.UnexpectedSuper,e),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(_.UnsupportedSuper,e),this.finishNode(e,`Super`)}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(r(this.state.startLoc,1)),n=this.state.value;return this.next(),e.id=this.createIdentifier(t,n),this.finishNode(e,`PrivateName`)}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),`function`);return this.next(),this.match(103)?this.expectPlugin(`functionSent`):this.hasPlugin(`functionSent`)||this.unexpected(),this.parseMetaProperty(e,t,`sent`)}return this.parseFunction(e)}parseMetaProperty(e,t,n){e.meta=t;let r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==n||r)&&this.raise(_.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:n}),this.finishNode(e,`MetaProperty`)}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){let t=this.isContextual(105);return this.expectPlugin(t?`sourcePhaseImports`:`deferredImportEvaluation`),this.next(),e.phase=t?`source`:`defer`,this.parseImportCall(e)}else{let t=this.createIdentifierAt(this.startNodeAtNode(e),`import`,this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(_.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,`meta`)}}parseLiteralAtNode(e,t,n){return this.addExtra(n,`rawValue`,e),this.addExtra(n,`raw`,this.input.slice(this.offsetToSourcePos(n.start),this.state.end)),n.value=e,this.next(),this.finishNode(n,t)}parseLiteral(e,t){let n=this.startNode();return this.parseLiteralAtNode(e,t,n)}parseStringLiteral(e){return this.parseLiteral(e,`StringLiteral`)}parseNumericLiteral(e){return this.parseLiteral(e,`NumericLiteral`)}parseBigIntLiteral(e){return this.parseLiteral(e,`BigIntLiteral`)}parseDecimalLiteral(e){return this.parseLiteral(e,`DecimalLiteral`)}parseRegExpLiteral(e){let t=this.startNode();return this.addExtra(t,`raw`,this.input.slice(this.offsetToSourcePos(t.start),this.state.end)),t.pattern=e.pattern,t.flags=e.flags,this.next(),this.finishNode(t,`RegExpLiteral`)}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,`BooleanLiteral`)}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,`NullLiteral`)}parseParenAndDistinguishExpression(e){let t=this.state.startLoc,n;this.next(),this.expressionScope.enter(Bt());let r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],s=new Wt,c=!0,l,u;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,s.optionalParametersLoc===null?null:s.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(l=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,s,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let f=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),l&&this.unexpected(l),this.checkExpressionErrors(s,!0),this.toReferencedListDeep(o,!0),o.length>1?(n=this.startNodeAt(a),n.expressions=o,this.finishNode(n,`SequenceExpression`),this.resetEndLocation(n,d)):n=o[0],this.wrapParenthesis(t,n))}wrapParenthesis(e,t){if(!(this.optionFlags&1024))return this.addExtra(t,`parenthesized`,!0),this.addExtra(t,`parenStart`,e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let n=this.startNodeAt(e);return n.expression=t,this.finishNode(n,`ParenthesizedExpression`)}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),`new`);this.next();let n=this.parseMetaProperty(e,t,`target`);return this.scope.allowNewTarget||this.raise(_.UnexpectedNewTarget,n),n}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,`NewExpression`)}parseNewCallee(e){let t=this.match(83),n=this.parseNoCallExpr();e.callee=n,t&&(n.type===`Import`||n.type===`ImportExpression`)&&this.raise(_.ImportCallNotNewExpression,n)}parseTemplateElement(e){let{start:t,startLoc:n,end:i,value:a}=this.state,o=t+1,s=this.startNodeAt(r(n,1));a===null&&(e||this.raise(_.InvalidEscapeSequenceTemplate,r(this.state.firstInvalidTemplateEscapePos,1)));let c=this.match(24),l=c?-1:-2,u=i+l;s.value={raw:this.input.slice(o,u).replace(/\r\n?/g,`
9
- `),cooked:a===null?null:a.slice(1,l)},s.tail=c,this.next();let d=this.finishNode(s,`TemplateElement`);return this.resetEndLocation(d,r(this.state.lastTokEndLoc,l)),d}parseTemplate(e){let t=this.startNode(),n=this.parseTemplateElement(e),r=[n],i=[];for(;!n.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(n=this.parseTemplateElement(e));return t.expressions=i,t.quasis=r,this.finishNode(t,`TemplateLiteral`)}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,n,r){n&&this.expectPlugin(`recordAndTuple`);let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,o=!0,s=this.startNode();for(s.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(s);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),a=this.checkProto(i,n,a,r)),n&&!this.isObjectProperty(i)&&i.type!==`SpreadElement`&&this.raise(_.InvalidRecordProperty,i),i.shorthand&&this.addExtra(i,`shorthand`,!0),s.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c=`ObjectExpression`;return t?c=`ObjectPattern`:n&&(c=`RecordExpression`),this.finishNode(s,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,`trailingComma`,this.state.lastTokStartLoc.index),this.addExtra(e,`trailingCommaLoc`,this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type===`Identifier`&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin(`decorators`)&&this.raise(_.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());let n=this.startNode(),r=!1,i=!1,a;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let s=this.state.containsEsc;if(this.parsePropertyName(n,e),!o&&!s&&this.maybeAsyncOrAccessorProp(n)){let{key:e}=n,t=e.name;t===`async`&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(e),o=this.eat(55),this.parsePropertyName(n)),(t===`get`||t===`set`)&&(i=!0,this.resetPreviousNodeTrailingComments(e),n.kind=t,this.match(55)&&(o=!0,this.raise(_.AccessorIsGenerator,this.state.curPosition(),{kind:t}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,a,o,r,!1,i,e)}getGetterSetterExpectedParamCount(e){return e.kind===`get`?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){let t=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==t&&this.raise(e.kind===`get`?_.BadGetterArity:_.BadSetterArity,e),e.kind===`set`&&n[n.length-1]?.type===`RestElement`&&this.raise(_.BadSetterRestParameter,e)}parseObjectMethod(e,t,n,r,i){if(i){let n=this.parseMethod(e,t,!1,!1,!1,`ObjectMethod`);return this.checkGetterSetterParams(n),n}if(n||t||this.match(10))return r&&this.unexpected(),e.kind=`method`,e.method=!0,this.parseMethod(e,t,n,!1,!1,`ObjectMethod`)}parseObjectProperty(e,t,n,r){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,r),this.finishObjectProperty(e);if(!e.computed&&e.key.type===`Identifier`){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(29)){let n=this.state.startLoc;r==null?this.raise(_.InvalidCoverInitializedName,n):r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,`ObjectProperty`)}parseObjPropValue(e,t,n,r,i,a,o){let s=this.parseObjectMethod(e,n,r,i,a)||this.parseObjectProperty(e,t,i,o);return s||this.unexpected(),s}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:n,value:r}=this.state,i;if(se(n))i=this.parseIdentifier(!0);else switch(n){case 135:i=this.parseNumericLiteral(r);break;case 134:i=this.parseStringLiteral(r);break;case 136:i=this.parseBigIntLiteral(r);break;case 139:{let e=this.state.startLoc;t==null?this.raise(_.UnexpectedPrivateField,e):t.privateKeyLoc===null&&(t.privateKeyLoc=e),i=this.parsePrivateName();break}default:if(n===137){i=this.parseDecimalLiteral(r);break}this.unexpected()}e.key=i,n!==139&&(e.computed=!1)}}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,n,r,i,a,o=!1){this.initFunction(e,n),e.generator=t,this.scope.enter(530|(o?576:0)|(i?32:0)),this.prodParam.enter(_t(n,e.generator)),this.parseFunctionParams(e,r);let s=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),s}parseArrayLike(e,t,n){t&&this.expectPlugin(`recordAndTuple`);let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!t,n,i),this.state.inFSharpPipelineDirectBody=r,this.finishNode(i,t?`TupleExpression`:`ArrayExpression`)}parseArrowExpression(e,t,n,r){this.scope.enter(518);let i=_t(n,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,n);let a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,`ArrowFunctionExpression`)}setArrowFunctionParameters(e,t,n){this.toAssignableList(t,n,!1),e.params=t}parseFunctionBodyAndFinish(e,t,n=!1){return this.parseFunctionBody(e,!1,n),this.finishNode(e,t)}parseFunctionBody(e,t,n=!1){let r=t&&!this.match(5);if(this.expressionScope.enter(Ht()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let r=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),e.body=this.parseBlock(!0,!1,i=>{let a=!this.isSimpleParamList(e.params);i&&a&&this.raise(_.IllegalLanguageModeDirective,(e.kind===`method`||e.kind===`constructor`)&&e.key?e.key.loc.end:e);let o=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!n&&!a,t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)}),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return e.type===`Identifier`}isSimpleParamList(e){for(let t=0,n=e.length;t<n;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,n,r=!0){let i=!t&&new Set,a={type:`FormalParameters`};for(let t of e.params)this.checkLVal(t,a,5,i,r)}parseExprList(e,t,n,r){let i=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(e,t,n))}return i}parseExprListItem(e,t,n,r){let i;if(this.match(12))t||this.raise(_.UnexpectedToken,this.state.curPosition(),{unexpected:`,`}),i=null;else if(this.match(21)){let e=this.state.startLoc;i=this.parseParenItem(this.parseSpread(n),e)}else if(this.match(17)){this.expectPlugin(`partialApplication`),r||this.raise(_.UnexpectedArgumentPlaceholder,this.state.startLoc);let e=this.startNode();this.next(),i=this.finishNode(e,`ArgumentPlaceholder`)}else i=this.parseMaybeAssignAllowInOrVoidPattern(e,n,this.parseParenItem);return i}parseIdentifier(e){let t=this.startNode(),n=this.parseIdentifierName(e);return this.createIdentifier(t,n)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,`Identifier`)}createIdentifierAt(e,t,n){return e.name=t,e.loc.identifierName=t,this.finishNodeAt(e,`Identifier`,n)}parseIdentifierName(e){let t,{startLoc:n,type:r}=this.state;se(r)?t=this.state.value:this.unexpected();let i=oe(r);return e?i&&this.replaceToken(132):this.checkReservedWord(t,n,i,!1),this.next(),t}checkReservedWord(e,t,n,r){if(!(e.length>10)&&Ge(e)){if(n&&He(e)){this.raise(_.UnexpectedKeyword,t,{keyword:e});return}if((this.state.strict?r?Ve:ze:Re)(e,this.inModule)){this.raise(_.UnexpectedReservedWord,t,{reservedWord:e});return}else if(e===`yield`){if(this.prodParam.hasYield){this.raise(_.YieldBindingIdentifier,t);return}}else if(e===`await`){if(this.prodParam.hasAwait){this.raise(_.AwaitBindingIdentifier,t);return}if(this.scope.inStaticBlock){this.raise(_.AwaitBindingIdentifierInStaticBlock,t);return}this.expressionScope.recordAsyncArrowParametersError(t)}else if(e===`arguments`&&this.scope.inClassAndNotInNonArrowFunction){this.raise(_.ArgumentsInClass,t);return}}}recordAwaitIfAllowed(){let e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(_.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(_.ObsoleteAwaitStar,t),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,`AwaitExpression`)}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===53||e===10||e===0||Ce(e)||e===102&&!this.state.containsEsc||e===138||e===56||this.hasPlugin(`v8intrinsic`)&&e===54}parseYield(e){let t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(_.YieldInParameter,t);let n=!1,r=null;if(!this.hasPrecedingLineBreak())switch(n=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!n)break;default:r=this.parseMaybeAssign()}return t.delegate=n,t.argument=r,this.finishNode(t,`YieldExpression`)}parseImportCall(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(_.ImportCallArity,e)}}return this.expect(11),this.finishNode(e,`ImportExpression`)}checkPipelineAtInfixOperator(e,t){this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])&&e.type===`SequenceExpression`&&this.raise(_.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let n=this.startNodeAt(t);return n.callee=e,this.finishNode(n,`PipelineBareFunction`)}else{let n=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),n.expression=e,this.finishNode(n,`PipelineTopicExpression`)}}isSimpleReference(e){switch(e.type){case`MemberExpression`:return!e.computed&&this.isSimpleReference(e.object);case`Identifier`:return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(_.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipelineTopicUnused,e)}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else return e()}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(t|8);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(t&-9);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=n,r}parseModuleExpression(){this.expectPlugin(`moduleBlocks`);let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let n=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,`module`)}finally{n()}return this.finishNode(e,`ModuleExpression`)}parseVoidPattern(e){this.expectPlugin(`discardBinding`);let t=this.startNode();return e!=null&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,`VoidPattern`)}parseMaybeAssignAllowInOrVoidPattern(e,t,n){if(t!=null&&this.match(88)){let n=this.lookaheadCharCode();if(n===44||n===(e===3?93:e===8?125:41)||n===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,n)}parsePropertyNamePrefixOperator(e){}}let _n={kind:1},vn={kind:2},yn=/[\uD800-\uDFFF]/u,bn=/in(?:stanceof)?/y;function xn(e,t,n){for(let i=0;i<e.length;i++){let a=e[i],{type:o}=a;if(typeof o==`number`){if(o===139){let{loc:t,start:n,value:o,end:s}=a,c=n+1,l=r(t.start,1);e.splice(i,1,new Mt({type:we(27),value:`#`,start:n,end:c,startLoc:t.start,endLoc:l}),new Mt({type:we(132),value:o,start:c,end:s,startLoc:l,endLoc:t.end})),i++;continue}if(Ce(o)){let{loc:s,start:c,value:l,end:u}=a,d=c+1,f=r(s.start,1),p;p=t.charCodeAt(c-n)===96?new Mt({type:we(22),value:"`",start:c,end:d,startLoc:s.start,endLoc:f}):new Mt({type:we(8),value:`}`,start:c,end:d,startLoc:s.start,endLoc:f});let m,h,g,_;o===24?(h=u-1,g=r(s.end,-1),m=l===null?null:l.slice(1,-1),_=new Mt({type:we(22),value:"`",start:h,end:u,startLoc:g,endLoc:s.end})):(h=u-2,g=r(s.end,-2),m=l===null?null:l.slice(1,-2),_=new Mt({type:we(23),value:"${",start:h,end:u,startLoc:g,endLoc:s.end})),e.splice(i,1,p,new Mt({type:we(20),value:m,start:d,end:h,startLoc:f,endLoc:g}),_),i+=2;continue}a.type=we(o)}}return e}class Sn extends gn{parseTopLevel(e,t){return e.program=this.parseProgram(t,140,this.options.sourceType===`module`?`module`:`script`),e.comments=this.comments,this.optionFlags&256&&(e.tokens=xn(this.tokens,this.input,this.startIndex)),this.finishNode(e,`File`)}parseProgram(e,t,n){if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(_.ModuleExportUndefined,t,{localName:e});this.addExtra(e,`topLevelAwait`,this.state.hasTopLevelAwait)}let i;return i=t===140?this.finishNode(e,`Program`):this.finishNodeAt(e,`Program`,r(this.state.startLoc,-1)),i}stmtToDirective(e){let t=this.castNodeTo(e,`Directive`),n=this.castNodeTo(e.expression,`DirectiveLiteral`),r=n.value,i=this.input.slice(this.offsetToSourcePos(n.start),this.offsetToSourcePos(n.end)),a=n.value=i.slice(1,-1);return this.addExtra(n,`raw`,i),this.addExtra(n,`rawValue`,a),this.addExtra(n,`expressionValue`,r),t.value=n,delete e.expression,t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,`InterpreterDirective`)}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){return this.isContextual(107)?this.nextTokenIsIdentifierOnSameLine():!1}isForUsing(){if(!this.isContextual(107))return!1;let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);if(this.isUnparsedContextual(e,`of`)){let t=this.lookaheadCharCodeSince(e+2);if(t!==61&&t!==58&&t!==59)return!1}return!!(this.chStartsBindingIdentifier(t,e)||this.isUnparsedContextual(e,`void`))}nextTokenIsIdentifierOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}isAwaitUsing(){if(!this.isContextual(96))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,`using`)){e=this.nextTokenInLineStartSince(e+5);let t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return!0}return!1}chStartsBindingIdentifier(e,t){if(Me(e)){if(bn.lastIndex=t,bn.test(this.input)){let e=this.codePointAtPos(bn.lastIndex);if(!Ne(e)&&e!==92)return!1}return!0}else if(e===92)return!0;else return!1}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifierOrBrace(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return t===123||this.chStartsBindingIdentifier(t,e)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let n=this.state.type,r=this.startNode(),i=!!(e&2),a=!!(e&4),o=e&1;switch(n){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?_.StrictFunction:this.options.annexB?_.SloppyFunctionAnnexB:_.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(_.AwaitUsingNotInAsyncContext,r):this.raise(_.UnexpectedLexicalDeclaration,r):this.raise(_.UnexpectedUsingDeclaration,r),this.next(),this.parseVarStatement(r,`await using`);break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?i||this.raise(_.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(_.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,`using`);case 100:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(t!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&t!==123))break}case 75:i||this.raise(_.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let e=this.lookaheadCharCode();if(e===40||e===46)break}case 82:{!(this.optionFlags&8)&&!o&&this.raise(_.UnexpectedImportExport,this.state.startLoc),this.next();let e;return e=n===83?this.parseImport(r):this.parseExport(r,t),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(_.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let s=this.state.value,c=this.parseExpression();return P(n)&&c.type===`Identifier`&&this.eat(14)?this.parseLabeledStatement(r,s,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){!(this.optionFlags&8)&&!this.inModule&&this.raise(_.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return this.hasPlugin(`decorators-legacy`)?!0:this.hasPlugin(`decorators`)&&this.getPluginOption(`decorators`,`decoratorsBeforeExport`)!==!1}maybeTakeDecorators(e,t,n){if(e){var r;(r=t.decorators)!=null&&r.length?(typeof this.getPluginOption(`decorators`,`decoratorsBeforeExport`)!=`boolean`&&this.raise(_.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),n&&this.resetStartLocationFromNode(n,t)}return t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do t.push(this.parseDecorator());while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(_.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(_.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin([`decorators`,`decorators-legacy`]);let e=this.startNode();if(this.next(),this.hasPlugin(`decorators`)){let t=this.state.startLoc,n;if(this.match(10)){let t=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(t,n);let r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(n,t),this.getPluginOption(`decorators`,`allowCallParenthesized`)===!1&&e.expression!==n&&this.raise(_.DecoratorArgumentsOutsideParentheses,r)}else{for(n=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(t);e.object=n,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,n=this.finishNode(e,`MemberExpression`)}e.expression=this.parseMaybeDecoratorArguments(n,t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,`Decorator`)}parseMaybeDecoratorArguments(e,t){if(this.eat(10)){let n=this.startNodeAt(t);return n.callee=e,n.arguments=this.parseCallExpressionArguments(),this.toReferencedList(n.arguments),this.finishNode(n,`CallExpression`)}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?`BreakStatement`:`ContinueStatement`)}verifyBreakContinue(e,t){let n;for(n=0;n<this.state.labels.length;++n){let r=this.state.labels[n];if((e.label==null||r.name===e.label.name)&&(r.kind!=null&&(t||r.kind===1)||e.label&&t))break}if(n===this.state.labels.length){let n=t?`BreakStatement`:`ContinueStatement`;this.raise(_.IllegalBreakContinue,e,{type:n})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,`DebuggerStatement`)}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(_n),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,`DoWhileStatement`)}parseForStatement(e){this.next(),this.state.labels.push(_n);let t=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(t=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(e,null);let n=this.isContextual(100);{let r=this.isAwaitUsing(),i=r||this.isForUsing(),a=n&&this.hasFollowingBindingAtom()||i;if(this.match(74)||this.match(75)||a){let n=this.startNode(),a;r?(a=`await using`,this.recordAwaitIfAllowed()||this.raise(_.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):a=this.state.value,this.next(),this.parseVar(n,!0,a);let o=this.finishNode(n,`VariableDeclaration`),s=this.match(58);return s&&i&&this.raise(_.ForInUsing,o),(s||this.isContextual(102))&&o.declarations.length===1?this.parseForIn(e,o,t):(t!==null&&this.unexpected(t),this.parseFor(e,o))}}let r=this.isContextual(95),i=new Wt,a=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(n&&this.raise(_.ForOfLet,a),t===null&&r&&a.type===`Identifier`&&this.raise(_.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(a,!0);let n=o?`ForOfStatement`:`ForInStatement`;return this.checkLVal(a,{type:n}),this.parseForIn(e,a,t)}else this.checkExpressionErrors(i,!0);return t!==null&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,n){return this.next(),this.parseFunction(e,1|(n?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,`IfStatement`)}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(_.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,`ReturnStatement`)}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t=e.cases=[];this.expect(5),this.state.labels.push(vn),this.scope.enter(256);let n;for(let e;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);n&&this.finishNode(n,`SwitchCase`),t.push(n=this.startNode()),n.consequent=[],this.next(),r?n.test=this.parseExpression():(e&&this.raise(_.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),e=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,`SwitchCase`),this.next(),this.state.labels.pop(),this.finishNode(e,`SwitchStatement`)}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(_.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,`ThrowStatement`)}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&e.type===`Identifier`?8:0),this.checkLVal(e,{type:`CatchClause`},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,`CatchClause`)}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(_.NoCatchOrFinally,e),this.finishNode(e,`TryStatement`)}parseVarStatement(e,t,n=!1){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,`VariableDeclaration`)}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(_n),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,`WhileStatement`)}parseWithStatement(e){return this.state.strict&&this.raise(_.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,`WithStatement`)}parseEmptyStatement(e){return this.next(),this.finishNode(e,`EmptyStatement`)}parseLabeledStatement(e,t,n,r){for(let e of this.state.labels)e.name===t&&this.raise(_.LabelRedeclaration,n,{labelName:t});let i=pe(this.state.type)?1:this.match(71)?2:null;for(let t=this.state.labels.length-1;t>=0;t--){let n=this.state.labels[t];if(n.statementStart===e.start)n.statementStart=this.sourceToOffsetPos(this.state.start),n.kind=i;else break}return this.state.labels.push({name:t,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=n,this.finishNode(e,`LabeledStatement`)}parseExpressionStatement(e,t,n){return e.expression=t,this.semicolon(),this.finishNode(e,`ExpressionStatement`)}parseBlock(e=!1,t=!0,n){let r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,n),t&&this.scope.exit(),this.finishNode(r,`BlockStatement`)}isValidDirective(e){return e.type===`ExpressionStatement`&&e.expression.type===`StringLiteral`&&!e.expression.extra.parenthesized}parseBlockBody(e,t,n,r,i){let a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?o:void 0,n,r,i)}parseBlockOrModuleBlockBody(e,t,n,r,i){let a=this.state.strict,o=!1,s=!1;for(;!this.match(r);){let r=n?this.parseModuleItem():this.parseStatementListItem();if(t&&!s){if(this.isValidDirective(r)){let e=this.stmtToDirective(r);t.push(e),!o&&e.value.value===`use strict`&&(o=!0,this.setStrict(!0));continue}s=!0,this.state.strictErrors.clear()}e.push(r)}i?.call(this,o),a||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,`ForStatement`)}parseForIn(e,t,n){let r=this.match(58);return this.next(),r?n!==null&&this.unexpected(n):e.await=n!==null,t.type===`VariableDeclaration`&&t.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||t.kind!==`var`||t.declarations[0].id.type!==`Identifier`)&&this.raise(_.ForInOfLoopInitializer,t,{type:r?`ForInStatement`:`ForOfStatement`}),t.type===`AssignmentPattern`&&this.raise(_.InvalidLhs,t,{ancestor:{type:`ForStatement`}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?`ForInStatement`:`ForOfStatement`)}parseVar(e,t,n,r=!1){let i=e.declarations=[];for(e.kind=n;;){let e=this.startNode();if(this.parseVarId(e,n),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,e.init===null&&!r&&(e.id.type!==`Identifier`&&!(t&&(this.match(58)||this.isContextual(102)))?this.raise(_.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:`destructuring`}):(n===`const`||n===`using`||n===`await using`)&&!(this.match(58)||this.isContextual(102))&&this.raise(_.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:n})),i.push(this.finishNode(e,`VariableDeclarator`)),!this.eat(12))break}return e}parseVarId(e,t){let n=this.parseBindingAtom();t===`using`||t===`await using`?(n.type===`ArrayPattern`||n.type===`ObjectPattern`)&&this.raise(_.UsingDeclarationHasBindingPattern,n.loc.start):n.type===`VoidPattern`&&this.raise(_.UnexpectedVoidPattern,n.loc.start),this.checkLVal(n,{type:`VariableDeclarator`},t===`var`?5:8201),e.id=n}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){let n=t&2,r=!!(t&1),i=r&&!(t&4),a=!!(t&8);this.initFunction(e,a),this.match(55)&&(n&&this.raise(_.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(_t(a,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?`FunctionDeclaration`:`FunctionExpression`)}),this.prodParam.exit(),this.scope.exit(),r&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||P(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(zt()),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,n){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,n),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?`ClassDeclaration`:`ClassExpression`)}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return e.type===`Identifier`&&e.name===`constructor`||e.type===`StringLiteral`&&e.value===`constructor`}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,t){this.classScope.enter();let n={hadConstructor:!1,hadSuperClass:e},r=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(_.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}let e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(i,e,n),e.kind===`constructor`&&e.decorators&&e.decorators.length>0&&this.raise(_.DecoratorConstructor,e)}}),this.state.strict=t,this.next(),r.length)throw this.raise(_.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,`ClassBody`)}parseClassMemberFromModifier(e,t){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let r=t;return r.kind=`method`,r.computed=!1,r.key=n,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=t;return r.computed=!1,r.key=n,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(e,t,n){let r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,n,r)}parseClassMemberWithIsStatic(e,t,n,r){let i=t,a=t,o=t,s=t,c=t,l=i,u=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind=`method`;let t=this.match(139);if(this.parseClassElementName(l),this.parsePostMemberNameModifiers(l),t){this.pushClassPrivateMethod(e,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsGenerator,i.key),this.pushClassMethod(e,i,!0,!1,!1,!1);return}let d=!this.state.containsEsc&&P(this.state.type),f=this.parseClassElementName(t),p=d?f.name:null,m=this.isPrivateName(f),h=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind=`method`,m){this.pushClassPrivateMethod(e,a,!1,!1);return}let r=this.isNonstaticConstructor(i),o=!1;r&&(i.kind=`constructor`,n.hadConstructor&&!this.hasPlugin(`typescript`)&&this.raise(_.DuplicateConstructor,f),r&&this.hasPlugin(`typescript`)&&t.override&&this.raise(_.OverrideOnConstructor,f),n.hadConstructor=!0,o=n.hadSuperClass),this.pushClassMethod(e,i,!1,!1,r,o)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o);else if(p===`async`&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);let t=this.eat(55);u.optional&&this.unexpected(h),l.kind=`method`;let n=this.match(139);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),n?this.pushClassPrivateMethod(e,a,t,!0):(this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsAsync,i.key),this.pushClassMethod(e,i,t,!0,!1,!1))}else if((p===`get`||p===`set`)&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f),l.kind=p;let t=this.match(139);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(p===`accessor`&&!this.isLineTerminator()){this.expectPlugin(`decoratorAutoAccessors`),this.resetPreviousNodeTrailingComments(f);let t=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?m?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o):this.unexpected()}parseClassElementName(e){let{type:t,value:n}=this.state;if((t===132||t===134)&&e.static&&n===`prototype`&&this.raise(_.StaticPrototype,this.state.startLoc),t===139){n===`constructor`&&this.raise(_.ConstructorClassPrivateField,this.state.startLoc);let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,t){var n;this.scope.enter(720);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,`StaticBlock`)),(n=t.decorators)!=null&&n.length&&this.raise(_.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(_.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let n=this.parseClassPrivateProperty(t);e.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassAccessorProperty(e,t,n){!n&&!t.computed&&this.nameIsConstructor(t.key)&&this.raise(_.ConstructorClassField,t.key);let r=this.parseClassAccessorProperty(t);e.body.push(r),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,n,r,i,a){e.body.push(this.parseMethod(t,n,r,i,a,`ClassMethod`,!0))}pushClassPrivateMethod(e,t,n,r){let i=this.parseMethod(t,n,r,!1,!1,`ClassPrivateMethod`,!0);e.body.push(i);let a=i.kind===`get`?i.static?6:2:i.kind===`set`?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassPrivateProperty`)}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassProperty`)}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassAccessorProperty`)}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(Ht()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,n,r=8331){if(P(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else if(n||!t)e.id=null;else throw this.raise(_.MissingClassName,this.state.startLoc)}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let n=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,n),i=!r||this.eat(12),a=i&&this.eatExportStar(e),o=a&&this.maybeParseExportNamespaceSpecifier(e),s=i&&(!o||this.eat(12)),c=r||a;if(a&&!o){if(r&&this.unexpected(),t)throw this.raise(_.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,`ExportAllDeclaration`)}let l=this.maybeParseExportNamedSpecifiers(e);r&&i&&!a&&!l&&this.unexpected(null,5),o&&s&&this.unexpected(null,98);let u;if(c||l){if(u=!1,t)throw this.raise(_.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else u=this.maybeParseExportDeclaration(e);if(c||l||u){let n=e;if(this.checkExport(n,!0,!1,!!n.source),n.declaration?.type===`ClassDeclaration`)this.maybeTakeDecorators(t,n.declaration,n);else if(t)throw this.raise(_.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(n,`ExportNamedDeclaration`)}if(this.eat(65)){let n=e,r=this.parseExportDefaultExpression();if(n.declaration=r,r.type===`ClassDeclaration`)this.maybeTakeDecorators(t,r,n);else if(t)throw this.raise(_.UnsupportedDecoratorExport,e);return this.checkExport(n,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(n,`ExportDefaultDeclaration`)}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin(`exportDefaultFrom`,t?.loc.start);let n=t||this.parseIdentifier(!0),r=this.startNodeAtNode(n);return r.exported=n,e.specifiers=[this.finishNode(r,`ExportDefaultSpecifier`)],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var t;(t=e).specifiers??(t.specifiers=[]);let n=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),n.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(n,`ExportNamespaceSpecifier`)),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){let t=e;t.specifiers||=[];let n=t.exportKind===`type`;return t.specifiers.push(...this.parseExportSpecifiers(n)),t.source=null,this.hasPlugin(`importAssertions`)?t.assertions=[]:t.attributes=[],t.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin(`importAssertions`)?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,`function`)}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin(`decorators`)&&this.getPluginOption(`decorators`,`decoratorsBeforeExport`)===!0&&this.raise(_.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(_.UnsupportedDefaultExport,this.state.startLoc);let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(P(e)){if(e===95&&!this.state.containsEsc||e===100)return!1;if((e===130||e===129)&&!this.state.containsEsc){let e=this.nextTokenStart(),t=this.input.charCodeAt(e);if(t===123||this.chStartsBindingIdentifier(t,e)&&!this.input.startsWith(`from`,e))return this.expectOnePlugin([`flow`,`typescript`]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),n=this.isUnparsedContextual(t,`from`);if(this.input.charCodeAt(t)===44||P(this.state.type)&&n)return!0;if(this.match(65)&&n){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return!1}parseExportFrom(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return e===26&&(this.expectOnePlugin([`decorators`,`decorators-legacy`]),this.hasPlugin(`decorators`))?(this.getPluginOption(`decorators`,`decoratorsBeforeExport`)===!0&&this.raise(_.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(_.UsingDeclarationExport,this.state.startLoc),!0):e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,n,r){if(t){var i;if(n){if(this.checkDuplicateExports(e,`default`),this.hasPlugin(`exportDefaultFrom`)){var a;let t=e.declaration;t.type===`Identifier`&&t.name===`from`&&t.end-t.start===4&&!((a=t.extra)!=null&&a.parenthesized)&&this.raise(_.ExportDefaultFromAsIdentifier,t)}}else if((i=e.specifiers)!=null&&i.length)for(let t of e.specifiers){let{exported:e}=t,n=e.type===`Identifier`?e.name:e.value;if(this.checkDuplicateExports(t,n),!r&&t.local){let{local:e}=t;e.type===`Identifier`?(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e)):this.raise(_.ExportBindingIsString,t,{localName:e.value,exportName:n})}}else if(e.declaration){let t=e.declaration;if(t.type===`FunctionDeclaration`||t.type===`ClassDeclaration`){let{id:n}=t;if(!n)throw Error(`Assertion failure`);this.checkDuplicateExports(e,n.name)}else if(t.type===`VariableDeclaration`)for(let e of t.declarations)this.checkDeclaration(e.id)}}}checkDeclaration(e){if(e.type===`Identifier`)this.checkDuplicateExports(e,e.name);else if(e.type===`ObjectPattern`)for(let t of e.properties)this.checkDeclaration(t);else if(e.type===`ArrayPattern`)for(let t of e.elements)t&&this.checkDeclaration(t);else e.type===`ObjectProperty`?this.checkDeclaration(e.value):e.type===`RestElement`?this.checkDeclaration(e.argument):e.type===`AssignmentPattern`&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(_.DuplicateDefaultExport,e):this.raise(_.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(130),i=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,r))}return t}parseExportSpecifier(e,t,n,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=this.cloneStringLiteral(e.local):e.exported||=this.cloneIdentifier(e.local),this.finishNode(e,`ExportSpecifier`)}parseModuleExportName(){if(this.match(134)){let e=this.parseStringLiteral(this.state.value),t=yn.exec(e.value);return t&&this.raise(_.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return e.assertions!=null&&e.assertions.some(({key:e,value:t})=>t.value===`json`&&(e.type===`Identifier`?e.name===`type`:e.value===`type`))}checkImportReflection(e){let{specifiers:t}=e,n=t.length===1?t[0].type:null;e.phase===`source`?n!==`ImportDefaultSpecifier`&&this.raise(_.SourcePhaseImportRequiresDefault,t[0].loc.start):e.phase===`defer`?n!==`ImportNamespaceSpecifier`&&this.raise(_.DeferImportRequiresNamespace,t[0].loc.start):e.module&&(n!==`ImportDefaultSpecifier`&&this.raise(_.ImportReflectionNotBinding,t[0].loc.start),e.assertions?.length>0&&this.raise(_.ImportReflectionHasAssertion,t[0].loc.start))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!==`ExportAllDeclaration`){let{specifiers:t}=e;if(t!=null){let e=t.find(e=>{let t;if(e.type===`ExportSpecifier`?t=e.local:e.type===`ImportSpecifier`&&(t=e.imported),t!==void 0)return t.type===`Identifier`?t.name!=="default":t.value!=="default"});e!==void 0&&this.raise(_.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return e?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(e,t,n,r){t||(n===`module`?(this.expectPlugin(`importReflection`,r),e.module=!0):this.hasPlugin(`importReflection`)&&(e.module=!1),n===`source`?(this.expectPlugin(`sourcePhaseImports`,r),e.phase=`source`):n===`defer`?(this.expectPlugin(`deferredImportEvaluation`,r),e.phase=`defer`):this.hasPlugin(`sourcePhaseImports`)&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;let n=this.startNode(),r=this.parseIdentifierName(!0),{type:i}=this.state;return(se(i)?i!==98||this.lookaheadCharCode()===102:i!==12)?(this.applyImportPhase(e,t,r,n.loc.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(n,r))}isPrecedingIdImportPhase(e){let{type:t}=this.state;return P(t)?t!==98||this.lookaheadCharCode()===102:t!==12}parseImport(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];let n=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=n&&this.maybeParseStarImportSpecifier(e);return n&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return e.specifiers??=[],e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,`ImportDeclaration`)}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,n){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}finishImportSpecifier(e,t,n=8201){return this.checkLVal(e.local,{type:t},n),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);let e=[],t=new Set;do{if(this.match(8))break;let n=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(_.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(134)?n.key=this.parseStringLiteral(r):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(_.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,`ImportAttribute`))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){let e=[],t=new Set;do{let n=this.startNode();if(n.key=this.parseIdentifier(!0),n.key.name!==`type`&&this.raise(_.ModuleAttributeDifferentFromType,n.key),t.has(n.key.name)&&this.raise(_.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),t.add(n.key.name),this.expect(14),!this.match(134))throw this.raise(_.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,`ImportAttribute`))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t;var n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin(`moduleAttributes`)?(t=this.parseModuleAttributes(),this.addExtra(e,`deprecatedWithLegacySyntax`,!0)):t=this.parseImportAttributes(),n=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin(`deprecatedImportAssert`)&&!this.hasPlugin(`importAssertions`)&&this.raise(_.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin(`importAssertions`)||this.addExtra(e,`deprecatedAssertSyntax`,!0),this.next(),t=this.parseImportAttributes()):t=[];!n&&this.hasPlugin(`importAssertions`)?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){let n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishImportSpecifier(n,`ImportDefaultSpecifier`)),!0}else if(se(this.state.type))return this.parseImportSpecifierLocal(e,this.startNode(),`ImportDefaultSpecifier`),!0;return!1}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,`ImportNamespaceSpecifier`),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(_.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let n=this.startNode(),r=this.match(134),i=this.isContextual(130);n.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(n,r,e.importKind===`type`||e.importKind===`typeof`,i,void 0);e.specifiers.push(a)}}parseImportSpecifier(e,t,n,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:n}=e;if(t)throw this.raise(_.ImportBindingIsString,e,{importName:n.value});this.checkReservedWord(n.name,e.loc.start,!0,!0),e.local||=this.cloneIdentifier(n)}return this.finishImportSpecifier(e,`ImportSpecifier`,i)}isThisParam(e){return e.type===`Identifier`&&e.name===`this`}}class Cn extends Sn{constructor(e,t,n){let r=y(e);super(r,t),this.options=r,this.initializeScopes(),this.plugins=n,this.filename=r.sourceFilename,this.startIndex=r.startIndex;let i=0;r.allowAwaitOutsideFunction&&(i|=1),r.allowReturnOutsideFunction&&(i|=2),r.allowImportExportEverywhere&&(i|=8),r.allowSuperOutsideMethod&&(i|=16),r.allowUndeclaredExports&&(i|=64),r.allowNewTargetOutsideFunction&&(i|=4),r.allowYieldOutsideFunction&&(i|=32),r.ranges&&(i|=128),r.tokens&&(i|=256),r.createImportExpressions&&(i|=512),r.createParenthesizedExpressions&&(i|=1024),r.errorRecovery&&(i|=2048),r.attachComment&&(i|=4096),r.annexB&&(i|=8192),this.optionFlags=i}getScopeHandler(){return qe}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();this.nextToken(),e.errors=null;let n=this.parseTopLevel(e,t);return n.errors=this.state.errors,n.comments.length=this.state.commentsLen,n}}function wn(e,t){if(t?.sourceType===`unambiguous`){t=Object.assign({},t);try{t.sourceType=`module`;let n=On(t,e),r=n.parse();if(n.sawUnambiguousESM)return r;if(n.ambiguousScriptDifferentAst)try{return t.sourceType=`script`,On(t,e).parse()}catch{}else r.program.sourceType=`script`;return r}catch(n){try{return t.sourceType=`script`,On(t,e).parse()}catch{}throw n}}else return On(t,e).parse()}function Tn(e,t){let n=On(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function En(e){let t={};for(let n of Object.keys(e))t[n]=we(e[n]);return t}let Dn=En(ae);function On(e,t){let n=Cn,r=new Map;if(e!=null&&e.plugins){for(let t of e.plugins){let e,n;typeof t==`string`?e=t:[e,n]=t,r.has(e)||r.set(e,n||{})}pn(r),n=An(r)}return new n(e,t,r)}let kn=new Map;function An(e){let t=[];for(let n of hn)e.has(n)&&t.push(n);let n=t.join(`|`),r=kn.get(n);if(!r){r=Cn;for(let e of t)r=mn[e](r);kn.set(n,r)}return r}return Rr.parse=wn,Rr.parseExpression=Tn,Rr.tokTypes=Dn,Rr}var Vr=Br(),Hr=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,n,r){e&&(n===null?e[t]=r:e[t][n]=r)}remove(e,t,n){e&&(n===null?delete e[t]:e[t].splice(n,1))}},Ur=class extends Hr{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,n,r){if(e){if(this.enter){let i=this.should_skip,a=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let s=this.should_skip,c=this.should_remove;if(this.should_skip=i,this.should_remove=a,this.replacement=o,s)return e;if(c)return null}for(let t in e){let n=e[t];if(typeof n==`object`)if(Array.isArray(n))for(let r=0;r<n.length;r+=1)n[r]!==null&&typeof n[r].type==`string`&&(this.visit(n[r],e,t,r)||r--);else n!==null&&typeof n.type==`string`&&this.visit(n,e,t,null)}if(this.leave){let i=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let o=this.should_remove;if(this.replacement=i,this.should_remove=a,o)return null}}return e}};function Wr(e,{enter:t,leave:n}){return new Ur(t,n).visit(e,null)}function Gr(e,t,n=!1,r=[],i=Object.create(null)){let a=e.type===`Program`?e.body[0].type===`ExpressionStatement`&&e.body[0].expression:e;Wr(e,{enter(e,a){if(a&&r.push(a),a&&a.type.startsWith(`TS`)&&!si.includes(a.type))return this.skip();if(e.type===`Identifier`){let o=!!i[e.name],s=Kr(e,a,r);(n||s&&!o)&&t(e,a,r,s,o)}else if(e.type===`ObjectProperty`&&a?.type===`ObjectPattern`)e.inPattern=!0;else if(ri(e))e.scopeIds?e.scopeIds.forEach(e=>ti(e,i)):Yr(e,t=>ni(e,t,i));else if(e.type===`BlockStatement`)e.scopeIds?e.scopeIds.forEach(e=>ti(e,i)):Xr(e,t=>ni(e,t,i));else if(e.type===`SwitchStatement`)e.scopeIds?e.scopeIds.forEach(e=>ti(e,i)):$r(e,!1,t=>ni(e,t,i));else if(e.type===`CatchClause`&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>ti(e,i));else for(let t of ei(e.param))ni(e,t,i);else Zr(e)&&(e.scopeIds?e.scopeIds.forEach(e=>ti(e,i)):Qr(e,!1,t=>ni(e,t,i)))},leave(e,t){if(t&&r.pop(),e!==a&&e.scopeIds)for(let t of e.scopeIds)i[t]--,i[t]===0&&delete i[t]}})}function Kr(e,t,n){if(!t)return!0;if(e.name===`arguments`)return!1;if(oi(e,t,n[n.length-2]))return!0;switch(t.type){case`AssignmentExpression`:case`AssignmentPattern`:return!0;case`ObjectProperty`:return t.key!==e&&qr(t,n);case`ArrayPattern`:return qr(t,n)}return!1}function qr(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function Jr(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function Yr(e,t){for(let n of e.params)for(let e of ei(n))t(e)}function Xr(e,t){let n=e.type===`SwitchCase`?e.consequent:e.body;for(let e of n)if(e.type===`VariableDeclaration`){if(e.declare)continue;for(let n of e.declarations)for(let e of ei(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else Zr(e)?Qr(e,!0,t):e.type===`SwitchStatement`&&$r(e,!0,t)}function Zr(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function Qr(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of ei(e.id))n(t)}function $r(e,t,n){for(let r of e.cases){for(let e of r.consequent)if(e.type===`VariableDeclaration`&&(e.kind===`var`?t:!t))for(let t of e.declarations)for(let e of ei(t.id))n(e);Xr(r,n)}}function ei(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?ei(n.argument,t):ei(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&ei(e,t)});break;case`RestElement`:ei(e.argument,t);break;case`AssignmentPattern`:ei(e.left,t);break}return t}function ti(e,t){e in t?t[e]++:t[e]=1}function ni(e,t,n){let{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(ti(r,n),(e.scopeIds||=new Set).add(r))}var ri=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),ii=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,ai=(e,t)=>ii(t)&&t.key===e;function oi(e,t,n){switch(t.type){case`MemberExpression`:case`OptionalMemberExpression`:return t.property===e?!!t.computed:t.object===e;case`JSXMemberExpression`:return t.object===e;case`VariableDeclarator`:return t.init===e;case`ArrowFunctionExpression`:return t.body===e;case`PrivateName`:return!1;case`ClassMethod`:case`ClassPrivateMethod`:case`ObjectMethod`:return t.key===e&&!!t.computed;case`ObjectProperty`:return t.key===e?!!t.computed:!n||n.type!==`ObjectPattern`;case`ClassProperty`:return t.key!==e||!!t.computed;case`ClassPrivateProperty`:return t.key!==e;case`ClassDeclaration`:case`ClassExpression`:return t.superClass===e;case`AssignmentExpression`:return t.right===e;case`AssignmentPattern`:return t.right===e;case`LabeledStatement`:return!1;case`CatchClause`:return!1;case`RestElement`:return!1;case`BreakStatement`:case`ContinueStatement`:return!1;case`FunctionDeclaration`:case`FunctionExpression`:return!1;case`ExportNamespaceSpecifier`:case`ExportDefaultSpecifier`:return!1;case`ExportSpecifier`:return!n?.source&&t.local===e;case`ImportDefaultSpecifier`:case`ImportNamespaceSpecifier`:case`ImportSpecifier`:return!1;case`ImportAttribute`:return!1;case`JSXAttribute`:return!1;case`ObjectPattern`:case`ArrayPattern`:return!1;case`MetaProperty`:return!1;case`ObjectTypeProperty`:return t.key!==e;case`TSEnumMember`:return t.id!==e;case`TSPropertySignature`:return t.key!==e||!!t.computed}return!0}var si=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`];function ci(e){return si.includes(e.type)?ci(e.expression):e}var li=e=>e.type===4&&e.isStatic;function ui(e){switch(e){case`Teleport`:case`teleport`:return Fe;case`Suspense`:case`suspense`:return Ie;case`KeepAlive`:case`keep-alive`:return Le;case`BaseTransition`:case`base-transition`:return Re}}var di=/^$|^\d|[^\$\w\xA0-\uFFFF]/,fi=e=>!di.test(e),pi=/[A-Za-z_$\xA0-\uFFFF]/,mi=/[\.\?\w$\xA0-\uFFFF]/,hi=/\s+[.[]\s*|\s*[.[]\s+/g,gi=e=>e.type===4?e.content:e.loc.source,_i=e=>{let t=gi(e).trim().replace(hi,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?pi:mi).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},vi=(e,t)=>{try{let n=e.ast||Vr.parseExpression(gi(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n=ci(n),n.type===`MemberExpression`||n.type===`OptionalMemberExpression`||n.type===`Identifier`&&n.name!==`undefined`}catch{return!1}},yi=vi,bi=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,xi=e=>bi.test(gi(e)),Si=(e,t)=>{try{let n=e.ast||Vr.parseExpression(gi(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n.type===`Program`&&(n=n.body[0],n.type===`ExpressionStatement`&&(n=n.expression)),n=ci(n),n.type===`FunctionExpression`||n.type===`ArrowFunctionExpression`}catch{return!1}},Ci=Si;function wi(e,t,n=t.length){return Ti({offset:e.offset,line:e.line,column:e.column},t,n)}function Ti(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Ei(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function W(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(h(t)?i.name===t:t.test(i.name)))return i}}function Di(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&Oi(a.arg,t))return a}}function Oi(e,t){return!!(e&&li(e)&&e.content===t)}function ki(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Ai(e){return e.type===5||e.type===2}function ji(e){return e.type===7&&e.name===`pre`}function Mi(e){return e.type===7&&e.name===`slot`}function Ni(e){return e.type===1&&e.tagType===3}function Pi(e){return e.type===1&&e.tagType===2}var Fi=new Set([it,at]);function Ii(e,t=[]){if(e&&!h(e)&&e.type===14){let n=e.callee;if(!h(n)&&Fi.has(n))return Ii(e.arguments[0],t.concat(e))}return[e,t]}function Li(e,t,n){if(e.type!==13&&Ri(e,t))return;let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!h(i)&&i.type===14){let e=Ii(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||h(i))r=Dt([t]);else if(i.type===14){let e=i.arguments[0];!h(e)&&e.type===15?zi(t,e)||e.properties.unshift(t):i.callee===ot?r=z(n.helper(tt),[Dt([t]),i]):i.arguments.unshift(Dt([t])),!r&&(r=i)}else i.type===15?(zi(t,i)||i.properties.unshift(t),r=i):(r=z(n.helper(tt),[Dt([t]),i]),o&&o.callee===at&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function Ri(e,t){var n,r,i;if(t.key.type!==4||t.key.content!==`key`)return!1;let a=e.arguments[2];if(a&&!h(a)){let[e]=Ii(a);if(e&&!h(e)&&e.type===15&&zi(t,e))return!0}return(n=e.arguments)[2]||(n[2]=`{}`),(r=e.arguments)[3]||(r[3]=`undefined`),(i=e.arguments)[4]||(i[4]=`undefined`),e.arguments[5]=t.value,!0}function zi(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function Bi(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function Vi(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(Vi(r.arg,t)||Vi(r.exp,t)))return!0}return e.children.some(e=>Vi(e,t));case 11:return Vi(e.source,t)?!0:e.children.some(e=>Vi(e,t));case 9:return e.branches.some(e=>Vi(e,t));case 10:return Vi(e.condition,t)?!0:e.children.some(e=>Vi(e,t));case 4:return!e.isStatic&&fi(e.content)&&!!t[e.content];case 8:return e.children.some(e=>_(e)&&Vi(e,t));case 5:case 12:return Vi(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Hi(e){return e.type===14&&e.callee===gt?e.arguments[1].returns:e}var Ui=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Wi(e){for(let t=0;t<e.length;t++)if(!xr(e.charCodeAt(t)))return!1;return!0}function Gi(e){return e.type===2&&Wi(e.content)||e.type===12&&Gi(e.content)}function Ki(e){return e.type===3||Gi(e)}var qi={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:o,isPreTag:o,isIgnoreNewlineTag:o,isCustomElement:o,onError:Mr,onWarn:Nr,comments:!0,prefixIdentifiers:!1},G=qi,Ji=null,Yi=``,Xi=null,K=null,Zi=``,Qi=-1,$i=-1,ea=0,ta=!1,na=null,q=[],J=new Tr(q,{onerr:Ta,ontext(e,t){ca(oa(e,t),e,t)},ontextentity(e,t,n){ca(e,t,n)},oninterpolation(e,t){if(ta)return ca(oa(e,t),e,t);let n=e+J.delimiterOpen.length,r=t-J.delimiterClose.length;for(;xr(Yi.charCodeAt(n));)n++;for(;xr(Yi.charCodeAt(r-1));)r--;let i=oa(n,r);i.includes(`&`)&&(i=_r(i)),ba({type:5,content:wa(i,!1,Y(n,r)),loc:Y(e,t)})},onopentagname(e,t){let n=oa(e,t);Xi={type:1,tag:n,ns:G.getNamespace(n,q[0],G.ns),tagType:0,props:[],children:[],loc:Y(e-1,t),codegenNode:void 0}},onopentagend(e){sa(e)},onclosetag(e,t){let n=oa(e,t);if(!G.isVoidTag(n)){let r=!1;for(let e=0;e<q.length;e++)if(q[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&Ta(24,q[0].loc.start.offset);for(let n=0;n<=e;n++)la(q.shift(),t,n<e);break}r||Ta(23,da(e,60))}},onselfclosingtag(e){let t=Xi.tag;Xi.isSelfClosing=!0,sa(e),q[0]&&q[0].tag===t&&la(q.shift(),e)},onattribname(e,t){K={type:6,name:oa(e,t),nameLoc:Y(e,t),value:void 0,loc:Y(e)}},ondirname(e,t){let n=oa(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!ta&&r===``&&Ta(26,e),ta||r===``)K={type:6,name:n,nameLoc:Y(e,t),value:void 0,loc:Y(e)};else if(K={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[R(`prop`)]:[],loc:Y(e)},r===`pre`){ta=J.inVPre=!0,na=Xi;let e=Xi.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=Ca(e[t]))}},ondirarg(e,t){if(e===t)return;let n=oa(e,t);if(ta&&!ji(K))K.name+=n,Sa(K.nameLoc,t);else{let r=n[0]!==`[`;K.arg=wa(r?n:n.slice(1,-1),r,Y(e,t),r?3:0)}},ondirmodifier(e,t){let n=oa(e,t);if(ta&&!ji(K))K.name+=`.`+n,Sa(K.nameLoc,t);else if(K.name===`slot`){let e=K.arg;e&&(e.content+=`.`+n,Sa(e.loc,t))}else{let r=R(n,!0,Y(e,t));K.modifiers.push(r)}},onattribdata(e,t){Zi+=oa(e,t),Qi<0&&(Qi=e),$i=t},onattribentity(e,t,n){Zi+=e,Qi<0&&(Qi=t),$i=n},onattribnameend(e){let t=K.loc.start.offset,n=oa(t,e);K.type===7&&(K.rawName=n),Xi.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&Ta(2,t)},onattribend(e,t){if(Xi&&K){if(Sa(K.loc,t),e!==0)if(K.type===6)K.name===`class`&&(Zi=ya(Zi).trim()),e===1&&!Zi&&Ta(13,t),K.value={type:2,content:Zi,loc:e===1?Y(Qi,$i):Y(Qi-1,$i+1)},J.inSFCRoot&&Xi.tag===`template`&&K.name===`lang`&&Zi&&Zi!==`html`&&J.enterRCDATA(Cr(`</template`),0);else{let e=0;K.name===`for`?e=3:K.name===`slot`?e=1:K.name===`on`&&Zi.includes(`;`)&&(e=2),K.exp=wa(Zi,!1,Y(Qi,$i),0,e),K.name===`for`&&(K.forParseResult=aa(K.exp))}(K.type!==7||K.name!==`pre`)&&Xi.props.push(K)}Zi=``,Qi=$i=-1},oncomment(e,t){G.comments&&ba({type:3,content:oa(e,t),loc:Y(e-4,t+3)})},onend(){let e=Yi.length;if(J.state!==1)switch(J.state){case 5:case 8:Ta(5,e);break;case 3:case 4:Ta(25,J.sectionStart);break;case 28:J.currentSequence===wr.CdataEnd?Ta(6,e):Ta(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:Ta(9,e);break}for(let t=0;t<q.length;t++)la(q[t],e-1),Ta(24,q[t].loc.start.offset)},oncdata(e,t){(q[0]?q[0].ns:G.ns)===0?Ta(1,e-9):ca(oa(e,t),e,t)},onprocessinginstruction(e){(q[0]?q[0].ns:G.ns)===0&&Ta(21,e-1)}}),ra=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ia=/^\(|\)$/g;function aa(e){let t=e.loc,n=e.content,r=n.match(Ui);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return wa(e,!1,Y(i,i+e.length),0,+!!r)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(ia,``).trim(),l=i.indexOf(c),u=c.match(ra);if(u){c=c.replace(ra,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function oa(e,t){return Yi.slice(e,t)}function sa(e){J.inSFCRoot&&(Xi.innerLoc=Y(e+1,e+1)),ba(Xi);let{tag:t,ns:n}=Xi;n===0&&G.isPreTag(t)&&ea++,G.isVoidTag(t)?la(Xi,e):(q.unshift(Xi),(n===1||n===2)&&(J.inXML=!0)),Xi=null}function ca(e,t,n){let r=q[0]||Ji,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,Sa(i.loc,n)):r.children.push({type:2,content:e,loc:Y(t,n)})}function la(e,t,n=!1){n?Sa(e.loc,da(t,60)):Sa(e.loc,ua(t,62)+1),J.inSFCRoot&&(e.children.length?e.innerLoc.end=c({},e.children[e.children.length-1].loc.end):e.innerLoc.end=c({},e.innerLoc.start),e.innerLoc.source=oa(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(ta||(r===`slot`?e.tagType=2:pa(e)?e.tagType=3:ma(e)&&(e.tagType=1)),J.inRCDATA||(e.children=_a(a)),i===0&&G.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&G.isPreTag(r)&&ea--,na===e&&(ta=J.inVPre=!1,na=null),J.inXML&&(q[0]?q[0].ns:G.ns)===0&&(J.inXML=!1)}function ua(e,t){let n=e;for(;Yi.charCodeAt(n)!==t&&n<Yi.length-1;)n++;return n}function da(e,t){let n=e;for(;Yi.charCodeAt(n)!==t&&n>=0;)n--;return n}var fa=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function pa({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&fa.has(t[e].name))return!0}return!1}function ma({tag:e,props:t}){if(G.isCustomElement(e))return!1;if(e===`component`||ha(e.charCodeAt(0))||ui(e)||G.isBuiltInComponent&&G.isBuiltInComponent(e)||G.isNativeTag&&!G.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6&&n.name===`is`&&n.value&&n.value.content.startsWith(`vue:`))return!0}return!1}function ha(e){return e>64&&e<91}var ga=/\r\n/g;function _a(e){let t=G.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(ea)i.content=i.content.replace(ga,`
10
- `);else if(Wi(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&va(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=ya(i.content))}return n?e.filter(Boolean):e}function va(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function ya(e){let t=``,n=!1;for(let r=0;r<e.length;r++)xr(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function ba(e){(q[0]||Ji).children.push(e)}function Y(e,t){return{start:J.getPos(e),end:t==null?t:J.getPos(t),source:t==null?t:oa(e,t)}}function xa(e){return Y(e.start.offset,e.end.offset)}function Sa(e,t){e.end=J.getPos(t),e.source=oa(e.start.offset,t)}function Ca(e){let t={type:6,name:e.rawName,nameLoc:Y(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function wa(e,t=!1,n,r=0,i=0){let a=R(e,t,n,r);if(!t&&G.prefixIdentifiers&&i!==3&&e.trim()){if(fi(e))return a.ast=null,a;try{let t=G.expressionPlugins,n={plugins:t?[...t,`typescript`]:[`typescript`]};i===2?a.ast=Vr.parse(` ${e} `,n).program:i===1?a.ast=Vr.parseExpression(`(${e})=>{}`,n):a.ast=Vr.parseExpression(`(${e})`,n)}catch(e){a.ast=!1,Ta(46,n.start.offset,e.message)}}return a}function Ta(e,t,n){G.onError(U(e,Y(t,t),void 0,n))}function Ea(){J.reset(),Xi=null,K=null,Zi=``,Qi=-1,$i=-1,q.length=0}function Da(e,t){if(Ea(),Yi=e,G=c({},qi),t){let e;for(e in t)t[e]!=null&&(G[e]=t[e])}G.decodeEntities&&console.warn(`[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds.`),J.mode=G.parseMode===`html`?1:G.parseMode===`sfc`?2:0,J.inXML=G.ns===1||G.ns===2;let n=t&&t.delimiters;n&&(J.delimiterOpen=Cr(n[0]),J.delimiterClose=Cr(n[1]));let r=Ji=wt([],e);return J.parse(Yi),r.loc=Y(0,e.length),r.children=_a(r.children),Ji=null,r}function Oa(e,t){Aa(e,void 0,t,!!ka(e))}function ka(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Pi(t[0])?t[0]:null}function Aa(e,t,n,r=!1,i=!1){let{children:a}=e,o=[];for(let t=0;t<a.length;t++){let s=a[t];if(s.type===1&&s.tagType===0){let e=r?0:ja(s,n);if(e>0){if(e>=2){s.codegenNode.patchFlag=-1,o.push(s);continue}}else{let e=s.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&Pa(s,n)>=2){let t=Fa(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&=n.hoist(e.dynamicProps)}}}else if(s.type===12&&(r?0:ja(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1 /* ${j[-1]} */`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,Aa(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)Aa(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)Aa(s.branches[t],e,n,s.branches[t].children.length===1,i)}let s=!1;if(o.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&d(e.codegenNode.children))e.codegenNode.children=c(Et(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!d(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=l(e.codegenNode,`default`);t&&(t.returns=c(Et(t.returns)),s=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!d(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=W(e,`slot`,!0),r=n&&n.arg&&l(t.codegenNode,n.arg);r&&(r.returns=c(Et(r.returns)),s=!0)}}if(!s)for(let e of o)e.codegenNode=n.cache(e.codegenNode);function c(e){let t=n.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!d(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}o.length&&n.transformHoist&&n.transformHoist(a,n,e)}function ja(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=Pa(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=ja(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=ja(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(ze),t.removeHelper(Bt(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(zt(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ja(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(h(r)||g(r))continue;let i=ja(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}var Ma=new Set([nt,rt,it,at]);function Na(e,t){if(e.type===14&&!h(e.callee)&&Ma.has(e.callee)){let n=e.arguments[0];if(n.type===4)return ja(n,t);if(n.type===14)return Na(n,t)}return 0}function Pa(e,t){let n=3,r=Fa(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=ja(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?ja(a,t):a.type===14?Na(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function Fa(e){let t=e.codegenNode;if(t.type===13)return t.props}function Ia(e,{filename:t=``,prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:o=!1,cacheHandlers:s=!1,nodeTransforms:c=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:d=a,isCustomElement:f=a,expressionPlugins:p=[],scopeId:m=null,slotted:g=!0,ssr:_=!1,inSSR:v=!1,ssrCssVars:y=``,bindingMetadata:b=i,inline:x=!1,isTS:S=!1,onError:C=Mr,onWarn:w=Nr,compatConfig:E}){let ee=t.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),O={filename:t,selfName:ee&&D(T(ee[1])),prefixIdentifiers:n,hoistStatic:r,hmr:o,cacheHandlers:s,nodeTransforms:c,directiveTransforms:l,transformHoist:u,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:p,scopeId:m,slotted:g,ssr:_,inSSR:v,ssrCssVars:y,bindingMetadata:b,inline:x,isTS:S,onError:C,onWarn:w,compatConfig:E,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=O.helpers.get(e)||0;return O.helpers.set(e,t+1),e},removeHelper(e){let t=O.helpers.get(e);if(t){let n=t-1;n?O.helpers.set(e,n):O.helpers.delete(e)}},helperString(e){return`_${vt[O.helper(e)]}`},replaceNode(e){if(!O.currentNode)throw Error(`Node being replaced is already removed.`);if(!O.parent)throw Error(`Cannot replace root node.`);O.parent.children[O.childIndex]=O.currentNode=e},removeNode(e){if(!O.parent)throw Error(`Cannot remove root node.`);let t=O.parent.children,n=e?t.indexOf(e):O.currentNode?O.childIndex:-1;if(n<0)throw Error(`node being removed is not a child of current parent`);!e||e===O.currentNode?(O.currentNode=null,O.onNodeRemoved()):O.childIndex>n&&(O.childIndex--,O.onNodeRemoved()),O.parent.children.splice(n,1)},onNodeRemoved:a,addIdentifiers(e){h(e)?k(e):e.identifiers?e.identifiers.forEach(k):e.type===4&&k(e.content)},removeIdentifiers(e){h(e)?A(e):e.identifiers?e.identifiers.forEach(A):e.type===4&&A(e.content)},hoist(e){h(e)&&(e=R(e)),O.hoists.push(e);let t=R(`_hoisted_${O.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=Mt(O.cached.length,e,t,n);return O.cached.push(r),r}};function k(e){let{identifiers:t}=O;t[e]===void 0&&(t[e]=0),t[e]++}function A(e){O.identifiers[e]--}return O}function La(e,t){let n=Ia(e,t);Ba(e,n),t.hoistStatic&&Oa(e,n),t.ssr||Ra(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0}function Ra(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=ka(e);if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&&Vt(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let i=64;r.filter(e=>e.type!==3).length===1&&(i|=2048),e.codegenNode=Tt(t,n(Pe),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function za(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];h(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Ba(i,t))}}function Ba(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let a=n[i](e,t);if(a&&(d(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(We);break;case 5:t.ssr||t.helper(et);break;case 9:for(let n=0;n<e.branches.length;n++)Ba(e.branches[n],t);break;case 10:case 11:case 1:case 0:za(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function Va(e,t){let n=h(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(Mi))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}var Ha={},Ua={},Wa={},Ga={},Ka;function qa(){if(Ka)return Ga;Ka=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return Ga.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},Ga.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1},Ga}var Ja;function Ya(){if(Ja)return Wa;Ja=1;var e=qa(),t=5,n=1<<t,r=n-1,i=n;function a(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var t=(e&1)==1,n=e>>1;return t?-n:n}return Wa.encode=function(n){var o=``,s,c=a(n);do s=c&r,c>>>=t,c>0&&(s|=i),o+=e.encode(s);while(c>0);return o},Wa.decode=function(n,a,s){var c=n.length,l=0,u=0,d,f;do{if(a>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=e.decode(n.charCodeAt(a++)),f===-1)throw Error(`Invalid base64 digit: `+n.charAt(a-1));d=!!(f&i),f&=r,l+=f<<u,u+=t}while(d);s.value=o(l),s.rest=a},Wa}var Xa={},Za;function Qa(){return Za?Xa:(Za=1,(function(e){function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;)if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}else for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++;for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function S(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=S;function C(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=C})(Xa),Xa)}var $a={},eo;function to(){if(eo)return $a;eo=1;var e=Qa(),t=Object.prototype.hasOwnProperty,n=typeof Map<`u`;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,i){var a=n?r:e.toSetString(r),o=n?this.has(r):t.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(r),o||(n?this._set.set(r,s):this._set[a]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var i=e.toSetString(r);return t.call(this._set,i)},r.prototype.indexOf=function(r){if(n){var i=this._set.get(r);if(i>=0)return i}else{var a=e.toSetString(r);if(t.call(this._set,a))return this._set[a]}throw Error(`"`+r+`" is not in the set.`)},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},r.prototype.toArray=function(){return this._array.slice()},$a.ArraySet=r,$a}var no={},ro;function io(){if(ro)return no;ro=1;var e=Qa();function t(t,n){var r=t.generatedLine,i=n.generatedLine,a=t.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||e.compareByGeneratedPositionsInflated(t,n)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||=(this._array.sort(e.compareByGeneratedPositionsInflated),!0),this._array},no.MappingList=n,no}var ao;function oo(){if(ao)return Ua;ao=1;var e=Ya(),t=Qa(),n=to().ArraySet,r=io().MappingList;function i(e){e||={},this._file=t.getArg(e,`file`,null),this._sourceRoot=t.getArg(e,`sourceRoot`,null),this._skipValidation=t.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=t.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e,n){var r=e.sourceRoot,a=new i(Object.assign(n||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(n.source=e.source,r!=null&&(n.source=t.relative(r,n.source)),n.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(n.name=e.name)),a.addMapping(n)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=t.relative(r,n)),a._sources.has(i)||a._sources.add(i);var o=e.sourceContentFor(n);o!=null&&a.setSourceContent(n,o)}),a},i.prototype.addMapping=function(e){var n=t.getArg(e,`generated`),r=t.getArg(e,`original`,null),i=t.getArg(e,`source`,null),a=t.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(n,r,i,a)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},i.prototype.setSourceContent=function(e,n){var r=e;this._sourceRoot!=null&&(r=t.relative(this._sourceRoot,r)),n==null?this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[t.toSetString(r)]=n)},i.prototype.applySourceMap=function(e,r,i){var a=r;if(r==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=t.relative(o,a));var s=new n,c=new n;this._mappings.unsortedForEach(function(n){if(n.source===a&&n.originalLine!=null){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});r.source!=null&&(n.source=r.source,i!=null&&(n.source=t.join(i,n.source)),o!=null&&(n.source=t.relative(o,n.source)),n.originalLine=r.line,n.originalColumn=r.column,r.name!=null&&(n.name=r.name))}var l=n.source;l!=null&&!s.has(l)&&s.add(l);var u=n.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(n){var r=e.sourceContentFor(n);r!=null&&(i!=null&&(n=t.join(i,n)),o!=null&&(n=t.relative(o,n)),this.setSourceContent(n,r))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`;if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},i.prototype._serializeMappings=function(){for(var n=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(n=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!t.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=e.encode(u.generatedColumn-n),n=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=e.encode(f-s),s=f,l+=e.encode(u.originalLine-1-a),a=u.originalLine-1,l+=e.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=e.encode(d-o),o=d)),c+=l}return c},i.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;n!=null&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},Ua.SourceMapGenerator=i,Ua}var so={},co={},lo;function uo(){return lo?co:(lo=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})(co),co)}var fo={},po;function mo(){if(po)return fo;po=1;function e(e){function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l,!1)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}return r}function t(t){let n=e.toString();return Function(`return ${n}`)()(t)}let n=new WeakMap;return fo.quickSort=function(e,r,i=0){let a=n.get(r);a===void 0&&(a=t(r),n.set(r,a)),a(e,r,i,e.length-1)},fo}var ho;function go(){if(ho)return so;ho=1;var e=Qa(),t=uo(),n=to().ArraySet,r=Ya(),i=mo().quickSort;function a(t,n){var r=t;return typeof t==`string`&&(r=e.parseSourceMapInput(t)),r.sections==null?new o(r,n):new u(r,n)}a.fromSourceMap=function(e,t){return o.fromSourceMap(e,t)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},a.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(t,n,r){var i=n||null,o=r||a.GENERATED_ORDER,s;switch(o){case a.GENERATED_ORDER:s=this._generatedMappings;break;case a.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}for(var c=this.sourceRoot,l=t.bind(i),u=this._names,d=this._sources,f=this._sourceMapURL,p=0,m=s.length;p<m;p++){var h=s[p],g=h.source===null?null:d.at(h.source);g!==null&&(g=e.computeSourceURL(c,g,f)),l({source:g,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:u.at(h.name)})}},a.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,`line`),i={source:e.getArg(n,`source`),originalLine:r,originalColumn:e.getArg(n,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(n.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},so.SourceMapConsumer=a;function o(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var a=e.getArg(i,`version`),o=e.getArg(i,`sources`),s=e.getArg(i,`names`,[]),c=e.getArg(i,`sourceRoot`,null),l=e.getArg(i,`sourcesContent`,null),u=e.getArg(i,`mappings`),d=e.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=e.normalize(c),o=o.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=r,this.file=d}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(t){var n=t;if(this.sourceRoot!=null&&(n=e.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1},o.fromSourceMap=function(t,r){var a=Object.create(o.prototype),c=a._names=n.fromArray(t._names.toArray(),!0),l=a._sources=n.fromArray(t._sources.toArray(),!0);a.sourceRoot=t._sourceRoot,a.sourcesContent=t._generateSourcesContent(a._sources.toArray(),a.sourceRoot),a.file=t._file,a._sourceMapURL=r,a._absoluteSources=a._sources.toArray().map(function(t){return e.computeSourceURL(a.sourceRoot,t,r)});for(var u=t._mappings.toArray().slice(),d=a.__generatedMappings=[],f=a.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new s;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=c.indexOf(h.name)),f.push(g)),d.push(g)}return i(a.__originalMappings,e.compareByOriginalPositions),a},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let c=e.compareByGeneratedPositionsDeflatedNoLine;function l(e,t){let n=e.length,r=e.length-t;if(!(r<=1))if(r==2){let n=e[t],r=e[t+1];c(n,r)>0&&(e[t]=r,e[t+1]=n)}else if(r<20)for(let r=t;r<n;r++)for(let n=r;n>t;n--){let t=e[n-1],r=e[n];if(c(t,r)<=0)break;e[n-1]=r,e[n]=t}else i(e,c,t)}o.prototype._parseMappings=function(t,n){var a=1,o=0,c=0,u=0,d=0,f=0,p=t.length,m=0,h={},g=[],_=[],v,y,b,x;let S=0;for(;m<p;)if(t.charAt(m)===`;`)a++,m++,o=0,l(_,S),S=_.length;else if(t.charAt(m)===`,`)m++;else{for(v=new s,v.generatedLine=a,b=m;b<p&&!this._charIsMappingSeparator(t,b);b++);for(t.slice(m,b),y=[];m<b;)r.decode(t,m,h),x=h.value,m=h.rest,y.push(x);if(y.length===2)throw Error(`Found a source, but no line and column`);if(y.length===3)throw Error(`Found a source and line, but no column`);if(v.generatedColumn=o+y[0],o=v.generatedColumn,y.length>1&&(v.source=d+y[1],d+=y[1],v.originalLine=c+y[2],c=v.originalLine,v.originalLine+=1,v.originalColumn=u+y[3],u=v.originalColumn,y.length>4&&(v.name=f+y[4],f+=y[4])),_.push(v),typeof v.originalLine==`number`){let e=v.source;for(;g.length<=e;)g.push(null);g[e]===null&&(g[e]=[]),g[e].push(v)}}l(_,S),this.__generatedMappings=_;for(var C=0;C<g.length;C++)g[C]!=null&&i(g[C],e.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)},o.prototype._findMapping=function(e,n,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return t.search(e,n,a,o)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,`line`),generatedColumn:e.getArg(t,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,e.compareByGeneratedPositionsDeflated,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var o=e.getArg(i,`source`,null);o!==null&&(o=this._sources.at(o),o=e.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=e.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:o,line:e.getArg(i,`originalLine`,null),column:e.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},o.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i=t;this.sourceRoot!=null&&(i=e.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},o.prototype.generatedPositionFor=function(t){var n=e.getArg(t,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,`line`),originalColumn:e.getArg(t,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:e.getArg(o,`generatedLine`,null),column:e.getArg(o,`generatedColumn`,null),lastColumn:e.getArg(o,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},so.BasicSourceMapConsumer=o;function u(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var o=e.getArg(i,`version`),s=e.getArg(i,`sections`);if(o!=this._version)throw Error(`Unsupported version: `+o);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw Error(`Support for url field in sections not implemented.`);var n=e.getArg(t,`offset`),i=e.getArg(n,`line`),o=e.getArg(n,`column`);if(i<c.line||i===c.line&&o<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new a(e.getArg(t,`map`),r)}})}return u.prototype=Object.create(a.prototype),u.prototype.constructor=a,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),u.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,`line`),generatedColumn:e.getArg(n,`column`)},i=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r||r===``)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},u.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(e.getArg(t,`source`))!==-1){var i=r.consumer.generatedPositionFor(t);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},u.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var a=this._sections[r],o=a.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=a.consumer._sources.at(c.source);l!==null&&(l=e.computeSourceURL(a.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=a.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(a.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(a.generatedOffset.generatedLine===c.generatedLine?a.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},so.IndexedSourceMapConsumer=u,so}var _o={},vo;function yo(){if(vo)return _o;vo=1;var e=oo().SourceMapGenerator,t=Qa(),n=/(\r?\n)/,r=10,i=`$$$isSourceNode$$$`;function a(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=a??null,this[i]=!0,r!=null&&this.add(r)}return a.fromStringWithSourceMap=function(e,r,i){var o=new a,s=e.split(n),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return r.eachMapping(function(e){if(f!==null)if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}for(;u<e.generatedLine;)o.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;o.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),o.add(s.splice(c).join(``))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);n!=null&&(i!=null&&(e=t.join(i,e)),o.setSourceContent(e,n))}),o;function p(e,n){if(e===null||e.source===void 0)o.add(n);else{var r=i?t.join(i,e.source):e.source;o.add(new a(e.originalLine,e.originalColumn,r,n,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[i]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[i]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[i]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},a.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},a.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},a.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;n<r;n++)this.children[n][i]&&this.children[n].walkSourceContents(e);for(var a=Object.keys(this.sourceContents),n=0,r=a.length;n<r;n++)e(t.fromSetString(a[n]),this.sourceContents[a[n]])},a.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},a.prototype.toStringWithSourceMap=function(t){var n={code:``,line:1,column:0},i=new e(t),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(i.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===r?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){i.setSourceContent(e,t)}),{code:n.code,map:i}},_o.SourceNode=a,_o}var bo;function xo(){return bo?Ha:(bo=1,Ha.SourceMapGenerator=oo().SourceMapGenerator,Ha.SourceMapConsumer=go().SourceMapConsumer,Ha.SourceNode=yo().SourceNode,Ha)}var So=xo(),Co=`/*@__PURE__*/`,wo=e=>`${vt[e]}: _${vt[e]}`;function To(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:s=`Vue`,runtimeModuleName:c=`vue`,ssrRuntimeModuleName:l=`vue/server-renderer`,ssr:u=!1,isTS:d=!1,inSSR:f=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:f,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${vt[e]}`},push(e,t=-2,n){if(p.code+=e,p.map){if(n){let e;if(n.type===4&&!n.isStatic){let t=n.content.replace(/^_ctx\./,``);t!==n.content&&fi(t)&&(e=t)}n.loc.source&&h(n.loc.start,e)}t===-3?Ti(p,e):(p.offset+=e.length,t===-2?p.column+=e.length:(t===-1&&(t=e.length-1),p.line++,p.column=e.length-t)),n&&n.loc!==I&&n.loc.source&&h(n.loc.end)}},indent(){m(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:m(--p.indentLevel)},newline(){m(p.indentLevel)}};function m(e){p.push(`
11
- `+` `.repeat(e),0)}function h(e,t=null){let{_names:n,_mappings:r}=p.map;t!==null&&!n.has(t)&&n.add(t),r.add({originalLine:e.line,originalColumn:e.column-1,generatedLine:p.line,generatedColumn:p.column-1,source:i,name:t})}return r&&(p.map=new So.SourceMapGenerator,p.map.setSourceContent(i,p.source),p.map._sources.add(i)),p}function Eo(e,t={}){let n=To(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`,m=l!=null&&r===`module`,h=!!t.inline,g=h?To(e,t):n;r===`module`?Oo(e,g,m,h):Do(e,g);let _=u?`ssrRender`:`render`,v=u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`];t.bindingMetadata&&!t.inline&&v.push(`$props`,`$setup`,`$data`,`$options`);let y=t.isTS?v.map(e=>`${e}: any`).join(`,`):v.join(`, `);if(i(h?`(${y}) => {`:`function ${_}(${y}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(wo).join(`, `)} } = _Vue
12
- `,-1),c())),e.components.length&&(ko(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(ko(e.directives,`directive`,n),e.temps>0&&c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
13
- `,0),c()),u||i(`return `),e.codegenNode?X(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:h?g.code:``,map:n.map?n.map.toJSON():void 0}}function Do(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=n?`require(${JSON.stringify(o)})`:s,u=Array.from(e.helpers);u.length>0&&(r?i(`const { ${u.map(wo).join(`, `)} } = ${l}
14
- `,-1):(i(`const _Vue = ${l}
15
- `,-1),e.hoists.length&&i(`const { ${[He,Ue,We,Ge,Ke].filter(e=>u.includes(e)).map(wo).join(`, `)} } = _Vue
16
- `,-1))),e.ssrHelpers&&e.ssrHelpers.length&&i(`const { ${e.ssrHelpers.map(wo).join(`, `)} } = require("${c}")
17
- `,-1),Ao(e.hoists,t),a(),i(`return `)}function Oo(e,t,n,r){let{push:i,newline:a,optimizeImports:o,runtimeModuleName:s,ssrRuntimeModuleName:c}=t;if(e.helpers.size){let t=Array.from(e.helpers);o?(i(`import { ${t.map(e=>vt[e]).join(`, `)} } from ${JSON.stringify(s)}
18
- `,-1),i(`
19
- // Binding optimization for webpack code-split
20
- const ${t.map(e=>`_${vt[e]} = ${vt[e]}`).join(`, `)}
21
- `,-1)):i(`import { ${t.map(e=>`${vt[e]} as _${vt[e]}`).join(`, `)} } from ${JSON.stringify(s)}
22
- `,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`import { ${e.ssrHelpers.map(e=>`${vt[e]} as _${vt[e]}`).join(`, `)} } from "${c}"
23
- `,-1),e.imports.length&&(jo(e.imports,t),a()),Ao(e.hoists,t),a(),r||i(`export `)}function ko(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`component`?qe:Ye);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Bi(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function Ao(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),X(a,t),r())}t.pure=!1}function jo(e,t){e.length&&e.forEach(e=>{t.push(`import `),X(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}function Mo(e){return h(e)||e.type===4||e.type===2||e.type===5||e.type===8}function No(e,t){let n=e.length>3||e.some(e=>d(e)||!Mo(e));t.push(`[`),n&&t.indent(),Po(e,t,n),n&&t.deindent(),t.push(`]`)}function Po(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];h(s)?i(s,-3):d(s)?No(s,t):X(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function X(e,t){if(h(e)){t.push(e,-3);return}if(g(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Ei(e.codegenNode!=null,`Codegen node is missing for element/if/for node. Apply appropriate transforms first.`),X(e.codegenNode,t);break;case 2:Fo(e,t);break;case 4:Io(e,t);break;case 5:Lo(e,t);break;case 12:X(e.codegenNode,t);break;case 8:Ro(e,t);break;case 3:Bo(e,t);break;case 13:Vo(e,t);break;case 14:Uo(e,t);break;case 15:Wo(e,t);break;case 17:Go(e,t);break;case 18:Ko(e,t);break;case 19:qo(e,t);break;case 20:Jo(e,t);break;case 21:Po(e.body,t,!0,!1);break;case 22:Yo(e,t);break;case 23:Xo(e,t);break;case 24:Zo(e,t);break;case 25:Qo(e,t);break;case 26:$o(e,t);break;case 10:break;default:return Ei(!1,`unhandled codegen node type: ${e.type}`),e}}function Fo(e,t){t.push(JSON.stringify(e.content),-3,e)}function Io(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Lo(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Co),n(`${r(et)}(`),X(e.content,t),n(`)`)}function Ro(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];h(r)?t.push(r,-3):X(r,t)}}function zo(e,t){let{push:n}=t;e.type===8?(n(`[`),Ro(e,t),n(`]`)):e.isStatic?n(fi(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function Bo(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Co),n(`${r(We)}(${JSON.stringify(e.content)})`,-3,e)}function Vo(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=c<0?c+` /* ${j[c]} */`:c+` /* ${Object.keys(j).map(Number).filter(e=>e>0&&c&e).map(e=>j[e]).join(`, `)} */`),u&&n(r(F)+`(`),d&&n(`(${r(ze)}(${f?`true`:``}), `),i&&n(Co),n(r(d?Bt(t.inSSR,p):zt(t.inSSR,p))+`(`,-2,e),Po(Ho([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),X(u,t),n(`)`))}function Ho(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Uo(e,t){let{push:n,helper:r,pure:i}=t,a=h(e.callee)?e.callee:r(e.callee);i&&n(Co),n(a+`(`,-2,e),Po(e.arguments,t),n(`)`)}function Wo(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||o.some(e=>e.value.type!==4);n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];zo(r,t),n(`: `),X(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Go(e,t){No(e.elements,t)}function Ko(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${vt[pt]}(`),n(`(`,-2,e),d(a)?Po(a,t):a&&X(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),d(o)?No(o,t):X(o,t)):s&&X(s,t),(c||s)&&(i(),n(`}`)),l&&n(`)`)}function qo(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!fi(n.content);e&&o(`(`),Io(n,t),e&&o(`)`)}else o(`(`),X(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),X(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,X(i,t),u||t.indentLevel--,a&&c(!0)}function Jo(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(ut)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),X(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(ut)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function Yo(e,t){let{push:n,indent:r,deindent:i}=t;n("`");let a=e.elements.length,o=a>3;for(let s=0;s<a;s++){let a=e.elements[s];h(a)?n(a.replace(/(`|\$|\\)/g,`\\$1`),-3):(n("${"),o&&r(),X(a,t),o&&i(),n(`}`))}n("`")}function Xo(e,t){let{push:n,indent:r,deindent:i}=t,{test:a,consequent:o,alternate:s}=e;n(`if (`),X(a,t),n(`) {`),r(),X(o,t),i(),n(`}`),s&&(n(` else `),s.type===23?Xo(s,t):(n(`{`),r(),X(s,t),i(),n(`}`)))}function Zo(e,t){X(e.left,t),t.push(` = `),X(e.right,t)}function Qo(e,t){t.push(`(`),Po(e.expressions,t),t.push(`)`)}function $o({returns:e},t){t.push(`return `),d(e)?No(e,t):X(e,t)}var es=r(`true,false,null,this`),ts=(e,t)=>{if(e.type===5)e.content=ns(e.content,t);else if(e.type===1){let n=W(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let r=i.exp,a=i.arg;r&&r.type===4&&!(i.name===`on`&&a)&&!(n&&t.vForMemoKeyedNodes.has(e)&&a&&a.type===4&&a.content===`key`)&&(i.exp=ns(r,t,i.name===`slot`)),a&&a.type===4&&!a.isStatic&&(i.arg=ns(a,t))}}}};function ns(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;let{inline:a,bindingMetadata:o}=t,s=(e,n,r)=>{let s=u(o,e)&&o[e];if(a){let a=n&&n.type===`AssignmentExpression`&&n.left===r,l=n&&n.type===`UpdateExpression`&&n.argument===r,u=n&&qr(n,f),d=n&&Jr(f),m=e=>{let n=`${t.helperString(mt)}(${e})`;return d?`(${n})`:n};if(as(s)||s===`setup-reactive-const`||i[e])return e;if(s===`setup-ref`)return`${e}.value`;if(s===`setup-maybe-ref`)return a||l||u?`${e}.value`:m(e);if(s===`setup-let`)if(a){let{right:r,operator:i}=n,a=is(ns(R(c.slice(r.start-1,r.end-1),!1),t,!1,!1,p));return`${t.helperString(ht)}(${e})${t.isTS?` //@ts-ignore
24
- `:``} ? ${e}.value ${i} ${a} : ${e}`}else if(l){r.start=n.start,r.end=n.end;let{prefix:i,operator:a}=n,o=i?a:``,s=i?``:a;return`${t.helperString(ht)}(${e})${t.isTS?` //@ts-ignore
25
- `:``} ? ${o}${e}.value${s} : ${o}${e}${s}`}else if(u)return e;else return m(e);else if(s===`props`)return A(e);else if(s===`props-aliased`)return A(o.__propsAliases[e])}else if(s&&s.startsWith(`setup`)||s===`literal-const`)return`$setup.${e}`;else if(s===`props-aliased`)return`$props['${o.__propsAliases[e]}']`;else if(s)return`$${s}.${e}`;return`_ctx.${e}`},c=e.content,l=e.ast;if(l===!1)return e;if(l===null||!l&&fi(c)){let r=t.identifiers[c],i=re(c),a=es(c);return!n&&!r&&!a&&(!i||o[c])?(as(o[c])&&(e.constType=1),e.content=s(c)):r||(a?e.constType=3:e.constType=2),e}if(!l){let i=r?` ${c} `:`(${c})${n?`=>{}`:``}`;try{l=Vr.parseExpression(i,{sourceType:`module`,plugins:t.expressionPlugins})}catch(n){return t.onError(U(46,e.loc,void 0,n.message)),e}}let d=[],f=[],p=Object.create(t.identifiers);Gr(l,(e,t,n,r,i)=>{if(ai(e,t))return;let a=r&&rs(e);a&&!i?(ii(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=s(e.name,t,e),d.push(e)):(!(a&&i)&&(!t||t.type!==`CallExpression`&&t.type!==`NewExpression`&&t.type!==`MemberExpression`)&&(e.isConstant=!0),d.push(e))},!0,f,p);let m=[];d.sort((e,t)=>e.start-t.start),d.forEach((t,n)=>{let r=t.start-1,i=t.end-1,a=d[n-1],o=c.slice(a?a.end-1:0,r);(o.length||t.prefix)&&m.push(o+(t.prefix||``));let s=c.slice(r,i);m.push(R(t.name,!1,{start:wi(e.loc.start,s,r),end:wi(e.loc.start,s,i),source:s},t.isConstant?3:0)),n===d.length-1&&i<c.length&&m.push(c.slice(i))});let h;return m.length?(h=kt(m,e.loc),h.ast=l):(h=e,h.constType=3),h.identifiers=Object.keys(p),h}function rs(e){return!(re(e.name)||e.name===`require`)}function is(e){return h(e)?e:e.type===4?e.content:e.children.map(is).join(``)}function as(e){return e===`setup-const`||e===`literal-const`}var os=Va(/^(?:if|else|else-if)$/,(e,t,n)=>ss(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=ls(t,o,n);else{let r=fs(e.codegenNode);r.alternate=ls(t,o+e.branches.length-1,n)}}}));function ss(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(U(28,t.loc)),t.exp=R(`true`,!1,r)}if(n.prefixIdentifiers&&t.exp&&(t.exp=ns(t.exp,n)),t.name===`if`){let i=cs(e,t),a={type:9,loc:xa(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=[],o=i.indexOf(e);for(;o-->=-1;){let s=i[o];if(s&&Ki(s)){n.removeNode(s),s.type===3&&a.unshift(s);continue}if(s&&s.type===9){(t.name===`else-if`||t.name===`else`)&&s.branches[s.branches.length-1].condition===void 0&&n.onError(U(30,e.loc)),n.removeNode();let i=cs(e,t);a.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag===`transition`||n.parent.tag===`Transition`))&&(i.children=[...a,...i.children]);{let e=i.userKey;e&&s.branches.forEach(({userKey:t})=>{ds(t,e)&&n.onError(U(29,i.userKey.loc))})}s.branches.push(i);let o=r&&r(s,i,!1);Ba(i,n),o&&o(),n.currentNode=null}else n.onError(U(30,e.loc));break}}}function cs(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!W(e,`for`)?e.children:[e],userKey:Di(e,`key`),isTemplateIf:n}}function ls(e,t,n){return e.condition?jt(e.condition,us(e,t,n),z(n.helper(We),[`"v-if"`,`true`])):us(e,t,n)}function us(e,t,n){let{helper:r}=n,i=L(`key`,R(`${t}`,!1,I,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return Li(e,i,n),e}else{let t=64;return!e.isTemplateIf&&a.filter(e=>e.type!==3).length===1&&(t|=2048),Tt(n,r(Pe),Dt([i]),a,t,void 0,void 0,!0,!1,!1,e.loc)}else{let e=o.codegenNode,t=Hi(e);return t.type===13&&Vt(t,n),Li(t,i,n),e}}function ds(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{let n=e.exp,r=t.exp;if(n.type!==r.type||n.type!==4||n.isStatic!==r.isStatic||n.content!==r.content)return!1}return!0}function fs(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}var ps=Va(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return ms(e,t,n,t=>{let a=z(r(Ze),[t.source]),o=Ni(e),s=W(e,`memo`),c=Di(e,`key`,!1,!0),l=c&&c.type===7,u=c&&(c.type===6?c.value?R(c.value.content,!0):void 0:c.exp),d=u?L(`key`,u):null;o&&s&&(s.exp=ns(s.exp,n)),(o||s)&&d&&l&&(u=c.exp=d.value=ns(d.value,n),s&&n.vForMemoKeyedNodes.add(e));let f=t.source.type===4&&t.source.constType>0,p=f?64:c?128:256;return t.codegenNode=Tt(n,r(Pe),void 0,a,p,void 0,void 0,!0,!f,!1,e.loc),()=>{let c,{children:l}=t;o&&e.children.some(e=>{if(e.type===1){let t=Di(e,`key`);if(t)return n.onError(U(33,t.loc)),!0}});let p=l.length!==1||l[0].type!==1,m=Pi(e)?e:o&&e.children.length===1&&Pi(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&d&&Li(c,d,n)):p?c=Tt(n,r(Pe),d?Dt([d]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=l[0].codegenNode,o&&d&&Li(c,d,n),c.isBlock!==!f&&(c.isBlock?(i(ze),i(Bt(n.inSSR,c.isComponent))):i(zt(n.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(ze),r(Bt(n.inSSR,c.isComponent))):r(zt(n.inSSR,c.isComponent))),s){let e=At(gs(t.parseResult,[R(`_cached`)]));e.body=Nt([kt([`const _memo = (`,s.exp,`)`]),kt([`if (_cached && _cached.el`,...u?[` && _cached.key === `,u]:[],` && ${n.helperString(_t)}(_cached, _memo)) return _cached`]),kt([`const _item = `,c]),R(`_item.memo = _memo`),R(`return _item`)]),a.arguments.push(e,R(`_cache`),R(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(At(gs(t.parseResult),c,!0))}})});function ms(e,t,n,r){if(!t.exp){n.onError(U(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(U(32,t.loc));return}hs(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Ni(e)?e.children:[e]};n.replaceNode(f),s.vFor++,n.prefixIdentifiers&&(l&&a(l),u&&a(u),d&&a(d));let p=r&&r(f);return()=>{s.vFor--,n.prefixIdentifiers&&(l&&o(l),u&&o(u),d&&o(d)),p&&p()}}function hs(e,t){e.finalized||=(t.prefixIdentifiers&&(e.source=ns(e.source,t),e.key&&=ns(e.key,t,!0),e.index&&=ns(e.index,t,!0),e.value&&=ns(e.value,t,!0)),!0)}function gs({value:e,key:t,index:n},r=[]){return _s([e,t,n,...r])}function _s(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||R(`_`.repeat(t+1),!1))}var vs=R(`undefined`,!1),ys=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=W(e,`slot`);if(n){let e=n.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},bs=(e,t)=>{let n;if(Ni(e)&&e.props.some(Mi)&&(n=W(e,`for`))){let e=n.forParseResult;if(e){hs(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},xs=(e,t,n,r)=>At(e,n,!1,!0,n.length?n[0].loc:r);function Ss(e,t,n=xs){t.helper(pt);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(s=e.props.some(e=>Mi(e)&&(Vi(e.arg,t.identifiers)||Vi(e.exp,t.identifiers)))||r.some(e=>Vi(e,t.identifiers)));let c=W(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!li(e)&&(s=!0),a.push(L(e||R(`default`,!0),n(t,void 0,r,i)))}let l=!1,u=!1,d=[],f=new Set,p=0;for(let e=0;e<r.length;e++){let i=r[e],m;if(!Ni(i)||!(m=W(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(U(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=R(`default`,!0),exp:v,loc:y}=m,b;li(_)?b=_?_.content:`default`:s=!0;let x=W(i,`for`),S=n(v,x,h,g),C,w;if(C=W(i,`if`))s=!0,o.push(jt(C.exp,Cs(_,S,p++),vs));else if(w=W(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],Ki(i)););if(i&&Ni(i)&&W(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?jt(w.exp,Cs(_,S,p++),vs):Cs(_,S,p++)}else t.onError(U(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(hs(e,t),o.push(z(t.helper(Ze),[e.source,At(gs(e),Cs(_,S),!0)]))):t.onError(U(32,x.loc))}else{if(b){if(f.has(b)){t.onError(U(38,y));continue}f.add(b),b==="default"&&(u=!0)}a.push(L(_,S))}}if(!c){let e=(e,t)=>L(`default`,n(e,void 0,t,i));l?d.length&&!d.every(Gi)&&(u?t.onError(U(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:ws(e.children)?3:1,h=Dt(a.concat(L(`_`,R(m+` /* ${ne[m]} */`,!1))),i);return o.length&&(h=z(t.helper($e),[h,Et(o)])),{slots:h,hasDynamicSlots:s}}function Cs(e,t,n){let r=[L(`name`,e),L(`fn`,t)];return n!=null&&r.push(L(`key`,R(String(n),!0))),Dt(r)}function ws(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||ws(n.children))return!0;break;case 9:if(ws(n.branches))return!0;break;case 10:case 11:if(ws(n.children))return!0;break}}return!1}var Ts=new WeakMap,Es=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?Ds(e,t):`"${n}"`,o=_(a)&&a.callee===Je,s,c,l=0,u,d,f,p=o||a===Fe||a===Ie||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=ks(e,t,void 0,i,o);s=n.props,l=n.patchFlag,d=n.dynamicPropNames;let r=n.directives;f=r&&r.length?Et(r.map(e=>Ms(e,t))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(a===Le&&(p=!0,l|=1024,e.children.length>1&&t.onError(U(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}))),i&&a!==Fe&&a!==Le){let{slots:n,hasDynamicSlots:r}=Ss(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==Fe){let n=e.children[0],r=n.type,i=r===5||r===8;i&&ja(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;d&&d.length&&(u=Ns(d)),e.codegenNode=Tt(t,a,s,c,l===0?void 0:l,u,f,!!p,!1,i,e.loc)};function Ds(e,t,n=!1){let{tag:r}=e,i=Ps(r),a=Di(e,`is`,!1,!0);if(a)if(i){let e;if(a.type===6?e=a.value&&R(a.value.content,!0):(e=a.exp,e||=(e=R(`is`,!1,a.arg.loc),a.exp=ns(e,t))),e)return z(t.helper(Je),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=ui(r)||t.isBuiltInComponent(r);if(o)return n||t.helper(o),o;{let e=Os(r,t);if(e)return e;let n=r.indexOf(`.`);if(n>0){let e=Os(r.slice(0,n),t);if(e)return e+r.slice(n)}}return t.selfName&&D(T(r))===t.selfName?(t.helper(qe),t.components.add(r+`__self`),Bi(r,`component`)):(t.helper(qe),t.components.add(r),Bi(r,`component`))}function Os(e,t){let n=t.bindingMetadata;if(!n||n.__isScriptSetup===!1)return;let r=T(e),i=D(r),a=t=>{if(n[e]===t)return e;if(n[r]===t)return r;if(n[i]===t)return i},o=a(`setup-const`)||a(`setup-reactive-const`)||a(`literal-const`);if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;let s=a(`setup-let`)||a(`setup-ref`)||a(`setup-maybe-ref`);if(s)return t.inline?`${t.helperString(mt)}(${s})`:`$setup[${JSON.stringify(s)}]`;let c=a(`props`);if(c)return`${t.helperString(mt)}(${t.inline?`__props`:`$props`}[${JSON.stringify(c)}])`}function ks(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:c,children:l}=e,u=[],d=[],f=[],p=l.length>0,m=!1,h=0,_=!1,v=!1,y=!1,b=!1,C=!1,w=!1,T=[],E=e=>{u.length&&(d.push(Dt(As(u),c)),u=[]),e&&d.push(e)},ee=()=>{t.scopes.vFor>0&&u.push(L(R(`ref_for`,!0),R(`true`)))},D=({key:e,value:n})=>{if(li(e)){let a=e.content,o=s(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!x(a)&&(b=!0),o&&x(a)&&(w=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&ja(n,t)>0)return;a===`ref`?_=!0:a===`class`?v=!0:a===`style`?y=!0:a!==`key`&&!T.includes(a)&&T.push(a),r&&(a===`class`||a===`style`)&&!T.includes(a)&&T.push(a)}else C=!0};for(let i=0;i<n.length;i++){let s=n[i];if(s.type===6){let{loc:e,name:n,nameLoc:r,value:i}=s,a=!0;if(n===`ref`&&(_=!0,ee(),i&&t.inline)){let e=t.bindingMetadata[i.content];(e===`setup-let`||e===`setup-ref`||e===`setup-maybe-ref`)&&(a=!1,u.push(L(R(`ref_key`,!0),R(i.content,!0,i.loc))))}if(n===`is`&&(Ps(o)||i&&i.content.startsWith(`vue:`)))continue;u.push(L(R(n,!0,r),R(i?i.content:``,a,i?i.loc:e)))}else{let{name:n,arg:i,exp:l,loc:_,modifiers:v}=s,y=n===`bind`,b=n===`on`;if(n===`slot`){r||t.onError(U(40,_));continue}if(n===`once`||n===`memo`||n===`is`||y&&Oi(i,`is`)&&Ps(o)||b&&a)continue;if((y&&Oi(i,`key`)||b&&p&&Oi(i,`vue:before-update`))&&(m=!0),y&&Oi(i,`ref`)&&ee(),!i&&(y||b)){C=!0,l?y?(ee(),E(),d.push(l)):E({type:14,loc:_,callee:t.helper(ot),arguments:r?[l]:[l,`true`]}):t.onError(U(y?34:35,_));continue}y&&v.some(e=>e.content===`prop`)&&(h|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(s,e,t);!a&&n.forEach(D),b&&i&&!li(i)?E(Dt(n,c)):u.push(...n),r&&(f.push(s),g(r)&&Ts.set(s,r))}else S(n)||(f.push(s),p&&(m=!0))}}let O;if(d.length?(E(),O=d.length>1?z(t.helper(tt),d,c):d[0]):u.length&&(O=Dt(As(u),c)),C?h|=16:(v&&!r&&(h|=2),y&&!r&&(h|=4),T.length&&(h|=8),b&&(h|=32)),!m&&(h===0||h===32)&&(_||w||f.length>0)&&(h|=512),!t.inSSR&&O)switch(O.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<O.properties.length;t++){let i=O.properties[t].key;li(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=O.properties[e],a=O.properties[n];r?O=z(t.helper(it),[O]):(i&&!li(i.value)&&(i.value=z(t.helper(nt),[i.value])),a&&(y||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=z(t.helper(rt),[a.value])));break;case 14:break;default:O=z(t.helper(it),[z(t.helper(at),[O])]);break}return{props:O,directives:f,patchFlag:h,dynamicPropNames:T,shouldUseBlock:m}}function As(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let a=i.key.content,o=t.get(a);o?(a===`style`||a===`class`||s(a))&&js(o,i):(t.set(a,i),n.push(i))}return n}function js(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Et([e.value,t.value],e.loc)}function Ms(e,t){let n=[],r=Ts.get(e);if(r)n.push(t.helperString(r));else{let r=Os(`v-`+e.name,t);r?n.push(r):(t.helper(Ye),t.directives.add(e.name),n.push(Bi(e.name,`directive`)))}let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=R(`true`,!1,i);n.push(Dt(e.modifiers.map(e=>L(e,t)),i))}return Et(n,e.loc)}function Ns(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function Ps(e){return e===`component`||e===`Component`}var Fs=(e,t)=>{if(Pi(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=Is(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=At([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=z(t.helper(Qe),o,r)}};function Is(e,t){let n=`"default"`,r,i=[];for(let r=0;r<e.props.length;r++){let a=e.props[r];a.type===6?a.value&&(a.name===`name`?n=JSON.stringify(a.value.content):(a.name=T(a.name),i.push(a))):a.name===`bind`&&Oi(a.arg,`name`)?a.exp?n=a.exp:a.arg&&a.arg.type===4&&(n=a.exp=R(T(a.arg.content),!1,a.arg.loc),n=a.exp=ns(a.exp,t)):(a.name===`bind`&&a.arg&&li(a.arg)&&(a.arg.content=T(a.arg.content)),i.push(a))}if(i.length>0){let{props:n,directives:a}=ks(e,t,i,!1,!1);r=n,a.length&&t.onError(U(36,a[0].loc))}return{slotName:n,slotProps:r}}var Ls=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(U(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vnode`)&&n.onError(U(52,o.loc)),e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=R(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?O(T(e)):`on:${e}`,!0,o.loc)}else s=kt([`${n.helperString(lt)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString(lt)}(`),s.children.push(`)`);let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){let r=yi(c,n),i=!(r||Ci(c,n)),a=c.content.includes(`;`);n.prefixIdentifiers&&(i&&n.addIdentifiers(`$event`),c=e.exp=ns(c,n,!1,a),i&&n.removeIdentifiers(`$event`),l=n.cacheHandlers&&!n.inVOnce&&!(c.type===4&&c.constType>0)&&!(r&&t.tagType===1)&&!Vi(c,n.identifiers),l&&r&&(c.type===4?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children,` && `,...c.children,`(...args)`])),(i||l&&r)&&(c=kt([`${i?n.isTS?`($event: any)`:`$event`:`${n.isTS?`
26
- //@ts-ignore
27
- `:``}(...args)`} => ${a?`{`:`(`}`,c,a?`}`:`)`]))}let u={props:[L(s,c||R(`() => {}`,!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},Rs=(e,t,n)=>{let{modifiers:r,loc:i}=e,a=e.arg,{exp:o}=e;return o&&o.type===4&&!o.content.trim()?(n.onError(U(34,i)),{props:[L(a,R(``,!0,i))]}):(a.type===4?a.isStatic||(a.content=a.content?`${a.content} || ""`:`""`):(a.children.unshift(`(`),a.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(a.type===4?a.isStatic?a.content=T(a.content):a.content=`${n.helperString(st)}(${a.content})`:(a.children.unshift(`${n.helperString(st)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&zs(a,`.`),r.some(e=>e.content===`attr`)&&zs(a,`^`)),{props:[L(a,o)]})},zs=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},Bs=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(Ai(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(Ai(a))r||=n[e]=kt([t],t.loc),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name]))))for(let e=0;e<n.length;e++){let r=n[e];if(Ai(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&ja(r,t)===0&&i.push(`1 /* ${j[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:z(t.helper(Ge),i)}}}}},Vs=new WeakSet,Hs=(e,t)=>{if(e.type===1&&W(e,`once`,!0))return Vs.has(e)||t.inVOnce||t.inSSR?void 0:(Vs.add(e),t.inVOnce=!0,t.helper(ut),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&=t.cache(e.codegenNode,!0,!0)})},Us=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(U(41,e.loc)),Ws();let a=r.loc.source.trim(),o=r.type===4?r.content:a,s=n.bindingMetadata[a];if(s===`props`||s===`props-aliased`)return n.onError(U(44,r.loc)),Ws();if(s===`literal-const`||s===`setup-const`)return n.onError(U(45,r.loc)),Ws();let c=n.inline&&(s===`setup-let`||s===`setup-ref`||s===`setup-maybe-ref`);if(!o.trim()||!yi(r,n)&&!c)return n.onError(U(42,r.loc)),Ws();if(n.prefixIdentifiers&&fi(o)&&n.identifiers[o])return n.onError(U(43,r.loc)),Ws();let l=i||R(`modelValue`,!0),u=i?li(i)?`onUpdate:${T(i.content)}`:kt([`"onUpdate:" + `,i]):`onUpdate:modelValue`,d,f=n.isTS?`($event: any)`:`$event`;if(c)if(s===`setup-ref`)d=kt([`${f} => ((`,R(a,!1,r.loc),`).value = $event)`]);else{let e=s===`setup-let`?`${a} = $event`:`null`;d=kt([`${f} => (${n.helperString(ht)}(${a}) ? (`,R(a,!1,r.loc),`).value = $event : ${e})`])}else d=kt([`${f} => ((`,r,`) = $event)`]);let p=[L(l,e.exp),L(u,d)];if(n.prefixIdentifiers&&!n.inVOnce&&n.cacheHandlers&&!Vi(r,n.identifiers)&&(p[1].value=n.cache(p[1].value)),e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(fi(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?li(i)?`${i.content}Modifiers`:kt([i,` + "Modifiers"`]):`modelModifiers`;p.push(L(n,R(`{ ${t} }`,!1,e.loc,2)))}return Ws(p)};function Ws(e=[]){return{props:e}}var Gs=new WeakSet,Ks=(e,t)=>{if(e.type===1){let n=W(e,`memo`);return!n||Gs.has(e)||t.inSSR?void 0:(Gs.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&Vt(r,t),e.codegenNode=z(t.helper(gt),[n.exp,At(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},qs=(e,t)=>{if(e.type===1){for(let n of e.props)if(n.type===7&&n.name===`bind`&&!n.exp&&n.arg){let e=n.arg;if(e.type!==4||!e.isStatic)t.onError(U(53,e.loc)),n.exp=R(``,!0,e.loc);else{let t=T(e.content);(pi.test(t[0])||t[0]===`-`)&&(n.exp=R(t,!1,e.loc))}}}};function Js(e){return[[qs,Hs,os,Ks,ps,...e?[bs,ts]:[],Fs,Es,ys,Bs],{on:Ls,bind:Rs,model:Us}]}function Ys(e,t={}){let n=t.onError||Mr,r=t.mode===`module`,i=t.prefixIdentifiers===!0||r;!i&&t.cacheHandlers&&n(U(50)),t.scopeId&&!r&&n(U(51));let a=c({},t,{prefixIdentifiers:i}),o=h(e)?Da(e,a):e,[s,l]=Js(i);if(t.isTS){let{expressionPlugins:e}=t;(!e||!e.includes(`typescript`))&&(t.expressionPlugins=[...e||[],`typescript`])}return La(o,c({},a,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:c({},l,t.directiveTransforms||{})})),Eo(o,a)}var Xs={DATA:`data`,PROPS:`props`,PROPS_ALIASED:`props-aliased`,SETUP_LET:`setup-let`,SETUP_CONST:`setup-const`,SETUP_REACTIVE_CONST:`setup-reactive-const`,SETUP_MAYBE_REF:`setup-maybe-ref`,SETUP_REF:`setup-ref`,OPTIONS:`options`,LITERAL_CONST:`literal-const`},Zs=()=>({props:[]}),Qs=Symbol(`vModelRadio`),$s=Symbol(`vModelCheckbox`),ec=Symbol(`vModelText`),tc=Symbol(`vModelSelect`),nc=Symbol(`vModelDynamic`),rc=Symbol(`vOnModifiersGuard`),ic=Symbol(`vOnKeysGuard`),ac=Symbol(`vShow`),oc=Symbol(`Transition`),sc=Symbol(`TransitionGroup`);yt({[Qs]:`vModelRadio`,[$s]:`vModelCheckbox`,[ec]:`vModelText`,[tc]:`vModelSelect`,[nc]:`vModelDynamic`,[rc]:`withModifiers`,[ic]:`withKeys`,[ac]:`vShow`,[oc]:`Transition`,[sc]:`TransitionGroup`});var cc={parseMode:`html`,isVoidTag:_e,isNativeTag:e=>me(e)||he(e)||ge(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:void 0,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return oc;if(e===`TransitionGroup`||e===`transition-group`)return sc},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(e===`svg`)return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(e===`svg`)return 1;if(e===`math`)return 2}return r}},lc=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:R(`style`,!0,t.loc),exp:uc(t.value.content,t.loc),modifiers:[],loc:t.loc})})},uc=(e,t)=>{let n=se(e);return R(JSON.stringify(n),!1,t,3)};function dc(e,t){return U(e,t,pc)}var fc={X_V_HTML_NO_EXPRESSION:54,54:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:55,55:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:56,56:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:57,57:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:58,58:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:59,59:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:61,61:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:62,62:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVALID_CHILDREN:63,63:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:64,64:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:65,65:`__EXTEND_POINT__`},pc={54:`v-html is missing expression.`,55:`v-html will override element children.`,56:`v-text is missing expression.`,57:`v-text will override element children.`,58:`v-model can only be used on <input>, <textarea> and <select> elements.`,59:`v-model argument is not supported on plain elements.`,60:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,61:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,62:`v-show is missing expression.`,63:`<Transition> expects exactly one child element or component.`,64:`Tags with side effect (<script> and <style>) are ignored in client component templates.`},mc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(dc(54,i)),t.children.length&&(n.onError(dc(55,i)),t.children.length=0),{props:[L(R(`innerHTML`,!0,i),r||R(``,!0))]}},hc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(dc(56,i)),t.children.length&&(n.onError(dc(57,i)),t.children.length=0),{props:[L(R(`textContent`,!0),r?ja(r,n)>0?r:z(n.helperString(et),[r],i):R(``,!0))]}},gc=(e,t,n)=>{let r=Us(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(dc(59,e.arg.loc));function i(){let e=W(t,`bind`);e&&Oi(e.arg,`value`)&&n.onError(dc(61,e.loc))}let{tag:a}=t,o=n.isCustomElement(a);if(a===`input`||a===`textarea`||a===`select`||o){let s=ec,c=!1;if(a===`input`||o){let r=Di(t,`type`);if(r){if(r.type===7)s=nc;else if(r.value)switch(r.value.content){case`radio`:s=Qs;break;case`checkbox`:s=$s;break;case`file`:c=!0,n.onError(dc(60,e.loc));break;default:i();break}}else ki(t)?s=nc:i()}else a===`select`?s=tc:i();c||(r.needRuntime=n.helper(s))}else n.onError(dc(58,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},_c=r(`passive,once,capture`),vc=r(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),yc=r(`left,right`),bc=r(`onkeyup,onkeydown,onkeypress`),xc=(e,t,n,r)=>{let i=[],a=[],o=[];for(let n=0;n<t.length;n++){let r=t[n].content;_c(r)?o.push(r):yc(r)?li(e)?bc(e.content.toLowerCase())?i.push(r):a.push(r):(i.push(r),a.push(r)):vc(r)?a.push(r):i.push(r)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},Sc=(e,t)=>li(e)&&e.content.toLowerCase()===`onclick`?R(t,!0):e.type===4?e:kt([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),Cc=(e,t,n)=>Ls(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0],{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:c}=xc(i,r,n,e.loc);if(s.includes(`right`)&&(i=Sc(i,`onContextmenu`)),s.includes(`middle`)&&(i=Sc(i,`onMouseup`)),s.length&&(a=z(n.helper(rc),[a,JSON.stringify(s)])),o.length&&(!li(i)||bc(i.content.toLowerCase()))&&(a=z(n.helper(ic),[a,JSON.stringify(o)])),c.length){let e=c.map(D).join(``);i=li(i)?R(`${i.content}${e}`,!0):kt([`(`,i,`) + "${e}"`])}return{props:[L(i,a)]}}),wc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(dc(62,i)),{props:[],needRuntime:n.helper(ac)}},Tc=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===oc)return()=>{if(!e.children.length)return;Ec(e)&&t.onError(dc(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}));let n=e.children[0];if(n.type===1)for(let t of n.props)t.type===7&&t.name===`show`&&e.props.push({type:6,name:`persisted`,nameLoc:e.loc,value:void 0,loc:e.loc})}};function Ec(e){let t=e.children=e.children.filter(e=>!Ki(e)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Ec)}var Dc=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Oc=(e,t,n)=>{if(t.scopes.vSlot>0)return;let r=n.type===1&&n.codegenNode&&n.codegenNode.type===13&&n.codegenNode.children&&!d(n.codegenNode.children)&&n.codegenNode.children.type===20,i=0,a=0,o=[],s=n=>{if(i>=20||a>=5){let i=z(t.helper(Ke),[JSON.stringify(o.map(e=>Pc(e,t)).join(``)).replace(Dc,`" + $1 + "`),String(o.length)]),a=o.length-1;if(r)e.splice(n-o.length,o.length,i);else if(o[0].codegenNode.value=i,o.length>1){e.splice(n-o.length+1,a);let r=t.cached.indexOf(o[o.length-1].codegenNode);if(r>-1){for(let e=r;e<t.cached.length;e++){let n=t.cached[e];n&&(n.index-=a)}t.cached.splice(r-a+1,a)}}return a}return 0},c=0;for(;c<e.length;c++){let t=e[c];if(r||kc(t)){let e=Nc(t);if(e){i+=e[0],a+=e[1],o.push(t);continue}}c-=s(c),i=0,a=0,o.length=0}s(c)},kc=e=>{if((e.type===1&&e.tagType===0||e.type===12)&&e.codegenNode&&e.codegenNode.type===20)return e.codegenNode},Ac=/^(?:data|aria)-/,jc=(e,t)=>(t===0?Ce(e):t===1?we(e):t===2&&Te(e))||Ac.test(e),Mc=r(`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`);function Nc(e){if(e.type===1&&Mc(e.tag)||e.type===1&&W(e,`once`,!0))return!1;if(e.type===12)return[1,0];let t=1,n=+(e.props.length>0),r=!1,i=()=>(r=!0,!1);function a(e){let o=e.tag===`option`&&e.ns===0;for(let t=0;t<e.props.length;t++){let n=e.props[t];if(n.type===6&&!jc(n.name,e.ns)||n.type===7&&n.name===`bind`&&(n.arg&&(n.arg.type===8||n.arg.isStatic&&!jc(n.arg.content,e.ns))||n.exp&&(n.exp.type===8||n.exp.constType<3)||o&&Oi(n.arg,`value`)&&n.exp&&!n.exp.isStatic))return i()}for(let i=0;i<e.children.length;i++){t++;let o=e.children[i];if(o.type===1&&(o.props.length>0&&n++,a(o),r))return!1}return!0}return a(e)?[t,n]:!1}function Pc(e,t){if(h(e))return e;if(g(e))return``;switch(e.type){case 1:return Fc(e,t);case 2:return De(e.content);case 3:return`<!--${De(e.content)}-->`;case 5:return De(je(Ic(e.content)));case 8:return De(Ic(e));case 12:return Pc(e.content,t);default:return``}}function Fc(e,t){let n=`<${e.tag}`,r=``;for(let t=0;t<e.props.length;t++){let i=e.props[t];if(i.type===6)n+=` ${i.name}`,i.value&&(n+=`="${De(i.value.content)}"`);else if(i.type===7)if(i.name===`bind`){let e=i.exp;if(e.content[0]===`_`){n+=` ${i.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(ve(i.arg.content)&&e.content===`false`)continue;let t=Ic(e);if(t!=null){let e=i.arg&&i.arg.content;e===`class`?t=le(t):e===`style`&&(t=ce(N(t))),n+=` ${i.arg.content}="${De(t)}"`}}else i.name===`html`?r=Ic(i.exp):i.name===`text`&&(r=De(je(Ic(i.exp))))}if(t.scopeId&&(n+=` ${t.scopeId}`),n+=`>`,r)n+=r;else for(let r=0;r<e.children.length;r++)n+=Pc(e.children[r],t);return _e(e.tag)||(n+=`</${e.tag}>`),n}function Ic(e){if(e.type===4)return Function(`return (${e.content})`)();{let t=``;return e.children.forEach(e=>{h(e)||g(e)||(e.type===2?t+=e.content:e.type===5?t+=je(Ic(e.content)):t+=Ic(e))}),t}}var Lc=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&(t.onError(dc(64,e.loc)),t.removeNode())};function Rc(e,t){return e===`template`?!0:e in Vc?Vc[e].has(t):t in Hc?Hc[t].has(e):!(e in Uc&&Uc[e].has(t)||t in Wc&&Wc[t].has(e))}var zc=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),Bc=new Set([]),Vc={head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`,`hr`]),table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),script:Bc,iframe:Bc,option:Bc,textarea:Bc,style:Bc,title:Bc},Hc={html:Bc,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},Uc={p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},Wc={a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:zc,h2:zc,h3:zc,h4:zc,h5:zc,h6:zc},Gc=[lc,Tc,(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!Rc(t.parent.tag,e.tag)){let n=SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}}],Kc={cloak:Zs,html:mc,text:hc,model:gc,on:Cc,show:wc};function qc(e,t={}){return Ys(e,c({},cc,t,{nodeTransforms:[Lc,...Gc,...t.nodeTransforms||[]],directiveTransforms:c({},Kc,t.directiveTransforms||{}),transformHoist:Oc}))}function Jc(e,t={}){return Da(e,c({},cc,t))}var Yc=Object.freeze({__proto__:null,BASE_TRANSITION:Re,BindingTypes:Xs,CAMELIZE:st,CAPITALIZE:ct,CREATE_BLOCK:Be,CREATE_COMMENT:We,CREATE_ELEMENT_BLOCK:Ve,CREATE_ELEMENT_VNODE:Ue,CREATE_SLOTS:$e,CREATE_STATIC:Ke,CREATE_TEXT:Ge,CREATE_VNODE:He,CompilerDeprecationTypes:Er,ConstantTypes:Ct,DOMDirectiveTransforms:Kc,DOMErrorCodes:fc,DOMErrorMessages:pc,DOMNodeTransforms:Gc,ElementTypes:St,ErrorCodes:Pr,FRAGMENT:Pe,GUARD_REACTIVE_PROPS:at,IS_MEMO_SAME:_t,IS_REF:ht,KEEP_ALIVE:Le,MERGE_PROPS:tt,NORMALIZE_CLASS:nt,NORMALIZE_PROPS:it,NORMALIZE_STYLE:rt,Namespaces:bt,NodeTypes:xt,OPEN_BLOCK:ze,POP_SCOPE_ID:ft,PUSH_SCOPE_ID:dt,RENDER_LIST:Ze,RENDER_SLOT:Qe,RESOLVE_COMPONENT:qe,RESOLVE_DIRECTIVE:Ye,RESOLVE_DYNAMIC_COMPONENT:Je,RESOLVE_FILTER:Xe,SET_BLOCK_TRACKING:ut,SUSPENSE:Ie,TELEPORT:Fe,TO_DISPLAY_STRING:et,TO_HANDLERS:ot,TO_HANDLER_KEY:lt,TRANSITION:oc,TRANSITION_GROUP:sc,TS_NODE_TYPES:si,UNREF:mt,V_MODEL_CHECKBOX:$s,V_MODEL_DYNAMIC:nc,V_MODEL_RADIO:Qs,V_MODEL_SELECT:tc,V_MODEL_TEXT:ec,V_ON_WITH_KEYS:ic,V_ON_WITH_MODIFIERS:rc,V_SHOW:ac,WITH_CTX:pt,WITH_DIRECTIVES:F,WITH_MEMO:gt,advancePositionWithClone:wi,advancePositionWithMutation:Ti,assert:Ei,baseCompile:Ys,baseParse:Da,buildDirectiveArgs:Ms,buildProps:ks,buildSlots:Ss,checkCompatEnabled:Ar,compile:qc,convertToBlock:Vt,createArrayExpression:Et,createAssignmentExpression:It,createBlockStatement:Nt,createCacheExpression:Mt,createCallExpression:z,createCompilerError:U,createCompoundExpression:kt,createConditionalExpression:jt,createDOMCompilerError:dc,createForLoopParams:gs,createFunctionExpression:At,createIfStatement:Ft,createInterpolation:Ot,createObjectExpression:Dt,createObjectProperty:L,createReturnStatement:Rt,createRoot:wt,createSequenceExpression:Lt,createSimpleExpression:R,createStructuralDirectiveTransform:Va,createTemplateLiteral:Pt,createTransformContext:Ia,createVNodeCall:Tt,errorMessages:Fr,extractIdentifiers:ei,findDir:W,findProp:Di,forAliasRE:Ui,generate:Eo,generateCodeFrame:M,getBaseTransformPreset:Js,getConstantType:ja,getMemoedVNodeCall:Hi,getVNodeBlockHelper:Bt,getVNodeHelper:zt,hasDynamicKeyVBind:ki,hasScopeRef:Vi,helperNameMap:vt,injectProp:Li,isAllWhitespace:Wi,isCommentOrWhitespace:Ki,isCoreComponent:ui,isFnExpression:Ci,isFnExpressionBrowser:xi,isFnExpressionNode:Si,isFunctionType:ri,isInDestructureAssignment:qr,isInNewExpression:Jr,isMemberExpression:yi,isMemberExpressionBrowser:_i,isMemberExpressionNode:vi,isReferencedIdentifier:Kr,isSimpleIdentifier:fi,isSlotOutlet:Pi,isStaticArgOf:Oi,isStaticExp:li,isStaticProperty:ii,isStaticPropertyKey:ai,isTemplateNode:Ni,isText:Ai,isVPre:ji,isVSlot:Mi,isWhitespaceText:Gi,locStub:I,noopDirectiveTransform:Zs,parse:Jc,parserOptions:cc,processExpression:ns,processFor:ms,processIf:ss,processSlotOutlet:Is,registerRuntimeHelpers:yt,resolveComponentType:Ds,stringifyExpression:is,toValidAssetId:Bi,trackSlotScopes:ys,trackVForSlotScopes:bs,transform:La,transformBind:Rs,transformElement:Es,transformExpression:ts,transformModel:Us,transformOn:Ls,transformStyle:lc,transformVBindShorthand:qs,traverseNode:Ba,unwrapTSNode:ci,validFirstIdentCharRE:pi,walkBlockDeclarations:Xr,walkFunctionParams:Yr,walkIdentifiers:Gr,warnDeprecation:jr}),Xc,Zc;function Qc(){if(Zc)return Xc;Zc=1;function e(e,t){for(;e.length<t;)e=`0`+e;return e}function t(e,t){var n,r,i;if(t.length===0)return e;for(n=0,i=t.length;n<i;n++)r=t.charCodeAt(n),e=(e<<5)-e+r,e|=0;return e<0?e*-2:e}function n(e,t,n){return Object.keys(t).sort().reduce(i,e);function i(e,i){return r(e,t[i],i,n)}}function r(e,r,a,o){var s=t(t(t(e,a),i(r)),typeof r);if(r===null)return t(s,`null`);if(r===void 0)return t(s,`undefined`);if(typeof r==`object`||typeof r==`function`){if(o.indexOf(r)!==-1)return t(s,`[Circular]`+a);o.push(r);var c=n(s,r,o);if(!(`valueOf`in r)||typeof r.valueOf!=`function`)return c;try{return t(c,String(r.valueOf()))}catch(e){return t(c,`[valueOf exception]`+(e.stack||e.message))}}return t(s,r.toString())}function i(e){return Object.prototype.toString.call(e)}function a(t){return e(r(0,t,``,[]).toString(16),8)}return Xc=a,Xc}var $c=Ir(Qc()),el=`useCssVars`;function tl(e,t,n,r=!1){return`{
28
- ${e.map(e=>`"${r?`:--`:``}${nl(t,e,n,r)}": (${e})`).join(`,
29
- `)}
30
- }`}function nl(e,t,n,r=!1){return n?$c(e+t).replace(/^\d/,e=>`v${e}`):`${e}-${ke(t,r)}`}function rl(e){return e=e.trim(),e[0]===`'`&&e[e.length-1]===`'`||e[0]===`"`&&e[e.length-1]===`"`?e.slice(1,-1):e}var il=/v-bind\s*\(/g;function al(e){let t=[];return e.styles.forEach(e=>{let n,r=e.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,``);for(;n=il.exec(r);){let e=n.index+n[0].length,i=ol(r,e);if(i!==null){let n=rl(r.slice(e,i));t.includes(n)||t.push(n)}}}),t}function ol(e,t){let n=0,r=0;for(let i=t;i<e.length;i++){let t=e.charAt(i);switch(n){case 0:if(t===`'`)n=1;else if(t===`"`)n=2;else if(t===`(`)r++;else if(t===`)`)if(r>0)r--;else return i;break;case 1:t===`'`&&(n=0);break;case 2:t===`"`&&(n=0);break}}return null}var sl=e=>{let{id:t,isProd:n}=e;return{postcssPlugin:`vue-sfc-vars`,Declaration(e){let r=e.value;if(il.test(r)){il.lastIndex=0;let i=``,a=0,o;for(;o=il.exec(r);){let e=o.index+o[0].length,s=ol(r,e);if(s!==null){let c=rl(r.slice(e,s));i+=r.slice(a,o.index)+`var(--${nl(t,c,n)})`,a=s+1}}e.value=i+r.slice(a)}}}};sl.postcss=!0;function cl(e,t,n,r){let i=ns(R(tl(e,n,r),!1),Ia(wt([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:t.__isScriptSetup===!1?void 0:t}));return`_${el}(_ctx => (${i.type===4?i.content:i.children.map(e=>typeof e==`string`?e:e.content).join(``)}))`}function ll(e,t,n,r,i){return`
31
- import { ${el} as _${el} } from 'vue'
32
- const __injectCSSVars__ = () => {
33
- ${cl(e,t,n,r)}}
34
- const __setup__ = ${i}.setup
35
- ${i}.setup = __setup__
36
- ? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
37
- : __injectCSSVars__
38
- `}function ul(){throw Error(`setTimeout has not been defined`)}function dl(){throw Error(`clearTimeout has not been defined`)}var fl=ul,pl=dl;typeof Gt.setTimeout==`function`&&(fl=setTimeout),typeof Gt.clearTimeout==`function`&&(pl=clearTimeout);function ml(e){if(fl===setTimeout)return setTimeout(e,0);if((fl===ul||!fl)&&setTimeout)return fl=setTimeout,setTimeout(e,0);try{return fl(e,0)}catch{try{return fl.call(null,e,0)}catch{return fl.call(this,e,0)}}}function hl(e){if(pl===clearTimeout)return clearTimeout(e);if((pl===dl||!pl)&&clearTimeout)return pl=clearTimeout,clearTimeout(e);try{return pl(e)}catch{try{return pl.call(null,e)}catch{return pl.call(this,e)}}}var gl=[],_l=!1,vl,yl=-1;function bl(){!_l||!vl||(_l=!1,vl.length?gl=vl.concat(gl):yl=-1,gl.length&&xl())}function xl(){if(!_l){var e=ml(bl);_l=!0;for(var t=gl.length;t;){for(vl=gl,gl=[];++yl<t;)vl&&vl[yl].run();yl=-1,t=gl.length}vl=null,_l=!1,hl(e)}}function Sl(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];gl.push(new Cl(e,t)),gl.length===1&&!_l&&ml(xl)}function Cl(e,t){this.fun=e,this.array=t}Cl.prototype.run=function(){this.fun.apply(null,this.array)};var wl=`browser`,Tl=`browser`,El=!0,Dl={},Ol=[],kl=``,Al={},jl={},Ml={};function Nl(){}var Pl=Nl,Fl=Nl,Il=Nl,Ll=Nl,Rl=Nl,zl=Nl,Bl=Nl;function Vl(e){throw Error(`process.binding is not supported`)}function Hl(){return`/`}function Ul(e){throw Error(`process.chdir is not supported`)}function Wl(){return 0}var Gl=Gt.performance||{},Kl=Gl.now||Gl.mozNow||Gl.msNow||Gl.oNow||Gl.webkitNow||function(){return new Date().getTime()};function ql(e){var t=Kl.call(Gl)*.001,n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}var Jl=new Date;function Yl(){return(new Date-Jl)/1e3}var Xl={nextTick:Sl,title:wl,browser:El,env:Dl,argv:Ol,version:kl,versions:Al,on:Pl,addListener:Fl,once:Il,off:Ll,removeListener:Rl,removeAllListeners:zl,emit:Bl,binding:Vl,cwd:Hl,chdir:Ul,umask:Wl,hrtime:ql,platform:Tl,release:jl,config:Ml,uptime:Yl};function Zl(e=500){return new Map}function Ql(e,t){return tu(t).has(e)}var $l=Zl();function eu(e){return nu(e,!1).vModelIds}function tu(e){return nu(e).usedIds}function nu(e,t=!0){let{content:n,ast:r}=e.template,i=$l.get(n);if(i&&(!t||i.usedIds))return i;let a=t?new Set:void 0,o=new Set;r.children.forEach(s);function s(e){switch(e.type){case 1:let t=e.tag;t.includes(`.`)&&(t=t.split(`.`)[0].trim()),!cc.isNativeTag(t)&&!cc.isBuiltInComponent(t)&&a&&(a.add(T(t)),a.add(D(T(t))));for(let t=0;t<e.props.length;t++){let n=e.props[t];if(n.type===7){if(a&&(S(n.name)||a.add(`v${D(T(n.name))}`)),n.name===`model`){let e=n.exp;if(e&&e.type===4){let t=e.content.trim();fi(t)&&t!==`undefined`&&o.add(t)}}a&&n.arg&&!n.arg.isStatic&&ru(a,n.arg),a&&(n.name===`for`?ru(a,n.forParseResult.source):n.exp?ru(a,n.exp):n.name===`bind`&&!n.exp&&a.add(T(n.arg.content)))}a&&n.type===6&&n.name===`ref`&&n.value?.content&&a.add(n.value.content)}e.children.forEach(s);break;case 5:a&&ru(a,e.content);break}}let c={usedIds:a,vModelIds:o};return $l.set(n,c),c}function ru(e,t){t.ast?Gr(t.ast,t=>e.add(t.name)):t.ast===null&&e.add(t.content)}var iu=Object.defineProperty,au=Object.defineProperties,ou=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,uu=(e,t,n)=>t in e?iu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,du=(e,t)=>{for(var n in t||={})cu.call(t,n)&&uu(e,n,t[n]);if(su)for(var n of su(t))lu.call(t,n)&&uu(e,n,t[n]);return e},fu=(e,t)=>au(e,ou(t)),pu=`anonymous.vue`,mu=Zl();function hu(e,t={}){let n=te(e,fu(du({},t),{compiler:{parse:t.compiler?.parse}})),r=mu.get(n);if(r)return r;let{sourceMap:i=!0,filename:a=pu,sourceRoot:o=``,pad:s=!1,ignoreEmpty:c=!0,compiler:l=Yc,templateParseOptions:u={}}=t,d={filename:a,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>Tu(e,d)},f=[];l.parse(e,fu(du({parseMode:`sfc`,prefixIdentifiers:!0},u),{onError:e=>{f.push(e)}})).children.forEach(t=>{if(t.type===1&&!(c&&t.tag!==`template`&&wu(t)&&!Cu(t)))switch(t.tag){case`template`:if(d.template)f.push(gu(t));else{let n=d.template=_u(t,e,!1);if(n.attrs.src||(n.ast=wt(t.children,e)),n.attrs.functional){let e=SyntaxError(`<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.`);e.loc=t.props.find(e=>e.type===6&&e.name===`functional`).loc,f.push(e)}}break;case`script`:let n=_u(t,e,s),r=!!n.attrs.setup;if(r&&!d.scriptSetup){d.scriptSetup=n;break}if(!r&&!d.script){d.script=n;break}f.push(gu(t,r));break;case`style`:let i=_u(t,e,s);i.attrs.vars&&f.push(SyntaxError(`<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231`)),d.styles.push(i);break;default:d.customBlocks.push(_u(t,e,s));break}}),!d.template&&!d.script&&!d.scriptSetup&&f.push(SyntaxError(`At least one <template> or <script> is required in a single file component. ${d.filename}`)),d.scriptSetup&&(d.scriptSetup.src&&(f.push(SyntaxError(`<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.`)),d.scriptSetup=null),d.script&&d.script.src&&(f.push(SyntaxError(`<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.`)),d.script=null));let p=0;if(d.template&&(d.template.lang===`pug`||d.template.lang===`jade`)&&([d.template.content,p]=Eu(d.template.content)),i){let t=(t,n=0)=>{t&&!t.src&&(t.map=xu(a,e,t.content,o,!s||t.type===`template`?t.loc.start.line-1:0,n))};t(d.template,p),t(d.script),d.styles.forEach(e=>t(e)),d.customBlocks.forEach(e=>t(e))}d.cssVars=al(d);let m=/(?:::v-|:)slotted\(/;d.slotted=d.styles.some(e=>e.scoped&&m.test(e.content));let h={descriptor:d,errors:f};return mu.set(n,h),h}function gu(e,t=!1){let n=SyntaxError(`Single file component can contain only one <${e.tag}${t?` setup`:``}> element`);return n.loc=e.loc,n}function _u(e,t,n){let r=e.tag,i=e.innerLoc,a={},o={type:r,content:t.slice(i.start.offset,i.end.offset),loc:i,attrs:a};return n&&(o.content=Su(t,o,n)+o.content),e.props.forEach(e=>{if(e.type===6){let t=e.name;a[t]=e.value&&e.value.content||!0,t===`lang`?o.lang=e.value&&e.value.content:t===`src`?o.src=e.value&&e.value.content:r===`style`?t===`scoped`?o.scoped=!0:t===`module`&&(o.module=a[t]):r===`script`&&t===`setup`&&(o.setup=a.setup)}}),o}var vu=/\r?\n/g,yu=/^(?:\/\/)?\s*$/,bu=/./g;function xu(e,t,n,r,i,a){let o=new So.SourceMapGenerator({file:e.replace(/\\/g,`/`),sourceRoot:r.replace(/\\/g,`/`)});return o.setSourceContent(e,t),o._sources.add(e),n.split(vu).forEach((t,n)=>{if(!yu.test(t)){let r=n+1+i,s=n+1;for(let n=0;n<t.length;n++)/\s/.test(t[n])||o._mappings.add({originalLine:r,originalColumn:n+a,generatedLine:s,generatedColumn:n,source:e,name:null})}}),o.toJSON()}function Su(e,t,n){if(e=e.slice(0,t.loc.start.offset),n===`space`)return e.replace(bu,` `);{let n=e.split(vu).length,r=t.type===`script`&&!t.lang?`//
39
- `:`
40
- `;return Array(n).join(r)}}function Cu(e){return e.props.some(e=>e.type===6&&e.name===`src`)}function wu(e){for(let t=0;t<e.children.length;t++){let n=e.children[t];if(n.type!==2||n.content.trim()!==``)return!1}return!0}function Tu(e,t){if(!t.scriptSetup||t.scriptSetup.lang!==`ts`&&t.scriptSetup.lang!==`tsx`)return!1;for(let n in e)if(!e[n].isUsedInTemplate&&Ql(n,t))return!0;return!1}function Eu(e){let t=e.split(`
41
- `),n=t.reduce(function(e,t){if(t.trim()===``)return e;let n=t.match(/^\s*/)?.[0]?.length||0;return Math.min(n,e)},1/0);return n===0?[e,n]:[t.map(function(e){return e.slice(n)}).join(`
42
- `),n]}function Du(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];i===`.`?e.splice(r,1):i===`..`?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}var Ou=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ku=function(e){return Ou.exec(e).slice(1)};function Au(){for(var e=``,t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:`/`;if(typeof r!=`string`)throw TypeError(`Arguments to path.resolve must be strings`);r&&(e=r+`/`+e,t=r.charAt(0)===`/`)}return e=Du(Vu(e.split(`/`),function(e){return!!e}),!t).join(`/`),(t?`/`:``)+e||`.`}function ju(e){var t=Mu(e),n=Hu(e,-1)===`/`;return e=Du(Vu(e.split(`/`),function(e){return!!e}),!t).join(`/`),!e&&!t&&(e=`.`),e&&n&&(e+=`/`),(t?`/`:``)+e}function Mu(e){return e.charAt(0)===`/`}function Nu(){return ju(Vu(Array.prototype.slice.call(arguments,0),function(e,t){if(typeof e!=`string`)throw TypeError(`Arguments to path.join must be strings`);return e}).join(`/`))}function Pu(e,t){e=Au(e).substr(1),t=Au(t).substr(1);function n(e){for(var t=0;t<e.length&&e[t]===``;t++);for(var n=e.length-1;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}for(var r=n(e.split(`/`)),i=n(t.split(`/`)),a=Math.min(r.length,i.length),o=a,s=0;s<a;s++)if(r[s]!==i[s]){o=s;break}for(var c=[],s=o;s<r.length;s++)c.push(`..`);return c=c.concat(i.slice(o)),c.join(`/`)}var Fu=`/`,Iu=`:`;function Lu(e){var t=ku(e),n=t[0],r=t[1];return!n&&!r?`.`:(r&&=r.substr(0,r.length-1),n+r)}function Ru(e,t){var n=ku(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function zu(e){return ku(e)[3]}var Bu={extname:zu,basename:Ru,dirname:Lu,sep:Fu,delimiter:Iu,relative:Pu,join:Nu,isAbsolute:Mu,normalize:ju,resolve:Au};function Vu(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var Hu=`ab`.substr(-1)===`b`?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},Uu=Object.freeze({__proto__:null,basename:Ru,default:Bu,delimiter:Iu,dirname:Lu,extname:zu,isAbsolute:Mu,join:Nu,normalize:ju,relative:Pu,resolve:Au,sep:Fu}),Wu=2147483647,Gu=36,Ku=1,qu=26,Ju=38,Yu=700,Xu=72,Zu=128,Qu=`-`,$u=/[^\x20-\x7E]/,ed=/[\x2E\u3002\uFF0E\uFF61]/g,td={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},nd=Gu-Ku,rd=Math.floor,id=String.fromCharCode;function ad(e){throw RangeError(td[e])}function od(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function sd(e,t){var n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(ed,`.`);var i=od(e.split(`.`),t).join(`.`);return r+i}function cd(e){for(var t=[],n=0,r=e.length,i,a;n<r;)i=e.charCodeAt(n++),i>=55296&&i<=56319&&n<r?(a=e.charCodeAt(n++),(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)):t.push(i);return t}function ld(e,t){return e+22+75*(e<26)-((t!=0)<<5)}function ud(e,t,n){var r=0;for(e=n?rd(e/Yu):e>>1,e+=rd(e/t);e>nd*qu>>1;r+=Gu)e=rd(e/nd);return rd(r+(nd+1)*e/(e+Ju))}function dd(e){var t,n,r,i,a,o,s,c,l,u,d,f=[],p,m,h,g;for(e=cd(e),p=e.length,t=Zu,n=0,a=Xu,o=0;o<p;++o)d=e[o],d<128&&f.push(id(d));for(r=i=f.length,i&&f.push(Qu);r<p;){for(s=Wu,o=0;o<p;++o)d=e[o],d>=t&&d<s&&(s=d);for(m=r+1,s-t>rd((Wu-n)/m)&&ad(`overflow`),n+=(s-t)*m,t=s,o=0;o<p;++o)if(d=e[o],d<t&&++n>Wu&&ad(`overflow`),d==t){for(c=n,l=Gu;u=l<=a?Ku:l>=a+qu?qu:l-a,!(c<u);l+=Gu)g=c-u,h=Gu-u,f.push(id(ld(u+g%h,0))),c=rd(g/h);f.push(id(ld(c,0))),a=ud(n,m,r==i),n=0,++r}++n,++t}return f.join(``)}function fd(e){return sd(e,function(e){return $u.test(e)?`xn--`+dd(e):e})}var pd=typeof Object.create==`function`?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},md=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},hd=/%[sdj%]/g;function gd(e){if(!Id(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(xd(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,a=String(e).replace(hd,function(e){if(e===`%%`)return`%`;if(n>=i)return e;switch(e){case`%s`:return String(r[n++]);case`%d`:return Number(r[n++]);case`%j`:try{return JSON.stringify(r[n++])}catch{return`[Circular]`}default:return e}}),o=r[n];n<i;o=r[++n])Nd(o)||!Bd(o)?a+=` `+o:a+=` `+xd(o);return a}function _d(e,t){if(Rd(Gt.process))return function(){return _d(e,t).apply(this,arguments)};if(Xl.noDeprecation===!0)return e;var n=!1;function r(){if(!n){if(Xl.throwDeprecation)throw Error(t);Xl.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}return r}var vd={},yd;function bd(e){if(Rd(yd)&&(yd=Xl.env.NODE_DEBUG||``),e=e.toUpperCase(),!vd[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(yd)){var t=0;vd[e]=function(){var n=gd.apply(null,arguments);console.error(`%s %d: %s`,e,t,n)}}else vd[e]=function(){};return vd[e]}function xd(e,t){var n={seen:[],stylize:Cd};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Md(t)?n.showHidden=t:t&&Zd(n,t),Rd(n.showHidden)&&(n.showHidden=!1),Rd(n.depth)&&(n.depth=2),Rd(n.colors)&&(n.colors=!1),Rd(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Sd),Td(n,e,n.depth)}xd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},xd.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function Sd(e,t){var n=xd.styles[t];return n?`\x1B[`+xd.colors[n][0]+`m`+e+`\x1B[`+xd.colors[n][1]+`m`:e}function Cd(e,t){return e}function wd(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function Td(e,t,n){if(e.customInspect&&t&&Ud(t.inspect)&&t.inspect!==xd&&!(t.constructor&&t.constructor.prototype===t)){var r=t.inspect(n,e);return Id(r)||(r=Td(e,r,n)),r}var i=Ed(e,t);if(i)return i;var a=Object.keys(t),o=wd(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),Hd(t)&&(a.indexOf(`message`)>=0||a.indexOf(`description`)>=0))return Dd(t);if(a.length===0){if(Ud(t)){var s=t.name?`: `+t.name:``;return e.stylize(`[Function`+s+`]`,`special`)}if(zd(t))return e.stylize(RegExp.prototype.toString.call(t),`regexp`);if(Vd(t))return e.stylize(Date.prototype.toString.call(t),`date`);if(Hd(t))return Dd(t)}var c=``,l=!1,u=[`{`,`}`];if(jd(t)&&(l=!0,u=[`[`,`]`]),Ud(t)&&(c=` [Function`+(t.name?`: `+t.name:``)+`]`),zd(t)&&(c=` `+RegExp.prototype.toString.call(t)),Vd(t)&&(c=` `+Date.prototype.toUTCString.call(t)),Hd(t)&&(c=` `+Dd(t)),a.length===0&&(!l||t.length==0))return u[0]+c+u[1];if(n<0)return zd(t)?e.stylize(RegExp.prototype.toString.call(t),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(t);var d=l?Od(e,t,n,o,a):a.map(function(r){return kd(e,t,n,o,r,l)});return e.seen.pop(),Ad(d,c,u)}function Ed(e,t){if(Rd(t))return e.stylize(`undefined`,`undefined`);if(Id(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(Fd(t))return e.stylize(``+t,`number`);if(Md(t))return e.stylize(``+t,`boolean`);if(Nd(t))return e.stylize(`null`,`null`)}function Dd(e){return`[`+Error.prototype.toString.call(e)+`]`}function Od(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)Qd(t,String(o))?a.push(kd(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(kd(e,t,n,r,i,!0))}),a}function kd(e,t,n,r,i,a){var o,s,c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),Qd(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=Nd(n)?Td(e,c.value,null):Td(e,c.value,n-1),s.indexOf(`
43
- `)>-1&&(s=a?s.split(`
44
- `).map(function(e){return` `+e}).join(`
45
- `).substr(2):`
46
- `+s.split(`
47
- `).map(function(e){return` `+e}).join(`
48
- `))):s=e.stylize(`[Circular]`,`special`)),Rd(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function Ad(e,t,n){return e.reduce(function(e,t){return t.indexOf(`
49
- `),e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
50
- `)+` `+e.join(`,
51
- `)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}function jd(e){return Array.isArray(e)}function Md(e){return typeof e==`boolean`}function Nd(e){return e===null}function Pd(e){return e==null}function Fd(e){return typeof e==`number`}function Id(e){return typeof e==`string`}function Ld(e){return typeof e==`symbol`}function Rd(e){return e===void 0}function zd(e){return Bd(e)&&Kd(e)===`[object RegExp]`}function Bd(e){return typeof e==`object`&&!!e}function Vd(e){return Bd(e)&&Kd(e)===`[object Date]`}function Hd(e){return Bd(e)&&(Kd(e)===`[object Error]`||e instanceof Error)}function Ud(e){return typeof e==`function`}function Wd(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0}function Gd(e){return V.isBuffer(e)}function Kd(e){return Object.prototype.toString.call(e)}function qd(e){return e<10?`0`+e.toString(10):e.toString(10)}var Jd=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function Yd(){var e=new Date,t=[qd(e.getHours()),qd(e.getMinutes()),qd(e.getSeconds())].join(`:`);return[e.getDate(),Jd[e.getMonth()],t].join(` `)}function Xd(){console.log(`%s - %s`,Yd(),gd.apply(null,arguments))}function Zd(e,t){if(!t||!Bd(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function Qd(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var $d=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;function ef(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if($d&&e[$d]){var t=e[$d];if(typeof t!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(t,$d,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),$d&&Object.defineProperty(t,$d,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,md(e))}ef.custom=$d;function tf(e,t){if(!e){var n=Error(`Promise was rejected with a falsy value`);n.reason=e,e=n}return t(e)}function nf(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if(typeof r!=`function`)throw TypeError(`The last argument must be of type Function`);var i=this,a=function(){return r.apply(i,arguments)};e.apply(this,t).then(function(e){Xl.nextTick(a.bind(null,null,e))},function(e){Xl.nextTick(tf.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,md(e)),t}var rf=Object.freeze({__proto__:null,_extend:Zd,callbackify:nf,debuglog:bd,default:{inherits:pd,_extend:Zd,log:Xd,isBuffer:Gd,isPrimitive:Wd,isFunction:Ud,isError:Hd,isDate:Vd,isObject:Bd,isRegExp:zd,isUndefined:Rd,isSymbol:Ld,isString:Id,isNumber:Fd,isNullOrUndefined:Pd,isNull:Nd,isBoolean:Md,isArray:jd,inspect:xd,deprecate:_d,format:gd,debuglog:bd,promisify:ef,callbackify:nf},deprecate:_d,format:gd,inherits:pd,inspect:xd,isArray:jd,isBoolean:Md,isBuffer:Gd,isDate:Vd,isError:Hd,isFunction:Ud,isNull:Nd,isNullOrUndefined:Pd,isNumber:Fd,isObject:Bd,isPrimitive:Wd,isRegExp:zd,isString:Id,isSymbol:Ld,isUndefined:Rd,log:Xd,promisify:ef});function af(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var of=Array.isArray||function(e){return Object.prototype.toString.call(e)===`[object Array]`};function sf(e){switch(typeof e){case`string`:return e;case`boolean`:return e?`true`:`false`;case`number`:return isFinite(e)?e:``;default:return``}}function cf(e,t,n,r){return t||=`&`,n||=`=`,e===null&&(e=void 0),typeof e==`object`?lf(uf(e),function(r){var i=encodeURIComponent(sf(r))+n;return of(e[r])?lf(e[r],function(e){return i+encodeURIComponent(sf(e))}).join(t):i+encodeURIComponent(sf(e[r]))}).join(t):r?encodeURIComponent(sf(r))+n+encodeURIComponent(sf(e)):``}function lf(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var uf=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t};function df(e,t,n,r){t||=`&`,n||=`=`;var i={};if(typeof e!=`string`||e.length===0)return i;var a=/\+/g;e=e.split(t);var o=1e3;r&&typeof r.maxKeys==`number`&&(o=r.maxKeys);var s=e.length;o>0&&s>o&&(s=o);for(var c=0;c<s;++c){var l=e[c].replace(a,`%20`),u=l.indexOf(n),d,f,p,m;u>=0?(d=l.substr(0,u),f=l.substr(u+1)):(d=l,f=``),p=decodeURIComponent(d),m=decodeURIComponent(f),af(i,p)?of(i[p])?i[p].push(m):i[p]=[i[p],m]:i[p]=m}return i}var ff=Gt.URL,pf=Gt.URLSearchParams,mf={parse:Of,resolve:Pf,resolveObject:Ff,fileURLToPath:Af,format:Mf,Url:hf,URL:ff,URLSearchParams:pf};function hf(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var gf=/^([a-z0-9.+-]+:)/i,_f=/:[0-9]*$/,vf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yf=[`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
52
- `,` `],bf=[`%`,`/`,`?`,`;`,`#`].concat(yf),xf=[`/`,`?`,`#`],Sf=255,Cf=/^[+a-z0-9A-Z_-]{0,63}$/,wf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Tf={javascript:!0,"javascript:":!0},Ef={javascript:!0,"javascript:":!0},Df={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Of(e,t,n){if(e&&Bd(e)&&e instanceof hf)return e;var r=new hf;return r.parse(e,t,n),r}hf.prototype.parse=function(e,t,n){return kf(this,e,t,n)};function kf(e,t,n,r){if(!Id(t))throw TypeError(`Parameter 'url' must be a string, not `+typeof t);var i=t.indexOf(`?`),a=i!==-1&&i<t.indexOf(`#`)?`?`:`#`,o=t.split(a);o[0]=o[0].replace(/\\/g,`/`),t=o.join(a);var s=t;if(s=s.trim(),!r&&t.split(`#`).length===1){var c=vf.exec(s);if(c)return e.path=s,e.href=s,e.pathname=c[1],c[2]?(e.search=c[2],n?e.query=df(e.search.substr(1)):e.query=e.search.substr(1)):n&&(e.search=``,e.query={}),e}var l=gf.exec(s);if(l){l=l[0];var u=l.toLowerCase();e.protocol=u,s=s.substr(l.length)}if(r||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var d=s.substr(0,2)===`//`;d&&!(l&&Ef[l])&&(s=s.substr(2),e.slashes=!0)}var f,p,m,h;if(!Ef[l]&&(d||l&&!Df[l])){var g=-1;for(f=0;f<xf.length;f++)p=s.indexOf(xf[f]),p!==-1&&(g===-1||p<g)&&(g=p);var _,v=g===-1?s.lastIndexOf(`@`):s.lastIndexOf(`@`,g);for(v!==-1&&(_=s.slice(0,v),s=s.slice(v+1),e.auth=decodeURIComponent(_)),g=-1,f=0;f<bf.length;f++)p=s.indexOf(bf[f]),p!==-1&&(g===-1||p<g)&&(g=p);g===-1&&(g=s.length),e.host=s.slice(0,g),s=s.slice(g),If(e),e.hostname=e.hostname||``;var y=e.hostname[0]===`[`&&e.hostname[e.hostname.length-1]===`]`;if(!y){var b=e.hostname.split(/\./);for(f=0,m=b.length;f<m;f++){var x=b[f];if(x&&!x.match(Cf)){for(var S=``,C=0,w=x.length;C<w;C++)x.charCodeAt(C)>127?S+=`x`:S+=x[C];if(!S.match(Cf)){var T=b.slice(0,f),E=b.slice(f+1),ee=x.match(wf);ee&&(T.push(ee[1]),E.unshift(ee[2])),E.length&&(s=`/`+E.join(`.`)+s),e.hostname=T.join(`.`);break}}}}e.hostname.length>Sf?e.hostname=``:e.hostname=e.hostname.toLowerCase(),y||(e.hostname=fd(e.hostname)),h=e.port?`:`+e.port:``,e.host=(e.hostname||``)+h,e.href+=e.host,y&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),s[0]!==`/`&&(s=`/`+s))}if(!Tf[u])for(f=0,m=yf.length;f<m;f++){var D=yf[f];if(s.indexOf(D)!==-1){var O=encodeURIComponent(D);O===D&&(O=escape(D)),s=s.split(D).join(O)}}var k=s.indexOf(`#`);k!==-1&&(e.hash=s.substr(k),s=s.slice(0,k));var A=s.indexOf(`?`);if(A===-1?n&&(e.search=``,e.query={}):(e.search=s.substr(A),e.query=s.substr(A+1),n&&(e.query=df(e.query)),s=s.slice(0,A)),s&&(e.pathname=s),Df[u]&&e.hostname&&!e.pathname&&(e.pathname=`/`),e.pathname||e.search){h=e.pathname||``;var te=e.search||``;e.path=h+te}return e.href=Nf(e),e}function Af(e){if(typeof e==`string`)e=new hf().parse(e);else if(!(e instanceof hf))throw TypeError(`The "path" argument must be of type string or an instance of URL. Received type `+typeof e+String(e));if(e.protocol!==`file:`)throw TypeError(`The URL must be of scheme file`);return jf(e)}function jf(e){let t=e.pathname;for(let e=0;e<t.length;e++)if(t[e]===`%`){let n=t.codePointAt(e+2)|32;if(t[e+1]===`2`&&n===102)throw TypeError(`must not include encoded / characters`)}return decodeURIComponent(t)}function Mf(e){return Id(e)&&(e=kf({},e)),Nf(e)}function Nf(e){var t=e.auth||``;t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,`:`),t+=`@`);var n=e.protocol||``,r=e.pathname||``,i=e.hash||``,a=!1,o=``;e.host?a=t+e.host:e.hostname&&(a=t+(e.hostname.indexOf(`:`)===-1?e.hostname:`[`+this.hostname+`]`),e.port&&(a+=`:`+e.port)),e.query&&Bd(e.query)&&Object.keys(e.query).length&&(o=cf(e.query));var s=e.search||o&&`?`+o||``;return n&&n.substr(-1)!==`:`&&(n+=`:`),e.slashes||(!n||Df[n])&&a!==!1?(a=`//`+(a||``),r&&r.charAt(0)!==`/`&&(r=`/`+r)):a||=``,i&&i.charAt(0)!==`#`&&(i=`#`+i),s&&s.charAt(0)!==`?`&&(s=`?`+s),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace(`#`,`%23`),n+a+r+s+i}hf.prototype.format=function(){return Nf(this)};function Pf(e,t){return Of(e,!1,!0).resolve(t)}hf.prototype.resolve=function(e){return this.resolveObject(Of(e,!1,!0)).format()};function Ff(e,t){return e?Of(e,!1,!0).resolveObject(t):t}hf.prototype.resolveObject=function(e){if(Id(e)){var t=new hf;t.parse(e,!1,!0),e=t}for(var n=new hf,r=Object.keys(this),i=0;i<r.length;i++){var a=r[i];n[a]=this[a]}if(n.hash=e.hash,e.href===``)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),s=0;s<o.length;s++){var c=o[s];c!==`protocol`&&(n[c]=e[c])}return Df[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname=`/`),n.href=n.format(),n}var l;if(e.protocol&&e.protocol!==n.protocol){if(!Df[e.protocol]){for(var u=Object.keys(e),d=0;d<u.length;d++){var f=u[d];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,!e.host&&!Ef[e.protocol]){for(l=(e.pathname||``).split(`/`);l.length&&!(e.host=l.shift()););e.host||=``,e.hostname||=``,l[0]!==``&&l.unshift(``),l.length<2&&l.unshift(``),n.pathname=l.join(`/`)}else n.pathname=e.pathname;return n.search=e.search,n.query=e.query,n.host=e.host||``,n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,(n.pathname||n.search)&&(n.path=(n.pathname||``)+(n.search||``)),n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var p=n.pathname&&n.pathname.charAt(0)===`/`,m=e.host||e.pathname&&e.pathname.charAt(0)===`/`,h=m||p||n.host&&e.pathname,g=h,_=n.pathname&&n.pathname.split(`/`)||[],v=n.protocol&&!Df[n.protocol];l=e.pathname&&e.pathname.split(`/`)||[],v&&(n.hostname=``,n.port=null,n.host&&(_[0]===``?_[0]=n.host:_.unshift(n.host)),n.host=``,e.protocol&&(e.hostname=null,e.port=null,e.host&&(l[0]===``?l[0]=e.host:l.unshift(e.host)),e.host=null),h&&=l[0]===``||_[0]===``);var y;if(m)n.host=e.host||e.host===``?e.host:n.host,n.hostname=e.hostname||e.hostname===``?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=l;else if(l.length)_||=[],_.pop(),_=_.concat(l),n.search=e.search,n.query=e.query;else if(!Pd(e.search))return v&&(n.hostname=n.host=_.shift(),y=n.host&&n.host.indexOf(`@`)>0?n.host.split(`@`):!1,y&&(n.auth=y.shift(),n.host=n.hostname=y.shift())),n.search=e.search,n.query=e.query,(!Nd(n.pathname)||!Nd(n.search))&&(n.path=(n.pathname?n.pathname:``)+(n.search?n.search:``)),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path=`/`+n.search:n.path=null,n.href=n.format(),n;for(var b=_.slice(-1)[0],x=(n.host||e.host||_.length>1)&&(b===`.`||b===`..`)||b===``,S=0,C=_.length;C>=0;C--)b=_[C],b===`.`?_.splice(C,1):b===`..`?(_.splice(C,1),S++):S&&(_.splice(C,1),S--);if(!h&&!g)for(;S--;)_.unshift(`..`);h&&_[0]!==``&&(!_[0]||_[0].charAt(0)!==`/`)&&_.unshift(``),x&&_.join(`/`).substr(-1)!==`/`&&_.push(``);var w=_[0]===``||_[0]&&_[0].charAt(0)===`/`;return v&&(n.hostname=n.host=w?``:_.length?_.shift():``,y=n.host&&n.host.indexOf(`@`)>0?n.host.split(`@`):!1,y&&(n.auth=y.shift(),n.host=n.hostname=y.shift())),h||=n.host&&_.length,h&&!w&&_.unshift(``),_.length?n.pathname=_.join(`/`):(n.pathname=null,n.path=null),(!Nd(n.pathname)||!Nd(n.search))&&(n.path=(n.pathname?n.pathname:``)+(n.search?n.search:``)),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},hf.prototype.parseHost=function(){return If(this)};function If(e){var t=e.host,n=_f.exec(t);n&&(n=n[0],n!==`:`&&(e.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(e.hostname=t)}var Lf=Object.freeze({__proto__:null,URL:ff,URLSearchParams:pf,Url:hf,default:mf,fileURLToPath:Af,format:Mf,parse:Of,resolve:Pf,resolveObject:Ff});function Rf(e){let t=e.charAt(0);return t===`.`||t===`~`||t===`@`||t===`#`}var zf=/^(?:https?:)?\/\//;function Bf(e){return zf.test(e)}var Vf=/^\s*data:/i;function Hf(e){return Vf.test(e)}function Uf(e){try{return decodeURIComponent(e)}catch{return e}}function Wf(e){if(e.charAt(0)===`~`){let t=e.charAt(1);e=e.slice(t===`/`?2:1)}return Gf(e)}function Gf(e){return Of(h(e)?e:``,!1,!0)}var Kf=Object.defineProperty,qf=Object.defineProperties,Jf=Object.getOwnPropertyDescriptors,Yf=Object.getOwnPropertySymbols,Xf=Object.prototype.hasOwnProperty,Zf=Object.prototype.propertyIsEnumerable,Qf=(e,t,n)=>t in e?Kf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$f=(e,t)=>{for(var n in t||={})Xf.call(t,n)&&Qf(e,n,t[n]);if(Yf)for(var n of Yf(t))Zf.call(t,n)&&Qf(e,n,t[n]);return e},ep=(e,t)=>qf(e,Jf(t)),tp={video:[`src`,`poster`],source:[`src`],img:[`src`]},np={base:null,includeAbsolute:!1,tags:ep($f({},tp),{image:[`xlink:href`,`href`],use:[`xlink:href`,`href`]})},rp=e=>Object.keys(e).some(t=>d(e[t]))?ep($f({},np),{tags:e}):$f($f({},np),e),ip=e=>(t,n)=>op(t,n,e);function ap(e,t){return!!tp[e]?.includes(t)}var op=(e,t,n=np)=>{if(e.type===1){if(!e.props.length)return;let r=n.tags||np.tags,i=r[e.tag],a=r[`*`];if(!i&&!a)return;let o=(i||[]).concat(a||[]);e.props.forEach((r,i)=>{if(r.type!==6||!o.includes(r.name)||!r.value)return;let a=r.value.content,s=a[0]===`#`;if(Bf(a)||Hf(a)||a===`#`||s&&!ap(e.tag,r.name)||!n.includeAbsolute&&!Rf(a))return;let c=Wf(a);if(n.base&&a[0]===`.`){let e=Wf(n.base),t=e.protocol||``,i=e.host?t+`//`+e.host:``,a=e.path||`/`;r.value.content=i+(Bu.posix||Bu).join(a,c.path+(c.hash||``));return}let l=cp(c.path,c.hash,r.loc,t);e.props[i]={type:7,name:`bind`,arg:R(r.name,!0,r.loc),exp:l,modifiers:[],loc:r.loc}})}};function sp(e,t,n){let r=Uf(e),i=n.imports.findIndex(e=>e.path===r);if(i>-1)return{name:`_imports_${i}`,exp:n.imports[i].exp};let a=`_imports_${n.imports.length}`,o=R(a,!1,t,3);return n.imports.push({exp:o,path:r}),{name:a,exp:o}}function cp(e,t,n,r){if(!e&&!t)return R(`''`,!1,n,3);if(!e&&t){let{exp:e}=sp(t,n,r);return e}if(e&&!t){let{exp:t}=sp(e,n,r);return t}let{name:i}=sp(e,n,r),a=`${i} + '${t}'`,o=R(a,!1,n,3);if(!r.hoistStatic)return o;let s=r.hoists.findIndex(e=>e&&e.type===4&&!e.isStatic&&e.content===a);return s>-1?R(`_hoisted_${s+1}`,!1,n,3):r.hoist(o)}var lp=[`img`,`source`],up=/( |\\t|\\n|\\f|\\r)+/g,dp=e=>(t,n)=>fp(t,n,e),fp=(e,t,n=np)=>{e.type===1&&lp.includes(e.tag)&&e.props.length&&e.props.forEach((r,i)=>{if(r.name===`srcset`&&r.type===6){if(!r.value)return;let a=r.value.content;if(!a)return;let o=a.split(`,`).map(e=>{let[t,n]=e.replace(up,` `).trim().split(` `,2);return{url:t,descriptor:n}});for(let e=0;e<o.length;e++){let{url:t}=o[e];Hf(t)&&(o[e+1].url=t+`,`+o[e+1].url,o.splice(e,1))}let s=e=>e&&!Bf(e)&&!Hf(e)&&(n.includeAbsolute||Rf(e));if(!o.some(({url:e})=>s(e)))return;if(n.base){let e=n.base,t=[],i=!1;if(o.forEach(n=>{let{url:r,descriptor:a}=n;a=a?` ${a}`:``,r[0]===`.`?(n.url=(Bu.posix||Bu).join(e,r),t.push(n.url+a)):s(r)?i=!0:t.push(r+a)}),!i){r.value.content=t.join(`, `);return}}let c=kt([],r.loc);o.forEach(({url:e,descriptor:n},i)=>{if(s(e)){let{path:n,hash:i}=Wf(e),a=n||i;if(a){let e=Uf(a),o=t.imports.findIndex(t=>t.path===e),s;o>-1?s=R(`_imports_${o}`,!1,r.loc,3):(s=R(`_imports_${t.imports.length}`,!1,r.loc,3),t.imports.push({exp:s,path:e})),n&&i&&(s=R(`${s.content} + '${i}'`,!1,r.loc,3)),c.children.push(s)}}else{let t=R(`"${e}"`,!1,r.loc,3);c.children.push(t)}let a=o.length-1>i;n&&a?c.children.push(` + ' ${n}, ' + `):n?c.children.push(` + ' ${n}'`):a&&c.children.push(` + ', ' + `)});let l=c;t.hoistStatic&&(l=t.hoist(c),l.constType=3),e.props[i]={type:7,name:`bind`,arg:R(`srcset`,!0,r.loc),exp:l,modifiers:[],loc:r.loc}}})},pp=Symbol(`ssrInterpolate`),mp=Symbol(`ssrRenderVNode`),hp=Symbol(`ssrRenderComponent`),gp=Symbol(`ssrRenderSlot`),_p=Symbol(`ssrRenderSlotInner`),vp=Symbol(`ssrRenderClass`),yp=Symbol(`ssrRenderStyle`),bp=Symbol(`ssrRenderAttrs`),xp=Symbol(`ssrRenderAttr`),Sp=Symbol(`ssrRenderDynamicAttr`),Cp=Symbol(`ssrRenderList`),wp=Symbol(`ssrIncludeBooleanAttr`),Tp=Symbol(`ssrLooseEqual`),Ep=Symbol(`ssrLooseContain`),Dp=Symbol(`ssrRenderDynamicModel`),Op=Symbol(`ssrGetDynamicModelProps`),kp=Symbol(`ssrRenderTeleport`),Ap=Symbol(`ssrRenderSuspense`),jp=Symbol(`ssrGetDirectiveProps`),Mp={[pp]:`ssrInterpolate`,[mp]:`ssrRenderVNode`,[hp]:`ssrRenderComponent`,[gp]:`ssrRenderSlot`,[_p]:`ssrRenderSlotInner`,[vp]:`ssrRenderClass`,[yp]:`ssrRenderStyle`,[bp]:`ssrRenderAttrs`,[xp]:`ssrRenderAttr`,[Sp]:`ssrRenderDynamicAttr`,[Cp]:`ssrRenderList`,[wp]:`ssrIncludeBooleanAttr`,[Tp]:`ssrLooseEqual`,[Ep]:`ssrLooseContain`,[Dp]:`ssrRenderDynamicModel`,[Op]:`ssrGetDynamicModelProps`,[kp]:`ssrRenderTeleport`,[Ap]:`ssrRenderSuspense`,[jp]:`ssrGetDirectiveProps`};yt(Mp);var Np=Va(/^(?:if|else|else-if)$/,ss);function Pp(e,t,n=!1,r=!1){let[i]=e.branches,a=Ft(i.condition,Fp(i,t,n));t.pushStatement(a);let o=a;for(let r=1;r<e.branches.length;r++){let i=e.branches[r],a=Fp(i,t,n);i.condition?o=o.alternate=Ft(i.condition,a):o.alternate=a}!o.alternate&&!r&&(o.alternate=Nt([z(`_push`,["`<!---->`"])]))}function Fp(e,t,n=!1){let{children:r}=e;return Pm(e,t,!n&&(r.length!==1||r[0].type!==1)&&!(r.length===1&&r[0].type===11))}var Ip=Va(`for`,ms);function Lp(e,t,n=!1){let r=!n&&(e.children.length!==1||e.children[0].type!==1),i=At(gs(e.parseResult));i.body=Pm(e,t,r),n||t.pushStringPart(`<!--[-->`),t.pushStatement(z(t.helper(Cp),[e.source,i])),n||t.pushStringPart(`<!--]-->`)}var Rp=(e,t)=>{if(Pi(e)){let{slotName:n,slotProps:r}=Is(e,t),i=[`_ctx.$slots`,n,r||`{}`,`null`,`_push`,`_parent`];t.scopeId&&t.slotted!==!1&&i.push(`"${t.scopeId}-s"`);let a=gp,o=t.parent;if(o){let e=o.children;o.type===10&&(o=t.grandParent);let n;o.type===1&&o.tagType===1&&((n=Ds(o,t,!0))===oc||n===sc)&&e.filter(e=>e.type===1).length===1&&(a=_p,t.scopeId&&t.slotted!==!1||i.push(`null`),i.push(`true`))}e.ssrCodegenNode=z(t.helper(a),i)}};function zp(e,t){let n=e.ssrCodegenNode;if(e.children.length){let r=At([]);r.body=Pm(e,t),n.arguments[3]=r}if(t.withSlotScopeId){let e=n.arguments[6];n.arguments[6]=e?`${e} + _scopeId`:`_scopeId`}t.pushStatement(e.ssrCodegenNode)}function Bp(e,t){return U(e,t,Vp)}var Vp={65:`Unsafe attribute name for SSR.`,66:`Missing the 'to' prop on teleport element.`,67:`Invalid AST node during SSR transform.`};function Hp(e,t){let n=Di(e,`to`);if(!n){t.onError(Bp(66,e.loc));return}let r;if(r=n.type===6?n.value&&R(n.value.content,!0):n.exp,!r){t.onError(Bp(66,n.loc));return}let i=Di(e,`disabled`,!1,!0),a=i?i.type===6?`true`:i.exp||`false`:`false`,o=At([`_push`],void 0,!0,!1,e.loc);o.body=Pm(e,t),t.pushStatement(z(t.helper(kp),[`_push`,o,r,a,`_parent`]))}var Up=new WeakMap;function Wp(e,t){return()=>{if(e.children.length){let n={slotsExp:null,wipSlots:[]};Up.set(e,n),n.slotsExp=Ss(e,t,(e,t,r,i)=>{let a=At([],void 0,!0,!1,i);return n.wipSlots.push({fn:a,children:r}),a}).slots}}}function Gp(e,t){let n=Up.get(e);if(!n)return;let{slotsExp:r,wipSlots:i}=n;for(let e=0;e<i.length;e++){let n=i[e];n.fn.body=Pm(n,t)}t.pushStatement(z(t.helper(Ap),[`_push`,r]))}var Kp=new WeakMap,qp=(e,t)=>{if(!(e.type!==1||e.tagType!==0))return function(){let n=[`<${e.tag}`],r=e.tag===`textarea`||e.tag.indexOf(`-`)>0,i=ki(e),a=e.props.some(e=>e.type===7&&!S(e.name)),o=e.props.findIndex(e=>e.type===7&&e.name===`show`);if(o!==-1){let t=e.props[o];e.props.splice(o,1),e.props.push(t)}let s=i||a;if(s){let{props:i,directives:a}=ks(e,t,e.props,!1,!1,!0);if(i||a.length){let o=Jp(i,a,t),s=z(t.helper(bp),[o]);if(e.tag===`textarea`){let n=e.children[0];if(!em(e)&&(!n||n.type!==5)){let r=`_temp${t.temps++}`;s.arguments=[It(R(r,!1),o)],Kp.set(e,z(t.helper(pp),[jt(R(`"value" in ${r}`,!1),R(`${r}.value`,!1),R(n?n.content:``,!0),!1)]))}}else if(e.tag===`input`){let n=$p(e);if(n){let e=R(`_temp${t.temps++}`,!1);s.arguments=[Lt([It(e,o),z(t.helper(tt),[e,z(t.helper(Op),[e,n.exp])])])]}}else if(a.length&&!e.children.length&&!em(e)){let n=`_temp${t.temps++}`;s.arguments=[It(R(n,!1),o)],Kp.set(e,jt(R(`"textContent" in ${n}`,!1),z(t.helper(pp),[R(`${n}.textContent`,!1)]),R(`${n}.innerHTML ?? ''`,!1),!1))}r&&s.arguments.push(`"${e.tag}"`),n.push(s)}}let c,l,u;for(let i=0;i<e.props.length;i++){let a=e.props[i];if(!(e.tag===`input`&&Yp(a)))if(a.type===7){if(a.name===`html`&&a.exp)Kp.set(e,kt([`(`,a.exp,`) ?? ''`]));else if(a.name===`text`&&a.exp)e.children=[Ot(a.exp,a.loc)];else if(a.name===`slot`)t.onError(U(40,a.loc));else if(Xp(e,a)&&a.exp)s||(e.children=[Ot(a.exp,a.loc)]);else if(!s&&a.name!==`on`){let i=t.directiveTransforms[a.name];if(i){let{props:o,ssrTagParts:s}=i(a,e,t);s&&n.push(...s);for(let i=0;i<o.length;i++){let{key:a,value:s}=o[i];if(li(a)){let r=a.content;if(r===`key`||r===`ref`)continue;r===`class`?n.push(` class="`,c=z(t.helper(vp),[s]),`"`):r===`style`?u?Zp(u,s):n.push(` style="`,u=z(t.helper(yp),[s]),`"`):(r=e.tag.indexOf(`-`)>0?r:Se[r]||r.toLowerCase(),ve(r)?n.push(jt(z(t.helper(wp),[s]),R(` `+r,!0),R(``,!0),!1)):xe(r)?n.push(z(t.helper(xp),[a,s])):t.onError(Bp(65,a.loc)))}else{let i=[a,s];r&&i.push(`"${e.tag}"`),n.push(z(t.helper(Sp),i))}}}}}else{let t=a.name;if(e.tag===`textarea`&&t===`value`&&a.value)Kp.set(e,De(a.value.content));else if(!s){if(t===`key`||t===`ref`)continue;t===`class`&&a.value&&(l=JSON.stringify(a.value.content)),n.push(` ${a.name}`+(a.value?`="${De(a.value.content)}"`:``))}}}c&&l&&(Zp(c,l),Qp(n,`class`)),t.scopeId&&n.push(` ${t.scopeId}`),e.ssrCodegenNode=Pt(n)}};function Jp(e,t,n){let r=[];if(e&&(e.type===14?r=e.arguments:r.push(e)),t.length)for(let e of t)r.push(z(n.helper(jp),[`_ctx`,...Ms(e,n).elements]));return r.length>1?z(n.helper(tt),r):r[0]}function Yp(e){return e.type===7?e.name===`bind`&&e.arg&&li(e.arg)&&(e.arg.content===`true-value`||e.arg.content===`false-value`):e.name===`true-value`||e.name===`false-value`}function Xp(e,t){return!!(e.tag===`textarea`&&t.name===`bind`&&Oi(t.arg,`value`))}function Zp(e,t){let n=e.arguments[0];n.type===17?n.elements.push(t):e.arguments[0]=Et([n,t])}function Qp(e,t){let n=RegExp(`^ ${t}=".+"$`),r=e.findIndex(e=>typeof e==`string`&&n.test(e));r>-1&&e.splice(r,1)}function $p(e){return e.props.find(e=>e.type===7&&e.name===`model`&&e.exp)}function em(e){return!!W(e,`text`)||!!W(e,`html`)}function tm(e,t){let n=t.options.isVoidTag||o,r=e.ssrCodegenNode.elements;for(let e=0;e<r.length;e++)t.pushStringPart(r[e]);t.withSlotScopeId&&t.pushStringPart(R(`_scopeId`,!1)),t.pushStringPart(`>`);let i=Kp.get(e);i?t.pushStringPart(i):e.children.length&&Nm(e,t),n(e.tag)||t.pushStringPart(`</${e.tag}>`)}var nm=new WeakMap;function rm(e,t){return()=>{let n=Di(e,`tag`);if(n){let{props:r,directives:i}=ks(e,t,e.props.filter(e=>e!==n),!0,!1,!0),a=null;(r||i.length)&&(a=z(t.helper(bp),[Jp(r,i,t)])),nm.set(e,{tag:n,propsExp:a,scopeId:t.scopeId||null})}}}function im(e,t){let n=nm.get(e);if(n){let{tag:r,propsExp:i,scopeId:a}=n;r.type===7?(t.pushStringPart(`<`),t.pushStringPart(r.exp),i&&t.pushStringPart(i),a&&t.pushStringPart(` ${a}`),t.pushStringPart(`>`),Nm(e,t,!1,!0,!0),t.pushStringPart(`</`),t.pushStringPart(r.exp),t.pushStringPart(`>`)):(t.pushStringPart(`<${r.value.content}`),i&&t.pushStringPart(i),a&&t.pushStringPart(` ${a}`),t.pushStringPart(`>`),Nm(e,t,!1,!0,!0),t.pushStringPart(`</${r.value.content}>`))}else Nm(e,t,!0,!0,!0)}var am=new WeakMap;function om(e,t){return()=>{let t=Di(e,`appear`,!1,!0);am.set(e,!!t)}}function sm(e,t){e.children=e.children.filter(e=>e.type!==3),am.get(e)?(t.pushStringPart(`<template>`),Nm(e,t,!1,!0),t.pushStringPart(`</template>`)):Nm(e,t,!1,!0)}var cm=Object.defineProperty,lm=Object.defineProperties,um=Object.getOwnPropertyDescriptors,dm=Object.getOwnPropertySymbols,fm=Object.prototype.hasOwnProperty,pm=Object.prototype.propertyIsEnumerable,mm=(e,t,n)=>t in e?cm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hm=(e,t)=>{for(var n in t||={})fm.call(t,n)&&mm(e,n,t[n]);if(dm)for(var n of dm(t))pm.call(t,n)&&mm(e,n,t[n]);return e},gm=(e,t)=>lm(e,um(t)),_m=new WeakMap,vm=Symbol(),ym=new WeakMap,bm=(e,t)=>{if(e.type!==1||e.tagType!==1)return;let n=Ds(e,t,!0),r=_(n)&&n.callee===Je;if(ym.set(e,n),g(n))return n===Ie?Wp(e,t):n===sc?rm(e,t):n===oc?om(e):void 0;let i=[],a=km(e);return function(){a.children.length&&Ss(a,t,(e,n,r)=>(i.push(Dm(e,n,r,t)),At(void 0)));let o=`null`;if(e.props.length){let{props:n,directives:i}=ks(e,t,void 0,!0,r);(n||i.length)&&(o=Jp(n,i,t))}let s=[];_m.set(e,s);let c=e.children.length?Ss(e,t,(e,t,n,r)=>{let a=At([e&&is(e)||`_`,`_push`,`_parent`,`_scopeId`],void 0,!0,!0,r);return s.push({type:vm,fn:a,children:n,vnodeBranch:i[s.length]}),a}).slots:`null`;typeof n==`string`?e.ssrCodegenNode=z(t.helper(hp),[n,o,c,`_parent`]):e.ssrCodegenNode=z(t.helper(mp),[`_push`,z(t.helper(He),[n,o,c]),`_parent`])}};function xm(e,t,n){let r=ym.get(e);if(e.ssrCodegenNode){let n=_m.get(e)||[];for(let e=0;e<n.length;e++){let{fn:r,vnodeBranch:i}=n[e];r.body=Ft(R(`_push`,!1),Pm(n[e],t,!1,!0),i)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push(`_scopeId`),typeof r==`string`?t.pushStatement(z(`_push`,[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(r===Fe)return Hp(e,t);if(r===Ie)return Gp(e,t);if(r===sc)return im(e,t);if(n.type===vm&&t.pushStringPart(``),r===oc)return sm(e,t);Nm(e,t)}}var Sm=new WeakMap,[Cm,wm]=Js(!0),Tm=[...Cm,...Gc],Em=hm(hm({},wm),Kc);function Dm(e,t,n,r){let i=Sm.get(r.root),a=gm(hm({},i),{nodeTransforms:[...Tm,...i.nodeTransforms||[]],directiveTransforms:hm(hm({},Em),i.directiveTransforms||{})}),o=[];return e&&o.push({type:7,name:`slot`,exp:e,arg:void 0,modifiers:[],loc:I}),t&&o.push(c({},t)),Om({type:1,ns:0,tag:`template`,tagType:3,props:o,children:n,loc:I,codegenNode:void 0},a,r),Rt(n)}function Om(e,t,n){let r=wt([e]),i=Ia(r,t);i.ssr=!1,i.scopes=hm({},n.scopes),i.identifiers=hm({},n.identifiers),i.imports=n.imports,Ba(r,i),[`helpers`,`components`,`directives`].forEach(e=>{i[e].forEach((t,r)=>{if(e===`helpers`){let e=n.helpers.get(r);e===void 0?n.helpers.set(r,t):n.helpers.set(r,t+e)}else n[e].add(t)})})}function km(e){if(d(e))return e.map(km);if(b(e)){let t={};for(let n in e)t[n]=km(e[n]);return t}else return e}function Am(e,t){let n=jm(e,t);if(t.ssrCssVars){let r=Ia(wt([]),t),i=ns(R(t.ssrCssVars,!1),r);n.body.push(kt([`const _cssVars = { style: `,i,`}`])),Array.from(r.helpers.keys()).forEach(t=>{e.helpers.add(t)})}Nm(e,n,e.children.length>1&&e.children.some(e=>!Ai(e))),e.codegenNode=Nt(n.body),e.ssrHelpers=Array.from(new Set([...Array.from(e.helpers).filter(e=>e in Mp),...n.helpers])),e.helpers=new Set(Array.from(e.helpers).filter(e=>!(e in Mp)))}function jm(e,t,n=new Set,r=!1){let i=[],a=null;return{root:e,options:t,body:i,helpers:n,withSlotScopeId:r,onError:t.onError||(e=>{throw e}),helper(e){return n.add(e),e},pushStringPart(e){if(!a){let e=z(`_push`);i.push(e),a=Pt([]),e.arguments.push(a)}let t=a.elements,n=t[t.length-1];h(e)&&h(n)?t[t.length-1]+=e:t.push(e)},pushStatement(e){a=null,i.push(e)}}}function Mm(e,t=e.withSlotScopeId){return jm(e.root,e.options,e.helpers,t)}function Nm(e,t,n=!1,r=!1,i=!1){n&&t.pushStringPart(`<!--[-->`);let{children:a}=e;for(let n=0;n<a.length;n++){let o=a[n];switch(o.type){case 1:switch(o.tagType){case 0:tm(o,t);break;case 1:xm(o,t,e);break;case 2:zp(o,t);break;case 3:break;default:return t.onError(Bp(67,o.loc)),o}break;case 2:t.pushStringPart(De(o.content));break;case 3:i||t.pushStringPart(`<!--${o.content}-->`);break;case 5:t.pushStringPart(z(t.helper(pp),[o.content]));break;case 9:Pp(o,t,r,i);break;case 11:Lp(o,t,r);break;case 10:break;case 12:case 8:break;default:return t.onError(Bp(67,o.loc)),o}}n&&t.pushStringPart(`<!--]-->`)}function Pm(e,t,n=!1,r=t.withSlotScopeId){let i=Mm(t,r);return Nm(e,i,n),Nt(i.body)}var Fm=(e,t,n)=>{let r=e.exp;function i(){let e=Di(t,`value`);e&&n.onError(dc(61,e.loc))}let a=e=>{e.forEach(e=>{e.type===1?o(e):e.type===11?a(e.children):e.type===9&&e.branches.forEach(e=>a(e.children))})};function o(e){if(e.tag===`option`){if(e.props.findIndex(e=>e.name===`selected`)===-1){let t=Im(e);e.ssrCodegenNode.elements.push(jt(z(n.helper(wp),[jt(z(`Array.isArray`,[r]),z(n.helper(Ep),[r,t]),z(n.helper(Tp),[r,t]))]),R(` selected`,!0),R(``,!0),!1))}}else e.tag===`optgroup`&&a(e.children)}if(t.tagType===0){let o={props:[]};if(t.tag===`input`){let a=[L(`value`,r)],s=Di(t,`type`);if(s){let c=Im(t);if(s.type===7)o.ssrTagParts=[z(n.helper(Dp),[s.exp,r,c])];else if(s.value)switch(s.value.content){case`radio`:o.props=[L(`checked`,z(n.helper(Tp),[r,c]))];break;case`checkbox`:let s=Di(t,`true-value`);if(s){let e=s.type===6?JSON.stringify(s.value.content):s.exp;o.props=[L(`checked`,z(n.helper(Tp),[r,e]))]}else o.props=[L(`checked`,jt(z(`Array.isArray`,[r]),z(n.helper(Ep),[r,c]),r))];break;case`file`:n.onError(dc(60,e.loc));break;default:i(),o.props=a;break}}else ki(t)||(i(),o.props=a)}else t.tag===`textarea`?(i(),t.children=[Ot(r,r.loc)]):t.tag===`select`?a(t.children):n.onError(dc(58,e.loc));return o}else return Us(e,t,n)};function Im(e){let t=Di(e,`value`);return t?t.type===7?t.exp:R(t.value.content,!0):R(`null`,!1)}var Lm=(e,t,n)=>(e.exp||n.onError(dc(62)),{props:[L(`style`,jt(e.exp,R(`null`,!1),Dt([L(`display`,R(`none`,!0))]),!1))]}),Rm=e=>e.children.filter(e=>!Ki(e)),zm=e=>Rm(e).length===1,Bm=(e,t)=>{if(e.type===0&&(t.identifiers._attrs=1),e.type===1&&e.tagType===1&&(e.tag===`transition`||e.tag===`Transition`||e.tag===`KeepAlive`||e.tag===`keep-alive`)){let n=Rm(t.root);if(n.length===1&&n[0]===e){zm(e)&&Vm(e.children[0]);return}}let n=t.parent;if(!(!n||n.type!==0))if(e.type===10&&zm(e)){let t=!1;for(let e of Rm(n))if(e.type===9||e.type===1&&W(e,`if`)){if(t)return;t=!0}else if(!t||!(e.type===1&&W(e,/else/,!0)))return;Vm(e.children[0])}else zm(n)&&Vm(e)};function Vm(e){e.type===1&&(e.tagType===0||e.tagType===1)&&!W(e,`for`)&&e.props.push({type:7,name:`bind`,arg:void 0,exp:R(`_attrs`,!1),modifiers:[],loc:I})}var Hm=(e,t)=>{if(!t.ssrCssVars)return;e.type===0&&(t.identifiers._cssVars=1);let n=t.parent;if(!(!n||n.type!==0))if(e.type===10)for(let t of e.children)Um(t);else Um(e)};function Um(e){if(e.type===1&&(e.tagType===0||e.tagType===1)&&!W(e,`for`))if(e.tag===`suspense`||e.tag===`Suspense`)for(let t of e.children)t.type===1&&t.tagType===3?t.children.forEach(Um):Um(t);else e.props.push({type:7,name:`bind`,arg:void 0,exp:R(`_cssVars`,!1),modifiers:[],loc:I})}var Wm=Object.defineProperty,Gm=Object.defineProperties,Km=Object.getOwnPropertyDescriptors,qm=Object.getOwnPropertySymbols,Jm=Object.prototype.hasOwnProperty,Ym=Object.prototype.propertyIsEnumerable,Xm=(e,t,n)=>t in e?Wm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zm=(e,t)=>{for(var n in t||={})Jm.call(t,n)&&Xm(e,n,t[n]);if(qm)for(var n of qm(t))Ym.call(t,n)&&Xm(e,n,t[n]);return e},Qm=(e,t)=>Gm(e,Km(t));function $m(e,t={}){t=Qm(Zm(Zm({},t),cc),{ssr:!0,inSSR:!0,scopeId:t.mode===`function`?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});let n=typeof e==`string`?Da(e,t):e;return Sm.set(n,t),La(n,Qm(Zm({},t),{hoistStatic:!1,nodeTransforms:[qs,Np,Ip,bs,ts,Rp,Bm,Hm,qp,bm,ys,lc,...t.nodeTransforms||[]],directiveTransforms:Zm({bind:Rs,on:Ls,model:Fm,show:Lm,cloak:Zs,once:Zs,memo:Zs},t.directiveTransforms||{})})),Am(n,t),Eo(n,t)}var eh=Object.freeze({__proto__:null,compile:$m}),th=Lr(Object.freeze({__proto__:null,default:{}})),nh=Lr(Uu),rh=Lr(rf),ih={};function ah(e){!(typeof process<`u`)&&!ih[e]&&(ih[e]=!0,oh(e))}function oh(e){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${e}\x1B[0m
53
- `)}var sh=Object.defineProperty,ch=Object.defineProperties,lh=Object.getOwnPropertyDescriptors,uh=Object.getOwnPropertySymbols,dh=Object.prototype.hasOwnProperty,fh=Object.prototype.propertyIsEnumerable,ph=(e,t,n)=>t in e?sh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mh=(e,t)=>{for(var n in t||={})dh.call(t,n)&&ph(e,n,t[n]);if(uh)for(var n of uh(t))fh.call(t,n)&&ph(e,n,t[n]);return e},hh=(e,t)=>ch(e,lh(t));function gh({source:e,filename:t,preprocessOptions:n},r){let i=``,a=null;if(r.render(e,mh({filename:t},n),(e,t)=>{e&&(a=e),i=t}),a)throw a;return i}function _h(e){let{preprocessLang:t,preprocessCustomRequire:n}=e;if(t&&!n)throw Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");let r=t?n?n(t):void 0:!1;if(r)try{return vh(hh(mh({},e),{source:gh(e,r),ast:void 0}))}catch(t){return{code:`export default function render() {}`,source:e.source,tips:[],errors:[t]}}else if(t)return{code:`export default function render() {}`,source:e.source,tips:[`Component ${e.filename} uses lang ${t} for template. Please install the language preprocessor.`],errors:[`Component ${e.filename} uses lang ${t} for template, however it is not installed.`]};else return vh(e)}function vh({filename:e,id:t,scoped:n,slotted:r,inMap:i,source:a,ast:o,ssr:s=!1,ssrCssVars:c,isProd:l=!1,compiler:u,compilerOptions:d={},transformAssetUrls:f}){let p=[],m=[],h=[];if(_(f)){let e=rp(f);h=[ip(e),dp(e)]}else f!==!1&&(h=[op,fp]);s&&!c&&ah("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),t||=(ah("compileTemplate now requires the `id` option."),``);let g=t.replace(/^data-v-/,``),v=`data-v-${g}`,y=s?eh:Yc;u||=y,u!==y&&(o=void 0),o?.transformed&&(o=wt((s?Yc:u).parse(o.source,hh(mh({prefixIdentifiers:!0},d),{parseMode:`sfc`,onError:e=>p.push(e)})).children.find(e=>e.type===1&&e.tag===`template`).children,o.source));let{code:b,ast:x,preamble:S,map:C}=u.compile(o||a,hh(mh({mode:`module`,prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:s&&c&&c.length?tl(c,g,l,!0):``,scopeId:n?v:void 0,slotted:r,sourceMap:!0},d),{hmr:!l,nodeTransforms:h.concat(d.nodeTransforms||[]),filename:e,onError:e=>p.push(e),onWarn:e=>m.push(e)}));return i&&!o&&(C&&=yh(i,C),p.length&&bh(p,a,i)),{code:b,ast:x,preamble:S,source:a,errors:p,tips:m.map(e=>{let t=e.message;return e.loc&&(t+=`
54
- ${M(o?.source||a,e.loc.start.offset,e.loc.end.offset)}`),t}),map:C}}function yh(e,t){if(!e)return t;if(!t)return e;let n=new So.SourceMapConsumer(e),r=new So.SourceMapConsumer(t),i=new So.SourceMapGenerator;r.eachMapping(e=>{if(e.originalLine==null)return;let t=n.originalPositionFor({line:e.originalLine,column:e.originalColumn});t.source!=null&&i.addMapping({generated:{line:e.generatedLine,column:e.generatedColumn},original:{line:t.line,column:e.originalColumn},source:t.source,name:t.name})});let a=i;return n.sources.forEach(e=>{a._sources.add(e);let t=n.sourceContentFor(e);t!=null&&i.setSourceContent(e,t)}),a._sourceRoot=e.sourceRoot,a._file=e.file,a.toJSON()}function bh(e,t,n){let r=n.sourcesContent[0],i=r.indexOf(t),a=r.slice(0,i).split(/\r?\n/).length-1;e.forEach(e=>{e.loc&&(e.loc.start.line+=a,e.loc.start.offset+=i,e.loc.end!==e.loc.start&&(e.loc.end.line+=a,e.loc.end.offset+=i))})}var xh={exports:{}},Sh;function Ch(){if(Sh)return xh.exports;Sh=1;let e=Xl||{},t=e.argv||[],n=e.env||{},r=!(n.NO_COLOR||t.includes(`--no-color`))&&(!!n.FORCE_COLOR||t.includes(`--color`)||e.platform===`win32`||(e.stdout||{}).isTTY&&n.TERM!==`dumb`||!!n.CI),i=(e,t,n=e)=>r=>{let i=``+r,o=i.indexOf(t,e.length);return~o?e+a(i,t,n,o)+t:e+i+t},a=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},o=(e=r)=>{let t=e?i:()=>String;return{isColorSupported:e,reset:t(`\x1B[0m`,`\x1B[0m`),bold:t(`\x1B[1m`,`\x1B[22m`,`\x1B[22m\x1B[1m`),dim:t(`\x1B[2m`,`\x1B[22m`,`\x1B[22m\x1B[2m`),italic:t(`\x1B[3m`,`\x1B[23m`),underline:t(`\x1B[4m`,`\x1B[24m`),inverse:t(`\x1B[7m`,`\x1B[27m`),hidden:t(`\x1B[8m`,`\x1B[28m`),strikethrough:t(`\x1B[9m`,`\x1B[29m`),black:t(`\x1B[30m`,`\x1B[39m`),red:t(`\x1B[31m`,`\x1B[39m`),green:t(`\x1B[32m`,`\x1B[39m`),yellow:t(`\x1B[33m`,`\x1B[39m`),blue:t(`\x1B[34m`,`\x1B[39m`),magenta:t(`\x1B[35m`,`\x1B[39m`),cyan:t(`\x1B[36m`,`\x1B[39m`),white:t(`\x1B[37m`,`\x1B[39m`),gray:t(`\x1B[90m`,`\x1B[39m`),bgBlack:t(`\x1B[40m`,`\x1B[49m`),bgRed:t(`\x1B[41m`,`\x1B[49m`),bgGreen:t(`\x1B[42m`,`\x1B[49m`),bgYellow:t(`\x1B[43m`,`\x1B[49m`),bgBlue:t(`\x1B[44m`,`\x1B[49m`),bgMagenta:t(`\x1B[45m`,`\x1B[49m`),bgCyan:t(`\x1B[46m`,`\x1B[49m`),bgWhite:t(`\x1B[47m`,`\x1B[49m`),blackBright:t(`\x1B[90m`,`\x1B[39m`),redBright:t(`\x1B[91m`,`\x1B[39m`),greenBright:t(`\x1B[92m`,`\x1B[39m`),yellowBright:t(`\x1B[93m`,`\x1B[39m`),blueBright:t(`\x1B[94m`,`\x1B[39m`),magentaBright:t(`\x1B[95m`,`\x1B[39m`),cyanBright:t(`\x1B[96m`,`\x1B[39m`),whiteBright:t(`\x1B[97m`,`\x1B[39m`),bgBlackBright:t(`\x1B[100m`,`\x1B[49m`),bgRedBright:t(`\x1B[101m`,`\x1B[49m`),bgGreenBright:t(`\x1B[102m`,`\x1B[49m`),bgYellowBright:t(`\x1B[103m`,`\x1B[49m`),bgBlueBright:t(`\x1B[104m`,`\x1B[49m`),bgMagentaBright:t(`\x1B[105m`,`\x1B[49m`),bgCyanBright:t(`\x1B[106m`,`\x1B[49m`),bgWhiteBright:t(`\x1B[107m`,`\x1B[49m`)}};return xh.exports=o(),xh.exports.createColors=o,xh.exports}var wh,Th;function Eh(){if(Th)return wh;Th=1;let e=/[\t\n\f\r "#'()/;[\\\]{}]/g,t=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,n=/.[\r\n"'(/\\]/,r=/[\da-f]/i;return wh=function(i,a={}){let o=i.css.valueOf(),s=a.ignoreErrors,c,l,u,d,f,p,m,h,g,_,v=o.length,y=0,b=[],x=[],S=-1;function C(){return y}function w(e){throw i.error(`Unclosed `+e,y)}function T(){return x.length===0&&y>=v}function E(i){if(x.length)return x.pop();if(y>=v)return;let a=i?i.ignoreUnclosed:!1;switch(c=o.charCodeAt(y),c){case 10:case 32:case 9:case 13:case 12:d=y;do d+=1,c=o.charCodeAt(d);while(c===32||c===10||c===9||c===13||c===12);p=[`space`,o.slice(y,d)],y=d-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(c);p=[e,e,y];break}case 40:if(_=b.length?b.pop()[1]:``,g=o.charCodeAt(y+1),_===`url`&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){d=y;do{if(m=!1,d=o.indexOf(`)`,d+1),d===-1)if(s||a){d=y;break}else w(`bracket`);for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`brackets`,o.slice(y,d+1),y,d],y=d}else y<=S?p=[`(`,`(`,y]:(d=o.indexOf(`)`,y+1),l=o.slice(y,d+1),d===-1||n.test(l)?(S=d===-1?v:d,p=[`(`,`(`,y]):(p=[`brackets`,l,y,d],y=d));break;case 39:case 34:f=c===39?`'`:`"`,d=y;do{if(m=!1,d=o.indexOf(f,d+1),d===-1)if(s||a){d=y+1;break}else w(`string`);for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`string`,o.slice(y,d+1),y,d],y=d;break;case 64:e.lastIndex=y+1,e.test(o),d=e.lastIndex===0?o.length-1:e.lastIndex-2,p=[`at-word`,o.slice(y,d+1),y,d],y=d;break;case 92:for(d=y,u=!0;o.charCodeAt(d+1)===92;)d+=1,u=!u;if(c=o.charCodeAt(d+1),u&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(d+=1,r.test(o.charAt(d)))){for(;r.test(o.charAt(d+1));)d+=1;o.charCodeAt(d+1)===32&&(d+=1)}p=[`word`,o.slice(y,d+1),y,d],y=d;break;default:c===47&&o.charCodeAt(y+1)===42?(d=o.indexOf(`*/`,y+2)+1,d===0&&(s||a?d=o.length:w(`comment`)),p=[`comment`,o.slice(y,d+1),y,d],y=d):(t.lastIndex=y+1,t.test(o),d=t.lastIndex===0?o.length-1:t.lastIndex-2,p=[`word`,o.slice(y,d+1),y,d],b.push(p),y=d);break}return y++,p}function ee(e){x.push(e)}return{back:ee,endOfFile:T,nextToken:E,position:C}},wh}var Dh,Oh;function kh(){if(Oh)return Dh;Oh=1;let e=Ch(),t=Eh(),n;function r(e){n=e}let i={";":e.yellow,":":e.yellow,"(":e.cyan,")":e.cyan,"[":e.yellow,"]":e.yellow,"{":e.yellow,"}":e.yellow,"at-word":e.cyan,brackets:e.cyan,call:e.cyan,class:e.yellow,comment:e.gray,hash:e.magenta,string:e.green};function a([e,t],n){if(e===`word`){if(t[0]===`.`)return`class`;if(t[0]===`#`)return`hash`}if(!n.endOfFile()){let e=n.nextToken();if(n.back(e),e[0]===`brackets`||e[0]===`(`)return`call`}return e}function o(e){let r=t(new n(e),{ignoreErrors:!0}),o=``;for(;!r.endOfFile();){let e=r.nextToken(),t=i[a(e,r)];t?o+=e[1].split(/\r?\n/).map(e=>t(e)).join(`
55
- `):o+=e[1]}return o}return o.registerInput=r,Dh=o,Dh}var Ah,jh;function Mh(){if(jh)return Ah;jh=1;let e=Ch(),t=kh();class n extends Error{constructor(e,t,r,i,a,o){super(e),this.name=`CssSyntaxError`,this.reason=e,a&&(this.file=a),i&&(this.source=i),o&&(this.plugin=o),t!==void 0&&r!==void 0&&(typeof t==`number`?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+`: `:``,this.message+=this.file?this.file:`<css input>`,this.line!==void 0&&(this.message+=`:`+this.line+`:`+this.column),this.message+=`: `+this.reason}showSourceCode(n){if(!this.source)return``;let r=this.source;n??=e.isColorSupported;let i=e=>e,a=e=>e,o=e=>e;if(n){let{bold:n,gray:r,red:s}=e.createColors(!0);a=e=>n(s(e)),i=e=>r(e),t&&(o=e=>t(e))}let s=r.split(/\r?\n/),c=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),u=String(l).length;return s.slice(c,l).map((e,t)=>{let n=c+1+t,r=` `+(` `+n).slice(-u)+` | `;if(n===this.line){if(e.length>160){let t=Math.max(0,this.column-20),n=Math.max(this.column+20,this.endColumn+20),s=e.slice(t,n),c=i(r.replace(/\d/g,` `))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(s)+`
56
- `+c+a(`^`)}let t=i(r.replace(/\d/g,` `))+e.slice(0,this.column-1).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(e)+`
57
- `+t+a(`^`)}return` `+i(r)+o(e)}).join(`
58
- `)}toString(){let e=this.showSourceCode();return e&&=`
59
-
60
- `+e+`
61
- `,this.name+`: `+this.message+e}}return Ah=n,n.default=n,Ah}var Nh,Ph;function Fh(){if(Ph)return Nh;Ph=1;let e=/(<)(\/?style\b)/gi,t=/(<)(!--)/g;function n(n){return typeof n!=`string`||!n.includes(`<`)?n:n.replace(e,`\\3c $2`).replace(t,`\\3c $2`)}let r={after:`
62
- `,beforeClose:`
63
- `,beforeComment:`
64
- `,beforeDecl:`
65
- `,beforeOpen:` `,beforeRule:`
66
- `,colon:`: `,commentLeft:` `,commentRight:` `,emptyBody:``,indent:` `,semicolon:!1};function i(e){return e[0].toUpperCase()+e.slice(1)}function a(e,t){let n=`@`+t.name,r=t.params?e.rawValue(t,`params`):``;return t.raws.afterName===void 0?r&&(n+=` `):n+=t.raws.afterName,n+r}function o(e,t,n){let r=n.nodes,i=r.length-1;for(;i>0&&r[i].type===`comment`;)--i;let a=e.raw(n,`semicolon`),o=n.type===`document`;for(let e=r.length-1;e>=0;e--)t.push({document:o,node:r[e],semicolon:i!==e||a})}function s(e,t,r,i){let a=e.raw(r,`between`,`beforeOpen`);e.builder(n(i+a)+`{`,r,`start`);let s=r.nodes&&r.nodes.length,c=()=>{let t=s?e.raw(r,`after`):e.raw(r,`after`,`emptyBody`);t&&e.builder(n(t)),e.builder(`}`,r,`end`),r.type===`rule`&&r.raws.ownSemicolon&&e.builder(n(r.raws.ownSemicolon),r,`end`)};s?(t.push(c),o(e,t,r)):c()}class c{constructor(e){this.builder=e}atrule(e,t){let r=a(this,e);if(e.nodes)this.block(e,r);else{let i=(e.raws.between||``)+(t?`;`:``);this.builder(n(r+i),e)}}beforeAfter(e,t){let n;n=e.type===`decl`?this.raw(e,null,`beforeDecl`):e.type===`comment`?this.raw(e,null,`beforeComment`):t===`before`?this.raw(e,null,`beforeRule`):this.raw(e,null,`beforeClose`);let r=e.parent,i=0;for(;r&&r.type!==`root`;)i+=1,r=r.parent;if(n.includes(`
67
- `)){let t=this.raw(e,null,`indent`);if(t.length)for(let e=0;e<i;e++)n+=t}return n}block(e,t){let r=this.raw(e,`between`,`beforeOpen`);this.builder(n(t+r)+`{`,e,`start`);let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,`after`)):i=this.raw(e,`after`,`emptyBody`),i&&this.builder(n(i)),this.builder(`}`,e,`end`)}body(e){let t=c.prototype,r=[`atrule`,`block`,`body`,`rule`,`stringify`].every(e=>this[e]===t[e]),i=[];for(o(this,i,e);i.length>0;){let e=i.pop();if(typeof e==`function`){e();continue}let t=e.node,o=this.raw(t,`before`);o&&this.builder(e.document?o:n(o)),r&&t.type===`rule`?s(this,i,t,this.rawValue(t,`selector`)):r&&t.type===`atrule`&&t.nodes?s(this,i,t,a(this,t)):this.stringify(t,e.semicolon)}}comment(e){let t=this.raw(e,`left`,`commentLeft`),r=this.raw(e,`right`,`commentRight`);this.builder(n(`/*`+t+e.text+r+`*/`),e)}decl(e,t){let r=e.raws,i=this.raw(e,`between`,`colon`),a=e.prop+i+this.rawValue(e,`value`);e.important&&(a+=r.important||` !important`),t&&(a+=`;`),this.builder(n(a),e)}document(e){this.body(e)}raw(e,t,n){let a;if(n||=t,t&&(a=e.raws[t],a!==void 0))return a;let o=e.parent;if(n===`before`&&(!o||o.type===`root`&&o.first===e||o&&o.type===`document`))return``;if(!o)return r[n];let s=e.root(),c=s.rawCache||={};if(c[n]!==void 0)return c[n];if(n===`before`||n===`after`)return this.beforeAfter(e,n);{let r=`raw`+i(n);this[r]?a=this[r](s,e):s.walk(e=>{if(a=e.raws[t],a!==void 0)return!1})}return a===void 0&&(a=r[n]),c[n]=a,a}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&e.raws.after!==void 0)return t=e.raws.after,t.includes(`
68
- `)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
69
- `)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeDecl`):n&&=n.replace(/\S/g,``),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
70
- `)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeRule`):n&&=n.replace(/\S/g,``),n}rawBeforeOpen(e){let t;return e.walk(e=>{if(e.type!==`decl`&&(t=e.raws.between,t!==void 0))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&n.raws.before!==void 0)return t=n.raws.before,t.includes(`
71
- `)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t}rawColon(e){let t;return e.walkDecls(e=>{if(e.raws.between!==void 0)return t=e.raws.between.replace(/[^\s:]/g,``),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length===0&&(t=e.raws.after,t!==void 0))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&n.raws.before!==void 0){let e=n.raws.before.split(`
72
- `);return t=e[e.length-1],t=t.replace(/\S/g,``),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type===`decl`&&(t=e.raws.semicolon,t!==void 0))return!1}),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){if(this.body(e),e.raws.after){let t=e.raws.after,r=e.parent&&e.parent.type===`document`;this.builder(r?t:n(t))}}rule(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(n(e.raws.ownSemicolon),e,`end`)}stringify(e,t){if(!this[e.type])throw Error(`Unknown AST node type `+e.type+`. Maybe you need to change PostCSS stringifier.`);this[e.type](e,t)}}return Nh=c,c.default=c,Nh}var Ih,Lh;function Rh(){if(Lh)return Ih;Lh=1;let e=Fh();function t(t,n){new e(n).stringify(t)}return Ih=t,t.default=t,Ih}var zh={},Bh;function Vh(){return Bh?zh:(Bh=1,zh.isClean=Symbol(`isClean`),zh.my=Symbol(`my`),zh)}var Hh,Uh;function Wh(){if(Uh)return Hh;Uh=1;let e=Mh(),t=Fh(),n=Rh(),{isClean:r,my:i}=Vh();function a(e,t){let n=new e.constructor,r=[[e,n,t]];for(;r.length>0;){let[e,t,n]=r.pop();for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||i===`proxyCache`)continue;let a=e[i],o=typeof a;if(i===`parent`&&o===`object`)n&&(t[i]=n);else if(i===`source`)t[i]=a;else if(Array.isArray(a)){let e=[];t[i]=e;for(let n of a){let i=new n.constructor;e.push(i),r.push([n,i,t])}}else{if(o===`object`&&a!==null){let e=new a.constructor;r.push([a,e,void 0]),a=e}t[i]=a}}}return n}function o(e,t){if(t&&t.offset!==void 0)return t.offset;let n=1,r=1,i=0;for(let a=0;a<e.length;a++){if(r===t.line&&n===t.column){i=a;break}e[a]===`
73
- `?(n=1,r+=1):n+=1}return i}class s{get proxyOf(){return this}constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t of Object.keys(e))if(t!==`__proto__`)if(t===`nodes`){this.nodes=[];for(let n of e[t])typeof n.clone==`function`&&n.parent?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=a(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(t,n={}){if(this.source){let{end:e,start:r}=this.rangeBy(n);return this.source.input.error(t,{column:r.column,line:r.line},{column:e.column,line:e.line},n)}return new e(t)}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:t===`root`?()=>e.root().toProxy():e[t]},set(e,t,n){return e[t]===n?!0:(e[t]=n,(t===`prop`||t===`value`||t===`name`||t===`params`||t===`important`||t===`text`)&&e.markDirty(),!0)}}}markClean(){this[r]=!0}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:o(t,this.source.start)};if(e.index)n=this.positionInside(e.index);else if(e.word){let r=t.slice(o(t,this.source.start),o(t,this.source.end)).indexOf(e.word);r!==-1&&(n=this.positionInside(r))}return n}positionInside(e){let t=this.source.start.column,n=this.source.start.line,r=`document`in this.source.input?this.source.input.document:this.source.input.css,i=o(r,this.source.start),a=i+e;for(let e=i;e<a;e++)r[e]===`
74
- `?(t=1,n+=1):t+=1;return{column:t,line:n,offset:a}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:o(t,this.source.start)},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset==`number`?this.source.end.offset:o(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let i=t.slice(o(t,this.source.start),o(t,this.source.end)).indexOf(e.word);i!==-1&&(n=this.positionInside(i),r=this.positionInside(i+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:o(t,e.start)}:typeof e.index==`number`&&(n=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line,offset:o(t,e.end)}:typeof e.endIndex==`number`?r=this.positionInside(e.endIndex):typeof e.index==`number`&&(r=this.positionInside(e.index+1));return(r.line<n.line||r.line===n.line&&r.column<=n.column)&&(r={column:n.column+1,line:n.line,offset:n.offset+1}),{end:r,start:n}}raw(e,n){return new t().raw(this,e,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!==`document`;)e=e.parent;return e}toJSON(e,t){let n=t==null;t||=new Map;let r=[],i=[[this,r,0]];for(let e=0;e<i.length;e++){let[n,r,a]=i[e],o={};r[a]=o;for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e)||e===`parent`||e===`proxyCache`)continue;let r=n[e];if(Array.isArray(r)){let n=[];o[e]=n;for(let e=0;e<r.length;e++){let a=r[e];typeof a==`object`&&a.toJSON?a.toJSON===s.prototype.toJSON?i.push([a,n,e]):n[e]=a.toJSON(null,t):n[e]=a}}else if(typeof r==`object`&&r.toJSON)r.toJSON===s.prototype.toJSON?i.push([r,o,e]):o[e]=r.toJSON(null,t);else if(e===`source`){if(r==null)continue;let n=t.get(r.input);n??(n=t.size,t.set(r.input,n)),o[e]={end:r.end,inputId:n,start:r.start}}else o[e]=r}}let a=r[0];return n&&(a.inputs=[...t.keys()].map(e=>e.toJSON())),a}toProxy(){return this.proxyCache||=new Proxy(this,this.getProxyProcessor()),this.proxyCache}toString(e=n){e.stringify&&(e=e.stringify);let t=``;return e(this,e=>{t+=e}),t}warn(e,t,n={}){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}}return Hh=s,s.default=s,Hh}var Gh,Kh;function qh(){if(Kh)return Gh;Kh=1;let e=Wh();class t extends e{constructor(e){super(e),this.type=`comment`}}return Gh=t,t.default=t,Gh}var Jh,Yh;function Xh(){if(Yh)return Jh;Yh=1;let e=Wh();class t extends e{get variable(){return this.prop.startsWith(`--`)||this.prop[0]===`$`}constructor(e){e&&e.value!==void 0&&typeof e.value!=`string`&&(e={...e,value:String(e.value)}),super(e),this.type=`decl`}}return Jh=t,t.default=t,Jh}var Zh,Qh;function $h(){if(Qh)return Zh;Qh=1;let e=qh(),t=Xh(),n=Wh(),{isClean:r,my:i}=Vh(),a,o,s,c;function l(e){let t=e.slice();for(;t.length>0;){let e=t.pop();if(delete e.source,e.nodes){e.nodes=e.nodes.slice();for(let n of e.nodes)t.push(n)}}return e.slice()}function u(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[r]=!1,e.proxyOf.nodes)for(let n of e.proxyOf.nodes)t.push(n)}}class d extends n{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){let t=[this];for(;t.length>0;){let r=t.pop();if(r!==this&&r.cleanRaws!==d.prototype.cleanRaws){r.cleanRaws(e);continue}if(n.prototype.cleanRaws.call(r,e),r.nodes)for(let e of r.nodes)t.push(e)}}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),n,r;for(;this.indexes[t]<this.proxyOf.nodes.length&&(n=this.indexes[t],r=e(this.proxyOf.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||=0,this.indexes||={},this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:e[t]?t===`each`||typeof t==`string`&&t.startsWith(`walk`)?(...n)=>e[t](...n.map(e=>typeof e==`function`?(t,n)=>e(t.toProxy(),n):e)):t===`every`||t===`some`?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):t===`root`?()=>e.root().toProxy():t===`nodes`?e.nodes.map(e=>e.toProxy()):t===`first`||t===`last`?e[t].toProxy():e[t]:e[t]},set(e,t,n){return e[t]===n?!0:(e[t]=n,(t===`name`||t===`params`||t===`selector`)&&e.markDirty(),!0)}}}index(e){return typeof e==`number`?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n=this.index(e),r=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n+1,0,e);let i;for(let e in this.indexes)i=this.indexes[e],n<i&&(this.indexes[e]=i+r.length);return this.markDirty(),this}insertBefore(e,t){let n=this.index(e),r=n===0&&`prepend`,i=this.normalize(t,this.proxyOf.nodes[n],r).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n,0,e);let a;for(let e in this.indexes)a=this.indexes[e],n<=a&&(this.indexes[e]=a+i.length);return this.markDirty(),this}normalize(n,s){if(typeof n==`string`)n=l(o(n).nodes);else if(n===void 0)n=[];else if(Array.isArray(n)){n=n.slice(0);for(let e of n)e.parent&&e.parent.removeChild(e,`ignore`)}else if(n.type===`root`&&this.type!==`document`){n=n.nodes.slice(0);for(let e of n)e.parent&&e.parent.removeChild(e,`ignore`)}else if(n.type)n=[n];else if(n.prop){if(n.value===void 0)throw Error(`Value field is missed in node creation`);typeof n.value!=`string`&&(n.value=String(n.value)),n=[new t(n)]}else if(n.selector||n.selectors)n=[new c(n)];else if(n.name)n=[new a(n)];else if(n.text)n=[new e(n)];else throw Error(`Unknown node type in node creation`);return n.map(e=>(e[i]||d.rebuild(e),e=e.proxyOf,e.parent&&e.parent.removeChild(e),e[r]&&u(e),e.raws||={},e.raws.before===void 0&&s&&s.raws.before!==void 0&&(e.raws.before=s.raws.before.replace(/\S/g,``)),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,`prepend`).reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){if(!this.proxyOf.nodes)return;let t=[{iterator:this.getIterator(),node:this.proxyOf}];for(;t.length>0;){let{iterator:n,node:r}=t[t.length-1],i=r.indexes[n];if(i>=r.proxyOf.nodes.length){delete r.indexes[n],t.pop();let e=t[t.length-1];e&&(e.node.indexes[e.iterator]+=1);continue}let a=r.proxyOf.nodes[i],o;try{o=e(a,i)}catch(e){throw a.addToError(e)}if(o===!1){for(let e of t)delete e.node.indexes[e.iterator];return!1}a.walk&&a.proxyOf.nodes?t.push({iterator:a.getIterator(),node:a}):r.indexes[n]+=1}}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`atrule`&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if(n.type===`atrule`&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`atrule`)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if(t.type===`comment`)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`decl`&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if(n.type===`decl`&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`decl`)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`rule`&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if(n.type===`rule`&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`rule`)return t(e,n)}))}}return d.registerParse=e=>{o=e},d.registerRule=e=>{c=e},d.registerAtRule=e=>{a=e},d.registerRoot=e=>{s=e},Zh=d,d.default=d,d.rebuild=n=>{let r=[n];for(;r.length>0;){let n=r.pop();if(n.type===`atrule`?Object.setPrototypeOf(n,a.prototype):n.type===`rule`?Object.setPrototypeOf(n,c.prototype):n.type===`decl`?Object.setPrototypeOf(n,t.prototype):n.type===`comment`?Object.setPrototypeOf(n,e.prototype):n.type===`root`&&Object.setPrototypeOf(n,s.prototype),n[i]=!0,n.nodes)for(let e of n.nodes)r.push(e)}},Zh}var eg,tg;function ng(){if(tg)return eg;tg=1;let e=$h();class t extends e{constructor(e){super(e),this.type=`atrule`}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return eg=t,t.default=t,e.registerAtRule(t),eg}var rg,ig;function ag(){if(ig)return rg;ig=1;let e=$h(),t,n;class r extends e{constructor(e){super({type:`document`,...e}),this.nodes||=[]}toResult(e={}){return new t(new n,this,e).stringify()}}return r.registerLazyResult=e=>{t=e},r.registerProcessor=e=>{n=e},rg=r,r.default=r,rg}var og,sg;function cg(){return sg?og:(sg=1,og={nanoid:(e=21)=>{let t=``,n=e|0;for(;n--;)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[Math.random()*64|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r=``,i=n|0;for(;i--;)r+=e[Math.random()*e.length|0];return r}},og)}var lg=Lr(Lf),ug,dg;function fg(){if(dg)return ug;dg=1;let{existsSync:e,readFileSync:t}=th,{dirname:n,isAbsolute:r,join:i,relative:a,sep:o}=nh,{SourceMapConsumer:s,SourceMapGenerator:c}=xo();function l(e){return V?V.from(e,`base64`).toString():window.atob(e)}class u{constructor(e,t){if(t.map===!1)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,`data:`);let r=t.map?t.map.prev:void 0,i=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=n(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||=new s(this.json||this.text),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,r=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(r)return decodeURIComponent(e.substr(r[0].length));let i=e.match(t)||e.match(n);if(i)return l(e.substr(i[0].length));let a=e.slice(22);throw a=a.slice(0,a.indexOf(`,`)),Error(`Unsupported source map encoding `+a)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,``).trim()}isMap(e){return typeof e==`object`?typeof e.mappings==`string`||typeof e._mappings==`string`||Array.isArray(e.sections):!1}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf(`*/`,n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(i,s,c){if(!c&&!this.unsafeMap){if(!/\.map$/i.test(i))return;if(s){let e=a(n(s),i);if(e===`..`||e.startsWith(`..`+o)||r(e))return}}if(this.root=n(i),e(i))return this.mapFile=i,t(i,`utf-8`).toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t==`string`)return t;if(typeof t==`function`){let n=t(e);if(n){let t=this.loadFile(n,e,!0);if(!t)throw Error(`Unable to load previous source map: `+n.toString());return t}}else if(t instanceof s)return c.fromSourceMap(t).toString();else if(t instanceof c)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error(`Unsupported previous source map format: `+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;e&&(t=i(n(e),t));let r=this.loadFile(t,e,!1);if(r)try{this.json=JSON.parse(r.replace(/^\)]}'[^\n]*\n/,``))}catch{return}return r}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ug=u,u.default=u,ug}var pg,mg;function hg(){if(mg)return pg;mg=1;let{nanoid:e}=cg(),{isAbsolute:t,resolve:n}=nh,{SourceMapConsumer:r,SourceMapGenerator:i}=xo(),{fileURLToPath:a,pathToFileURL:o}=lg,s=Mh(),c=fg(),l=kh(),u=Symbol(`lineToIndexCache`),d=!!(r&&i),f=!!(n&&t);function p(e){if(e[u])return e[u];let t=e.css.split(`
75
- `),n=Array(t.length),r=0;for(let e=0,i=t.length;e<i;e++)n[e]=r,r+=t[e].length+1;return e[u]=n,n}class m{get from(){return this.file||this.id}constructor(r,i={}){if(r==null||typeof r==`object`&&!r.toString)throw Error(`PostCSS received ${r} instead of CSS string`);if(this.css=r.toString(),this.css[0]===``||this.css[0]===`￾`?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,i.document&&(this.document=i.document.toString()),i.from&&(!f||/^\w+:\/\//.test(i.from)||t(i.from)?this.file=i.from:this.file=n(i.from)),f&&d){let e=new c(this.css,i);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=`<input css `+e(6)+`>`),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,a,c,l,u;if(t&&typeof t==`object`){let e=t,r=n;if(typeof e.offset==`number`){l=e.offset;let r=this.fromOffset(l);t=r.line,n=r.col}else t=e.line,n=e.column,l=this.fromLineAndColumn(t,n);if(typeof r.offset==`number`){c=r.offset;let e=this.fromOffset(c);a=e.line,i=e.col}else a=r.line,i=r.column,c=this.fromLineAndColumn(r.line,r.column)}else if(n)l=this.fromLineAndColumn(t,n);else{l=t;let e=this.fromOffset(l);t=e.line,n=e.col}let d=this.origin(t,n,a,i);return u=d?new s(e,d.endLine===void 0?d.line:{column:d.column,line:d.line},d.endLine===void 0?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,r.plugin):new s(e,a===void 0?t:{column:n,line:t},a===void 0?n:{column:i,line:a},this.css,this.file,r.plugin),u.input={column:n,endColumn:i,endLine:a,endOffset:c,line:t,offset:l,source:this.css},this.file&&(o&&(u.input.url=o(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(e,t){return p(this)[e-1]+t-1}fromOffset(e){let t=p(this),n=t[t.length-1],r=0;if(e>=n)r=t.length-1;else{let n=t.length-2,i;for(;r<n;)if(i=r+(n-r>>1),e<t[i])n=i-1;else if(e>=t[i+1])r=i+1;else{r=i;break}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:n(this.map.consumer().sourceRoot||this.map.root||`.`,e)}origin(e,n,r,i){if(!this.map)return!1;let s=this.map.consumer(),c=s.originalPositionFor({column:n-1,line:e});if(!c.source)return!1;let l;if(typeof r==`number`){let e=s.originalPositionFor({column:i-1,line:r});e.source&&(l=e)}let u;u=t(c.source)?o(c.source):new URL(c.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let d={column:c.column+1,endColumn:l&&l.column+1,endLine:l&&l.line,line:c.line,url:u.toString()};if(u.protocol===`file:`)if(a)d.file=a(u);else throw Error(`file: protocol is not available in this PostCSS build`);let f=s.sourceContentFor(c.source);return f&&(d.source=f),d}toJSON(){let e={};for(let t of[`hasBOM`,`css`,`file`,`id`])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return pg=m,m.default=m,l&&l.registerInput&&l.registerInput(m),pg}var gg,_g;function vg(){if(_g)return gg;_g=1;let e=$h(),t,n;class r extends e{constructor(e){super(e),this.type=`root`,this.nodes||=[]}normalize(e,t,n){let r=new Set;for(let t of Array.isArray(e)?e:[e])t&&typeof t==`object`&&!t.parent&&t.raws&&t.raws.before!==void 0&&r.add(t.raws);let i=super.normalize(e);if(t){if(n===`prepend`)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of i)r.has(e.raws)||(e.raws.before=t.raws.before)}return i}removeChild(e,t){let n=this.index(e);return!t&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new t(new n,this,e).stringify()}}return r.registerLazyResult=e=>{t=e},r.registerProcessor=e=>{n=e},gg=r,r.default=r,e.registerRoot(r),gg}var yg,bg;function xg(){if(bg)return yg;bg=1;let e={comma(t){return e.split(t,[`,`],!0)},space(t){return e.split(t,[` `,`
76
- `,` `])},split(e,t,n){let r=[],i=``,a=!1,o=0,s=!1,c=``,l=!1;for(let n of e)l?l=!1:n===`\\`?l=!0:s?n===c&&(s=!1):n===`"`||n===`'`?(s=!0,c=n):n===`(`?o+=1:n===`)`?o>0&&--o:o===0&&t.includes(n)&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=n;return(n||i!==``)&&r.push(i.trim()),r}};return yg=e,e.default=e,yg}var Sg,Cg;function wg(){if(Cg)return Sg;Cg=1;let e=$h(),t=xg();class n extends e{get selectors(){return t.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(n)}constructor(e){super(e),this.type=`rule`,this.nodes||=[]}}return Sg=n,n.default=n,e.registerRule(n),Sg}var Tg,Eg;function Dg(){if(Eg)return Tg;Eg=1;let e=ng(),t=qh(),n=Xh(),r=hg(),i=fg(),a=vg(),o=wg();function s(e,t){return e.inputs?e.inputs.map(e=>{let t={...e,__proto__:r.prototype};return t.map&&={...t.map,__proto__:i.prototype},t}):t}function c(r,i,s){let c={...r};if(delete c.inputs,delete c.nodes,c.source){let{inputId:e,...t}=c.source;c.source=t,e!=null&&(c.source.input=i[e])}let l;if(c.type===`root`)l=new a(c);else if(c.type===`decl`)l=new n(c);else if(c.type===`rule`)l=new o(c);else if(c.type===`comment`)l=new t(c);else if(c.type===`atrule`)l=new e(c);else throw Error(`Unknown node type: `+r.type);if(s){l.nodes=s;for(let e of s)e.parent=l}return l}function l(e,t){if(Array.isArray(e))return e.map(e=>l(e));let n,r=[{childIndex:0,children:[],inputs:s(e,t),json:e}];for(;r.length>0;){let e=r[r.length-1],t=e.json.nodes;if(t&&e.childIndex<t.length){let n=t[e.childIndex];e.childIndex+=1,r.push({childIndex:0,children:[],inputs:s(n,e.inputs),json:n});continue}r.pop();let i=c(e.json,e.inputs,t?e.children:void 0);r.length>0?r[r.length-1].children.push(i):n=i}return n}return Tg=l,l.default=l,Tg}var Og,kg;function Ag(){if(kg)return Og;kg=1;let{dirname:e,relative:t,resolve:n,sep:r}=nh,{SourceMapConsumer:i,SourceMapGenerator:a}=xo(),{pathToFileURL:o}=lg,s=hg(),c=!!(i&&a),l=!!(e&&n&&t&&r);class u{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?`data:application/json;base64,`+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==`string`?this.mapOpts.annotation:typeof this.mapOpts.annotation==`function`?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+`.map`;let t=`
77
- `;this.css.includes(`\r
78
- `)&&(t=`\r
79
- `),this.css+=t+`/*# sourceMappingURL=`+e+` */`}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),r=t.root||e(t.file),a;this.mapOpts.sourcesContent===!1?(a=new i(t.text),a.sourcesContent&&=null):a=t.consumer(),this.map.applySourceMap(a,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type===`comment`&&e.text.startsWith(`# sourceMappingURL=`)&&this.root.removeChild(t)}else if(this.css){let e;for(;(e=this.css.lastIndexOf(`/*#`))!==-1;){let t=this.css.indexOf(`*/`,e+3);if(t===-1)break;for(;e>0&&this.css[e-1]===`
80
- `;)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}}generate(){if(this.clearAnnotation(),l&&c&&this.isMap())return this.generateMap();{let e=``;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=a.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=``,this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,n=`<no source>`,r={generated:{column:0,line:0},original:{column:0,line:0},source:``},i,o;this.stringify(this.root,(a,s,c)=>{if(this.css+=a,s&&c!==`end`&&(r.generated.line=e,r.generated.column=t-1,s.source&&s.source.start?(r.source=this.sourcePath(s),r.original.line=s.source.start.line,r.original.column=s.source.start.column-1,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,this.map.addMapping(r))),o=a.match(/\n/g),o?(e+=o.length,i=a.lastIndexOf(`
81
- `),t=a.length-i):t+=a.length,s&&c!==`start`){let i=s.parent||{raws:{}};(!(s.type===`decl`||s.type===`atrule`&&!s.nodes)||s!==i.last||i.raws.semicolon)&&(s.source&&s.source.end?(r.source=this.sourcePath(s),r.original.line=s.source.end.line,r.original.column=s.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:this.mapOpts.annotation===void 0?!this.previous().length||this.previous().some(e=>e.annotation):this.mapOpts.annotation}isInline(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;let e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:!this.previous().length||this.previous().some(e=>e.inline)}isMap(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map}isSourcesContent(){return this.mapOpts.sourcesContent===void 0?!this.previous().length||this.previous().some(e=>e.withContent()):this.mapOpts.sourcesContent}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(r){if(this.mapOpts.absolute||r.charCodeAt(0)===60||/^\w+:\/\//.test(r))return r;let i=this.memoizedPaths.get(r);if(i)return i;let a=this.opts.to?e(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(a=e(n(a,this.mapOpts.annotation)));let o=t(a,r);return this.memoizedPaths.set(r,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new s(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return V?V.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(o){let t=o(e).toString();return this.memoizedFileURLs.set(e,t),t}else throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;r===`\\`&&(e=e.replace(/\\/g,`/`));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}return Og=u,Og}var jg,Mg;function Ng(){if(Mg)return jg;Mg=1;let e=ng(),t=qh(),n=Xh(),r=vg(),i=wg(),a=Eh(),o={empty:!0,space:!0};function s(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}function c(e,t,n){let r=``;for(let i=t;i<n;i++)r+=e[i][1];return r}class l{constructor(e){this.input=e,this.root=new r,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(t){let n=new e;n.name=t[1].slice(1),n.name===``&&this.unnamedAtrule(n,t),this.init(n,t[2]);let r,i,a,o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r===`(`||r===`[`?l.push(r===`(`?`)`:`]`):r===`{`&&l.length>0?l.push(`}`):r===l[l.length-1]&&l.pop(),l.length===0)if(r===`;`){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(r===`{`){s=!0;break}else if(r===`}`){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]===`space`;)i=c[--a];i&&(n.source.end=this.getPosition(i[3]||i[2]),n.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(n.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(n,`params`,c),o&&(t=c[c.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between=``)):(n.raws.afterName=``,n.params=``),s&&(n.nodes=[],this.current=n)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,r;for(let i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}colon(e){let t=0,n,r,i;for(let[a,o]of e.entries()){if(r=o,i=r[0],i===`(`&&(t+=1),i===`)`&&--t,t===0&&i===`:`)if(!n)this.doubleColon(r);else if(n[0]===`word`&&n[1]===`progid`)continue;else return a;n=r}return!1}comment(e){let n=new t;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++;let r=e[1].slice(2,-2);if(!r.trim())n.text=``,n.raws.left=r,n.raws.right=``;else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=e[2],n.raws.left=e[1],n.raws.right=e[3]}}createTokenizer(){this.tokenizer=a(this.input)}decl(e,t){let r=new n;this.init(r,e[0][2]);let i=e[e.length-1];i[0]===`;`&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||s(e)),r.source.end.offset++;let a=0;for(;e[a][0]!==`word`;)a===e.length-1&&this.unknownWord([e[a]]),a++;r.raws.before+=c(e,0,a),r.source.start=this.getPosition(e[a][2]);let o=a;for(;a<e.length;){let t=e[a][0];if(t===`:`||t===`space`||t===`comment`)break;a++}r.prop=c(e,o,a);let l=a,u;for(;a<e.length&&(u=e[a],a++,u[0]!==`:`);)u[0]===`word`&&/\w/.test(u[1])&&this.unknownWord([u]);r.raws.between=c(e,l,a),(r.prop[0]===`_`||r.prop[0]===`*`)&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let d=a;for(;a<e.length;){let t=e[a][0];if(t!==`space`&&t!==`comment`)break;a++}let f=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(u=e[t],u[1].toLowerCase()===`!important`){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n,n!==` !important`&&(r.raws.important=n);break}else if(u[1].toLowerCase()===`important`){let n=e.slice(0),i=``;for(let e=t;e>0;e--){let t=n[e][0];if(i.trim().startsWith(`!`)&&t!==`space`)break;i=n.pop()[1]+i}i.trim().startsWith(`!`)&&(r.important=!0,r.raws.important=i,e=n)}if(u[0]!==`space`&&u[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(r.raws.between+=f.map(e=>e[1]).join(``),f=[]),this.raw(r,`value`,f.concat(e),t),r.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new i;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;for(;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0)if(n===`;`)if(r){this.decl(s,o);return}else break;else if(n===`{`){this.rule(s);return}else if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}else n===`:`&&(r=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],!(c!==`space`&&c!==`comment`));)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,a,s=n.length,c=``,l=!0,u,d;for(let e=0;e<s;e+=1)i=n[e],a=i[0],a===`space`&&e===s-1&&!r?l=!1:a===`comment`?(d=n[e-1]?n[e-1][0]:`empty`,u=n[e+1]?n[e+1][0]:`empty`,!o[d]&&!o[u]?c.slice(-1)===`,`?l=!1:c+=i[1]:l=!1):c+=i[1];if(!l){let r=n.reduce((e,t)=>e+t[1],``);e.raws[t]={raw:r,value:c}}e[t]=c}rule(e){e.pop();let t=new i;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],!(t!==`space`&&t!==`comment`));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=``;for(;e.length&&(t=e[0][0],!(t!==`space`&&t!==`comment`));)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n=``;for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}}return jg=l,jg}var Pg,Fg;function Ig(){if(Fg)return Pg;Fg=1;let e=$h(),t=hg(),n=Ng();function r(e,r){let i=new t(e,r),a=new n(i);try{a.parse()}catch(e){throw Xl.env.NODE_ENV!==`production`&&e.name===`CssSyntaxError`&&r&&r.from&&(/\.scss$/i.test(r.from)?e.message+=`
82
- You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(r.from)?e.message+=`
83
- You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(r.from)&&(e.message+=`
84
- You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),e}return a.root}return Pg=r,r.default=r,e.registerParse(r),Pg}var Lg,Rg;function zg(){if(Rg)return Lg;Rg=1;class e{constructor(e,t={}){if(this.type=`warning`,this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text}}return Lg=e,e.default=e,Lg}var Bg,Vg;function Hg(){if(Vg)return Bg;Vg=1;let e=zg();class t{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=``,this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new e(t,n);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type===`warning`)}}return Bg=t,t.default=t,Bg}var Ug,Wg;function Gg(){if(Wg)return Ug;Wg=1;let e={};return Ug=function(t){e[t]||(e[t]=!0,typeof console<`u`&&console.warn&&console.warn(t))},Ug}var Kg,qg;function Jg(){if(qg)return Kg;qg=1;let e=$h(),t=ag(),n=Ag(),r=Ig(),i=Hg(),a=vg(),o=Rh(),{isClean:s,my:c}=Vh(),l=Gg(),u={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},d={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function p(e){return typeof e==`object`&&typeof e.then==`function`}function m(e){let t=!1,n=u[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,0,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,0,n+`Exit`]:[n,n+`Exit`]}function h(e){let t;return t=e.type===`document`?[`Document`,0,`DocumentExit`]:e.type===`root`?[`Root`,0,`RootExit`]:m(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function g(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[s]=!1,e.nodes)for(let n of e.nodes)t.push(n)}return e}let _={};class v{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return`LazyResult`}constructor(t,n,a){this.stringified=!1,this.processed=!1;let o;if(typeof n==`object`&&n&&(n.type===`root`||n.type===`document`))o=g(n);else if(n instanceof v||n instanceof i)o=g(n.root),n.map&&(a.map===void 0&&(a.map={}),a.map.inline||(a.map.inline=!1),a.map.prev=n.map);else{let t=r;a.syntax&&(t=a.syntax.parse),a.parser&&(t=a.parser),t.parse&&(t=t.parse);try{o=t(n,a)}catch(e){this.processed=!0,this.error=e}o&&!o[c]&&e.rebuild(o)}this.result=new i(t,o,a),this.helpers={..._,postcss:_,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error(`Use process(css).then(cb) to work with async plugins`)}handleError(e,t){let n=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin)e.plugin=n.postcssPlugin,e.setMessage();else if(n.postcssVersion&&Xl.env.NODE_ENV!==`production`){let e=n.postcssPlugin,t=n.postcssVersion,r=this.result.processor.version,i=t.split(`.`),a=r.split(`.`);(i[0]!==a[0]||parseInt(i[1])>parseInt(a[1]))&&console.error(`Unknown error from PostCSS plugin. Your current PostCSS version is `+r+`, but `+e+` uses `+t+`. Perhaps this is the source of the error below.`)}}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(typeof t==`object`)for(let n in t){if(!d[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if(typeof t[n]==`object`)for(let r in t[n])r===`*`?e(t,n,t[n][r]):e(t,n+`-`+r.toLowerCase(),t[n][r]);else typeof t[n]==`function`&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(p(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[s];){e[s]=!0;let t=[h(e)];for(;t.length>0;){let e=this.visitTick(t);if(p(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return p(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=this.result.root.source;if(e.map===void 0&&!(r&&r.input&&r.input.map)){let e=``;return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let i=new n(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(p(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[s];)e[s]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return Xl.env.NODE_ENV!==`production`&&(`from`in this.opts||l("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){this.result.lastPlugin=n;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(p(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let r=t.iterator,i;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[s]){i[s]=!0,e.push(h(i));return}t.iterator=0,delete n.indexes[r]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===0){n.nodes&&n.nodes.length&&(n[s]=!0,t.iterator=n.getIterator());return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[s]=!0;let t=[{eventIndex:0,events:m(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],n=e.node;if(e.iterator!==0){let r=e.iterator,i,a=!1;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[s]){i[s]=!0,t.push({eventIndex:0,events:m(i),iterator:0,node:i}),a=!0;break}if(a)continue;e.iterator=0,delete n.indexes[r]}if(e.eventIndex<e.events.length){let r=e.events[e.eventIndex];if(e.eventIndex+=1,r===0)n.nodes&&n.nodes.length&&(e.iterator=n.getIterator());else{let e=this.listeners[r];e&&this.visitSync(e,n.toProxy())&&t.pop()}continue}t.pop()}}warnings(){return this.sync().warnings()}}return v.registerPostcss=e=>{_=e},Kg=v,v.default=v,a.registerLazyResult(v),t.registerLazyResult(v),Kg}var Yg,Xg;function Zg(){if(Xg)return Yg;Xg=1;let e=Ag(),t=Ig(),n=Hg(),r=Rh(),i=Gg();class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,n=t;try{e=n(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return`NoWorkResult`}constructor(t,i,a){i=i.toString(),this.stringified=!1,this._processor=t,this._css=i,this._opts=a,this._map=void 0;let o=r;this.result=new n(this._processor,void 0,this._opts),this.result.css=i;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let c=new e(o,void 0,this._opts,i);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return Xl.env.NODE_ENV!==`production`&&(`from`in this._opts||i("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}return Yg=a,a.default=a,Yg}var Qg,$g;function e_(){if($g)return Qg;$g=1;let e=ag(),t=Jg(),n=Zg(),r=vg();class i{constructor(e=[]){this.version=`8.5.19`,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n==`object`&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(typeof n==`object`&&n.postcssPlugin)t.push(n);else if(typeof n==`function`)t.push(n);else if(typeof n==`object`&&(n.parse||n.stringify)){if(Xl.env.NODE_ENV!==`production`)throw Error(`PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.`)}else throw Error(n+` is not a PostCSS plugin`);return t}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new n(this,e,r):new t(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return Qg=i,i.default=i,r.registerProcessor(i),e.registerProcessor(i),Qg}var t_,n_;function r_(){if(n_)return t_;n_=1;let e=ng(),t=qh(),n=$h(),r=Mh(),i=Xh(),a=ag(),o=Dg(),s=hg(),c=Jg(),l=xg(),u=Wh(),d=Ig(),f=e_(),p=Hg(),m=vg(),h=wg(),g=Rh(),_=zg();function v(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new f(e)}return v.plugin=function(e,t){let n=!1;function r(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
85
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),Xl.env.LANG&&Xl.env.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
86
- https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new f().version,i}let i;return Object.defineProperty(r,"postcss",{get(){return i||=r(),i}}),r.process=function(e,t,n){return v([r(n)]).process(e,t)},r},v.stringify=g,v.parse=d,v.fromJSON=o,v.list=l,v.comment=e=>new t(e),v.atRule=t=>new e(t),v.decl=e=>new i(e),v.rule=e=>new h(e),v.root=e=>new m(e),v.document=e=>new a(e),v.CssSyntaxError=r,v.Declaration=i,v.Container=n,v.Processor=f,v.Document=a,v.Comment=t,v.Warning=_,v.AtRule=e,v.Result=p,v.Input=s,v.Rule=h,v.Root=m,v.Node=u,c.registerPostcss(v),t_=v,v.default=v,t_}var Z=Ir(r_());Z.stringify,Z.fromJSON,Z.plugin,Z.parse,Z.list,Z.document,Z.comment,Z.atRule,Z.rule,Z.decl,Z.root,Z.CssSyntaxError,Z.Declaration,Z.Container,Z.Processor,Z.Document,Z.Comment,Z.Warning,Z.AtRule,Z.Result,Z.Input;var i_=Z.Rule;Z.Root,Z.Node;var a_=()=>({postcssPlugin:`vue-sfc-trim`,Once(e){e.walk(({type:e,raws:t})=>{(e===`rule`||e===`atrule`)&&(t.before&&=`
87
- `,`after`in t&&t.after&&(t.after=`
88
- `))})}});a_.postcss=!0;var o_={},s_={},c_={},l_={},u_={},d_={},f_;function p_(){if(f_)return d_;f_=1,Object.defineProperty(d_,"__esModule",{value:!0}),d_.default=n;function e(e){for(var t=e.toLowerCase(),n=``,r=!1,i=0;i<6&&t[i]!==void 0;i++){var a=t.charCodeAt(i),o=a>=97&&a<=102||a>=48&&a<=57;if(r=a===32,!o)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16);return s>=55296&&s<=57343||s===0||s>1114111?[`�`,n.length+ +!!r]:[String.fromCodePoint(s),n.length+ +!!r]}}var t=/\\/;function n(n){if(!t.test(n))return n;for(var r=``,i=0;i<n.length;i++){if(n[i]===`\\`){var a=e(n.slice(i+1,i+7));if(a!==void 0){r+=a[0],i+=a[1];continue}if(n[i+1]===`\\`){r+=`\\`,i++;continue}n.length===i+1&&(r+=n[i]);continue}r+=n[i]}return r}return d_}var m_={},h_;function g_(){if(h_)return m_;h_=1,Object.defineProperty(m_,"__esModule",{value:!0}),m_.default=e;function e(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();if(!e[n])return;e=e[n]}return e}return m_}var __={},v_;function y_(){if(v_)return __;v_=1,Object.defineProperty(__,"__esModule",{value:!0}),__.default=e;function e(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();e[n]||(e[n]={}),e=e[n]}}return __}var b_={},x_;function S_(){if(x_)return b_;x_=1,Object.defineProperty(b_,"__esModule",{value:!0}),b_.default=e;function e(e){for(var t=``,n=e.indexOf(`/*`),r=0;n>=0;){t+=e.slice(r,n);var i=e.indexOf(`*/`,n+2);if(i<0)return t;r=i+2,n=e.indexOf(`/*`,r)}return t+=e.slice(r),t}return b_}var C_={},w_;function T_(){return w_?C_:(w_=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=void 0,e.default=t,e.MAX_NESTING_DEPTH=256;function t(t){return Number.isSafeInteger(t)&&t>=0?t:e.MAX_NESTING_DEPTH}})(C_),C_)}var E_;function D_(){return E_?u_:(E_=1,(function(e){var t=u_&&u_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=e.resolveMaxNestingDepth=e.stripComments=e.ensureObject=e.getProp=e.unesc=void 0;var n=p_();Object.defineProperty(e,"unesc",{enumerable:!0,get:function(){return t(n).default}});var r=g_();Object.defineProperty(e,"getProp",{enumerable:!0,get:function(){return t(r).default}});var i=y_();Object.defineProperty(e,"ensureObject",{enumerable:!0,get:function(){return t(i).default}});var a=S_();Object.defineProperty(e,"stripComments",{enumerable:!0,get:function(){return t(a).default}});var o=T_();Object.defineProperty(e,"resolveMaxNestingDepth",{enumerable:!0,get:function(){return t(o).default}}),Object.defineProperty(e,"MAX_NESTING_DEPTH",{enumerable:!0,get:function(){return o.MAX_NESTING_DEPTH}})})(u_),u_)}var O_={},k_;function A_(){if(k_)return O_;k_=1,Object.defineProperty(O_,"__esModule",{value:!0});var e=D_(),t=function(n,r,i){if(i===void 0&&(i=0),i>e.MAX_NESTING_DEPTH)throw Error(`Cannot clone selector: nesting depth exceeds the maximum of ${e.MAX_NESTING_DEPTH}.`);if(typeof n!=`object`||!n)return n;var a=new n.constructor;for(var o in n)if(n.hasOwnProperty(o)){var s=n[o];o===`parent`&&typeof s==`object`?r&&(a[o]=r):s instanceof Array?a[o]=s.map(function(e){return t(e,a,i+1)}):a[o]=t(s,a,i+1)}return a};return O_.default=function(){function n(e){e===void 0&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||``,this.spaces.after=this.spaces.after||``}return n.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},n.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},n.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},n.prototype.clone=function(e){e===void 0&&(e={});var n=t(this);for(var r in e)n[r]=e[r];return n},n.prototype.appendToPropertyAndEscape=function(e,t,n){this.raws||={};var r=this[e],i=this.raws[e];this[e]=r+t,i||n!==t?this.raws[e]=(i||r)+n:delete this.raws[e]},n.prototype.setPropertyAndEscape=function(e,t,n){this.raws||={},this[e]=t,this.raws[e]=n},n.prototype.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},n.prototype.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},n.prototype.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},Object.defineProperty(n.prototype,"rawSpaceBefore",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return e===void 0&&(e=this.spaces&&this.spaces.before),e||``},set:function(t){(0,e.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.before=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rawSpaceAfter",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return e===void 0&&(e=this.spaces.after),e||``},set:function(t){(0,e.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.after=t},enumerable:!1,configurable:!0}),n.prototype.valueToString=function(){return String(this.stringifyProperty(`value`))},n.prototype.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join(``)},n.prototype._stringify=function(){return this.toString()},n}(),O_}var Q={},j_;function M_(){return j_?Q:(j_=1,Object.defineProperty(Q,"__esModule",{value:!0}),Q.UNIVERSAL=Q.ATTRIBUTE=Q.CLASS=Q.COMBINATOR=Q.COMMENT=Q.ID=Q.NESTING=Q.PSEUDO=Q.ROOT=Q.SELECTOR=Q.STRING=Q.TAG=void 0,Q.TAG=`tag`,Q.STRING=`string`,Q.SELECTOR=`selector`,Q.ROOT=`root`,Q.PSEUDO=`pseudo`,Q.NESTING=`nesting`,Q.ID=`id`,Q.COMMENT=`comment`,Q.COMBINATOR=`combinator`,Q.CLASS=`class`,Q.ATTRIBUTE=`attribute`,Q.UNIVERSAL=`universal`,Q)}var N_;function P_(){if(N_)return l_;N_=1;var e=l_&&l_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=l_&&l_.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=l_&&l_.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=l_&&l_.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=e(r),o=0;o<a.length;o++)a[o]!=="default"&&t(i,r,a[o]);return n(i,r),i}})(),i=l_&&l_.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},a=l_&&l_.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},o=l_&&l_.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},s=l_&&l_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l_,"__esModule",{value:!0});var c=D_(),l=s(A_()),u=r(M_());return l_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.nodes||=[],n}return n.prototype.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prototype.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},n.prototype.at=function(e){return this.nodes[e]},n.prototype.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},Object.defineProperty(n.prototype,"first",{get:function(){return this.at(0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){return this.at(this.length-1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this.nodes.length},enumerable:!1,configurable:!0}),n.prototype.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},n.prototype.removeAll=function(){var e,t;try{for(var n=i(this.nodes),r=n.next();!r.done;r=n.next()){var a=r.value;a.parent=void 0}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.nodes=[],this},n.prototype.empty=function(){return this.removeAll()},n.prototype.insertAfter=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],s=2;s<arguments.length;s++)i.push(arguments[s]);(n=this.nodes).splice.apply(n,o([r+1,0,t],a(i),!1)),t.parent=this;var c;for(var l in this.indexes)c=this.indexes[l],r<c&&(this.indexes[l]=c+arguments.length-1);return this},n.prototype.insertBefore=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],s=2;s<arguments.length;s++)i.push(arguments[s]);(n=this.nodes).splice.apply(n,o([r,0,t],a(i),!1)),t.parent=this;var c;for(var l in this.indexes)c=this.indexes[l],c>=r&&(this.indexes[l]=c+arguments.length-1);return this},n.prototype._findChildAtPosition=function(e,t){var n=void 0;return this.each(function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1}),n},n.prototype.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},n.prototype._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.prototype.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]<this.length&&(n=this.indexes[t],r=e(this.at(n),n),r!==!1);)this.indexes[t]+=1;if(delete this.indexes[t],r===!1)return!1}},n.prototype.walk=function(e,t){if(t===void 0&&(t=0),t>c.MAX_NESTING_DEPTH)throw Error(`Cannot walk selector: nesting depth exceeds the maximum of ${c.MAX_NESTING_DEPTH}.`);return this.each(function(n,r){var i=e(n,r);if(i!==!1&&n.length&&(i=n.walk(e,t+1)),i===!1)return!1})},n.prototype.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===u.ATTRIBUTE)return e.call(t,n)})},n.prototype.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===u.CLASS)return e.call(t,n)})},n.prototype.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===u.COMBINATOR)return e.call(t,n)})},n.prototype.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===u.COMMENT)return e.call(t,n)})},n.prototype.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===u.ID)return e.call(t,n)})},n.prototype.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===u.NESTING)return e.call(t,n)})},n.prototype.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===u.PSEUDO)return e.call(t,n)})},n.prototype.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===u.TAG)return e.call(t,n)})},n.prototype.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===u.UNIVERSAL)return e.call(t,n)})},n.prototype.split=function(e){var t=this,n=[];return this.reduce(function(r,i,a){var o=e.call(t,i);return n.push(i),o?(r.push(n),n=[]):a===t.length-1&&r.push(n),r},[])},n.prototype.map=function(e){return this.nodes.map(e)},n.prototype.reduce=function(e,t){return this.nodes.reduce(e,t)},n.prototype.every=function(e){return this.nodes.every(e)},n.prototype.some=function(e){return this.nodes.some(e)},n.prototype.filter=function(e){return this.nodes.filter(e)},n.prototype.sort=function(e){return this.nodes.sort(e)},n.prototype.toString=function(e){return e===void 0&&(e={}),this._stringify(e,0,(0,c.resolveMaxNestingDepth)(e.maxNestingDepth))},n.prototype._stringify=function(e,t,n){var r=this;return this.map(function(i){return r._stringifyChild(i,e,t,n)}).join(``)},n.prototype._stringifyChild=function(e,t,n,r){return typeof e._stringify==`function`?e._stringify(t,n,r):String(e)},n}(l.default),l_}var F_;function I_(){if(F_)return c_;F_=1;var e=c_&&c_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=c_&&c_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(c_,"__esModule",{value:!0});var n=t(P_()),r=M_();return c_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.ROOT,n}return n.prototype._stringify=function(e,t,n){var r=this,i=this.reduce(function(i,a){return i.push(r._stringifyChild(a,e,t,n)),i},[]).join(`,`);return this.trailingComma?i+`,`:i},n.prototype.error=function(e,t){return this._error?this._error(e,t):Error(e)},Object.defineProperty(n.prototype,"errorGenerator",{set:function(e){this._error=e},enumerable:!1,configurable:!0}),n}(n.default),c_}var L_={},R_;function z_(){if(R_)return L_;R_=1;var e=L_&&L_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=L_&&L_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(L_,"__esModule",{value:!0});var n=t(P_()),r=M_();return L_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.SELECTOR,n}return n}(n.default),L_}var B_={},V_,H_;function U_(){if(H_)return V_;H_=1;var e={}.hasOwnProperty,t=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=e.call(t,i)?t[i]:n[i];return r},n=/[ -,\.\/:-@\[-\^`\{-~]/,r=/[ -,\.\/:-@\[\]\^`\{-~]/,i=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function e(a,o){o=t(o,e.options),o.quotes!=`single`&&o.quotes!=`double`&&(o.quotes=`single`);for(var s=o.quotes==`double`?`"`:`'`,c=o.isIdentifier,l=a.charAt(0),u=``,d=0,f=a.length;d<f;){var p=a.charAt(d++),m=p.charCodeAt(),h=void 0;if(m<32||m>126){if(m>=55296&&m<=56319&&d<f){var g=a.charCodeAt(d++);(g&64512)==56320?m=((m&1023)<<10)+(g&1023)+65536:d--}h=`\\`+m.toString(16).toUpperCase()+` `}else h=o.escapeEverything?n.test(p)?`\\`+p:`\\`+m.toString(16).toUpperCase()+` `:/[\t\n\f\r\x0B]/.test(p)?`\\`+m.toString(16).toUpperCase()+` `:p==`\\`||!c&&(p==`"`&&s==p||p==`'`&&s==p)||c&&r.test(p)?`\\`+p:p;u+=h}return c&&(/^-[-\d]/.test(u)?u=`\\-`+u.slice(1):/\d/.test(l)&&(u=`\\3`+l+` `+u.slice(1))),u=u.replace(i,function(e,t,n){return t&&t.length%2?e:(t||``)+n}),!c&&o.wrap?s+u+s:u};return a.options={escapeEverything:!1,isIdentifier:!1,quotes:`single`,wrap:!1},a.version=`3.0.0`,V_=a,V_}var W_;function G_(){if(W_)return B_;W_=1;var e=B_&&B_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=B_&&B_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(B_,"__esModule",{value:!0});var n=t(U_()),r=D_(),i=t(A_()),a=M_();return B_.default=function(t){e(i,t);function i(e){var n=t.call(this,e)||this;return n.type=a.CLASS,n._constructed=!0,n}return Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:!0});t===e?this.raws&&delete this.raws.value:((0,r.ensureObject)(this,`raws`),this.raws.value=t)}this._value=e},enumerable:!1,configurable:!0}),i.prototype.valueToString=function(){return`.`+t.prototype.valueToString.call(this)},i}(i.default),B_}var K_={},q_;function J_(){if(q_)return K_;q_=1;var e=K_&&K_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=K_&&K_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(K_,"__esModule",{value:!0});var n=t(A_()),r=M_();return K_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.COMMENT,n}return n}(n.default),K_}var Y_={},X_;function Z_(){if(X_)return Y_;X_=1;var e=Y_&&Y_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Y_&&Y_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Y_,"__esModule",{value:!0});var n=t(A_()),r=M_();return Y_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.ID,n}return n.prototype.valueToString=function(){return`#`+t.prototype.valueToString.call(this)},n}(n.default),Y_}var Q_={},$_={},ev;function tv(){if(ev)return $_;ev=1;var e=$_&&$_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=$_&&$_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($_,"__esModule",{value:!0});var n=t(U_()),r=D_();return $_.default=function(t){e(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(i.prototype,"namespace",{get:function(){return this._namespace},set:function(e){if(e===!0||e===`*`||e===`&`){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,n.default)(e,{isIdentifier:!0});this._namespace=e,t===e?this.raws&&delete this.raws.namespace:((0,r.ensureObject)(this,`raws`),this.raws.namespace=t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"ns",{get:function(){return this._namespace},set:function(e){this.namespace=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"namespaceString",{get:function(){if(this.namespace){var e=this.stringifyProperty(`namespace`);return e===!0?``:e}else return``},enumerable:!1,configurable:!0}),i.prototype.qualifiedName=function(e){return this.namespace?`${this.namespaceString}|${e}`:e},i.prototype.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},i}(t(A_()).default),$_}var nv;function rv(){if(nv)return Q_;nv=1;var e=Q_&&Q_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Q_&&Q_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Q_,"__esModule",{value:!0});var n=t(tv()),r=M_();return Q_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.TAG,n}return n}(n.default),Q_}var iv={},av;function ov(){if(av)return iv;av=1;var e=iv&&iv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+i(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=iv&&iv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(iv,"__esModule",{value:!0});var n=t(A_()),r=M_(),i=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.STRING,n}return n}(n.default);return iv.default=i,iv}var sv={},cv;function lv(){if(cv)return sv;cv=1;var e=sv&&sv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=sv&&sv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(sv,"__esModule",{value:!0});var n=t(P_()),r=M_();return sv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.PSEUDO,n}return n.prototype._stringify=function(e,t,n){var r=this;if(t>=n)throw Error(`Cannot serialize selector: nesting depth exceeds the maximum of ${n}.`);var i=this.length?`(`+this.map(function(i){return r._stringifyChild(i,e,t+1,n)}).join(`,`)+`)`:``;return[this.rawSpaceBefore,this.stringifyProperty(`value`),i,this.rawSpaceAfter].join(``)},n}(n.default),sv}var uv={},dv,fv;function pv(){return fv?dv:(fv=1,dv=rh.deprecate,dv)}var mv;function hv(){if(mv)return uv;mv=1;var e=uv&&uv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=uv&&uv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},n;Object.defineProperty(uv,"__esModule",{value:!0}),uv.unescapeValue=f;var r=t(U_()),i=t(p_()),a=t(tv()),o=M_(),s=pv(),c=/^('|")([^]*)\1$/,l=s(function(){},`Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`),u=s(function(){},`Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`),d=s(function(){},`Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);function f(e){var t=!1,n=null,r=e,a=r.match(c);return a&&(n=a[1],r=a[2]),r=(0,i.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function p(e){if(e.quoteMark!==void 0||e.value===void 0)return e;d();var t=f(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||={},e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}uv.default=function(t){e(n,t);function n(e){e===void 0&&(e={});var n=t.call(this,p(e))||this;return n.type=o.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:s(function(){return n.value},`attr.raws.unquoted is deprecated. Call attr.value instead.`),set:s(function(){return n.value},`Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.`)}),n._constructed=!0,n}return n.prototype.getQuotedValue=function(e){e===void 0&&(e={});var t=m[this._determineQuoteMark(e)];return(0,r.default)(this._value,t)},n.prototype._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},n.prototype.setValue=function(e,t){t===void 0&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},n.prototype.smartQuoteMark=function(e){var t=this.value,i=t.replace(/[^']/g,``).length,a=t.replace(/[^"]/g,``).length;if(i+a===0){var o=(0,r.default)(t,{isIdentifier:!0});if(o===t)return n.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=m[c];if((0,r.default)(t,l).length<o.length)return c}return s}else if(a===i)return this.preferredQuoteMark(e);else if(a<i)return n.DOUBLE_QUOTE;else return n.SINGLE_QUOTE},n.prototype.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return t===void 0&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),t===void 0&&(t=n.DOUBLE_QUOTE),t},Object.defineProperty(n.prototype,"quoted",{get:function(){var e=this.quoteMark;return e===`'`||e===`"`},set:function(e){u()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"quoteMark",{get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue())},enumerable:!1,configurable:!0}),n.prototype._syncRawValue=function(){var e=(0,r.default)(this._value,m[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},Object.defineProperty(n.prototype,"qualifiedAttribute",{get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"insensitiveFlag",{get:function(){return this.insensitive?`i`:``},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=f(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&l(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"insensitive",{get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag===`I`||this.raws.insensitiveFlag===`i`)&&(this.raws.insensitiveFlag=void 0)),this._insensitive=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"attribute",{get:function(){return this._attribute},set:function(e){this._handleEscapes(`attribute`,e),this._attribute=e},enumerable:!1,configurable:!0}),n.prototype._handleEscapes=function(e,t){if(this._constructed){var n=(0,r.default)(t,{isIdentifier:!0});n===t?delete this.raws[e]:this.raws[e]=n}},n.prototype._spacesFor=function(e){var t={before:``,after:``},n=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,n,r)},n.prototype._stringFor=function(e,t,n){t===void 0&&(t=e),n===void 0&&(n=h);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},n.prototype.offsetOf=function(e){var t=1,n=this._spacesFor(`attribute`);if(t+=n.before.length,e===`namespace`||e===`ns`)return this.namespace?t:-1;if(e===`attributeNS`||(t+=this.namespaceString.length,this.namespace&&(t+=1),e===`attribute`))return t;t+=this.stringifyProperty(`attribute`).length,t+=n.after.length;var r=this._spacesFor(`operator`);t+=r.before.length;var i=this.stringifyProperty(`operator`);if(e===`operator`)return i?t:-1;t+=i.length,t+=r.after.length;var a=this._spacesFor(`value`);t+=a.before.length;var o=this.stringifyProperty(`value`);if(e===`value`)return o?t:-1;t+=o.length,t+=a.after.length;var s=this._spacesFor(`insensitive`);return t+=s.before.length,e===`insensitive`&&this.insensitive?t:-1},n.prototype.toString=function(){var e=this,t=[this.rawSpaceBefore,`[`];return t.push(this._stringFor(`qualifiedAttribute`,`attribute`)),this.operator&&(this.value||this.value===``)&&(t.push(this._stringFor(`operator`)),t.push(this._stringFor(`value`)),t.push(this._stringFor(`insensitiveFlag`,`insensitive`,function(t,n){return t.length>0&&!e.quoted&&n.before.length===0&&!(e.spaces.value&&e.spaces.value.after)&&(n.before=` `),h(t,n)}))),t.push(`]`),t.push(this.rawSpaceAfter),t.join(``)},n.NO_QUOTE=null,n.SINGLE_QUOTE=`'`,n.DOUBLE_QUOTE=`"`,n}(a.default);var m=(n={"'":{quotes:`single`,wrap:!0},'"':{quotes:`double`,wrap:!0}},n[null]={isIdentifier:!0},n);function h(e,t){return`${t.before}${e}${t.after}`}return uv}var gv={},_v;function vv(){if(_v)return gv;_v=1;var e=gv&&gv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=gv&&gv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(gv,"__esModule",{value:!0});var n=t(tv()),r=M_();return gv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.UNIVERSAL,n.value=`*`,n}return n}(n.default),gv}var yv={},bv;function xv(){if(bv)return yv;bv=1;var e=yv&&yv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=yv&&yv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(yv,"__esModule",{value:!0});var n=t(A_()),r=M_();return yv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.COMBINATOR,n}return n}(n.default),yv}var Sv={},Cv;function wv(){if(Cv)return Sv;Cv=1;var e=Sv&&Sv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Sv&&Sv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Sv,"__esModule",{value:!0});var n=t(A_()),r=M_();return Sv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.NESTING,n.value=`&`,n}return n}(n.default),Sv}var Tv={},Ev;function Dv(){if(Ev)return Tv;Ev=1,Object.defineProperty(Tv,"__esModule",{value:!0}),Tv.default=e;function e(e){return e.sort(function(e,t){return e-t})}return Tv}var Ov={},kv={},Av;function jv(){return Av?kv:(Av=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.combinator=e.word=e.comment=e.str=e.tab=e.newline=e.feed=e.cr=e.backslash=e.bang=e.slash=e.doubleQuote=e.singleQuote=e.space=e.greaterThan=e.pipe=e.equals=e.plus=e.caret=e.tilde=e.dollar=e.closeSquare=e.openSquare=e.closeParenthesis=e.openParenthesis=e.semicolon=e.colon=e.comma=e.at=e.asterisk=e.ampersand=void 0,e.ampersand=38,e.asterisk=42,e.at=64,e.comma=44,e.colon=58,e.semicolon=59,e.openParenthesis=40,e.closeParenthesis=41,e.openSquare=91,e.closeSquare=93,e.dollar=36,e.tilde=126,e.caret=94,e.plus=43,e.equals=61,e.pipe=124,e.greaterThan=62,e.space=32,e.singleQuote=39,e.doubleQuote=34,e.slash=47,e.bang=33,e.backslash=92,e.cr=13,e.feed=12,e.newline=10,e.tab=9,e.str=e.singleQuote,e.comment=-1,e.word=-2,e.combinator=-3})(kv),kv)}var Mv;function Nv(){if(Mv)return Ov;Mv=1;var e=Ov&&Ov.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),t=Ov&&Ov.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),n=Ov&&Ov.__importStar||(function(){var n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},n(e)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=n(r),o=0;o<a.length;o++)a[o]!=="default"&&e(i,r,a[o]);return t(i,r),i}})(),r,i;Object.defineProperty(Ov,"__esModule",{value:!0}),Ov.FIELDS=void 0,Ov.default=p;for(var a=n(jv()),o=(r={},r[a.tab]=!0,r[a.newline]=!0,r[a.cr]=!0,r[a.feed]=!0,r),s=(i={},i[a.space]=!0,i[a.tab]=!0,i[a.newline]=!0,i[a.cr]=!0,i[a.feed]=!0,i[a.ampersand]=!0,i[a.asterisk]=!0,i[a.bang]=!0,i[a.comma]=!0,i[a.colon]=!0,i[a.semicolon]=!0,i[a.openParenthesis]=!0,i[a.closeParenthesis]=!0,i[a.openSquare]=!0,i[a.closeSquare]=!0,i[a.singleQuote]=!0,i[a.doubleQuote]=!0,i[a.plus]=!0,i[a.pipe]=!0,i[a.tilde]=!0,i[a.greaterThan]=!0,i[a.equals]=!0,i[a.dollar]=!0,i[a.caret]=!0,i[a.slash]=!0,i),c={},l=`0123456789abcdefABCDEF`,u=0;u<l.length;u++)c[l.charCodeAt(u)]=!0;function d(e,t){var n=t,r;do{if(r=e.charCodeAt(n),s[r])return n-1;r===a.backslash?n=f(e,n)+1:n++}while(n<e.length);return n-1}function f(e,t){var n=t,r=e.charCodeAt(n+1);if(!o[r])if(c[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(c[r]&&i<6);i<6&&r===a.space&&n++}else n++;return n}Ov.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};function p(e){var t=[],n=e.css.valueOf(),r=n.length,i=-1,o=1,s=0,c=0,l,u,f,p,m,h,g,_,v,y,b,x,S;function C(t,r){if(e.safe)n+=r,v=n.length-1;else throw e.error(`Unclosed `+t,o,s-i,s)}for(;s<r;){switch(l=n.charCodeAt(s),l===a.newline&&(i=s,o+=1),l){case a.space:case a.tab:case a.newline:case a.cr:case a.feed:v=s;do v+=1,l=n.charCodeAt(v),l===a.newline&&(i=v,o+=1);while(l===a.space||l===a.newline||l===a.tab||l===a.cr||l===a.feed);S=a.space,p=o,f=v-i-1,c=v;break;case a.plus:case a.greaterThan:case a.tilde:case a.pipe:v=s;do v+=1,l=n.charCodeAt(v);while(l===a.plus||l===a.greaterThan||l===a.tilde||l===a.pipe);S=a.combinator,p=o,f=s-i,c=v;break;case a.asterisk:case a.ampersand:case a.bang:case a.comma:case a.equals:case a.dollar:case a.caret:case a.openSquare:case a.closeSquare:case a.colon:case a.semicolon:case a.openParenthesis:case a.closeParenthesis:v=s,S=l,p=o,f=s-i,c=v+1;break;case a.singleQuote:case a.doubleQuote:x=l===a.singleQuote?`'`:`"`,v=s;do for(m=!1,v=n.indexOf(x,v+1),v===-1&&C(`quote`,x),h=v;n.charCodeAt(h-1)===a.backslash;)--h,m=!m;while(m);S=a.str,p=o,f=s-i,c=v+1;break;default:l===a.slash&&n.charCodeAt(s+1)===a.asterisk?(v=n.indexOf(`*/`,s+2)+1,v===0&&C(`comment`,`*/`),u=n.slice(s,v+1),_=u.split(`
89
- `),g=_.length-1,g>0?(y=o+g,b=v-_[g].length):(y=o,b=i),S=a.comment,o=y,p=y,f=v-b):l===a.slash?(v=s,S=l,p=o,f=s-i,c=v+1):(v=d(n,s),S=a.word,p=o,f=v-i),c=v+1;break}t.push([S,o,s-i,p,f,s,c]),b&&=(i=b,null),s=c}return t}return Ov}var Pv;function Fv(){if(Pv)return s_;Pv=1;var e=s_&&s_.__assign||function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)},t=s_&&s_.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=s_&&s_.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=s_&&s_.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=e(r),o=0;o<a.length;o++)a[o]!=="default"&&t(i,r,a[o]);return n(i,r),i}})(),i=s_&&s_.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},a=s_&&s_.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},o=s_&&s_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s,c;Object.defineProperty(s_,"__esModule",{value:!0});var l=o(I_()),u=o(z_()),d=o(G_()),f=o(J_()),p=o(Z_()),m=o(rv()),h=o(ov()),g=o(lv()),_=r(hv()),v=o(vv()),y=o(xv()),b=o(wv()),x=o(Dv()),S=r(Nv()),C=r(jv()),w=r(M_()),T=D_(),E=(s={},s[C.space]=!0,s[C.cr]=!0,s[C.feed]=!0,s[C.newline]=!0,s[C.tab]=!0,s),ee=e(e({},E),(c={},c[C.comment]=!0,c));function D(e){return{line:e[S.FIELDS.START_LINE],column:e[S.FIELDS.START_COL]}}function O(e){return{line:e[S.FIELDS.END_LINE],column:e[S.FIELDS.END_COL]}}function k(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function A(e){return k(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],e[S.FIELDS.END_LINE],e[S.FIELDS.END_COL])}function te(e,t){if(e)return k(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],t[S.FIELDS.END_LINE],t[S.FIELDS.END_COL])}function j(e,t){var n=e[t];if(typeof n==`string`)return n.indexOf(`\\`)!==-1&&((0,T.ensureObject)(e,`raws`),e[t]=(0,T.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function ne(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function re(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}return s_.default=function(){function e(e,t){t===void 0&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.nestingDepth=0,this.maxNestingDepth=(0,T.resolveMaxNestingDepth)(this.options.maxNestingDepth),this.css=typeof this.rule==`string`?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=te(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new l.default({source:n}),this.root.errorGenerator=this._errorGenerator();var r=new u.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(r),this.current=r,this.loop()}return e.prototype._errorGenerator=function(){var e=this;return function(t,n){return typeof e.rule==`string`?Error(t):e.rule.error(t,n)}},e.prototype.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==C.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==C.closeSquare)return this.expected(`closing square bracket`,this.currToken[S.FIELDS.START_POS]);var n=e.length,r={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[S.FIELDS.START_POS]};if(n===1&&!~[C.word].indexOf(e[0][S.FIELDS.TYPE]))return this.expected(`attribute`,e[0][S.FIELDS.START_POS]);for(var i=0,a=``,o=``,s=null,c=!1;i<n;){var l=e[i],u=this.content(l),d=e[i+1];switch(l[S.FIELDS.TYPE]){case C.space:if(c=!0,this.options.lossy)break;if(s){(0,T.ensureObject)(r,`spaces`,s);var f=r.spaces[s].after||``;r.spaces[s].after=f+u;var p=(0,T.getProp)(r,`raws`,`spaces`,s,`after`)||null;p&&(r.raws.spaces[s].after=p+u)}else a+=u,o+=u;break;case C.asterisk:if(d[S.FIELDS.TYPE]===C.equals)r.operator=u,s=`operator`;else if((!r.namespace||s===`namespace`&&!c)&&d){a&&=((0,T.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,T.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=a,``),r.namespace=(r.namespace||``)+u;var m=(0,T.getProp)(r,`raws`,`namespace`)||null;m&&(r.raws.namespace+=u),s=`namespace`}c=!1;break;case C.dollar:if(s===`value`){var h=(0,T.getProp)(r,`raws`,`value`);r.value+=`$`,h&&(r.raws.value=h+`$`);break}case C.caret:d[S.FIELDS.TYPE]===C.equals&&(r.operator=u,s=`operator`),c=!1;break;case C.combinator:if(u===`~`&&d[S.FIELDS.TYPE]===C.equals&&(r.operator=u,s=`operator`),u!==`|`){c=!1;break}d[S.FIELDS.TYPE]===C.equals?(r.operator=u,s=`operator`):!r.namespace&&!r.attribute&&(r.namespace=!0),c=!1;break;case C.word:if(d&&this.content(d)===`|`&&e[i+2]&&e[i+2][S.FIELDS.TYPE]!==C.equals&&!r.operator&&!r.namespace)r.namespace=u,s=`namespace`;else if(!r.attribute||s===`attribute`&&!c){a&&=((0,T.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,T.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),r.attribute=(r.attribute||``)+u;var m=(0,T.getProp)(r,`raws`,`attribute`)||null;m&&(r.raws.attribute+=u),s=`attribute`}else if(!r.value&&r.value!==``||s===`value`&&!(c||r.quoteMark)){var g=(0,T.unesc)(u),h=(0,T.getProp)(r,`raws`,`value`)||``,v=r.value||``;r.value=v+g,r.quoteMark=null,(g!==u||h)&&((0,T.ensureObject)(r,`raws`),r.raws.value=(h||v)+u),s=`value`}else{var y=u===`i`||u===`I`;(r.value||r.value===``)&&(r.quoteMark||c)?(r.insensitive=y,(!y||u===`I`)&&((0,T.ensureObject)(r,`raws`),r.raws.insensitiveFlag=u),s=`insensitive`,a&&=((0,T.ensureObject)(r,`spaces`,`insensitive`),r.spaces.insensitive.before=a,``),o&&=((0,T.ensureObject)(r,`raws`,`spaces`,`insensitive`),r.raws.spaces.insensitive.before=o,``)):(r.value||r.value===``)&&(s=`value`,r.value+=u,r.raws.value&&(r.raws.value+=u))}c=!1;break;case C.str:if(!r.attribute||!r.operator)return this.error(`Expected an attribute followed by an operator preceding the string.`,{index:l[S.FIELDS.START_POS]});var b=(0,_.unescapeValue)(u),x=b.unescaped,w=b.quoteMark;r.value=x,r.quoteMark=w,s=`value`,(0,T.ensureObject)(r,`raws`),r.raws.value=u,c=!1;break;case C.equals:if(!r.attribute)return this.expected(`attribute`,l[S.FIELDS.START_POS],u);if(r.value)return this.error(`Unexpected "=" found; an operator was already defined.`,{index:l[S.FIELDS.START_POS]});r.operator=r.operator?r.operator+u:u,s=`operator`,c=!1;break;case C.comment:if(s)if(c||d&&d[S.FIELDS.TYPE]===C.space||s===`insensitive`){var E=(0,T.getProp)(r,`spaces`,s,`after`)||``,ee=(0,T.getProp)(r,`raws`,`spaces`,s,`after`)||E;(0,T.ensureObject)(r,`raws`,`spaces`,s),r.raws.spaces[s].after=ee+u}else{var D=r[s]||``,O=(0,T.getProp)(r,`raws`,s)||D;(0,T.ensureObject)(r,`raws`),r.raws[s]=O+u}else o+=u;break;default:return this.error(`Unexpected "${u}" found.`,{index:l[S.FIELDS.START_POS]})}i++}j(r,`attribute`),j(r,`namespace`),this.newNode(new _.default(r)),this.position++},e.prototype.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r=``,i=void 0;do if(E[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[S.FIELDS.TYPE]===C.comment){var a={};r&&=(a.before=r,``),i=new f.default({value:this.content(),source:A(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:a}),n.push(i)}while(++this.position<e);if(r){if(i)i.spaces.after=r;else if(!this.options.lossy){var o=this.tokens[t],s=this.tokens[this.position-1];n.push(new h.default({value:``,source:k(o[S.FIELDS.START_LINE],o[S.FIELDS.START_COL],s[S.FIELDS.END_LINE],s[S.FIELDS.END_COL]),sourceIndex:o[S.FIELDS.START_POS],spaces:{before:r,after:``}}))}}return n},e.prototype.convertWhitespaceNodesToSpace=function(e,t){var n=this;t===void 0&&(t=!1);var r=``,i=``;return e.forEach(function(e){var a=n.lossySpace(e.spaces.before,t),o=n.lossySpace(e.rawSpaceBefore,t);r+=a+n.lossySpace(e.spaces.after,t&&a.length===0),i+=a+e.value+n.lossySpace(e.rawSpaceAfter,t&&o.length===0)}),i===r&&(i=void 0),{space:r,rawSpace:i}},e.prototype.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][S.FIELDS.TYPE]===C.slash&&this.tokens[e+1]&&this.tokens[e+1][S.FIELDS.TYPE]===C.word&&this.tokens[e+2]&&this.tokens[e+2][S.FIELDS.TYPE]===C.slash},e.prototype.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,T.unesc)(e).toLowerCase(),n={};t!==e&&(n.value=`/${e}/`);var r=new y.default({value:`/${t}/`,source:k(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:n});return this.position+=3,r}else this.unexpected()},e.prototype.combinator=function(){var e=this;if(this.content()===`|`)return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][S.FIELDS.TYPE]===C.comma||this.tokens[t][S.FIELDS.TYPE]===C.closeParenthesis){var n=this.parseWhitespaceEquivalentTokens(t);if(n.length>0){var r=this.current.last;if(r){var i=this.convertWhitespaceNodesToSpace(n),a=i.space,o=i.rawSpace;o!==void 0&&(r.rawSpaceAfter+=o),r.spaces.after+=a}else n.forEach(function(t){return e.newNode(t)})}return}var s=this.currToken,c=void 0;t>this.position&&(c=this.parseWhitespaceEquivalentTokens(t));var l;if(this.isNamedCombinator()?l=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===C.combinator?(l=new y.default({value:this.content(),source:A(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):E[this.currToken[S.FIELDS.TYPE]]||c||this.unexpected(),l){if(c){var u=this.convertWhitespaceNodesToSpace(c),a=u.space,o=u.rawSpace;l.spaces.before=a,l.rawSpaceBefore=o}}else{var d=this.convertWhitespaceNodesToSpace(c,!0),a=d.space,o=d.rawSpace;o||=a;var f={},p={spaces:{}};a.endsWith(` `)&&o.endsWith(` `)?(f.before=a.slice(0,a.length-1),p.spaces.before=o.slice(0,o.length-1)):a[0]===` `&&o[0]===` `?(f.after=a.slice(1),p.spaces.after=o.slice(1)):p.value=o,l=new y.default({value:` `,source:te(s,this.tokens[this.position-1]),sourceIndex:s[S.FIELDS.START_POS],spaces:f,raws:p})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===C.space&&(l.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(l)},e.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new u.default({source:{start:D(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][S.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++},e.prototype.comment=function(){var e=this.currToken;this.newNode(new f.default({value:this.content(),source:A(e),sourceIndex:e[S.FIELDS.START_POS]})),this.position++},e.prototype.error=function(e,t){throw this.root.error(e,t)},e.prototype.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`,{index:this.currToken[S.FIELDS.START_POS]})},e.prototype.missingParenthesis=function(){return this.expected(`opening parenthesis`,this.currToken[S.FIELDS.START_POS])},e.prototype.missingSquareBracket=function(){return this.expected(`opening square bracket`,this.currToken[S.FIELDS.START_POS])},e.prototype.unexpected=function(){return this.error(`Unexpected '${this.content()}'. Escaping special characters with \\ may help.`,this.currToken[S.FIELDS.START_POS])},e.prototype.unexpectedPipe=function(){return this.error(`Unexpected '|'.`,this.currToken[S.FIELDS.START_POS])},e.prototype.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===C.word)return this.position++,this.word(e);if(this.nextToken[S.FIELDS.TYPE]===C.asterisk)return this.position++,this.universal(e);this.unexpectedPipe()},e.prototype.nesting=function(){if(this.nextToken&&this.content(this.nextToken)===`|`){this.position++;return}var e=this.currToken;this.newNode(new b.default({value:this.content(),source:A(e),sourceIndex:e[S.FIELDS.START_POS]})),this.position++},e.prototype.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===w.PSEUDO){var n=new u.default({source:{start:D(this.tokens[this.position])},sourceIndex:this.tokens[this.position][S.FIELDS.START_POS]}),r=this.current;e.append(n),this.current=n,this.nestingDepth++;try{for(this.nestingDepth>this.maxNestingDepth&&this.error(`Cannot parse selector: nesting depth exceeds the maximum of ${this.maxNestingDepth}.`,{index:this.currToken[S.FIELDS.START_POS]});this.position<this.tokens.length&&t;)this.currToken[S.FIELDS.TYPE]===C.openParenthesis&&t++,this.currToken[S.FIELDS.TYPE]===C.closeParenthesis&&t--,t?this.parse():(this.current.source.end=O(this.currToken),this.current.parent.source.end=O(this.currToken),this.position++)}finally{this.nestingDepth--}this.current=r}else{for(var i=this.currToken,a=`(`,o=void 0;this.position<this.tokens.length&&t;)this.currToken[S.FIELDS.TYPE]===C.openParenthesis&&t++,this.currToken[S.FIELDS.TYPE]===C.closeParenthesis&&t--,o=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape(`value`,a,a):this.newNode(new h.default({value:a,source:k(i[S.FIELDS.START_LINE],i[S.FIELDS.START_COL],o[S.FIELDS.END_LINE],o[S.FIELDS.END_COL]),sourceIndex:i[S.FIELDS.START_POS]}))}if(t)return this.expected(`closing parenthesis`,this.currToken[S.FIELDS.START_POS])},e.prototype.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===C.colon;)t+=this.content(),this.position++;if(!this.currToken)return this.expected([`pseudo-class`,`pseudo-element`],this.position-1);if(this.currToken[S.FIELDS.TYPE]===C.word)this.splitWord(!1,function(r,i){t+=r,e.newNode(new g.default({value:t,source:te(n,e.currToken),sourceIndex:n[S.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[S.FIELDS.TYPE]===C.openParenthesis&&e.error(`Misplaced parenthesis.`,{index:e.nextToken[S.FIELDS.START_POS]})});else return this.expected([`pseudo-class`,`pseudo-element`],this.currToken[S.FIELDS.START_POS])},e.prototype.space=function(){var e=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===C.comma||this.prevToken[S.FIELDS.TYPE]===C.openParenthesis||this.current.nodes.every(function(e){return e.type===`comment`})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===C.comma||this.nextToken[S.FIELDS.TYPE]===C.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:A(e),sourceIndex:e[S.FIELDS.START_POS]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&this.content(t)===`|`)return this.position++,this.namespace();var n=this.currToken;this.newNode(new v.default({value:this.content(),source:A(n),sourceIndex:n[S.FIELDS.START_POS]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var n=this,r=this.nextToken,o=this.content();r&&~[C.dollar,C.caret,C.equals,C.word].indexOf(r[S.FIELDS.TYPE]);){this.position++;var s=this.content();if(o+=s,s.lastIndexOf(`\\`)===s.length-1){var c=this.nextToken;c&&c[S.FIELDS.TYPE]===C.space&&(o+=this.requiredSpace(this.content(c)),this.position++)}r=this.nextToken}var l=ne(o,`.`).filter(function(e){var t=o[e-1]===`\\`,n=/^\d+\.\d+%$/.test(o);return!t&&!n}),u=ne(o,`#`).filter(function(e){return o[e-1]!==`\\`}),f=ne(o,`#{`);f.length&&(u=u.filter(function(e){return!~f.indexOf(e)}));var h=(0,x.default)(re(a(a([0],i(l),!1),i(u),!1)));h.forEach(function(r,i){var a=h[i+1]||o.length,s=o.slice(r,a);if(i===0&&t)return t.call(n,s,h.length);var c,f=n.currToken,g=f[S.FIELDS.START_POS]+h[i],_=k(f[1],f[2]+r,f[3],f[2]+(a-1));if(~l.indexOf(r)){var v={value:s.slice(1),source:_,sourceIndex:g};c=new d.default(j(v,`value`))}else if(~u.indexOf(r)){var y={value:s.slice(1),source:_,sourceIndex:g};c=new p.default(j(y,`value`))}else{var b={value:s,source:_,sourceIndex:g};j(b,`value`),c=new m.default(b)}n.newNode(c,e),e=null}),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&this.content(t)===`|`?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.prototype.parse=function(e){switch(this.currToken[S.FIELDS.TYPE]){case C.space:this.space();break;case C.comment:this.comment();break;case C.openParenthesis:this.parentheses();break;case C.closeParenthesis:e&&this.missingParenthesis();break;case C.openSquare:this.attribute();break;case C.dollar:case C.caret:case C.equals:case C.word:this.word();break;case C.colon:this.pseudo();break;case C.comma:this.comma();break;case C.asterisk:this.universal();break;case C.ampersand:this.nesting();break;case C.slash:case C.combinator:this.combinator();break;case C.str:this.string();break;case C.closeSquare:this.missingSquareBracket();case C.semicolon:this.missingBackslash();default:this.unexpected()}},e.prototype.expected=function(e,t,n){if(Array.isArray(e)){var r=e.pop();e=`${e.join(`, `)} or ${r}`}var i=/^[aeiou]/.test(e[0])?`an`:`a`;return n?this.error(`Expected ${i} ${e}, found "${n}" instead.`,{index:t}):this.error(`Expected ${i} ${e}.`,{index:t})},e.prototype.requiredSpace=function(e){return this.options.lossy?` `:e},e.prototype.optionalSpace=function(e){return this.options.lossy?``:e},e.prototype.lossySpace=function(e,t){return this.options.lossy?t?` `:``:e},e.prototype.parseParenthesisToken=function(e){var t=this.content(e);return e[S.FIELDS.TYPE]===C.space?this.requiredSpace(t):t},e.prototype.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||``)+t),t=!0),e.namespace=t,j(e,`namespace`)),this.spaces&&=(e.spaces.before=this.spaces,``),this.current.append(e)},e.prototype.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[S.FIELDS.START_POS],e[S.FIELDS.END_POS])},Object.defineProperty(e.prototype,"currToken",{get:function(){return this.tokens[this.position]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextToken",{get:function(){return this.tokens[this.position+1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"prevToken",{get:function(){return this.tokens[this.position-1]},enumerable:!1,configurable:!0}),e.prototype.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(ee[this.tokens[t][S.FIELDS.TYPE]]){t++;continue}else return t;return-1},e}(),s_}var Iv;function Lv(){if(Iv)return o_;Iv=1;var e=o_&&o_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(o_,"__esModule",{value:!0});var t=e(Fv());return o_.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}return e.prototype._shouldUpdateSelector=function(e,t){return t===void 0&&(t={}),Object.assign({},this.options,t).updateSelector!==!1&&typeof e!=`string`},e.prototype._isLossy=function(e){return e===void 0&&(e={}),Object.assign({},this.options,e).lossless===!1},e.prototype._root=function(e,n){return n===void 0&&(n={}),new t.default(e,this._parseOptions(n)).root},e.prototype._parseOptions=function(e){var t=Object.assign({},this.options,e);return{lossy:this._isLossy(t),maxNestingDepth:t.maxNestingDepth}},e.prototype._stringifyOptions=function(e){return{maxNestingDepth:Object.assign({},this.options,e).maxNestingDepth}},e.prototype._run=function(e,t){var n=this;return t===void 0&&(t={}),new Promise(function(r,i){try{var a=n._root(e,t);Promise.resolve(n.func(a)).then(function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=a.toString(n._stringifyOptions(t)),e.selector=i),{transform:r,root:a,string:i}}).then(r,i)}catch(e){i(e);return}})},e.prototype._runSync=function(e,t){t===void 0&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&typeof r.then==`function`)throw Error(`Selector processor returned a promise to a synchronous call.`);var i=void 0;return t.updateSelector&&typeof e!=`string`&&(i=n.toString(this._stringifyOptions(t)),e.selector=i),{transform:r,root:n,string:i}},e.prototype.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},e.prototype.astSync=function(e,t){return this._runSync(e,t).root},e.prototype.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},e.prototype.transformSync=function(e,t){return this._runSync(e,t).transform},e.prototype.process=function(e,t){var n=this;return this._run(e,t).then(function(e){return e.string||e.root.toString(n._stringifyOptions(t))})},e.prototype.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString(this._stringifyOptions(t))},e}(),o_}var Rv={},$={},zv;function Bv(){if(zv)return $;zv=1;var e=$&&$.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($,"__esModule",{value:!0}),$.universal=$.tag=$.string=$.selector=$.root=$.pseudo=$.nesting=$.id=$.comment=$.combinator=$.className=$.attribute=void 0;var t=e(hv()),n=e(G_()),r=e(xv()),i=e(J_()),a=e(Z_()),o=e(wv()),s=e(lv()),c=e(I_()),l=e(z_()),u=e(ov()),d=e(rv()),f=e(vv());return $.attribute=function(e){return new t.default(e)},$.className=function(e){return new n.default(e)},$.combinator=function(e){return new r.default(e)},$.comment=function(e){return new i.default(e)},$.id=function(e){return new a.default(e)},$.nesting=function(e){return new o.default(e)},$.pseudo=function(e){return new s.default(e)},$.root=function(e){return new c.default(e)},$.selector=function(e){return new l.default(e)},$.string=function(e){return new u.default(e)},$.tag=function(e){return new d.default(e)},$.universal=function(e){return new f.default(e)},$}var Vv={},Hv;function Uv(){return Hv?Vv:(Hv=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isNode=i,e.isPseudoElement=o,e.isPseudoClass=s,e.isContainer=c,e.isNamespace=l;var n=M_(),r=(t={},t[n.ATTRIBUTE]=!0,t[n.CLASS]=!0,t[n.COMBINATOR]=!0,t[n.COMMENT]=!0,t[n.ID]=!0,t[n.NESTING]=!0,t[n.PSEUDO]=!0,t[n.ROOT]=!0,t[n.SELECTOR]=!0,t[n.STRING]=!0,t[n.TAG]=!0,t[n.UNIVERSAL]=!0,t);function i(e){return typeof e==`object`&&r[e.type]}function a(e,t){return i(t)&&t.type===e}e.isAttribute=a.bind(null,n.ATTRIBUTE),e.isClassName=a.bind(null,n.CLASS),e.isCombinator=a.bind(null,n.COMBINATOR),e.isComment=a.bind(null,n.COMMENT),e.isIdentifier=a.bind(null,n.ID),e.isNesting=a.bind(null,n.NESTING),e.isPseudo=a.bind(null,n.PSEUDO),e.isRoot=a.bind(null,n.ROOT),e.isSelector=a.bind(null,n.SELECTOR),e.isString=a.bind(null,n.STRING),e.isTag=a.bind(null,n.TAG),e.isUniversal=a.bind(null,n.UNIVERSAL);function o(t){return(0,e.isPseudo)(t)&&t.value&&(t.value.startsWith(`::`)||t.value.toLowerCase()===`:before`||t.value.toLowerCase()===`:after`||t.value.toLowerCase()===`:first-letter`||t.value.toLowerCase()===`:first-line`)}function s(t){return(0,e.isPseudo)(t)&&!o(t)}function c(e){return!!(i(e)&&e.walk)}function l(t){return(0,e.isAttribute)(t)||(0,e.isTag)(t)}})(Vv),Vv)}var Wv;function Gv(){return Wv?Rv:(Wv=1,(function(e){var t=Rv&&Rv.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=Rv&&Rv.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(M_(),e),n(Bv(),e),n(Uv(),e)})(Rv),Rv)}var Kv,qv;function Jv(){if(qv)return Kv;qv=1;var e=Kv&&Kv.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),t=Kv&&Kv.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),n=Kv&&Kv.__importStar||(function(){var n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},n(e)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=n(r),o=0;o<a.length;o++)a[o]!=="default"&&e(i,r,a[o]);return t(i,r),i}})(),r=(Kv&&Kv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Lv()),i=n(Gv()),a=function(e){return new r.default(e)};return Object.assign(a,i),delete a.__esModule,Kv=a,Kv}var Yv=Ir(Jv()),Xv=/^(?:-\w+-)?animation-name$/,Zv=/^(?:-\w+-)?animation$/,Qv=/^(?:-\w+-)?keyframes$/,$v=(e=``)=>{let t=Object.create(null),n=e.replace(/^data-v-/,``);return{postcssPlugin:`vue-sfc-scoped`,Rule(t){ty(e,t)},AtRule(e){Qv.test(e.name)&&!e.params.endsWith(`-${n}`)&&(t[e.params]=e.params=e.params+`-`+n)},OnceExit(e){Object.keys(t).length&&e.walkDecls(e=>{Xv.test(e.prop)&&(e.value=e.value.split(`,`).map(e=>t[e.trim()]||e.trim()).join(`,`)),Zv.test(e.prop)&&(e.value=e.value.split(`,`).map(e=>{let n=e.trim().split(/\s+/),r=n.findIndex(e=>t[e]);return r===-1?e:(n.splice(r,1,t[n[r]]),n.join(` `))}).join(`,`))})}}},ey=new WeakSet;function ty(e,t){if(ey.has(t)||t.parent&&t.parent.type===`atrule`&&Qv.test(t.parent.name))return;ey.add(t);let n=!1,r=t.parent;for(;r&&r.type!==`root`;){if(r.__deep){n=!0;break}r=r.parent}t.selector=Yv(r=>{r.each(i=>{ny(e,t,i,r,n)})}).processSync(t.selector)}function ny(e,t,n,r,i,a=!1){let o=null,s=!i,c=!1,l=!1;if(n.each(u=>{if(u.type===`combinator`&&(u.value===`>>>`||u.value===`/deep/`))return u.value=` `,u.spaces.before=u.spaces.after=``,oh(`the >>> and /deep/ combinators have been deprecated. Use :deep() instead.`),!1;if(u.type===`pseudo`){let{value:d}=u;if(ay(u)&&u.nodes.some(e=>e.some(iy))){let f=!!o,p=u.nodes.some(e=>!e.some(iy)),m=n.index(u)<n.length-1;if(oy(u)&&!i&&!f&&p&&m)return sy(e,t,n,r,u,i,a),l=!0,!1;if(d===`:not`&&!i&&!f&&p&&m)return;u.nodes.forEach(n=>ny(e,t,n,r,i||f,a)),f||(o=u,s=!1),c=!0}if(d===`:deep`||d===`::v-deep`){if(t.__deep=!0,u.nodes.length){let e=u;u.nodes[0].each(t=>{n.insertAfter(e,t),e=t});let t=n.at(n.index(u)-1);(!t||!ry(t))&&n.insertAfter(u,Yv.combinator({value:` `})),n.removeChild(u)}else{oh(`${d} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${d} <inner-selector>.`);let e=n.at(n.index(u)-1);e&&ry(e)&&n.removeChild(e),n.removeChild(u)}return!1}if(d===`:slotted`||d===`::v-slotted`){ny(e,t,u.nodes[0],r,i,!0);let a=u;return u.nodes[0].each(e=>{n.insertAfter(a,e),a=e}),n.removeChild(u),s=!1,!1}if(d===`:global`||d===`::v-global`)return n.replaceWith(u.nodes[0]),!1}if(u.type===`universal`){let e=n.at(n.index(u)-1),t=n.at(n.index(u)+1);if(!e)if(t){t.type===`combinator`&&t.value===` `&&n.removeChild(t),n.removeChild(u);return}else return o=Yv.combinator({value:``}),n.insertBefore(u,o),n.removeChild(u),!1;if(o)return}!c&&(u.type!==`pseudo`&&u.type!==`combinator`||u.type===`pseudo`&&(u.value===`:is`||u.value===`:where`)&&!o)&&(o=u)}),!l){if(t.nodes.some(e=>e.type===`rule`)){let e=t.__deep;if(!e){cy(t);let e=t.nodes.filter(e=>e.type===`atrule`);for(let t of e)cy(t)}s=e}if(o&&!c){let{type:n,value:c}=o;n===`pseudo`&&(c===`:is`||c===`:where`)&&(o.nodes.forEach(n=>ny(e,t,n,r,i,a)),s=!1)}if(o?o.spaces.after=``:n.first.spaces.before=``,s){let t=a?e+`-s`:e;n.insertAfter(o,Yv.attribute({attribute:t,value:t,raws:{},quoteMark:`"`}))}}}function ry(e){return e.type===`combinator`&&/^\s+$/.test(e.value)}function iy(e){return e.type===`pseudo`&&(e.value===`:deep`||e.value===`::v-deep`)||!!e.nodes?.some(e=>iy(e))}function ay(e){return e.type===`pseudo`&&(e.value===`:is`||e.value===`:where`||e.value===`:has`||e.value===`:not`)}function oy(e){return e.value===`:is`||e.value===`:where`||e.value===`:has`}function sy(e,t,n,r,i,a,o){let s=n.index(i),c=i.nodes.map((i,c)=>{let l=n.clone();l.first&&(l.first.spaces.before=c===0?n.first.spaces.before:` `);let u=l.at(s),d=i.clone();return d.first&&(d.first.spaces.before=``),u.removeAll(),u.append(d),ny(e,t,l,r,a,o),l});n.replaceWith(...c)}function cy(e){if(!e.nodes)return;let t=e.nodes.filter(e=>e.type===`decl`||e.type===`comment`);if(t.length){for(let n of t)e.removeChild(n);let n=new i_({nodes:t,selector:`&`});e.prepend(n)}}$v.postcss=!0;var ly={},uy={},dy={},fy={},py;function my(){if(py)return fy;py=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return fy.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},fy.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1},fy}var hy;function gy(){if(hy)return dy;hy=1;var e=my(),t=5,n=1<<t,r=n-1,i=n;function a(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var t=(e&1)==1,n=e>>1;return t?-n:n}return dy.encode=function(n){var o=``,s,c=a(n);do s=c&r,c>>>=t,c>0&&(s|=i),o+=e.encode(s);while(c>0);return o},dy.decode=function(n,a,s){var c=n.length,l=0,u=0,d,f;do{if(a>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=e.decode(n.charCodeAt(a++)),f===-1)throw Error(`Invalid base64 digit: `+n.charAt(a-1));d=!!(f&i),f&=r,l+=f<<u,u+=t}while(d);s.value=o(l),s.rest=a},dy}var _y={},vy;function yy(){return vy?_y:(vy=1,(function(e){function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;function o(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=n.split(/\/+/),c,l=0,u=s.length-1;u>=0;u--)c=s[u],c===`.`?s.splice(u,1):c===`..`?l++:l>0&&(c===``?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n}e.normalize=o;function s(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),s=i(e);if(s&&(e=s.path||`/`),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c=t.charAt(0)===`/`?t:o(e.replace(/\/+$/,``)+`/`+t);return s?(s.path=c,a(s)):c}e.join=s,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function c(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=c;var l=function(){return!(`__proto__`in Object.create(null))}();function u(e){return e}function d(e){return p(e)?`$`+e:e}e.toSetString=l?u:d;function f(e){return p(e)?e.slice(1):e}e.fromSetString=l?u:f;function p(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function m(e,t,n){var r=g(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:g(e.name,t.name)}e.compareByOriginalPositions=m;function h(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=g(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:g(e.name,t.name)}e.compareByGeneratedPositionsDeflated=h;function g(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function _(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=g(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:g(e.name,t.name)}e.compareByGeneratedPositionsInflated=_;function v(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=v;function y(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var c=r.path.lastIndexOf(`/`);c>=0&&(r.path=r.path.substring(0,c+1))}t=s(a(r),t)}return o(t)}e.computeSourceURL=y})(_y),_y)}var by={},xy;function Sy(){if(xy)return by;xy=1;var e=yy(),t=Object.prototype.hasOwnProperty,n=typeof Map<`u`;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,i){var a=n?r:e.toSetString(r),o=n?this.has(r):t.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(r),o||(n?this._set.set(r,s):this._set[a]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var i=e.toSetString(r);return t.call(this._set,i)},r.prototype.indexOf=function(r){if(n){var i=this._set.get(r);if(i>=0)return i}else{var a=e.toSetString(r);if(t.call(this._set,a))return this._set[a]}throw Error(`"`+r+`" is not in the set.`)},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},r.prototype.toArray=function(){return this._array.slice()},by.ArraySet=r,by}var Cy={},wy;function Ty(){if(wy)return Cy;wy=1;var e=yy();function t(t,n){var r=t.generatedLine,i=n.generatedLine,a=t.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||e.compareByGeneratedPositionsInflated(t,n)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||=(this._array.sort(e.compareByGeneratedPositionsInflated),!0),this._array},Cy.MappingList=n,Cy}var Ey;function Dy(){if(Ey)return uy;Ey=1;var e=gy(),t=yy(),n=Sy().ArraySet,r=Ty().MappingList;function i(e){e||={},this._file=t.getArg(e,`file`,null),this._sourceRoot=t.getArg(e,`sourceRoot`,null),this._skipValidation=t.getArg(e,`skipValidation`,!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e){var n=e.sourceRoot,r=new i({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(i.source=e.source,n!=null&&(i.source=t.relative(n,i.source)),i.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(i.name=e.name)),r.addMapping(i)}),e.sources.forEach(function(i){var a=i;n!==null&&(a=t.relative(n,i)),r._sources.has(a)||r._sources.add(a);var o=e.sourceContentFor(i);o!=null&&r.setSourceContent(i,o)}),r},i.prototype.addMapping=function(e){var n=t.getArg(e,`generated`),r=t.getArg(e,`original`,null),i=t.getArg(e,`source`,null),a=t.getArg(e,`name`,null);this._skipValidation||this._validateMapping(n,r,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a})},i.prototype.setSourceContent=function(e,n){var r=e;this._sourceRoot!=null&&(r=t.relative(this._sourceRoot,r)),n==null?this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[t.toSetString(r)]=n)},i.prototype.applySourceMap=function(e,r,i){var a=r;if(r==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=t.relative(o,a));var s=new n,c=new n;this._mappings.unsortedForEach(function(n){if(n.source===a&&n.originalLine!=null){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});r.source!=null&&(n.source=r.source,i!=null&&(n.source=t.join(i,n.source)),o!=null&&(n.source=t.relative(o,n.source)),n.originalLine=r.line,n.originalColumn=r.column,r.name!=null&&(n.name=r.name))}var l=n.source;l!=null&&!s.has(l)&&s.add(l);var u=n.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(n){var r=e.sourceContentFor(n);r!=null&&(i!=null&&(n=t.join(i,n)),o!=null&&(n=t.relative(o,n)),this.setSourceContent(n,r))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`)throw Error(`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`);if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw Error(`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r}))},i.prototype._serializeMappings=function(){for(var n=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(n=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!t.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=e.encode(u.generatedColumn-n),n=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=e.encode(f-s),s=f,l+=e.encode(u.originalLine-1-a),a=u.originalLine-1,l+=e.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=e.encode(d-o),o=d)),c+=l}return c},i.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;n!=null&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},uy.SourceMapGenerator=i,uy}var Oy={},ky={},Ay;function jy(){return Ay?ky:(Ay=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})(ky),ky)}var My={},Ny;function Py(){if(Ny)return My;Ny=1;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(e,t){return Math.round(e+Math.random()*(t-e))}function n(r,i,a,o){if(a<o){var s=t(a,o),c=a-1;e(r,s,o);for(var l=r[o],u=a;u<o;u++)i(r[u],l)<=0&&(c+=1,e(r,c,u));e(r,c+1,u);var d=c+1;n(r,i,a,d-1),n(r,i,d+1,o)}}return My.quickSort=function(e,t){n(e,t,0,e.length-1)},My}var Fy;function Iy(){if(Fy)return Oy;Fy=1;var e=yy(),t=jy(),n=Sy().ArraySet,r=gy(),i=Py().quickSort;function a(t,n){var r=t;return typeof t==`string`&&(r=e.parseSourceMapInput(t)),r.sections==null?new o(r,n):new c(r,n)}a.fromSourceMap=function(e,t){return o.fromSourceMap(e,t)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},a.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(t,n,r){var i=n||null,o=r||a.GENERATED_ORDER,s;switch(o){case a.GENERATED_ORDER:s=this._generatedMappings;break;case a.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}var c=this.sourceRoot;s.map(function(t){var n=t.source===null?null:this._sources.at(t.source);return n=e.computeSourceURL(c,n,this._sourceMapURL),{source:n,generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:t.name===null?null:this._names.at(t.name)}},this).forEach(t,i)},a.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,`line`),i={source:e.getArg(n,`source`),originalLine:r,originalColumn:e.getArg(n,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(n.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},Oy.SourceMapConsumer=a;function o(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var a=e.getArg(i,`version`),o=e.getArg(i,`sources`),s=e.getArg(i,`names`,[]),c=e.getArg(i,`sourceRoot`,null),l=e.getArg(i,`sourcesContent`,null),u=e.getArg(i,`mappings`),d=e.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=e.normalize(c),o=o.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=r,this.file=d}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(t){var n=t;if(this.sourceRoot!=null&&(n=e.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1},o.fromSourceMap=function(t,r){var a=Object.create(o.prototype),c=a._names=n.fromArray(t._names.toArray(),!0),l=a._sources=n.fromArray(t._sources.toArray(),!0);a.sourceRoot=t._sourceRoot,a.sourcesContent=t._generateSourcesContent(a._sources.toArray(),a.sourceRoot),a.file=t._file,a._sourceMapURL=r,a._absoluteSources=a._sources.toArray().map(function(t){return e.computeSourceURL(a.sourceRoot,t,r)});for(var u=t._mappings.toArray().slice(),d=a.__generatedMappings=[],f=a.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new s;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=c.indexOf(h.name)),f.push(g)),d.push(g)}return i(a.__originalMappings,e.compareByOriginalPositions),a},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(t,n){for(var a=1,o=0,c=0,l=0,u=0,d=0,f=t.length,p=0,m={},h={},g=[],_=[],v,y,b,x,S;p<f;)if(t.charAt(p)===`;`)a++,p++,o=0;else if(t.charAt(p)===`,`)p++;else{for(v=new s,v.generatedLine=a,x=p;x<f&&!this._charIsMappingSeparator(t,x);x++);if(y=t.slice(p,x),b=m[y],b)p+=y.length;else{for(b=[];p<x;)r.decode(t,p,h),S=h.value,p=h.rest,b.push(S);if(b.length===2)throw Error(`Found a source, but no line and column`);if(b.length===3)throw Error(`Found a source and line, but no column`);m[y]=b}v.generatedColumn=o+b[0],o=v.generatedColumn,b.length>1&&(v.source=u+b[1],u+=b[1],v.originalLine=c+b[2],c=v.originalLine,v.originalLine+=1,v.originalColumn=l+b[3],l=v.originalColumn,b.length>4&&(v.name=d+b[4],d+=b[4])),_.push(v),typeof v.originalLine==`number`&&g.push(v)}i(_,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,i(g,e.compareByOriginalPositions),this.__originalMappings=g},o.prototype._findMapping=function(e,n,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return t.search(e,n,a,o)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,`line`),generatedColumn:e.getArg(t,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,e.compareByGeneratedPositionsDeflated,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var o=e.getArg(i,`source`,null);o!==null&&(o=this._sources.at(o),o=e.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=e.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:o,line:e.getArg(i,`originalLine`,null),column:e.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},o.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i=t;this.sourceRoot!=null&&(i=e.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},o.prototype.generatedPositionFor=function(t){var n=e.getArg(t,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,`line`),originalColumn:e.getArg(t,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:e.getArg(o,`generatedLine`,null),column:e.getArg(o,`generatedColumn`,null),lastColumn:e.getArg(o,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},Oy.BasicSourceMapConsumer=o;function c(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var o=e.getArg(i,`version`),s=e.getArg(i,`sections`);if(o!=this._version)throw Error(`Unsupported version: `+o);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw Error(`Support for url field in sections not implemented.`);var n=e.getArg(t,`offset`),i=e.getArg(n,`line`),o=e.getArg(n,`column`);if(i<c.line||i===c.line&&o<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new a(e.getArg(t,`map`),r)}})}return c.prototype=Object.create(a.prototype),c.prototype.constructor=a,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),c.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,`line`),generatedColumn:e.getArg(n,`column`)},i=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},c.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(e.getArg(t,`source`))!==-1){var i=r.consumer.generatedPositionFor(t);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},c.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var a=this._sections[r],o=a.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=a.consumer._sources.at(c.source);l=e.computeSourceURL(a.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=a.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(a.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(a.generatedOffset.generatedLine===c.generatedLine?a.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},Oy.IndexedSourceMapConsumer=c,Oy}var Ly={},Ry;function zy(){if(Ry)return Ly;Ry=1;var e=Dy().SourceMapGenerator,t=yy(),n=/(\r?\n)/,r=10,i=`$$$isSourceNode$$$`;function a(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=a??null,this[i]=!0,r!=null&&this.add(r)}return a.fromStringWithSourceMap=function(e,r,i){var o=new a,s=e.split(n),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return r.eachMapping(function(e){if(f!==null)if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}for(;u<e.generatedLine;)o.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;o.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),o.add(s.splice(c).join(``))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);n!=null&&(i!=null&&(e=t.join(i,e)),o.setSourceContent(e,n))}),o;function p(e,n){if(e===null||e.source===void 0)o.add(n);else{var r=i?t.join(i,e.source):e.source;o.add(new a(e.originalLine,e.originalColumn,r,n,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[i]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[i]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[i]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},a.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},a.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},a.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;n<r;n++)this.children[n][i]&&this.children[n].walkSourceContents(e);for(var a=Object.keys(this.sourceContents),n=0,r=a.length;n<r;n++)e(t.fromSetString(a[n]),this.sourceContents[a[n]])},a.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},a.prototype.toStringWithSourceMap=function(t){var n={code:``,line:1,column:0},i=new e(t),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(i.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===r?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){i.setSourceContent(e,t)}),{code:n.code,map:i}},Ly.SourceNode=a,Ly}var By;function Vy(){return By?ly:(By=1,ly.SourceMapGenerator=Dy().SourceMapGenerator,ly.SourceMapConsumer=Iy().SourceMapConsumer,ly.SourceNode=zy().SourceNode,ly)}var Hy,Uy;function Wy(){if(Uy)return Hy;Uy=1;var e=Vy(),t=e.SourceMapConsumer,n=e.SourceMapGenerator;Hy=r;function r(e,r){if(!e)return r;if(!r)return e;var i=new t(e),a=new t(r),o=new n;return a.eachMapping(function(e){if(e.originalLine!=null){var t=i.originalPositionFor({line:e.originalLine,column:e.originalColumn});t.source!=null&&o.addMapping({original:{line:t.line,column:t.column},generated:{line:e.generatedLine,column:e.generatedColumn},source:t.source,name:t.name})}}),[i,a].forEach(function(e){e.sources.forEach(function(t){o._sources.add(t);var n=e.sourceContentFor(t);n!=null&&o.setSourceContent(t,n)})}),o._sourceRoot=e.sourceRoot,o._file=e.file,JSON.parse(o.toString())}return Hy}var Gy=Ir(Wy()),Ky=Object.defineProperty,qy=Object.defineProperties,Jy=Object.getOwnPropertyDescriptors,Yy=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,Zy=Object.prototype.propertyIsEnumerable,Qy=(e,t,n)=>t in e?Ky(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$y=(e,t)=>{for(var n in t||={})Xy.call(t,n)&&Qy(e,n,t[n]);if(Yy)for(var n of Yy(t))Zy.call(t,n)&&Qy(e,n,t[n]);return e},eb=(e,t)=>qy(e,Jy(t)),tb=(t,n,r,i=e)=>{let{compileString:a,renderSync:o}=i(`sass`),s=ab(t,r.filename,r.additionalData),c,l,u;try{if(a){let{pathToFileURL:e,fileURLToPath:t}=i(`url`),o=a(s,eb($y({},r),{url:e(r.filename),sourceMap:!!n}));c=o.css,l=o.loadedUrls.map(e=>t(e)),u=n?o.sourceMap:void 0}else{let e=o(eb($y({},r),{data:s,file:r.filename,outFile:r.filename,sourceMap:!!n}));c=e.css.toString(),l=e.stats.includedFiles,u=n?JSON.parse(e.map.toString()):void 0}return n?{code:c,errors:[],dependencies:l,map:Gy(n,u)}:{code:c,errors:[],dependencies:l}}catch(e){return{code:``,errors:[e],dependencies:[]}}},nb=(e,t,n,r)=>tb(e,t,eb($y({},n),{indentedSyntax:!0}),r),rb=(t,n,r,i=e)=>{let a=i(`less`),o,s=null;if(a.render(ab(t,r.filename,r.additionalData),eb($y({},r),{syncImport:!0}),(e,t)=>{s=e,o=t}),s)return{code:``,errors:[s],dependencies:[]};let c=o.imports;return n?{code:o.css.toString(),map:Gy(n,o.map),errors:[],dependencies:c}:{code:o.css.toString(),errors:[],dependencies:c}},ib=(t,n,r,i=e)=>{let a=i(`stylus`);try{let e=a(t,r);n&&e.set(`sourcemap`,{inline:!1,comment:!1});let i=e.render(),o=e.deps();return n?{code:i,map:Gy(n,e.sourcemap),errors:[],dependencies:o}:{code:i,errors:[],dependencies:o}}catch(e){return{code:``,errors:[e],dependencies:[]}}};function ab(e,t,n){return n?m(n)?n(e,t):n+e:e}var ob={less:rb,sass:nb,scss:tb,styl:ib,stylus:ib},sb=Object.defineProperty,cb=Object.defineProperties,lb=Object.getOwnPropertyDescriptors,ub=Object.getOwnPropertySymbols,db=Object.prototype.hasOwnProperty,fb=Object.prototype.propertyIsEnumerable,pb=(e,t,n)=>t in e?sb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mb=(e,t)=>{for(var n in t||={})db.call(t,n)&&pb(e,n,t[n]);if(ub)for(var n of ub(t))fb.call(t,n)&&pb(e,n,t[n]);return e},hb=(e,t)=>cb(e,lb(t));function gb(e){return _b(hb(mb({},e),{isAsync:!0}))}function _b(e){let{filename:t,id:n,scoped:r=!1,trim:i=!0,isProd:a=!1,modules:o=!1,modulesOptions:s={},preprocessLang:c,postcssOptions:l,postcssPlugins:u}=e,d=c&&ob[c],f=d&&vb(e,d),p=f?f.map:e.inMap||e.map,m=f?f.code:e.source,h=n.replace(/^data-v-/,``),g=`data-v-${h}`,_=(u||[]).slice();if(_.unshift(sl({id:h,isProd:a})),i&&_.push(a_()),r&&_.push($v(g)),o)throw Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");let v=hb(mb({},l),{to:t,from:t});p&&(v.map={inline:!1,annotation:!1,prev:p});let y,b,x,S=new Set(f?f.dependencies:[]);S.delete(t);let C=[];f&&f.errors.length&&C.push(...f.errors);let w=e=>(e.forEach(e=>{e.type===`dependency`&&S.add(e.file)}),S);try{if(y=Z(_).process(m,v),e.isAsync)return y.then(e=>({code:e.css||``,map:e.map&&e.map.toJSON(),errors:C,modules:void 0,rawResult:e,dependencies:w(e.messages)})).catch(e=>({code:``,map:void 0,errors:[...C,e],rawResult:void 0,dependencies:S}));w(y.messages),b=y.css,x=y.map}catch(e){C.push(e)}return{code:b||``,map:x&&x.toJSON(),errors:C,rawResult:y,dependencies:S}}function vb(e,t){if(!e.preprocessCustomRequire)throw Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return t(e.source,e.inMap||e.map,mb({filename:e.filename},e.preprocessOptions),e.preprocessCustomRequire)}var yb=`Unknown`;function bb(e,t){switch(e.type){case`StringLiteral`:case`NumericLiteral`:return String(e.value);case`Identifier`:if(!t)return e.name}}function xb(e){return e.filter(e=>!!e).join(`, `)}function Sb(e){return e.type.endsWith(`Literal`)}function Cb(e,t){return!!(e&&t&&e.type===`CallExpression`&&e.callee.type===`Identifier`&&(typeof t==`string`?e.callee.name===t:t(e.callee.name)))}function wb(e){return e.length>1?`[${e.join(`, `)}]`:e[0]}function Tb(e){return e.type===`ImportSpecifier`?e.imported.type===`Identifier`?e.imported.name:e.imported.value:e.type===`ImportNamespaceSpecifier`?`*`:`default`}function Eb(e){return e.type===`Identifier`?e.name:e.type===`StringLiteral`?e.value:null}function Db(e){return e.computed?e.key.type===`TemplateLiteral`&&!e.key.expressions.length?e.key.quasis.map(e=>e.value.cooked).join(``):null:e.key.type===`Identifier`?e.key.name:e.key.type===`StringLiteral`?e.key.value:e.key.type===`NumericLiteral`?String(e.key.value):null}var Ob=(Bu.posix||Bu).normalize,kb=/\\/g;function Ab(e){return Ob(e.replace(kb,`/`))}var jb=(Bu.posix||Bu).join,Mb=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Nb(e){return Mb.test(e)?JSON.stringify(e):e}var Pb=(...e)=>e.some(e=>e===`js`||e===`jsx`),Fb=(...e)=>e.some(e=>e===`ts`||e===`tsx`);function Ib(e){for(let t of e)if(t.type===`ExportDefaultDeclaration`&&t.declaration.type===`ObjectExpression`)return Lb(t.declaration);return{}}function Lb(e){let t={};Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!1});for(let n of e.properties)if(n.type===`ObjectProperty`&&!n.computed&&n.key.type===`Identifier`){if(n.key.name===`props`)for(let e of Bb(n.value))t[e]=`props`;else if(n.key.name===`inject`)for(let e of Bb(n.value))t[e]=`options`;else if(n.value.type===`ObjectExpression`&&(n.key.name===`computed`||n.key.name===`methods`))for(let e of Rb(n.value))t[e]=`options`}else if(n.type===`ObjectMethod`&&n.key.type===`Identifier`&&(n.key.name===`setup`||n.key.name===`data`)){for(let e of n.body.body)if(e.type===`ReturnStatement`&&e.argument&&e.argument.type===`ObjectExpression`)for(let r of Rb(e.argument))t[r]=n.key.name===`setup`?`setup-maybe-ref`:`data`}return t}function Rb(e){let t=[];for(let n of e.properties){if(n.type===`SpreadElement`)continue;let e=bb(n.key,n.computed);e&&t.push(String(e))}return t}function zb(e){let t=[];for(let n of e.elements)n&&n.type===`StringLiteral`&&t.push(n.value);return t}function Bb(e){return e.type===`ArrayExpression`?zb(e):e.type===`ObjectExpression`?Rb(e):[]}var Vb=44,Hb=59,Ub=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Wb=new Uint8Array(64),Gb=new Uint8Array(128);for(let e=0;e<Ub.length;e++){let t=Ub.charCodeAt(e);Wb[e]=t,Gb[t]=e}function Kb(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(Wb[t])}while(r>0);return t}var qb=1024*16,Jb=typeof TextDecoder<`u`?new TextDecoder:n.Buffer===void 0?{decode(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}}:{decode(e){return n.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}},Yb=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(qb)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===qb&&(this.out+=Jb.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+Jb.decode(e.subarray(0,n)):t}};function Xb(e){let t=new Yb,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(Hb),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(Vb),c=Kb(t,o[0],c),o.length!==1&&(n=Kb(t,o[1],n),r=Kb(t,o[2],r),i=Kb(t,o[3],i),o.length!==4&&(a=Kb(t,o[4],a)))}}return t.flush()}var Zb=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},Qb=class e{constructor(e,t,n){this.start=e,this.end=t,this.original=n,this.intro=``,this.outro=``,this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro+=e}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,n){return this.content=e,n||(this.intro=``,this.outro=``),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro=``,this.outro=``,this.edited&&=(this.content=this.original,this.storeName=!1,!1)}split(t){let n=t-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;let a=new e(t,this.end,i);return a.outro=this.outro,this.outro=``,this.end=t,this.edited?(a.edit(``,!1),this.content=``):this.content=r,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,``),this.outro.length)return!0;let t=this.content.replace(e,``);if(t.length)return t!==this.content&&(this.split(this.start+t.length).edit(``,void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0;if(this.edit(``,void 0,!0),this.intro=this.intro.replace(e,``),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,``),this.intro.length)return!0;let t=this.content.replace(e,``);if(t.length){if(t!==this.content){let e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit(``,void 0,!0)}return!0}else if(this.edit(``,void 0,!0),this.outro=this.outro.replace(e,``),this.outro.length)return!0}};function $b(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof n.Buffer==`function`?e=>n.Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var ex=$b(),tx=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Xb(e.mappings),e.x_google_ignoreList!==void 0&&(this.x_google_ignoreList=e.x_google_ignoreList),e.debugId!==void 0&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return`data:application/json;charset=utf-8;base64,`+ex(this.toString())}};function nx(e){let t=e.split(`
90
- `),n=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return` `;let i=r.reduce((e,t)=>{let n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return Array(i+1).join(` `)}function rx(e,t){let n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let e=n.length;for(;e--;)n[e]=`..`}return n.concat(r).join(`/`)}var ix=Object.prototype.toString;function ax(e){return ix.call(e)===`[object Object]`}function ox(e){let t=e.split(`
91
- `),n=[];for(let e=0,r=0;e<t.length;e++)n.push(r),r+=t[e].length+1;return function(e){let t=0,r=n.length;for(;t<r;){let i=t+r>>1;e<n[i]?r=i:t=i+1}let i=t-1;return{line:i,column:e-n[i]}}}var sx=/\w/,cx=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,n,r){if(t.length){let i=t.length-1,a=t.indexOf(`
92
- `,0),o=-1;for(;a>=0&&i>a;){let i=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&i.push(r),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=a,a=t.indexOf(`
93
- `,a+1)}let s=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&s.push(r),this.rawSegments.push(s),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,n,r,i){let a=t.start,o=!0,s=!1;for(;a<t.end;){if(n[a]===`
94
- `)r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,s=!1;else{if(this.hires||o||i.has(a)){let t=[this.generatedCodeColumn,e,r.line,r.column];this.hires===`boundary`?sx.test(n[a])?s||=(this.rawSegments.push(t),!0):(this.rawSegments.push(t),s=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,o=!1}a+=1}this.pending=null}advance(e){if(!e)return;let t=e.split(`
95
- `);if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}},lx=`
96
- `,ux={insertLeft:!1,insertRight:!1,storeName:!1},dx=class e{constructor(e,t={}){let n=new Qb(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:``},intro:{writable:!0,value:``},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Zb},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;let e=n.next,i=e&&e.clone();i&&(r.next=i,i.previous=r,r=i),n=e}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Zb(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e||={};let t=Object.keys(this.storedNames),n=new cx(e.hires),r=ox(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(e=>{let i=r(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,i,e.storeName?t.indexOf(e.original):-1):n.addUneditedChunk(0,e,this.original,i,this.sourcemapLocations),e.outro.length&&n.advance(e.outro)}),this.outro&&n.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?rx(e.file||``,e.source):e.file||``],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new tx(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=nx(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?` `:this.indentStr}indent(e,t){let n=/^[^\r\n]/gm;if(ax(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||` `),e===``)return this;t||={};let r={};t.exclude&&(typeof t.exclude[0]==`number`?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)r[t]=!0});let i=t.indentStart!==!1,a=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(n,a);let o=0,s=this.firstChunk;for(;s;){let t=s.end;if(s.edited)r[o]||(s.content=s.content.replace(n,a),s.content.length&&(i=s.content[s.content.length-1]===`
97
- `));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
98
- `?i=!0:t!==`\r`&&i&&(i=!1,o===s.start?s.prependRight(e):(this._splitChunk(s,o),s=s.next,s.prependRight(e)))}o+=1}o=s.end,s=s.next}return this.outro=this.outro.replace(n,a),this}insert(){throw Error(`magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)`)}insertLeft(e,t){return ux.insertLeft||=(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),!0),this.appendLeft(e,t)}insertRight(e,t){return ux.insertRight||=(console.warn(`magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead`),!0),this.prependRight(e,t)}move(e,t,n){if(e+=this.offset,t+=this.offset,n+=this.offset,n>=e&&n<=t)throw Error(`Cannot move a selection inside itself`);this._split(e),this._split(t),this._split(n);let r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;let c=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),c&&(c.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=c,i.next=s||null,c||(this.firstChunk=r),s||(this.lastChunk=i),this}overwrite(e,t,n,r){return r||={},this.update(e,t,n,{...r,overwrite:!r.contentOnly})}update(e,t,n,r){if(e+=this.offset,t+=this.offset,typeof n!=`string`)throw TypeError(`replacement content must be a string`);if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw Error(`end is out of bounds`);if(e===t)throw Error(`Cannot overwrite a zero-length range – use appendLeft or prependRight instead`);this._split(e),this._split(t),r===!0&&(ux.storeName||=(console.warn(`The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string`),!0),r={storeName:!0});let i=r!==void 0&&r.storeName,a=r!==void 0&&r.overwrite;if(i){let n=this.original.slice(e,t);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],s=this.byEnd[t];if(o){let e=o;for(;e!==s;){if(e.next!==this.byStart[e.end])throw Error(`Cannot overwrite across a split point`);e=e.next,e.edit(``,!1)}o.edit(n,i,!a)}else{let r=new Qb(e,t,``).edit(n,i);s.next=r,r.previous=s}return this}prepend(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.intro=``,n.outro=``,n.edit(``),n=t>n.end?this.byStart[n.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.reset(),n=t>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:``}lastLine(){let e=this.outro.lastIndexOf(lx);if(e!==-1)return this.outro.substr(e+1);let t=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(lx),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(lx),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(lx),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(lx),e===-1?this.intro+t:this.intro.substr(e+1)+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let n=``,r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=r;for(;r;){r.intro&&(i!==r||r.start===e)&&(n+=r.intro);let a=r.start<t&&r.end>=t;if(a&&r.edited&&r.end!==t)throw Error(`Cannot use replaced character ${t} as slice end anchor.`);let o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),r.outro&&(!a||r.end===t)&&(n+=r.outro),a)break;r=r.next}return n}snip(e,t){let n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,n=t,r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===n)return;n=t}}_splitChunk(e,t){if(e.edited&&e.content.length){let n=ox(this.original)(t);throw Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}let n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do t+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return t}trimLines(){return this.trim(`[\\r\\n]`)}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let t=RegExp((e||`\\s`)+`+$`);if(this.outro=this.outro.replace(t,``),this.outro.length)return!0;let n=this.lastChunk;do{let e=n.end,r=n.trimEnd(t);if(n.end!==e&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let t=RegExp(`^`+(e||`\\s`)+`+`);if(this.intro=this.intro.replace(t,``),this.intro.length)return!0;let n=this.firstChunk;do{let e=n.end,r=n.trimStart(t);if(n.end!==e&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function n(e,n){return typeof t==`string`?t.replace(/\$(\$|&|\d+)/g,(t,n)=>n===`$`?`$`:n===`&`?e[0]:+n<e.length?e[+n]:`$${n}`):t(...e,e.index,n,e.groups)}function r(e,t){let n,r=[];for(;n=e.exec(t);)r.push(n);return r}if(e.global)r(e,this.original).forEach(e=>{if(e.index!=null){let t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}});else{let t=this.original.match(e);if(t&&t.index!=null){let e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){let{original:n}=this,r=n.indexOf(e);return r!==-1&&(typeof t==`function`&&(t=t(e,r,n)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return typeof e==`string`?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){let{original:n}=this,r=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+r)){let e=n.slice(i,i+r),a=t;typeof t==`function`&&(a=t(e,i,n)),e!==a&&this.overwrite(i,i+r,a)}return this}replaceAll(e,t){if(typeof e==`string`)return this._replaceAllString(e,t);if(!e.global)throw TypeError(`MagicString.prototype.replaceAll called with a non-global RegExp argument`);return this._replaceRegexp(e,t)}},fx=class{constructor(e,t){this.descriptor=e,this.options=t,this.isCE=!1,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new dx(this.source),this.startOffset=this.descriptor.scriptSetup?.loc.start.offset,this.endOffset=this.descriptor.scriptSetup?.loc.end.offset,this.userImports=Object.create(null),this.hasDefinePropsCall=!1,this.hasDefineEmitCall=!1,this.hasDefineExposeCall=!1,this.hasDefaultExportName=!1,this.hasDefaultExportRender=!1,this.hasDefineOptionsCall=!1,this.hasDefineSlotsCall=!1,this.hasDefineModelCall=!1,this.propsDestructuredBindings=Object.create(null),this.modelDecls=Object.create(null),this.bindingMetadata={},this.helperImports=new Set;let{script:n,scriptSetup:r}=e,i=n&&n.lang,a=r&&r.lang;this.isJS=Pb(i,a),this.isTS=Fb(i,a);let o=t.customElement,s=this.descriptor.filename;o&&(this.isCE=typeof o==`boolean`?o:o(s));let c=mx(i||a,t.babelParserPlugins);function l(t,n){try{return Vr.parse(t,{plugins:c,sourceType:`module`}).program}catch(t){throw t.message=`[vue/compiler-sfc] ${t.message}
99
-
100
- ${e.filename}
101
- ${M(e.source,t.pos+n,t.pos+n+1)}`,t}}this.scriptAst=e.script&&l(e.script.content,e.script.loc.start.offset),this.scriptSetupAst=e.scriptSetup&&l(e.scriptSetup.content,this.startOffset)}helper(e){return this.helperImports.add(e),`_${e}`}getString(e,t=!0){return(t?this.descriptor.scriptSetup:this.descriptor.script).content.slice(e.start,e.end)}warn(e,t,n){oh(px(e,t,this,n))}error(e,t,n){throw Error(`[@vue/compiler-sfc] ${px(e,t,this,n)}`)}};function px(e,t,n,r){let i=r?r.offset:n.startOffset;return`${e}
102
-
103
- ${(r||n.descriptor).filename}
104
- ${M((r||n.descriptor).source,t.start+i,t.end+i)}`}function mx(e,t,n=!1){let r=[];return(!t||!t.some(e=>e===`importAssertions`||e===`importAttributes`||d(e)&&e[0]===`importAttributes`))&&r.push(`importAttributes`),e===`jsx`||e===`tsx`||e===`mtsx`?r.push(`jsx`):t&&=t.filter(e=>e!==`jsx`),(e===`ts`||e===`mts`||e===`tsx`||e===`cts`||e===`mtsx`)&&(r.push([`typescript`,{dts:n}],`explicitResourceManagement`),(!t||!t.includes(`decorators`))&&r.push(`decorators-legacy`)),t&&r.push(...t),r}function hx(e,t,n){if(!gx(e)){t.append(`
105
- const ${n} = {}`);return}e.forEach(e=>{if(e.type===`ExportDefaultDeclaration`)if(e.declaration.type===`ClassDeclaration`&&e.declaration.id){let r=e.declaration.decorators&&e.declaration.decorators.length>0?e.declaration.decorators[e.declaration.decorators.length-1].end:e.start;t.overwrite(r,e.declaration.id.start,` class `),t.append(`
106
- const ${n} = ${e.declaration.id.name}`)}else t.overwrite(e.start,e.declaration.start,`const ${n} = `);else if(e.type===`ExportNamedDeclaration`){for(let r of e.specifiers)if(r.type===`ExportSpecifier`&&r.exported.type===`Identifier`&&r.exported.name==="default"){if(e.source)if(r.local.name==="default"){t.prepend(`import { default as __VUE_DEFAULT__ } from '${e.source.value}'
107
- `);let i=_x(t,r.local.end,e.end);t.remove(r.start,i),t.append(`
108
- const ${n} = __VUE_DEFAULT__`);continue}else{t.prepend(`import { ${t.slice(r.local.start,r.local.end)} as __VUE_DEFAULT__ } from '${e.source.value}'
109
- `);let i=_x(t,r.exported.end,e.end);t.remove(r.start,i),t.append(`
110
- const ${n} = __VUE_DEFAULT__`);continue}let i=_x(t,r.end,e.end);t.remove(r.start,i),t.append(`
111
- const ${n} = ${r.local.name}`)}}})}function gx(e){for(let t of e)if(t.type===`ExportDefaultDeclaration`)return!0;else if(t.type===`ExportNamedDeclaration`&&t.specifiers.some(e=>e.exported.name==="default"))return!0;return!1}function _x(e,t,n){let r=!1,i=t;for(;t<n;)if(/\s/.test(e.slice(t,t+1)))t++;else if(e.slice(t,t+1)===`,`){t++,r=!0;break}else if(e.slice(t,t+1)===`}`)break;return r?t:i}var vx=Object.defineProperty,yx=Object.defineProperties,bx=Object.getOwnPropertyDescriptors,xx=Object.getOwnPropertySymbols,Sx=Object.prototype.hasOwnProperty,Cx=Object.prototype.propertyIsEnumerable,wx=(e,t,n)=>t in e?vx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tx=(e,t)=>{for(var n in t||={})Sx.call(t,n)&&wx(e,n,t[n]);if(xx)for(var n of xx(t))Cx.call(t,n)&&wx(e,n,t[n]);return e},Ex=(e,t)=>yx(e,bx(t)),Dx=`__default__`;function Ox(e,t){let n=e.descriptor.script;try{let r=n.content,i=n.map,a=e.scriptAst,o=Ib(a.body),{cssVars:s}=e.descriptor,{genDefaultAs:c,isProd:l}=e.options;if(s.length||c){let n=c||Dx,i=new dx(r);hx(a.body,i,n),r=i.toString(),s.length&&!e.options.templateOptions?.ssr&&(r+=ll(s,o,t,!!l,n)),c||(r+=`
112
- export default ${n}`)}return Ex(Tx({},n),{content:r,map:i,bindings:o,scriptAst:a.body})}catch{return n}}var kx=Object.defineProperty,Ax=Object.defineProperties,jx=Object.getOwnPropertyDescriptors,Mx=Object.getOwnPropertySymbols,Nx=Object.prototype.hasOwnProperty,Px=Object.prototype.propertyIsEnumerable,Fx=(e,t,n)=>t in e?kx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ix=(e,t)=>{for(var n in t||={})Nx.call(t,n)&&Fx(e,n,t[n]);if(Mx)for(var n of Mx(t))Px.call(t,n)&&Fx(e,n,t[n]);return e},Lx=(e,t)=>Ax(e,jx(t)),Rx=class{constructor(e,t,n=0,r=Object.create(null),i=Object.create(null),a=Object.create(null)){this.filename=e,this.source=t,this.offset=n,this.imports=r,this.types=i,this.declares=a,this.isGenericScope=!1,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}};function zx(e,t){t&&t.filename!==e.filename&&(e.deps||=new Set).add(t.filename)}function Bx(e,{props:t}){for(let n in t)zx(e,t[n]._ownerScope)}function Vx(e,t,n,r){let i=!r;if(i&&t._resolvedElements)return Bx(e,t._resolvedElements),t._resolvedElements;let a=Hx(e,t,t._ownerScope||n||gS(e),r);return i?t._resolvedElements=a:a}function Hx(e,t,n,r){if(Wx(t))return(t.type===`TSIntersectionType`||t.type===`TSUnionType`)&&t.types.length>1?Gx([{props:{}},...t.types.slice(1).map(t=>Vx(e,t,n,r))],t.type):{props:{}};switch(t.type){case`TSTypeLiteral`:return Ux(e,t.members,n,r);case`TSInterfaceDeclaration`:return qx(e,t,n,r);case`TSTypeAliasDeclaration`:case`TSTypeAnnotation`:case`TSParenthesizedType`:return Vx(e,t.typeAnnotation,n,r);case`TSFunctionType`:return{props:{},calls:[t]};case`TSUnionType`:case`TSIntersectionType`:return Gx(t.types.map(t=>Vx(e,t,n,r)),t.type);case`TSMappedType`:return Jx(e,t,n,r);case`TSIndexedAccessType`:return Gx(Yx(e,t,n).map(t=>Vx(e,t,t._ownerScope)),`TSUnionType`);case`TSExpressionWithTypeArguments`:case`TSTypeReference`:{let i=rS(t);if((i===`ExtractPropTypes`||i===`ExtractPublicPropTypes`)&&t.typeParameters&&n.imports[i]?.source===`vue`)return kS(Vx(e,t.typeParameters.params[0],n,r),n);let a=tS(e,t,n);if(a){let n;return(a.type===`TSTypeAliasDeclaration`||a.type===`TSInterfaceDeclaration`)&&a.typeParameters&&t.typeParameters&&(n=Object.create(null),a.typeParameters.params.forEach((e,i)=>{let a=r&&r[e.name];a||=t.typeParameters.params[i],n[e.name]=a})),Vx(e,a,a._ownerScope,n)}else{if(typeof i==`string`){if(r&&r[i])return Vx(e,r[i],n,r);if($x.has(i))return eS(e,t,i,n,r);if(i===`ReturnType`&&t.typeParameters){let r=NS(e,t.typeParameters.params[0],n);if(r)return Vx(e,r,n)}}return e.error(`Unresolvable type reference or unsupported built-in utility type`,t,n)}}case`TSImportType`:{if(Eb(t.argument)===`vue`&&t.qualifier?.type===`Identifier`&&t.qualifier.name===`ExtractPropTypes`&&t.typeParameters)return kS(Vx(e,t.typeParameters.params[0],n),n);let r=tS(e,t,uS(e,t.argument,n,t.argument.value));if(r)return Vx(e,r,r._ownerScope);break}case`TSTypeQuery`:{let r=tS(e,t,n);if(r)return Vx(e,r,r._ownerScope)}break}return e.error(`Unresolvable type: ${t.type}`,t,n)}function Ux(e,t,n=gS(e),r){let i={props:{}};for(let a of t)if(a.type===`TSPropertySignature`||a.type===`TSMethodSignature`){r&&(n=vS(n),n.isGenericScope=!0,Object.assign(n.types,r)),a._ownerScope=n;let t=Db(a);t===null?e.error(`Unsupported computed key in type referenced by a macro`,a.key,n):i.props[t]=a}else a.type===`TSCallSignatureDeclaration`&&(i.calls||=[]).push(a);return i}function Wx(e){return!!(e.leadingComments&&e.leadingComments.some(e=>e.value.includes(`@vue-ignore`)))}function Gx(e,t){if(e.length===1)return e[0];let n={props:{}},{props:r}=n;for(let{props:i,calls:a}of e){for(let e in i)u(r,e)?r[e]=Kx(r[e].key,{type:t,types:[r[e],i[e]]},r[e]._ownerScope,r[e].optional||i[e].optional):r[e]=i[e];a&&(n.calls||=[]).push(...a)}return n}function Kx(e,t,n,r){return{type:`TSPropertySignature`,key:e,kind:`get`,optional:r,typeAnnotation:{type:`TSTypeAnnotation`,typeAnnotation:t},_ownerScope:n}}function qx(e,t,n,r){let i=Ux(e,t.body.body,t._ownerScope,r);if(t.extends)for(let r of t.extends)try{let{props:t,calls:a}=Vx(e,r,n);for(let e in t)u(i.props,e)||(i.props[e]=t[e]);a&&(i.calls||=[]).push(...a)}catch{e.silentOnExtendsFailure||e.error(`Failed to resolve extends base type.
113
- If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
114
-
115
- interface Props extends /* @vue-ignore */ Base {}
116
-
117
- Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,r,n)}return i}function Jx(e,t,n,r){let i={props:{}},a;if(t.nameType){let{name:i,constraint:o}=t.typeParameter;n=vS(n),Object.assign(n.types,Lx(Ix({},r),{[i]:o})),a=Zx(e,t.nameType,n)}else a=Zx(e,t.typeParameter.constraint,n);for(let e of a)i.props[e]=Kx({type:`Identifier`,name:e},t.typeAnnotation,n,!!t.optional);return i}function Yx(e,t,n){if(t.indexType.type===`TSNumberKeyword`)return Xx(e,t.objectType,n);let{indexType:r,objectType:i}=t,a=[],o,s;r.type===`TSStringKeyword`?(s=Vx(e,i,n),o=Object.keys(s.props)):(o=Zx(e,r,n),s=Vx(e,i,n));for(let e of o){let t=s.props[e]?.typeAnnotation?.typeAnnotation;t&&(t._ownerScope=s.props[e]._ownerScope,a.push(t))}return a}function Xx(e,t,n){if(t.type===`TSArrayType`)return[t.elementType];if(t.type===`TSTupleType`)return t.elementTypes.map(e=>e.type===`TSNamedTupleMember`?e.elementType:e);if(t.type===`TSTypeReference`){if(rS(t)===`Array`&&t.typeParameters)return t.typeParameters.params;{let r=tS(e,t,n);if(r)return Xx(e,r,n)}}return e.error(`Failed to resolve element type from target type`,t,n)}function Zx(e,t,n,r){switch(t.type){case`StringLiteral`:return[t.value];case`TSLiteralType`:return Zx(e,t.literal,n,r);case`TSUnionType`:return t.types.map(t=>Zx(e,t,n,r)).flat();case`TemplateLiteral`:return Qx(e,t,n);case`TSTypeReference`:{let i=tS(e,t,n);if(i)return Zx(e,i,n,r);if(t.typeName.type===`Identifier`){let i=t.typeName.name;if(r&&r[i])return Zx(e,r[i],n,r);let a=(i=0)=>Zx(e,t.typeParameters.params[i],n,r);switch(i){case`Extract`:return a(1);case`Exclude`:{let e=a(1);return a().filter(t=>!e.includes(t))}case`Uppercase`:return a().map(e=>e.toUpperCase());case`Lowercase`:return a().map(e=>e.toLowerCase());case`Capitalize`:return a().map(D);case`Uncapitalize`:return a().map(e=>e[0].toLowerCase()+e.slice(1));default:e.error(`Unsupported type when resolving index type`,t.typeName,n)}}}}return e.error(`Failed to resolve index type into finite keys`,t,n)}function Qx(e,t,n){if(!t.expressions.length)return[t.quasis[0].value.raw];let r=[],i=t.expressions[0],a=t.quasis[0],o=a?a.value.raw:``,s=Zx(e,i,n),c=Qx(e,Lx(Ix({},t),{expressions:t.expressions.slice(1),quasis:a?t.quasis.slice(1):t.quasis}),n);for(let e of s)for(let t of c)r.push(o+e+t);return r}var $x=new Set([`Partial`,`Required`,`Readonly`,`Pick`,`Omit`]);function eS(e,t,n,r,i){let a=Vx(e,t.typeParameters.params[0],r,i);switch(n){case`Partial`:{let e={props:{},calls:a.calls};return Object.keys(a.props).forEach(t=>{e.props[t]=Lx(Ix({},a.props[t]),{optional:!0})}),e}case`Required`:{let e={props:{},calls:a.calls};return Object.keys(a.props).forEach(t=>{e.props[t]=Lx(Ix({},a.props[t]),{optional:!1})}),e}case`Readonly`:return a;case`Pick`:{let n=Zx(e,t.typeParameters.params[1],r,i),o={props:{},calls:a.calls};for(let e of n)o.props[e]=a.props[e];return o}case`Omit`:let n=Zx(e,t.typeParameters.params[1],r,i),o={props:{},calls:a.calls};for(let e in a.props)n.includes(e)||(o.props[e]=a.props[e]);return o}}function tS(e,t,n,r,i=!1){let a=!n?.isGenericScope;if(a&&t._resolvedReference)return zx(e,t._resolvedReference._ownerScope),t._resolvedReference;let o=nS(e,n||gS(e),r||rS(t),t,i);return a?t._resolvedReference=o:o}function nS(e,t,n,r,i){if(typeof n==`string`){if(t.imports[n])return lS(e,r,n,t);{let a=r.type===`TSTypeQuery`?i?t.exportedDeclares:t.declares:i?t.exportedTypes:t.types;if(a[n])return a[n];{let t=aS(e);if(t)for(let i of t){let t=r.type===`TSTypeQuery`?i.declares:i.types;if(t[n]){(e.deps||=new Set).add(i.filename);let r=t[n];return r._ownerScope&&r._ownerScope!==i&&e.deps.add(r._ownerScope.filename),r}}}}}else{let a=nS(e,t,n[0],r,i);if(a&&(a.type!==`TSModuleDeclaration`&&(a=a._ns),a))return nS(e,_S(e,a,a._ownerScope||t),n.length>2?n.slice(1):n[n.length-1],r,!a.declare)}}function rS(e){let t=e.type===`TSTypeReference`?e.typeName:e.type===`TSExpressionWithTypeArguments`?e.expression:e.type===`TSImportType`?e.qualifier:e.exprName;return t?.type===`Identifier`?t.name:t?.type===`TSQualifiedName`?iS(t):`default`}function iS(e){return e.type===`Identifier`?[e.name]:[...iS(e.left),e.right.name]}function aS(e){if(e.options.globalTypeFiles){if(!cS(e))throw Error(`[vue/compiler-sfc] globalTypeFiles requires fs access.`);return e.options.globalTypeFiles.map(t=>mS(e,Ab(t),!0))}}var oS,sS;function cS(e){if(e.fs)return e.fs;!oS&&sS&&(oS=sS());let t=e.options.fs||oS?.sys;if(t)return e.fs={fileExists(e){return e.endsWith(`.vue.ts`)&&!e.endsWith(`.d.vue.ts`)&&(e=e.replace(/\.ts$/,``)),t.fileExists(e)},readFile(e){return e.endsWith(`.vue.ts`)&&!e.endsWith(`.d.vue.ts`)&&(e=e.replace(/\.ts$/,``)),t.readFile(e)},realpath:t.realpath}}function lS(e,t,n,r){let{source:i,imported:a}=r.imports[n];return tS(e,t,uS(e,t,r,i),a,!0)}function uS(e,t,n,r,i=!0){let a;try{a=cS(e)}catch(r){return e.error(r.message,t,n)}if(!a)return e.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",t,n);let o=n.resolvedImportSources[r];if(!o){if(r.startsWith(`..`))o=dS(jb(Lu(n.filename),r),a);else if(r[0]===`.`)o=dS(jb(Lu(n.filename),r),a);else return e.error(`Type import from non-relative sources is not supported in the browser build.`,t,n);!o&&r[0],o&&=n.resolvedImportSources[r]=Ab(o)}return o?(i&&(e.deps||=new Set).add(o),mS(e,o)):e.error(`Failed to resolve import source ${JSON.stringify(r)}.`,t,n)}function dS(e,t){let n=`u`;e.endsWith(`.mjs`)?n=`m`:e.endsWith(`.cjs`)&&(n=`c`),e=e.replace(/\.[cm]?jsx?$/,``);let r=e=>{if(t.fileExists(e))return e},i=()=>r(e+`.ts`)||r(e+`.tsx`)||r(e+`.d.ts`),a=()=>r(e+`.mts`)||r(e+`.d.mts`),o=()=>r(e+`.cts`)||r(e+`.d.cts`);return r(e)||(n===`m`?a()||i():n===`c`?o()||i():i()||a()||o())||r(jb(e,`index.ts`))||r(jb(e,`index.tsx`))||r(jb(e,`index.d.ts`))}var fS=Zl(),pS=Zl();function mS(e,t,n=!1){let r=n?pS:fS,i=r.get(t);if(i)return i;let a=cS(e),o=a.readFile(t)||``,s=hS(t,o,a,e.options.babelParserPlugins),c=new Rx(t,o,0,wS(s));return bS(e,s,c,n),r.set(t,c),c}function hS(e,t,n,r){let i=zu(e);if(i===`.ts`||i===`.mts`||i===`.tsx`||i===`.cts`||i===`.mtsx`)return Vr.parse(t,{plugins:mx(i.slice(1),r,/\.d\.[cm]?ts$/.test(e)),sourceType:`module`}).program.body;let a=!/\.[cm]?[tj]sx?$/.test(e),o=`${e.slice(0,-i.length)}.d${i}.ts`;if(a&&n.fileExists(o))return Vr.parse(n.readFile(o),{plugins:mx(`ts`,r,!0),sourceType:`module`}).program.body;if(i===`.vue`){let{descriptor:{script:e,scriptSetup:n}}=hu(t);if(!e&&!n)return[];let i=e?e.loc.start.offset:1/0,a=n?n.loc.start.offset:1/0,o=i<a?e:n,s=i<a?n:e,c=` `.repeat(Math.min(i,a))+o.content;s&&(c+=` `.repeat(s.loc.start.offset-e.loc.end.offset)+s.content);let l=e?.lang||n?.lang;return Vr.parse(c,{plugins:mx(l,r),sourceType:`module`}).program.body}return[]}function gS(e){if(e.scope)return e.scope;let t=`ast`in e?e.ast:e.scriptAst?[...e.scriptAst.body,...e.scriptSetupAst.body]:e.scriptSetupAst.body,n=new Rx(e.filename,e.source,`startOffset`in e?e.startOffset:0,`userImports`in e?Object.create(e.userImports):wS(t));return bS(e,t,n),e.scope=n}function _S(e,t,n){if(t._resolvedChildScope)return t._resolvedChildScope;let r=vS(n);if(t.body.type===`TSModuleDeclaration`){let e=t.body;e._ownerScope=r;let n=Eb(e.id);r.types[n]=r.exportedTypes[n]=e}else bS(e,t.body.body,r);return t._resolvedChildScope=r}function vS(e){return new Rx(e.filename,e.source,e.offset,Object.create(e.imports),Object.create(e.types),Object.create(e.declares))}var yS=/^Import|^Export/;function bS(e,t,n,r=!1){let{types:i,declares:a,exportedTypes:o,exportedDeclares:s,imports:c}=n,l=r?!t.some(e=>yS.test(e.type)):!1;for(let o of t)if(r){if(l)o.declare&&xS(o,i,a);else if(o.type===`TSModuleDeclaration`&&o.global)for(let t of o.body.body)if(t.type===`ExportNamedDeclaration`){if(t.declaration)xS(t.declaration,i,a);else if(t.source){let r=uS(e,t.source,n,t.source.value,!1);for(let e of t.specifiers)if(e.type===`ExportSpecifier`){let t=Eb(e.exported),n=e.local.name;r.exportedTypes[n]&&(i[t]=r.exportedTypes[n]),r.exportedDeclares[n]&&(a[t]=r.exportedDeclares[n])}}}else if(t.type===`ExportAllDeclaration`&&t.source){let r=uS(e,t.source,n,t.source.value,!1);Object.assign(i,r.exportedTypes),Object.assign(a,r.exportedDeclares)}else xS(t,i,a)}else xS(o,i,a);if(!r)for(let r of t)if(r.type===`ExportNamedDeclaration`){if(r.declaration)xS(r.declaration,i,a),xS(r.declaration,o,s);else for(let e of r.specifiers)if(e.type===`ExportSpecifier`){let t=e.local.name,a=Eb(e.exported);r.source?(c[a]={source:r.source.value,imported:t},o[a]={type:`TSTypeReference`,typeName:{type:`Identifier`,name:t},_ownerScope:n}):i[t]&&(o[a]=i[t])}}else if(r.type===`ExportAllDeclaration`){let t=uS(e,r.source,n,r.source.value);Object.assign(n.exportedTypes,t.exportedTypes)}else r.type===`ExportDefaultDeclaration`&&r.declaration&&(r.declaration.type===`Identifier`?i[r.declaration.name]&&(o.default=i[r.declaration.name]):(xS(r.declaration,i,a,`default`),xS(r.declaration,o,s,`default`)));for(let e of Object.keys(i)){let t=i[e];t._ownerScope||=n,t._ns&&!t._ns._ownerScope&&(t._ns._ownerScope=n)}for(let e of Object.keys(a))a[e]._ownerScope||(a[e]._ownerScope=n)}function xS(e,t,n,r){switch(e.type){case`TSInterfaceDeclaration`:case`TSEnumDeclaration`:case`TSModuleDeclaration`:{if(e.type===`TSModuleDeclaration`&&e.global){let r=e.body;for(let e of r.body)e.type===`ExportNamedDeclaration`&&e.declaration?xS(e.declaration,t,n):xS(e,t,n);break}let i=r||Eb(e.id),a=t[i];if(a){if(e.type===`TSModuleDeclaration`){a.type===`TSModuleDeclaration`?SS(a,e):CS(a,e);break}if(a.type===`TSModuleDeclaration`){t[i]=e,CS(e,a);break}if(a.type!==e.type)break;e.type===`TSInterfaceDeclaration`?a.body.body.push(...e.body.body):a.members.push(...e.members)}else t[i]=e;break}case`ClassDeclaration`:(r||e.id)&&(t[r||Eb(e.id)]=e);break;case`TSTypeAliasDeclaration`:t[e.id.name]=e.typeParameters?e:e.typeAnnotation;break;case`TSDeclareFunction`:e.id&&(n[e.id.name]=e);break;case`VariableDeclaration`:if(e.declare)for(let t of e.declarations)t.id.type===`Identifier`&&t.id.typeAnnotation&&(n[t.id.name]=t.id.typeAnnotation.typeAnnotation);break}}function SS(e,t){let n=e.body,r=t.body;n.type===`TSModuleDeclaration`?r.type===`TSModuleDeclaration`?SS(n,r):r.body.push({type:`ExportNamedDeclaration`,declaration:n,exportKind:`type`,specifiers:[]}):r.type===`TSModuleDeclaration`?n.body.push({type:`ExportNamedDeclaration`,declaration:r,exportKind:`type`,specifiers:[]}):n.body.push(...r.body)}function CS(e,t){e._ns?SS(e._ns,t):e._ns=t}function wS(e){let t=Object.create(null);for(let n of e)TS(n,t);return t}function TS(e,t){if(e.type===`ImportDeclaration`)for(let n of e.specifiers)t[n.local.name]={imported:Tb(n),source:e.source.value}}function ES(e,t,n=t._ownerScope||gS(e),r=!1,i){if(t.leadingComments&&t.leadingComments.some(e=>e.value.includes(`@vue-ignore`)))return[yb];let a=e.silentOnExtendsFailure;e.silentOnExtendsFailure=!0;try{switch(t.type){case`TSStringKeyword`:return[`String`];case`TSNumberKeyword`:return[`Number`];case`TSBooleanKeyword`:return[`Boolean`];case`TSObjectKeyword`:return[`Object`];case`TSNullKeyword`:return[`null`];case`TSTypeLiteral`:case`TSInterfaceDeclaration`:{let i=new Set,a=t.type===`TSTypeLiteral`?t.members:t.body.body;for(let t of a)if(r)if(t.type===`TSPropertySignature`&&t.key.type===`NumericLiteral`)i.add(`Number`);else if(t.type===`TSIndexSignature`){let r=t.parameters[0].typeAnnotation;if(r&&r.type!==`Noop`){let t=ES(e,r.typeAnnotation,n)[0];if(t===yb)return[yb];i.add(t)}}else i.add(`String`);else t.type===`TSCallSignatureDeclaration`||t.type===`TSConstructSignatureDeclaration`?i.add(`Function`):i.add(`Object`);return i.size?Array.from(i):[r?yb:`Object`]}case`TSPropertySignature`:if(t.typeAnnotation)return ES(e,t.typeAnnotation.typeAnnotation,n);break;case`TSMethodSignature`:case`TSFunctionType`:return[`Function`];case`TSArrayType`:case`TSTupleType`:return[`Array`];case`TSLiteralType`:switch(t.literal.type){case`StringLiteral`:return[`String`];case`BooleanLiteral`:return[`Boolean`];case`NumericLiteral`:case`BigIntLiteral`:return[`Number`];default:return[yb]}case`TSTypeReference`:{let a;try{a=tS(e,t,n)}catch{}if(a){if(a.type===`TSTypeAliasDeclaration`){if(a.typeAnnotation.type===`TSFunctionType`)return[`Function`];if(t.typeParameters){let n=Object.create(null);return a.typeParameters&&a.typeParameters.params.forEach((e,r)=>{n[e.name]=t.typeParameters.params[r]}),ES(e,a.typeAnnotation,a._ownerScope,r,n)}}return ES(e,a,a._ownerScope,r)}if(t.typeName.type===`Identifier`){if(i&&i[t.typeName.name])return ES(e,i[t.typeName.name],n,r,i);if(r)switch(t.typeName.name){case`String`:case`Array`:case`ArrayLike`:case`Parameters`:case`ConstructorParameters`:case`ReadonlyArray`:return[`String`,`Number`];case`Record`:case`Partial`:case`Required`:case`Readonly`:if(t.typeParameters&&t.typeParameters.params[0])return ES(e,t.typeParameters.params[0],n,!0);break;case`Pick`:case`Extract`:if(t.typeParameters&&t.typeParameters.params[1])return ES(e,t.typeParameters.params[1],n);break;case`Function`:case`Object`:case`Set`:case`Map`:case`WeakSet`:case`WeakMap`:case`Date`:case`Promise`:case`Error`:case`Uppercase`:case`Lowercase`:case`Capitalize`:case`Uncapitalize`:case`ReadonlyMap`:case`ReadonlySet`:return[`String`]}else switch(t.typeName.name){case`Array`:case`Function`:case`Object`:case`Set`:case`Map`:case`WeakSet`:case`WeakMap`:case`Date`:case`Promise`:case`Error`:return[t.typeName.name];case`Partial`:case`Required`:case`Readonly`:case`Record`:case`Pick`:case`Omit`:case`InstanceType`:return[`Object`];case`Uppercase`:case`Lowercase`:case`Capitalize`:case`Uncapitalize`:return[`String`];case`Parameters`:case`ConstructorParameters`:case`ReadonlyArray`:return[`Array`];case`ReadonlyMap`:return[`Map`];case`ReadonlySet`:return[`Set`];case`Ref`:case`ShallowRef`:case`ComputedRef`:case`WritableComputedRef`:return[`Object`];case`MaybeRef`:case`MaybeRefOrGetter`:{let r=new Set([`Object`]);if(t.typeName.name===`MaybeRefOrGetter`&&r.add(`Function`),t.typeParameters&&t.typeParameters.params[0])for(let a of ES(e,t.typeParameters.params[0],n,!1,i))r.add(a);return Array.from(r)}case`NonNullable`:if(t.typeParameters&&t.typeParameters.params[0])return ES(e,t.typeParameters.params[0],n).filter(e=>e!==`null`);break;case`Extract`:if(t.typeParameters&&t.typeParameters.params[1])return ES(e,t.typeParameters.params[1],n);break;case`Exclude`:case`OmitThisParameter`:if(t.typeParameters&&t.typeParameters.params[0])return ES(e,t.typeParameters.params[0],n);break}}break}case`TSParenthesizedType`:return ES(e,t.typeAnnotation,n);case`TSUnionType`:return DS(e,t.types,n,r,i);case`TSIntersectionType`:return DS(e,t.types,n,r,i).filter(e=>e!==yb);case`TSMappedType`:{let{typeAnnotation:r,typeParameter:a}=t;if(r&&r.type===`TSIndexedAccessType`&&a&&a.constraint&&i){let t=a.constraint;if(t.type===`TSTypeOperator`&&t.operator===`keyof`&&t.typeAnnotation&&t.typeAnnotation.type===`TSTypeReference`&&t.typeAnnotation.typeName.type===`Identifier`){let o=t.typeAnnotation.typeName.name,s=r.indexType,c=r.objectType;if(c&&c.type===`TSTypeReference`&&c.typeName.type===`Identifier`&&c.typeName.name===o&&s&&s.type===`TSTypeReference`&&s.typeName.type===`Identifier`&&s.typeName.name===a.name){let t=i[o];if(t)return ES(e,t,n)}}}return[yb]}case`TSEnumDeclaration`:return OS(t);case`TSSymbolKeyword`:return[`Symbol`];case`TSIndexedAccessType`:return DS(e,Yx(e,t,n),n,r);case`ClassDeclaration`:return[`Object`];case`TSImportType`:{let r=tS(e,t,uS(e,t.argument,n,t.argument.value));if(r)return ES(e,r,r._ownerScope);break}case`TSTypeQuery`:{let i=t.exprName;if(i.type===`Identifier`){let t=n.declares[i.name];if(t)return ES(e,t,t._ownerScope,r)}break}case`TSTypeOperator`:return ES(e,t.typeAnnotation,n,t.operator===`keyof`);case`TSAnyKeyword`:if(r)return[`String`,`Number`,`Symbol`];break}}catch{}finally{e.silentOnExtendsFailure=a}return[yb]}function DS(e,t,n,r=!1,i=void 0){return t.length===1?ES(e,t[0],t[0]._ownerScope||n,r,i):[...new Set([].concat(...t.map(t=>ES(e,t,t._ownerScope||n,r,i))))]}function OS(e){let t=new Set;for(let n of e.members)if(n.initializer)switch(n.initializer.type){case`StringLiteral`:t.add(`String`);break;case`NumericLiteral`:t.add(`Number`);break}return t.size?[...t]:[`Number`]}function kS({props:e},t){let n={props:{}};for(let r in e){let i=e[r];n.props[r]=AS(i.key,i.typeAnnotation.typeAnnotation,t)}return n}function AS(e,t,n,r=!0,i=!0){if(i&&t.type===`TSTypeLiteral`){let r=MS(t,`type`);if(r){let i=MS(t,`required`);return AS(e,r,n,i&&i.type===`TSLiteralType`&&i.literal.type===`BooleanLiteral`?!i.literal.value:!0,!1)}}else if(t.type===`TSTypeReference`&&t.typeName.type===`Identifier`){if(t.typeName.name.endsWith(`Constructor`))return Kx(e,jS(t.typeName.name),n,r);if(t.typeName.name===`PropType`&&t.typeParameters)return Kx(e,t.typeParameters.params[0],n,r)}if((t.type===`TSTypeReference`||t.type===`TSImportType`)&&t.typeParameters)for(let i of t.typeParameters.params){let t=AS(e,i,n,r);if(t)return t}return Kx(e,{type:`TSNullKeyword`},n,r)}function jS(e){let t=e.slice(0,-11);switch(t){case`String`:case`Number`:case`Boolean`:return{type:`TS${t}Keyword`};case`Array`:case`Function`:case`Object`:case`Set`:case`Map`:case`WeakSet`:case`WeakMap`:case`Date`:case`Promise`:return{type:`TSTypeReference`,typeName:{type:`Identifier`,name:t}}}return{type:`TSNullKeyword`}}function MS(e,t){let n=e.members.find(e=>e.type===`TSPropertySignature`&&Db(e)===t&&e.typeAnnotation);return n&&n.typeAnnotation.typeAnnotation}function NS(e,t,n){let r=t;if((t.type===`TSTypeReference`||t.type===`TSTypeQuery`||t.type===`TSImportType`)&&(r=tS(e,t,n)),r){if(r.type===`TSFunctionType`)return r.typeAnnotation?.typeAnnotation;if(r.type===`TSDeclareFunction`)return r.returnType}}function PS(e,t,n){if(t.type===`TSTypeReference`){let r=tS(e,t,n);r&&(t=r)}let r;return r=t.type===`TSUnionType`?t.types.flatMap(t=>PS(e,t,n)):[t],r}var FS=`defineModel`;function IS(e,t,n){if(!Cb(t,FS))return!1;e.hasDefineModelCall=!0;let r=t.typeParameters&&t.typeParameters.params[0]||void 0,i,a,o=t.arguments[0]&&ci(t.arguments[0]),s=o&&(o.type===`StringLiteral`||o.type===`TemplateLiteral`&&o.expressions.length===0);s?(i=o.type===`StringLiteral`?o.value:o.quasis[0].value.cooked,a=t.arguments[1]):(i=`modelValue`,a=o),e.modelDecls[i]&&e.error(`duplicate model name ${JSON.stringify(i)}`,t);let c=a&&e.getString(a),l=!a,u=[];if(a&&a.type===`ObjectExpression`&&!a.properties.some(e=>e.type===`SpreadElement`||e.computed)){let t=0;for(let n=a.properties.length-1;n>=0;n--){let r=a.properties[n],i=a.properties[n+1],o=r.start,s=i?i.start:a.end-1;(r.type===`ObjectProperty`||r.type===`ObjectMethod`)&&(r.key.type===`Identifier`&&(r.key.name===`get`||r.key.name===`set`)||r.key.type===`StringLiteral`&&(r.key.value===`get`||r.key.value===`set`))?c=c.slice(0,o-a.start)+c.slice(s-a.start):(t++,e.s.remove(e.startOffset+o,e.startOffset+s),u.push(r))}t===a.properties.length&&(l=!0,e.s.remove(e.startOffset+(s?o.end:a.start),e.startOffset+a.end))}return e.modelDecls[i]={type:r,options:c,runtimeOptionNodes:u,identifier:n&&n.type===`Identifier`?n.name:void 0},e.bindingMetadata[i]=`props`,e.s.overwrite(e.startOffset+t.callee.start,e.startOffset+t.callee.end,e.helper(`useModel`)),e.s.appendLeft(e.startOffset+(t.arguments.length?t.arguments[0].start:t.end-1),`__props, `+(s?``:`${JSON.stringify(i)}${l?``:`, `}`)),!0}function LS(e){if(!e.hasDefineModelCall)return;let t=!!e.options.isProd,n=``;for(let[r,{type:i,options:a}]of Object.entries(e.modelDecls)){let o=!1,s=``,c=i&&ES(e,i);if(c){let e=c.includes(`Boolean`),n=c.includes(`Function`);c.includes(yb)&&(e||n?(c=c.filter(e=>e!==yb),o=!0):c=[`null`]),t?(e||a&&n)&&(s=`type: ${wb(c)}`):s=`type: ${wb(c)}`+(o?`, skipCheck: true`:``)}let l;l=s&&a?e.isTS?`{ ${s}, ...${a} }`:`Object.assign({ ${s} }, ${a})`:s?`{ ${s} }`:a||`{}`,n+=`
118
- ${JSON.stringify(r)}: ${l},`;let u=JSON.stringify(r===`modelValue`?`modelModifiers`:`${r}Modifiers`);n+=`
119
- ${u}: {},`}return`{${n}
120
- }`}var RS=`defineProps`,zS=`withDefaults`;function BS(e,t,n,r=!1){if(!Cb(t,RS))return VS(e,t,n);if(e.hasDefinePropsCall&&e.error(`duplicate ${RS}() call`,t),e.hasDefinePropsCall=!0,e.propsRuntimeDecl=t.arguments[0],e.propsRuntimeDecl)for(let t of Bb(e.propsRuntimeDecl))t in e.bindingMetadata||(e.bindingMetadata[t]=`props`);return t.typeParameters&&(e.propsRuntimeDecl&&e.error(`${RS}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.propsTypeDecl=t.typeParameters.params[0]),!r&&n&&n.type===`ObjectPattern`&&YS(e,n),e.propsCall=t,e.propsDecl=n,!0}function VS(e,t,n){return Cb(t,zS)?(BS(e,t.arguments[0],n,!0)||e.error(`${zS}' first argument must be a ${RS} call.`,t.arguments[0]||t),e.propsRuntimeDecl&&e.error(`${zS} can only be used with type-based ${RS} declaration.`,t),n&&n.type===`ObjectPattern`&&e.warn(`${zS}() is unnecessary when using destructure with ${RS}().
121
- Reactive destructure will be disabled when using withDefaults().
122
- Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,t.callee),e.propsRuntimeDefaults=t.arguments[1],e.propsRuntimeDefaults||e.error(`The 2nd argument of ${zS} is required.`,t),e.propsCall=t,!0):!1}function HS(e){let t;if(e.propsRuntimeDecl){if(t=e.getString(e.propsRuntimeDecl).trim(),e.propsDestructureDecl){let n=[];for(let t in e.propsDestructuredBindings){let r=qS(e,t),i=Nb(t);r&&n.push(`${i}: ${r.valueString}${r.needSkipFactory?`, __skip_${i}: true`:``}`)}n.length&&(t=`/*@__PURE__*/${e.helper(`mergeDefaults`)}(${t}, {
123
- ${n.join(`,
124
- `)}
125
- })`)}}else e.propsTypeDecl&&(t=US(e));let n=LS(e);return t&&n?`/*@__PURE__*/${e.helper(`mergeModels`)}(${t}, ${n})`:n||t}function US(e){let t=WS(e,e.propsTypeDecl);if(!t.length)return;let n=[],r=KS(e);for(let i of t)n.push(GS(e,i,r)),`bindingMetadata`in e&&!(i.key in e.bindingMetadata)&&(e.bindingMetadata[i.key]=`props`);let i=`{
126
- ${n.join(`,
127
- `)}
128
- }`;return e.propsRuntimeDefaults&&!r&&(i=`/*@__PURE__*/${e.helper(`mergeDefaults`)}(${i}, ${e.getString(e.propsRuntimeDefaults)})`),i}function WS(e,t){let n=[],r=Vx(e,t);for(let t in r.props){let i=r.props[t],a=ES(e,i),o=!1;a.includes(yb)&&(a.includes(`Boolean`)||a.includes(`Function`)?(a=a.filter(e=>e!==yb),o=!0):a=[`null`]),n.push({key:t,required:!i.optional,type:a||[`null`],skipCheck:o})}return n}function GS(e,{key:t,required:n,type:r,skipCheck:i},a){let o,s=qS(e,t,r);if(s)o=`default: ${s.valueString}${s.needSkipFactory?`, skipFactory: true`:``}`;else if(a){let n=e.propsRuntimeDefaults.properties.find(e=>e.type!==`SpreadElement`&&bb(e.key,e.computed)===t);if(n)if(n.type===`ObjectProperty`)o=`default: ${e.getString(n.value)}`;else{let t=``;if(n.params.length){let r=n.params[0].start,i=n.params[n.params.length-1].end;t=e.getString({start:r,end:i})}o=`${n.async?`async `:``}${n.kind===`method`?``:`${n.kind} `}default(${t}) ${e.getString(n.body)}`}}let c=Nb(t);return e.options.isProd?r.some(e=>e===`Boolean`||(!a||o)&&e===`Function`)?`${c}: { ${xb([`type: ${wb(r)}`,o])} }`:e.isCE?o?`${c}: ${`{ ${o}, type: ${wb(r)} }`}`:`${c}: {type: ${wb(r)}}`:`${c}: ${o?`{ ${o} }`:`{}`}`:`${c}: { ${xb([`type: ${wb(r)}`,`required: ${n}`,i&&`skipCheck: true`,o])} }`}function KS(e){return!!(e.propsRuntimeDefaults&&e.propsRuntimeDefaults.type===`ObjectExpression`&&e.propsRuntimeDefaults.properties.every(e=>e.type!==`SpreadElement`&&(!e.computed||e.key.type.endsWith(`Literal`))))}function qS(e,t,n){let r=e.propsDestructuredBindings[t],i=r&&r.default;if(i){let r=e.getString(i),a=ci(i);if(n&&n.length&&!n.includes(`null`)){let r=JS(a);r&&!n.includes(r)&&e.error(`Default value of prop "${t}" does not match declared type.`,a)}let o=!n&&(ri(a)||a.type===`Identifier`);return{valueString:!o&&!Sb(a)&&!n?.includes(`Function`)?`() => (${r})`:r,needSkipFactory:o}}}function JS(e){switch(e.type){case`StringLiteral`:return`String`;case`NumericLiteral`:return`Number`;case`BooleanLiteral`:return`Boolean`;case`ObjectExpression`:return`Object`;case`ArrayExpression`:return`Array`;case`FunctionExpression`:case`ArrowFunctionExpression`:return`Function`}}function YS(e,t){if(e.options.propsDestructure===`error`)e.error(`Props destructure is explicitly prohibited via config.`,t);else if(e.options.propsDestructure===!1)return;e.propsDestructureDecl=t;let n=(t,n,r)=>{e.propsDestructuredBindings[t]={local:n,default:r},n!==t&&(e.bindingMetadata[n]=`props-aliased`,(e.bindingMetadata.__propsAliases||(e.bindingMetadata.__propsAliases={}))[n]=t)};for(let r of t.properties)if(r.type===`ObjectProperty`){let t=bb(r.key,r.computed);if(t||e.error(`${RS}() destructure cannot use computed key.`,r.key),r.value.type===`AssignmentPattern`){let{left:i,right:a}=r.value;i.type!==`Identifier`&&e.error(`${RS}() destructure does not support nested patterns.`,i),n(t,i.name,a)}else r.value.type===`Identifier`?n(t,r.value.name):e.error(`${RS}() destructure does not support nested patterns.`,r.value)}else e.propsDestructureRestId=r.argument.name,e.bindingMetadata[e.propsDestructureRestId]=`setup-reactive-const`}function XS(e,t){if(e.options.propsDestructure===!1)return;let n=Object.create(null),r=[n],i=[n],a=n,o=new WeakSet,s=[],c=Object.create(null);for(let t in e.propsDestructuredBindings){let{local:r}=e.propsDestructuredBindings[t];n[r]=!0,c[r]=t}function l(e=!1){let t=a=Object.create(a);r.push(t),e&&i.push(t)}function u(e=!1){r.pop(),e&&i.pop(),a=r[r.length-1]||null}function d(t,n=a){o.add(t),n?n[t.name]=!1:e.error(`registerBinding called without active scope, something is wrong.`,t)}function f(e,t=!1){for(let n of e.body)if(n.type===`VariableDeclaration`)p(n,t);else if(n.type===`FunctionDeclaration`||n.type===`ClassDeclaration`){if(n.declare||!n.id)continue;d(n.id)}else n.type===`ExportNamedDeclaration`&&n.declaration&&n.declaration.type===`VariableDeclaration`?p(n.declaration,t):n.type===`LabeledStatement`&&n.body.type===`VariableDeclaration`&&p(n.body,t)}function p(e,t=!1,n=e.kind===`var`?i[i.length-1]:a){if(!e.declare)for(let r of e.declarations){let e=t&&r.init&&Cb(ci(r.init),`defineProps`);for(let t of ei(r.id))e?o.add(t):d(t,n)}}function m(e,t=!1){let n=i[i.length-1];Wr(e,{enter(r,i){if(i&&i.type.startsWith(`TS`)&&!si.includes(i.type)||ri(r)||r.type===`ClassDeclaration`||r.type===`ClassExpression`)return this.skip();r.type===`VariableDeclaration`&&r.kind===`var`&&p(r,t&&i===e,n)}})}function h(t,n,r){(n.type===`AssignmentExpression`&&t===n.left||n.type===`UpdateExpression`)&&e.error(`Cannot assign to destructured props as they are readonly.`,t),ii(n)&&n.shorthand?(!n.inPattern||qr(n,r))&&e.s.appendLeft(t.end+e.startOffset,`: ${A(c[t.name])}`):e.s.overwrite(t.start+e.startOffset,t.end+e.startOffset,A(c[t.name]))}function g(t,n,r=n){if(Cb(t,r)){let r=ci(t.arguments[0]);r.type===`Identifier`&&a[r.name]&&e.error(`"${r.name}" is a destructured prop and should not be passed directly to ${n}(). Pass a getter () => ${r.name} instead.`,r)}}let _=e.scriptSetupAst;m(_,!0),f(_,!0),Wr(_,{enter(e,n){if(n&&s.push(n),n&&n.type.startsWith(`TS`)&&!si.includes(n.type))return this.skip();if(g(e,`watch`,t.watch),g(e,`toRef`,t.toRef),ri(e)){l(!0),Yr(e,d),e.body.type===`BlockStatement`&&(m(e.body),f(e.body));return}if(e.type===`CatchClause`){l(),e.param&&e.param.type===`Identifier`&&d(e.param),f(e.body);return}if(e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`){l();let t=e.type===`ForStatement`?e.init:e.left;t&&t.type===`VariableDeclaration`&&p(t),e.body.type===`BlockStatement`&&f(e.body);return}if(e.type===`BlockStatement`&&!ri(n)){l(),f(e);return}e.type===`Identifier`&&Kr(e,n,s)&&!o.has(e)&&a[e.name]&&h(e,n,s)},leave(e,t){t&&s.pop(),ri(e)?u(!0):(e.type===`BlockStatement`&&!ri(t)||e.type===`CatchClause`||e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`)&&u()}})}var ZS=`defineEmits`;function QS(e,t,n){return Cb(t,ZS)?(e.hasDefineEmitCall&&e.error(`duplicate ${ZS}() call`,t),e.hasDefineEmitCall=!0,e.emitsRuntimeDecl=t.arguments[0],t.typeParameters&&(e.emitsRuntimeDecl&&e.error(`${ZS}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.emitsTypeDecl=t.typeParameters.params[0]),e.emitDecl=n,!0):!1}function $S(e){let t=``;if(e.emitsRuntimeDecl)t=e.getString(e.emitsRuntimeDecl).trim();else if(e.emitsTypeDecl){let n=eC(e);t=n.size?`[${Array.from(n).map(e=>JSON.stringify(e)).join(`, `)}]`:``}if(e.hasDefineModelCall){let n=`[${Object.keys(e.modelDecls).map(e=>JSON.stringify(`update:${e}`)).join(`, `)}]`;t=t?`/*@__PURE__*/${e.helper(`mergeModels`)}(${t}, ${n})`:n}return t}function eC(e){let t=new Set,n=e.emitsTypeDecl;if(n.type===`TSFunctionType`)return tC(e,n.parameters[0],t),t;let{props:r,calls:i}=Vx(e,n),a=!1;for(let e in r)t.add(e),a=!0;if(i){a&&e.error(`defineEmits() type cannot mixed call signature and property syntax.`,n);for(let n of i)tC(e,n.parameters[0],t)}return t}function tC(e,t,n){if(t.type===`Identifier`&&t.typeAnnotation&&t.typeAnnotation.type===`TSTypeAnnotation`){let r=PS(e,t.typeAnnotation.typeAnnotation);for(let e of r)e.type===`TSLiteralType`&&e.literal.type!==`UnaryExpression`&&e.literal.type!==`TemplateLiteral`&&n.add(String(e.literal.value))}}var nC=`defineExpose`;function rC(e,t){return Cb(t,nC)?(e.hasDefineExposeCall&&e.error(`duplicate ${nC}() call`,t),e.hasDefineExposeCall=!0,!0):!1}var iC=`defineSlots`;function aC(e,t,n){return Cb(t,iC)?(e.hasDefineSlotsCall&&e.error(`duplicate ${iC}() call`,t),e.hasDefineSlotsCall=!0,t.arguments.length>0&&e.error(`${iC}() cannot accept arguments`,t),n&&e.s.overwrite(e.startOffset+t.start,e.startOffset+t.end,`${e.helper(`useSlots`)}()`),!0):!1}var oC=`defineOptions`;function sC(e,t){if(!Cb(t,oC))return!1;if(e.hasDefineOptionsCall&&e.error(`duplicate ${oC}() call`,t),t.typeParameters&&e.error(`${oC}() cannot accept type arguments`,t),!t.arguments[0])return!0;e.hasDefineOptionsCall=!0,e.optionsRuntimeDecl=ci(t.arguments[0]);let n,r,i,a;if(e.optionsRuntimeDecl.type===`ObjectExpression`){for(let t of e.optionsRuntimeDecl.properties)if((t.type===`ObjectProperty`||t.type===`ObjectMethod`)&&t.key.type===`Identifier`)switch(t.key.name){case`props`:n=t;break;case`emits`:r=t;break;case`expose`:i=t;break;case`slots`:a=t;break}}return n&&e.error(`${oC}() cannot be used to declare props. Use ${RS}() instead.`,n),r&&e.error(`${oC}() cannot be used to declare emits. Use ${ZS}() instead.`,r),i&&e.error(`${oC}() cannot be used to declare expose. Use ${nC}() instead.`,i),a&&e.error(`${oC}() cannot be used to declare slots. Use ${iC}() instead.`,a),!0}function cC(e,t,n,r){let i=t.argument.extra&&t.argument.extra.parenthesized?t.argument.extra.parenStart:t.argument.start,a=e.startOffset,o=e.descriptor.source.slice(i+a,t.argument.end+a),s=/\bawait\b/.test(o);e.s.overwrite(t.start+a,i+a,`${n?`;`:``}(
129
- ([__temp,__restore] = ${e.helper(`withAsyncContext`)}(${s?`async `:``}() => `),e.s.appendLeft(t.end+a,`)),
130
- ${r?``:`__temp = `}await __temp,
131
- __restore()${r?``:`,
132
- __temp`}
133
- )`)}var lC=Object.defineProperty,uC=Object.defineProperties,dC=Object.getOwnPropertyDescriptors,fC=Object.getOwnPropertySymbols,pC=Object.prototype.hasOwnProperty,mC=Object.prototype.propertyIsEnumerable,hC=(e,t,n)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gC=(e,t)=>{for(var n in t||={})pC.call(t,n)&&hC(e,n,t[n]);if(fC)for(var n of fC(t))mC.call(t,n)&&hC(e,n,t[n]);return e},_C=(e,t)=>uC(e,dC(t)),vC=[RS,ZS,nC,oC,iC,FS,zS];function yC(e,t){t.id||ah("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");let{script:n,scriptSetup:r,source:i,filename:a}=e,o=t.hoistStatic!==!1&&!n,s=t.id?t.id.replace(/^data-v-/,``):``,c=n&&n.lang,l=r&&r.lang,u=Pb(c,l)||Fb(c,l);if(n&&r&&c!==l)throw Error(`[@vue/compiler-sfc] <script> and <script setup> must have the same language type.`);if(!r){if(!n)throw Error(`[@vue/compiler-sfc] SFC contains no <script> tags.`);return n.lang&&!u?n:Ox(new fx(e,t),s)}if(l&&!u)return r;let d=new fx(e,t),f=Object.create(null),p=Object.create(null),m,h=!1,g=!1,_=d.startOffset,v=d.endOffset,y=n&&n.loc.start.offset,b=n&&n.loc.end.offset;function x(e){let t=e.start+_,n=e.end+_;for(e.trailingComments&&e.trailingComments.length>0&&(n=e.trailingComments[e.trailingComments.length-1].end+_);n<=i.length&&/\s/.test(i.charAt(n));)n++;d.s.move(t,n,0)}function S(t,n,r,i,a,o){let s=o;o&&d.isTS&&e.template&&!e.template.src&&!e.template.lang&&(s=Ql(n,e)),d.userImports[n]={isType:i,imported:r,local:n,source:t,isFromSetup:a,isUsedInTemplate:s}}function C(e,t){e&&Gr(e,e=>{let n=p[e.name];n&&n!==`literal-const`&&d.error(`\`${t}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,e)})}let w=d.scriptAst,T=d.scriptSetupAst;if(w){for(let e of w.body)if(e.type===`ImportDeclaration`)for(let n of e.specifiers){let r=Tb(n);S(e.source.value,n.local.name,r,e.importKind===`type`||n.type===`ImportSpecifier`&&n.importKind===`type`,!1,!t.inlineTemplate)}}for(let e of T.body)if(e.type===`ImportDeclaration`){x(e);let n=0,r=t=>{let r=t>n;n++;let i=e.specifiers[t],a=e.specifiers[t+1];d.s.remove(r?e.specifiers[t-1].end+_:i.start+_,a&&!r?a.start+_:i.end+_)};for(let n=0;n<e.specifiers.length;n++){let i=e.specifiers[n],a=i.local.name,o=Tb(i),s=e.source.value,c=d.userImports[a];s===`vue`&&vC.includes(o)?(a===o?ah(`\`${o}\` is a compiler macro and no longer needs to be imported.`):d.error(`\`${o}\` is a compiler macro and cannot be aliased to a different name.`,i),r(n)):c?c.source===s&&c.imported===o?r(n):d.error(`different imports aliased to same local name.`,i):S(s,a,o,e.importKind===`type`||i.type===`ImportSpecifier`&&i.importKind===`type`,!0,!t.inlineTemplate)}e.specifiers.length&&n===e.specifiers.length&&d.s.remove(e.start+_,e.end+_)}let E={};for(let e in d.userImports){let{source:t,imported:n,local:r}=d.userImports[e];t===`vue`&&(E[n]=r)}if(n&&w){for(let e of w.body)if(e.type===`ExportDefaultDeclaration`){m=e;let t;if(m.declaration.type===`ObjectExpression`?t=m.declaration.properties:m.declaration.type===`CallExpression`&&m.declaration.arguments[0]&&m.declaration.arguments[0].type===`ObjectExpression`&&(t=m.declaration.arguments[0].properties),t)for(let e of t)e.type===`ObjectProperty`&&e.key.type===`Identifier`&&e.key.name===`name`&&(d.hasDefaultExportName=!0),(e.type===`ObjectMethod`||e.type===`ObjectProperty`)&&e.key.type===`Identifier`&&e.key.name===`render`&&(d.hasDefaultExportRender=!0);let n=e.start+y,r=e.declaration.start+y;d.s.overwrite(n,r,`const ${Dx} = `)}else if(e.type===`ExportNamedDeclaration`){let t=e.specifiers.find(e=>e.exported.type===`Identifier`&&e.exported.name==="default");t&&(m=e,e.specifiers.length>1?d.s.remove(t.start+y,t.end+y):d.s.remove(e.start+y,e.end+y),e.source?d.s.prepend(`import { ${t.local.name} as ${Dx} } from '${e.source.value}'
134
- `):d.s.appendLeft(b,`
135
- const ${Dx} = ${t.local.name}
136
- `)),e.declaration&&xC(`script`,e.declaration,f,E,o)}else(e.type===`VariableDeclaration`||e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`||e.type===`TSEnumDeclaration`)&&!e.declare&&xC(`script`,e,f,E,o);y>_&&(/\n$/.test(n.content.trim())||d.s.appendLeft(b,`
137
- `),d.s.move(y,b,0))}for(let e of T.body){if(e.type===`ExpressionStatement`){let t=ci(e.expression);if(BS(d,t)||QS(d,t)||sC(d,t)||aC(d,t))d.s.remove(e.start+_,e.end+_);else if(rC(d,t)){let e=t.callee;d.s.overwrite(e.start+_,e.end+_,`__expose`)}else IS(d,t)}if(e.type===`VariableDeclaration`&&!e.declare){let t=e.declarations.length,n=t,r;for(let i=0;i<t;i++){let a=e.declarations[i],o=a.init&&ci(a.init);if(o){sC(d,o)&&d.error(`${oC}() has no returning value, it cannot be assigned.`,e);let s=BS(d,o,a.id);d.propsDestructureRestId&&(p[d.propsDestructureRestId]=`setup-reactive-const`);let c=!s&&QS(d,o,a.id);if(!c&&(aC(d,o,a.id)||IS(d,o,a.id)),s&&!d.propsDestructureRestId&&d.propsDestructureDecl)if(n===1)d.s.remove(e.start+_,e.end+_);else{let o=a.start+_,s=a.end+_;i===t-1?o=e.declarations[r].end+_:s=e.declarations[i+1].start+_,d.s.remove(o,s),n--}else c?d.s.overwrite(_+o.start,_+o.end,`__emit`):r=i}}}let t=!1;if((e.type===`VariableDeclaration`||e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`||e.type===`TSEnumDeclaration`)&&!e.declare&&(t=xC(`scriptSetup`,e,p,E,o,!!d.propsDestructureDecl)),o&&t&&x(e),e.type===`VariableDeclaration`&&!e.declare||e.type.endsWith(`Statement`)){let t=[T.body];Wr(e,{enter(e,n){if(ri(e)&&this.skip(),e.type===`BlockStatement`&&t.push(e.body),e.type===`AwaitExpression`){h=!0;let r=t[t.length-1].some((n,r)=>(t.length===1||r>0)&&n.type===`ExpressionStatement`&&n.start===e.start);cC(d,e,r,n.type===`ExpressionStatement`)}},exit(e){e.type===`BlockStatement`&&t.pop()}})}(e.type===`ExportNamedDeclaration`&&e.exportKind!==`type`||e.type===`ExportAllDeclaration`||e.type===`ExportDefaultDeclaration`)&&d.error(`<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.`,e),d.isTS&&(e.type.startsWith(`TS`)||e.type===`ExportNamedDeclaration`&&e.exportKind===`type`||e.type===`VariableDeclaration`&&e.declare)&&e.type!==`TSEnumDeclaration`&&x(e)}d.propsDestructureDecl&&XS(d,E),C(d.propsRuntimeDecl,RS),C(d.propsRuntimeDefaults,RS),C(d.propsDestructureDecl,RS),C(d.emitsRuntimeDecl,ZS),C(d.optionsRuntimeDecl,oC);for(let{runtimeOptionNodes:e}of Object.values(d.modelDecls))for(let t of e)C(t,FS);n?_<y?(d.s.remove(0,_),d.s.remove(v,y),d.s.remove(b,i.length)):(d.s.remove(0,y),d.s.remove(b,_),d.s.remove(v,i.length)):(d.s.remove(0,_),d.s.remove(v,i.length)),w&&Object.assign(d.bindingMetadata,Ib(w.body));for(let[e,{isType:t,imported:n,source:r}]of Object.entries(d.userImports))t||(d.bindingMetadata[e]=n===`*`||n==="default"&&r.endsWith(`.vue`)||r===`vue`?`setup-const`:`setup-maybe-ref`);for(let e in f)d.bindingMetadata[e]=f[e];for(let e in p)d.bindingMetadata[e]=p[e];if(e.template&&!e.template.src&&e.template.ast){let t=eu(e);if(t.size){let e=new Set;for(let n of t)p[n]===`setup-reactive-const`&&e.add(n);if(e.size){for(let t of T.body)if(t.type===`VariableDeclaration`&&t.kind===`const`&&!t.declare){let n=[];for(let r of t.declarations)r.id.type===`Identifier`&&e.has(r.id.name)&&n.push(r.id.name);if(n.length){d.s.overwrite(t.start+_,t.start+_+5,`let`);for(let e of n)p[e]=`setup-let`,d.bindingMetadata[e]=`setup-let`,ah(`\`v-model\` cannot update a \`const\` reactive binding \`${e}\`. The compiler has transformed it to \`let\` to make the update work.`)}}}}}e.cssVars.length&&!t.templateOptions?.ssr&&(d.helperImports.add(el),d.helperImports.add(`unref`),d.s.prependLeft(_,`
138
- ${cl(e.cssVars,d.bindingMetadata,s,!!t.isProd)}
139
- `));let ee=`__props`;if(d.propsTypeDecl&&(ee+=`: any`),d.propsDecl&&(d.propsDestructureRestId?(d.s.overwrite(_+d.propsCall.start,_+d.propsCall.end,`${d.helper(`createPropsRestProxy`)}(__props, ${JSON.stringify(Object.keys(d.propsDestructuredBindings))})`),d.s.overwrite(_+d.propsDestructureDecl.start,_+d.propsDestructureDecl.end,d.propsDestructureRestId)):d.propsDestructureDecl||d.s.overwrite(_+d.propsCall.start,_+d.propsCall.end,`__props`)),h){let e=d.isTS?`: any`:``;d.s.prependLeft(_,`
140
- let __temp${e}, __restore${e}
141
- `)}let D=d.hasDefineExposeCall||!t.inlineTemplate?[`expose: __expose`]:[];d.emitDecl&&D.push(`emit: __emit`),D.length&&(ee+=`, { ${D.join(`, `)} }`);let O,k,A=HS(d);if(!t.inlineTemplate||!e.template&&d.hasDefaultExportRender){let e=gC(gC({},f),p);for(let t in d.userImports)!d.userImports[t].isType&&d.userImports[t].isUsedInTemplate&&(e[t]=!0);k=`{ `;for(let t in e)if(e[t]===!0&&d.userImports[t].source!==`vue`&&!d.userImports[t].source.endsWith(`.vue`))k+=`get ${t}() { return ${t} }, `;else if(d.bindingMetadata[t]===`setup-let`){let e=t===`v`?`_v`:`v`;k+=`get ${t}() { return ${t} }, set ${t}(${e}) { ${t} = ${e} }, `}else k+=`${t}, `;k=k.replace(/, $/,``)+` }`}else if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&(g=!0);let{code:n,ast:r,preamble:o,tips:c,errors:l,map:u}=_h(_C(gC({filename:a,ast:e.template.ast,source:e.template.content,inMap:e.template.map},t.templateOptions),{id:s,scoped:e.styles.some(e=>e.scoped),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:_C(gC({},t.templateOptions&&t.templateOptions.compilerOptions),{inline:!0,isTS:d.isTS,bindingMetadata:d.bindingMetadata})}));O=u,c.length&&c.forEach(ah);let f=l[0];if(typeof f==`string`)throw Error(f);if(f)throw f.loc&&(f.message+=`
142
-
143
- `+e.filename+`
144
- `+M(i,f.loc.start.offset,f.loc.end.offset)+`
145
- `),f;o&&d.s.prepend(o),r&&r.helpers.has(mt)&&d.helperImports.delete(`unref`),k=n}else k=`() => {}`;t.inlineTemplate?d.s.appendRight(v,`
146
- return ${k}
147
- }
148
-
149
- `):d.s.appendRight(v,`
150
- const __returned__ = ${k}
151
- Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
152
- return __returned__
153
- }
154
-
155
- `);let te=t.genDefaultAs?`const ${t.genDefaultAs} =`:`export default`,j=``;if(!d.hasDefaultExportName&&a&&a!==pu){let e=a.match(/([^/\\]+)\.\w+$/);e&&(j+=`
156
- __name: '${e[1]}',`)}g&&(j+=`
157
- __ssrInlineRender: true,`),A&&(j+=`
158
- props: ${A},`);let ne=$S(d);ne&&(j+=`
159
- emits: ${ne},`);let re=``;d.optionsRuntimeDecl&&(re=r.content.slice(d.optionsRuntimeDecl.start,d.optionsRuntimeDecl.end).trim());let ie=d.hasDefineExposeCall||t.inlineTemplate?``:` __expose();
160
- `;if(d.isTS){let e=(m?`
161
- ...${Dx},`:``)+(re?`
162
- ...${re},`:``);d.s.prependLeft(_,`
163
- ${te} /*@__PURE__*/${d.helper(`defineComponent`)}({${e}${j}
164
- ${h?`async `:``}setup(${ee}) {
165
- ${ie}`),d.s.appendRight(v,`})`)}else m||re?(d.s.prependLeft(_,`
166
- ${te} /*@__PURE__*/Object.assign(${m?`${Dx}, `:``}${re?`${re}, `:``}{${j}
167
- ${h?`async `:``}setup(${ee}) {
168
- ${ie}`),d.s.appendRight(v,`})`)):(d.s.prependLeft(_,`
169
- ${te} {${j}
170
- ${h?`async `:``}setup(${ee}) {
171
- ${ie}`),d.s.appendRight(v,`}`));if(d.helperImports.size>0){let e=t.templateOptions?.compilerOptions?.runtimeModuleName,n=e?JSON.stringify(e):`'vue'`;d.s.prepend(`import { ${[...d.helperImports].map(e=>`${e} as _${e}`).join(`, `)} } from ${n}
172
- `)}let N=d.s.toString(),ae=t.sourceMap===!1?void 0:d.s.generateMap({source:a,hires:!0,includeContent:!0});if(O&&ae){let e=N.indexOf(k),t=N.slice(0,e).split(/\r?\n/).length-1;ae=DC(ae,O,t)}return _C(gC({},r),{bindings:d.bindingMetadata,imports:d.userImports,content:N,map:ae,scriptAst:w?.body,scriptSetupAst:T?.body,deps:d.deps?[...d.deps]:void 0})}function bC(e,t,n){e[t.name]=n}function xC(e,t,n,r,i,a=!1){let o=!1;if(t.type===`VariableDeclaration`){let s=t.kind===`const`;o=s&&t.declarations.every(e=>e.id.type===`Identifier`&&EC(e.init));for(let{id:c,init:l}of t.declarations){let t=l&&ci(l),u=s&&Cb(t,e=>e===RS||e===ZS||e===zS||e===iC);if(c.type===`Identifier`){let a,l=r.reactive;a=(i||e===`script`)&&(o||s&&EC(t))?`literal-const`:Cb(t,l)?s?`setup-reactive-const`:`setup-let`:u||s&&TC(t,l)?Cb(t,RS)?`setup-reactive-const`:`setup-const`:s?Cb(t,e=>e===r.ref||e===r.computed||e===r.shallowRef||e===r.customRef||e===r.toRef||e===r.useTemplateRef||e===FS)?`setup-ref`:`setup-maybe-ref`:`setup-let`,bC(n,c,a)}else{if(Cb(t,RS)&&a)continue;c.type===`ObjectPattern`?SC(c,n,s,u):c.type===`ArrayPattern`&&CC(c,n,s,u)}}}else t.type===`TSEnumDeclaration`?(o=t.members.every(e=>!e.initializer||EC(e.initializer)),n[t.id.name]=o?`literal-const`:`setup-const`):(t.type===`FunctionDeclaration`||t.type===`ClassDeclaration`)&&(n[t.id.name]=`setup-const`);return o}function SC(e,t,n,r=!1){for(let i of e.properties)if(i.type===`ObjectProperty`)if(i.key.type===`Identifier`&&i.key===i.value){let e=r?`setup-const`:n?`setup-maybe-ref`:`setup-let`;bC(t,i.key,e)}else wC(i.value,t,n,r);else{let e=n?`setup-const`:`setup-let`;bC(t,i.argument,e)}}function CC(e,t,n,r=!1){for(let i of e.elements)i&&wC(i,t,n,r)}function wC(e,t,n,r=!1){if(e.type===`Identifier`)bC(t,e,r?`setup-const`:n?`setup-maybe-ref`:`setup-let`);else if(e.type===`RestElement`){let r=n?`setup-const`:`setup-let`;bC(t,e.argument,r)}else if(e.type===`ObjectPattern`)SC(e,t,n);else if(e.type===`ArrayPattern`)CC(e,t,n);else if(e.type===`AssignmentPattern`)if(e.left.type===`Identifier`){let i=r?`setup-const`:n?`setup-maybe-ref`:`setup-let`;bC(t,e.left,i)}else wC(e.left,t,n)}function TC(e,t){if(Cb(e,t))return!0;switch(e.type){case`UnaryExpression`:case`BinaryExpression`:case`ArrayExpression`:case`ObjectExpression`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`UpdateExpression`:case`ClassExpression`:case`TaggedTemplateExpression`:return!0;case`SequenceExpression`:return TC(e.expressions[e.expressions.length-1],t);default:return!!Sb(e)}}function EC(e){switch(e=ci(e),e.type){case`UnaryExpression`:return EC(e.argument);case`LogicalExpression`:case`BinaryExpression`:return EC(e.left)&&EC(e.right);case`ConditionalExpression`:return EC(e.test)&&EC(e.consequent)&&EC(e.alternate);case`SequenceExpression`:case`TemplateLiteral`:return e.expressions.every(e=>EC(e));case`ParenthesizedExpression`:return EC(e.expression);case`StringLiteral`:case`NumericLiteral`:case`BooleanLiteral`:case`NullLiteral`:case`BigIntLiteral`:return!0}return!1}function DC(e,t,n){let r=new So.SourceMapGenerator,i=(e,t=0)=>{let n=new So.SourceMapConsumer(e);n.sources.forEach(e=>{r._sources.add(e);let t=n.sourceContentFor(e);t!=null&&r.setSourceContent(e,t)}),n.eachMapping(e=>{e.originalLine!=null&&r.addMapping({generated:{line:e.generatedLine+t,column:e.generatedColumn},original:{line:e.originalLine,column:e.originalColumn},source:e.source,name:e.name})})};return i(e),i(t,n),r._sourceRoot=e.sourceRoot,r._file=e.file,r.toJSON()}var OC=Object.defineProperty,kC=Object.getOwnPropertySymbols,AC=Object.prototype.hasOwnProperty,jC=Object.prototype.propertyIsEnumerable,MC=(e,t,n)=>t in e?OC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,NC=(e,t)=>{for(var n in t||={})AC.call(t,n)&&MC(e,n,t[n]);if(kC)for(var n of kC(t))jC.call(t,n)&&MC(e,n,t[n]);return e};NC(NC({},Fr),pc),Vr.parse;export{hu as i,gb as n,_h as r,yC as t};