setupin 3.3.0 → 3.3.1
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.
- package/dist/main.js +37795 -45970
- package/dist/main.prod.js +151 -158
- package/package.json +10 -9
package/dist/main.prod.js
CHANGED
|
@@ -1,194 +1,189 @@
|
|
|
1
|
-
|
|
1
|
+
(function(){function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}function n(n){var r=t(n,`string`);return e(r)==`symbol`?r:r+``}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?i(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function s(e,t){if(e==null)return{};var n,r,i=o(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){c(a,r,i,o,s,`next`,e)}function s(e){c(a,r,i,o,s,`throw`,e)}o(void 0)})}}var u=[`inputs`],d=[`inputId`],f=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function p({id:e,appName:t,isScoped:n,mount:r}){return{initCode:`let ${t} = {}`,createAppCode:`
|
|
2
2
|
import { createApp as _createApp, defineComponent as _defineComponent, h as _h, Suspense as _Suspense } from 'vue'
|
|
3
3
|
_createApp(_defineComponent(
|
|
4
|
-
String(${
|
|
4
|
+
String(${t}.setup).startsWith('async')
|
|
5
5
|
? () => () => _h(_Suspense, null, {
|
|
6
|
-
default: _h(${
|
|
6
|
+
default: _h(${t}),
|
|
7
7
|
fallback: _h('div', 'Loading...'),
|
|
8
8
|
})
|
|
9
|
-
: ${
|
|
10
|
-
)).mount("${
|
|
11
|
-
`,scopeIdCode:
|
|
12
|
-
* @vue/compiler-sfc v3.5.13
|
|
13
|
-
|
|
14
|
-
* @license MIT
|
|
15
|
-
**//*! #__NO_SIDE_EFFECTS__ */function ge(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const Fe=Object.freeze({}),st=()=>{},ar=()=>!1,yi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),wt=Object.assign,xs=Object.prototype.hasOwnProperty,At=(t,e)=>xs.call(t,e),Me=Array.isArray,og=t=>Ba(t)==="[object Map]",ug=t=>Ba(t)==="[object Set]",kc=t=>typeof t=="function",ye=t=>typeof t=="string",or=t=>typeof t=="symbol",ur=t=>t!==null&&typeof t=="object",Lc=Object.prototype.toString,Ba=t=>Lc.call(t),Mc=t=>Ba(t)==="[object Object]",Rc=ge(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ua=ge("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),bi=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},lg=/-(\w)/g,ot=bi(t=>t.replace(lg,(e,r)=>r?r.toUpperCase():"")),cg=/\B([A-Z])/g,hg=bi(t=>t.replace(cg,"-$1").toLowerCase()),lr=bi(t=>t.charAt(0).toUpperCase()+t.slice(1)),fg=bi(t=>t?`on${lr(t)}`:""),pg=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function vi(t){return pg.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function dg(t,e){return t+JSON.stringify(e,(r,i)=>typeof i=="function"?i.toString():i)}const Si={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]:"HOISTED",[-2]:"BAIL"},mg={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Dc=ge("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"),Fc=2;function Es(t,e=0,r=t.length){if(e=Math.max(0,Math.min(e,t.length)),r=Math.max(0,Math.min(r,t.length)),e>r)return"";let i=t.split(/(\r?\n)/);const n=i.filter((h,c)=>c%2===1);i=i.filter((h,c)=>c%2===0);let a=0;const o=[];for(let h=0;h<i.length;h++)if(a+=i[h].length+(n[h]&&n[h].length||0),a>=e){for(let c=h-Fc;c<=h+Fc||r>a;c++){if(c<0||c>=i.length)continue;const d=c+1;o.push(`${d}${" ".repeat(Math.max(3-String(d).length,0))}| ${i[c]}`);const f=i[c].length,m=n[c]&&n[c].length||0;if(c===h){const g=e-(a-(f+m)),b=Math.max(1,r>a?f-g:r-e);o.push(" | "+" ".repeat(g)+"^".repeat(b))}else if(c>h){if(r>a){const g=Math.max(Math.min(r-a,f),1);o.push(" | "+"^".repeat(g))}a+=f+m}}break}return o.join(`
|
|
16
|
-
`)}function Bc(t){if(Me(t)){const e={};for(let r=0;r<t.length;r++){const i=t[r],n=ye(i)?Uc(i):Bc(i);if(n)for(const a in n)e[a]=n[a]}return e}else if(ye(t)||ur(t))return t}const gg=/;(?![^(]*\))/g,yg=/:([^]+)/,bg=/\/\*[^]*?\*\//g;function Uc(t){const e={};return t.replace(bg,"").split(gg).forEach(r=>{if(r){const i=r.split(yg);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function vg(t){if(!t)return"";if(ye(t))return t;let e="";for(const r in t){const i=t[r];if(ye(i)||typeof i=="number"){const n=r.startsWith("--")?r:hg(r);e+=`${n}:${i};`}}return e}function $c(t){let e="";if(ye(t))e=t;else if(Me(t))for(let r=0;r<t.length;r++){const i=$c(t[r]);i&&(e+=i+" ")}else if(ur(t))for(const r in t)t[r]&&(e+=r+" ");return e.trim()}const Sg="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",xg="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",Eg="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",wg="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Tg=ge(Sg),_g=ge(xg),Pg=ge(Eg),qc=ge(wg),jc=ge("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"),Ag=/[>/="'\u0009\u000a\u000c\u0020]/,$a={};function Cg(t){if($a.hasOwnProperty(t))return $a[t];const e=Ag.test(t);return $a[t]=!e}const Ig={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Ng=ge("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"),Og=ge("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"),kg=ge("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"),Lg=/["'&<>]/;function Lt(t){const e=""+t,r=Lg.exec(e);if(!r)return e;let i="",n,a,o=0;for(a=r.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}o!==a&&(i+=e.slice(o,a)),o=a+1,i+=n}return o!==a?i+e.slice(o,a):i}const Mg=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Rg(t,e){return t.replace(Mg,r=>e?r==='"'?'\\\\\\"':`\\\\${r}`:`\\${r}`)}const Vc=t=>!!(t&&t.__v_isRef===!0),xi=t=>ye(t)?t:t==null?"":Me(t)||ur(t)&&(t.toString===Lc||!kc(t.toString))?Vc(t)?xi(t.value):JSON.stringify(t,Gc,2):String(t),Gc=(t,e)=>Vc(e)?Gc(t,e.value):og(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[i,n],a)=>(r[qa(i,a)+" =>"]=n,r),{})}:ug(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>qa(r))}:or(e)?qa(e):ur(e)&&!Me(e)&&!Mc(e)?String(e):e,qa=(t,e="")=>{var r;return or(t)?`Symbol(${(r=t.description)!=null?r:e})`:t},Vr=Symbol("Fragment"),Er=Symbol("Teleport"),Gr=Symbol("Suspense"),ws=Symbol("KeepAlive"),ja=Symbol("BaseTransition"),cr=Symbol("openBlock"),Va=Symbol("createBlock"),Ga=Symbol("createElementBlock"),Ts=Symbol("createVNode"),Ei=Symbol("createElementVNode"),zr=Symbol("createCommentVNode"),wi=Symbol("createTextVNode"),Ti=Symbol("createStaticVNode"),_s=Symbol("resolveComponent"),Ps=Symbol("resolveDynamicComponent"),_i=Symbol("resolveDirective"),zc=Symbol("resolveFilter"),Pi=Symbol("withDirectives"),Ai=Symbol("renderList"),za=Symbol("renderSlot"),Wa=Symbol("createSlots"),As=Symbol("toDisplayString"),wr=Symbol("mergeProps"),Ci=Symbol("normalizeClass"),Ii=Symbol("normalizeStyle"),Wr=Symbol("normalizeProps"),Hr=Symbol("guardReactiveProps"),Ni=Symbol("toHandlers"),Oi=Symbol("camelize"),Wc=Symbol("capitalize"),ki=Symbol("toHandlerKey"),Cs=Symbol("setBlockTracking"),Hc=Symbol("pushScopeId"),Xc=Symbol("popScopeId"),Li=Symbol("withCtx"),Xr=Symbol("unref"),Is=Symbol("isRef"),Mi=Symbol("withMemo"),Ha=Symbol("isMemoSame"),ut={[Vr]:"Fragment",[Er]:"Teleport",[Gr]:"Suspense",[ws]:"KeepAlive",[ja]:"BaseTransition",[cr]:"openBlock",[Va]:"createBlock",[Ga]:"createElementBlock",[Ts]:"createVNode",[Ei]:"createElementVNode",[zr]:"createCommentVNode",[wi]:"createTextVNode",[Ti]:"createStaticVNode",[_s]:"resolveComponent",[Ps]:"resolveDynamicComponent",[_i]:"resolveDirective",[zc]:"resolveFilter",[Pi]:"withDirectives",[Ai]:"renderList",[za]:"renderSlot",[Wa]:"createSlots",[As]:"toDisplayString",[wr]:"mergeProps",[Ci]:"normalizeClass",[Ii]:"normalizeStyle",[Wr]:"normalizeProps",[Hr]:"guardReactiveProps",[Ni]:"toHandlers",[Oi]:"camelize",[Wc]:"capitalize",[ki]:"toHandlerKey",[Cs]:"setBlockTracking",[Hc]:"pushScopeId",[Xc]:"popScopeId",[Li]:"withCtx",[Xr]:"unref",[Is]:"isRef",[Mi]:"withMemo",[Ha]:"isMemoSame"};function Xa(t){Object.getOwnPropertySymbols(t).forEach(e=>{ut[e]=t[e]})}const Dg={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},Fg={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"},Bg={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},Ug={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"},Ne={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Tr(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Ne}}function Kr(t,e,r,i,n,a,o,h=!1,c=!1,d=!1,f=Ne){return t&&(h?(t.helper(cr),t.helper(Pr(t.inSSR,d))):t.helper(_r(t.inSSR,d)),o&&t.helper(Pi)),{type:13,tag:e,props:r,children:i,patchFlag:n,dynamicProps:a,directives:o,isBlock:h,disableTracking:c,isComponent:d,loc:f}}function Ht(t,e=Ne){return{type:17,loc:e,elements:t}}function lt(t,e=Ne){return{type:15,loc:e,properties:t}}function we(t,e){return{type:16,loc:Ne,key:ye(t)?Y(t,!0):t,value:e}}function Y(t,e=!1,r=Ne,i=0){return{type:4,loc:r,content:t,isStatic:e,constType:e?3:i}}function Ri(t,e){return{type:5,loc:e,content:ye(t)?Y(t,!1,e):t}}function je(t,e=Ne){return{type:8,loc:e,children:t}}function ce(t,e=[],r=Ne){return{type:14,loc:r,callee:t,arguments:e}}function gt(t,e=void 0,r=!1,i=!1,n=Ne){return{type:18,params:t,returns:e,newline:r,isSlot:i,loc:n}}function Ct(t,e,r,i=!0){return{type:19,test:t,consequent:e,alternate:r,newline:i,loc:Ne}}function Kc(t,e,r=!1,i=!1){return{type:20,index:t,value:e,needPauseTracking:r,inVOnce:i,needArraySpread:!1,loc:Ne}}function Ns(t){return{type:21,body:t,loc:Ne}}function Ka(t){return{type:22,elements:t,loc:Ne}}function Di(t,e,r){return{type:23,test:t,consequent:e,alternate:r,loc:Ne}}function Fi(t,e){return{type:24,left:t,right:e,loc:Ne}}function Jc(t){return{type:25,expressions:t,loc:Ne}}function Yc(t){return{type:26,returns:t,loc:Ne}}function _r(t,e){return t||e?Ts:Ei}function Pr(t,e){return t||e?Va:Ga}function Bi(t,{helper:e,removeHelper:r,inSSR:i}){t.isBlock||(t.isBlock=!0,r(_r(i,t.isComponent)),e(cr),e(Pr(i,t.isComponent)))}var Qc=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0))),$g=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0))),Ja;const qg=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]]),Ya=(Ja=String.fromCodePoint)!==null&&Ja!==void 0?Ja:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function jg(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=qg.get(t))!==null&&e!==void 0?e:t}var Ve;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ve||(Ve={}));const Vg=32;var hr;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(hr||(hr={}));function Qa(t){return t>=Ve.ZERO&&t<=Ve.NINE}function Gg(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_F||t>=Ve.LOWER_A&&t<=Ve.LOWER_F}function zg(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_Z||t>=Ve.LOWER_A&&t<=Ve.LOWER_Z||Qa(t)}function Wg(t){return t===Ve.EQUALS||zg(t)}var Ge;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Ge||(Ge={}));var Mt;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Mt||(Mt={}));class Zc{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=Ge.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mt.Strict}startEntity(e){this.decodeMode=e,this.state=Ge.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case Ge.EntityStart:return e.charCodeAt(r)===Ve.NUM?(this.state=Ge.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=Ge.NamedEntity,this.stateNamedEntity(e,r));case Ge.NumericStart:return this.stateNumericStart(e,r);case Ge.NumericDecimal:return this.stateNumericDecimal(e,r);case Ge.NumericHex:return this.stateNumericHex(e,r);case Ge.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|Vg)===Ve.LOWER_X?(this.state=Ge.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=Ge.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){const a=i-r;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(r,a),n),this.consumed+=a}}stateNumericHex(e,r){const i=r;for(;r<e.length;){const n=e.charCodeAt(r);if(Qa(n)||Gg(n))r+=1;else return this.addToNumericResult(e,i,r,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,i,r,16),-1}stateNumericDecimal(e,r){const i=r;for(;r<e.length;){const n=e.charCodeAt(r);if(Qa(n))r+=1;else return this.addToNumericResult(e,i,r,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,i,r,10),-1}emitNumericEntity(e,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Ve.SEMI)this.consumed+=1;else if(this.decodeMode===Mt.Strict)return 0;return this.emitCodePoint(jg(this.result),this.consumed),this.errors&&(e!==Ve.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){const{decodeTree:i}=this;let n=i[this.treeIndex],a=(n&hr.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){const o=e.charCodeAt(r);if(this.treeIndex=Hg(i,n,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===Mt.Attribute&&(a===0||Wg(o))?0:this.emitNotTerminatedNamedEntity();if(n=i[this.treeIndex],a=(n&hr.VALUE_LENGTH)>>14,a!==0){if(o===Ve.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Mt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:i}=this,n=(i[r]&hr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,i){const{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~hr.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case Ge.NamedEntity:return this.result!==0&&(this.decodeMode!==Mt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ge.NumericDecimal:return this.emitNumericEntity(0,2);case Ge.NumericHex:return this.emitNumericEntity(0,3);case Ge.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ge.EntityStart:return 0}}}function eh(t){let e="";const r=new Zc(t,i=>e+=Ya(i));return function(n,a){let o=0,h=0;for(;(h=n.indexOf("&",h))>=0;){e+=n.slice(o,h),r.startEntity(a);const d=r.write(n,h+1);if(d<0){o=h+r.end();break}o=h+d,h=d===0?o+1:o}const c=e+n.slice(o);return e="",c}}function Hg(t,e,r,i){const n=(e&hr.BRANCH_LENGTH)>>7,a=e&hr.JUMP_TABLE;if(n===0)return a!==0&&i===a?r:-1;if(a){const c=i-a;return c<0||c>=n?-1:t[r+c]-1}let o=r,h=o+n-1;for(;o<=h;){const c=o+h>>>1,d=t[c];if(d<i)o=c+1;else if(d>i)h=c-1;else return t[c+n]}return-1}const Xg=eh(Qc);eh($g);function Kg(t,e=Mt.Legacy){return Xg(t,e)}const th=new Uint8Array([123,123]),rh=new Uint8Array([125,125]);function sh(t){return t>=97&&t<=122||t>=65&&t<=90}function yt(t){return t===32||t===10||t===9||t===12||t===13}function fr(t){return t===47||t===62||yt(t)}function Ui(t){const e=new Uint8Array(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}const He={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])};class Jg{constructor(e,r){this.stack=e,this.cbs=r,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=th,this.delimiterClose=rh,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new Zc(Qc,(i,n)=>this.emitCodePoint(i,n))}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=th,this.delimiterClose=rh}getPos(e){let r=1,i=e+1;for(let n=this.newlines.length-1;n>=0;n--){const a=this.newlines[n];if(e>a){r=n+2,i=e-a;break}}return{column:i,line:r,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){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}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){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?fr(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||yt(e)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.sectionStart=r+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===He.TitleEnd||this.currentSequence===He.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=+(e===60)}stateCDATASequence(e){e===He.Cdata[this.sequenceIndex]?++this.sequenceIndex===He.Cdata.length&&(this.state=28,this.currentSequence=He.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;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===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===He.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,r){this.enterRCDATA(e,r),this.state=31}enterRCDATA(e,r){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=r}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):sh(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){fr(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(fr(e)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(Ui("</"+r),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){yt(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=sh(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||yt(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):yt(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):yt(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||fr(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||fr(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||fr(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||fr(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||fr(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)):yt(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):yt(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,r){e===r?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===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){yt(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=He.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===He.ScriptEnd[3]?this.startSpecial(He.ScriptEnd,4):e===He.StyleEnd[3]?this.startSpecial(He.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===He.TitleEnd[3]?this.startSpecial(He.TitleEnd,4):e===He.TextareaEnd[3]?this.startSpecial(He.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?Mt.Legacy:Mt.Attribute)}stateInEntity(){{const 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;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);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(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===He.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,r){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(Ya(e),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(Ya(e),this.entityStart,this.sectionStart))}}const Yg={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"},Qg={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:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,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 Za(t,{compatConfig:e}){const r=e&&e[t];return t==="MODE"?r||3:r}function Zg(t,e){const r=Za("MODE",e),i=Za(t,e);return r===3?i===!0:i!==!1}function ey(t,e,r,...i){const n=Zg(t,e);return n&&ih(t,e,r,...i),n}function ih(t,e,r,...i){if(Za(t,e)==="suppress-warning")return;const{message:a,link:o}=Qg[t],h=`(deprecation ${t}) ${typeof a=="function"?a(...i):a}${o?`
|
|
17
|
-
Details: ${o}`:""}`,c=new SyntaxError(h);c.code=t,r&&(c.loc=r),e.onWarn(c)}function eo(t){throw t}function nh(t){}function ve(t,e,r,i){const n=(r||to)[t]+(i||""),a=new SyntaxError(String(n));return a.code=t,a.loc=e,a}const ty={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_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},to={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 '<' 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.",52:"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.
|
|
18
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@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.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function $i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function qi(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}),r}var Jr={},ah;function ry(){if(ah)return Jr;ah=1,Object.defineProperty(Jr,"__esModule",{value:!0});function t(_,u){if(_==null)return{};var s={};for(var l in _)if({}.hasOwnProperty.call(_,l)){if(u.includes(l))continue;s[l]=_[l]}return s}class e{constructor(u,s,l){this.line=void 0,this.column=void 0,this.index=void 0,this.line=u,this.column=s,this.index=l}}class r{constructor(u,s){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=u,this.end=s}}function i(_,u){const{line:s,column:l,index:p}=_;return new e(s,l+u,p+u)}const n="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var a={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:n},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:n}};const 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"},h=_=>_.type==="UpdateExpression"?o.UpdateExpression[`${_.prefix}`]:o[_.type];var c={AccessorIsGenerator:({kind:_})=>`A ${_}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.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",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:_})=>`Missing initializer in ${_} 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:_})=>`\`${_}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:_})=>`'import.${_}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:_,exportName:u})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
19
|
-
- Did you mean \`export { '${_}' as '${u}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:_})=>`'${_==="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:_})=>`Unsyntactic ${_==="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 `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:_})=>`A string literal cannot be used as an imported binding.
|
|
20
|
-
- Did you mean \`import { "${_}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:_})=>`\`import()\` requires exactly ${_===1?"one argument":"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.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:_})=>`Expected number in radix ${_}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:_})=>`Escape sequence in keyword ${_}.`,InvalidIdentifier:({identifierName:_})=>`Invalid identifier ${_}.`,InvalidLhs:({ancestor:_})=>`Invalid left-hand side in ${h(_)}.`,InvalidLhsBinding:({ancestor:_})=>`Binding invalid left-hand side in ${h(_)}.`,InvalidLhsOptionalChaining:({ancestor:_})=>`Invalid optional chaining in the left-hand side of ${h(_)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:_})=>`Unexpected character '${_}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:_})=>`Private name #${_} 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:_})=>`Label '${_}' 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:_})=>`This experimental syntax requires enabling the parser plugin: ${_.map(u=>JSON.stringify(u)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:_})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${_.map(u=>JSON.stringify(u)).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:_})=>`Duplicate key "${_}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:_})=>`An export name cannot include a lone surrogate, found '\\u${_.toString(16)}'.`,ModuleExportUndefined:({localName:_})=>`Export '${_}' 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:_})=>`Private names are only allowed in property accesses (\`obj.#${_}\`) or in \`in\` expressions (\`#${_} in obj\`).`,PrivateNameRedeclaration:({identifierName:_})=>`Duplicate private name #${_}.`,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:_})=>`Unexpected keyword '${_}'.`,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:_})=>`Unexpected reserved word '${_}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:_,unexpected:u})=>`Unexpected token${u?` '${u}'.`:""}${_?`, expected "${_}"`:""}`,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`.",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:_,onlyValidPropertyName:u})=>`The only valid meta property for ${_} is ${_}.${u}.`,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:_})=>`Identifier '${_}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:_})=>`Assigning to '${_}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:_})=>`Binding '${_}' 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."};const f=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var m={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:_})=>`Invalid topic token ${_}. In order to use ${_} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${_}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:_})=>`Hack-style pipe body cannot be an unparenthesized ${h({type:_})}; 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.'};const g=["message"];function b(_,u,s){Object.defineProperty(_,u,{enumerable:!1,configurable:!0,value:s})}function x({toMessage:_,code:u,reasonCode:s,syntaxPlugin:l}){const p=s==="MissingPlugin"||s==="MissingOneOfPlugins";return function S(P,O){const D=new SyntaxError;return D.code=u,D.reasonCode=s,D.loc=P,D.pos=P.index,D.syntaxPlugin=l,p&&(D.missingPlugin=O.missingPlugin),b(D,"clone",function(F={}){var W;const{line:K,column:J,index:ae}=(W=F.loc)!=null?W:P;return S(new e(K,J,ae),Object.assign({},O,F.details))}),b(D,"details",O),Object.defineProperty(D,"message",{configurable:!0,get(){const U=`${_(O)} (${P.line}:${P.column})`;return this.message=U,U},set(U){Object.defineProperty(this,"message",{value:U,writable:!0})}}),D}}function v(_,u){if(Array.isArray(_))return l=>v(l,_[0]);const s={};for(const l of Object.keys(_)){const p=_[l],S=typeof p=="string"?{message:()=>p}:typeof p=="function"?{message:p}:p,{message:P}=S,O=t(S,g),D=typeof P=="string"?()=>P:P;s[l]=x(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:l,toMessage:D},u?{syntaxPlugin:u}:{},O))}return s}const y=Object.assign({},v(a),v(c),v(d),v`pipelineOperator`(m)),{defineProperty:T}=Object,E=(_,u)=>{_&&T(_,u,{enumerable:!1,value:_[u]})};function C(_){return E(_.loc.start,"index"),E(_.loc.end,"index"),_}var N=_=>class extends _{parse(){const s=C(super.parse());return this.options.tokens&&(s.tokens=s.tokens.map(C)),s}parseRegExpLiteral({pattern:s,flags:l}){let p=null;try{p=new RegExp(s,l)}catch(P){}const S=this.estreeParseLiteral(p);return S.regex={pattern:s,flags:l},S}parseBigIntLiteral(s){let l;try{l=BigInt(s)}catch(S){l=null}const p=this.estreeParseLiteral(l);return p.bigint=String(p.value||s),p}parseDecimalLiteral(s){const p=this.estreeParseLiteral(null);return p.decimal=String(p.value||s),p}estreeParseLiteral(s){return this.parseLiteral(s,"Literal")}parseStringLiteral(s){return this.estreeParseLiteral(s)}parseNumericLiteral(s){return this.estreeParseLiteral(s)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(s){return this.estreeParseLiteral(s)}directiveToStmt(s){const l=s.value;delete s.value,l.type="Literal",l.raw=l.extra.raw,l.value=l.extra.expressionValue;const p=s;return p.type="ExpressionStatement",p.expression=l,p.directive=l.extra.rawValue,delete l.extra,p}initFunction(s,l){super.initFunction(s,l),s.expression=!1}checkDeclaration(s){s!=null&&this.isObjectProperty(s)?this.checkDeclaration(s.value):super.checkDeclaration(s)}getObjectOrClassMethodParams(s){return s.value.params}isValidDirective(s){var l;return s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&!((l=s.expression.extra)!=null&&l.parenthesized)}parseBlockBody(s,l,p,S,P){super.parseBlockBody(s,l,p,S,P);const O=s.directives.map(D=>this.directiveToStmt(D));s.body=O.concat(s.body),delete s.directives}pushClassMethod(s,l,p,S,P,O){this.parseMethod(l,p,S,P,O,"ClassMethod",!0),l.typeParameters&&(l.value.typeParameters=l.typeParameters,delete l.typeParameters),s.body.push(l)}parsePrivateName(){const s=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(s):s}convertPrivateNameToPrivateIdentifier(s){const l=super.getPrivateNameSV(s);return s=s,delete s.id,s.name=l,s.type="PrivateIdentifier",s}isPrivateName(s){return this.getPluginOption("estree","classFeatures")?s.type==="PrivateIdentifier":super.isPrivateName(s)}getPrivateNameSV(s){return this.getPluginOption("estree","classFeatures")?s.name:super.getPrivateNameSV(s)}parseLiteral(s,l){const p=super.parseLiteral(s,l);return p.raw=p.extra.raw,delete p.extra,p}parseFunctionBody(s,l,p=!1){super.parseFunctionBody(s,l,p),s.expression=s.body.type!=="BlockStatement"}parseMethod(s,l,p,S,P,O,D=!1){let U=this.startNode();return U.kind=s.kind,U=super.parseMethod(U,l,p,S,P,O,D),U.type="FunctionExpression",delete U.kind,s.value=U,O==="ClassPrivateMethod"&&(s.computed=!1),this.finishNode(s,"MethodDefinition")}nameIsConstructor(s){return s.type==="Literal"?s.value==="constructor":super.nameIsConstructor(s)}parseClassProperty(...s){const l=super.parseClassProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition"),l}parseClassPrivateProperty(...s){const l=super.parseClassPrivateProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition",l.computed=!1),l}parseObjectMethod(s,l,p,S,P){const O=super.parseObjectMethod(s,l,p,S,P);return O&&(O.type="Property",O.kind==="method"&&(O.kind="init"),O.shorthand=!1),O}parseObjectProperty(s,l,p,S){const P=super.parseObjectProperty(s,l,p,S);return P&&(P.kind="init",P.type="Property"),P}isValidLVal(s,l,p){return s==="Property"?"value":super.isValidLVal(s,l,p)}isAssignable(s,l){return s!=null&&this.isObjectProperty(s)?this.isAssignable(s.value,l):super.isAssignable(s,l)}toAssignable(s,l=!1){if(s!=null&&this.isObjectProperty(s)){const{key:p,value:S}=s;this.isPrivateName(p)&&this.classScope.usePrivateName(this.getPrivateNameSV(p),p.loc.start),this.toAssignable(S,l)}else super.toAssignable(s,l)}toAssignableObjectExpressionProp(s,l,p){s.type==="Property"&&(s.kind==="get"||s.kind==="set")?this.raise(y.PatternHasAccessor,s.key):s.type==="Property"&&s.method?this.raise(y.PatternHasMethod,s.key):super.toAssignableObjectExpressionProp(s,l,p)}finishCallExpression(s,l){const p=super.finishCallExpression(s,l);if(p.callee.type==="Import"){if(p.type="ImportExpression",p.source=p.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var S,P;p.options=(S=p.arguments[1])!=null?S:null,p.attributes=(P=p.arguments[1])!=null?P:null}delete p.arguments,delete p.callee}return p}toReferencedArguments(s){s.type!=="ImportExpression"&&super.toReferencedArguments(s)}parseExport(s,l){const p=this.state.lastTokStartLoc,S=super.parseExport(s,l);switch(S.type){case"ExportAllDeclaration":S.exported=null;break;case"ExportNamedDeclaration":S.specifiers.length===1&&S.specifiers[0].type==="ExportNamespaceSpecifier"&&(S.type="ExportAllDeclaration",S.exported=S.specifiers[0].exported,delete S.specifiers);case"ExportDefaultDeclaration":{var P;const{declaration:O}=S;(O==null?void 0:O.type)==="ClassDeclaration"&&((P=O.decorators)==null?void 0:P.length)>0&&O.start===S.start&&this.resetStartLocation(S,p)}break}return S}parseSubscript(s,l,p,S){const P=super.parseSubscript(s,l,p,S);if(S.optionalChainMember){if((P.type==="OptionalMemberExpression"||P.type==="OptionalCallExpression")&&(P.type=P.type.substring(8)),S.stop){const O=this.startNodeAtNode(P);return O.expression=P,this.finishNode(O,"ChainExpression")}}else(P.type==="MemberExpression"||P.type==="CallExpression")&&(P.optional=!1);return P}isOptionalMemberExpression(s){return s.type==="ChainExpression"?s.expression.type==="MemberExpression":super.isOptionalMemberExpression(s)}hasPropertyAsPrivateName(s){return s.type==="ChainExpression"&&(s=s.expression),super.hasPropertyAsPrivateName(s)}isObjectProperty(s){return s.type==="Property"&&s.kind==="init"&&!s.method}isObjectMethod(s){return s.type==="Property"&&(s.method||s.kind==="get"||s.kind==="set")}finishNodeAt(s,l,p){return C(super.finishNodeAt(s,l,p))}resetStartLocation(s,l){super.resetStartLocation(s,l),C(s)}resetEndLocation(s,l=this.state.lastTokEndLoc){super.resetEndLocation(s,l),C(s)}};class A{constructor(u,s){this.token=void 0,this.preserveSpace=void 0,this.token=u,this.preserveSpace=!!s}}const L={brace:new A("{"),j_oTag:new A("<tag"),j_cTag:new A("</tag"),j_expr:new A("<tag>...</tag>",!0)};L.template=new A("`",!0);const R=!0,w=!0,I=!0,k=!0,M=!0,z=!0;class X{constructor(u,s={}){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=u,this.keyword=s.keyword,this.beforeExpr=!!s.beforeExpr,this.startsExpr=!!s.startsExpr,this.rightAssociative=!!s.rightAssociative,this.isLoop=!!s.isLoop,this.isAssign=!!s.isAssign,this.prefix=!!s.prefix,this.postfix=!!s.postfix,this.binop=s.binop!=null?s.binop:null,this.updateContext=null}}const Z=new Map;function $(_,u={}){u.keyword=_;const s=B(_,u);return Z.set(_,s),s}function Q(_,u){return B(_,{beforeExpr:R,binop:u})}let re=-1;const pe=[],Re=[],me=[],ee=[],q=[],V=[];function B(_,u={}){var s,l,p,S;return++re,Re.push(_),me.push((s=u.binop)!=null?s:-1),ee.push((l=u.beforeExpr)!=null?l:!1),q.push((p=u.startsExpr)!=null?p:!1),V.push((S=u.prefix)!=null?S:!1),pe.push(new X(_,u)),re}function G(_,u={}){var s,l,p,S;return++re,Z.set(_,re),Re.push(_),me.push((s=u.binop)!=null?s:-1),ee.push((l=u.beforeExpr)!=null?l:!1),q.push((p=u.startsExpr)!=null?p:!1),V.push((S=u.prefix)!=null?S:!1),pe.push(new X("name",u)),re}const te={bracketL:B("[",{beforeExpr:R,startsExpr:w}),bracketHashL:B("#[",{beforeExpr:R,startsExpr:w}),bracketBarL:B("[|",{beforeExpr:R,startsExpr:w}),bracketR:B("]"),bracketBarR:B("|]"),braceL:B("{",{beforeExpr:R,startsExpr:w}),braceBarL:B("{|",{beforeExpr:R,startsExpr:w}),braceHashL:B("#{",{beforeExpr:R,startsExpr:w}),braceR:B("}"),braceBarR:B("|}"),parenL:B("(",{beforeExpr:R,startsExpr:w}),parenR:B(")"),comma:B(",",{beforeExpr:R}),semi:B(";",{beforeExpr:R}),colon:B(":",{beforeExpr:R}),doubleColon:B("::",{beforeExpr:R}),dot:B("."),question:B("?",{beforeExpr:R}),questionDot:B("?."),arrow:B("=>",{beforeExpr:R}),template:B("template"),ellipsis:B("...",{beforeExpr:R}),backQuote:B("`",{startsExpr:w}),dollarBraceL:B("${",{beforeExpr:R,startsExpr:w}),templateTail:B("...`",{startsExpr:w}),templateNonTail:B("...${",{beforeExpr:R,startsExpr:w}),at:B("@"),hash:B("#",{startsExpr:w}),interpreterDirective:B("#!..."),eq:B("=",{beforeExpr:R,isAssign:k}),assign:B("_=",{beforeExpr:R,isAssign:k}),slashAssign:B("_=",{beforeExpr:R,isAssign:k}),xorAssign:B("_=",{beforeExpr:R,isAssign:k}),moduloAssign:B("_=",{beforeExpr:R,isAssign:k}),incDec:B("++/--",{prefix:M,postfix:z,startsExpr:w}),bang:B("!",{beforeExpr:R,prefix:M,startsExpr:w}),tilde:B("~",{beforeExpr:R,prefix:M,startsExpr:w}),doubleCaret:B("^^",{startsExpr:w}),doubleAt:B("@@",{startsExpr:w}),pipeline:Q("|>",0),nullishCoalescing:Q("??",1),logicalOR:Q("||",1),logicalAND:Q("&&",2),bitwiseOR:Q("|",3),bitwiseXOR:Q("^",4),bitwiseAND:Q("&",5),equality:Q("==/!=/===/!==",6),lt:Q("</>/<=/>=",7),gt:Q("</>/<=/>=",7),relational:Q("</>/<=/>=",7),bitShift:Q("<</>>/>>>",8),bitShiftL:Q("<</>>/>>>",8),bitShiftR:Q("<</>>/>>>",8),plusMin:B("+/-",{beforeExpr:R,binop:9,prefix:M,startsExpr:w}),modulo:B("%",{binop:10,startsExpr:w}),star:B("*",{binop:10}),slash:Q("/",10),exponent:B("**",{beforeExpr:R,binop:11,rightAssociative:!0}),_in:$("in",{beforeExpr:R,binop:7}),_instanceof:$("instanceof",{beforeExpr:R,binop:7}),_break:$("break"),_case:$("case",{beforeExpr:R}),_catch:$("catch"),_continue:$("continue"),_debugger:$("debugger"),_default:$("default",{beforeExpr:R}),_else:$("else",{beforeExpr:R}),_finally:$("finally"),_function:$("function",{startsExpr:w}),_if:$("if"),_return:$("return",{beforeExpr:R}),_switch:$("switch"),_throw:$("throw",{beforeExpr:R,prefix:M,startsExpr:w}),_try:$("try"),_var:$("var"),_const:$("const"),_with:$("with"),_new:$("new",{beforeExpr:R,startsExpr:w}),_this:$("this",{startsExpr:w}),_super:$("super",{startsExpr:w}),_class:$("class",{startsExpr:w}),_extends:$("extends",{beforeExpr:R}),_export:$("export"),_import:$("import",{startsExpr:w}),_null:$("null",{startsExpr:w}),_true:$("true",{startsExpr:w}),_false:$("false",{startsExpr:w}),_typeof:$("typeof",{beforeExpr:R,prefix:M,startsExpr:w}),_void:$("void",{beforeExpr:R,prefix:M,startsExpr:w}),_delete:$("delete",{beforeExpr:R,prefix:M,startsExpr:w}),_do:$("do",{isLoop:I,beforeExpr:R}),_for:$("for",{isLoop:I}),_while:$("while",{isLoop:I}),_as:G("as",{startsExpr:w}),_assert:G("assert",{startsExpr:w}),_async:G("async",{startsExpr:w}),_await:G("await",{startsExpr:w}),_defer:G("defer",{startsExpr:w}),_from:G("from",{startsExpr:w}),_get:G("get",{startsExpr:w}),_let:G("let",{startsExpr:w}),_meta:G("meta",{startsExpr:w}),_of:G("of",{startsExpr:w}),_sent:G("sent",{startsExpr:w}),_set:G("set",{startsExpr:w}),_source:G("source",{startsExpr:w}),_static:G("static",{startsExpr:w}),_using:G("using",{startsExpr:w}),_yield:G("yield",{startsExpr:w}),_asserts:G("asserts",{startsExpr:w}),_checks:G("checks",{startsExpr:w}),_exports:G("exports",{startsExpr:w}),_global:G("global",{startsExpr:w}),_implements:G("implements",{startsExpr:w}),_intrinsic:G("intrinsic",{startsExpr:w}),_infer:G("infer",{startsExpr:w}),_is:G("is",{startsExpr:w}),_mixins:G("mixins",{startsExpr:w}),_proto:G("proto",{startsExpr:w}),_require:G("require",{startsExpr:w}),_satisfies:G("satisfies",{startsExpr:w}),_keyof:G("keyof",{startsExpr:w}),_readonly:G("readonly",{startsExpr:w}),_unique:G("unique",{startsExpr:w}),_abstract:G("abstract",{startsExpr:w}),_declare:G("declare",{startsExpr:w}),_enum:G("enum",{startsExpr:w}),_module:G("module",{startsExpr:w}),_namespace:G("namespace",{startsExpr:w}),_interface:G("interface",{startsExpr:w}),_type:G("type",{startsExpr:w}),_opaque:G("opaque",{startsExpr:w}),name:B("name",{startsExpr:w}),string:B("string",{startsExpr:w}),num:B("num",{startsExpr:w}),bigint:B("bigint",{startsExpr:w}),decimal:B("decimal",{startsExpr:w}),regexp:B("regexp",{startsExpr:w}),privateName:B("#name",{startsExpr:w}),eof:B("eof"),jsxName:B("jsxName"),jsxText:B("jsxText",{beforeExpr:!0}),jsxTagStart:B("jsxTagStart",{startsExpr:!0}),jsxTagEnd:B("jsxTagEnd"),placeholder:B("%%",{startsExpr:!0})};function j(_){return _>=93&&_<=132}function se(_){return _<=92}function oe(_){return _>=58&&_<=132}function he(_){return _>=58&&_<=136}function ue(_){return ee[_]}function de(_){return q[_]}function Ae(_){return _>=29&&_<=33}function fe(_){return _>=129&&_<=131}function ke(_){return _>=90&&_<=92}function St(_){return _>=58&&_<=92}function Pt(_){return _>=39&&_<=59}function at(_){return _===34}function We(_){return V[_]}function xt(_){return _>=121&&_<=123}function Et(_){return _>=124&&_<=130}function Je(_){return Re[_]}function sr(_){return me[_]}function gs(_){return _===57}function zt(_){return _>=24&&_<=25}function kt(_){return pe[_]}pe[8].updateContext=_=>{_.pop()},pe[5].updateContext=pe[7].updateContext=pe[23].updateContext=_=>{_.push(L.brace)},pe[22].updateContext=_=>{_[_.length-1]===L.template?_.pop():_.push(L.template)},pe[142].updateContext=_=>{_.push(L.j_expr,L.j_oTag)};let hi="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Ca="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";const gc=new RegExp("["+hi+"]"),yc=new RegExp("["+hi+Ca+"]");hi=Ca=null;const Ia=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,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,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,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,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Xw=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function bc(_,u){let s=65536;for(let l=0,p=u.length;l<p;l+=2){if(s+=u[l],s>_)return!1;if(s+=u[l+1],s>=_)return!0}return!1}function ir(_){return _<65?_===36:_<=90?!0:_<97?_===95:_<=122?!0:_<=65535?_>=170&&gc.test(String.fromCharCode(_)):bc(_,Ia)}function ys(_){return _<48?_===36:_<58?!0:_<65?!1:_<=90?!0:_<97?_===95:_<=122?!0:_<=65535?_>=170&&yc.test(String.fromCharCode(_)):bc(_,Ia)||bc(_,Xw)}const vc={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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Kw=new Set(vc.keyword),Jw=new Set(vc.strict),Yw=new Set(vc.strictBind);function M1(_,u){return u&&_==="await"||_==="enum"}function R1(_,u){return M1(_,u)||Jw.has(_)}function D1(_){return Yw.has(_)}function F1(_,u){return R1(_,u)||D1(_)}function Qw(_){return Kw.has(_)}function Zw(_,u,s){return _===64&&u===64&&ir(s)}const eT=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"]);function tT(_){return eT.has(_)}class Sc{constructor(u){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=u}}class xc{constructor(u,s){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=u,this.inModule=s}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 inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const u=this.currentThisScopeFlags();return(u&64)>0&&(u&2)===0}get inStaticBlock(){for(let u=this.scopeStack.length-1;;u--){const{flags:s}=this.scopeStack[u];if(s&128)return!0;if(s&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(u){return new Sc(u)}enter(u){this.scopeStack.push(this.createScope(u))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(u){return!!(u.flags&130||!this.parser.inModule&&u.flags&1)}declareName(u,s,l){let p=this.currentScope();if(s&8||s&16){this.checkRedeclarationInScope(p,u,s,l);let S=p.names.get(u)||0;s&16?S=S|4:(p.firstLexicalName||(p.firstLexicalName=u),S=S|2),p.names.set(u,S),s&8&&this.maybeExportDefined(p,u)}else if(s&4)for(let S=this.scopeStack.length-1;S>=0&&(p=this.scopeStack[S],this.checkRedeclarationInScope(p,u,s,l),p.names.set(u,(p.names.get(u)||0)|1),this.maybeExportDefined(p,u),!(p.flags&387));--S);this.parser.inModule&&p.flags&1&&this.undefinedExports.delete(u)}maybeExportDefined(u,s){this.parser.inModule&&u.flags&1&&this.undefinedExports.delete(s)}checkRedeclarationInScope(u,s,l,p){this.isRedeclaredInScope(u,s,l)&&this.parser.raise(y.VarRedeclaration,p,{identifierName:s})}isRedeclaredInScope(u,s,l){if(!(l&1))return!1;if(l&8)return u.names.has(s);const p=u.names.get(s);return l&16?(p&2)>0||!this.treatFunctionsAsVarInScope(u)&&(p&1)>0:(p&2)>0&&!(u.flags&8&&u.firstLexicalName===s)||!this.treatFunctionsAsVarInScope(u)&&(p&4)>0}checkLocalExport(u){const{name:s}=u;this.scopeStack[0].names.has(s)||this.undefinedExports.set(s,u.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let u=this.scopeStack.length-1;;u--){const{flags:s}=this.scopeStack[u];if(s&387)return s}}currentThisScopeFlags(){for(let u=this.scopeStack.length-1;;u--){const{flags:s}=this.scopeStack[u];if(s&451&&!(s&4))return s}}}class rT extends Sc{constructor(...u){super(...u),this.declareFunctions=new Set}}class sT extends xc{createScope(u){return new rT(u)}declareName(u,s,l){const p=this.currentScope();if(s&2048){this.checkRedeclarationInScope(p,u,s,l),this.maybeExportDefined(p,u),p.declareFunctions.add(u);return}super.declareName(u,s,l)}isRedeclaredInScope(u,s,l){if(super.isRedeclaredInScope(u,s,l))return!0;if(l&2048&&!u.declareFunctions.has(s)){const p=u.names.get(s);return(p&4)>0||(p&2)>0}return!1}checkLocalExport(u){this.scopeStack[0].declareFunctions.has(u.name)||super.checkLocalExport(u)}}class iT{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(u){if(typeof u=="string")return this.plugins.has(u);{const[s,l]=u;if(!this.hasPlugin(s))return!1;const p=this.plugins.get(s);for(const S of Object.keys(l))if((p==null?void 0:p[S])!==l[S])return!1;return!0}}getPluginOption(u,s){var l;return(l=this.plugins.get(u))==null?void 0:l[s]}}function B1(_,u){_.trailingComments===void 0?_.trailingComments=u:_.trailingComments.unshift(...u)}function nT(_,u){_.leadingComments===void 0?_.leadingComments=u:_.leadingComments.unshift(...u)}function fi(_,u){_.innerComments===void 0?_.innerComments=u:_.innerComments.unshift(...u)}function pi(_,u,s){let l=null,p=u.length;for(;l===null&&p>0;)l=u[--p];l===null||l.start>s.start?fi(_,s.comments):B1(l,s.comments)}class aT extends iT{addComment(u){this.filename&&(u.loc.filename=this.filename);const{commentsLen:s}=this.state;this.comments.length!==s&&(this.comments.length=s),this.comments.push(u),this.state.commentsLen++}processComment(u){const{commentStack:s}=this.state,l=s.length;if(l===0)return;let p=l-1;const S=s[p];S.start===u.end&&(S.leadingNode=u,p--);const{start:P}=u;for(;p>=0;p--){const O=s[p],D=O.end;if(D>P)O.containingNode=u,this.finalizeComment(O),s.splice(p,1);else{D===P&&(O.trailingNode=u);break}}}finalizeComment(u){const{comments:s}=u;if(u.leadingNode!==null||u.trailingNode!==null)u.leadingNode!==null&&B1(u.leadingNode,s),u.trailingNode!==null&&nT(u.trailingNode,s);else{const{containingNode:l,start:p}=u;if(this.input.charCodeAt(p-1)===44)switch(l.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":pi(l,l.properties,u);break;case"CallExpression":case"OptionalCallExpression":pi(l,l.arguments,u);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":pi(l,l.params,u);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":pi(l,l.elements,u);break;case"ExportNamedDeclaration":case"ImportDeclaration":pi(l,l.specifiers,u);break;default:fi(l,s)}else fi(l,s)}}finalizeRemainingComments(){const{commentStack:u}=this.state;for(let s=u.length-1;s>=0;s--)this.finalizeComment(u[s]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(u){const{commentStack:s}=this.state,{length:l}=s;if(l===0)return;const p=s[l-1];p.leadingNode===u&&(p.leadingNode=null)}resetPreviousIdentifierLeadingComments(u){const{commentStack:s}=this.state,{length:l}=s;l!==0&&(s[l-1].trailingNode===u?s[l-1].trailingNode=null:l>=2&&s[l-2].trailingNode===u&&(s[l-2].trailingNode=null))}takeSurroundingComments(u,s,l){const{commentStack:p}=this.state,S=p.length;if(S===0)return;let P=S-1;for(;P>=0;P--){const O=p[P],D=O.end;if(O.start===l)O.leadingNode=u;else if(D===s)O.trailingNode=u;else if(D<s)break}}}const oT=/\r\n|[\r\n\u2028\u2029]/,Na=new RegExp(oT.source,"g");function bs(_){switch(_){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function U1(_,u,s){for(let l=u;l<s;l++)if(bs(_.charCodeAt(l)))return!0;return!1}const Ec=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,wc=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function uT(_){switch(_){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}}class Tc{constructor(){this.flags=1024,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=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[L.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(u){u?this.flags|=1:this.flags&=-2}init({strictMode:u,sourceType:s,startLine:l,startColumn:p}){this.strict=u===!1?!1:u===!0?!0:s==="module",this.curLine=l,this.lineStart=-p,this.startLoc=this.endLoc=new e(l,p,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(u){u?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(u){u?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(u){u?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(u){u?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(u){u?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(u){u?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(u){u?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(u){u?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(u){u?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(u){u?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(u){u?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(u){u?this.flags|=4096:this.flags&=-4097}curPosition(){return new e(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const u=new Tc;return u.flags=this.flags,u.curLine=this.curLine,u.lineStart=this.lineStart,u.startLoc=this.startLoc,u.endLoc=this.endLoc,u.errors=this.errors.slice(),u.potentialArrowAt=this.potentialArrowAt,u.noArrowAt=this.noArrowAt.slice(),u.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),u.topicContext=this.topicContext,u.labels=this.labels.slice(),u.commentsLen=this.commentsLen,u.commentStack=this.commentStack.slice(),u.pos=this.pos,u.type=this.type,u.value=this.value,u.start=this.start,u.end=this.end,u.lastTokEndLoc=this.lastTokEndLoc,u.lastTokStartLoc=this.lastTokStartLoc,u.context=this.context.slice(),u.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,u.strictErrors=this.strictErrors,u.tokensLength=this.tokensLength,u}}var lT=function(u){return u>=48&&u<=57};const $1={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Oa={bin:_=>_===48||_===49,oct:_=>_>=48&&_<=55,dec:_=>_>=48&&_<=57,hex:_=>_>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102};function q1(_,u,s,l,p,S){const P=s,O=l,D=p;let U="",F=null,W=s;const{length:K}=u;for(;;){if(s>=K){S.unterminated(P,O,D),U+=u.slice(W,s);break}const J=u.charCodeAt(s);if(cT(_,J,u,s)){U+=u.slice(W,s);break}if(J===92){U+=u.slice(W,s);const ae=hT(u,s,l,p,_==="template",S);ae.ch===null&&!F?F={pos:s,lineStart:l,curLine:p}:U+=ae.ch,{pos:s,lineStart:l,curLine:p}=ae,W=s}else J===8232||J===8233?(++s,++p,l=s):J===10||J===13?_==="template"?(U+=u.slice(W,s)+`
|
|
21
|
-
`,++s,J===13&&u.charCodeAt(s)===10&&++s,++p,W=l=s):S.unterminated(P,O,D):++s}return{pos:s,str:U,firstInvalidLoc:F,lineStart:l,curLine:p,containsInvalid:!!F}}function cT(_,u,s,l){return _==="template"?u===96||u===36&&s.charCodeAt(l+1)===123:u===(_==="double"?34:39)}function hT(_,u,s,l,p,S){const P=!p;u++;const O=U=>({pos:u,ch:U,lineStart:s,curLine:l}),D=_.charCodeAt(u++);switch(D){case 110:return O(`
|
|
22
|
-
`);case 114:return O("\r");case 120:{let U;return{code:U,pos:u}=_c(_,u,s,l,2,!1,P,S),O(U===null?null:String.fromCharCode(U))}case 117:{let U;return{code:U,pos:u}=V1(_,u,s,l,P,S),O(U===null?null:String.fromCodePoint(U))}case 116:return O(" ");case 98:return O("\b");case 118:return O("\v");case 102:return O("\f");case 13:_.charCodeAt(u)===10&&++u;case 10:s=u,++l;case 8232:case 8233:return O("");case 56:case 57:if(p)return O(null);S.strictNumericEscape(u-1,s,l);default:if(D>=48&&D<=55){const U=u-1;let W=/^[0-7]+/.exec(_.slice(U,u+2))[0],K=parseInt(W,8);K>255&&(W=W.slice(0,-1),K=parseInt(W,8)),u+=W.length-1;const J=_.charCodeAt(u);if(W!=="0"||J===56||J===57){if(p)return O(null);S.strictNumericEscape(U,s,l)}return O(String.fromCharCode(K))}return O(String.fromCharCode(D))}}function _c(_,u,s,l,p,S,P,O){const D=u;let U;return{n:U,pos:u}=j1(_,u,s,l,16,p,S,!1,O,!P),U===null&&(P?O.invalidEscapeSequence(D,s,l):u=D-1),{code:U,pos:u}}function j1(_,u,s,l,p,S,P,O,D,U){const F=u,W=p===16?$1.hex:$1.decBinOct,K=p===16?Oa.hex:p===10?Oa.dec:p===8?Oa.oct:Oa.bin;let J=!1,ae=0;for(let xe=0,mt=S==null?1/0:S;xe<mt;++xe){const be=_.charCodeAt(u);let Le;if(be===95&&O!=="bail"){const Da=_.charCodeAt(u-1),gi=_.charCodeAt(u+1);if(O){if(Number.isNaN(gi)||!K(gi)||W.has(Da)||W.has(gi)){if(U)return{n:null,pos:u};D.unexpectedNumericSeparator(u,s,l)}}else{if(U)return{n:null,pos:u};D.numericSeparatorInEscapeSequence(u,s,l)}++u;continue}if(be>=97?Le=be-97+10:be>=65?Le=be-65+10:lT(be)?Le=be-48:Le=1/0,Le>=p){if(Le<=9&&U)return{n:null,pos:u};if(Le<=9&&D.invalidDigit(u,s,l,p))Le=0;else if(P)Le=0,J=!0;else break}++u,ae=ae*p+Le}return u===F||S!=null&&u-F!==S||J?{n:null,pos:u}:{n:ae,pos:u}}function V1(_,u,s,l,p,S){const P=_.charCodeAt(u);let O;if(P===123){if(++u,{code:O,pos:u}=_c(_,u,s,l,_.indexOf("}",u)-u,!0,p,S),++u,O!==null&&O>1114111)if(p)S.invalidCodePoint(u,s,l);else return{code:null,pos:u}}else({code:O,pos:u}=_c(_,u,s,l,4,!1,p,S));return{code:O,pos:u}}function di(_,u,s){return new e(s,_-u,_)}const fT=new Set([103,109,115,105,121,117,100,118]);class Sr{constructor(u){this.type=u.type,this.value=u.value,this.start=u.start,this.end=u.end,this.loc=new r(u.startLoc,u.endLoc)}}class pT extends aT{constructor(u,s){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(l,p,S,P)=>this.options.errorRecovery?(this.raise(y.InvalidDigit,di(l,p,S),{radix:P}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(y.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(y.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(y.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(y.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(l,p,S)=>{this.recordStrictModeErrors(y.StrictNumericEscape,di(l,p,S))},unterminated:(l,p,S)=>{throw this.raise(y.UnterminatedString,di(l-1,p,S))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(y.StrictNumericEscape),unterminated:(l,p,S)=>{throw this.raise(y.UnterminatedTemplate,di(l,p,S))}}),this.state=new Tc,this.state.init(u),this.input=s,this.length=s.length,this.comments=[],this.isLookahead=!1}pushToken(u){this.tokens.length=this.state.tokensLength,this.tokens.push(u),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Sr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(u){return this.match(u)?(this.next(),!0):!1}match(u){return this.state.type===u}createLookaheadState(u){return{pos:u.pos,value:null,type:u.type,start:u.start,end:u.end,context:[this.curContext()],inType:u.inType,startLoc:u.startLoc,lastTokEndLoc:u.lastTokEndLoc,curLine:u.curLine,lineStart:u.lineStart,curPosition:u.curPosition}}lookahead(){const u=this.state;this.state=this.createLookaheadState(u),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const s=this.state;return this.state=u,s}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(u){return Ec.lastIndex=u,Ec.test(this.input)?Ec.lastIndex:u}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(u){return wc.lastIndex=u,wc.test(this.input)?wc.lastIndex:u}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(u){let s=this.input.charCodeAt(u);if((s&64512)===55296&&++u<this.input.length){const l=this.input.charCodeAt(u);(l&64512)===56320&&(s=65536+((s&1023)<<10)+(l&1023))}return s}setStrict(u){this.state.strict=u,u&&(this.state.strictErrors.forEach(([s,l])=>this.raise(s,l)),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(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(u){let s;this.isLookahead||(s=this.state.curPosition());const l=this.state.pos,p=this.input.indexOf(u,l+2);if(p===-1)throw this.raise(y.UnterminatedComment,this.state.curPosition());for(this.state.pos=p+u.length,Na.lastIndex=l+2;Na.test(this.input)&&Na.lastIndex<=p;)++this.state.curLine,this.state.lineStart=Na.lastIndex;if(this.isLookahead)return;const S={type:"CommentBlock",value:this.input.slice(l+2,p),start:l,end:p+u.length,loc:new r(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(S),S}skipLineComment(u){const s=this.state.pos;let l;this.isLookahead||(l=this.state.curPosition());let p=this.input.charCodeAt(this.state.pos+=u);if(this.state.pos<this.length)for(;!bs(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const S=this.state.pos,O={type:"CommentLine",value:this.input.slice(s+u,S),start:s,end:S,loc:new r(l,this.state.curPosition())};return this.options.tokens&&this.pushToken(O),O}skipSpace(){const u=this.state.pos,s=[];e:for(;this.state.pos<this.length;){const l=this.input.charCodeAt(this.state.pos);switch(l){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:{const p=this.skipBlockComment("*/");p!==void 0&&(this.addComment(p),this.options.attachComment&&s.push(p));break}case 47:{const p=this.skipLineComment(2);p!==void 0&&(this.addComment(p),this.options.attachComment&&s.push(p));break}default:break e}break;default:if(uT(l))++this.state.pos;else if(l===45&&!this.inModule&&this.options.annexB){const p=this.state.pos;if(this.input.charCodeAt(p+1)===45&&this.input.charCodeAt(p+2)===62&&(u===0||this.state.lineStart>u)){const S=this.skipLineComment(3);S!==void 0&&(this.addComment(S),this.options.attachComment&&s.push(S))}else break e}else if(l===60&&!this.inModule&&this.options.annexB){const p=this.state.pos;if(this.input.charCodeAt(p+1)===33&&this.input.charCodeAt(p+2)===45&&this.input.charCodeAt(p+3)===45){const S=this.skipLineComment(4);S!==void 0&&(this.addComment(S),this.options.attachComment&&s.push(S))}else break e}else break e}}if(s.length>0){const l=this.state.pos,p={start:u,end:l,comments:s,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(p)}}finishToken(u,s){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const l=this.state.type;this.state.type=u,this.state.value=s,this.isLookahead||this.updateContext(l)}replaceToken(u){this.state.type=u,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const u=this.state.pos+1,s=this.codePointAtPos(u);if(s>=48&&s<=57)throw this.raise(y.UnexpectedDigitAfterHash,this.state.curPosition());if(s===123||s===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(s===123?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,s===123?this.finishToken(7):this.finishToken(1)}else ir(s)?(++this.state.pos,this.finishToken(138,this.readWord1(s))):s===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const u=this.input.charCodeAt(this.state.pos+1);if(u>=48&&u<=57){this.readNumber(!0);return}u===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 u=this.input.charCodeAt(this.state.pos+1);if(u!==33)return!1;const s=this.state.pos;for(this.state.pos+=1;!bs(u)&&++this.state.pos<this.length;)u=this.input.charCodeAt(this.state.pos);const l=this.input.slice(s+2,this.state.pos);return this.finishToken(28,l),!0}readToken_mult_modulo(u){let s=u===42?55:54,l=1,p=this.input.charCodeAt(this.state.pos+1);u===42&&p===42&&(l++,p=this.input.charCodeAt(this.state.pos+2),s=57),p===61&&!this.state.inType&&(l++,s=u===37?33:30),this.finishOp(s,l)}readToken_pipe_amp(u){const s=this.input.charCodeAt(this.state.pos+1);if(s===u){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(u===124?41:42,2);return}if(u===124){if(s===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&s===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(y.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&s===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(y.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(s===61){this.finishOp(30,2);return}this.finishOp(u===124?43:45,1)}readToken_caret(){const u=this.input.charCodeAt(this.state.pos+1);u===61&&!this.state.inType?this.finishOp(32,2):u===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(u){const s=this.input.charCodeAt(this.state.pos+1);if(s===u){this.finishOp(34,2);return}s===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:u}=this.state,s=this.input.charCodeAt(u+1);if(s===60){if(this.input.charCodeAt(u+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(s===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:u}=this.state,s=this.input.charCodeAt(u+1);if(s===62){const l=this.input.charCodeAt(u+2)===62?3:2;if(this.input.charCodeAt(u+l)===61){this.finishOp(30,l+1);return}this.finishOp(52,l);return}if(s===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(u){const s=this.input.charCodeAt(this.state.pos+1);if(s===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(u===61&&s===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(u===61?29:35,1)}readToken_question(){const u=this.input.charCodeAt(this.state.pos+1),s=this.input.charCodeAt(this.state.pos+2);u===63?s===61?this.finishOp(30,3):this.finishOp(40,2):u===46&&!(s>=48&&s<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(u){switch(u){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(y.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(y.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:{const s=this.input.charCodeAt(this.state.pos+1);if(s===120||s===88){this.readRadixNumber(16);return}if(s===111||s===79){this.readRadixNumber(8);return}if(s===98||s===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(u);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(u);return;case 124:case 38:this.readToken_pipe_amp(u);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(u);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(u);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(ir(u)){this.readWord(u);return}}throw this.raise(y.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(u)})}finishOp(u,s){const l=this.input.slice(this.state.pos,this.state.pos+s);this.state.pos+=s,this.finishToken(u,l)}readRegexp(){const u=this.state.startLoc,s=this.state.start+1;let l,p,{pos:S}=this.state;for(;;++S){if(S>=this.length)throw this.raise(y.UnterminatedRegExp,i(u,1));const U=this.input.charCodeAt(S);if(bs(U))throw this.raise(y.UnterminatedRegExp,i(u,1));if(l)l=!1;else{if(U===91)p=!0;else if(U===93&&p)p=!1;else if(U===47&&!p)break;l=U===92}}const P=this.input.slice(s,S);++S;let O="";const D=()=>i(u,S+2-s);for(;S<this.length;){const U=this.codePointAtPos(S),F=String.fromCharCode(U);if(fT.has(U))U===118?O.includes("u")&&this.raise(y.IncompatibleRegExpUVFlags,D()):U===117&&O.includes("v")&&this.raise(y.IncompatibleRegExpUVFlags,D()),O.includes(F)&&this.raise(y.DuplicateRegExpFlags,D());else if(ys(U)||U===92)this.raise(y.MalformedRegExpFlags,D());else break;++S,O+=F}this.state.pos=S,this.finishToken(137,{pattern:P,flags:O})}readInt(u,s,l=!1,p=!0){const{n:S,pos:P}=j1(this.input,this.state.pos,this.state.lineStart,this.state.curLine,u,s,l,p,this.errorHandlers_readInt,!1);return this.state.pos=P,S}readRadixNumber(u){const s=this.state.curPosition();let l=!1;this.state.pos+=2;const p=this.readInt(u);p==null&&this.raise(y.InvalidDigit,i(s,2),{radix:u});const S=this.input.charCodeAt(this.state.pos);if(S===110)++this.state.pos,l=!0;else if(S===109)throw this.raise(y.InvalidDecimal,s);if(ir(this.codePointAtPos(this.state.pos)))throw this.raise(y.NumberIdentifier,this.state.curPosition());if(l){const P=this.input.slice(s.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,P);return}this.finishToken(134,p)}readNumber(u){const s=this.state.pos,l=this.state.curPosition();let p=!1,S=!1,P=!1,O=!1,D=!1;!u&&this.readInt(10)===null&&this.raise(y.InvalidNumber,this.state.curPosition());const U=this.state.pos-s>=2&&this.input.charCodeAt(s)===48;if(U){const J=this.input.slice(s,this.state.pos);if(this.recordStrictModeErrors(y.StrictOctalLiteral,l),!this.state.strict){const ae=J.indexOf("_");ae>0&&this.raise(y.ZeroDigitNumericSeparator,i(l,ae))}D=U&&!/[89]/.test(J)}let F=this.input.charCodeAt(this.state.pos);if(F===46&&!D&&(++this.state.pos,this.readInt(10),p=!0,F=this.input.charCodeAt(this.state.pos)),(F===69||F===101)&&!D&&(F=this.input.charCodeAt(++this.state.pos),(F===43||F===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(y.InvalidOrMissingExponent,l),p=!0,O=!0,F=this.input.charCodeAt(this.state.pos)),F===110&&((p||U)&&this.raise(y.InvalidBigIntLiteral,l),++this.state.pos,S=!0),F===109&&(this.expectPlugin("decimal",this.state.curPosition()),(O||U)&&this.raise(y.InvalidDecimal,l),++this.state.pos,P=!0),ir(this.codePointAtPos(this.state.pos)))throw this.raise(y.NumberIdentifier,this.state.curPosition());const W=this.input.slice(s,this.state.pos).replace(/[_mn]/g,"");if(S){this.finishToken(135,W);return}if(P){this.finishToken(136,W);return}const K=D?parseInt(W,8):parseFloat(W);this.finishToken(134,K)}readCodePoint(u){const{code:s,pos:l}=V1(this.input,this.state.pos,this.state.lineStart,this.state.curLine,u,this.errorHandlers_readCodePoint);return this.state.pos=l,s}readString(u){const{str:s,pos:l,curLine:p,lineStart:S}=q1(u===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=l+1,this.state.lineStart=S,this.state.curLine=p,this.finishToken(133,s)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const u=this.input[this.state.pos],{str:s,firstInvalidLoc:l,pos:p,curLine:S,lineStart:P}=q1("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=p+1,this.state.lineStart=P,this.state.curLine=S,l&&(this.state.firstInvalidTemplateEscapePos=new e(l.curLine,l.pos-l.lineStart,l.pos)),this.input.codePointAt(p)===96?this.finishToken(24,l?null:u+s+"`"):(this.state.pos++,this.finishToken(25,l?null:u+s+"${"))}recordStrictModeErrors(u,s){const l=s.index;this.state.strict&&!this.state.strictErrors.has(l)?this.raise(u,s):this.state.strictErrors.set(l,[u,s])}readWord1(u){this.state.containsEsc=!1;let s="";const l=this.state.pos;let p=this.state.pos;for(u!==void 0&&(this.state.pos+=u<=65535?1:2);this.state.pos<this.length;){const S=this.codePointAtPos(this.state.pos);if(ys(S))this.state.pos+=S<=65535?1:2;else if(S===92){this.state.containsEsc=!0,s+=this.input.slice(p,this.state.pos);const P=this.state.curPosition(),O=this.state.pos===l?ir:ys;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(y.MissingUnicodeEscape,this.state.curPosition()),p=this.state.pos-1;continue}++this.state.pos;const D=this.readCodePoint(!0);D!==null&&(O(D)||this.raise(y.EscapedCharNotAnIdentifier,P),s+=String.fromCodePoint(D)),p=this.state.pos}else break}return s+this.input.slice(p,this.state.pos)}readWord(u){const s=this.readWord1(u),l=Z.get(s);l!==void 0?this.finishToken(l,Je(l)):this.finishToken(132,s)}checkKeywordEscapes(){const{type:u}=this.state;St(u)&&this.state.containsEsc&&this.raise(y.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Je(u)})}raise(u,s,l={}){const p=s instanceof e?s:s.loc.start,S=u(p,l);if(!this.options.errorRecovery)throw S;return this.isLookahead||this.state.errors.push(S),S}raiseOverwrite(u,s,l={}){const p=s instanceof e?s:s.loc.start,S=p.index,P=this.state.errors;for(let O=P.length-1;O>=0;O--){const D=P[O];if(D.loc.index===S)return P[O]=u(p,l);if(D.loc.index<S)break}return this.raise(u,s,l)}updateContext(u){}unexpected(u,s){throw this.raise(y.UnexpectedToken,u!=null?u:this.state.startLoc,{expected:s?Je(s):null})}expectPlugin(u,s){if(this.hasPlugin(u))return!0;throw this.raise(y.MissingPlugin,s!=null?s:this.state.startLoc,{missingPlugin:[u]})}expectOnePlugin(u){if(!u.some(s=>this.hasPlugin(s)))throw this.raise(y.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:u})}errorBuilder(u){return(s,l,p)=>{this.raise(u,di(s,l,p))}}}class dT{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class mT{constructor(u){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=u}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new dT)}exit(){const u=this.stack.pop(),s=this.current();for(const[l,p]of Array.from(u.undefinedPrivateNames))s?s.undefinedPrivateNames.has(l)||s.undefinedPrivateNames.set(l,p):this.parser.raise(y.InvalidPrivateFieldResolution,p,{identifierName:l})}declarePrivateName(u,s,l){const{privateNames:p,loneAccessors:S,undefinedPrivateNames:P}=this.current();let O=p.has(u);if(s&3){const D=O&&S.get(u);if(D){const U=D&4,F=s&4,W=D&3,K=s&3;O=W===K||U!==F,O||S.delete(u)}else O||S.set(u,s)}O&&this.parser.raise(y.PrivateNameRedeclaration,l,{identifierName:u}),p.add(u),P.delete(u)}usePrivateName(u,s){let l;for(l of this.stack)if(l.privateNames.has(u))return;l?l.undefinedPrivateNames.set(u,s):this.parser.raise(y.InvalidPrivateFieldResolution,s,{identifierName:u})}}class ka{constructor(u=0){this.type=u}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class G1 extends ka{constructor(u){super(u),this.declarationErrors=new Map}recordDeclarationError(u,s){const l=s.index;this.declarationErrors.set(l,[u,s])}clearDeclarationError(u){this.declarationErrors.delete(u)}iterateErrors(u){this.declarationErrors.forEach(u)}}class gT{constructor(u){this.parser=void 0,this.stack=[new ka],this.parser=u}enter(u){this.stack.push(u)}exit(){this.stack.pop()}recordParameterInitializerError(u,s){const l=s.loc.start,{stack:p}=this;let S=p.length-1,P=p[S];for(;!P.isCertainlyParameterDeclaration();){if(P.canBeArrowParameterDeclaration())P.recordDeclarationError(u,l);else return;P=p[--S]}this.parser.raise(u,l)}recordArrowParameterBindingError(u,s){const{stack:l}=this,p=l[l.length-1],S=s.loc.start;if(p.isCertainlyParameterDeclaration())this.parser.raise(u,S);else if(p.canBeArrowParameterDeclaration())p.recordDeclarationError(u,S);else return}recordAsyncArrowParametersError(u){const{stack:s}=this;let l=s.length-1,p=s[l];for(;p.canBeArrowParameterDeclaration();)p.type===2&&p.recordDeclarationError(y.AwaitBindingIdentifier,u),p=s[--l]}validateAsPattern(){const{stack:u}=this,s=u[u.length-1];s.canBeArrowParameterDeclaration()&&s.iterateErrors(([l,p])=>{this.parser.raise(l,p);let S=u.length-2,P=u[S];for(;P.canBeArrowParameterDeclaration();)P.clearDeclarationError(p.index),P=u[--S]})}}function yT(){return new ka(3)}function bT(){return new G1(1)}function vT(){return new G1(2)}function z1(){return new ka}class ST{constructor(){this.stacks=[]}enter(u){this.stacks.push(u)}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 La(_,u){return(_?2:0)|(u?1:0)}class xT extends pT{addExtra(u,s,l,p=!0){if(!u)return;let{extra:S}=u;S==null&&(S={},u.extra=S),p?S[s]=l:Object.defineProperty(S,s,{enumerable:p,value:l})}isContextual(u){return this.state.type===u&&!this.state.containsEsc}isUnparsedContextual(u,s){const l=u+s.length;if(this.input.slice(u,l)===s){const p=this.input.charCodeAt(l);return!(ys(p)||(p&64512)===55296)}return!1}isLookaheadContextual(u){const s=this.nextTokenStart();return this.isUnparsedContextual(s,u)}eatContextual(u){return this.isContextual(u)?(this.next(),!0):!1}expectContextual(u,s){if(!this.eatContextual(u)){if(s!=null)throw this.raise(s,this.state.startLoc);this.unexpected(null,u)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return U1(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return U1(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(u=!0){(u?this.isLineTerminator():this.eat(13))||this.raise(y.MissingSemicolon,this.state.lastTokEndLoc)}expect(u,s){this.eat(u)||this.unexpected(s,u)}tryParse(u,s=this.state.clone()){const l={node:null};try{const p=u((S=null)=>{throw l.node=S,l});if(this.state.errors.length>s.errors.length){const S=this.state;return this.state=s,this.state.tokensLength=S.tokensLength,{node:p,error:S.errors[s.errors.length],thrown:!1,aborted:!1,failState:S}}return{node:p,error:null,thrown:!1,aborted:!1,failState:null}}catch(p){const S=this.state;if(this.state=s,p instanceof SyntaxError)return{node:null,error:p,thrown:!0,aborted:!1,failState:S};if(p===l)return{node:l.node,error:null,thrown:!1,aborted:!0,failState:S};throw p}}checkExpressionErrors(u,s){if(!u)return!1;const{shorthandAssignLoc:l,doubleProtoLoc:p,privateKeyLoc:S,optionalParametersLoc:P}=u,O=!!l||!!p||!!P||!!S;if(!s)return O;l!=null&&this.raise(y.InvalidCoverInitializedName,l),p!=null&&this.raise(y.DuplicateProto,p),S!=null&&this.raise(y.UnexpectedPrivateField,S),P!=null&&this.unexpected(P)}isLiteralPropertyName(){return he(this.state.type)}isPrivateName(u){return u.type==="PrivateName"}getPrivateNameSV(u){return u.id.name}hasPropertyAsPrivateName(u){return(u.type==="MemberExpression"||u.type==="OptionalMemberExpression")&&this.isPrivateName(u.property)}isObjectProperty(u){return u.type==="ObjectProperty"}isObjectMethod(u){return u.type==="ObjectMethod"}initializeScopes(u=this.options.sourceType==="module"){const s=this.state.labels;this.state.labels=[];const l=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const p=this.inModule;this.inModule=u;const S=this.scope,P=this.getScopeHandler();this.scope=new P(this,u);const O=this.prodParam;this.prodParam=new ST;const D=this.classScope;this.classScope=new mT(this);const U=this.expressionScope;return this.expressionScope=new gT(this),()=>{this.state.labels=s,this.exportedIdentifiers=l,this.inModule=p,this.scope=S,this.prodParam=O,this.classScope=D,this.expressionScope=U}}enterInitialScopes(){let u=0;this.inModule&&(u|=2),this.scope.enter(1),this.prodParam.enter(u)}checkDestructuringPrivate(u){const{privateKeyLoc:s}=u;s!==null&&this.expectPlugin("destructuringPrivate",s)}}class Ma{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Ra{constructor(u,s,l){this.type="",this.start=s,this.end=0,this.loc=new r(l),u!=null&&u.options.ranges&&(this.range=[s,0]),u!=null&&u.filename&&(this.loc.filename=u.filename)}}const Pc=Ra.prototype;Pc.__clone=function(){const _=new Ra(void 0,this.start,this.loc.start),u=Object.keys(this);for(let s=0,l=u.length;s<l;s++){const p=u[s];p!=="leadingComments"&&p!=="trailingComments"&&p!=="innerComments"&&(_[p]=this[p])}return _};function ET(_){return nr(_)}function nr(_){const{type:u,start:s,end:l,loc:p,range:S,extra:P,name:O}=_,D=Object.create(Pc);return D.type=u,D.start=s,D.end=l,D.loc=p,D.range=S,D.extra=P,D.name=O,u==="Placeholder"&&(D.expectedNode=_.expectedNode),D}function wT(_){const{type:u,start:s,end:l,loc:p,range:S,extra:P}=_;if(u==="Placeholder")return ET(_);const O=Object.create(Pc);return O.type=u,O.start=s,O.end=l,O.loc=p,O.range=S,_.raw!==void 0?O.raw=_.raw:O.extra=P,O.value=_.value,O}class TT extends xT{startNode(){const u=this.state.startLoc;return new Ra(this,u.index,u)}startNodeAt(u){return new Ra(this,u.index,u)}startNodeAtNode(u){return this.startNodeAt(u.loc.start)}finishNode(u,s){return this.finishNodeAt(u,s,this.state.lastTokEndLoc)}finishNodeAt(u,s,l){return u.type=s,u.end=l.index,u.loc.end=l,this.options.ranges&&(u.range[1]=l.index),this.options.attachComment&&this.processComment(u),u}resetStartLocation(u,s){u.start=s.index,u.loc.start=s,this.options.ranges&&(u.range[0]=s.index)}resetEndLocation(u,s=this.state.lastTokEndLoc){u.end=s.index,u.loc.end=s,this.options.ranges&&(u.range[1]=s.index)}resetStartLocationFromNode(u,s){this.resetStartLocation(u,s.loc.start)}}const _T=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),le=v`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:_})=>`Cannot overwrite reserved type ${_}.`,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:_,enumName:u})=>`Boolean enum members need to be initialized. Use either \`${_} = true,\` or \`${_} = false,\` in enum \`${u}\`.`,EnumDuplicateMemberName:({memberName:_,enumName:u})=>`Enum member names need to be unique, but the name \`${_}\` has already been used before in enum \`${u}\`.`,EnumInconsistentMemberValues:({enumName:_})=>`Enum \`${_}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:_,enumName:u})=>`Enum type \`${_}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${u}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:_})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${_}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:_,memberName:u,explicitType:s})=>`Enum \`${_}\` has type \`${s}\`, so the initializer of \`${u}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:_,memberName:u})=>`Symbol enum members cannot be initialized. Use \`${u},\` in enum \`${_}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:_,memberName:u})=>`The enum member initializer for \`${u}\` needs to be a literal (either a boolean, number, or string) in enum \`${_}\`.`,EnumInvalidMemberName:({enumName:_,memberName:u,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${u}\`, consider using \`${s}\`, in enum \`${_}\`.`,EnumNumberMemberNotInitialized:({enumName:_,memberName:u})=>`Number enum members need to be initialized, e.g. \`${u} = 1\` in enum \`${_}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:_})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${_}\`.`,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:_})=>`Unexpected reserved type ${_}.`,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:_,suggestion:u})=>`\`declare export ${_}\` is not supported. Use \`${u}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function PT(_){return _.type==="DeclareExportAllDeclaration"||_.type==="DeclareExportDeclaration"&&(!_.declaration||_.declaration.type!=="TypeAlias"&&_.declaration.type!=="InterfaceDeclaration")}function W1(_){return _.importKind==="type"||_.importKind==="typeof"}const AT={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function CT(_,u){const s=[],l=[];for(let p=0;p<_.length;p++)(u(_[p],p,_)?s:l).push(_[p]);return[s,l]}const IT=/\*?\s*@((?:no)?flow)\b/;var NT=_=>class extends _{constructor(...s){super(...s),this.flowPragma=void 0}getScopeHandler(){return sT}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(s,l){s!==133&&s!==13&&s!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(s,l)}addComment(s){if(this.flowPragma===void 0){const l=IT.exec(s.value);if(l)if(l[1]==="flow")this.flowPragma="flow";else if(l[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(s)}flowParseTypeInitialiser(s){const l=this.state.inType;this.state.inType=!0,this.expect(s||14);const p=this.flowParseType();return this.state.inType=l,p}flowParsePredicate(){const s=this.startNode(),l=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>l.index+1&&this.raise(le.UnexpectedSpaceBetweenModuloChecks,l),this.eat(10)?(s.value=super.parseExpression(),this.expect(11),this.finishNode(s,"DeclaredPredicate")):this.finishNode(s,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const s=this.state.inType;this.state.inType=!0,this.expect(14);let l=null,p=null;return this.match(54)?(this.state.inType=s,p=this.flowParsePredicate()):(l=this.flowParseType(),this.state.inType=s,this.match(54)&&(p=this.flowParsePredicate())),[l,p]}flowParseDeclareClass(s){return this.next(),this.flowParseInterfaceish(s,!0),this.finishNode(s,"DeclareClass")}flowParseDeclareFunction(s){this.next();const l=s.id=this.parseIdentifier(),p=this.startNode(),S=this.startNode();this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,this.expect(10);const P=this.flowParseFunctionTypeParams();return p.params=P.params,p.rest=P.rest,p.this=P._this,this.expect(11),[p.returnType,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),S.typeAnnotation=this.finishNode(p,"FunctionTypeAnnotation"),l.typeAnnotation=this.finishNode(S,"TypeAnnotation"),this.resetEndLocation(l),this.semicolon(),this.scope.declareName(s.id.name,2048,s.id.loc.start),this.finishNode(s,"DeclareFunction")}flowParseDeclare(s,l){if(this.match(80))return this.flowParseDeclareClass(s);if(this.match(68))return this.flowParseDeclareFunction(s);if(this.match(74))return this.flowParseDeclareVariable(s);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(s):(l&&this.raise(le.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(s));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(s);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(s);if(this.isContextual(129))return this.flowParseDeclareInterface(s);if(this.match(82))return this.flowParseDeclareExportDeclaration(s,l);this.unexpected()}flowParseDeclareVariable(s){return this.next(),s.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(s.id.name,5,s.id.loc.start),this.semicolon(),this.finishNode(s,"DeclareVariable")}flowParseDeclareModule(s){this.scope.enter(0),this.match(133)?s.id=super.parseExprAtom():s.id=this.parseIdentifier();const l=s.body=this.startNode(),p=l.body=[];for(this.expect(5);!this.match(8);){let O=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(le.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(O)):(this.expectContextual(125,le.UnsupportedStatementInDeclareModule),O=this.flowParseDeclare(O,!0)),p.push(O)}this.scope.exit(),this.expect(8),this.finishNode(l,"BlockStatement");let S=null,P=!1;return p.forEach(O=>{PT(O)?(S==="CommonJS"&&this.raise(le.AmbiguousDeclareModuleKind,O),S="ES"):O.type==="DeclareModuleExports"&&(P&&this.raise(le.DuplicateDeclareModuleExports,O),S==="ES"&&this.raise(le.AmbiguousDeclareModuleKind,O),S="CommonJS",P=!0)}),s.kind=S||"CommonJS",this.finishNode(s,"DeclareModule")}flowParseDeclareExportDeclaration(s,l){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?s.declaration=this.flowParseDeclare(this.startNode()):(s.declaration=this.flowParseType(),this.semicolon()),s.default=!0,this.finishNode(s,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!l){const p=this.state.value;throw this.raise(le.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:p,suggestion:AT[p]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return s.declaration=this.flowParseDeclare(this.startNode()),s.default=!1,this.finishNode(s,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return s=this.parseExport(s,null),s.type==="ExportNamedDeclaration"&&(s.type="ExportDeclaration",s.default=!1,delete s.exportKind),s.type="Declare"+s.type,s;this.unexpected()}flowParseDeclareModuleExports(s){return this.next(),this.expectContextual(111),s.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(s,"DeclareModuleExports")}flowParseDeclareTypeAlias(s){this.next();const l=this.flowParseTypeAlias(s);return l.type="DeclareTypeAlias",l}flowParseDeclareOpaqueType(s){this.next();const l=this.flowParseOpaqueType(s,!0);return l.type="DeclareOpaqueType",l}flowParseDeclareInterface(s){return this.next(),this.flowParseInterfaceish(s,!1),this.finishNode(s,"DeclareInterface")}flowParseInterfaceish(s,l){if(s.id=this.flowParseRestrictedIdentifier(!l,!0),this.scope.declareName(s.id.name,l?17:8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.extends=[],this.eat(81))do s.extends.push(this.flowParseInterfaceExtends());while(!l&&this.eat(12));if(l){if(s.implements=[],s.mixins=[],this.eatContextual(117))do s.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do s.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}s.body=this.flowParseObjectType({allowStatic:l,allowExact:!1,allowSpread:!1,allowProto:l,allowInexact:!1})}flowParseInterfaceExtends(){const s=this.startNode();return s.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,this.finishNode(s,"InterfaceExtends")}flowParseInterface(s){return this.flowParseInterfaceish(s,!1),this.finishNode(s,"InterfaceDeclaration")}checkNotUnderscore(s){s==="_"&&this.raise(le.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(s,l,p){_T.has(s)&&this.raise(p?le.AssignReservedType:le.UnexpectedReservedType,l,{reservedType:s})}flowParseRestrictedIdentifier(s,l){return this.checkReservedType(this.state.value,this.state.startLoc,l),this.parseIdentifier(s)}flowParseTypeAlias(s){return s.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(s.id.name,8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(s,"TypeAlias")}flowParseOpaqueType(s,l){return this.expectContextual(130),s.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(s.id.name,8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.supertype=null,this.match(14)&&(s.supertype=this.flowParseTypeInitialiser(14)),s.impltype=null,l||(s.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(s,"OpaqueType")}flowParseTypeParameter(s=!1){const l=this.state.startLoc,p=this.startNode(),S=this.flowParseVariance(),P=this.flowParseTypeAnnotatableIdentifier();return p.name=P.name,p.variance=S,p.bound=P.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):s&&this.raise(le.MissingTypeParamDefault,l),this.finishNode(p,"TypeParameter")}flowParseTypeParameterDeclaration(){const s=this.state.inType,l=this.startNode();l.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let p=!1;do{const S=this.flowParseTypeParameter(p);l.params.push(S),S.default&&(p=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=s,this.finishNode(l,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const s=this.startNode(),l=this.state.inType;s.params=[],this.state.inType=!0,this.expect(47);const p=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)s.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=p,this.expect(48),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const s=this.startNode(),l=this.state.inType;for(s.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)s.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseInterfaceType(){const s=this.startNode();if(this.expectContextual(129),s.extends=[],this.eat(81))do s.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return s.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(s,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(s,l,p){return s.static=l,this.lookahead().type===14?(s.id=this.flowParseObjectPropertyKey(),s.key=this.flowParseTypeInitialiser()):(s.id=null,s.key=this.flowParseType()),this.expect(3),s.value=this.flowParseTypeInitialiser(),s.variance=p,this.finishNode(s,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(s,l){return s.static=l,s.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(s.method=!0,s.optional=!1,s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.loc.start))):(s.method=!1,this.eat(17)&&(s.optional=!0),s.value=this.flowParseTypeInitialiser()),this.finishNode(s,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(s){for(s.params=[],s.rest=null,s.typeParameters=null,s.this=null,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(s.this=this.flowParseFunctionTypeParam(!0),s.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),s.returnType=this.flowParseTypeInitialiser(),this.finishNode(s,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(s,l){const p=this.startNode();return s.static=l,s.value=this.flowParseObjectTypeMethodish(p),this.finishNode(s,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:s,allowExact:l,allowSpread:p,allowProto:S,allowInexact:P}){const O=this.state.inType;this.state.inType=!0;const D=this.startNode();D.callProperties=[],D.properties=[],D.indexers=[],D.internalSlots=[];let U,F,W=!1;for(l&&this.match(6)?(this.expect(6),U=9,F=!0):(this.expect(5),U=8,F=!1),D.exact=F;!this.match(U);){let J=!1,ae=null,xe=null;const mt=this.startNode();if(S&&this.isContextual(118)){const Le=this.lookahead();Le.type!==14&&Le.type!==17&&(this.next(),ae=this.state.startLoc,s=!1)}if(s&&this.isContextual(106)){const Le=this.lookahead();Le.type!==14&&Le.type!==17&&(this.next(),J=!0)}const be=this.flowParseVariance();if(this.eat(0))ae!=null&&this.unexpected(ae),this.eat(0)?(be&&this.unexpected(be.loc.start),D.internalSlots.push(this.flowParseObjectTypeInternalSlot(mt,J))):D.indexers.push(this.flowParseObjectTypeIndexer(mt,J,be));else if(this.match(10)||this.match(47))ae!=null&&this.unexpected(ae),be&&this.unexpected(be.loc.start),D.callProperties.push(this.flowParseObjectTypeCallProperty(mt,J));else{let Le="init";if(this.isContextual(99)||this.isContextual(104)){const gi=this.lookahead();he(gi.type)&&(Le=this.state.value,this.next())}const Da=this.flowParseObjectTypeProperty(mt,J,ae,be,Le,p,P!=null?P:!F);Da===null?(W=!0,xe=this.state.lastTokStartLoc):D.properties.push(Da)}this.flowObjectTypeSemicolon(),xe&&!this.match(8)&&!this.match(9)&&this.raise(le.UnexpectedExplicitInexactInObject,xe)}this.expect(U),p&&(D.inexact=W);const K=this.finishNode(D,"ObjectTypeAnnotation");return this.state.inType=O,K}flowParseObjectTypeProperty(s,l,p,S,P,O,D){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(O?D||this.raise(le.InexactInsideExact,this.state.lastTokStartLoc):this.raise(le.InexactInsideNonObject,this.state.lastTokStartLoc),S&&this.raise(le.InexactVariance,S),null):(O||this.raise(le.UnexpectedSpreadType,this.state.lastTokStartLoc),p!=null&&this.unexpected(p),S&&this.raise(le.SpreadVariance,S),s.argument=this.flowParseType(),this.finishNode(s,"ObjectTypeSpreadProperty"));{s.key=this.flowParseObjectPropertyKey(),s.static=l,s.proto=p!=null,s.kind=P;let U=!1;return this.match(47)||this.match(10)?(s.method=!0,p!=null&&this.unexpected(p),S&&this.unexpected(S.loc.start),s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.loc.start)),(P==="get"||P==="set")&&this.flowCheckGetterSetterParams(s),!O&&s.key.name==="constructor"&&s.value.this&&this.raise(le.ThisParamBannedInConstructor,s.value.this)):(P!=="init"&&this.unexpected(),s.method=!1,this.eat(17)&&(U=!0),s.value=this.flowParseTypeInitialiser(),s.variance=S),s.optional=U,this.finishNode(s,"ObjectTypeProperty")}}flowCheckGetterSetterParams(s){const l=s.kind==="get"?0:1,p=s.value.params.length+(s.value.rest?1:0);s.value.this&&this.raise(s.kind==="get"?le.GetterMayNotHaveThisParam:le.SetterMayNotHaveThisParam,s.value.this),p!==l&&this.raise(s.kind==="get"?y.BadGetterArity:y.BadSetterArity,s),s.kind==="set"&&s.value.rest&&this.raise(y.BadSetterRestParameter,s)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(s,l){var p;(p=s)!=null||(s=this.state.startLoc);let S=l||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const P=this.startNodeAt(s);P.qualification=S,P.id=this.flowParseRestrictedIdentifier(!0),S=this.finishNode(P,"QualifiedTypeIdentifier")}return S}flowParseGenericType(s,l){const p=this.startNodeAt(s);return p.typeParameters=null,p.id=this.flowParseQualifiedTypeIdentifier(s,l),this.match(47)&&(p.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(p,"GenericTypeAnnotation")}flowParseTypeofType(){const s=this.startNode();return this.expect(87),s.argument=this.flowParsePrimaryType(),this.finishNode(s,"TypeofTypeAnnotation")}flowParseTupleType(){const s=this.startNode();for(s.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(s.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(s,"TupleTypeAnnotation")}flowParseFunctionTypeParam(s){let l=null,p=!1,S=null;const P=this.startNode(),O=this.lookahead(),D=this.state.type===78;return O.type===14||O.type===17?(D&&!s&&this.raise(le.ThisParamMustBeFirst,P),l=this.parseIdentifier(D),this.eat(17)&&(p=!0,D&&this.raise(le.ThisParamMayNotBeOptional,P)),S=this.flowParseTypeInitialiser()):S=this.flowParseType(),P.name=l,P.optional=p,P.typeAnnotation=S,this.finishNode(P,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(s){const l=this.startNodeAt(s.loc.start);return l.name=null,l.optional=!1,l.typeAnnotation=s,this.finishNode(l,"FunctionTypeParam")}flowParseFunctionTypeParams(s=[]){let l=null,p=null;for(this.match(78)&&(p=this.flowParseFunctionTypeParam(!0),p.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(l=this.flowParseFunctionTypeParam(!1)),{params:s,rest:l,_this:p}}flowIdentToTypeAnnotation(s,l,p){switch(p.name){case"any":return this.finishNode(l,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(l,"BooleanTypeAnnotation");case"mixed":return this.finishNode(l,"MixedTypeAnnotation");case"empty":return this.finishNode(l,"EmptyTypeAnnotation");case"number":return this.finishNode(l,"NumberTypeAnnotation");case"string":return this.finishNode(l,"StringTypeAnnotation");case"symbol":return this.finishNode(l,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(p.name),this.flowParseGenericType(s,p)}}flowParsePrimaryType(){const s=this.state.startLoc,l=this.startNode();let p,S,P=!1;const O=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,S=this.flowParseTupleType(),this.state.noAnonFunctionType=O,S;case 47:{const D=this.startNode();return D.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),p=this.flowParseFunctionTypeParams(),D.params=p.params,D.rest=p.rest,D.this=p._this,this.expect(11),this.expect(19),D.returnType=this.flowParseType(),this.finishNode(D,"FunctionTypeAnnotation")}case 10:{const D=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(j(this.state.type)||this.match(78)){const U=this.lookahead().type;P=U!==17&&U!==14}else P=!0;if(P){if(this.state.noAnonFunctionType=!1,S=this.flowParseType(),this.state.noAnonFunctionType=O,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),S;this.eat(12)}return S?p=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(S)]):p=this.flowParseFunctionTypeParams(),D.params=p.params,D.rest=p.rest,D.this=p._this,this.expect(11),this.expect(19),D.returnType=this.flowParseType(),D.typeParameters=null,this.finishNode(D,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return l.value=this.match(85),this.next(),this.finishNode(l,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",l);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",l);throw this.raise(le.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(l,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(l,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(l,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(l,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(St(this.state.type)){const D=Je(this.state.type);return this.next(),super.createIdentifier(l,D)}else if(j(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,l,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const s=this.state.startLoc;let l=this.flowParsePrimaryType(),p=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const S=this.startNodeAt(s),P=this.eat(18);p=p||P,this.expect(0),!P&&this.match(3)?(S.elementType=l,this.next(),l=this.finishNode(S,"ArrayTypeAnnotation")):(S.objectType=l,S.indexType=this.flowParseType(),this.expect(3),p?(S.optional=P,l=this.finishNode(S,"OptionalIndexedAccessType")):l=this.finishNode(S,"IndexedAccessType"))}return l}flowParsePrefixType(){const s=this.startNode();return this.eat(17)?(s.typeAnnotation=this.flowParsePrefixType(),this.finishNode(s,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const s=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const l=this.startNodeAt(s.loc.start);return l.params=[this.reinterpretTypeAsFunctionTypeParam(s)],l.rest=null,l.this=null,l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}return s}flowParseIntersectionType(){const s=this.startNode();this.eat(45);const l=this.flowParseAnonFunctionWithoutParens();for(s.types=[l];this.eat(45);)s.types.push(this.flowParseAnonFunctionWithoutParens());return s.types.length===1?l:this.finishNode(s,"IntersectionTypeAnnotation")}flowParseUnionType(){const s=this.startNode();this.eat(43);const l=this.flowParseIntersectionType();for(s.types=[l];this.eat(43);)s.types.push(this.flowParseIntersectionType());return s.types.length===1?l:this.finishNode(s,"UnionTypeAnnotation")}flowParseType(){const s=this.state.inType;this.state.inType=!0;const l=this.flowParseUnionType();return this.state.inType=s,l}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const s=this.state.startLoc,l=this.parseIdentifier();return this.flowParseGenericType(s,l)}else return this.flowParseType()}flowParseTypeAnnotation(){const s=this.startNode();return s.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(s,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(s){const l=s?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(l.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(l)),l}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}flowParseVariance(){let s=null;return this.match(53)?(s=this.startNode(),this.state.value==="+"?s.kind="plus":s.kind="minus",this.next(),this.finishNode(s,"Variance")):s}parseFunctionBody(s,l,p=!1){if(l){this.forwardNoArrowParamsConversionAt(s,()=>super.parseFunctionBody(s,!0,p));return}super.parseFunctionBody(s,!1,p)}parseFunctionBodyAndFinish(s,l,p=!1){if(this.match(14)){const S=this.startNode();[S.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.returnType=S.typeAnnotation?this.finishNode(S,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(s,l,p)}parseStatementLike(s){if(this.state.strict&&this.isContextual(129)){const p=this.lookahead();if(oe(p.type)){const S=this.startNode();return this.next(),this.flowParseInterface(S)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const p=this.startNode();return this.next(),this.flowParseEnumDeclaration(p)}const l=super.parseStatementLike(s);return this.flowPragma===void 0&&!this.isValidDirective(l)&&(this.flowPragma=null),l}parseExpressionStatement(s,l,p){if(l.type==="Identifier"){if(l.name==="declare"){if(this.match(80)||j(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(s)}else if(j(this.state.type)){if(l.name==="interface")return this.flowParseInterface(s);if(l.name==="type")return this.flowParseTypeAlias(s);if(l.name==="opaque")return this.flowParseOpaqueType(s,!1)}}return super.parseExpressionStatement(s,l,p)}shouldParseExportDeclaration(){const{type:s}=this.state;return fe(s)||this.shouldParseEnums()&&s===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:s}=this.state;return fe(s)||this.shouldParseEnums()&&s===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return super.parseExportDefaultExpression()}parseConditional(s,l,p){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){const K=this.lookaheadCharCode();if(K===44||K===61||K===58||K===41)return this.setOptionalParametersError(p),s}this.expect(17);const S=this.state.clone(),P=this.state.noArrowAt,O=this.startNodeAt(l);let{consequent:D,failed:U}=this.tryParseConditionalConsequent(),[F,W]=this.getArrowLikeExpressions(D);if(U||W.length>0){const K=[...P];if(W.length>0){this.state=S,this.state.noArrowAt=K;for(let J=0;J<W.length;J++)K.push(W[J].start);({consequent:D,failed:U}=this.tryParseConditionalConsequent()),[F,W]=this.getArrowLikeExpressions(D)}U&&F.length>1&&this.raise(le.AmbiguousConditionalArrow,S.startLoc),U&&F.length===1&&(this.state=S,K.push(F[0].start),this.state.noArrowAt=K,{consequent:D,failed:U}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(D,!0),this.state.noArrowAt=P,this.expect(14),O.test=s,O.consequent=D,O.alternate=this.forwardNoArrowParamsConversionAt(O,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(O,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const s=this.parseMaybeAssignAllowIn(),l=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:s,failed:l}}getArrowLikeExpressions(s,l){const p=[s],S=[];for(;p.length!==0;){const P=p.pop();P.type==="ArrowFunctionExpression"&&P.body.type!=="BlockStatement"?(P.typeParameters||!P.returnType?this.finishArrowValidation(P):S.push(P),p.push(P.body)):P.type==="ConditionalExpression"&&(p.push(P.consequent),p.push(P.alternate))}return l?(S.forEach(P=>this.finishArrowValidation(P)),[S,[]]):CT(S,P=>P.params.every(O=>this.isAssignable(O,!0)))}finishArrowValidation(s){var l;this.toAssignableList(s.params,(l=s.extra)==null?void 0:l.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(s,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(s,l){let p;return this.state.noArrowParamsConversionAt.includes(s.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),p=l(),this.state.noArrowParamsConversionAt.pop()):p=l(),p}parseParenItem(s,l){const p=super.parseParenItem(s,l);if(this.eat(17)&&(p.optional=!0,this.resetEndLocation(s)),this.match(14)){const S=this.startNodeAt(l);return S.expression=p,S.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(S,"TypeCastExpression")}return p}assertModuleNodeAllowed(s){s.type==="ImportDeclaration"&&(s.importKind==="type"||s.importKind==="typeof")||s.type==="ExportNamedDeclaration"&&s.exportKind==="type"||s.type==="ExportAllDeclaration"&&s.exportKind==="type"||super.assertModuleNodeAllowed(s)}parseExportDeclaration(s){if(this.isContextual(130)){s.exportKind="type";const l=this.startNode();return this.next(),this.match(5)?(s.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(s),null):this.flowParseTypeAlias(l)}else if(this.isContextual(131)){s.exportKind="type";const l=this.startNode();return this.next(),this.flowParseOpaqueType(l,!1)}else if(this.isContextual(129)){s.exportKind="type";const l=this.startNode();return this.next(),this.flowParseInterface(l)}else if(this.shouldParseEnums()&&this.isContextual(126)){s.exportKind="value";const l=this.startNode();return this.next(),this.flowParseEnumDeclaration(l)}else return super.parseExportDeclaration(s)}eatExportStar(s){return super.eatExportStar(s)?!0:this.isContextual(130)&&this.lookahead().type===55?(s.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(s){const{startLoc:l}=this.state,p=super.maybeParseExportNamespaceSpecifier(s);return p&&s.exportKind==="type"&&this.unexpected(l),p}parseClassId(s,l,p){super.parseClassId(s,l,p),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(s,l,p){const{startLoc:S}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(s,l))return;l.declare=!0}super.parseClassMember(s,l,p),l.declare&&(l.type!=="ClassProperty"&&l.type!=="ClassPrivateProperty"&&l.type!=="PropertyDefinition"?this.raise(le.DeclareClassElement,S):l.value&&this.raise(le.DeclareClassFieldInitializer,l.value))}isIterator(s){return s==="iterator"||s==="asyncIterator"}readIterator(){const s=super.readWord1(),l="@@"+s;(!this.isIterator(s)||!this.state.inType)&&this.raise(y.InvalidIdentifier,this.state.curPosition(),{identifierName:l}),this.finishToken(132,l)}getTokenFromCode(s){const l=this.input.charCodeAt(this.state.pos+1);s===123&&l===124?this.finishOp(6,2):this.state.inType&&(s===62||s===60)?this.finishOp(s===62?48:47,1):this.state.inType&&s===63?l===46?this.finishOp(18,2):this.finishOp(17,1):Zw(s,l,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(s)}isAssignable(s,l){return s.type==="TypeCastExpression"?this.isAssignable(s.expression,l):super.isAssignable(s,l)}toAssignable(s,l=!1){!l&&s.type==="AssignmentExpression"&&s.left.type==="TypeCastExpression"&&(s.left=this.typeCastToParameter(s.left)),super.toAssignable(s,l)}toAssignableList(s,l,p){for(let S=0;S<s.length;S++){const P=s[S];(P==null?void 0:P.type)==="TypeCastExpression"&&(s[S]=this.typeCastToParameter(P))}super.toAssignableList(s,l,p)}toReferencedList(s,l){for(let S=0;S<s.length;S++){var p;const P=s[S];P&&P.type==="TypeCastExpression"&&!((p=P.extra)!=null&&p.parenthesized)&&(s.length>1||!l)&&this.raise(le.TypeCastInPattern,P.typeAnnotation)}return s}parseArrayLike(s,l,p,S){const P=super.parseArrayLike(s,l,p,S);return l&&!this.state.maybeInArrowParameters&&this.toReferencedList(P.elements),P}isValidLVal(s,l,p){return s==="TypeCastExpression"||super.isValidLVal(s,l,p)}parseClassProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(s)}parseClassPrivateProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(s){return!this.match(14)&&super.isNonstaticConstructor(s)}pushClassMethod(s,l,p,S,P,O){if(l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(47)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(s,l,p,S,P,O),l.params&&P){const D=l.params;D.length>0&&this.isThisParam(D[0])&&this.raise(le.ThisParamBannedInConstructor,l)}else if(l.type==="MethodDefinition"&&P&&l.value.params){const D=l.value.params;D.length>0&&this.isThisParam(D[0])&&this.raise(le.ThisParamBannedInConstructor,l)}}pushClassPrivateMethod(s,l,p,S){l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(47)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(s,l,p,S)}parseClassSuper(s){if(super.parseClassSuper(s),s.superClass&&this.match(47)&&(s.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const l=s.implements=[];do{const p=this.startNode();p.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?p.typeParameters=this.flowParseTypeParameterInstantiation():p.typeParameters=null,l.push(this.finishNode(p,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(s){super.checkGetterSetterParams(s);const l=this.getObjectOrClassMethodParams(s);if(l.length>0){const p=l[0];this.isThisParam(p)&&s.kind==="get"?this.raise(le.GetterMayNotHaveThisParam,p):this.isThisParam(p)&&this.raise(le.SetterMayNotHaveThisParam,p)}}parsePropertyNamePrefixOperator(s){s.variance=this.flowParseVariance()}parseObjPropValue(s,l,p,S,P,O,D){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance;let U;this.match(47)&&!O&&(U=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const F=super.parseObjPropValue(s,l,p,S,P,O,D);return U&&((F.value||F).typeParameters=U),F}parseAssignableListItemTypes(s){return this.eat(17)&&(s.type!=="Identifier"&&this.raise(le.PatternIsOptional,s),this.isThisParam(s)&&this.raise(le.ThisParamMayNotBeOptional,s),s.optional=!0),this.match(14)?s.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(s)&&this.raise(le.ThisParamAnnotationRequired,s),this.match(29)&&this.isThisParam(s)&&this.raise(le.ThisParamNoDefault,s),this.resetEndLocation(s),s}parseMaybeDefault(s,l){const p=super.parseMaybeDefault(s,l);return p.type==="AssignmentPattern"&&p.typeAnnotation&&p.right.start<p.typeAnnotation.start&&this.raise(le.TypeBeforeInitializer,p.typeAnnotation),p}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(le.ImportReflectionHasImportType,s.specifiers[0].loc.start)}parseImportSpecifierLocal(s,l,p){l.local=W1(s)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),s.specifiers.push(this.finishImportSpecifier(l,p))}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){if(!s)return!0;const l=this.lookaheadCharCode();return l===123||l===42}return!s&&this.isContextual(87)}applyImportPhase(s,l,p,S){if(super.applyImportPhase(s,l,p,S),l){if(!p&&this.match(65))return;s.exportKind=p==="type"?p:"value"}else p==="type"&&this.match(55)&&this.unexpected(),s.importKind=p==="type"||p==="typeof"?p:"value"}parseImportSpecifier(s,l,p,S,P){const O=s.imported;let D=null;O.type==="Identifier"&&(O.name==="type"?D="type":O.name==="typeof"&&(D="typeof"));let U=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const W=this.parseIdentifier(!0);D!==null&&!oe(this.state.type)?(s.imported=W,s.importKind=D,s.local=nr(W)):(s.imported=O,s.importKind=null,s.local=this.parseIdentifier())}else{if(D!==null&&oe(this.state.type))s.imported=this.parseIdentifier(!0),s.importKind=D;else{if(l)throw this.raise(y.ImportBindingIsString,s,{importName:O.value});s.imported=O,s.importKind=null}this.eatContextual(93)?s.local=this.parseIdentifier():(U=!0,s.local=nr(s.imported))}const F=W1(s);return p&&F&&this.raise(le.ImportTypeShorthandOnlyInPureImport,s),(p||F)&&this.checkReservedType(s.local.name,s.local.loc.start,!0),U&&!p&&!F&&this.checkReservedWord(s.local.name,s.loc.start,!0,!0),this.finishImportSpecifier(s,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(s,l){const p=s.kind;p!=="get"&&p!=="set"&&this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),this.match(14)&&(s.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){if(this.match(14)){const p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,s.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=p}return super.parseAsyncArrowFromCallExpression(s,l)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(s,l){var p;let S=null,P;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(S=this.state.clone(),P=this.tryParse(()=>super.parseMaybeAssign(s,l),S),!P.error)return P.node;const{context:U}=this.state,F=U[U.length-1];(F===L.j_oTag||F===L.j_expr)&&U.pop()}if((p=P)!=null&&p.error||this.match(47)){var O,D;S=S||this.state.clone();let U;const F=this.tryParse(K=>{var J;U=this.flowParseTypeParameterDeclaration();const ae=this.forwardNoArrowParamsConversionAt(U,()=>{const mt=super.parseMaybeAssign(s,l);return this.resetStartLocationFromNode(mt,U),mt});(J=ae.extra)!=null&&J.parenthesized&&K();const xe=this.maybeUnwrapTypeCastExpression(ae);return xe.type!=="ArrowFunctionExpression"&&K(),xe.typeParameters=U,this.resetStartLocationFromNode(xe,U),ae},S);let W=null;if(F.node&&this.maybeUnwrapTypeCastExpression(F.node).type==="ArrowFunctionExpression"){if(!F.error&&!F.aborted)return F.node.async&&this.raise(le.UnexpectedTypeParameterBeforeAsyncArrowFunction,U),F.node;W=F.node}if((O=P)!=null&&O.node)return this.state=P.failState,P.node;if(W)return this.state=F.failState,W;throw(D=P)!=null&&D.thrown?P.error:F.thrown?F.error:this.raise(le.UnexpectedTokenAfterTypeParameter,U)}return super.parseMaybeAssign(s,l)}parseArrow(s){if(this.match(14)){const l=this.tryParse(()=>{const p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const S=this.startNode();return[S.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=p,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),S});if(l.thrown)return null;l.error&&(this.state=l.failState),s.returnType=l.node.typeAnnotation?this.finishNode(l.node,"TypeAnnotation"):null}return super.parseArrow(s)}shouldParseArrow(s){return this.match(14)||super.shouldParseArrow(s)}setArrowFunctionParameters(s,l){this.state.noArrowParamsConversionAt.includes(s.start)?s.params=l:super.setArrowFunctionParameters(s,l)}checkParams(s,l,p,S=!0){if(!(p&&this.state.noArrowParamsConversionAt.includes(s.start))){for(let P=0;P<s.params.length;P++)this.isThisParam(s.params[P])&&P>0&&this.raise(le.ThisParamMustBeFirst,s.params[P]);super.checkParams(s,l,p,S)}}parseParenAndDistinguishExpression(s){return super.parseParenAndDistinguishExpression(s&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(s,l,p){if(s.type==="Identifier"&&s.name==="async"&&this.state.noArrowAt.includes(l.index)){this.next();const S=this.startNodeAt(l);S.callee=s,S.arguments=super.parseCallExpressionArguments(11,!1),s=this.finishNode(S,"CallExpression")}else if(s.type==="Identifier"&&s.name==="async"&&this.match(47)){const S=this.state.clone(),P=this.tryParse(D=>this.parseAsyncArrowWithTypeParameters(l)||D(),S);if(!P.error&&!P.aborted)return P.node;const O=this.tryParse(()=>super.parseSubscripts(s,l,p),S);if(O.node&&!O.error)return O.node;if(P.node)return this.state=P.failState,P.node;if(O.node)return this.state=O.failState,O.node;throw P.error||O.error}return super.parseSubscripts(s,l,p)}parseSubscript(s,l,p,S){if(this.match(18)&&this.isLookaheadToken_lt()){if(S.optionalChainMember=!0,p)return S.stop=!0,s;this.next();const P=this.startNodeAt(l);return P.callee=s,P.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),P.arguments=this.parseCallExpressionArguments(11,!1),P.optional=!0,this.finishCallExpression(P,!0)}else if(!p&&this.shouldParseTypes()&&this.match(47)){const P=this.startNodeAt(l);P.callee=s;const O=this.tryParse(()=>(P.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),P.arguments=super.parseCallExpressionArguments(11,!1),S.optionalChainMember&&(P.optional=!1),this.finishCallExpression(P,S.optionalChainMember)));if(O.node)return O.error&&(this.state=O.failState),O.node}return super.parseSubscript(s,l,p,S)}parseNewCallee(s){super.parseNewCallee(s);let l=null;this.shouldParseTypes()&&this.match(47)&&(l=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),s.typeArguments=l}parseAsyncArrowWithTypeParameters(s){const l=this.startNodeAt(s);if(this.parseFunctionParams(l,!1),!!this.parseArrow(l))return super.parseArrowExpression(l,void 0,!0)}readToken_mult_modulo(s){const l=this.input.charCodeAt(this.state.pos+1);if(s===42&&l===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(s)}readToken_pipe_amp(s){const l=this.input.charCodeAt(this.state.pos+1);if(s===124&&l===125){this.finishOp(9,2);return}super.readToken_pipe_amp(s)}parseTopLevel(s,l){const p=super.parseTopLevel(s,l);return this.state.hasFlowComment&&this.raise(le.UnterminatedFlowComment,this.state.curPosition()),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(le.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const s=this.skipFlowComment();s&&(this.state.pos+=s,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:s}=this.state;let l=2;for(;[32,9].includes(this.input.charCodeAt(s+l));)l++;const p=this.input.charCodeAt(l+s),S=this.input.charCodeAt(l+s+1);return p===58&&S===58?l+2:this.input.slice(l+s,l+s+12)==="flow-include"?l+12:p===58&&S!==58?l:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(y.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(s,{enumName:l,memberName:p}){this.raise(le.EnumBooleanMemberNotInitialized,s,{memberName:p,enumName:l})}flowEnumErrorInvalidMemberInitializer(s,l){return this.raise(l.explicitType?l.explicitType==="symbol"?le.EnumInvalidMemberInitializerSymbolType:le.EnumInvalidMemberInitializerPrimaryType:le.EnumInvalidMemberInitializerUnknownType,s,l)}flowEnumErrorNumberMemberNotInitialized(s,l){this.raise(le.EnumNumberMemberNotInitialized,s,l)}flowEnumErrorStringMemberInconsistentlyInitialized(s,l){this.raise(le.EnumStringMemberInconsistentlyInitialized,s,l)}flowEnumMemberInit(){const s=this.state.startLoc,l=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const p=this.parseNumericLiteral(this.state.value);return l()?{type:"number",loc:p.loc.start,value:p}:{type:"invalid",loc:s}}case 133:{const p=this.parseStringLiteral(this.state.value);return l()?{type:"string",loc:p.loc.start,value:p}:{type:"invalid",loc:s}}case 85:case 86:{const p=this.parseBooleanLiteral(this.match(85));return l()?{type:"boolean",loc:p.loc.start,value:p}:{type:"invalid",loc:s}}default:return{type:"invalid",loc:s}}}flowEnumMemberRaw(){const s=this.state.startLoc,l=this.parseIdentifier(!0),p=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:s};return{id:l,init:p}}flowEnumCheckExplicitTypeMismatch(s,l,p){const{explicitType:S}=l;S!==null&&S!==p&&this.flowEnumErrorInvalidMemberInitializer(s,l)}flowEnumMembers({enumName:s,explicitType:l}){const p=new Set,S={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let P=!1;for(;!this.match(8);){if(this.eat(21)){P=!0;break}const O=this.startNode(),{id:D,init:U}=this.flowEnumMemberRaw(),F=D.name;if(F==="")continue;/^[a-z]/.test(F)&&this.raise(le.EnumInvalidMemberName,D,{memberName:F,suggestion:F[0].toUpperCase()+F.slice(1),enumName:s}),p.has(F)&&this.raise(le.EnumDuplicateMemberName,D,{memberName:F,enumName:s}),p.add(F);const W={enumName:s,explicitType:l,memberName:F};switch(O.id=D,U.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(U.loc,W,"boolean"),O.init=U.value,S.booleanMembers.push(this.finishNode(O,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(U.loc,W,"number"),O.init=U.value,S.numberMembers.push(this.finishNode(O,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(U.loc,W,"string"),O.init=U.value,S.stringMembers.push(this.finishNode(O,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(U.loc,W);case"none":switch(l){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(U.loc,W);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(U.loc,W);break;default:S.defaultedMembers.push(this.finishNode(O,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:S,hasUnknownMembers:P}}flowEnumStringMembers(s,l,{enumName:p}){if(s.length===0)return l;if(l.length===0)return s;if(l.length>s.length){for(const S of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:p});return l}else{for(const S of l)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:p});return s}}flowEnumParseExplicitType({enumName:s}){if(!this.eatContextual(102))return null;if(!j(this.state.type))throw this.raise(le.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:s});const{value:l}=this.state;return this.next(),l!=="boolean"&&l!=="number"&&l!=="string"&&l!=="symbol"&&this.raise(le.EnumInvalidExplicitType,this.state.startLoc,{enumName:s,invalidEnumType:l}),l}flowEnumBody(s,l){const p=l.name,S=l.loc.start,P=this.flowEnumParseExplicitType({enumName:p});this.expect(5);const{members:O,hasUnknownMembers:D}=this.flowEnumMembers({enumName:p,explicitType:P});switch(s.hasUnknownMembers=D,P){case"boolean":return s.explicitType=!0,s.members=O.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody");case"number":return s.explicitType=!0,s.members=O.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody");case"string":return s.explicitType=!0,s.members=this.flowEnumStringMembers(O.stringMembers,O.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(s,"EnumStringBody");case"symbol":return s.members=O.defaultedMembers,this.expect(8),this.finishNode(s,"EnumSymbolBody");default:{const U=()=>(s.members=[],this.expect(8),this.finishNode(s,"EnumStringBody"));s.explicitType=!1;const F=O.booleanMembers.length,W=O.numberMembers.length,K=O.stringMembers.length,J=O.defaultedMembers.length;if(!F&&!W&&!K&&!J)return U();if(!F&&!W)return s.members=this.flowEnumStringMembers(O.stringMembers,O.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(s,"EnumStringBody");if(!W&&!K&&F>=J){for(const ae of O.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(ae.loc.start,{enumName:p,memberName:ae.id.name});return s.members=O.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody")}else if(!F&&!K&&W>=J){for(const ae of O.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(ae.loc.start,{enumName:p,memberName:ae.id.name});return s.members=O.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody")}else return this.raise(le.EnumInconsistentMemberValues,S,{enumName:p}),U()}}}flowParseEnumDeclaration(s){const l=this.parseIdentifier();return s.id=l,s.body=this.flowEnumBody(this.startNode(),l),this.finishNode(s,"EnumDeclaration")}isLookaheadToken_lt(){const s=this.nextTokenStart();if(this.input.charCodeAt(s)===60){const l=this.input.charCodeAt(s+1);return l!==60&&l!==61}return!1}maybeUnwrapTypeCastExpression(s){return s.type==="TypeCastExpression"?s.expression:s}};const OT={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},jr=v`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:_})=>`Expected corresponding JSX closing tag for <${_}>.`,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:_,HTMLEntity:u})=>`Unexpected token \`${_}\`. Did you mean \`${u}\` or \`{'${_}'}\`?`,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 xr(_){return _?_.type==="JSXOpeningFragment"||_.type==="JSXClosingFragment":!1}function vs(_){if(_.type==="JSXIdentifier")return _.name;if(_.type==="JSXNamespacedName")return _.namespace.name+":"+_.name.name;if(_.type==="JSXMemberExpression")return vs(_.object)+"."+vs(_.property);throw new Error("Node had unexpected type: "+_.type)}var kT=_=>class extends _{jsxReadToken(){let s="",l=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(jr.UnterminatedJsxContent,this.state.startLoc);const p=this.input.charCodeAt(this.state.pos);switch(p){case 60:case 123:if(this.state.pos===this.state.start){p===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(p);return}s+=this.input.slice(l,this.state.pos),this.finishToken(141,s);return;case 38:s+=this.input.slice(l,this.state.pos),s+=this.jsxReadEntity(),l=this.state.pos;break;case 62:case 125:default:bs(p)?(s+=this.input.slice(l,this.state.pos),s+=this.jsxReadNewLine(!0),l=this.state.pos):++this.state.pos}}}jsxReadNewLine(s){const l=this.input.charCodeAt(this.state.pos);let p;return++this.state.pos,l===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,p=s?`
|
|
9
|
+
: ${t}
|
|
10
|
+
)).mount("${r}")
|
|
11
|
+
`,scopeIdCode:n?`${t}.__scopeId = "data-v-${e}"`:``}}function m(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var h=Object.freeze({}),g=()=>{},_=()=>!1,v=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),y=Object.assign,b=Object.prototype.hasOwnProperty,x=(e,t)=>b.call(e,t),S=Array.isArray,C=e=>A(e)===`[object Map]`,w=e=>A(e)===`[object Set]`,T=e=>typeof e==`function`,E=e=>typeof e==`string`,D=e=>typeof e==`symbol`,O=e=>typeof e==`object`&&!!e,k=Object.prototype.toString,A=e=>k.call(e),j=e=>A(e)===`[object Object]`,ee=m(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),M=m(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),te=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ne=/-\w/g,N=te(e=>e.replace(ne,e=>e.slice(1).toUpperCase())),P=/\B([A-Z])/g,F=te(e=>e.replace(P,`-$1`).toLowerCase()),re=te(e=>e.charAt(0).toUpperCase()+e.slice(1)),I=te(e=>e?`on${re(e)}`:``),ie=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function ae(e){return ie.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function oe(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}var se={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`},ce={1:`STABLE`,2:`DYNAMIC`,3:`FORWARDED`},le=m(`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`),ue=2;function de(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-ue;s<=e+ue||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(`
|
|
12
|
+
`)}function fe(e){if(S(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=E(r)?ge(r):fe(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(E(e)||O(e))return e}var pe=/;(?![^(]*\))/g,me=/:([^]+)/,he=/\/\*[^]*?\*\//g;function ge(e){let t={};return e.replace(he,``).split(pe).forEach(e=>{if(e){let n=e.split(me);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function _e(e){if(!e)return``;if(E(e))return e;let t=``;for(let n in e){let r=e[n];if(E(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:F(n);t+=`${e}:${r};`}}return t}function ve(e){let t=``;if(E(e))t=e;else if(S(e))for(let n=0;n<e.length;n++){let r=ve(e[n]);r&&(t+=r+` `)}else if(O(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var ye=`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`,be=`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`,xe=`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`,Se=`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`,Ce=m(ye),we=m(be),Te=m(xe),Ee=m(Se),De=m(`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`),Oe=/[>/="'\u0009\u000a\u000c\u0020]/,ke={};function Ae(e){if(ke.hasOwnProperty(e))return ke[e];let t=Oe.test(e);return t&&console.error(`unsafe attribute name: ${e}`),ke[e]=!t}var je={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`},Me=m(`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`),Ne=m(`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`),Pe=m(`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`),Fe=/["'&<>]/;function Ie(e){let t=``+e,n=Fe.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=`"`;break;case 38:i=`&`;break;case 39:i=`'`;break;case 60:i=`<`;break;case 62:i=`>`;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 Le=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Re(e,t){return e.replace(Le,e=>t?e===`"`?`\\\\\\"`:`\\\\${e}`:`\\${e}`)}var ze=e=>!!(e&&e.__v_isRef===!0),Be=e=>E(e)?e:e==null?``:S(e)||O(e)&&(e.toString===k||!T(e.toString))?ze(e)?Be(e.value):JSON.stringify(e,Ve,2):String(e),Ve=(e,t)=>ze(t)?Ve(e,t.value):C(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[He(t,r)+` =>`]=n,e),{})}:w(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>He(e))}:D(t)?He(t):O(t)&&!S(t)&&!j(t)?String(t):t,He=(e,t=``)=>{var n;return D(e)?`Symbol(${(n=e.description)==null?t:n})`:e},Ue=Symbol(`Fragment`),We=Symbol(`Teleport`),Ge=Symbol(`Suspense`),Ke=Symbol(`KeepAlive`),qe=Symbol(`BaseTransition`),Je=Symbol(`openBlock`),L=Symbol(`createBlock`),Ye=Symbol(`createElementBlock`),Xe=Symbol(`createVNode`),Ze=Symbol(`createElementVNode`),Qe=Symbol(`createCommentVNode`),$e=Symbol(`createTextVNode`),et=Symbol(`createStaticVNode`),tt=Symbol(`resolveComponent`),nt=Symbol(`resolveDynamicComponent`),rt=Symbol(`resolveDirective`),it=Symbol(`resolveFilter`),at=Symbol(`withDirectives`),ot=Symbol(`renderList`),st=Symbol(`renderSlot`),ct=Symbol(`createSlots`),lt=Symbol(`toDisplayString`),ut=Symbol(`mergeProps`),dt=Symbol(`normalizeClass`),ft=Symbol(`normalizeStyle`),pt=Symbol(`normalizeProps`),mt=Symbol(`guardReactiveProps`),ht=Symbol(`toHandlers`),gt=Symbol(`camelize`),_t=Symbol(`capitalize`),vt=Symbol(`toHandlerKey`),yt=Symbol(`setBlockTracking`),bt=Symbol(`pushScopeId`),xt=Symbol(`popScopeId`),St=Symbol(`withCtx`),Ct=Symbol(`unref`),wt=Symbol(`isRef`),Tt=Symbol(`withMemo`),Et=Symbol(`isMemoSame`),Dt={[Ue]:`Fragment`,[We]:`Teleport`,[Ge]:`Suspense`,[Ke]:`KeepAlive`,[qe]:`BaseTransition`,[Je]:`openBlock`,[L]:`createBlock`,[Ye]:`createElementBlock`,[Xe]:`createVNode`,[Ze]:`createElementVNode`,[Qe]:`createCommentVNode`,[$e]:`createTextVNode`,[et]:`createStaticVNode`,[tt]:`resolveComponent`,[nt]:`resolveDynamicComponent`,[rt]:`resolveDirective`,[it]:`resolveFilter`,[at]:`withDirectives`,[ot]:`renderList`,[st]:`renderSlot`,[ct]:`createSlots`,[lt]:`toDisplayString`,[ut]:`mergeProps`,[dt]:`normalizeClass`,[ft]:`normalizeStyle`,[pt]:`normalizeProps`,[mt]:`guardReactiveProps`,[ht]:`toHandlers`,[gt]:`camelize`,[_t]:`capitalize`,[vt]:`toHandlerKey`,[yt]:`setBlockTracking`,[bt]:`pushScopeId`,[xt]:`popScopeId`,[St]:`withCtx`,[Ct]:`unref`,[wt]:`isRef`,[Tt]:`withMemo`,[Et]:`isMemoSame`};function Ot(e){Object.getOwnPropertySymbols(e).forEach(t=>{Dt[t]=e[t]})}var kt={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},At={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`},jt={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},Mt={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`},R={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function Nt(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:R}}function Pt(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=R){return e&&(s?(e.helper(Je),e.helper(Yt(e.inSSR,l))):e.helper(Jt(e.inSSR,l)),o&&e.helper(at)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function Ft(e,t=R){return{type:17,loc:t,elements:e}}function It(e,t=R){return{type:15,loc:t,properties:e}}function z(e,t){return{type:16,loc:R,key:E(e)?B(e,!0):e,value:t}}function B(e,t=!1,n=R,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Lt(e,t){return{type:5,loc:t,content:E(e)?B(e,!1,t):e}}function Rt(e,t=R){return{type:8,loc:t,children:e}}function V(e,t=[],n=R){return{type:14,loc:n,callee:e,arguments:t}}function zt(e,t=void 0,n=!1,r=!1,i=R){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function Bt(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:R}}function Vt(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:R}}function Ht(e){return{type:21,body:e,loc:R}}function Ut(e){return{type:22,elements:e,loc:R}}function Wt(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:R}}function Gt(e,t){return{type:24,left:e,right:t,loc:R}}function Kt(e){return{type:25,expressions:e,loc:R}}function qt(e){return{type:26,returns:e,loc:R}}function Jt(e,t){return e||t?Xe:Ze}function Yt(e,t){return e||t?L:Ye}function Xt(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Jt(r,e.isComponent)),t(Je),t(Yt(r,e.isComponent)))}var H,Zt=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]]),Qt=(H=String.fromCodePoint)==null?(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t}):H;function $t(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Zt.get(e))==null?e:t}var en=typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{},tn=[],nn=[],rn=typeof Uint8Array<`u`?Uint8Array:Array,an=!1;function on(){an=!0;for(var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,t=0,n=e.length;t<n;++t)tn[t]=e[t],nn[e.charCodeAt(t)]=t;nn[45]=62,nn[95]=63}function sn(e){an||on();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 rn(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=nn[e.charCodeAt(t)]<<18|nn[e.charCodeAt(t+1)]<<12|nn[e.charCodeAt(t+2)]<<6|nn[e.charCodeAt(t+3)],o[c++]=i>>16&255,o[c++]=i>>8&255,o[c++]=i&255;return a===2?(i=nn[e.charCodeAt(t)]<<2|nn[e.charCodeAt(t+1)]>>4,o[c++]=i&255):a===1&&(i=nn[e.charCodeAt(t)]<<10|nn[e.charCodeAt(t+1)]<<4|nn[e.charCodeAt(t+2)]>>2,o[c++]=i>>8&255,o[c++]=i&255),o}function cn(e){return tn[e>>18&63]+tn[e>>12&63]+tn[e>>6&63]+tn[e&63]}function ln(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(cn(r));return i.join(``)}function un(e){an||on();for(var t,n=e.length,r=n%3,i=``,a=[],o=16383,s=0,c=n-r;s<c;s+=o)a.push(ln(e,s,s+o>c?c:s+o));return r===1?(t=e[n-1],i+=tn[t>>2],i+=tn[t<<4&63],i+=`==`):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=tn[t>>10],i+=tn[t>>4&63],i+=tn[t<<2&63],i+=`=`),a.push(i),a.join(``)}function dn(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+=Math.pow(2,r),a-=l;return(p?-1:1)*o*Math.pow(2,a-r)}function fn(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?Math.pow(2,-24)-Math.pow(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=Math.pow(2,-o))<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*Math.pow(2,1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(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 pn={}.toString,mn=Array.isArray||function(e){return pn.call(e)==`[object Array]`},hn=50;U.TYPED_ARRAY_SUPPORT=en.TYPED_ARRAY_SUPPORT===void 0?!0:en.TYPED_ARRAY_SUPPORT,gn();function gn(){return U.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function _n(e,t){if(gn()<t)throw RangeError(`Invalid typed array length`);return U.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=U.prototype):(e===null&&(e=new U(t)),e.length=t),e}function U(e,t,n){if(!U.TYPED_ARRAY_SUPPORT&&!(this instanceof U))return new U(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 xn(this,e)}return vn(this,e,t,n)}U.poolSize=8192,U._augment=function(e){return e.__proto__=U.prototype,e};function vn(e,t,n,r){if(typeof t==`number`)throw TypeError(`"value" argument must not be a number`);return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer?wn(e,t,n,r):typeof t==`string`?Sn(e,t,n):Tn(e,t)}U.from=function(e,t,n){return vn(null,e,t,n)},U.TYPED_ARRAY_SUPPORT&&(U.prototype.__proto__=Uint8Array.prototype,U.__proto__=Uint8Array,typeof Symbol<`u`&&Symbol.species&&U[Symbol.species]);function yn(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 bn(e,t,n,r){return yn(t),t<=0||n===void 0?_n(e,t):typeof r==`string`?_n(e,t).fill(n,r):_n(e,t).fill(n)}U.alloc=function(e,t,n){return bn(null,e,t,n)};function xn(e,t){if(yn(t),e=_n(e,t<0?0:En(t)|0),!U.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}U.allocUnsafe=function(e){return xn(null,e)},U.allocUnsafeSlow=function(e){return xn(null,e)};function Sn(e,t,n){if((typeof n!=`string`||n===``)&&(n=`utf8`),!U.isEncoding(n))throw TypeError(`"encoding" must be a valid string encoding`);var r=On(t,n)|0;e=_n(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function Cn(e,t){var n=t.length<0?0:En(t.length)|0;e=_n(e,n);for(var r=0;r<n;r+=1)e[r]=t[r]&255;return e}function wn(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),U.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=U.prototype):e=Cn(e,t),e}function Tn(e,t){if(Dn(t)){var n=En(t.length)|0;return e=_n(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`||lr(t.length)?_n(e,0):Cn(e,t);if(t.type===`Buffer`&&mn(t.data))return Cn(e,t.data)}throw TypeError(`First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.`)}function En(e){if(e>=gn())throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+gn().toString(16)+` bytes`);return e|0}U.isBuffer=ur;function Dn(e){return!!(e!=null&&e._isBuffer)}U.compare=function(e,t){if(!Dn(e)||!Dn(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)},U.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}},U.concat=function(e,t){if(!mn(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return U.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=U.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!Dn(a))throw TypeError(`"list" argument must be an Array of Buffers`);a.copy(r,i),i+=a.length}return r};function On(e,t){if(Dn(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 ir(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return sr(e).length;default:if(r)return ir(e).length;t=(``+t).toLowerCase(),r=!0}}U.byteLength=On;function kn(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||(e=`utf8`);;)switch(e){case`hex`:return Gn(this,t,n);case`utf8`:case`utf-8`:return Bn(this,t,n);case`ascii`:return Un(this,t,n);case`latin1`:case`binary`:return Wn(this,t,n);case`base64`:return zn(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return Kn(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}U.prototype._isBuffer=!0;function An(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}U.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)An(this,t,t+1);return this},U.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)An(this,t,t+3),An(this,t+1,t+2);return this},U.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)An(this,t,t+7),An(this,t+1,t+6),An(this,t+2,t+5),An(this,t+3,t+4);return this},U.prototype.toString=function(){var e=this.length|0;return e===0?``:arguments.length===0?Bn(this,0,e):kn.apply(this,arguments)},U.prototype.equals=function(e){if(!Dn(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:U.compare(this,e)===0},U.prototype.inspect=function(){var e=``,t=hn;return this.length>0&&(e=this.toString(`hex`,0,t).match(/.{2}/g).join(` `),this.length>t&&(e+=` ... `)),`<Buffer `+e+`>`},U.prototype.compare=function(e,t,n,r,i){if(!Dn(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 jn(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=U.from(t,r)),Dn(t))return t.length===0?-1:Mn(e,t,n,r,i);if(typeof t==`number`)return t&=255,U.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Mn(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function Mn(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}U.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},U.prototype.indexOf=function(e,t,n){return jn(this,e,t,n,!0)},U.prototype.lastIndexOf=function(e,t,n){return jn(this,e,t,n,!1)};function Nn(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 Pn(e,t,n,r){return cr(ir(t,e.length-n),e,n,r)}function Fn(e,t,n,r){return cr(ar(t),e,n,r)}function In(e,t,n,r){return Fn(e,t,n,r)}function Ln(e,t,n,r){return cr(sr(t),e,n,r)}function Rn(e,t,n,r){return cr(or(t,e.length-n),e,n,r)}U.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||(r=`utf8`);for(var a=!1;;)switch(r){case`hex`:return Nn(this,e,t,n);case`utf8`:case`utf-8`:return Pn(this,e,t,n);case`ascii`:return Fn(this,e,t,n);case`latin1`:case`binary`:return In(this,e,t,n);case`base64`:return Ln(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return Rn(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},U.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function zn(e,t,n){return t===0&&n===e.length?un(e):un(e.slice(t,n))}function Bn(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 Hn(r)}var Vn=4096;function Hn(e){var t=e.length;if(t<=Vn)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Vn));return n}function Un(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 Wn(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 Gn(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+=rr(e[a]);return i}function Kn(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}U.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(U.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=U.prototype;else{var i=t-e;r=new U(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r};function qn(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`)}U.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||qn(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},U.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||qn(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},U.prototype.readUInt8=function(e,t){return t||qn(e,1,this.length),this[e]},U.prototype.readUInt16LE=function(e,t){return t||qn(e,2,this.length),this[e]|this[e+1]<<8},U.prototype.readUInt16BE=function(e,t){return t||qn(e,2,this.length),this[e]<<8|this[e+1]},U.prototype.readUInt32LE=function(e,t){return t||qn(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},U.prototype.readUInt32BE=function(e,t){return t||qn(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},U.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||qn(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-=Math.pow(2,8*t)),r},U.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||qn(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-=Math.pow(2,8*t)),a},U.prototype.readInt8=function(e,t){return t||qn(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},U.prototype.readInt16LE=function(e,t){t||qn(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},U.prototype.readInt16BE=function(e,t){t||qn(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},U.prototype.readInt32LE=function(e,t){return t||qn(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},U.prototype.readInt32BE=function(e,t){return t||qn(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},U.prototype.readFloatLE=function(e,t){return t||qn(e,4,this.length),dn(this,e,!0,23,4)},U.prototype.readFloatBE=function(e,t){return t||qn(e,4,this.length),dn(this,e,!1,23,4)},U.prototype.readDoubleLE=function(e,t){return t||qn(e,8,this.length),dn(this,e,!0,52,8)},U.prototype.readDoubleBE=function(e,t){return t||qn(e,8,this.length),dn(this,e,!1,52,8)};function Jn(e,t,n,r,i,a){if(!Dn(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`)}U.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;Jn(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},U.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;Jn(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},U.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,1,255,0),U.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function Yn(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}U.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,2,65535,0),U.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Yn(this,e,t,!0),t+2},U.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,2,65535,0),U.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Yn(this,e,t,!1),t+2};function Xn(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}U.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,4,4294967295,0),U.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):Xn(this,e,t,!0),t+4},U.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,4,4294967295,0),U.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Xn(this,e,t,!1),t+4},U.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Jn(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},U.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Jn(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},U.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,1,127,-128),U.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1},U.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,2,32767,-32768),U.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Yn(this,e,t,!0),t+2},U.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,2,32767,-32768),U.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Yn(this,e,t,!1),t+2},U.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,4,2147483647,-2147483648),U.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Xn(this,e,t,!0),t+4},U.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Jn(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),U.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Xn(this,e,t,!1),t+4};function Zn(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function Qn(e,t,n,r,i){return i||Zn(e,t,n,4),fn(e,t,n,r,23,4),n+4}U.prototype.writeFloatLE=function(e,t,n){return Qn(this,e,t,!0,n)},U.prototype.writeFloatBE=function(e,t,n){return Qn(this,e,t,!1,n)};function $n(e,t,n,r,i){return i||Zn(e,t,n,8),fn(e,t,n,r,52,8),n+8}U.prototype.writeDoubleLE=function(e,t,n){return $n(this,e,t,!0,n)},U.prototype.writeDoubleBE=function(e,t,n){return $n(this,e,t,!1,n)},U.prototype.copy=function(e,t,n,r){if(n||(n=0),!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||(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||!U.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},U.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`&&!U.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||(e=0);var a;if(typeof e==`number`)for(a=t;a<n;++a)this[a]=e;else{var o=Dn(e)?e:ir(new U(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var er=/[^+\/0-9A-Za-z-_]/g;function tr(e){if(e=nr(e).replace(er,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function nr(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function rr(e){return e<16?`0`+e.toString(16):e.toString(16)}function ir(e,t){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 ar(e){for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function or(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 sr(e){return sn(tr(e))}function cr(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 lr(e){return e!==e}function ur(e){return e!=null&&(!!e._isBuffer||dr(e)||fr(e))}function dr(e){return!!e.constructor&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}function fr(e){return typeof e.readFloatLE==`function`&&typeof e.slice==`function`&&dr(e.slice(0,0))}function pr(e){let t=typeof atob==`function`?atob(e):typeof U.from==`function`?U.from(e,`base64`).toString(`binary`):new U(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 mr=pr(`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`),hr;(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`})(hr||(hr={}));var gr;(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`})(gr||(gr={}));var _r=32;function vr(e){return e>=gr.ZERO&&e<=gr.NINE}function yr(e){return e>=gr.UPPER_A&&e<=gr.UPPER_F||e>=gr.LOWER_A&&e<=gr.LOWER_F}function br(e){return e>=gr.UPPER_A&&e<=gr.UPPER_Z||e>=gr.LOWER_A&&e<=gr.LOWER_Z||vr(e)}function xr(e){return e===gr.EQUALS||br(e)}var Sr;(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`})(Sr||(Sr={}));var Cr;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Cr||(Cr={}));var wr=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Sr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cr.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Sr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Sr.EntityStart:return e.charCodeAt(t)===gr.NUM?(this.state=Sr.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Sr.NamedEntity,this.stateNamedEntity(e,t));case Sr.NumericStart:return this.stateNumericStart(e,t);case Sr.NumericDecimal:return this.stateNumericDecimal(e,t);case Sr.NumericHex:return this.stateNumericHex(e,t);case Sr.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|_r)===gr.LOWER_X?(this.state=Sr.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Sr.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(vr(n)||yr(n)){let e=n<=gr.NINE?n-gr.ZERO:(n|_r)-gr.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(vr(n))this.result=this.result*10+(n-gr.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===gr.SEMI)this.consumed+=1;else if(this.decodeMode===Cr.Strict)return 0;return this.emitCodePoint($t(this.result),this.consumed),this.errors&&(e!==gr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&hr.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&hr.FLAG13)!==0){let a=(r&hr.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&hr.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&hr.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===gr.SEMI&&i!==0&&(r&hr.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=Er(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Cr.Attribute&&(i===0||xr(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&hr.VALUE_LENGTH)>>14,i!==0){if(a===gr.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Cr.Strict&&(r&hr.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]&hr.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]&~(hr.VALUE_LENGTH|hr.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Sr.NamedEntity:return this.result!==0&&(this.decodeMode!==Cr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Sr.NumericDecimal:return this.emitNumericEntity(0,2);case Sr.NumericHex:return this.emitNumericEntity(0,3);case Sr.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Sr.EntityStart:return 0}}};function Tr(e){let t=``,n=new wr(e,e=>t+=Qt(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 Er(e,t,n,r){let i=(t&hr.BRANCH_LENGTH)>>7,a=t&hr.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 Dr=Tr(mr);function Or(e,t=Cr.Legacy){return Dr(e,t)}var kr=new Uint8Array([123,123]),Ar=new Uint8Array([125,125]);function jr(e){return e>=97&&e<=122||e>=65&&e<=90}function Mr(e){return e===32||e===10||e===9||e===12||e===13}function Nr(e){return e===47||e===62||Mr(e)}function Pr(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}var Fr={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])},Ir=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=kr,this.delimiterClose=Ar,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new wr(mr,(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=kr,this.delimiterClose=Ar}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?Nr(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||Mr(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===Fr.TitleEnd||this.currentSequence===Fr.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===Fr.Cdata[this.sequenceIndex]?++this.sequenceIndex===Fr.Cdata.length&&(this.state=28,this.currentSequence=Fr.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===Fr.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):jr(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){Nr(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Nr(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(Pr(`</`+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){Mr(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=jr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||Mr(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):Mr(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):Mr(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||Nr(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||Nr(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||Nr(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||Nr(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||Nr(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)):Mr(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):Mr(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){Mr(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=Fr.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===Fr.ScriptEnd[3]?this.startSpecial(Fr.ScriptEnd,4):e===Fr.StyleEnd[3]?this.startSpecial(Fr.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Fr.TitleEnd[3]?this.startSpecial(Fr.TitleEnd,4):e===Fr.TextareaEnd[3]?this.startSpecial(Fr.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?Cr.Legacy:Cr.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===Fr.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(Qt(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(Qt(e),this.entityStart,this.sectionStart))}},Lr={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`},Rr={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 zr(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function Br(e,t){let n=zr(`MODE`,t),r=zr(e,t);return n===3?r===!0:r!==!1}function Vr(e,t,n,...r){let i=Br(e,t);return i&&Hr(e,t,n,...r),i}function Hr(e,t,n,...r){if(zr(e,t)===`suppress-warning`)return;let{message:i,link:a}=Rr[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
|
|
13
|
+
Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function Ur(e){throw e}function Wr(e){console.warn(`[Vue warn] ${e.message}`)}function W(e,t,n,r){let i=(n||Kr)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}var Gr={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__`},Kr={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 '<' 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.
|
|
14
|
+
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 qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function Jr(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(e){}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 Yr={},Xr;function Zr(){if(Xr)return Yr;Xr=1,Object.defineProperty(Yr,"__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={}){var n;let{line:r,column:i,index:a}=(n=e.loc)==null?s:n;return o(new t(r,i,a),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(e){}let r=this.estreeParseLiteral(n);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){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);if(n.callee.type===`Import`){var r,i;this.castNodeTo(n,`ImportExpression`),n.source=n.arguments[0],n.options=(r=n.arguments[1])==null?null:r,n.attributes=(i=n.arguments[1])==null?null:i,delete n.arguments,delete n.callee}else n.type===`OptionalCallExpression`?this.castNodeTo(n,`CallExpression`):n.optional=!1;return 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`:{var i;let{declaration:e}=r;(e==null?void 0:e.type)===`ClassDeclaration`&&((i=e.decorators)==null?void 0:i.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 D=new Map;function O(e,t={}){t.keyword=e;let n=P(e,t);return D.set(e,n),n}function k(e,t){return P(e,{beforeExpr:!0,binop:t})}let A=-1,j=[],ee=[],M=[],te=[],ne=[],N=[];function P(e,t={}){var n,r,i,a;return++A,ee.push(e),M.push((n=t.binop)==null?-1:n),te.push((r=t.beforeExpr)==null?!1:r),ne.push((i=t.startsExpr)==null?!1:i),N.push((a=t.prefix)==null?!1:a),j.push(new E(e,t)),A}function F(e,t={}){var n,r,i,a;return++A,D.set(e,A),ee.push(e),M.push((n=t.binop)==null?-1:n),te.push((r=t.beforeExpr)==null?!1:r),ne.push((i=t.startsExpr)==null?!1:i),N.push((a=t.prefix)==null?!1:a),j.push(new E(`name`,t)),A}let re={bracketL:P(`[`,{beforeExpr:!0,startsExpr:!0}),bracketHashL:P(`#[`,{beforeExpr:!0,startsExpr:!0}),bracketBarL:P(`[|`,{beforeExpr:!0,startsExpr:!0}),bracketR:P(`]`),bracketBarR:P(`|]`),braceL:P(`{`,{beforeExpr:!0,startsExpr:!0}),braceBarL:P(`{|`,{beforeExpr:!0,startsExpr:!0}),braceHashL:P(`#{`,{beforeExpr:!0,startsExpr:!0}),braceR:P(`}`),braceBarR:P(`|}`),parenL:P(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:P(`)`),comma:P(`,`,{beforeExpr:!0}),semi:P(`;`,{beforeExpr:!0}),colon:P(`:`,{beforeExpr:!0}),doubleColon:P(`::`,{beforeExpr:!0}),dot:P(`.`),question:P(`?`,{beforeExpr:!0}),questionDot:P(`?.`),arrow:P(`=>`,{beforeExpr:!0}),template:P(`template`),ellipsis:P(`...`,{beforeExpr:!0}),backQuote:P("`",{startsExpr:!0}),dollarBraceL:P("${",{beforeExpr:!0,startsExpr:!0}),templateTail:P("...`",{startsExpr:!0}),templateNonTail:P("...${",{beforeExpr:!0,startsExpr:!0}),at:P(`@`),hash:P(`#`,{startsExpr:!0}),interpreterDirective:P(`#!...`),eq:P(`=`,{beforeExpr:!0,isAssign:!0}),assign:P(`_=`,{beforeExpr:!0,isAssign:!0}),slashAssign:P(`_=`,{beforeExpr:!0,isAssign:!0}),xorAssign:P(`_=`,{beforeExpr:!0,isAssign:!0}),moduloAssign:P(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:P(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),bang:P(`!`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:P(`~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:P(`^^`,{startsExpr:!0}),doubleAt:P(`@@`,{startsExpr:!0}),pipeline:k(`|>`,0),nullishCoalescing:k(`??`,1),logicalOR:k(`||`,1),logicalAND:k(`&&`,2),bitwiseOR:k(`|`,3),bitwiseXOR:k(`^`,4),bitwiseAND:k(`&`,5),equality:k(`==/!=/===/!==`,6),lt:k(`</>/<=/>=`,7),gt:k(`</>/<=/>=`,7),relational:k(`</>/<=/>=`,7),bitShift:k(`<</>>/>>>`,8),bitShiftL:k(`<</>>/>>>`,8),bitShiftR:k(`<</>>/>>>`,8),plusMin:P(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:P(`%`,{binop:10,startsExpr:!0}),star:P(`*`,{binop:10}),slash:k(`/`,10),exponent:P(`**`,{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:O(`in`,{beforeExpr:!0,binop:7}),_instanceof:O(`instanceof`,{beforeExpr:!0,binop:7}),_break:O(`break`),_case:O(`case`,{beforeExpr:!0}),_catch:O(`catch`),_continue:O(`continue`),_debugger:O(`debugger`),_default:O(`default`,{beforeExpr:!0}),_else:O(`else`,{beforeExpr:!0}),_finally:O(`finally`),_function:O(`function`,{startsExpr:!0}),_if:O(`if`),_return:O(`return`,{beforeExpr:!0}),_switch:O(`switch`),_throw:O(`throw`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:O(`try`),_var:O(`var`),_const:O(`const`),_with:O(`with`),_new:O(`new`,{beforeExpr:!0,startsExpr:!0}),_this:O(`this`,{startsExpr:!0}),_super:O(`super`,{startsExpr:!0}),_class:O(`class`,{startsExpr:!0}),_extends:O(`extends`,{beforeExpr:!0}),_export:O(`export`),_import:O(`import`,{startsExpr:!0}),_null:O(`null`,{startsExpr:!0}),_true:O(`true`,{startsExpr:!0}),_false:O(`false`,{startsExpr:!0}),_typeof:O(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:O(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:O(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:O(`do`,{isLoop:!0,beforeExpr:!0}),_for:O(`for`,{isLoop:!0}),_while:O(`while`,{isLoop:!0}),_as:F(`as`,{startsExpr:!0}),_assert:F(`assert`,{startsExpr:!0}),_async:F(`async`,{startsExpr:!0}),_await:F(`await`,{startsExpr:!0}),_defer:F(`defer`,{startsExpr:!0}),_from:F(`from`,{startsExpr:!0}),_get:F(`get`,{startsExpr:!0}),_let:F(`let`,{startsExpr:!0}),_meta:F(`meta`,{startsExpr:!0}),_of:F(`of`,{startsExpr:!0}),_sent:F(`sent`,{startsExpr:!0}),_set:F(`set`,{startsExpr:!0}),_source:F(`source`,{startsExpr:!0}),_static:F(`static`,{startsExpr:!0}),_using:F(`using`,{startsExpr:!0}),_yield:F(`yield`,{startsExpr:!0}),_asserts:F(`asserts`,{startsExpr:!0}),_checks:F(`checks`,{startsExpr:!0}),_exports:F(`exports`,{startsExpr:!0}),_global:F(`global`,{startsExpr:!0}),_implements:F(`implements`,{startsExpr:!0}),_intrinsic:F(`intrinsic`,{startsExpr:!0}),_infer:F(`infer`,{startsExpr:!0}),_is:F(`is`,{startsExpr:!0}),_mixins:F(`mixins`,{startsExpr:!0}),_proto:F(`proto`,{startsExpr:!0}),_require:F(`require`,{startsExpr:!0}),_satisfies:F(`satisfies`,{startsExpr:!0}),_keyof:F(`keyof`,{startsExpr:!0}),_readonly:F(`readonly`,{startsExpr:!0}),_unique:F(`unique`,{startsExpr:!0}),_abstract:F(`abstract`,{startsExpr:!0}),_declare:F(`declare`,{startsExpr:!0}),_enum:F(`enum`,{startsExpr:!0}),_module:F(`module`,{startsExpr:!0}),_namespace:F(`namespace`,{startsExpr:!0}),_interface:F(`interface`,{startsExpr:!0}),_type:F(`type`,{startsExpr:!0}),_opaque:F(`opaque`,{startsExpr:!0}),name:P(`name`,{startsExpr:!0}),placeholder:P(`%%`,{startsExpr:!0}),string:P(`string`,{startsExpr:!0}),num:P(`num`,{startsExpr:!0}),bigint:P(`bigint`,{startsExpr:!0}),decimal:P(`decimal`,{startsExpr:!0}),regexp:P(`regexp`,{startsExpr:!0}),privateName:P(`#name`,{startsExpr:!0}),eof:P(`eof`),jsxName:P(`jsxName`),jsxText:P(`jsxText`,{beforeExpr:!0}),jsxTagStart:P(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:P(`jsxTagEnd`)};function I(e){return e>=93&&e<=133}function ie(e){return e<=92}function ae(e){return e>=58&&e<=133}function oe(e){return e>=58&&e<=137}function se(e){return te[e]}function ce(e){return ne[e]}function le(e){return e>=29&&e<=33}function ue(e){return e>=129&&e<=131}function de(e){return e>=90&&e<=92}function fe(e){return e>=58&&e<=92}function pe(e){return e>=39&&e<=59}function me(e){return e===34}function he(e){return N[e]}function ge(e){return e>=121&&e<=123}function _e(e){return e>=124&&e<=130}function ve(e){return ee[e]}function ye(e){return M[e]}function be(e){return e===57}function xe(e){return e>=24&&e<=25}function Se(e){return j[e]}j[8].updateContext=e=>{e.pop()},j[5].updateContext=j[7].updateContext=j[23].updateContext=e=>{e.push(T.brace)},j[22].updateContext=e=>{e[e.length-1]===T.template?e.pop():e.push(T.template)},j[143].updateContext=e=>{e.push(T.j_expr,T.j_oTag)};let Ce=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,we=`·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,Te=RegExp(`[`+Ce+`]`),Ee=RegExp(`[`+Ce+we+`]`);Ce=we=null;let De=[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],Oe=[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 ke(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 Ae(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Te.test(String.fromCharCode(e)):ke(e,De)}function je(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&&Ee.test(String.fromCharCode(e)):ke(e,De)||ke(e,Oe)}let Me={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`]},Ne=new Set(Me.keyword),Pe=new Set(Me.strict),Fe=new Set(Me.strictBind);function Ie(e,t){return t&&e===`await`||e===`enum`}function Le(e,t){return Ie(e,t)||Pe.has(e)}function Re(e){return Fe.has(e)}function ze(e,t){return Le(e,t)||Re(e)}function Be(e){return Ne.has(e)}function Ve(e,t,n){return e===64&&t===64&&Ae(n)}let He=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 Ue(e){return He.has(e)}class We{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName=``,this.flags=e}}class Ge{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 We(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||(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 Ke extends We{constructor(...e){super(...e),this.declareFunctions=new Set}}class qe extends Ge{createScope(e){return new Ke(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 Je=new Set([`_`,`any`,`bool`,`boolean`,`empty`,`extends`,`false`,`interface`,`mixed`,`null`,`number`,`static`,`string`,`true`,`typeof`,`void`]),L=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 Ye(e){return e.type===`DeclareExportAllDeclaration`||e.type===`DeclareExportDeclaration`&&(!e.declaration||e.declaration.type!==`TypeAlias`&&e.declaration.type!==`InterfaceDeclaration`)}function Xe(e){return e.importKind===`type`||e.importKind===`typeof`}let Ze={const:`declare export var`,let:`declare export var`,type:`export type`,interface:`export interface`};function Qe(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 $e=/\*?\s*@((?:no)?flow)\b/;var et=e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return qe}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=$e.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(L.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(L.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(!0),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(L.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),n.push(super.parseImport(e))):(this.expectContextual(125,L.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=>{Ye(e)?(r===`CommonJS`&&this.raise(L.AmbiguousDeclareModuleKind,e),r=`ES`):e.type===`DeclareModuleExports`&&(i&&this.raise(L.DuplicateDeclareModuleExports,e),r===`ES`&&this.raise(L.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(L.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:Ze[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(L.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,n){Je.has(e)&&this.raise(n?L.AssignReservedType:L.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}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`)}flowParseTypeParameter(e=!1){let t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return n.name=i.name,n.variance=r,n.bound=i.typeAnnotation,this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(L.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))&&oe(this.lookahead().type)&&(e=this.state.value,this.next());let r=this.flowParseObjectTypeProperty(u,t,a,d,e,n,i==null?!c:i);r===null?(l=!0,s=this.state.lastTokStartLoc):o.properties.push(r)}this.flowObjectTypeSemicolon(),s&&!this.match(8)&&!this.match(9)&&this.raise(L.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(L.InexactInsideExact,this.state.lastTokStartLoc):this.raise(L.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(L.InexactVariance,r),null):(a||this.raise(L.UnexpectedSpreadType,this.state.lastTokStartLoc),n!=null&&this.unexpected(n),r&&this.raise(L.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(L.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`?L.GetterMayNotHaveThisParam:L.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!=null||(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(L.ThisParamMustBeFirst,i),t=this.parseIdentifier(o),this.eat(17)&&(n=!0,o&&this.raise(L.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(I(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(L.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(fe(this.state.type)){let e=ve(this.state.type);return this.next(),super.createIdentifier(t,e)}else if(I(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=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(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),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(ae(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)||I(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(I(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||ue(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||ue(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(L.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,[]]):Qe(r,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.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(L.DeclareClassElement,r):t.value&&this.raise(L.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):Ve(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==null?void 0: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(L.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(L.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(L.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(L.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(L.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(L.PatternIsOptional,e),this.isThisParam(e)&&this.raise(L.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(L.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(L.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(L.TypeBeforeInitializer,n.typeAnnotation),n}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(L.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,n){t.local=Xe(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&&!ae(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&&ae(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=Xe(e);return n&&c&&this.raise(L.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=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(L.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(L.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(L.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(L.UnterminatedFlowComment,this.state.curPosition()),n}skipBlockComment(){if(this.hasPlugin(`flowComments`)&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(L.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:!1}hasFlowCommentCompletion(){if(this.input.indexOf(`*/`,this.state.pos)===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:n}){this.raise(L.EnumBooleanMemberNotInitialized,e,{memberName:n,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?t.explicitType===`symbol`?L.EnumInvalidMemberInitializerSymbolType:L.EnumInvalidMemberInitializerPrimaryType:L.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(L.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(L.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(L.EnumInvalidMemberName,o,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),n.has(c)&&this.raise(L.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(!I(this.state.type))throw this.raise(L.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:t}=this.state;return this.next(),t!==`boolean`&&t!==`number`&&t!==`string`&&t!==`symbol`&&this.raise(L.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(L.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 tt={__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:`♦`},nt=RegExp(`\\r\\n|[\\r\\n\\u2028\\u2029]`,`g`);function rt(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function it(e,t,n){for(let r=t;r<n;r++)if(rt(e.charCodeAt(r)))return!0;return!1}let at=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ot=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function st(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 ct=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 lt(e){return e?e.type===`JSXOpeningFragment`||e.type===`JSXClosingFragment`:!1}function ut(e){if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return ut(e.object)+`.`+ut(e.property);throw Error(`Node had unexpected type: `+e.type)}var dt=e=>class extends e{jsxReadToken(){let e=``,t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ct.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:rt(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?`
|
|
23
15
|
`:`\r
|
|
24
|
-
`):p=String.fromCharCode(l),++this.state.curLine,this.state.lineStart=this.state.pos,p}jsxReadString(s){let l="",p=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(y.UnterminatedString,this.state.startLoc);const S=this.input.charCodeAt(this.state.pos);if(S===s)break;S===38?(l+=this.input.slice(p,this.state.pos),l+=this.jsxReadEntity(),p=this.state.pos):bs(S)?(l+=this.input.slice(p,this.state.pos),l+=this.jsxReadNewLine(!1),p=this.state.pos):++this.state.pos}l+=this.input.slice(p,this.state.pos++),this.finishToken(133,l)}jsxReadEntity(){const s=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let l=10;this.codePointAtPos(this.state.pos)===120&&(l=16,++this.state.pos);const p=this.readInt(l,void 0,!1,"bail");if(p!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(p)}else{let l=0,p=!1;for(;l++<10&&this.state.pos<this.length&&!(p=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(p){const S=this.input.slice(s,this.state.pos),P=OT[S];if(++this.state.pos,P)return P}}return this.state.pos=s,"&"}jsxReadWord(){let s;const l=this.state.pos;do s=this.input.charCodeAt(++this.state.pos);while(ys(s)||s===45);this.finishToken(140,this.input.slice(l,this.state.pos))}jsxParseIdentifier(){const s=this.startNode();return this.match(140)?s.name=this.state.value:St(this.state.type)?s.name=Je(this.state.type):this.unexpected(),this.next(),this.finishNode(s,"JSXIdentifier")}jsxParseNamespacedName(){const s=this.state.startLoc,l=this.jsxParseIdentifier();if(!this.eat(14))return l;const p=this.startNodeAt(s);return p.namespace=l,p.name=this.jsxParseIdentifier(),this.finishNode(p,"JSXNamespacedName")}jsxParseElementName(){const s=this.state.startLoc;let l=this.jsxParseNamespacedName();if(l.type==="JSXNamespacedName")return l;for(;this.eat(16);){const p=this.startNodeAt(s);p.object=l,p.property=this.jsxParseIdentifier(),l=this.finishNode(p,"JSXMemberExpression")}return l}jsxParseAttributeValue(){let s;switch(this.state.type){case 5:return s=this.startNode(),this.setContext(L.brace),this.next(),s=this.jsxParseExpressionContainer(s,L.j_oTag),s.expression.type==="JSXEmptyExpression"&&this.raise(jr.AttributeIsEmpty,s),s;case 142:case 133:return this.parseExprAtom();default:throw this.raise(jr.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const s=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(s,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(s){return this.next(),s.expression=this.parseExpression(),this.setContext(L.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXSpreadChild")}jsxParseExpressionContainer(s,l){if(this.match(8))s.expression=this.jsxParseEmptyExpression();else{const p=this.parseExpression();s.expression=p}return this.setContext(l),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXExpressionContainer")}jsxParseAttribute(){const s=this.startNode();return this.match(5)?(this.setContext(L.brace),this.next(),this.expect(21),s.argument=this.parseMaybeAssignAllowIn(),this.setContext(L.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXSpreadAttribute")):(s.name=this.jsxParseNamespacedName(),s.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(s,"JSXAttribute"))}jsxParseOpeningElementAt(s){const l=this.startNodeAt(s);return this.eat(143)?this.finishNode(l,"JSXOpeningFragment"):(l.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(l))}jsxParseOpeningElementAfterName(s){const l=[];for(;!this.match(56)&&!this.match(143);)l.push(this.jsxParseAttribute());return s.attributes=l,s.selfClosing=this.eat(56),this.expect(143),this.finishNode(s,"JSXOpeningElement")}jsxParseClosingElementAt(s){const l=this.startNodeAt(s);return this.eat(143)?this.finishNode(l,"JSXClosingFragment"):(l.name=this.jsxParseElementName(),this.expect(143),this.finishNode(l,"JSXClosingElement"))}jsxParseElementAt(s){const l=this.startNodeAt(s),p=[],S=this.jsxParseOpeningElementAt(s);let P=null;if(!S.selfClosing){e:for(;;)switch(this.state.type){case 142:if(s=this.state.startLoc,this.next(),this.eat(56)){P=this.jsxParseClosingElementAt(s);break e}p.push(this.jsxParseElementAt(s));break;case 141:p.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const O=this.startNode();this.setContext(L.brace),this.next(),this.match(21)?p.push(this.jsxParseSpreadChild(O)):p.push(this.jsxParseExpressionContainer(O,L.j_expr));break}default:this.unexpected()}xr(S)&&!xr(P)&&P!==null?this.raise(jr.MissingClosingTagFragment,P):!xr(S)&&xr(P)?this.raise(jr.MissingClosingTagElement,P,{openingTagName:vs(S.name)}):!xr(S)&&!xr(P)&&vs(P.name)!==vs(S.name)&&this.raise(jr.MissingClosingTagElement,P,{openingTagName:vs(S.name)})}if(xr(S)?(l.openingFragment=S,l.closingFragment=P):(l.openingElement=S,l.closingElement=P),l.children=p,this.match(47))throw this.raise(jr.UnwrappedAdjacentJSXElements,this.state.startLoc);return xr(S)?this.finishNode(l,"JSXFragment"):this.finishNode(l,"JSXElement")}jsxParseElement(){const s=this.state.startLoc;return this.next(),this.jsxParseElementAt(s)}setContext(s){const{context:l}=this.state;l[l.length-1]=s}parseExprAtom(s){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(s)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(s){const l=this.curContext();if(l===L.j_expr){this.jsxReadToken();return}if(l===L.j_oTag||l===L.j_cTag){if(ir(s)){this.jsxReadWord();return}if(s===62){++this.state.pos,this.finishToken(143);return}if((s===34||s===39)&&l===L.j_oTag){this.jsxReadString(s);return}}if(s===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(s)}updateContext(s){const{context:l,type:p}=this.state;if(p===56&&s===142)l.splice(-2,2,L.j_cTag),this.state.canStartJSXElement=!1;else if(p===142)l.push(L.j_oTag);else if(p===143){const S=l[l.length-1];S===L.j_oTag&&s===56||S===L.j_cTag?(l.pop(),this.state.canStartJSXElement=l[l.length-1]===L.j_expr):(this.setContext(L.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=ue(p)}};class LT extends Sc{constructor(...u){super(...u),this.tsNames=new Map}}class MT extends xc{constructor(...u){super(...u),this.importsStack=[]}createScope(u){return this.importsStack.push(new Set),new LT(u)}enter(u){u===256&&this.importsStack.push(new Set),super.enter(u)}exit(){const u=super.exit();return u===256&&this.importsStack.pop(),u}hasImport(u,s){const l=this.importsStack.length;if(this.importsStack[l-1].has(u))return!0;if(!s&&l>1){for(let p=0;p<l-1;p++)if(this.importsStack[p].has(u))return!0}return!1}declareName(u,s,l){if(s&4096){this.hasImport(u,!0)&&this.parser.raise(y.VarRedeclaration,l,{identifierName:u}),this.importsStack[this.importsStack.length-1].add(u);return}const p=this.currentScope();let S=p.tsNames.get(u)||0;if(s&1024){this.maybeExportDefined(p,u),p.tsNames.set(u,S|16);return}super.declareName(u,s,l),s&2&&(s&1||(this.checkRedeclarationInScope(p,u,s,l),this.maybeExportDefined(p,u)),S=S|1),s&256&&(S=S|2),s&512&&(S=S|4),s&128&&(S=S|8),S&&p.tsNames.set(u,S)}isRedeclaredInScope(u,s,l){const p=u.tsNames.get(s);if((p&2)>0){if(l&256){const S=!!(l&512),P=(p&4)>0;return S!==P}return!0}return l&128&&(p&8)>0?u.names.get(s)&2?!!(l&1):!1:l&2&&(p&1)>0?!0:super.isRedeclaredInScope(u,s,l)}checkLocalExport(u){const{name:s}=u;if(this.hasImport(s))return;const l=this.scopeStack.length;for(let p=l-1;p>=0;p--){const P=this.scopeStack[p].tsNames.get(s);if((P&1)>0||(P&16)>0)return}super.checkLocalExport(u)}}const H1=_=>_.type==="ParenthesizedExpression"?H1(_.expression):_;class RT extends TT{toAssignable(u,s=!1){var l,p;let S;switch((u.type==="ParenthesizedExpression"||(l=u.extra)!=null&&l.parenthesized)&&(S=H1(u),s?S.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(y.InvalidParenthesizedAssignment,u):S.type!=="MemberExpression"&&!this.isOptionalMemberExpression(S)&&this.raise(y.InvalidParenthesizedAssignment,u):this.raise(y.InvalidParenthesizedAssignment,u)),u.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":u.type="ObjectPattern";for(let O=0,D=u.properties.length,U=D-1;O<D;O++){var P;const F=u.properties[O],W=O===U;this.toAssignableObjectExpressionProp(F,W,s),W&&F.type==="RestElement"&&(P=u.extra)!=null&&P.trailingCommaLoc&&this.raise(y.RestTrailingComma,u.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:O,value:D}=u;this.isPrivateName(O)&&this.classScope.usePrivateName(this.getPrivateNameSV(O),O.loc.start),this.toAssignable(D,s);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":u.type="ArrayPattern",this.toAssignableList(u.elements,(p=u.extra)==null?void 0:p.trailingCommaLoc,s);break;case"AssignmentExpression":u.operator!=="="&&this.raise(y.MissingEqInAssignment,u.left.loc.end),u.type="AssignmentPattern",delete u.operator,this.toAssignable(u.left,s);break;case"ParenthesizedExpression":this.toAssignable(S,s);break}}toAssignableObjectExpressionProp(u,s,l){if(u.type==="ObjectMethod")this.raise(u.kind==="get"||u.kind==="set"?y.PatternHasAccessor:y.PatternHasMethod,u.key);else if(u.type==="SpreadElement"){u.type="RestElement";const p=u.argument;this.checkToRestConversion(p,!1),this.toAssignable(p,l),s||this.raise(y.RestTrailingComma,u)}else this.toAssignable(u,l)}toAssignableList(u,s,l){const p=u.length-1;for(let S=0;S<=p;S++){const P=u[S];if(P){if(P.type==="SpreadElement"){P.type="RestElement";const O=P.argument;this.checkToRestConversion(O,!0),this.toAssignable(O,l)}else this.toAssignable(P,l);P.type==="RestElement"&&(S<p?this.raise(y.RestTrailingComma,P):s&&this.raise(y.RestTrailingComma,s))}}}isAssignable(u,s){switch(u.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const l=u.properties.length-1;return u.properties.every((p,S)=>p.type!=="ObjectMethod"&&(S===l||p.type!=="SpreadElement")&&this.isAssignable(p))}case"ObjectProperty":return this.isAssignable(u.value);case"SpreadElement":return this.isAssignable(u.argument);case"ArrayExpression":return u.elements.every(l=>l===null||this.isAssignable(l));case"AssignmentExpression":return u.operator==="=";case"ParenthesizedExpression":return this.isAssignable(u.expression);case"MemberExpression":case"OptionalMemberExpression":return!s;default:return!1}}toReferencedList(u,s){return u}toReferencedListDeep(u,s){this.toReferencedList(u,s);for(const l of u)(l==null?void 0:l.type)==="ArrayExpression"&&this.toReferencedListDeep(l.elements)}parseSpread(u){const s=this.startNode();return this.next(),s.argument=this.parseMaybeAssignAllowIn(u,void 0),this.finishNode(s,"SpreadElement")}parseRestBinding(){const u=this.startNode();return this.next(),u.argument=this.parseBindingAtom(),this.finishNode(u,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const u=this.startNode();return this.next(),u.elements=this.parseBindingList(3,93,1),this.finishNode(u,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(u,s,l){const p=l&1,S=[];let P=!0;for(;!this.eat(u);)if(P?P=!1:this.expect(12),p&&this.match(12))S.push(null);else{if(this.eat(u))break;if(this.match(21)){if(S.push(this.parseAssignableListItemTypes(this.parseRestBinding(),l)),!this.checkCommaAfterRest(s)){this.expect(u);break}}else{const O=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(y.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)O.push(this.parseDecorator());S.push(this.parseAssignableListItem(l,O))}}return S}parseBindingRestProperty(u){return this.next(),u.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(u,"RestElement")}parseBindingProperty(){const{type:u,startLoc:s}=this.state;if(u===21)return this.parseBindingRestProperty(this.startNode());const l=this.startNode();return u===138?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),l.key=this.parsePrivateName()):this.parsePropertyName(l),l.method=!1,this.parseObjPropValue(l,s,!1,!1,!0,!1)}parseAssignableListItem(u,s){const l=this.parseMaybeDefault();this.parseAssignableListItemTypes(l,u);const p=this.parseMaybeDefault(l.loc.start,l);return s.length&&(l.decorators=s),p}parseAssignableListItemTypes(u,s){return u}parseMaybeDefault(u,s){var l,p;if((l=u)!=null||(u=this.state.startLoc),s=(p=s)!=null?p:this.parseBindingAtom(),!this.eat(29))return s;const S=this.startNodeAt(u);return S.left=s,S.right=this.parseMaybeAssignAllowIn(),this.finishNode(S,"AssignmentPattern")}isValidLVal(u,s,l){switch(u){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(u){return u.type==="OptionalMemberExpression"}checkLVal(u,s,l=64,p=!1,S=!1,P=!1){var O;const D=u.type;if(this.isObjectMethod(u))return;const U=this.isOptionalMemberExpression(u);if(U||D==="MemberExpression"){U&&(this.expectPlugin("optionalChainingAssign",u.loc.start),s.type!=="AssignmentExpression"&&this.raise(y.InvalidLhsOptionalChaining,u,{ancestor:s})),l!==64&&this.raise(y.InvalidPropertyBindingPattern,u);return}if(D==="Identifier"){this.checkIdentifier(u,l,S);const{name:xe}=u;p&&(p.has(xe)?this.raise(y.ParamDupe,u):p.add(xe));return}const F=this.isValidLVal(D,!(P||(O=u.extra)!=null&&O.parenthesized)&&s.type==="AssignmentExpression",l);if(F===!0)return;if(F===!1){const xe=l===64?y.InvalidLhs:y.InvalidLhsBinding;this.raise(xe,u,{ancestor:s});return}let W,K;typeof F=="string"?(W=F,K=D==="ParenthesizedExpression"):[W,K]=F;const J=D==="ArrayPattern"||D==="ObjectPattern"?{type:D}:s,ae=u[W];if(Array.isArray(ae))for(const xe of ae)xe&&this.checkLVal(xe,J,l,p,S,K);else ae&&this.checkLVal(ae,J,l,p,S,K)}checkIdentifier(u,s,l=!1){this.state.strict&&(l?F1(u.name,this.inModule):D1(u.name))&&(s===64?this.raise(y.StrictEvalArguments,u,{referenceName:u.name}):this.raise(y.StrictEvalArgumentsBinding,u,{bindingName:u.name})),s&8192&&u.name==="let"&&this.raise(y.LetInLexicalBinding,u),s&64||this.declareNameFromIdentifier(u,s)}declareNameFromIdentifier(u,s){this.scope.declareName(u.name,s,u.loc.start)}checkToRestConversion(u,s){switch(u.type){case"ParenthesizedExpression":this.checkToRestConversion(u.expression,s);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(s)break;default:this.raise(y.InvalidRestAssignmentPattern,u)}}checkCommaAfterRest(u){return this.match(12)?(this.raise(this.lookaheadCharCode()===u?y.RestTrailingComma:y.ElementAfterRest,this.state.startLoc),!0):!1}}function DT(_){if(_==null)throw new Error(`Unexpected ${_} value.`);return _}function X1(_){if(!_)throw new Error("Assert fail")}const ne=v`typescript`({AbstractMethodHasImplementation:({methodName:_})=>`Method '${_}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:_})=>`Property '${_}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:_})=>`'declare' is not allowed in ${_}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:_})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:_})=>`Duplicate modifier: '${_}'.`,EmptyHeritageClauseType:({token:_})=>`'${_}' 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:_})=>`'${_[0]}' modifier cannot be used with '${_[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:_})=>`Index signatures cannot have an accessibility modifier ('${_}').`,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.",InvalidModifierOnTypeMember:({modifier:_})=>`'${_}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:_})=>`'${_}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:_})=>`'${_}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:_})=>`'${_[0]}' modifier must precede '${_[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.",NonClassMethodPropertyHasAbstractModifer:"'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:_})=>`Private elements cannot have an accessibility modifier ('${_}').`,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.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:_})=>`Single type parameter ${_} should have a trailing comma. Example usage: <${_},>.`,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:_})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${_}.`});function FT(_){switch(_){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 K1(_){return _==="private"||_==="public"||_==="protected"}function BT(_){return _==="in"||_==="out"}var UT=_=>class extends _{constructor(...s){super(...s),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ne.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ne.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ne.InvalidModifierOnTypeParameter})}getScopeHandler(){return MT}tsIsIdentifier(){return j(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(s,l){if(!j(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const p=this.state.value;if(s.includes(p)){if(l&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return p}}tsParseModifiers({allowedModifiers:s,disallowedModifiers:l,stopOnStartOfClassStaticBlock:p,errorTemplate:S=ne.InvalidModifierOnTypeMember},P){const O=(U,F,W,K)=>{F===W&&P[K]&&this.raise(ne.InvalidModifiersOrder,U,{orderedModifiers:[W,K]})},D=(U,F,W,K)=>{(P[W]&&F===K||P[K]&&F===W)&&this.raise(ne.IncompatibleModifiers,U,{modifiers:[W,K]})};for(;;){const{startLoc:U}=this.state,F=this.tsParseModifier(s.concat(l!=null?l:[]),p);if(!F)break;K1(F)?P.accessibility?this.raise(ne.DuplicateAccessibilityModifier,U,{modifier:F}):(O(U,F,F,"override"),O(U,F,F,"static"),O(U,F,F,"readonly"),P.accessibility=F):BT(F)?(P[F]&&this.raise(ne.DuplicateModifier,U,{modifier:F}),P[F]=!0,O(U,F,"in","out")):(hasOwnProperty.call(P,F)?this.raise(ne.DuplicateModifier,U,{modifier:F}):(O(U,F,"static","readonly"),O(U,F,"static","override"),O(U,F,"override","readonly"),O(U,F,"abstract","override"),D(U,F,"declare","override"),D(U,F,"static","abstract")),P[F]=!0),l!=null&&l.includes(F)&&this.raise(S,U,{modifier:F})}}tsIsListTerminator(s){switch(s){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(s,l){const p=[];for(;!this.tsIsListTerminator(s);)p.push(l());return p}tsParseDelimitedList(s,l,p){return DT(this.tsParseDelimitedListWorker(s,l,!0,p))}tsParseDelimitedListWorker(s,l,p,S){const P=[];let O=-1;for(;!this.tsIsListTerminator(s);){O=-1;const D=l();if(D==null)return;if(P.push(D),this.eat(12)){O=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(s))break;p&&this.expect(12);return}return S&&(S.value=O),P}tsParseBracketedList(s,l,p,S,P){S||(p?this.expect(0):this.expect(47));const O=this.tsParseDelimitedList(s,l,P);return p?this.expect(3):this.expect(48),O}tsParseImportType(){const s=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(ne.UnsupportedImportTypeArgument,this.state.startLoc),s.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(s.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(s.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(s.qualifier=this.tsParseEntityName()),this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSImportType")}tsParseEntityName(s=!0){let l=this.parseIdentifier(s);for(;this.eat(16);){const p=this.startNodeAtNode(l);p.left=l,p.right=this.parseIdentifier(s),l=this.finishNode(p,"TSQualifiedName")}return l}tsParseTypeReference(){const s=this.startNode();return s.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeReference")}tsParseThisTypePredicate(s){this.next();const l=this.startNodeAtNode(s);return l.parameterName=s,l.typeAnnotation=this.tsParseTypeAnnotation(!1),l.asserts=!1,this.finishNode(l,"TSTypePredicate")}tsParseThisTypeNode(){const s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}tsParseTypeQuery(){const s=this.startNode();return this.expect(87),this.match(83)?s.exprName=this.tsParseImportType():s.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeQuery")}tsParseTypeParameter(s){const l=this.startNode();return s(l),l.name=this.tsParseTypeParameterName(),l.constraint=this.tsEatThenParseType(81),l.default=this.tsEatThenParseType(29),this.finishNode(l,"TSTypeParameter")}tsTryParseTypeParameters(s){if(this.match(47))return this.tsParseTypeParameters(s)}tsParseTypeParameters(s){const l=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const p={value:-1};return l.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,s),!1,!0,p),l.params.length===0&&this.raise(ne.EmptyTypeParameters,l),p.value!==-1&&this.addExtra(l,"trailingComma",p.value),this.finishNode(l,"TSTypeParameterDeclaration")}tsFillSignature(s,l){const p=s===19,S="parameters",P="typeAnnotation";l.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),l[S]=this.tsParseBindingListForSignature(),p?l[P]=this.tsParseTypeOrTypePredicateAnnotation(s):this.match(s)&&(l[P]=this.tsParseTypeOrTypePredicateAnnotation(s))}tsParseBindingListForSignature(){const s=super.parseBindingList(11,41,2);for(const l of s){const{type:p}=l;(p==="AssignmentPattern"||p==="TSParameterProperty")&&this.raise(ne.UnsupportedSignatureParameterKind,l,{type:p})}return s}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(s,l){return this.tsFillSignature(14,l),this.tsParseTypeMemberSemicolon(),this.finishNode(l,s)}tsIsUnambiguouslyIndexSignature(){return this.next(),j(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(s){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const l=this.parseIdentifier();l.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(l),this.expect(3),s.parameters=[l];const p=this.tsTryParseTypeAnnotation();return p&&(s.typeAnnotation=p),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSIndexSignature")}tsParsePropertyOrMethodSignature(s,l){this.eat(17)&&(s.optional=!0);const p=s;if(this.match(10)||this.match(47)){l&&this.raise(ne.ReadonlyForMethodSignature,s);const S=p;S.kind&&this.match(47)&&this.raise(ne.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,S),this.tsParseTypeMemberSemicolon();const P="parameters",O="typeAnnotation";if(S.kind==="get")S[P].length>0&&(this.raise(y.BadGetterArity,this.state.curPosition()),this.isThisParam(S[P][0])&&this.raise(ne.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(S.kind==="set"){if(S[P].length!==1)this.raise(y.BadSetterArity,this.state.curPosition());else{const D=S[P][0];this.isThisParam(D)&&this.raise(ne.AccesorCannotDeclareThisParameter,this.state.curPosition()),D.type==="Identifier"&&D.optional&&this.raise(ne.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),D.type==="RestElement"&&this.raise(ne.SetAccesorCannotHaveRestParameter,this.state.curPosition())}S[O]&&this.raise(ne.SetAccesorCannotHaveReturnType,S[O])}else S.kind="method";return this.finishNode(S,"TSMethodSignature")}else{const S=p;l&&(S.readonly=!0);const P=this.tsTryParseTypeAnnotation();return P&&(S.typeAnnotation=P),this.tsParseTypeMemberSemicolon(),this.finishNode(S,"TSPropertySignature")}}tsParseTypeMember(){const s=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",s);if(this.match(77)){const p=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",s):(s.key=this.createIdentifier(p,"new"),this.tsParsePropertyOrMethodSignature(s,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},s);const l=this.tsTryParseIndexSignature(s);return l||(super.parsePropertyName(s),!s.computed&&s.key.type==="Identifier"&&(s.key.name==="get"||s.key.name==="set")&&this.tsTokenCanFollowModifier()&&(s.kind=s.key.name,super.parsePropertyName(s)),this.tsParsePropertyOrMethodSignature(s,!!s.readonly))}tsParseTypeLiteral(){const s=this.startNode();return s.members=this.tsParseObjectTypeMembers(),this.finishNode(s,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const s=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),s}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)))}tsParseMappedTypeParameter(){const s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(58),this.finishNode(s,"TSTypeParameter")}tsParseMappedType(){const s=this.startNode();return this.expect(5),this.match(53)?(s.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(s.readonly=!0),this.expect(0),s.typeParameter=this.tsParseMappedTypeParameter(),s.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(s.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(s.optional=!0),s.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(s,"TSMappedType")}tsParseTupleType(){const s=this.startNode();s.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let l=!1;return s.elementTypes.forEach(p=>{const{type:S}=p;l&&S!=="TSRestType"&&S!=="TSOptionalType"&&!(S==="TSNamedTupleMember"&&p.optional)&&this.raise(ne.OptionalTypeBeforeRequired,p),l||(l=S==="TSNamedTupleMember"&&p.optional||S==="TSOptionalType")}),this.finishNode(s,"TSTupleType")}tsParseTupleElementType(){const{startLoc:s}=this.state,l=this.eat(21);let p,S,P,O;const U=oe(this.state.type)?this.lookaheadCharCode():null;if(U===58)p=!0,P=!1,S=this.parseIdentifier(!0),this.expect(14),O=this.tsParseType();else if(U===63){P=!0;const F=this.state.startLoc,W=this.state.value,K=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(p=!0,S=this.createIdentifier(this.startNodeAt(F),W),this.expect(17),this.expect(14),O=this.tsParseType()):(p=!1,O=K,this.expect(17))}else O=this.tsParseType(),P=this.eat(17),p=this.eat(14);if(p){let F;S?(F=this.startNodeAtNode(S),F.optional=P,F.label=S,F.elementType=O,this.eat(17)&&(F.optional=!0,this.raise(ne.TupleOptionalAfterType,this.state.lastTokStartLoc))):(F=this.startNodeAtNode(O),F.optional=P,this.raise(ne.InvalidTupleMemberLabel,O),F.label=O,F.elementType=this.tsParseType()),O=this.finishNode(F,"TSNamedTupleMember")}else if(P){const F=this.startNodeAtNode(O);F.typeAnnotation=O,O=this.finishNode(F,"TSOptionalType")}if(l){const F=this.startNodeAt(s);F.typeAnnotation=O,O=this.finishNode(F,"TSRestType")}return O}tsParseParenthesizedType(){const s=this.startNode();return this.expect(10),s.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(s,"TSParenthesizedType")}tsParseFunctionOrConstructorType(s,l){const p=this.startNode();return s==="TSConstructorType"&&(p.abstract=!!l,l&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,p)),this.finishNode(p,s)}tsParseLiteralTypeNode(){const s=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:s.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(s,"TSLiteralType")}tsParseTemplateLiteralType(){const s=this.startNode();return s.literal=super.parseTemplate(!1),this.finishNode(s,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const s=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(s):s}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const s=this.startNode(),l=this.lookahead();return l.type!==134&&l.type!==135&&this.unexpected(),s.literal=this.parseMaybeUnary(),this.finishNode(s,"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:{const{type:s}=this.state;if(j(s)||s===88||s===84){const l=s===88?"TSVoidKeyword":s===84?"TSNullKeyword":FT(this.state.value);if(l!==void 0&&this.lookaheadCharCode()!==46){const p=this.startNode();return this.next(),this.finishNode(p,l)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let s=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const l=this.startNodeAtNode(s);l.elementType=s,this.expect(3),s=this.finishNode(l,"TSArrayType")}else{const l=this.startNodeAtNode(s);l.objectType=s,l.indexType=this.tsParseType(),this.expect(3),s=this.finishNode(l,"TSIndexedAccessType")}return s}tsParseTypeOperator(){const s=this.startNode(),l=this.state.value;return this.next(),s.operator=l,s.typeAnnotation=this.tsParseTypeOperatorOrHigher(),l==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(s),this.finishNode(s,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(s){switch(s.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ne.UnexpectedReadonly,s)}}tsParseInferType(){const s=this.startNode();this.expectContextual(115);const l=this.startNode();return l.name=this.tsParseTypeParameterName(),l.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),s.typeParameter=this.finishNode(l,"TSTypeParameter"),this.finishNode(s,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const s=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return s}}tsParseTypeOperatorOrHigher(){return xt(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(s,l,p){const S=this.startNode(),P=this.eat(p),O=[];do O.push(l());while(this.eat(p));return O.length===1&&!P?O[0]:(S.types=O,this.finishNode(S,s))}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(j(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:s}=this.state,l=s.length;try{return this.parseObjectLike(8,!0),s.length===l}catch(p){return!1}}if(this.match(0)){this.next();const{errors:s}=this.state,l=s.length;try{return super.parseBindingList(3,93,1),s.length===l}catch(p){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(s){return this.tsInType(()=>{const l=this.startNode();this.expect(s);const p=this.startNode(),S=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(S&&this.match(78)){let D=this.tsParseThisTypeOrThisTypePredicate();return D.type==="TSThisType"?(p.parameterName=D,p.asserts=!0,p.typeAnnotation=null,D=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(D,p),D.asserts=!0),l.typeAnnotation=D,this.finishNode(l,"TSTypeAnnotation")}const P=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!P)return S?(p.parameterName=this.parseIdentifier(),p.asserts=S,p.typeAnnotation=null,l.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,l);const O=this.tsParseTypeAnnotation(!1);return p.parameterName=P,p.typeAnnotation=O,p.asserts=S,l.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const s=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),s}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const s=this.state.containsEsc;return this.next(),!j(this.state.type)&&!this.match(78)?!1:(s&&this.raise(y.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(s=!0,l=this.startNode()){return this.tsInType(()=>{s&&this.expect(14),l.typeAnnotation=this.tsParseType()}),this.finishNode(l,"TSTypeAnnotation")}tsParseType(){X1(this.state.inType);const s=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return s;const l=this.startNodeAtNode(s);return l.checkType=s,l.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),l.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),l.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(l,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}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(ne.ReservedTypeAssertion,this.state.startLoc);const s=this.startNode();return s.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),s.expression=this.parseMaybeUnary(),this.finishNode(s,"TSTypeAssertion")}tsParseHeritageClause(s){const l=this.state.startLoc,p=this.tsParseDelimitedList("HeritageClauseElement",()=>{const S=this.startNode();return S.expression=this.tsParseEntityName(),this.match(47)&&(S.typeParameters=this.tsParseTypeArguments()),this.finishNode(S,"TSExpressionWithTypeArguments")});return p.length||this.raise(ne.EmptyHeritageClauseType,l,{token:s}),p}tsParseInterfaceDeclaration(s,l={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),l.declare&&(s.declare=!0),j(this.state.type)?(s.id=this.parseIdentifier(),this.checkIdentifier(s.id,130)):(s.id=null,this.raise(ne.MissingInterfaceName,this.state.startLoc)),s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(s.extends=this.tsParseHeritageClause("extends"));const p=this.startNode();return p.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),s.body=this.finishNode(p,"TSInterfaceBody"),this.finishNode(s,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(s){return s.id=this.parseIdentifier(),this.checkIdentifier(s.id,2),s.typeAnnotation=this.tsInType(()=>{if(s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const l=this.startNode();return this.next(),this.finishNode(l,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}tsInNoContext(s){const l=this.state.context;this.state.context=[l[0]];try{return s()}finally{this.state.context=l}}tsInType(s){const l=this.state.inType;this.state.inType=!0;try{return s()}finally{this.state.inType=l}}tsInDisallowConditionalTypesContext(s){const l=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return s()}finally{this.state.inDisallowConditionalTypesContext=l}}tsInAllowConditionalTypesContext(s){const l=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return s()}finally{this.state.inDisallowConditionalTypesContext=l}}tsEatThenParseType(s){if(this.match(s))return this.tsNextThenParseType()}tsExpectThenParseType(s){return this.tsInType(()=>(this.expect(s),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const s=this.startNode();return s.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(s.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(s,"TSEnumMember")}tsParseEnumDeclaration(s,l={}){return l.const&&(s.const=!0),l.declare&&(s.declare=!0),this.expectContextual(126),s.id=this.parseIdentifier(),this.checkIdentifier(s.id,s.const?8971:8459),this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumDeclaration")}tsParseModuleBlock(){const s=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(s.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(s,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(s,l=!1){if(s.id=this.parseIdentifier(),l||this.checkIdentifier(s.id,1024),this.eat(16)){const p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),s.body=p}else this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(s,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(s){return this.isContextual(112)?(s.global=!0,s.id=this.parseIdentifier()):this.match(133)?s.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(s,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(s,l,p){s.isExport=p||!1,s.id=l||this.parseIdentifier(),this.checkIdentifier(s.id,4096),this.expect(29);const S=this.tsParseModuleReference();return s.importKind==="type"&&S.type!=="TSExternalModuleReference"&&this.raise(ne.ImportAliasHasImportType,S),s.moduleReference=S,this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const s=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),s.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExternalModuleReference")}tsLookAhead(s){const l=this.state.clone(),p=s();return this.state=l,p}tsTryParseAndCatch(s){const l=this.tryParse(p=>s()||p());if(!(l.aborted||!l.node))return l.error&&(this.state=l.failState),l.node}tsTryParse(s){const l=this.state.clone(),p=s();if(p!==void 0&&p!==!1)return p;this.state=l}tsTryParseDeclare(s){if(this.isLineTerminator())return;let l=this.state.type,p;return this.isContextual(100)&&(l=74,p="let"),this.tsInAmbientContext(()=>{switch(l){case 68:return s.declare=!0,super.parseFunctionStatement(s,!1,!1);case 80:return s.declare=!0,this.parseClass(s,!0,!1);case 126:return this.tsParseEnumDeclaration(s,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(s);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(s.declare=!0,this.parseVarStatement(s,p||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(s,{const:!0,declare:!0}));case 129:{const S=this.tsParseInterfaceDeclaration(s,{declare:!0});if(S)return S}default:if(j(l))return this.tsParseDeclaration(s,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(s,l,p){switch(l.name){case"declare":{const S=this.tsTryParseDeclare(s);return S&&(S.declare=!0),S}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const S=s;return S.global=!0,S.id=l,S.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(S,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(s,l.name,!1,p)}}tsParseDeclaration(s,l,p,S){switch(l){case"abstract":if(this.tsCheckLineTerminator(p)&&(this.match(80)||j(this.state.type)))return this.tsParseAbstractDeclaration(s,S);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(s);if(j(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&j(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s);break;case"type":if(this.tsCheckLineTerminator(p)&&j(this.state.type))return this.tsParseTypeAliasDeclaration(s);break}}tsCheckLineTerminator(s){return s?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(s){if(!this.match(47))return;const l=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const p=this.tsTryParseAndCatch(()=>{const S=this.startNodeAt(s);return S.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(S),S.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),S});if(this.state.maybeInArrowParameters=l,!!p)return super.parseArrowExpression(p,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const s=this.startNode();return s.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),s.params.length===0?this.raise(ne.EmptyTypeArguments,s):!this.state.inType&&this.curContext()===L.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(s,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Et(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(s,l){const p=this.state.startLoc,S={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},S);const P=S.accessibility,O=S.override,D=S.readonly;!(s&4)&&(P||D||O)&&this.raise(ne.UnexpectedParameterModifier,p);const U=this.parseMaybeDefault();this.parseAssignableListItemTypes(U,s);const F=this.parseMaybeDefault(U.loc.start,U);if(P||D||O){const W=this.startNodeAt(p);return l.length&&(W.decorators=l),P&&(W.accessibility=P),D&&(W.readonly=D),O&&(W.override=O),F.type!=="Identifier"&&F.type!=="AssignmentPattern"&&this.raise(ne.UnsupportedParameterPropertyKind,W),W.parameter=F,this.finishNode(W,"TSParameterProperty")}return l.length&&(U.decorators=l),F}isSimpleParameter(s){return s.type==="TSParameterProperty"&&super.isSimpleParameter(s.parameter)||super.isSimpleParameter(s)}tsDisallowOptionalPattern(s){for(const l of s.params)l.type!=="Identifier"&&l.optional&&!this.state.isAmbientContext&&this.raise(ne.PatternIsOptional,l)}setArrowFunctionParameters(s,l,p){super.setArrowFunctionParameters(s,l,p),this.tsDisallowOptionalPattern(s)}parseFunctionBodyAndFinish(s,l,p=!1){this.match(14)&&(s.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const S=l==="FunctionDeclaration"?"TSDeclareFunction":l==="ClassMethod"||l==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return S&&!this.match(5)&&this.isLineTerminator()?this.finishNode(s,S):S==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(ne.DeclareFunctionHasImplementation,s),s.declare)?super.parseFunctionBodyAndFinish(s,S,p):(this.tsDisallowOptionalPattern(s),super.parseFunctionBodyAndFinish(s,l,p))}registerFunctionStatementId(s){!s.body&&s.id?this.checkIdentifier(s.id,1024):super.registerFunctionStatementId(s)}tsCheckForInvalidTypeCasts(s){s.forEach(l=>{(l==null?void 0:l.type)==="TSTypeCastExpression"&&this.raise(ne.UnexpectedTypeAnnotation,l.typeAnnotation)})}toReferencedList(s,l){return this.tsCheckForInvalidTypeCasts(s),s}parseArrayLike(s,l,p,S){const P=super.parseArrayLike(s,l,p,S);return P.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(P.elements),P}parseSubscript(s,l,p,S){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const O=this.startNodeAt(l);return O.expression=s,this.finishNode(O,"TSNonNullExpression")}let P=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(p)return S.stop=!0,s;S.optionalChainMember=P=!0,this.next()}if(this.match(47)||this.match(51)){let O;const D=this.tsTryParseAndCatch(()=>{if(!p&&this.atPossibleAsyncArrow(s)){const K=this.tsTryParseGenericAsyncArrowFunction(l);if(K)return K}const U=this.tsParseTypeArgumentsInExpression();if(!U)return;if(P&&!this.match(10)){O=this.state.curPosition();return}if(zt(this.state.type)){const K=super.parseTaggedTemplateExpression(s,l,S);return K.typeParameters=U,K}if(!p&&this.eat(10)){const K=this.startNodeAt(l);return K.callee=s,K.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(K.arguments),K.typeParameters=U,S.optionalChainMember&&(K.optional=P),this.finishCallExpression(K,S.optionalChainMember)}const F=this.state.type;if(F===48||F===52||F!==10&&de(F)&&!this.hasPrecedingLineBreak())return;const W=this.startNodeAt(l);return W.expression=s,W.typeParameters=U,this.finishNode(W,"TSInstantiationExpression")});if(O&&this.unexpected(O,10),D)return D.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(ne.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),D}return super.parseSubscript(s,l,p,S)}parseNewCallee(s){var l;super.parseNewCallee(s);const{callee:p}=s;p.type==="TSInstantiationExpression"&&!((l=p.extra)!=null&&l.parenthesized)&&(s.typeParameters=p.typeParameters,s.callee=p.expression)}parseExprOp(s,l,p){let S;if(sr(58)>p&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(S=this.isContextual(120)))){const P=this.startNodeAt(l);return P.expression=s,P.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(S&&this.raise(y.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(P,S?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(P,l,p)}return super.parseExprOp(s,l,p)}checkReservedWord(s,l,p,S){this.state.isAmbientContext||super.checkReservedWord(s,l,p,S)}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(ne.ImportReflectionHasImportType,s.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){const l=this.lookaheadCharCode();return s?l===123||l===42:l!==61}return!s&&this.isContextual(87)}applyImportPhase(s,l,p,S){super.applyImportPhase(s,l,p,S),l?s.exportKind=p==="type"?"type":"value":s.importKind=p==="type"||p==="typeof"?p:"value"}parseImport(s){if(this.match(133))return s.importKind="value",super.parseImport(s);let l;if(j(this.state.type)&&this.lookaheadCharCode()===61)return s.importKind="value",this.tsParseImportEqualsDeclaration(s);if(this.isContextual(130)){const p=this.parseMaybeImportPhase(s,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(s,p);l=super.parseImportSpecifiersAndAfter(s,p)}else l=super.parseImport(s);return l.importKind==="type"&&l.specifiers.length>1&&l.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(ne.TypeImportCannotSpecifyDefaultAndNamed,l),l}parseExport(s,l){if(this.match(83)){this.next();const p=s;let S=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?S=this.parseMaybeImportPhase(p,!1):p.importKind="value",this.tsParseImportEqualsDeclaration(p,S,!0)}else if(this.eat(29)){const p=s;return p.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(p,"TSExportAssignment")}else if(this.eatContextual(93)){const p=s;return this.expectContextual(128),p.id=this.parseIdentifier(),this.semicolon(),this.finishNode(p,"TSNamespaceExportDeclaration")}else return super.parseExport(s,l)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const s=this.startNode();return this.next(),s.abstract=!0,this.parseClass(s,!0,!0)}if(this.match(129)){const s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseExportDefaultExpression()}parseVarStatement(s,l,p=!1){const{isAmbientContext:S}=this.state,P=super.parseVarStatement(s,l,p||S);if(!S)return P;for(const{id:O,init:D}of P.declarations)D&&(l!=="const"||O.typeAnnotation?this.raise(ne.InitializerNotAllowedInAmbientContext,D):qT(D,this.hasPlugin("estree"))||this.raise(ne.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,D));return P}parseStatementContent(s,l){if(this.match(75)&&this.isLookaheadContextual("enum")){const p=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(p,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const p=this.tsParseInterfaceDeclaration(this.startNode());if(p)return p}return super.parseStatementContent(s,l)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(s,l){return l.some(p=>K1(p)?s.accessibility===p:!!s[p])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(s,l,p){const S=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:S,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:ne.InvalidModifierOnTypeParameterPositions},l);const P=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(l,S)&&this.raise(ne.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(s,l)):this.parseClassMemberWithIsStatic(s,l,p,!!l.static)};l.declare?this.tsInAmbientContext(P):P()}parseClassMemberWithIsStatic(s,l,p,S){const P=this.tsTryParseIndexSignature(l);if(P){s.body.push(P),l.abstract&&this.raise(ne.IndexSignatureHasAbstract,l),l.accessibility&&this.raise(ne.IndexSignatureHasAccessibility,l,{modifier:l.accessibility}),l.declare&&this.raise(ne.IndexSignatureHasDeclare,l),l.override&&this.raise(ne.IndexSignatureHasOverride,l);return}!this.state.inAbstractClass&&l.abstract&&this.raise(ne.NonAbstractClassHasAbstractMethod,l),l.override&&(p.hadSuperClass||this.raise(ne.OverrideNotInSubClass,l)),super.parseClassMemberWithIsStatic(s,l,p,S)}parsePostMemberNameModifiers(s){this.eat(17)&&(s.optional=!0),s.readonly&&this.match(10)&&this.raise(ne.ClassMethodHasReadonly,s),s.declare&&this.match(10)&&this.raise(ne.ClassMethodHasDeclare,s)}parseExpressionStatement(s,l,p){return(l.type==="Identifier"?this.tsParseExpressionStatement(s,l,p):void 0)||super.parseExpressionStatement(s,l,p)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(s,l,p){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(s,l,p);const S=this.tryParse(()=>super.parseConditional(s,l));return S.node?(S.error&&(this.state=S.failState),S.node):(S.error&&super.setOptionalParametersError(p,S.error),s)}parseParenItem(s,l){const p=super.parseParenItem(s,l);if(this.eat(17)&&(p.optional=!0,this.resetEndLocation(s)),this.match(14)){const S=this.startNodeAt(l);return S.expression=s,S.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(S,"TSTypeCastExpression")}return s}parseExportDeclaration(s){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(s));const l=this.state.startLoc,p=this.eatContextual(125);if(p&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(ne.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const P=j(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(s);return P?((P.type==="TSInterfaceDeclaration"||P.type==="TSTypeAliasDeclaration"||p)&&(s.exportKind="type"),p&&(this.resetStartLocation(P,l),P.declare=!0),P):null}parseClassId(s,l,p,S){if((!l||p)&&this.isContextual(113))return;super.parseClassId(s,l,p,s.declare?1024:8331);const P=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);P&&(s.typeParameters=P)}parseClassPropertyAnnotation(s){s.optional||(this.eat(35)?s.definite=!0:this.eat(17)&&(s.optional=!0));const l=this.tsTryParseTypeAnnotation();l&&(s.typeAnnotation=l)}parseClassProperty(s){if(this.parseClassPropertyAnnotation(s),this.state.isAmbientContext&&!(s.readonly&&!s.typeAnnotation)&&this.match(29)&&this.raise(ne.DeclareClassFieldHasInitializer,this.state.startLoc),s.abstract&&this.match(29)){const{key:l}=s;this.raise(ne.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:l.type==="Identifier"&&!s.computed?l.name:`[${this.input.slice(l.start,l.end)}]`})}return super.parseClassProperty(s)}parseClassPrivateProperty(s){return s.abstract&&this.raise(ne.PrivateElementHasAbstract,s),s.accessibility&&this.raise(ne.PrivateElementHasAccessibility,s,{modifier:s.accessibility}),this.parseClassPropertyAnnotation(s),super.parseClassPrivateProperty(s)}parseClassAccessorProperty(s){return this.parseClassPropertyAnnotation(s),s.optional&&this.raise(ne.AccessorCannotBeOptional,s),super.parseClassAccessorProperty(s)}pushClassMethod(s,l,p,S,P,O){const D=this.tsTryParseTypeParameters(this.tsParseConstModifier);D&&P&&this.raise(ne.ConstructorHasTypeParameters,D);const{declare:U=!1,kind:F}=l;U&&(F==="get"||F==="set")&&this.raise(ne.DeclareAccessor,l,{kind:F}),D&&(l.typeParameters=D),super.pushClassMethod(s,l,p,S,P,O)}pushClassPrivateMethod(s,l,p,S){const P=this.tsTryParseTypeParameters(this.tsParseConstModifier);P&&(l.typeParameters=P),super.pushClassPrivateMethod(s,l,p,S)}declareClassPrivateMethodInScope(s,l){s.type!=="TSDeclareMethod"&&(s.type==="MethodDefinition"&&!hasOwnProperty.call(s.value,"body")||super.declareClassPrivateMethodInScope(s,l))}parseClassSuper(s){super.parseClassSuper(s),s.superClass&&(this.match(47)||this.match(51))&&(s.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(s.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(s,l,p,S,P,O,D){const U=this.tsTryParseTypeParameters(this.tsParseConstModifier);return U&&(s.typeParameters=U),super.parseObjPropValue(s,l,p,S,P,O,D)}parseFunctionParams(s,l){const p=this.tsTryParseTypeParameters(this.tsParseConstModifier);p&&(s.typeParameters=p),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),s.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(s.definite=!0);const p=this.tsTryParseTypeAnnotation();p&&(s.id.typeAnnotation=p,this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){return this.match(14)&&(s.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(s,l)}parseMaybeAssign(s,l){var p,S,P,O,D;let U,F,W;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(U=this.state.clone(),F=this.tryParse(()=>super.parseMaybeAssign(s,l),U),!F.error)return F.node;const{context:ae}=this.state,xe=ae[ae.length-1];(xe===L.j_oTag||xe===L.j_expr)&&ae.pop()}if(!((p=F)!=null&&p.error)&&!this.match(47))return super.parseMaybeAssign(s,l);(!U||U===this.state)&&(U=this.state.clone());let K;const J=this.tryParse(ae=>{var xe,mt;K=this.tsParseTypeParameters(this.tsParseConstModifier);const be=super.parseMaybeAssign(s,l);return(be.type!=="ArrowFunctionExpression"||(xe=be.extra)!=null&&xe.parenthesized)&&ae(),((mt=K)==null?void 0:mt.params.length)!==0&&this.resetStartLocationFromNode(be,K),be.typeParameters=K,be},U);if(!J.error&&!J.aborted)return K&&this.reportReservedArrowTypeParam(K),J.node;if(!F&&(X1(!this.hasPlugin("jsx")),W=this.tryParse(()=>super.parseMaybeAssign(s,l),U),!W.error))return W.node;if((S=F)!=null&&S.node)return this.state=F.failState,F.node;if(J.node)return this.state=J.failState,K&&this.reportReservedArrowTypeParam(K),J.node;if((P=W)!=null&&P.node)return this.state=W.failState,W.node;throw((O=F)==null?void 0:O.error)||J.error||((D=W)==null?void 0:D.error)}reportReservedArrowTypeParam(s){var l;s.params.length===1&&!s.params[0].constraint&&!((l=s.extra)!=null&&l.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ne.ReservedArrowTypeParam,s)}parseMaybeUnary(s,l){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(s,l)}parseArrow(s){if(this.match(14)){const l=this.tryParse(p=>{const S=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&p(),S});if(l.aborted)return;l.thrown||(l.error&&(this.state=l.failState),s.returnType=l.node)}return super.parseArrow(s)}parseAssignableListItemTypes(s,l){if(!(l&2))return s;this.eat(17)&&(s.optional=!0);const p=this.tsTryParseTypeAnnotation();return p&&(s.typeAnnotation=p),this.resetEndLocation(s),s}isAssignable(s,l){switch(s.type){case"TSTypeCastExpression":return this.isAssignable(s.expression,l);case"TSParameterProperty":return!0;default:return super.isAssignable(s,l)}}toAssignable(s,l=!1){switch(s.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(s,l);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":l?this.expressionScope.recordArrowParameterBindingError(ne.UnexpectedTypeCastInParameter,s):this.raise(ne.UnexpectedTypeCastInParameter,s),this.toAssignable(s.expression,l);break;case"AssignmentExpression":!l&&s.left.type==="TSTypeCastExpression"&&(s.left=this.typeCastToParameter(s.left));default:super.toAssignable(s,l)}}toAssignableParenthesizedExpression(s,l){switch(s.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(s.expression,l);break;default:super.toAssignable(s,l)}}checkToRestConversion(s,l){switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(s.expression,!1);break;default:super.checkToRestConversion(s,l)}}isValidLVal(s,l,p){switch(s){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(p!==64||!l)&&["expression",!0];default:return super.isValidLVal(s,l,p)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(s){if(this.match(47)||this.match(51)){const l=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const p=super.parseMaybeDecoratorArguments(s);return p.typeParameters=l,p}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(s)}checkCommaAfterRest(s){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===s?(this.next(),!1):super.checkCommaAfterRest(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(s,l){const p=super.parseMaybeDefault(s,l);return p.type==="AssignmentPattern"&&p.typeAnnotation&&p.right.start<p.typeAnnotation.start&&this.raise(ne.TypeAnnotationAfterAssign,p.typeAnnotation),p}getTokenFromCode(s){if(this.state.inType){if(s===62){this.finishOp(48,1);return}if(s===60){this.finishOp(47,1);return}}super.getTokenFromCode(s)}reScan_lt_gt(){const{type:s}=this.state;s===47?(this.state.pos-=1,this.readToken_lt()):s===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:s}=this.state;return s===51?(this.state.pos-=2,this.finishOp(47,1),47):s}toAssignableList(s,l,p){for(let S=0;S<s.length;S++){const P=s[S];(P==null?void 0:P.type)==="TSTypeCastExpression"&&(s[S]=this.typeCastToParameter(P))}super.toAssignableList(s,l,p)}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}shouldParseArrow(s){return this.match(14)?s.every(l=>this.isAssignable(l,!0)):super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(s){if(this.match(47)||this.match(51)){const l=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());l&&(s.typeParameters=l)}return super.jsxParseOpeningElementAfterName(s)}getGetterSetterExpectedParamCount(s){const l=super.getGetterSetterExpectedParamCount(s),S=this.getObjectOrClassMethodParams(s)[0];return S&&this.isThisParam(S)?l+1:l}parseCatchClauseParam(){const s=super.parseCatchClauseParam(),l=this.tsTryParseTypeAnnotation();return l&&(s.typeAnnotation=l,this.resetEndLocation(s)),s}tsInAmbientContext(s){const{isAmbientContext:l,strict:p}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return s()}finally{this.state.isAmbientContext=l,this.state.strict=p}}parseClass(s,l,p){const S=this.state.inAbstractClass;this.state.inAbstractClass=!!s.abstract;try{return super.parseClass(s,l,p)}finally{this.state.inAbstractClass=S}}tsParseAbstractDeclaration(s,l){if(this.match(80))return s.abstract=!0,this.maybeTakeDecorators(l,this.parseClass(s,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return s.abstract=!0,this.raise(ne.NonClassMethodPropertyHasAbstractModifer,s),this.tsParseInterfaceDeclaration(s)}else this.unexpected(null,80)}parseMethod(s,l,p,S,P,O,D){const U=super.parseMethod(s,l,p,S,P,O,D);if(U.abstract&&(this.hasPlugin("estree")?!!U.value.body:!!U.body)){const{key:W}=U;this.raise(ne.AbstractMethodHasImplementation,U,{methodName:W.type==="Identifier"&&!U.computed?W.name:`[${this.input.slice(W.start,W.end)}]`})}return U}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(s,l,p,S){return!l&&S?(this.parseTypeOnlyImportExportSpecifier(s,!1,p),this.finishNode(s,"ExportSpecifier")):(s.exportKind="value",super.parseExportSpecifier(s,l,p,S))}parseImportSpecifier(s,l,p,S,P){return!l&&S?(this.parseTypeOnlyImportExportSpecifier(s,!0,p),this.finishNode(s,"ImportSpecifier")):(s.importKind="value",super.parseImportSpecifier(s,l,p,S,p?4098:4096))}parseTypeOnlyImportExportSpecifier(s,l,p){const S=l?"imported":"local",P=l?"local":"exported";let O=s[S],D,U=!1,F=!0;const W=O.loc.start;if(this.isContextual(93)){const J=this.parseIdentifier();if(this.isContextual(93)){const ae=this.parseIdentifier();oe(this.state.type)?(U=!0,O=J,D=l?this.parseIdentifier():this.parseModuleExportName(),F=!1):(D=ae,F=!1)}else oe(this.state.type)?(F=!1,D=l?this.parseIdentifier():this.parseModuleExportName()):(U=!0,O=J)}else oe(this.state.type)&&(U=!0,l?(O=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(O.name,O.loc.start,!0,!0)):O=this.parseModuleExportName());U&&p&&this.raise(l?ne.TypeModifierIsUsedInTypeImports:ne.TypeModifierIsUsedInTypeExports,W),s[S]=O,s[P]=D;const K=l?"importKind":"exportKind";s[K]=U?"type":"value",F&&this.eatContextual(93)&&(s[P]=l?this.parseIdentifier():this.parseModuleExportName()),s[P]||(s[P]=nr(s[S])),l&&this.checkIdentifier(s[P],U?4098:4096)}};function $T(_){if(_.type!=="MemberExpression")return!1;const{computed:u,property:s}=_;return u&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)?!1:Y1(_.object)}function qT(_,u){var s;const{type:l}=_;if((s=_.extra)!=null&&s.parenthesized)return!1;if(u){if(l==="Literal"){const{value:p}=_;if(typeof p=="string"||typeof p=="boolean")return!0}}else if(l==="StringLiteral"||l==="BooleanLiteral")return!0;return!!(J1(_,u)||jT(_,u)||l==="TemplateLiteral"&&_.expressions.length===0||$T(_))}function J1(_,u){return u?_.type==="Literal"&&(typeof _.value=="number"||"bigint"in _):_.type==="NumericLiteral"||_.type==="BigIntLiteral"}function jT(_,u){if(_.type==="UnaryExpression"){const{operator:s,argument:l}=_;if(s==="-"&&J1(l,u))return!0}return!1}function Y1(_){return _.type==="Identifier"?!0:_.type!=="MemberExpression"||_.computed?!1:Y1(_.object)}const Q1=v`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var VT=_=>class extends _{parsePlaceholder(s){if(this.match(144)){const l=this.startNode();return this.next(),this.assertNoSpace(),l.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(l,s)}}finishPlaceholder(s,l){let p=s;return(!p.expectedNode||!p.type)&&(p=this.finishNode(p,"Placeholder")),p.expectedNode=l,p}getTokenFromCode(s){s===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(s)}parseExprAtom(s){return this.parsePlaceholder("Expression")||super.parseExprAtom(s)}parseIdentifier(s){return this.parsePlaceholder("Identifier")||super.parseIdentifier(s)}checkReservedWord(s,l,p,S){s!==void 0&&super.checkReservedWord(s,l,p,S)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(s,l,p){return s==="Placeholder"||super.isValidLVal(s,l,p)}toAssignable(s,l){s&&s.type==="Placeholder"&&s.expectedNode==="Expression"?s.expectedNode="Pattern":super.toAssignable(s,l)}chStartsBindingIdentifier(s,l){return!!(super.chStartsBindingIdentifier(s,l)||this.lookahead().type===144)}verifyBreakContinue(s,l){s.label&&s.label.type==="Placeholder"||super.verifyBreakContinue(s,l)}parseExpressionStatement(s,l){var p;if(l.type!=="Placeholder"||(p=l.extra)!=null&&p.parenthesized)return super.parseExpressionStatement(s,l);if(this.match(14)){const P=s;return P.label=this.finishPlaceholder(l,"Identifier"),this.next(),P.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(P,"LabeledStatement")}this.semicolon();const S=s;return S.name=l.name,this.finishPlaceholder(S,"Statement")}parseBlock(s,l,p){return this.parsePlaceholder("BlockStatement")||super.parseBlock(s,l,p)}parseFunctionId(s){return this.parsePlaceholder("Identifier")||super.parseFunctionId(s)}parseClass(s,l,p){const S=l?"ClassDeclaration":"ClassExpression";this.next();const P=this.state.strict,O=this.parsePlaceholder("Identifier");if(O)if(this.match(81)||this.match(144)||this.match(5))s.id=O;else{if(p||!l)return s.id=null,s.body=this.finishPlaceholder(O,"ClassBody"),this.finishNode(s,S);throw this.raise(Q1.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(s,l,p);return super.parseClassSuper(s),s.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!s.superClass,P),this.finishNode(s,S)}parseExport(s,l){const p=this.parsePlaceholder("Identifier");if(!p)return super.parseExport(s,l);const S=s;if(!this.isContextual(98)&&!this.match(12))return S.specifiers=[],S.source=null,S.declaration=this.finishPlaceholder(p,"Declaration"),this.finishNode(S,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const P=this.startNode();return P.exported=p,S.specifiers=[this.finishNode(P,"ExportDefaultSpecifier")],super.parseExport(S,l)}isExportDefaultSpecifier(){if(this.match(65)){const s=this.nextTokenStart();if(this.isUnparsedContextual(s,"from")&&this.input.startsWith(Je(144),this.nextTokenStartSince(s+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(s,l){var p;return(p=s.specifiers)!=null&&p.length?!0:super.maybeParseExportDefaultSpecifier(s,l)}checkExport(s){const{specifiers:l}=s;l!=null&&l.length&&(s.specifiers=l.filter(p=>p.exported.type==="Placeholder")),super.checkExport(s),s.specifiers=l}parseImport(s){const l=this.parsePlaceholder("Identifier");if(!l)return super.parseImport(s);if(s.specifiers=[],!this.isContextual(98)&&!this.match(12))return s.source=this.finishPlaceholder(l,"StringLiteral"),this.semicolon(),this.finishNode(s,"ImportDeclaration");const p=this.startNodeAtNode(l);return p.local=l,s.specifiers.push(this.finishNode(p,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(s)||this.parseNamedImportSpecifiers(s)),this.expectContextual(98),s.source=this.parseImportSource(),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Q1.UnexpectedSpace,this.state.lastTokEndLoc)}},GT=_=>class extends _{parseV8Intrinsic(){if(this.match(54)){const s=this.state.startLoc,l=this.startNode();if(this.next(),j(this.state.type)){const p=this.parseIdentifierName(),S=this.createIdentifier(l,p);if(S.type="V8IntrinsicIdentifier",this.match(10))return S}this.unexpected(s)}}parseExprAtom(s){return this.parseV8Intrinsic()||super.parseExprAtom(s)}};const Z1=["minimal","fsharp","hack","smart"],eg=["^^","@@","^","%","#"];function zT(_){if(_.has("decorators")){if(_.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const s=_.get("decorators").decoratorsBeforeExport;if(s!=null&&typeof s!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const l=_.get("decorators").allowCallParenthesized;if(l!=null&&typeof l!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(_.has("flow")&&_.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_.has("placeholders")&&_.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_.has("pipelineOperator")){var u;const s=_.get("pipelineOperator").proposal;if(!Z1.includes(s)){const p=Z1.map(S=>`"${S}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${p}.`)}const l=((u=_.get("recordAndTuple"))==null?void 0:u.syntaxType)==="hash";if(s==="hack"){if(_.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const p=_.get("pipelineOperator").topicToken;if(!eg.includes(p)){const S=eg.map(P=>`"${P}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${S}.`)}if(p==="#"&&l)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",_.get("recordAndTuple")])}\`.`)}else if(s==="smart"&&l)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",_.get("recordAndTuple")])}\`.`)}if(_.has("moduleAttributes")){if(_.has("importAttributes")||_.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(_.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(_.has("importAttributes")&&_.has("importAssertions"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(_.has("recordAndTuple")){const s=_.get("recordAndTuple").syntaxType;if(s!=null){const l=["hash","bar"];if(!l.includes(s))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+l.map(p=>`'${p}'`).join(", "))}}if(_.has("asyncDoExpressions")&&!_.has("doExpressions")){const s=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw s.missingPlugins="doExpressions",s}if(_.has("optionalChainingAssign")&&_.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const tg={estree:N,jsx:kT,flow:NT,typescript:UT,v8intrinsic:GT,placeholders:VT},WT=Object.keys(tg),Ac={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function HT(_){if(_==null)return Object.assign({},Ac);if(_.annexB!=null&&_.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const u={};for(const l of Object.keys(Ac)){var s;u[l]=(s=_[l])!=null?s:Ac[l]}return u}class XT extends RT{checkProto(u,s,l,p){if(u.type==="SpreadElement"||this.isObjectMethod(u)||u.computed||u.shorthand)return;const S=u.key;if((S.type==="Identifier"?S.name:S.value)==="__proto__"){if(s){this.raise(y.RecordNoProto,S);return}l.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=S.loc.start):this.raise(y.DuplicateProto,S)),l.used=!0}}shouldExitDescending(u,s){return u.type==="ArrowFunctionExpression"&&u.start===s}getExpression(){this.enterInitialScopes(),this.nextToken();const u=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),u.comments=this.comments,u.errors=this.state.errors,this.options.tokens&&(u.tokens=this.tokens),u}parseExpression(u,s){return u?this.disallowInAnd(()=>this.parseExpressionBase(s)):this.allowInAnd(()=>this.parseExpressionBase(s))}parseExpressionBase(u){const s=this.state.startLoc,l=this.parseMaybeAssign(u);if(this.match(12)){const p=this.startNodeAt(s);for(p.expressions=[l];this.eat(12);)p.expressions.push(this.parseMaybeAssign(u));return this.toReferencedList(p.expressions),this.finishNode(p,"SequenceExpression")}return l}parseMaybeAssignDisallowIn(u,s){return this.disallowInAnd(()=>this.parseMaybeAssign(u,s))}parseMaybeAssignAllowIn(u,s){return this.allowInAnd(()=>this.parseMaybeAssign(u,s))}setOptionalParametersError(u,s){var l;u.optionalParametersLoc=(l=s==null?void 0:s.loc)!=null?l:this.state.startLoc}parseMaybeAssign(u,s){const l=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let O=this.parseYield();return s&&(O=s.call(this,O,l)),O}let p;u?p=!1:(u=new Ma,p=!0);const{type:S}=this.state;(S===10||j(S))&&(this.state.potentialArrowAt=this.state.start);let P=this.parseMaybeConditional(u);if(s&&(P=s.call(this,P,l)),Ae(this.state.type)){const O=this.startNodeAt(l),D=this.state.value;if(O.operator=D,this.match(29)){this.toAssignable(P,!0),O.left=P;const U=l.index;u.doubleProtoLoc!=null&&u.doubleProtoLoc.index>=U&&(u.doubleProtoLoc=null),u.shorthandAssignLoc!=null&&u.shorthandAssignLoc.index>=U&&(u.shorthandAssignLoc=null),u.privateKeyLoc!=null&&u.privateKeyLoc.index>=U&&(this.checkDestructuringPrivate(u),u.privateKeyLoc=null)}else O.left=P;return this.next(),O.right=this.parseMaybeAssign(),this.checkLVal(P,this.finishNode(O,"AssignmentExpression")),O}else p&&this.checkExpressionErrors(u,!0);return P}parseMaybeConditional(u){const s=this.state.startLoc,l=this.state.potentialArrowAt,p=this.parseExprOps(u);return this.shouldExitDescending(p,l)?p:this.parseConditional(p,s,u)}parseConditional(u,s,l){if(this.eat(17)){const p=this.startNodeAt(s);return p.test=u,p.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),p.alternate=this.parseMaybeAssign(),this.finishNode(p,"ConditionalExpression")}return u}parseMaybeUnaryOrPrivate(u){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(u)}parseExprOps(u){const s=this.state.startLoc,l=this.state.potentialArrowAt,p=this.parseMaybeUnaryOrPrivate(u);return this.shouldExitDescending(p,l)?p:this.parseExprOp(p,s,-1)}parseExprOp(u,s,l){if(this.isPrivateName(u)){const S=this.getPrivateNameSV(u);(l>=sr(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(y.PrivateInExpectedIn,u,{identifierName:S}),this.classScope.usePrivateName(S,u.loc.start)}const p=this.state.type;if(Pt(p)&&(this.prodParam.hasIn||!this.match(58))){let S=sr(p);if(S>l){if(p===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return u;this.checkPipelineAtInfixOperator(u,s)}const P=this.startNodeAt(s);P.left=u,P.operator=this.state.value;const O=p===41||p===42,D=p===40;if(D&&(S=sr(42)),this.next(),p===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(y.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);P.right=this.parseExprOpRightExpr(p,S);const U=this.finishNode(P,O||D?"LogicalExpression":"BinaryExpression"),F=this.state.type;if(D&&(F===41||F===42)||O&&F===40)throw this.raise(y.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(U,s,l)}}return u}parseExprOpRightExpr(u,s){const l=this.state.startLoc;switch(u){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(y.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(u,s),l)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(s))}default:return this.parseExprOpBaseRightExpr(u,s)}}parseExprOpBaseRightExpr(u,s){const l=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),l,gs(u)?s-1:s)}parseHackPipeBody(){var u;const{startLoc:s}=this.state,l=this.parseMaybeAssign();return f.has(l.type)&&!((u=l.extra)!=null&&u.parenthesized)&&this.raise(y.PipeUnparenthesizedBody,s,{type:l.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(y.PipeTopicUnused,s),l}checkExponentialAfterUnary(u){this.match(57)&&this.raise(y.UnexpectedTokenUnaryExponentiation,u.argument)}parseMaybeUnary(u,s){const l=this.state.startLoc,p=this.isContextual(96);if(p&&this.recordAwaitIfAllowed()){this.next();const D=this.parseAwait(l);return s||this.checkExponentialAfterUnary(D),D}const S=this.match(34),P=this.startNode();if(We(this.state.type)){P.operator=this.state.value,P.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const D=this.match(89);if(this.next(),P.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(u,!0),this.state.strict&&D){const U=P.argument;U.type==="Identifier"?this.raise(y.StrictDelete,P):this.hasPropertyAsPrivateName(U)&&this.raise(y.DeletePrivateField,P)}if(!S)return s||this.checkExponentialAfterUnary(P),this.finishNode(P,"UnaryExpression")}const O=this.parseUpdate(P,S,u);if(p){const{type:D}=this.state;if((this.hasPlugin("v8intrinsic")?de(D):de(D)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(y.AwaitNotInAsyncContext,l),this.parseAwait(l)}return O}parseUpdate(u,s,l){if(s){const P=u;return this.checkLVal(P.argument,this.finishNode(P,"UpdateExpression")),u}const p=this.state.startLoc;let S=this.parseExprSubscripts(l);if(this.checkExpressionErrors(l,!1))return S;for(;at(this.state.type)&&!this.canInsertSemicolon();){const P=this.startNodeAt(p);P.operator=this.state.value,P.prefix=!1,P.argument=S,this.next(),this.checkLVal(S,S=this.finishNode(P,"UpdateExpression"))}return S}parseExprSubscripts(u){const s=this.state.startLoc,l=this.state.potentialArrowAt,p=this.parseExprAtom(u);return this.shouldExitDescending(p,l)?p:this.parseSubscripts(p,s)}parseSubscripts(u,s,l){const p={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(u),stop:!1};do u=this.parseSubscript(u,s,l,p),p.maybeAsyncArrow=!1;while(!p.stop);return u}parseSubscript(u,s,l,p){const{type:S}=this.state;if(!l&&S===15)return this.parseBind(u,s,l,p);if(zt(S))return this.parseTaggedTemplateExpression(u,s,p);let P=!1;if(S===18){if(l&&(this.raise(y.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return p.stop=!0,u;p.optionalChainMember=P=!0,this.next()}if(!l&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(u,s,p,P);{const O=this.eat(0);return O||P||this.eat(16)?this.parseMember(u,s,p,O,P):(p.stop=!0,u)}}parseMember(u,s,l,p,S){const P=this.startNodeAt(s);return P.object=u,P.computed=p,p?(P.property=this.parseExpression(),this.expect(3)):this.match(138)?(u.type==="Super"&&this.raise(y.SuperPrivateField,s),this.classScope.usePrivateName(this.state.value,this.state.startLoc),P.property=this.parsePrivateName()):P.property=this.parseIdentifier(!0),l.optionalChainMember?(P.optional=S,this.finishNode(P,"OptionalMemberExpression")):this.finishNode(P,"MemberExpression")}parseBind(u,s,l,p){const S=this.startNodeAt(s);return S.object=u,this.next(),S.callee=this.parseNoCallExpr(),p.stop=!0,this.parseSubscripts(this.finishNode(S,"BindExpression"),s,l)}parseCoverCallAndAsyncArrowHead(u,s,l,p){const S=this.state.maybeInArrowParameters;let P=null;this.state.maybeInArrowParameters=!0,this.next();const O=this.startNodeAt(s);O.callee=u;const{maybeAsyncArrow:D,optionalChainMember:U}=l;D&&(this.expressionScope.enter(vT()),P=new Ma),U&&(O.optional=p),p?O.arguments=this.parseCallExpressionArguments(11):O.arguments=this.parseCallExpressionArguments(11,u.type==="Import",u.type!=="Super",O,P);let F=this.finishCallExpression(O,U);return D&&this.shouldParseAsyncArrow()&&!p?(l.stop=!0,this.checkDestructuringPrivate(P),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),F=this.parseAsyncArrowFromCallExpression(this.startNodeAt(s),F)):(D&&(this.checkExpressionErrors(P,!0),this.expressionScope.exit()),this.toReferencedArguments(F)),this.state.maybeInArrowParameters=S,F}toReferencedArguments(u,s){this.toReferencedListDeep(u.arguments,s)}parseTaggedTemplateExpression(u,s,l){const p=this.startNodeAt(s);return p.tag=u,p.quasi=this.parseTemplate(!0),l.optionalChainMember&&this.raise(y.OptionalChainingNoTemplate,s),this.finishNode(p,"TaggedTemplateExpression")}atPossibleAsyncArrow(u){return u.type==="Identifier"&&u.name==="async"&&this.state.lastTokEndLoc.index===u.end&&!this.canInsertSemicolon()&&u.end-u.start===5&&u.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(u,s){if(u.callee.type==="Import")if(u.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),u.arguments.length===0||u.arguments.length>2)this.raise(y.ImportCallArity,u,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const l of u.arguments)l.type==="SpreadElement"&&this.raise(y.ImportCallSpreadArgument,l);return this.finishNode(u,s?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(u,s,l,p,S){const P=[];let O=!0;const D=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(u);){if(O)O=!1;else if(this.expect(12),this.match(u)){s&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(y.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),p&&this.addTrailingCommaExtraToNode(p),this.next();break}P.push(this.parseExprListItem(!1,S,l))}return this.state.inFSharpPipelineDirectBody=D,P}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(u,s){var l;return this.resetPreviousNodeTrailingComments(s),this.expect(19),this.parseArrowExpression(u,s.arguments,!0,(l=s.extra)==null?void 0:l.trailingCommaLoc),s.innerComments&&fi(u,s.innerComments),s.callee.trailingComments&&fi(u,s.callee.trailingComments),u}parseNoCallExpr(){const u=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),u,!0)}parseExprAtom(u){let s,l=null;const{type:p}=this.state;switch(p){case 79:return this.parseSuper();case 83:return s=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(s):this.match(10)?this.options.createImportExpressions?this.parseImportCall(s):this.finishNode(s,"Import"):(this.raise(y.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(s,"Import"));case 78:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133: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:{const S=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(S)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,u);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,u);case 68:return this.parseFunctionOrFunctionSent();case 26:l=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(l,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{s=this.startNode(),this.next(),s.object=null;const S=s.callee=this.parseNoCallExpr();if(S.type==="MemberExpression")return this.finishNode(s,"BindExpression");throw this.raise(y.UnsupportedBind,S)}case 138:return this.raise(y.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:{const S=this.getPluginOption("pipelineOperator","proposal");if(S)return this.parseTopicReference(S);this.unexpected();break}case 47:{const S=this.input.codePointAt(this.nextTokenStart());ir(S)||S===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(j(p)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const S=this.state.potentialArrowAt===this.state.start,P=this.state.containsEsc,O=this.parseIdentifier();if(!P&&O.name==="async"&&!this.canInsertSemicolon()){const{type:D}=this.state;if(D===68)return this.resetPreviousNodeTrailingComments(O),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(O));if(j(D))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(O)):O;if(D===90)return this.resetPreviousNodeTrailingComments(O),this.parseDo(this.startNodeAtNode(O),!0)}return S&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(O),[O],!1)):O}else this.unexpected()}}parseTopicReferenceThenEqualsSign(u,s){const l=this.getPluginOption("pipelineOperator","proposal");if(l)return this.state.type=u,this.state.value=s,this.state.pos--,this.state.end--,this.state.endLoc=i(this.state.endLoc,-1),this.parseTopicReference(l);this.unexpected()}parseTopicReference(u){const s=this.startNode(),l=this.state.startLoc,p=this.state.type;return this.next(),this.finishTopicReference(s,l,u,p)}finishTopicReference(u,s,l,p){if(this.testTopicReferenceConfiguration(l,s,p)){const S=l==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(l==="smart"?y.PrimaryTopicNotAllowed:y.PipeTopicUnbound,s),this.registerTopicReference(),this.finishNode(u,S)}else throw this.raise(y.PipeTopicUnconfiguredToken,s,{token:Je(p)})}testTopicReferenceConfiguration(u,s,l){switch(u){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Je(l)}]);case"smart":return l===27;default:throw this.raise(y.PipeTopicRequiresHackPipes,s)}}parseAsyncArrowUnaryFunction(u){this.prodParam.enter(La(!0,this.prodParam.hasYield));const s=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(y.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(u,s,!0)}parseDo(u,s){this.expectPlugin("doExpressions"),s&&this.expectPlugin("asyncDoExpressions"),u.async=s,this.next();const l=this.state.labels;return this.state.labels=[],s?(this.prodParam.enter(2),u.body=this.parseBlock(),this.prodParam.exit()):u.body=this.parseBlock(),this.state.labels=l,this.finishNode(u,"DoExpression")}parseSuper(){const u=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(y.SuperNotAllowed,u):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(y.UnexpectedSuper,u),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(y.UnsupportedSuper,u),this.finishNode(u,"Super")}parsePrivateName(){const u=this.startNode(),s=this.startNodeAt(i(this.state.startLoc,1)),l=this.state.value;return this.next(),u.id=this.createIdentifier(s,l),this.finishNode(u,"PrivateName")}parseFunctionOrFunctionSent(){const u=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(u),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(u,s,"sent")}return this.parseFunction(u)}parseMetaProperty(u,s,l){u.meta=s;const p=this.state.containsEsc;return u.property=this.parseIdentifier(!0),(u.property.name!==l||p)&&this.raise(y.UnsupportedMetaProperty,u.property,{target:s.name,onlyValidPropertyName:l}),this.finishNode(u,"MetaProperty")}parseImportMetaProperty(u){const s=this.createIdentifier(this.startNodeAtNode(u),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(y.ImportMetaOutsideModule,s),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const l=this.isContextual(105);if(l||this.unexpected(),this.expectPlugin(l?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(y.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),u.phase=l?"source":"defer",this.parseImportCall(u)}return this.parseMetaProperty(u,s,"meta")}parseLiteralAtNode(u,s,l){return this.addExtra(l,"rawValue",u),this.addExtra(l,"raw",this.input.slice(l.start,this.state.end)),l.value=u,this.next(),this.finishNode(l,s)}parseLiteral(u,s){const l=this.startNode();return this.parseLiteralAtNode(u,s,l)}parseStringLiteral(u){return this.parseLiteral(u,"StringLiteral")}parseNumericLiteral(u){return this.parseLiteral(u,"NumericLiteral")}parseBigIntLiteral(u){return this.parseLiteral(u,"BigIntLiteral")}parseDecimalLiteral(u){return this.parseLiteral(u,"DecimalLiteral")}parseRegExpLiteral(u){const s=this.startNode();return this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.pattern=u.pattern,s.flags=u.flags,this.next(),this.finishNode(s,"RegExpLiteral")}parseBooleanLiteral(u){const s=this.startNode();return s.value=u,this.next(),this.finishNode(s,"BooleanLiteral")}parseNullLiteral(){const u=this.startNode();return this.next(),this.finishNode(u,"NullLiteral")}parseParenAndDistinguishExpression(u){const s=this.state.startLoc;let l;this.next(),this.expressionScope.enter(bT());const p=this.state.maybeInArrowParameters,S=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const P=this.state.startLoc,O=[],D=new Ma;let U=!0,F,W;for(;!this.match(11);){if(U)U=!1;else if(this.expect(12,D.optionalParametersLoc===null?null:D.optionalParametersLoc),this.match(11)){W=this.state.startLoc;break}if(this.match(21)){const ae=this.state.startLoc;if(F=this.state.startLoc,O.push(this.parseParenItem(this.parseRestBinding(),ae)),!this.checkCommaAfterRest(41))break}else O.push(this.parseMaybeAssignAllowIn(D,this.parseParenItem))}const K=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=p,this.state.inFSharpPipelineDirectBody=S;let J=this.startNodeAt(s);return u&&this.shouldParseArrow(O)&&(J=this.parseArrow(J))?(this.checkDestructuringPrivate(D),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(J,O,!1),J):(this.expressionScope.exit(),O.length||this.unexpected(this.state.lastTokStartLoc),W&&this.unexpected(W),F&&this.unexpected(F),this.checkExpressionErrors(D,!0),this.toReferencedListDeep(O,!0),O.length>1?(l=this.startNodeAt(P),l.expressions=O,this.finishNode(l,"SequenceExpression"),this.resetEndLocation(l,K)):l=O[0],this.wrapParenthesis(s,l))}wrapParenthesis(u,s){if(!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",u.index),this.takeSurroundingComments(s,u.index,this.state.lastTokEndLoc.index),s;const l=this.startNodeAt(u);return l.expression=s,this.finishNode(l,"ParenthesizedExpression")}shouldParseArrow(u){return!this.canInsertSemicolon()}parseArrow(u){if(this.eat(19))return u}parseParenItem(u,s){return u}parseNewOrNewTarget(){const u=this.startNode();if(this.next(),this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(u),"new");this.next();const l=this.parseMetaProperty(u,s,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(y.UnexpectedNewTarget,l),l}return this.parseNew(u)}parseNew(u){if(this.parseNewCallee(u),this.eat(10)){const s=this.parseExprList(11);this.toReferencedList(s),u.arguments=s}else u.arguments=[];return this.finishNode(u,"NewExpression")}parseNewCallee(u){const s=this.match(83),l=this.parseNoCallExpr();u.callee=l,s&&(l.type==="Import"||l.type==="ImportExpression")&&this.raise(y.ImportCallNotNewExpression,l)}parseTemplateElement(u){const{start:s,startLoc:l,end:p,value:S}=this.state,P=s+1,O=this.startNodeAt(i(l,1));S===null&&(u||this.raise(y.InvalidEscapeSequenceTemplate,i(this.state.firstInvalidTemplateEscapePos,1)));const D=this.match(24),U=D?-1:-2,F=p+U;O.value={raw:this.input.slice(P,F).replace(/\r\n?/g,`
|
|
25
|
-
`),cooked:S===null?null:S.slice(1,U)},O.tail=D,this.next();const W=this.finishNode(O,"TemplateElement");return this.resetEndLocation(W,i(this.state.lastTokEndLoc,U)),W}parseTemplate(u){const s=this.startNode();let l=this.parseTemplateElement(u);const p=[l],S=[];for(;!l.tail;)S.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),p.push(l=this.parseTemplateElement(u));return s.expressions=S,s.quasis=p,this.finishNode(s,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(u,s,l,p){l&&this.expectPlugin("recordAndTuple");const S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const P=Object.create(null);let O=!0;const D=this.startNode();for(D.properties=[],this.next();!this.match(u);){if(O)O=!1;else if(this.expect(12),this.match(u)){this.addTrailingCommaExtraToNode(D);break}let F;s?F=this.parseBindingProperty():(F=this.parsePropertyDefinition(p),this.checkProto(F,l,P,p)),l&&!this.isObjectProperty(F)&&F.type!=="SpreadElement"&&this.raise(y.InvalidRecordProperty,F),F.shorthand&&this.addExtra(F,"shorthand",!0),D.properties.push(F)}this.next(),this.state.inFSharpPipelineDirectBody=S;let U="ObjectExpression";return s?U="ObjectPattern":l&&(U="RecordExpression"),this.finishNode(D,U)}addTrailingCommaExtraToNode(u){this.addExtra(u,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(u,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(u){return!u.computed&&u.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(u){let s=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(y.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)s.push(this.parseDecorator());const l=this.startNode();let p=!1,S=!1,P;if(this.match(21))return s.length&&this.unexpected(),this.parseSpread();s.length&&(l.decorators=s,s=[]),l.method=!1,u&&(P=this.state.startLoc);let O=this.eat(55);this.parsePropertyNamePrefixOperator(l);const D=this.state.containsEsc;if(this.parsePropertyName(l,u),!O&&!D&&this.maybeAsyncOrAccessorProp(l)){const{key:U}=l,F=U.name;F==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments(U),O=this.eat(55),this.parsePropertyName(l)),(F==="get"||F==="set")&&(S=!0,this.resetPreviousNodeTrailingComments(U),l.kind=F,this.match(55)&&(O=!0,this.raise(y.AccessorIsGenerator,this.state.curPosition(),{kind:F}),this.next()),this.parsePropertyName(l))}return this.parseObjPropValue(l,P,O,p,!1,S,u)}getGetterSetterExpectedParamCount(u){return u.kind==="get"?0:1}getObjectOrClassMethodParams(u){return u.params}checkGetterSetterParams(u){var s;const l=this.getGetterSetterExpectedParamCount(u),p=this.getObjectOrClassMethodParams(u);p.length!==l&&this.raise(u.kind==="get"?y.BadGetterArity:y.BadSetterArity,u),u.kind==="set"&&((s=p[p.length-1])==null?void 0:s.type)==="RestElement"&&this.raise(y.BadSetterRestParameter,u)}parseObjectMethod(u,s,l,p,S){if(S){const P=this.parseMethod(u,s,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(P),P}if(l||s||this.match(10))return p&&this.unexpected(),u.kind="method",u.method=!0,this.parseMethod(u,s,l,!1,!1,"ObjectMethod")}parseObjectProperty(u,s,l,p){if(u.shorthand=!1,this.eat(14))return u.value=l?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(p),this.finishNode(u,"ObjectProperty");if(!u.computed&&u.key.type==="Identifier"){if(this.checkReservedWord(u.key.name,u.key.loc.start,!0,!1),l)u.value=this.parseMaybeDefault(s,nr(u.key));else if(this.match(29)){const S=this.state.startLoc;p!=null?p.shorthandAssignLoc===null&&(p.shorthandAssignLoc=S):this.raise(y.InvalidCoverInitializedName,S),u.value=this.parseMaybeDefault(s,nr(u.key))}else u.value=nr(u.key);return u.shorthand=!0,this.finishNode(u,"ObjectProperty")}}parseObjPropValue(u,s,l,p,S,P,O){const D=this.parseObjectMethod(u,l,p,S,P)||this.parseObjectProperty(u,s,S,O);return D||this.unexpected(),D}parsePropertyName(u,s){if(this.eat(0))u.computed=!0,u.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:l,value:p}=this.state;let S;if(oe(l))S=this.parseIdentifier(!0);else switch(l){case 134:S=this.parseNumericLiteral(p);break;case 133:S=this.parseStringLiteral(p);break;case 135:S=this.parseBigIntLiteral(p);break;case 136:S=this.parseDecimalLiteral(p);break;case 138:{const P=this.state.startLoc;s!=null?s.privateKeyLoc===null&&(s.privateKeyLoc=P):this.raise(y.UnexpectedPrivateField,P),S=this.parsePrivateName();break}default:this.unexpected()}u.key=S,l!==138&&(u.computed=!1)}}initFunction(u,s){u.id=null,u.generator=!1,u.async=s}parseMethod(u,s,l,p,S,P,O=!1){this.initFunction(u,l),u.generator=s,this.scope.enter(18|(O?64:0)|(S?32:0)),this.prodParam.enter(La(l,u.generator)),this.parseFunctionParams(u,p);const D=this.parseFunctionBodyAndFinish(u,P,!0);return this.prodParam.exit(),this.scope.exit(),D}parseArrayLike(u,s,l,p){l&&this.expectPlugin("recordAndTuple");const S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const P=this.startNode();return this.next(),P.elements=this.parseExprList(u,!l,p,P),this.state.inFSharpPipelineDirectBody=S,this.finishNode(P,l?"TupleExpression":"ArrayExpression")}parseArrowExpression(u,s,l,p){this.scope.enter(6);let S=La(l,!1);!this.match(5)&&this.prodParam.hasIn&&(S|=8),this.prodParam.enter(S),this.initFunction(u,l);const P=this.state.maybeInArrowParameters;return s&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(u,s,p)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(u,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=P,this.finishNode(u,"ArrowFunctionExpression")}setArrowFunctionParameters(u,s,l){this.toAssignableList(s,l,!1),u.params=s}parseFunctionBodyAndFinish(u,s,l=!1){return this.parseFunctionBody(u,!1,l),this.finishNode(u,s)}parseFunctionBody(u,s,l=!1){const p=s&&!this.match(5);if(this.expressionScope.enter(z1()),p)u.body=this.parseMaybeAssign(),this.checkParams(u,!1,s,!1);else{const S=this.state.strict,P=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),u.body=this.parseBlock(!0,!1,O=>{const D=!this.isSimpleParamList(u.params);O&&D&&this.raise(y.IllegalLanguageModeDirective,(u.kind==="method"||u.kind==="constructor")&&u.key?u.key.loc.end:u);const U=!S&&this.state.strict;this.checkParams(u,!this.state.strict&&!s&&!l&&!D,s,U),this.state.strict&&u.id&&this.checkIdentifier(u.id,65,U)}),this.prodParam.exit(),this.state.labels=P}this.expressionScope.exit()}isSimpleParameter(u){return u.type==="Identifier"}isSimpleParamList(u){for(let s=0,l=u.length;s<l;s++)if(!this.isSimpleParameter(u[s]))return!1;return!0}checkParams(u,s,l,p=!0){const S=!s&&new Set,P={type:"FormalParameters"};for(const O of u.params)this.checkLVal(O,P,5,S,p)}parseExprList(u,s,l,p){const S=[];let P=!0;for(;!this.eat(u);){if(P)P=!1;else if(this.expect(12),this.match(u)){p&&this.addTrailingCommaExtraToNode(p),this.next();break}S.push(this.parseExprListItem(s,l))}return S}parseExprListItem(u,s,l){let p;if(this.match(12))u||this.raise(y.UnexpectedToken,this.state.curPosition(),{unexpected:","}),p=null;else if(this.match(21)){const S=this.state.startLoc;p=this.parseParenItem(this.parseSpread(s),S)}else if(this.match(17)){this.expectPlugin("partialApplication"),l||this.raise(y.UnexpectedArgumentPlaceholder,this.state.startLoc);const S=this.startNode();this.next(),p=this.finishNode(S,"ArgumentPlaceholder")}else p=this.parseMaybeAssignAllowIn(s,this.parseParenItem);return p}parseIdentifier(u){const s=this.startNode(),l=this.parseIdentifierName(u);return this.createIdentifier(s,l)}createIdentifier(u,s){return u.name=s,u.loc.identifierName=s,this.finishNode(u,"Identifier")}parseIdentifierName(u){let s;const{startLoc:l,type:p}=this.state;oe(p)?s=this.state.value:this.unexpected();const S=se(p);return u?S&&this.replaceToken(132):this.checkReservedWord(s,l,S,!1),this.next(),s}checkReservedWord(u,s,l,p){if(u.length>10||!tT(u))return;if(l&&Qw(u)){this.raise(y.UnexpectedKeyword,s,{keyword:u});return}if((this.state.strict?p?F1:R1:M1)(u,this.inModule)){this.raise(y.UnexpectedReservedWord,s,{reservedWord:u});return}else if(u==="yield"){if(this.prodParam.hasYield){this.raise(y.YieldBindingIdentifier,s);return}}else if(u==="await"){if(this.prodParam.hasAwait){this.raise(y.AwaitBindingIdentifier,s);return}if(this.scope.inStaticBlock){this.raise(y.AwaitBindingIdentifierInStaticBlock,s);return}this.expressionScope.recordAsyncArrowParametersError(s)}else if(u==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(y.ArgumentsInClass,s);return}}recordAwaitIfAllowed(){const u=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return u&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),u}parseAwait(u){const s=this.startNodeAt(u);return this.expressionScope.recordParameterInitializerError(y.AwaitExpressionFormalParameter,s),this.eat(55)&&this.raise(y.ObsoleteAwaitStar,s),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(s.argument=this.parseMaybeUnary(null,!0)),this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:u}=this.state;return u===53||u===10||u===0||zt(u)||u===102&&!this.state.containsEsc||u===137||u===56||this.hasPlugin("v8intrinsic")&&u===54}parseYield(){const u=this.startNode();this.expressionScope.recordParameterInitializerError(y.YieldInParameter,u),this.next();let s=!1,l=null;if(!this.hasPrecedingLineBreak())switch(s=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!s)break;default:l=this.parseMaybeAssign()}return u.delegate=s,u.argument=l,this.finishNode(u,"YieldExpression")}parseImportCall(u){return this.next(),u.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(u.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(u.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(u,"ImportExpression")}checkPipelineAtInfixOperator(u,s){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&u.type==="SequenceExpression"&&this.raise(y.PipelineHeadSequenceExpression,s)}parseSmartPipelineBodyInStyle(u,s){if(this.isSimpleReference(u)){const l=this.startNodeAt(s);return l.callee=u,this.finishNode(l,"PipelineBareFunction")}else{const l=this.startNodeAt(s);return this.checkSmartPipeTopicBodyEarlyErrors(s),l.expression=u,this.finishNode(l,"PipelineTopicExpression")}}isSimpleReference(u){switch(u.type){case"MemberExpression":return!u.computed&&this.isSimpleReference(u.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(u){if(this.match(19))throw this.raise(y.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(y.PipelineTopicUnused,u)}withTopicBindingContext(u){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return u()}finally{this.state.topicContext=s}}withSmartMixTopicForbiddingContext(u){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return u()}finally{this.state.topicContext=s}}else return u()}withSoloAwaitPermittingContext(u){const s=this.state.soloAwait;this.state.soloAwait=!0;try{return u()}finally{this.state.soloAwait=s}}allowInAnd(u){const s=this.prodParam.currentFlags();if(8&~s){this.prodParam.enter(s|8);try{return u()}finally{this.prodParam.exit()}}return u()}disallowInAnd(u){const s=this.prodParam.currentFlags();if(8&s){this.prodParam.enter(s&-9);try{return u()}finally{this.prodParam.exit()}}return u()}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(u){const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const l=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const p=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,u);return this.state.inFSharpPipelineDirectBody=l,p}parseModuleExpression(){this.expectPlugin("moduleBlocks");const u=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const s=this.startNodeAt(this.state.endLoc);this.next();const l=this.initializeScopes(!0);this.enterInitialScopes();try{u.body=this.parseProgram(s,8,"module")}finally{l()}return this.finishNode(u,"ModuleExpression")}parsePropertyNamePrefixOperator(u){}}const Cc={kind:1},KT={kind:2},JT=/[\uD800-\uDFFF]/u,Ic=/in(?:stanceof)?/y;function YT(_,u){for(let s=0;s<_.length;s++){const l=_[s],{type:p}=l;if(typeof p=="number"){{if(p===138){const{loc:S,start:P,value:O,end:D}=l,U=P+1,F=i(S.start,1);_.splice(s,1,new Sr({type:kt(27),value:"#",start:P,end:U,startLoc:S.start,endLoc:F}),new Sr({type:kt(132),value:O,start:U,end:D,startLoc:F,endLoc:S.end})),s++;continue}if(zt(p)){const{loc:S,start:P,value:O,end:D}=l,U=P+1,F=i(S.start,1);let W;u.charCodeAt(P)===96?W=new Sr({type:kt(22),value:"`",start:P,end:U,startLoc:S.start,endLoc:F}):W=new Sr({type:kt(8),value:"}",start:P,end:U,startLoc:S.start,endLoc:F});let K,J,ae,xe;p===24?(J=D-1,ae=i(S.end,-1),K=O===null?null:O.slice(1,-1),xe=new Sr({type:kt(22),value:"`",start:J,end:D,startLoc:ae,endLoc:S.end})):(J=D-2,ae=i(S.end,-2),K=O===null?null:O.slice(1,-2),xe=new Sr({type:kt(23),value:"${",start:J,end:D,startLoc:ae,endLoc:S.end})),_.splice(s,1,W,new Sr({type:kt(20),value:K,start:U,end:J,startLoc:F,endLoc:ae}),xe),s+=2;continue}}l.type=kt(p)}}return _}class QT extends XT{parseTopLevel(u,s){return u.program=this.parseProgram(s),u.comments=this.comments,this.options.tokens&&(u.tokens=YT(this.tokens,this.input)),this.finishNode(u,"File")}parseProgram(u,s=139,l=this.options.sourceType){if(u.sourceType=l,u.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(u,!0,!0,s),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[S,P]of Array.from(this.scope.undefinedExports))this.raise(y.ModuleExportUndefined,P,{localName:S});this.addExtra(u,"topLevelAwait",this.state.hasTopLevelAwait)}let p;return s===139?p=this.finishNode(u,"Program"):p=this.finishNodeAt(u,"Program",i(this.state.startLoc,-1)),p}stmtToDirective(u){const s=u;s.type="Directive",s.value=s.expression,delete s.expression;const l=s.value,p=l.value,S=this.input.slice(l.start,l.end),P=l.value=S.slice(1,-1);return this.addExtra(l,"raw",S),this.addExtra(l,"rawValue",P),this.addExtra(l,"expressionValue",p),l.type="DirectiveLiteral",s}parseInterpreterDirective(){if(!this.match(28))return null;const u=this.startNode();return u.value=this.state.value,this.next(),this.finishNode(u,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(u,s){if(ir(u)){if(Ic.lastIndex=s,Ic.test(this.input)){const l=this.codePointAtPos(Ic.lastIndex);if(!ys(l)&&l!==92)return!1}return!0}else return u===92}chStartsBindingPattern(u){return u===91||u===123}hasFollowingBindingAtom(){const u=this.nextTokenStart(),s=this.codePointAtPos(u);return this.chStartsBindingPattern(s)||this.chStartsBindingIdentifier(s,u)}hasInLineFollowingBindingIdentifierOrBrace(){const u=this.nextTokenInLineStart(),s=this.codePointAtPos(u);return s===123||this.chStartsBindingIdentifier(s,u)}startsUsingForOf(){const{type:u,containsEsc:s}=this.lookahead();if(u===102&&!s)return!1;if(j(u)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let u=this.nextTokenInLineStart();if(this.isUnparsedContextual(u,"using")){u=this.nextTokenInLineStartSince(u+5);const s=this.codePointAtPos(u);if(this.chStartsBindingIdentifier(s,u))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(u=!1){let s=0;return this.options.annexB&&!this.state.strict&&(s|=4,u&&(s|=8)),this.parseStatementLike(s)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(u){let s=null;return this.match(26)&&(s=this.parseDecorators(!0)),this.parseStatementContent(u,s)}parseStatementContent(u,s){const l=this.state.type,p=this.startNode(),S=!!(u&2),P=!!(u&4),O=u&1;switch(l){case 60:return this.parseBreakContinueStatement(p,!0);case 63:return this.parseBreakContinueStatement(p,!1);case 64:return this.parseDebuggerStatement(p);case 90:return this.parseDoWhileStatement(p);case 91:return this.parseForStatement(p);case 68:if(this.lookaheadCharCode()===46)break;return P||this.raise(this.state.strict?y.StrictFunction:this.options.annexB?y.SloppyFunctionAnnexB:y.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(p,!1,!S&&P);case 80:return S||this.unexpected(),this.parseClass(this.maybeTakeDecorators(s,p),!0);case 69:return this.parseIfStatement(p);case 70:return this.parseReturnStatement(p);case 71:return this.parseSwitchStatement(p);case 72:return this.parseThrowStatement(p);case 73:return this.parseTryStatement(p);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?S||this.raise(y.UnexpectedLexicalDeclaration,p):this.raise(y.AwaitUsingNotInAsyncContext,p),this.next(),this.parseVarStatement(p,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(y.UnexpectedUsingDeclaration,this.state.startLoc):S||this.raise(y.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(p,"using");case 100:{if(this.state.containsEsc)break;const F=this.nextTokenStart(),W=this.codePointAtPos(F);if(W!==91&&(!S&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(W,F)&&W!==123))break}case 75:S||this.raise(y.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const F=this.state.value;return this.parseVarStatement(p,F)}case 92:return this.parseWhileStatement(p);case 76:return this.parseWithStatement(p);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(p);case 83:{const F=this.lookaheadCharCode();if(F===40||F===46)break}case 82:{!this.options.allowImportExportEverywhere&&!O&&this.raise(y.UnexpectedImportExport,this.state.startLoc),this.next();let F;return l===83?(F=this.parseImport(p),F.type==="ImportDeclaration"&&(!F.importKind||F.importKind==="value")&&(this.sawUnambiguousESM=!0)):(F=this.parseExport(p,s),(F.type==="ExportNamedDeclaration"&&(!F.exportKind||F.exportKind==="value")||F.type==="ExportAllDeclaration"&&(!F.exportKind||F.exportKind==="value")||F.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(F),F}default:if(this.isAsyncFunction())return S||this.raise(y.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(p,!0,!S&&P)}const D=this.state.value,U=this.parseExpression();return j(l)&&U.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,D,U,u):this.parseExpressionStatement(p,U,s)}assertModuleNodeAllowed(u){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(y.ImportOutsideModule,u)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(u,s,l){return u&&(s.decorators&&s.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(y.DecoratorsBeforeAfterExport,s.decorators[0]),s.decorators.unshift(...u)):s.decorators=u,this.resetStartLocationFromNode(s,u[0]),l&&this.resetStartLocationFromNode(l,s)),s}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(u){const s=[];do s.push(this.parseDecorator());while(this.match(26));if(this.match(82))u||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(y.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(y.UnexpectedLeadingDecorator,this.state.startLoc);return s}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const u=this.startNode();if(this.next(),this.hasPlugin("decorators")){const s=this.state.startLoc;let l;if(this.match(10)){const p=this.state.startLoc;this.next(),l=this.parseExpression(),this.expect(11),l=this.wrapParenthesis(p,l);const S=this.state.startLoc;u.expression=this.parseMaybeDecoratorArguments(l),this.getPluginOption("decorators","allowCallParenthesized")===!1&&u.expression!==l&&this.raise(y.DecoratorArgumentsOutsideParentheses,S)}else{for(l=this.parseIdentifier(!1);this.eat(16);){const p=this.startNodeAt(s);p.object=l,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),p.property=this.parsePrivateName()):p.property=this.parseIdentifier(!0),p.computed=!1,l=this.finishNode(p,"MemberExpression")}u.expression=this.parseMaybeDecoratorArguments(l)}}else u.expression=this.parseExprSubscripts();return this.finishNode(u,"Decorator")}parseMaybeDecoratorArguments(u){if(this.eat(10)){const s=this.startNodeAtNode(u);return s.callee=u,s.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(s.arguments),this.finishNode(s,"CallExpression")}return u}parseBreakContinueStatement(u,s){return this.next(),this.isLineTerminator()?u.label=null:(u.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(u,s),this.finishNode(u,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(u,s){let l;for(l=0;l<this.state.labels.length;++l){const p=this.state.labels[l];if((u.label==null||p.name===u.label.name)&&(p.kind!=null&&(s||p.kind===1)||u.label&&s))break}if(l===this.state.labels.length){const p=s?"BreakStatement":"ContinueStatement";this.raise(y.IllegalBreakContinue,u,{type:p})}}parseDebuggerStatement(u){return this.next(),this.semicolon(),this.finishNode(u,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const u=this.parseExpression();return this.expect(11),u}parseDoWhileStatement(u){return this.next(),this.state.labels.push(Cc),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),u.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(u,"DoWhileStatement")}parseForStatement(u){this.next(),this.state.labels.push(Cc);let s=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(s=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return s!==null&&this.unexpected(s),this.parseFor(u,null);const l=this.isContextual(100);{const D=this.isContextual(96)&&this.startsAwaitUsing(),U=D||this.isContextual(107)&&this.startsUsingForOf(),F=l&&this.hasFollowingBindingAtom()||U;if(this.match(74)||this.match(75)||F){const W=this.startNode();let K;D?(K="await using",this.recordAwaitIfAllowed()||this.raise(y.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):K=this.state.value,this.next(),this.parseVar(W,!0,K);const J=this.finishNode(W,"VariableDeclaration"),ae=this.match(58);return ae&&U&&this.raise(y.ForInUsing,J),(ae||this.isContextual(102))&&J.declarations.length===1?this.parseForIn(u,J,s):(s!==null&&this.unexpected(s),this.parseFor(u,J))}}const p=this.isContextual(95),S=new Ma,P=this.parseExpression(!0,S),O=this.isContextual(102);if(O&&(l&&this.raise(y.ForOfLet,P),s===null&&p&&P.type==="Identifier"&&this.raise(y.ForOfAsync,P)),O||this.match(58)){this.checkDestructuringPrivate(S),this.toAssignable(P,!0);const D=O?"ForOfStatement":"ForInStatement";return this.checkLVal(P,{type:D}),this.parseForIn(u,P,s)}else this.checkExpressionErrors(S,!0);return s!==null&&this.unexpected(s),this.parseFor(u,P)}parseFunctionStatement(u,s,l){return this.next(),this.parseFunction(u,1|(l?2:0)|(s?8:0))}parseIfStatement(u){return this.next(),u.test=this.parseHeaderExpression(),u.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),u.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(u,"IfStatement")}parseReturnStatement(u){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(y.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?u.argument=null:(u.argument=this.parseExpression(),this.semicolon()),this.finishNode(u,"ReturnStatement")}parseSwitchStatement(u){this.next(),u.discriminant=this.parseHeaderExpression();const s=u.cases=[];this.expect(5),this.state.labels.push(KT),this.scope.enter(0);let l;for(let p;!this.match(8);)if(this.match(61)||this.match(65)){const S=this.match(61);l&&this.finishNode(l,"SwitchCase"),s.push(l=this.startNode()),l.consequent=[],this.next(),S?l.test=this.parseExpression():(p&&this.raise(y.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),p=!0,l.test=null),this.expect(14)}else l?l.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),l&&this.finishNode(l,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(u,"SwitchStatement")}parseThrowStatement(u){return this.next(),this.hasPrecedingLineBreak()&&this.raise(y.NewlineAfterThrow,this.state.lastTokEndLoc),u.argument=this.parseExpression(),this.semicolon(),this.finishNode(u,"ThrowStatement")}parseCatchClauseParam(){const u=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&u.type==="Identifier"?8:0),this.checkLVal(u,{type:"CatchClause"},9),u}parseTryStatement(u){if(this.next(),u.block=this.parseBlock(),u.handler=null,this.match(62)){const s=this.startNode();this.next(),this.match(10)?(this.expect(10),s.param=this.parseCatchClauseParam(),this.expect(11)):(s.param=null,this.scope.enter(0)),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),u.handler=this.finishNode(s,"CatchClause")}return u.finalizer=this.eat(67)?this.parseBlock():null,!u.handler&&!u.finalizer&&this.raise(y.NoCatchOrFinally,u),this.finishNode(u,"TryStatement")}parseVarStatement(u,s,l=!1){return this.next(),this.parseVar(u,!1,s,l),this.semicolon(),this.finishNode(u,"VariableDeclaration")}parseWhileStatement(u){return this.next(),u.test=this.parseHeaderExpression(),this.state.labels.push(Cc),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(u,"WhileStatement")}parseWithStatement(u){return this.state.strict&&this.raise(y.StrictWith,this.state.startLoc),this.next(),u.object=this.parseHeaderExpression(),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(u,"WithStatement")}parseEmptyStatement(u){return this.next(),this.finishNode(u,"EmptyStatement")}parseLabeledStatement(u,s,l,p){for(const P of this.state.labels)P.name===s&&this.raise(y.LabelRedeclaration,l,{labelName:s});const S=ke(this.state.type)?1:this.match(71)?2:null;for(let P=this.state.labels.length-1;P>=0;P--){const O=this.state.labels[P];if(O.statementStart===u.start)O.statementStart=this.state.start,O.kind=S;else break}return this.state.labels.push({name:s,kind:S,statementStart:this.state.start}),u.body=p&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),u.label=l,this.finishNode(u,"LabeledStatement")}parseExpressionStatement(u,s,l){return u.expression=s,this.semicolon(),this.finishNode(u,"ExpressionStatement")}parseBlock(u=!1,s=!0,l){const p=this.startNode();return u&&this.state.strictErrors.clear(),this.expect(5),s&&this.scope.enter(0),this.parseBlockBody(p,u,!1,8,l),s&&this.scope.exit(),this.finishNode(p,"BlockStatement")}isValidDirective(u){return u.type==="ExpressionStatement"&&u.expression.type==="StringLiteral"&&!u.expression.extra.parenthesized}parseBlockBody(u,s,l,p,S){const P=u.body=[],O=u.directives=[];this.parseBlockOrModuleBlockBody(P,s?O:void 0,l,p,S)}parseBlockOrModuleBlockBody(u,s,l,p,S){const P=this.state.strict;let O=!1,D=!1;for(;!this.match(p);){const U=l?this.parseModuleItem():this.parseStatementListItem();if(s&&!D){if(this.isValidDirective(U)){const F=this.stmtToDirective(U);s.push(F),!O&&F.value.value==="use strict"&&(O=!0,this.setStrict(!0));continue}D=!0,this.state.strictErrors.clear()}u.push(U)}S==null||S.call(this,O),P||this.setStrict(!1),this.next()}parseFor(u,s){return u.init=s,this.semicolon(!1),u.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),u.update=this.match(11)?null:this.parseExpression(),this.expect(11),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(u,"ForStatement")}parseForIn(u,s,l){const p=this.match(58);return this.next(),p?l!==null&&this.unexpected(l):u.await=l!==null,s.type==="VariableDeclaration"&&s.declarations[0].init!=null&&(!p||!this.options.annexB||this.state.strict||s.kind!=="var"||s.declarations[0].id.type!=="Identifier")&&this.raise(y.ForInOfLoopInitializer,s,{type:p?"ForInStatement":"ForOfStatement"}),s.type==="AssignmentPattern"&&this.raise(y.InvalidLhs,s,{ancestor:{type:"ForStatement"}}),u.left=s,u.right=p?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(u,p?"ForInStatement":"ForOfStatement")}parseVar(u,s,l,p=!1){const S=u.declarations=[];for(u.kind=l;;){const P=this.startNode();if(this.parseVarId(P,l),P.init=this.eat(29)?s?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,P.init===null&&!p&&(P.id.type!=="Identifier"&&!(s&&(this.match(58)||this.isContextual(102)))?this.raise(y.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(l==="const"||l==="using"||l==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(y.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:l})),S.push(this.finishNode(P,"VariableDeclarator")),!this.eat(12))break}return u}parseVarId(u,s){const l=this.parseBindingAtom();(s==="using"||s==="await using")&&(l.type==="ArrayPattern"||l.type==="ObjectPattern")&&this.raise(y.UsingDeclarationHasBindingPattern,l.loc.start),this.checkLVal(l,{type:"VariableDeclarator"},s==="var"?5:8201),u.id=l}parseAsyncFunctionExpression(u){return this.parseFunction(u,8)}parseFunction(u,s=0){const l=s&2,p=!!(s&1),S=p&&!(s&4),P=!!(s&8);this.initFunction(u,P),this.match(55)&&(l&&this.raise(y.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),u.generator=!0),p&&(u.id=this.parseFunctionId(S));const O=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(La(P,u.generator)),p||(u.id=this.parseFunctionId()),this.parseFunctionParams(u,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(u,p?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),p&&!l&&this.registerFunctionStatementId(u),this.state.maybeInArrowParameters=O,u}parseFunctionId(u){return u||j(this.state.type)?this.parseIdentifier():null}parseFunctionParams(u,s){this.expect(10),this.expressionScope.enter(yT()),u.params=this.parseBindingList(11,41,2|(s?4:0)),this.expressionScope.exit()}registerFunctionStatementId(u){u.id&&this.scope.declareName(u.id.name,!this.options.annexB||this.state.strict||u.generator||u.async?this.scope.treatFunctionsAsVar?5:8201:17,u.id.loc.start)}parseClass(u,s,l){this.next();const p=this.state.strict;return this.state.strict=!0,this.parseClassId(u,s,l),this.parseClassSuper(u),u.body=this.parseClassBody(!!u.superClass,p),this.finishNode(u,s?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(u){return u.type==="Identifier"&&u.name==="constructor"||u.type==="StringLiteral"&&u.value==="constructor"}isNonstaticConstructor(u){return!u.computed&&!u.static&&this.nameIsConstructor(u.key)}parseClassBody(u,s){this.classScope.enter();const l={hadConstructor:!1,hadSuperClass:u};let p=[];const S=this.startNode();if(S.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(p.length>0)throw this.raise(y.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){p.push(this.parseDecorator());continue}const P=this.startNode();p.length&&(P.decorators=p,this.resetStartLocationFromNode(P,p[0]),p=[]),this.parseClassMember(S,P,l),P.kind==="constructor"&&P.decorators&&P.decorators.length>0&&this.raise(y.DecoratorConstructor,P)}}),this.state.strict=s,this.next(),p.length)throw this.raise(y.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(S,"ClassBody")}parseClassMemberFromModifier(u,s){const l=this.parseIdentifier(!0);if(this.isClassMethod()){const p=s;return p.kind="method",p.computed=!1,p.key=l,p.static=!1,this.pushClassMethod(u,p,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const p=s;return p.computed=!1,p.key=l,p.static=!1,u.body.push(this.parseClassProperty(p)),!0}return this.resetPreviousNodeTrailingComments(l),!1}parseClassMember(u,s,l){const p=this.isContextual(106);if(p){if(this.parseClassMemberFromModifier(u,s))return;if(this.eat(5)){this.parseClassStaticBlock(u,s);return}}this.parseClassMemberWithIsStatic(u,s,l,p)}parseClassMemberWithIsStatic(u,s,l,p){const S=s,P=s,O=s,D=s,U=s,F=S,W=S;if(s.static=p,this.parsePropertyNamePrefixOperator(s),this.eat(55)){F.kind="method";const be=this.match(138);if(this.parseClassElementName(F),be){this.pushClassPrivateMethod(u,P,!0,!1);return}this.isNonstaticConstructor(S)&&this.raise(y.ConstructorIsGenerator,S.key),this.pushClassMethod(u,S,!0,!1,!1,!1);return}const K=!this.state.containsEsc&&j(this.state.type),J=this.parseClassElementName(s),ae=K?J.name:null,xe=this.isPrivateName(J),mt=this.state.startLoc;if(this.parsePostMemberNameModifiers(W),this.isClassMethod()){if(F.kind="method",xe){this.pushClassPrivateMethod(u,P,!1,!1);return}const be=this.isNonstaticConstructor(S);let Le=!1;be&&(S.kind="constructor",l.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(y.DuplicateConstructor,J),be&&this.hasPlugin("typescript")&&s.override&&this.raise(y.OverrideOnConstructor,J),l.hadConstructor=!0,Le=l.hadSuperClass),this.pushClassMethod(u,S,!1,!1,be,Le)}else if(this.isClassProperty())xe?this.pushClassPrivateProperty(u,D):this.pushClassProperty(u,O);else if(ae==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(J);const be=this.eat(55);W.optional&&this.unexpected(mt),F.kind="method";const Le=this.match(138);this.parseClassElementName(F),this.parsePostMemberNameModifiers(W),Le?this.pushClassPrivateMethod(u,P,be,!0):(this.isNonstaticConstructor(S)&&this.raise(y.ConstructorIsAsync,S.key),this.pushClassMethod(u,S,be,!0,!1,!1))}else if((ae==="get"||ae==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(J),F.kind=ae;const be=this.match(138);this.parseClassElementName(S),be?this.pushClassPrivateMethod(u,P,!1,!1):(this.isNonstaticConstructor(S)&&this.raise(y.ConstructorIsAccessor,S.key),this.pushClassMethod(u,S,!1,!1,!1,!1)),this.checkGetterSetterParams(S)}else if(ae==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(J);const be=this.match(138);this.parseClassElementName(O),this.pushClassAccessorProperty(u,U,be)}else this.isLineTerminator()?xe?this.pushClassPrivateProperty(u,D):this.pushClassProperty(u,O):this.unexpected()}parseClassElementName(u){const{type:s,value:l}=this.state;if((s===132||s===133)&&u.static&&l==="prototype"&&this.raise(y.StaticPrototype,this.state.startLoc),s===138){l==="constructor"&&this.raise(y.ConstructorClassPrivateField,this.state.startLoc);const p=this.parsePrivateName();return u.key=p,p}return this.parsePropertyName(u),u.key}parseClassStaticBlock(u,s){var l;this.scope.enter(208);const p=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const S=s.body=[];this.parseBlockOrModuleBlockBody(S,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=p,u.body.push(this.finishNode(s,"StaticBlock")),(l=s.decorators)!=null&&l.length&&this.raise(y.DecoratorStaticBlock,s)}pushClassProperty(u,s){!s.computed&&this.nameIsConstructor(s.key)&&this.raise(y.ConstructorClassField,s.key),u.body.push(this.parseClassProperty(s))}pushClassPrivateProperty(u,s){const l=this.parseClassPrivateProperty(s);u.body.push(l),this.classScope.declarePrivateName(this.getPrivateNameSV(l.key),0,l.key.loc.start)}pushClassAccessorProperty(u,s,l){!l&&!s.computed&&this.nameIsConstructor(s.key)&&this.raise(y.ConstructorClassField,s.key);const p=this.parseClassAccessorProperty(s);u.body.push(p),l&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),0,p.key.loc.start)}pushClassMethod(u,s,l,p,S,P){u.body.push(this.parseMethod(s,l,p,S,P,"ClassMethod",!0))}pushClassPrivateMethod(u,s,l,p){const S=this.parseMethod(s,l,p,!1,!1,"ClassPrivateMethod",!0);u.body.push(S);const P=S.kind==="get"?S.static?6:2:S.kind==="set"?S.static?5:1:0;this.declareClassPrivateMethodInScope(S,P)}declareClassPrivateMethodInScope(u,s){this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),s,u.key.loc.start)}parsePostMemberNameModifiers(u){}parseClassPrivateProperty(u){return this.parseInitializer(u),this.semicolon(),this.finishNode(u,"ClassPrivateProperty")}parseClassProperty(u){return this.parseInitializer(u),this.semicolon(),this.finishNode(u,"ClassProperty")}parseClassAccessorProperty(u){return this.parseInitializer(u),this.semicolon(),this.finishNode(u,"ClassAccessorProperty")}parseInitializer(u){this.scope.enter(80),this.expressionScope.enter(z1()),this.prodParam.enter(0),u.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(u,s,l,p=8331){if(j(this.state.type))u.id=this.parseIdentifier(),s&&this.declareNameFromIdentifier(u.id,p);else if(l||!s)u.id=null;else throw this.raise(y.MissingClassName,this.state.startLoc)}parseClassSuper(u){u.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(u,s){const l=this.parseMaybeImportPhase(u,!0),p=this.maybeParseExportDefaultSpecifier(u,l),S=!p||this.eat(12),P=S&&this.eatExportStar(u),O=P&&this.maybeParseExportNamespaceSpecifier(u),D=S&&(!O||this.eat(12)),U=p||P;if(P&&!O){if(p&&this.unexpected(),s)throw this.raise(y.UnsupportedDecoratorExport,u);return this.parseExportFrom(u,!0),this.finishNode(u,"ExportAllDeclaration")}const F=this.maybeParseExportNamedSpecifiers(u);p&&S&&!P&&!F&&this.unexpected(null,5),O&&D&&this.unexpected(null,98);let W;if(U||F){if(W=!1,s)throw this.raise(y.UnsupportedDecoratorExport,u);this.parseExportFrom(u,U)}else W=this.maybeParseExportDeclaration(u);if(U||F||W){var K;const J=u;if(this.checkExport(J,!0,!1,!!J.source),((K=J.declaration)==null?void 0:K.type)==="ClassDeclaration")this.maybeTakeDecorators(s,J.declaration,J);else if(s)throw this.raise(y.UnsupportedDecoratorExport,u);return this.finishNode(J,"ExportNamedDeclaration")}if(this.eat(65)){const J=u,ae=this.parseExportDefaultExpression();if(J.declaration=ae,ae.type==="ClassDeclaration")this.maybeTakeDecorators(s,ae,J);else if(s)throw this.raise(y.UnsupportedDecoratorExport,u);return this.checkExport(J,!0,!0),this.finishNode(J,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(u){return this.eat(55)}maybeParseExportDefaultSpecifier(u,s){if(s||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",s==null?void 0:s.loc.start);const l=s||this.parseIdentifier(!0),p=this.startNodeAtNode(l);return p.exported=l,u.specifiers=[this.finishNode(p,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(u){if(this.isContextual(93)){var s,l;(l=(s=u).specifiers)!=null||(s.specifiers=[]);const p=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),p.exported=this.parseModuleExportName(),u.specifiers.push(this.finishNode(p,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(u){if(this.match(5)){const s=u;s.specifiers||(s.specifiers=[]);const l=s.exportKind==="type";return s.specifiers.push(...this.parseExportSpecifiers(l)),s.source=null,s.declaration=null,this.hasPlugin("importAssertions")&&(s.assertions=[]),!0}return!1}maybeParseExportDeclaration(u){return this.shouldParseExportDeclaration()?(u.specifiers=[],u.source=null,this.hasPlugin("importAssertions")&&(u.assertions=[]),u.declaration=this.parseExportDeclaration(u),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const u=this.nextTokenInLineStart();return this.isUnparsedContextual(u,"function")}parseExportDefaultExpression(){const u=this.startNode();if(this.match(68))return this.next(),this.parseFunction(u,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(u,13);if(this.match(80))return this.parseClass(u,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(y.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(y.UnsupportedDefaultExport,this.state.startLoc);const s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}parseExportDeclaration(u){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:u}=this.state;if(j(u)){if(u===95&&!this.state.containsEsc||u===100)return!1;if((u===130||u===129)&&!this.state.containsEsc){const{type:p}=this.lookahead();if(j(p)&&p!==98||p===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const s=this.nextTokenStart(),l=this.isUnparsedContextual(s,"from");if(this.input.charCodeAt(s)===44||j(this.state.type)&&l)return!0;if(this.match(65)&&l){const p=this.input.charCodeAt(this.nextTokenStartSince(s+4));return p===34||p===39}return!1}parseExportFrom(u,s){this.eatContextual(98)?(u.source=this.parseImportSource(),this.checkExport(u),this.maybeParseImportAttributes(u),this.checkJSONModuleImport(u)):s&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:u}=this.state;return u===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(y.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(y.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(y.UsingDeclarationExport,this.state.startLoc),!0):u===74||u===75||u===68||u===80||this.isLet()||this.isAsyncFunction()}checkExport(u,s,l,p){if(s){var S;if(l){if(this.checkDuplicateExports(u,"default"),this.hasPlugin("exportDefaultFrom")){var P;const O=u.declaration;O.type==="Identifier"&&O.name==="from"&&O.end-O.start===4&&!((P=O.extra)!=null&&P.parenthesized)&&this.raise(y.ExportDefaultFromAsIdentifier,O)}}else if((S=u.specifiers)!=null&&S.length)for(const O of u.specifiers){const{exported:D}=O,U=D.type==="Identifier"?D.name:D.value;if(this.checkDuplicateExports(O,U),!p&&O.local){const{local:F}=O;F.type!=="Identifier"?this.raise(y.ExportBindingIsString,O,{localName:F.value,exportName:U}):(this.checkReservedWord(F.name,F.loc.start,!0,!1),this.scope.checkLocalExport(F))}}else if(u.declaration){const O=u.declaration;if(O.type==="FunctionDeclaration"||O.type==="ClassDeclaration"){const{id:D}=O;if(!D)throw new Error("Assertion failure");this.checkDuplicateExports(u,D.name)}else if(O.type==="VariableDeclaration")for(const D of O.declarations)this.checkDeclaration(D.id)}}}checkDeclaration(u){if(u.type==="Identifier")this.checkDuplicateExports(u,u.name);else if(u.type==="ObjectPattern")for(const s of u.properties)this.checkDeclaration(s);else if(u.type==="ArrayPattern")for(const s of u.elements)s&&this.checkDeclaration(s);else u.type==="ObjectProperty"?this.checkDeclaration(u.value):u.type==="RestElement"?this.checkDeclaration(u.argument):u.type==="AssignmentPattern"&&this.checkDeclaration(u.left)}checkDuplicateExports(u,s){this.exportedIdentifiers.has(s)&&(s==="default"?this.raise(y.DuplicateDefaultExport,u):this.raise(y.DuplicateExport,u,{exportName:s})),this.exportedIdentifiers.add(s)}parseExportSpecifiers(u){const s=[];let l=!0;for(this.expect(5);!this.eat(8);){if(l)l=!1;else if(this.expect(12),this.eat(8))break;const p=this.isContextual(130),S=this.match(133),P=this.startNode();P.local=this.parseModuleExportName(),s.push(this.parseExportSpecifier(P,S,u,p))}return s}parseExportSpecifier(u,s,l,p){return this.eatContextual(93)?u.exported=this.parseModuleExportName():s?u.exported=wT(u.local):u.exported||(u.exported=nr(u.local)),this.finishNode(u,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const u=this.parseStringLiteral(this.state.value),s=JT.exec(u.value);return s&&this.raise(y.ModuleExportNameHasLoneSurrogate,u,{surrogateCharCode:s[0].charCodeAt(0)}),u}return this.parseIdentifier(!0)}isJSONModuleImport(u){return u.assertions!=null?u.assertions.some(({key:s,value:l})=>l.value==="json"&&(s.type==="Identifier"?s.name==="type":s.value==="type")):!1}checkImportReflection(u){const{specifiers:s}=u,l=s.length===1?s[0].type:null;if(u.phase==="source")l!=="ImportDefaultSpecifier"&&this.raise(y.SourcePhaseImportRequiresDefault,s[0].loc.start);else if(u.phase==="defer")l!=="ImportNamespaceSpecifier"&&this.raise(y.DeferImportRequiresNamespace,s[0].loc.start);else if(u.module){var p;l!=="ImportDefaultSpecifier"&&this.raise(y.ImportReflectionNotBinding,s[0].loc.start),((p=u.assertions)==null?void 0:p.length)>0&&this.raise(y.ImportReflectionHasAssertion,s[0].loc.start)}}checkJSONModuleImport(u){if(this.isJSONModuleImport(u)&&u.type!=="ExportAllDeclaration"){const{specifiers:s}=u;if(s!=null){const l=s.find(p=>{let S;if(p.type==="ExportSpecifier"?S=p.local:p.type==="ImportSpecifier"&&(S=p.imported),S!==void 0)return S.type==="Identifier"?S.name!=="default":S.value!=="default"});l!==void 0&&this.raise(y.ImportJSONBindingNotDefault,l.loc.start)}}}isPotentialImportPhase(u){return u?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(u,s,l,p){s||(l==="module"?(this.expectPlugin("importReflection",p),u.module=!0):this.hasPlugin("importReflection")&&(u.module=!1),l==="source"?(this.expectPlugin("sourcePhaseImports",p),u.phase="source"):l==="defer"?(this.expectPlugin("deferredImportEvaluation",p),u.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(u.phase=null))}parseMaybeImportPhase(u,s){if(!this.isPotentialImportPhase(s))return this.applyImportPhase(u,s,null),null;const l=this.parseIdentifier(!0),{type:p}=this.state;return(oe(p)?p!==98||this.lookaheadCharCode()===102:p!==12)?(this.resetPreviousIdentifierLeadingComments(l),this.applyImportPhase(u,s,l.name,l.loc.start),null):(this.applyImportPhase(u,s,null),l)}isPrecedingIdImportPhase(u){const{type:s}=this.state;return j(s)?s!==98||this.lookaheadCharCode()===102:s!==12}parseImport(u){return this.match(133)?this.parseImportSourceAndAttributes(u):this.parseImportSpecifiersAndAfter(u,this.parseMaybeImportPhase(u,!1))}parseImportSpecifiersAndAfter(u,s){u.specifiers=[];const p=!this.maybeParseDefaultImportSpecifier(u,s)||this.eat(12),S=p&&this.maybeParseStarImportSpecifier(u);return p&&!S&&this.parseNamedImportSpecifiers(u),this.expectContextual(98),this.parseImportSourceAndAttributes(u)}parseImportSourceAndAttributes(u){var s;return(s=u.specifiers)!=null||(u.specifiers=[]),u.source=this.parseImportSource(),this.maybeParseImportAttributes(u),this.checkImportReflection(u),this.checkJSONModuleImport(u),this.semicolon(),this.finishNode(u,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(u,s,l){s.local=this.parseIdentifier(),u.specifiers.push(this.finishImportSpecifier(s,l))}finishImportSpecifier(u,s,l=8201){return this.checkLVal(u.local,{type:s},l),this.finishNode(u,s)}parseImportAttributes(){this.expect(5);const u=[],s=new Set;do{if(this.match(8))break;const l=this.startNode(),p=this.state.value;if(s.has(p)&&this.raise(y.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:p}),s.add(p),this.match(133)?l.key=this.parseStringLiteral(p):l.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(y.ModuleAttributeInvalidValue,this.state.startLoc);l.value=this.parseStringLiteral(this.state.value),u.push(this.finishNode(l,"ImportAttribute"))}while(this.eat(12));return this.expect(8),u}parseModuleAttributes(){const u=[],s=new Set;do{const l=this.startNode();if(l.key=this.parseIdentifier(!0),l.key.name!=="type"&&this.raise(y.ModuleAttributeDifferentFromType,l.key),s.has(l.key.name)&&this.raise(y.ModuleAttributesWithDuplicateKeys,l.key,{key:l.key.name}),s.add(l.key.name),this.expect(14),!this.match(133))throw this.raise(y.ModuleAttributeInvalidValue,this.state.startLoc);l.value=this.parseStringLiteral(this.state.value),u.push(this.finishNode(l,"ImportAttribute"))}while(this.eat(12));return u}maybeParseImportAttributes(u){let s,l=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?s=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),s=this.parseImportAttributes()),l=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(y.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(u,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),s=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))s=[];else if(this.hasPlugin("moduleAttributes"))s=[];else return;!l&&this.hasPlugin("importAssertions")?u.assertions=s:u.attributes=s}maybeParseDefaultImportSpecifier(u,s){if(s){const l=this.startNodeAtNode(s);return l.local=s,u.specifiers.push(this.finishImportSpecifier(l,"ImportDefaultSpecifier")),!0}else if(oe(this.state.type))return this.parseImportSpecifierLocal(u,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(u){if(this.match(55)){const s=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(u,s,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(u){let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else{if(this.eat(14))throw this.raise(y.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const l=this.startNode(),p=this.match(133),S=this.isContextual(130);l.imported=this.parseModuleExportName();const P=this.parseImportSpecifier(l,p,u.importKind==="type"||u.importKind==="typeof",S,void 0);u.specifiers.push(P)}}parseImportSpecifier(u,s,l,p,S){if(this.eatContextual(93))u.local=this.parseIdentifier();else{const{imported:P}=u;if(s)throw this.raise(y.ImportBindingIsString,u,{importName:P.value});this.checkReservedWord(P.name,u.loc.start,!0,!0),u.local||(u.local=nr(P))}return this.finishImportSpecifier(u,"ImportSpecifier",S)}isThisParam(u){return u.type==="Identifier"&&u.name==="this"}}class rg extends QT{constructor(u,s,l){u=HT(u),super(u,s),this.options=u,this.initializeScopes(),this.plugins=l,this.filename=u.sourceFilename}getScopeHandler(){return xc}parse(){this.enterInitialScopes();const u=this.startNode(),s=this.startNode();return this.nextToken(),u.errors=null,this.parseTopLevel(u,s),u.errors=this.state.errors,u.comments.length=this.state.commentsLen,u}}function ZT(_,u){var s;if(((s=u)==null?void 0:s.sourceType)==="unambiguous"){u=Object.assign({},u);try{u.sourceType="module";const l=mi(u,_),p=l.parse();if(l.sawUnambiguousESM)return p;if(l.ambiguousScriptDifferentAst)try{return u.sourceType="script",mi(u,_).parse()}catch(S){}else p.program.sourceType="script";return p}catch(l){try{return u.sourceType="script",mi(u,_).parse()}catch(p){}throw l}}else return mi(u,_).parse()}function e_(_,u){const s=mi(u,_);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function t_(_){const u={};for(const s of Object.keys(_))u[s]=kt(_[s]);return u}const r_=t_(te);function mi(_,u){let s=rg;const l=new Map;if(_!=null&&_.plugins){for(const p of _.plugins){let S,P;typeof p=="string"?S=p:[S,P]=p,l.has(S)||l.set(S,P||{})}zT(l),s=s_(l)}return new s(_,u,l)}const sg=new Map;function s_(_){const u=[];for(const p of WT)_.has(p)&&u.push(p);const s=u.join("|");let l=sg.get(s);if(!l){l=rg;for(const p of u)l=tg[p](l);sg.set(s,l)}return l}return Jr.parse=ZT,Jr.parseExpression=e_,Jr.tokTypes=r_,Jr}var Rt=ry();class sy{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,r,i,n){e&&(i!==null?e[r][i]=n:e[r]=n)}remove(e,r,i){e&&(i!==null?e[r].splice(i,1):delete e[r])}}class iy extends sy{constructor(e,r){super(),this.enter=e,this.leave=r}visit(e,r,i,n){if(e){if(this.enter){const a=this.should_skip,o=this.should_remove,h=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,r,i,n),this.replacement&&(e=this.replacement,this.replace(r,i,n,e)),this.should_remove&&this.remove(r,i,n);const c=this.should_skip,d=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=h,c)return e;if(d)return null}for(const a in e){const o=e[a];if(typeof o=="object")if(Array.isArray(o))for(let h=0;h<o.length;h+=1)o[h]!==null&&typeof o[h].type=="string"&&(this.visit(o[h],e,a,h)||h--);else o!==null&&typeof o.type=="string"&&this.visit(o,e,a,null)}if(this.leave){const a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,r,i,n),this.replacement&&(e=this.replacement,this.replace(r,i,n,e)),this.should_remove&&this.remove(r,i,n);const h=this.should_remove;if(this.replacement=a,this.should_remove=o,h)return null}}return e}}function ro(t,{enter:e,leave:r}){return new iy(e,r).visit(t,null)}function ji(t,e,r=!1,i=[],n=Object.create(null)){const a=t.type==="Program"?t.body[0].type==="ExpressionStatement"&&t.body[0].expression:t;ro(t,{enter(o,h){if(h&&i.push(h),h&&h.type.startsWith("TS")&&!Wi.includes(h.type))return this.skip();if(o.type==="Identifier"){const c=!!n[o.name],d=so(o,h,i);(r||d&&!c)&&e(o,h,i,d,c)}else if(o.type==="ObjectProperty"&&(h==null?void 0:h.type)==="ObjectPattern")o.inPattern=!0;else if(pr(o))o.scopeIds?o.scopeIds.forEach(c=>no(c,n)):io(o,c=>Gi(o,c,n));else if(o.type==="BlockStatement")o.scopeIds?o.scopeIds.forEach(c=>no(c,n)):uh(o,c=>Gi(o,c,n));else if(o.type==="CatchClause"&&o.param)for(const c of It(o.param))Gi(o,c,n);else lh(o)&&ch(o,!1,c=>Gi(o,c,n))},leave(o,h){if(h&&i.pop(),o!==a&&o.scopeIds)for(const c of o.scopeIds)n[c]--,n[c]===0&&delete n[c]}})}function so(t,e,r){if(!e)return!0;if(t.name==="arguments")return!1;if(ny(t,e))return!0;switch(e.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return Vi(e,r)}return!1}function Vi(t,e){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let r=e.length;for(;r--;){const i=e[r];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function oh(t){let e=t.length;for(;e--;){const r=t[e];if(r.type==="NewExpression")return!0;if(r.type!=="MemberExpression")break}return!1}function io(t,e){for(const r of t.params)for(const i of It(r))e(i)}function uh(t,e){for(const r of t.body)if(r.type==="VariableDeclaration"){if(r.declare)continue;for(const i of r.declarations)for(const n of It(i.id))e(n)}else if(r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"){if(r.declare||!r.id)continue;e(r.id)}else lh(r)&&ch(r,!0,e)}function lh(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function ch(t,e,r){const i=t.type==="ForStatement"?t.init:t.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?e:!e))for(const n of i.declarations)for(const a of It(n.id))r(a)}function It(t,e=[]){switch(t.type){case"Identifier":e.push(t);break;case"MemberExpression":let r=t;for(;r.type==="MemberExpression";)r=r.object;e.push(r);break;case"ObjectPattern":for(const i of t.properties)i.type==="RestElement"?It(i.argument,e):It(i.value,e);break;case"ArrayPattern":t.elements.forEach(i=>{i&&It(i,e)});break;case"RestElement":It(t.argument,e);break;case"AssignmentPattern":It(t.left,e);break}return e}function no(t,e){t in e?e[t]++:e[t]=1}function Gi(t,e,r){const{name:i}=e;t.scopeIds&&t.scopeIds.has(i)||(no(i,r),(t.scopeIds||(t.scopeIds=new Set)).add(i))}const pr=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),zi=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,hh=(t,e)=>zi(e)&&e.key===t;function ny(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!0;case"ClassProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;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 e.local===t;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 e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}const Wi=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function bt(t){return Wi.includes(t.type)?bt(t.expression):t}const Xe=t=>t.type===4&&t.isStatic;function ao(t){switch(t){case"Teleport":case"teleport":return Er;case"Suspense":case"suspense":return Gr;case"KeepAlive":case"keep-alive":return ws;case"BaseTransition":case"base-transition":return ja}}const ay=/^\d|[^\$\w\xA0-\uFFFF]/,Xt=t=>!ay.test(t),oy=/[A-Za-z_$\xA0-\uFFFF]/,uy=/[\.\?\w$\xA0-\uFFFF]/,ly=/\s+[.[]\s*|\s*[.[]\s+/g,Hi=t=>t.type===4?t.content:t.loc.source,cy=t=>{const e=Hi(t).trim().replace(ly,h=>h.trim());let r=0,i=[],n=0,a=0,o=null;for(let h=0;h<e.length;h++){const c=e.charAt(h);switch(r){case 0:if(c==="[")i.push(r),r=1,n++;else if(c==="(")i.push(r),r=2,a++;else if(!(h===0?oy:uy).test(c))return!1;break;case 1:c==="'"||c==='"'||c==="`"?(i.push(r),r=3,o=c):c==="["?n++:c==="]"&&(--n||(r=i.pop()));break;case 2:if(c==="'"||c==='"'||c==="`")i.push(r),r=3,o=c;else if(c==="(")a++;else if(c===")"){if(h===e.length-1)return!1;--a||(r=i.pop())}break;case 3:c===o&&(r=i.pop(),o=null);break}}return!n&&!a},fh=(t,e)=>{try{let r=t.ast||Rt.parseExpression(Hi(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r=bt(r),r.type==="MemberExpression"||r.type==="OptionalMemberExpression"||r.type==="Identifier"&&r.name!=="undefined"}catch(r){return!1}},oo=fh,hy=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,fy=t=>hy.test(Hi(t)),ph=(t,e)=>{try{let r=t.ast||Rt.parseExpression(Hi(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r.type==="Program"&&(r=r.body[0],r.type==="ExpressionStatement"&&(r=r.expression)),r=bt(r),r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}catch(r){return!1}},dh=ph;function uo(t,e,r=e.length){return lo({offset:t.offset,line:t.line,column:t.column},e,r)}function lo(t,e,r=e.length){let i=0,n=-1;for(let a=0;a<r;a++)e.charCodeAt(a)===10&&(i++,n=a);return t.offset+=r,t.line+=i,t.column=n===-1?t.column+r:r-n,t}function co(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function Be(t,e,r=!1){for(let i=0;i<t.props.length;i++){const n=t.props[i];if(n.type===7&&(r||n.exp)&&(ye(e)?n.name===e:e.test(n.name)))return n}}function ct(t,e,r=!1,i=!1){for(let n=0;n<t.props.length;n++){const a=t.props[n];if(a.type===6){if(r)continue;if(a.name===e&&(a.value||i))return a}else if(a.name==="bind"&&(a.exp||i)&&Dt(a.arg,e))return a}}function Dt(t,e){return!!(t&&Xe(t)&&t.content===e)}function Xi(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Os(t){return t.type===5||t.type===2}function ho(t){return t.type===7&&t.name==="slot"}function Yr(t){return t.type===1&&t.tagType===3}function Qr(t){return t.type===1&&t.tagType===2}const py=new Set([Wr,Hr]);function mh(t,e=[]){if(t&&!ye(t)&&t.type===14){const r=t.callee;if(!ye(r)&&py.has(r))return mh(t.arguments[0],e.concat(t))}return[t,e]}function ks(t,e,r){let i,n=t.type===13?t.props:t.arguments[2],a=[],o;if(n&&!ye(n)&&n.type===14){const h=mh(n);n=h[0],a=h[1],o=a[a.length-1]}if(n==null||ye(n))i=lt([e]);else if(n.type===14){const h=n.arguments[0];!ye(h)&&h.type===15?gh(e,h)||h.properties.unshift(e):n.callee===Ni?i=ce(r.helper(wr),[lt([e]),n]):n.arguments.unshift(lt([e])),!i&&(i=n)}else n.type===15?(gh(e,n)||n.properties.unshift(e),i=n):(i=ce(r.helper(wr),[lt([e]),n]),o&&o.callee===Hr&&(o=a[a.length-2]));t.type===13?o?o.arguments[0]=i:t.props=i:o?o.arguments[0]=i:t.arguments[2]=i}function gh(t,e){let r=!1;if(t.key.type===4){const i=t.key.content;r=e.properties.some(n=>n.key.type===4&&n.key.content===i)}return r}function Ls(t,e){return`_${e}_${t.replace(/[^\w]/g,(r,i)=>r==="-"?"_":t.charCodeAt(i).toString())}`}function ht(t,e){if(!t||Object.keys(e).length===0)return!1;switch(t.type){case 1:for(let r=0;r<t.props.length;r++){const i=t.props[r];if(i.type===7&&(ht(i.arg,e)||ht(i.exp,e)))return!0}return t.children.some(r=>ht(r,e));case 11:return ht(t.source,e)?!0:t.children.some(r=>ht(r,e));case 9:return t.branches.some(r=>ht(r,e));case 10:return ht(t.condition,e)?!0:t.children.some(r=>ht(r,e));case 4:return!t.isStatic&&Xt(t.content)&&!!e[t.content];case 8:return t.children.some(r=>ur(r)&&ht(r,e));case 5:case 12:return ht(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function yh(t){return t.type===14&&t.callee===Mi?t.arguments[1].returns:t}const bh=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,vh={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:ar,isPreTag:ar,isIgnoreNewlineTag:ar,isCustomElement:ar,onError:eo,onWarn:nh,comments:!0,prefixIdentifiers:!1};let Pe=vh,Ki=null,Kt="",Ye=null,Ee=null,Tt="",Jt=-1,Ar=-1,fo=0,dr=!1,po=null;const Ue=[],Ce=new Jg(Ue,{onerr:it,ontext(t,e){Ji(Qe(t,e),t,e)},ontextentity(t,e,r){Ji(t,e,r)},oninterpolation(t,e){if(dr)return Ji(Qe(t,e),t,e);let r=t+Ce.delimiterOpen.length,i=e-Ce.delimiterClose.length;for(;yt(Kt.charCodeAt(r));)r++;for(;yt(Kt.charCodeAt(i-1));)i--;let n=Qe(r,i);n.includes("&")&&(n=Kg(n)),mo({type:5,content:Qi(n,!1,$e(r,i)),loc:$e(t,e)})},onopentagname(t,e){const r=Qe(t,e);Ye={type:1,tag:r,ns:Pe.getNamespace(r,Ue[0],Pe.ns),tagType:0,props:[],children:[],loc:$e(t-1,e),codegenNode:void 0}},onopentagend(t){xh(t)},onclosetag(t,e){const r=Qe(t,e);if(!Pe.isVoidTag(r)){let i=!1;for(let n=0;n<Ue.length;n++)if(Ue[n].tag.toLowerCase()===r.toLowerCase()){i=!0,n>0&&it(24,Ue[0].loc.start.offset);for(let o=0;o<=n;o++){const h=Ue.shift();Yi(h,e,o<n)}break}i||it(23,Eh(t,60))}},onselfclosingtag(t){const e=Ye.tag;Ye.isSelfClosing=!0,xh(t),Ue[0]&&Ue[0].tag===e&&Yi(Ue.shift(),t)},onattribname(t,e){Ee={type:6,name:Qe(t,e),nameLoc:$e(t,e),value:void 0,loc:$e(t)}},ondirname(t,e){const r=Qe(t,e),i=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!dr&&i===""&&it(26,t),dr||i==="")Ee={type:6,name:r,nameLoc:$e(t,e),value:void 0,loc:$e(t)};else if(Ee={type:7,name:i,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Y("prop")]:[],loc:$e(t)},i==="pre"){dr=Ce.inVPre=!0,po=Ye;const n=Ye.props;for(let a=0;a<n.length;a++)n[a].type===7&&(n[a]=_y(n[a]))}},ondirarg(t,e){if(t===e)return;const r=Qe(t,e);if(dr)Ee.name+=r,Cr(Ee.nameLoc,e);else{const i=r[0]!=="[";Ee.arg=Qi(i?r:r.slice(1,-1),i,$e(t,e),i?3:0)}},ondirmodifier(t,e){const r=Qe(t,e);if(dr)Ee.name+="."+r,Cr(Ee.nameLoc,e);else if(Ee.name==="slot"){const i=Ee.arg;i&&(i.content+="."+r,Cr(i.loc,e))}else{const i=Y(r,!0,$e(t,e));Ee.modifiers.push(i)}},onattribdata(t,e){Tt+=Qe(t,e),Jt<0&&(Jt=t),Ar=e},onattribentity(t,e,r){Tt+=t,Jt<0&&(Jt=e),Ar=r},onattribnameend(t){const e=Ee.loc.start.offset,r=Qe(e,t);Ee.type===7&&(Ee.rawName=r),Ye.props.some(i=>(i.type===7?i.rawName:i.name)===r)&&it(2,e)},onattribend(t,e){if(Ye&&Ee){if(Cr(Ee.loc,e),t!==0)if(Ee.type===6)Ee.name==="class"&&(Tt=Th(Tt).trim()),t===1&&!Tt&&it(13,e),Ee.value={type:2,content:Tt,loc:t===1?$e(Jt,Ar):$e(Jt-1,Ar+1)},Ce.inSFCRoot&&Ye.tag==="template"&&Ee.name==="lang"&&Tt&&Tt!=="html"&&Ce.enterRCDATA(Ui("</template"),0);else{let r=0;Ee.name==="for"?r=3:Ee.name==="slot"?r=1:Ee.name==="on"&&Tt.includes(";")&&(r=2),Ee.exp=Qi(Tt,!1,$e(Jt,Ar),0,r),Ee.name==="for"&&(Ee.forParseResult=my(Ee.exp))}(Ee.type!==7||Ee.name!=="pre")&&Ye.props.push(Ee)}Tt="",Jt=Ar=-1},oncomment(t,e){Pe.comments&&mo({type:3,content:Qe(t,e),loc:$e(t-4,e+3)})},onend(){const t=Kt.length;if(Ce.state!==1)switch(Ce.state){case 5:case 8:it(5,t);break;case 3:case 4:it(25,Ce.sectionStart);break;case 28:Ce.currentSequence===He.CdataEnd?it(6,t):it(7,t);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:it(9,t);break}for(let e=0;e<Ue.length;e++)Yi(Ue[e],t-1),it(24,Ue[e].loc.start.offset)},oncdata(t,e){Ue[0].ns!==0?Ji(Qe(t,e),t,e):it(1,t-9)},onprocessinginstruction(t){(Ue[0]?Ue[0].ns:Pe.ns)===0&&it(21,t-1)}}),Sh=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,dy=/^\(|\)$/g;function my(t){const e=t.loc,r=t.content,i=r.match(bh);if(!i)return;const[,n,a]=i,o=(m,g,b=!1)=>{const x=e.start.offset+g,v=x+m.length;return Qi(m,!1,$e(x,v),0,b?1:0)},h={source:o(a.trim(),r.indexOf(a,n.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=n.trim().replace(dy,"").trim();const d=n.indexOf(c),f=c.match(Sh);if(f){c=c.replace(Sh,"").trim();const m=f[1].trim();let g;if(m&&(g=r.indexOf(m,d+c.length),h.key=o(m,g,!0)),f[2]){const b=f[2].trim();b&&(h.index=o(b,r.indexOf(b,h.key?g+m.length:d+c.length),!0))}}return c&&(h.value=o(c,d,!0)),h}function Qe(t,e){return Kt.slice(t,e)}function xh(t){Ce.inSFCRoot&&(Ye.innerLoc=$e(t+1,t+1)),mo(Ye);const{tag:e,ns:r}=Ye;r===0&&Pe.isPreTag(e)&&fo++,Pe.isVoidTag(e)?Yi(Ye,t):(Ue.unshift(Ye),(r===1||r===2)&&(Ce.inXML=!0)),Ye=null}function Ji(t,e,r){const i=Ue[0]||Ki,n=i.children[i.children.length-1];n&&n.type===2?(n.content+=t,Cr(n.loc,r)):i.children.push({type:2,content:t,loc:$e(e,r)})}function Yi(t,e,r=!1){r?Cr(t.loc,Eh(e,60)):Cr(t.loc,gy(e,62)+1),Ce.inSFCRoot&&(t.children.length?t.innerLoc.end=wt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=wt({},t.innerLoc.start),t.innerLoc.source=Qe(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:n,children:a}=t;if(dr||(i==="slot"?t.tagType=2:by(t)?t.tagType=3:vy(t)&&(t.tagType=1)),Ce.inRCDATA||(t.children=wh(a)),n===0&&Pe.isIgnoreNewlineTag(i)){const o=a[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}n===0&&Pe.isPreTag(i)&&fo--,po===t&&(dr=Ce.inVPre=!1,po=null),Ce.inXML&&(Ue[0]?Ue[0].ns:Pe.ns)===0&&(Ce.inXML=!1)}function gy(t,e){let r=t;for(;Kt.charCodeAt(r)!==e&&r<Kt.length-1;)r++;return r}function Eh(t,e){let r=t;for(;Kt.charCodeAt(r)!==e&&r>=0;)r--;return r}const yy=new Set(["if","else","else-if","for","slot"]);function by({tag:t,props:e}){if(t==="template"){for(let r=0;r<e.length;r++)if(e[r].type===7&&yy.has(e[r].name))return!0}return!1}function vy({tag:t,props:e}){if(Pe.isCustomElement(t))return!1;if(t==="component"||Sy(t.charCodeAt(0))||ao(t)||Pe.isBuiltInComponent&&Pe.isBuiltInComponent(t)||Pe.isNativeTag&&!Pe.isNativeTag(t))return!0;for(let r=0;r<e.length;r++){const i=e[r];if(i.type===6&&i.name==="is"&&i.value&&i.value.content.startsWith("vue:"))return!0}return!1}function Sy(t){return t>64&&t<91}const xy=/\r\n/g;function wh(t,e){const r=Pe.whitespace!=="preserve";let i=!1;for(let n=0;n<t.length;n++){const a=t[n];if(a.type===2)if(fo)a.content=a.content.replace(xy,`
|
|
26
|
-
`);else if(Ey(a.content)){const o=t[n-1]&&t[n-1].type,h=t[n+1]&&t[n+1].type;!o||!h||r&&(o===3&&(h===3||h===1)||o===1&&(h===3||h===1&&wy(a.content)))?(i=!0,t[n]=null):a.content=" "}else r&&(a.content=Th(a.content))}return i?t.filter(Boolean):t}function Ey(t){for(let e=0;e<t.length;e++)if(!yt(t.charCodeAt(e)))return!1;return!0}function wy(t){for(let e=0;e<t.length;e++){const r=t.charCodeAt(e);if(r===10||r===13)return!0}return!1}function Th(t){let e="",r=!1;for(let i=0;i<t.length;i++)yt(t.charCodeAt(i))?r||(e+=" ",r=!0):(e+=t[i],r=!1);return e}function mo(t){(Ue[0]||Ki).children.push(t)}function $e(t,e){return{start:Ce.getPos(t),end:e==null?e:Ce.getPos(e),source:e==null?e:Qe(t,e)}}function Ty(t){return $e(t.start.offset,t.end.offset)}function Cr(t,e){t.end=Ce.getPos(e),t.source=Qe(t.start.offset,e)}function _y(t){const e={type:6,name:t.rawName,nameLoc:$e(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const r=t.exp.loc;r.end.offset<t.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),e.value={type:2,content:t.exp.content,loc:r}}return e}function Qi(t,e=!1,r,i=0,n=0){const a=Y(t,e,r,i);if(!e&&Pe.prefixIdentifiers&&n!==3&&t.trim()){if(Xt(t))return a.ast=null,a;try{const o=Pe.expressionPlugins,h={plugins:o?[...o,"typescript"]:["typescript"]};n===2?a.ast=Rt.parse(` ${t} `,h).program:n===1?a.ast=Rt.parseExpression(`(${t})=>{}`,h):a.ast=Rt.parseExpression(`(${t})`,h)}catch(o){a.ast=!1,it(45,r.start.offset,o.message)}}return a}function it(t,e,r){Pe.onError(ve(t,$e(e,e),void 0,r))}function Py(){Ce.reset(),Ye=null,Ee=null,Tt="",Jt=-1,Ar=-1,Ue.length=0}function Zi(t,e){if(Py(),Kt=t,Pe=wt({},vh),e){let n;for(n in e)e[n]!=null&&(Pe[n]=e[n])}Pe.decodeEntities,Ce.mode=Pe.parseMode==="html"?1:Pe.parseMode==="sfc"?2:0,Ce.inXML=Pe.ns===1||Pe.ns===2;const r=e&&e.delimiters;r&&(Ce.delimiterOpen=Ui(r[0]),Ce.delimiterClose=Ui(r[1]));const i=Ki=Tr([],t);return Ce.parse(Kt),i.loc=$e(0,t.length),i.children=wh(i.children),Ki=null,i}function Ay(t,e){en(t,void 0,e,_h(t,t.children[0]))}function _h(t,e){const{children:r}=t;return r.length===1&&e.type===1&&!Qr(e)}function en(t,e,r,i=!1,n=!1){const{children:a}=t,o=[];for(let f=0;f<a.length;f++){const m=a[f];if(m.type===1&&m.tagType===0){const g=i?0:ft(m,r);if(g>0){if(g>=2){m.codegenNode.patchFlag=-1,o.push(m);continue}}else{const b=m.codegenNode;if(b.type===13){const x=b.patchFlag;if((x===void 0||x===512||x===1)&&Ah(m,r)>=2){const v=Ch(m);v&&(b.props=r.hoist(v))}b.dynamicProps&&(b.dynamicProps=r.hoist(b.dynamicProps))}}}else if(m.type===12&&(i?0:ft(m,r))>=2){o.push(m);continue}if(m.type===1){const g=m.tagType===1;g&&r.scopes.vSlot++,en(m,t,r,!1,n),g&&r.scopes.vSlot--}else if(m.type===11)en(m,t,r,m.children.length===1,!0);else if(m.type===9)for(let g=0;g<m.branches.length;g++)en(m.branches[g],t,r,m.branches[g].children.length===1,n)}let h=!1;if(o.length===a.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&Me(t.codegenNode.children))t.codegenNode.children=c(Ht(t.codegenNode.children)),h=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Me(t.codegenNode.children)&&t.codegenNode.children.type===15){const f=d(t.codegenNode,"default");f&&(f.returns=c(Ht(f.returns)),h=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Me(e.codegenNode.children)&&e.codegenNode.children.type===15){const f=Be(t,"slot",!0),m=f&&f.arg&&d(e.codegenNode,f.arg);m&&(m.returns=c(Ht(m.returns)),h=!0)}}if(!h)for(const f of o)f.codegenNode=r.cache(f.codegenNode);function c(f){const m=r.cache(f);return n&&r.hmr&&(m.needArraySpread=!0),m}function d(f,m){if(f.children&&!Me(f.children)&&f.children.type===15){const g=f.children.properties.find(b=>b.key===m||b.key.content===m);return g&&g.value}}o.length&&r.transformHoist&&r.transformHoist(a,r,t)}function ft(t,e){const{constantCache:r}=e;switch(t.type){case 1:if(t.tagType!==0)return 0;const i=r.get(t);if(i!==void 0)return i;const n=t.codegenNode;if(n.type!==13||n.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(n.patchFlag===void 0){let o=3;const h=Ah(t,e);if(h===0)return r.set(t,0),0;h<o&&(o=h);for(let c=0;c<t.children.length;c++){const d=ft(t.children[c],e);if(d===0)return r.set(t,0),0;d<o&&(o=d)}if(o>1)for(let c=0;c<t.props.length;c++){const d=t.props[c];if(d.type===7&&d.name==="bind"&&d.exp){const f=ft(d.exp,e);if(f===0)return r.set(t,0),0;f<o&&(o=f)}}if(n.isBlock){for(let c=0;c<t.props.length;c++)if(t.props[c].type===7)return r.set(t,0),0;e.removeHelper(cr),e.removeHelper(Pr(e.inSSR,n.isComponent)),n.isBlock=!1,e.helper(_r(e.inSSR,n.isComponent))}return r.set(t,o),o}else return r.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ft(t.content,e);case 4:return t.constType;case 8:let a=3;for(let o=0;o<t.children.length;o++){const h=t.children[o];if(ye(h)||or(h))continue;const c=ft(h,e);if(c===0)return 0;c<a&&(a=c)}return a;case 20:return 2;default:return 0}}const Cy=new Set([Ci,Ii,Wr,Hr]);function Ph(t,e){if(t.type===14&&!ye(t.callee)&&Cy.has(t.callee)){const r=t.arguments[0];if(r.type===4)return ft(r,e);if(r.type===14)return Ph(r,e)}return 0}function Ah(t,e){let r=3;const i=Ch(t);if(i&&i.type===15){const{properties:n}=i;for(let a=0;a<n.length;a++){const{key:o,value:h}=n[a],c=ft(o,e);if(c===0)return c;c<r&&(r=c);let d;if(h.type===4?d=ft(h,e):h.type===14?d=Ph(h,e):d=0,d===0)return d;d<r&&(r=d)}}return r}function Ch(t){const e=t.codegenNode;if(e.type===13)return e.props}function Ms(t,{filename:e="",prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:n=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:h={},transformHoist:c=null,isBuiltInComponent:d=st,isCustomElement:f=st,expressionPlugins:m=[],scopeId:g=null,slotted:b=!0,ssr:x=!1,inSSR:v=!1,ssrCssVars:y="",bindingMetadata:T=Fe,inline:E=!1,isTS:C=!1,onError:N=eo,onWarn:A=nh,compatConfig:L}){const R=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={filename:e,selfName:R&&lr(ot(R[1])),prefixIdentifiers:r,hoistStatic:i,hmr:n,cacheHandlers:a,nodeTransforms:o,directiveTransforms:h,transformHoist:c,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:m,scopeId:g,slotted:b,ssr:x,inSSR:v,ssrCssVars:y,bindingMetadata:T,inline:E,isTS:C,onError:N,onWarn:A,compatConfig:L,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(M){const z=w.helpers.get(M)||0;return w.helpers.set(M,z+1),M},removeHelper(M){const z=w.helpers.get(M);if(z){const X=z-1;X?w.helpers.set(M,X):w.helpers.delete(M)}},helperString(M){return`_${ut[w.helper(M)]}`},replaceNode(M){{if(!w.currentNode)throw new Error("Node being replaced is already removed.");if(!w.parent)throw new Error("Cannot replace root node.")}w.parent.children[w.childIndex]=w.currentNode=M},removeNode(M){if(!w.parent)throw new Error("Cannot remove root node.");const z=w.parent.children,X=M?z.indexOf(M):w.currentNode?w.childIndex:-1;if(X<0)throw new Error("node being removed is not a child of current parent");!M||M===w.currentNode?(w.currentNode=null,w.onNodeRemoved()):w.childIndex>X&&(w.childIndex--,w.onNodeRemoved()),w.parent.children.splice(X,1)},onNodeRemoved:st,addIdentifiers(M){ye(M)?I(M):M.identifiers?M.identifiers.forEach(I):M.type===4&&I(M.content)},removeIdentifiers(M){ye(M)?k(M):M.identifiers?M.identifiers.forEach(k):M.type===4&&k(M.content)},hoist(M){ye(M)&&(M=Y(M)),w.hoists.push(M);const z=Y(`_hoisted_${w.hoists.length}`,!1,M.loc,2);return z.hoisted=M,z},cache(M,z=!1,X=!1){const Z=Kc(w.cached.length,M,z,X);return w.cached.push(Z),Z}};function I(M){const{identifiers:z}=w;z[M]===void 0&&(z[M]=0),z[M]++}function k(M){w.identifiers[M]--}return w}function go(t,e){const r=Ms(t,e);Zr(t,r),e.hoistStatic&&Ay(t,r),e.ssr||Iy(t,r),t.helpers=new Set([...r.helpers.keys()]),t.components=[...r.components],t.directives=[...r.directives],t.imports=r.imports,t.hoists=r.hoists,t.temps=r.temps,t.cached=r.cached,t.transformed=!0}function Iy(t,e){const{helper:r}=e,{children:i}=t;if(i.length===1){const n=i[0];if(_h(t,n)&&n.codegenNode){const a=n.codegenNode;a.type===13&&Bi(a,e),t.codegenNode=a}else t.codegenNode=n}else if(i.length>1){let n=64;i.filter(a=>a.type!==3).length===1&&(n|=2048),t.codegenNode=Kr(e,r(Vr),void 0,t.children,n,void 0,void 0,!0,void 0,!1)}}function Ny(t,e){let r=0;const i=()=>{r--};for(;r<t.children.length;r++){const n=t.children[r];ye(n)||(e.grandParent=e.parent,e.parent=t,e.childIndex=r,e.onNodeRemoved=i,Zr(n,e))}}function Zr(t,e){e.currentNode=t;const{nodeTransforms:r}=e,i=[];for(let a=0;a<r.length;a++){const o=r[a](t,e);if(o&&(Me(o)?i.push(...o):i.push(o)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(zr);break;case 5:e.ssr||e.helper(As);break;case 9:for(let a=0;a<t.branches.length;a++)Zr(t.branches[a],e);break;case 10:case 11:case 1:case 0:Ny(t,e);break}e.currentNode=t;let n=i.length;for(;n--;)i[n]()}function Rs(t,e){const r=ye(t)?i=>i===t:i=>t.test(i);return(i,n)=>{if(i.type===1){const{props:a}=i;if(i.tagType===3&&a.some(ho))return;const o=[];for(let h=0;h<a.length;h++){const c=a[h];if(c.type===7&&r(c.name)){a.splice(h,1),h--;const d=e(i,c,n);d&&o.push(d)}}return o}}}var Ds={},yo={},tn={},rn={},Ih;function Oy(){if(Ih)return rn;Ih=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return rn.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},rn.decode=function(e){var r=65,i=90,n=97,a=122,o=48,h=57,c=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=a?e-n+f:o<=e&&e<=h?e-o+m:e==c?62:e==d?63:-1},rn}var Nh;function Oh(){if(Nh)return tn;Nh=1;var t=Oy(),e=5,r=1<<e,i=r-1,n=r;function a(h){return h<0?(-h<<1)+1:(h<<1)+0}function o(h){var c=(h&1)===1,d=h>>1;return c?-d:d}return tn.encode=function(c){var d="",f,m=a(c);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},tn.decode=function(c,d,f){var m=c.length,g=0,b=0,x,v;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(v=t.decode(c.charCodeAt(d++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(d-1));x=!!(v&n),v&=i,g=g+(v<<b),b+=e}while(x);f.value=o(g),f.rest=d},tn}var bo={},kh;function Fs(){return kh||(kh=1,(function(t){function e(w,I,k){if(I in w)return w[I];if(arguments.length===3)return k;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(w){var I=w.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=n;function a(w){var I="";return w.scheme&&(I+=w.scheme+":"),I+="//",w.auth&&(I+=w.auth+"@"),w.host&&(I+=w.host),w.port&&(I+=":"+w.port),w.path&&(I+=w.path),I}t.urlGenerate=a;var o=32;function h(w){var I=[];return function(k){for(var M=0;M<I.length;M++)if(I[M].input===k){var z=I[0];return I[0]=I[M],I[M]=z,I[0].result}var X=w(k);return I.unshift({input:k,result:X}),I.length>o&&I.pop(),X}}var c=h(function(I){var k=I,M=n(I);if(M){if(!M.path)return I;k=M.path}for(var z=t.isAbsolute(k),X=[],Z=0,$=0;;)if(Z=$,$=k.indexOf("/",Z),$===-1){X.push(k.slice(Z));break}else for(X.push(k.slice(Z,$));$<k.length&&k[$]==="/";)$++;for(var Q,re=0,$=X.length-1;$>=0;$--)Q=X[$],Q==="."?X.splice($,1):Q===".."?re++:re>0&&(Q===""?(X.splice($+1,re),re=0):(X.splice($,2),re--));return k=X.join("/"),k===""&&(k=z?"/":"."),M?(M.path=k,a(M)):k});t.normalize=c;function d(w,I){w===""&&(w="."),I===""&&(I=".");var k=n(I),M=n(w);if(M&&(w=M.path||"/"),k&&!k.scheme)return M&&(k.scheme=M.scheme),a(k);if(k||I.match(i))return I;if(M&&!M.host&&!M.path)return M.host=I,a(M);var z=I.charAt(0)==="/"?I:c(w.replace(/\/+$/,"")+"/"+I);return M?(M.path=z,a(M)):z}t.join=d,t.isAbsolute=function(w){return w.charAt(0)==="/"||r.test(w)};function f(w,I){w===""&&(w="."),w=w.replace(/\/$/,"");for(var k=0;I.indexOf(w+"/")!==0;){var M=w.lastIndexOf("/");if(M<0||(w=w.slice(0,M),w.match(/^([^\/]+:\/)?\/*$/)))return I;++k}return Array(k+1).join("../")+I.substr(w.length+1)}t.relative=f;var m=(function(){var w=Object.create(null);return!("__proto__"in w)})();function g(w){return w}function b(w){return v(w)?"$"+w:w}t.toSetString=m?g:b;function x(w){return v(w)?w.slice(1):w}t.fromSetString=m?g:x;function v(w){if(!w)return!1;var I=w.length;if(I<9||w.charCodeAt(I-1)!==95||w.charCodeAt(I-2)!==95||w.charCodeAt(I-3)!==111||w.charCodeAt(I-4)!==116||w.charCodeAt(I-5)!==111||w.charCodeAt(I-6)!==114||w.charCodeAt(I-7)!==112||w.charCodeAt(I-8)!==95||w.charCodeAt(I-9)!==95)return!1;for(var k=I-10;k>=0;k--)if(w.charCodeAt(k)!==36)return!1;return!0}function y(w,I,k){var M=N(w.source,I.source);return M!==0||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositions=y;function T(w,I,k){var M;return M=w.originalLine-I.originalLine,M!==0||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositionsNoSource=T;function E(w,I,k){var M=w.generatedLine-I.generatedLine;return M!==0||(M=w.generatedColumn-I.generatedColumn,M!==0||k)||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflated=E;function C(w,I,k){var M=w.generatedColumn-I.generatedColumn;return M!==0||k||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=C;function N(w,I){return w===I?0:w===null?1:I===null?-1:w>I?1:-1}function A(w,I){var k=w.generatedLine-I.generatedLine;return k!==0||(k=w.generatedColumn-I.generatedColumn,k!==0)||(k=N(w.source,I.source),k!==0)||(k=w.originalLine-I.originalLine,k!==0)||(k=w.originalColumn-I.originalColumn,k!==0)?k:N(w.name,I.name)}t.compareByGeneratedPositionsInflated=A;function L(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=L;function R(w,I,k){if(I=I||"",w&&(w[w.length-1]!=="/"&&I[0]!=="/"&&(w+="/"),I=w+I),k){var M=n(k);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var z=M.path.lastIndexOf("/");z>=0&&(M.path=M.path.substring(0,z+1))}I=d(a(M),I)}return c(I)}t.computeSourceURL=R})(bo)),bo}var vo={},Lh;function Mh(){if(Lh)return vo;Lh=1;var t=Fs(),e=Object.prototype.hasOwnProperty,r=typeof Map!="undefined";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,o){for(var h=new i,c=0,d=a.length;c<d;c++)h.add(a[c],o);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var h=r?a:t.toSetString(a),c=r?this.has(a):e.call(this._set,h),d=this._array.length;(!c||o)&&this._array.push(a),c||(r?this._set.set(a,d):this._set[h]=d)},i.prototype.has=function(a){if(r)return this._set.has(a);var o=t.toSetString(a);return e.call(this._set,o)},i.prototype.indexOf=function(a){if(r){var o=this._set.get(a);if(o>=0)return o}else{var h=t.toSetString(a);if(e.call(this._set,h))return this._set[h]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},vo.ArraySet=i,vo}var So={},Rh;function ky(){if(Rh)return So;Rh=1;var t=Fs();function e(i,n){var a=i.generatedLine,o=n.generatedLine,h=i.generatedColumn,c=n.generatedColumn;return o>a||o==a&&c>=h||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,a){this._array.forEach(n,a)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},So.MappingList=r,So}var Dh;function Fh(){if(Dh)return yo;Dh=1;var t=Oh(),e=Fs(),r=Mh().ArraySet,i=ky().MappingList;function n(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(a,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(o,h){var c=o.sourceRoot,d=new n(Object.assign(h||{},{file:o.file,sourceRoot:c}));return o.eachMapping(function(f){var m={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(m.source=f.source,c!=null&&(m.source=e.relative(c,m.source)),m.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(m.name=f.name)),d.addMapping(m)}),o.sources.forEach(function(f){var m=f;c!==null&&(m=e.relative(c,f)),d._sources.has(m)||d._sources.add(m);var g=o.sourceContentFor(f);g!=null&&d.setSourceContent(f,g)}),d},n.prototype.addMapping=function(o){var h=e.getArg(o,"generated"),c=e.getArg(o,"original",null),d=e.getArg(o,"source",null),f=e.getArg(o,"name",null);!this._skipValidation&&this._validateMapping(h,c,d,f)===!1||(d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:d,name:f}))},n.prototype.setSourceContent=function(o,h){var c=o;this._sourceRoot!=null&&(c=e.relative(this._sourceRoot,c)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(c)]=h):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(o,h,c){var d=h;if(h==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=o.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,g=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var x=o.originalPositionFor({line:b.originalLine,column:b.originalColumn});x.source!=null&&(b.source=x.source,c!=null&&(b.source=e.join(c,b.source)),f!=null&&(b.source=e.relative(f,b.source)),b.originalLine=x.line,b.originalColumn=x.column,x.name!=null&&(b.name=x.name))}var v=b.source;v!=null&&!m.has(v)&&m.add(v);var y=b.name;y!=null&&!g.has(y)&&g.add(y)},this),this._sources=m,this._names=g,o.sources.forEach(function(b){var x=o.sourceContentFor(b);x!=null&&(c!=null&&(b=e.join(c,b)),f!=null&&(b=e.relative(f,b)),this.setSourceContent(b,x))},this)},n.prototype._validateMapping=function(o,h,c,d){if(h&&typeof h.line!="number"&&typeof h.column!="number"){var f="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!1;throw new Error(f)}if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!h&&!c&&!d)){if(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&c)return;var f="Invalid mapping: "+JSON.stringify({generated:o,source:c,original:h,name:d});if(this._ignoreInvalidMapping)return!1;throw new Error(f)}},n.prototype._serializeMappings=function(){for(var o=0,h=1,c=0,d=0,f=0,m=0,g="",b,x,v,y,T=this._mappings.toArray(),E=0,C=T.length;E<C;E++){if(x=T[E],b="",x.generatedLine!==h)for(o=0;x.generatedLine!==h;)b+=";",h++;else if(E>0){if(!e.compareByGeneratedPositionsInflated(x,T[E-1]))continue;b+=","}b+=t.encode(x.generatedColumn-o),o=x.generatedColumn,x.source!=null&&(y=this._sources.indexOf(x.source),b+=t.encode(y-m),m=y,b+=t.encode(x.originalLine-1-d),d=x.originalLine-1,b+=t.encode(x.originalColumn-c),c=x.originalColumn,x.name!=null&&(v=this._names.indexOf(x.name),b+=t.encode(v-f),f=v)),g+=b}return g},n.prototype._generateSourcesContent=function(o,h){return o.map(function(c){if(!this._sourcesContents)return null;h!=null&&(c=e.relative(h,c));var d=e.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},yo.SourceMapGenerator=n,yo}var Bs={},xo={},Bh;function Ly(){return Bh||(Bh=1,(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,a,o,h){var c=Math.floor((i-r)/2)+r,d=o(n,a[c],!0);return d===0?c:d>0?i-c>1?e(c,i,n,a,o,h):h==t.LEAST_UPPER_BOUND?i<a.length?i:-1:c:c-r>1?e(r,c,n,a,o,h):h==t.LEAST_UPPER_BOUND?c:r<0?-1:r}t.search=function(i,n,a,o){if(n.length===0)return-1;var h=e(-1,n.length,i,n,a,o||t.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&a(n[h],n[h-1],!0)===0;)--h;return h}})(xo)),xo}var Eo={},Uh;function My(){if(Uh)return Eo;Uh=1;function t(i){function n(h,c,d){var f=h[c];h[c]=h[d],h[d]=f}function a(h,c){return Math.round(h+Math.random()*(c-h))}function o(h,c,d,f){if(d<f){var m=a(d,f),g=d-1;n(h,m,f);for(var b=h[f],x=d;x<f;x++)c(h[x],b,!1)<=0&&(g+=1,n(h,g,x));n(h,g+1,x);var v=g+1;o(h,c,d,v-1),o(h,c,v+1,f)}}return o}function e(i){let n=t.toString();return new Function(`return ${n}`)()(i)}let r=new WeakMap;return Eo.quickSort=function(i,n,a=0){let o=r.get(n);o===void 0&&(o=e(n),r.set(n,o)),o(i,n,a,i.length-1)},Eo}var $h;function Ry(){if($h)return Bs;$h=1;var t=Fs(),e=Ly(),r=Mh().ArraySet,i=Oh(),n=My().quickSort;function a(m,g){var b=m;return typeof m=="string"&&(b=t.parseSourceMapInput(m)),b.sections!=null?new f(b,g):new o(b,g)}a.fromSourceMap=function(m,g){return o.fromSourceMap(m,g)},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(g,b){var x=g.charAt(b);return x===";"||x===","},a.prototype._parseMappings=function(g,b){throw new 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(g,b,x){var v=b||null,y=x||a.GENERATED_ORDER,T;switch(y){case a.GENERATED_ORDER:T=this._generatedMappings;break;case a.ORIGINAL_ORDER:T=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var E=this.sourceRoot,C=g.bind(v),N=this._names,A=this._sources,L=this._sourceMapURL,R=0,w=T.length;R<w;R++){var I=T[R],k=I.source===null?null:A.at(I.source);k=t.computeSourceURL(E,k,L),C({source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:N.at(I.name)})}},a.prototype.allGeneratedPositionsFor=function(g){var b=t.getArg(g,"line"),x={source:t.getArg(g,"source"),originalLine:b,originalColumn:t.getArg(g,"column",0)};if(x.source=this._findSourceIndex(x.source),x.source<0)return[];var v=[],y=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(y>=0){var T=this._originalMappings[y];if(g.column===void 0)for(var E=T.originalLine;T&&T.originalLine===E;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y];else for(var C=T.originalColumn;T&&T.originalLine===b&&T.originalColumn==C;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y]}return v},Bs.SourceMapConsumer=a;function o(m,g){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sources"),y=t.getArg(b,"names",[]),T=t.getArg(b,"sourceRoot",null),E=t.getArg(b,"sourcesContent",null),C=t.getArg(b,"mappings"),N=t.getArg(b,"file",null);if(x!=this._version)throw new Error("Unsupported version: "+x);T&&(T=t.normalize(T)),v=v.map(String).map(t.normalize).map(function(A){return T&&t.isAbsolute(T)&&t.isAbsolute(A)?t.relative(T,A):A}),this._names=r.fromArray(y.map(String),!0),this._sources=r.fromArray(v,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(T,A,g)}),this.sourceRoot=T,this.sourcesContent=E,this._mappings=C,this._sourceMapURL=g,this.file=N}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(m){var g=m;if(this.sourceRoot!=null&&(g=t.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var b;for(b=0;b<this._absoluteSources.length;++b)if(this._absoluteSources[b]==m)return b;return-1},o.fromSourceMap=function(g,b){var x=Object.create(o.prototype),v=x._names=r.fromArray(g._names.toArray(),!0),y=x._sources=r.fromArray(g._sources.toArray(),!0);x.sourceRoot=g._sourceRoot,x.sourcesContent=g._generateSourcesContent(x._sources.toArray(),x.sourceRoot),x.file=g._file,x._sourceMapURL=b,x._absoluteSources=x._sources.toArray().map(function(w){return t.computeSourceURL(x.sourceRoot,w,b)});for(var T=g._mappings.toArray().slice(),E=x.__generatedMappings=[],C=x.__originalMappings=[],N=0,A=T.length;N<A;N++){var L=T[N],R=new h;R.generatedLine=L.generatedLine,R.generatedColumn=L.generatedColumn,L.source&&(R.source=y.indexOf(L.source),R.originalLine=L.originalLine,R.originalColumn=L.originalColumn,L.name&&(R.name=v.indexOf(L.name)),C.push(R)),E.push(R)}return n(x.__originalMappings,t.compareByOriginalPositions),x},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const c=t.compareByGeneratedPositionsDeflatedNoLine;function d(m,g){let b=m.length,x=m.length-g;if(!(x<=1))if(x==2){let v=m[g],y=m[g+1];c(v,y)>0&&(m[g]=y,m[g+1]=v)}else if(x<20)for(let v=g;v<b;v++)for(let y=v;y>g;y--){let T=m[y-1],E=m[y];if(c(T,E)<=0)break;m[y-1]=E,m[y]=T}else n(m,c,g)}o.prototype._parseMappings=function(g,b){var x=1,v=0,y=0,T=0,E=0,C=0,N=g.length,A=0,L={},R=[],w=[],I,k,M,z;let X=0;for(;A<N;)if(g.charAt(A)===";")x++,A++,v=0,d(w,X),X=w.length;else if(g.charAt(A)===",")A++;else{for(I=new h,I.generatedLine=x,M=A;M<N&&!this._charIsMappingSeparator(g,M);M++);for(g.slice(A,M),k=[];A<M;)i.decode(g,A,L),z=L.value,A=L.rest,k.push(z);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=v+k[0],v=I.generatedColumn,k.length>1&&(I.source=E+k[1],E+=k[1],I.originalLine=y+k[2],y=I.originalLine,I.originalLine+=1,I.originalColumn=T+k[3],T=I.originalColumn,k.length>4&&(I.name=C+k[4],C+=k[4])),w.push(I),typeof I.originalLine=="number"){let $=I.source;for(;R.length<=$;)R.push(null);R[$]===null&&(R[$]=[]),R[$].push(I)}}d(w,X),this.__generatedMappings=w;for(var Z=0;Z<R.length;Z++)R[Z]!=null&&n(R[Z],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...R)},o.prototype._findMapping=function(g,b,x,v,y,T){if(g[x]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[x]);if(g[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[v]);return e.search(g,b,y,T)},o.prototype.computeColumnSpans=function(){for(var g=0;g<this._generatedMappings.length;++g){var b=this._generatedMappings[g];if(g+1<this._generatedMappings.length){var x=this._generatedMappings[g+1];if(b.generatedLine===x.generatedLine){b.lastGeneratedColumn=x.generatedColumn-1;continue}}b.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(g){var b={generatedLine:t.getArg(g,"line"),generatedColumn:t.getArg(g,"column")},x=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(x>=0){var v=this._generatedMappings[x];if(v.generatedLine===b.generatedLine){var y=t.getArg(v,"source",null);y!==null&&(y=this._sources.at(y),y=t.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var T=t.getArg(v,"name",null);return T!==null&&(T=this._names.at(T)),{source:y,line:t.getArg(v,"originalLine",null),column:t.getArg(v,"originalColumn",null),name:T}}}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(g){return g==null}):!1},o.prototype.sourceContentFor=function(g,b){if(!this.sourcesContent)return null;var x=this._findSourceIndex(g);if(x>=0)return this.sourcesContent[x];var v=g;this.sourceRoot!=null&&(v=t.relative(this.sourceRoot,v));var y;if(this.sourceRoot!=null&&(y=t.urlParse(this.sourceRoot))){var T=v.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!y.path||y.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(b)return null;throw new Error('"'+v+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(g){var b=t.getArg(g,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var x={source:b,originalLine:t.getArg(g,"line"),originalColumn:t.getArg(g,"column")},v=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(v>=0){var y=this._originalMappings[v];if(y.source===x.source)return{line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Bs.BasicSourceMapConsumer=o;function f(m,g){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sections");if(x!=this._version)throw new Error("Unsupported version: "+x);this._sources=new r,this._names=new r;var y={line:-1,column:0};this._sections=v.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var E=t.getArg(T,"offset"),C=t.getArg(E,"line"),N=t.getArg(E,"column");if(C<y.line||C===y.line&&N<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=E,{generatedOffset:{generatedLine:C+1,generatedColumn:N+1},consumer:new a(t.getArg(T,"map"),g)}})}return f.prototype=Object.create(a.prototype),f.prototype.constructor=a,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var m=[],g=0;g<this._sections.length;g++)for(var b=0;b<this._sections[g].consumer.sources.length;b++)m.push(this._sections[g].consumer.sources[b]);return m}}),f.prototype.originalPositionFor=function(g){var b={generatedLine:t.getArg(g,"line"),generatedColumn:t.getArg(g,"column")},x=e.search(b,this._sections,function(y,T){var E=y.generatedLine-T.generatedOffset.generatedLine;return E||y.generatedColumn-T.generatedOffset.generatedColumn}),v=this._sections[x];return v?v.consumer.originalPositionFor({line:b.generatedLine-(v.generatedOffset.generatedLine-1),column:b.generatedColumn-(v.generatedOffset.generatedLine===b.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:g.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(g){return g.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(g,b){for(var x=0;x<this._sections.length;x++){var v=this._sections[x],y=v.consumer.sourceContentFor(g,!0);if(y||y==="")return y}if(b)return null;throw new Error('"'+g+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(g){for(var b=0;b<this._sections.length;b++){var x=this._sections[b];if(x.consumer._findSourceIndex(t.getArg(g,"source"))!==-1){var v=x.consumer.generatedPositionFor(g);if(v){var y={line:v.line+(x.generatedOffset.generatedLine-1),column:v.column+(x.generatedOffset.generatedLine===v.line?x.generatedOffset.generatedColumn-1:0)};return y}}}return{line:null,column:null}},f.prototype._parseMappings=function(g,b){this.__generatedMappings=[],this.__originalMappings=[];for(var x=0;x<this._sections.length;x++)for(var v=this._sections[x],y=v.consumer._generatedMappings,T=0;T<y.length;T++){var E=y[T],C=v.consumer._sources.at(E.source);C=t.computeSourceURL(v.consumer.sourceRoot,C,this._sourceMapURL),this._sources.add(C),C=this._sources.indexOf(C);var N=null;E.name&&(N=v.consumer._names.at(E.name),this._names.add(N),N=this._names.indexOf(N));var A={source:C,generatedLine:E.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(v.generatedOffset.generatedLine===E.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:N};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},Bs.IndexedSourceMapConsumer=f,Bs}var wo={},qh;function Dy(){if(qh)return wo;qh=1;var t=Fh().SourceMapGenerator,e=Fs(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function a(o,h,c,d,f){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=h==null?null:h,this.source=c==null?null:c,this.name=f==null?null:f,this[n]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(h,c,d){var f=new a,m=h.split(r),g=0,b=function(){var E=N(),C=N()||"";return E+C;function N(){return g<m.length?m[g++]:void 0}},x=1,v=0,y=null;return c.eachMapping(function(E){if(y!==null)if(x<E.generatedLine)T(y,b()),x++,v=0;else{var C=m[g]||"",N=C.substr(0,E.generatedColumn-v);m[g]=C.substr(E.generatedColumn-v),v=E.generatedColumn,T(y,N),y=E;return}for(;x<E.generatedLine;)f.add(b()),x++;if(v<E.generatedColumn){var C=m[g]||"";f.add(C.substr(0,E.generatedColumn)),m[g]=C.substr(E.generatedColumn),v=E.generatedColumn}y=E},this),g<m.length&&(y&&T(y,b()),f.add(m.splice(g).join(""))),c.sources.forEach(function(E){var C=c.sourceContentFor(E);C!=null&&(d!=null&&(E=e.join(d,E)),f.setSourceContent(E,C))}),f;function T(E,C){if(E===null||E.source===void 0)f.add(C);else{var N=d?e.join(d,E.source):E.source;f.add(new a(E.originalLine,E.originalColumn,N,C,E.name))}}},a.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(c){this.add(c)},this);else if(h[n]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.prepend=function(h){if(Array.isArray(h))for(var c=h.length-1;c>=0;c--)this.prepend(h[c]);else if(h[n]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.walk=function(h){for(var c,d=0,f=this.children.length;d<f;d++)c=this.children[d],c[n]?c.walk(h):c!==""&&h(c,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(h){var c,d,f=this.children.length;if(f>0){for(c=[],d=0;d<f-1;d++)c.push(this.children[d]),c.push(h);c.push(this.children[d]),this.children=c}return this},a.prototype.replaceRight=function(h,c){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(h,c):typeof d=="string"?this.children[this.children.length-1]=d.replace(h,c):this.children.push("".replace(h,c)),this},a.prototype.setSourceContent=function(h,c){this.sourceContents[e.toSetString(h)]=c},a.prototype.walkSourceContents=function(h){for(var c=0,d=this.children.length;c<d;c++)this.children[c][n]&&this.children[c].walkSourceContents(h);for(var f=Object.keys(this.sourceContents),c=0,d=f.length;c<d;c++)h(e.fromSetString(f[c]),this.sourceContents[f[c]])},a.prototype.toString=function(){var h="";return this.walk(function(c){h+=c}),h},a.prototype.toStringWithSourceMap=function(h){var c={code:"",line:1,column:0},d=new t(h),f=!1,m=null,g=null,b=null,x=null;return this.walk(function(v,y){c.code+=v,y.source!==null&&y.line!==null&&y.column!==null?((m!==y.source||g!==y.line||b!==y.column||x!==y.name)&&d.addMapping({source:y.source,original:{line:y.line,column:y.column},generated:{line:c.line,column:c.column},name:y.name}),m=y.source,g=y.line,b=y.column,x=y.name,f=!0):f&&(d.addMapping({generated:{line:c.line,column:c.column}}),m=null,f=!1);for(var T=0,E=v.length;T<E;T++)v.charCodeAt(T)===i?(c.line++,c.column=0,T+1===E?(m=null,f=!1):f&&d.addMapping({source:y.source,original:{line:y.line,column:y.column},generated:{line:c.line,column:c.column},name:y.name})):c.column++}),this.walkSourceContents(function(v,y){d.setSourceContent(v,y)}),{code:c.code,map:d}},wo.SourceNode=a,wo}var jh;function Fy(){return jh||(jh=1,Ds.SourceMapGenerator=Fh().SourceMapGenerator,Ds.SourceMapConsumer=Ry().SourceMapConsumer,Ds.SourceNode=Dy().SourceNode),Ds}var Us=Fy();const sn="/*@__PURE__*/",nn=t=>`${ut[t]}: _${ut[t]}`;function Vh(t,{mode:e="function",prefixIdentifiers:r=e==="module",sourceMap:i=!1,filename:n="template.vue.html",scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:h="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:d="vue/server-renderer",ssr:f=!1,isTS:m=!1,inSSR:g=!1}){const b={mode:e,prefixIdentifiers:r,sourceMap:i,filename:n,scopeId:a,optimizeImports:o,runtimeGlobalName:h,runtimeModuleName:c,ssrRuntimeModuleName:d,ssr:f,isTS:m,inSSR:g,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(y){return`_${ut[y]}`},push(y,T=-2,E){if(b.code+=y,b.map){if(E){let C;if(E.type===4&&!E.isStatic){const N=E.content.replace(/^_ctx\./,"");N!==E.content&&Xt(N)&&(C=N)}v(E.loc.start,C)}T===-3?lo(b,y):(b.offset+=y.length,T===-2?b.column+=y.length:(T===-1&&(T=y.length-1),b.line++,b.column=y.length-T)),E&&E.loc!==Ne&&v(E.loc.end)}},indent(){x(++b.indentLevel)},deindent(y=!1){y?--b.indentLevel:x(--b.indentLevel)},newline(){x(b.indentLevel)}};function x(y){b.push(`
|
|
27
|
-
`+" ".repeat(y),0)}function v(y,T=null){const{_names:E,_mappings:C}=b.map;T!==null&&!E.has(T)&&E.add(T),C.add({originalLine:y.line,originalColumn:y.column-1,generatedLine:b.line,generatedColumn:b.column-1,source:n,name:T})}return i&&(b.map=new Us.SourceMapGenerator,b.map.setSourceContent(n,b.source),b.map._sources.add(n)),b}function To(t,e={}){const r=Vh(t,e);e.onContextCreated&&e.onContextCreated(r);const{mode:i,push:n,prefixIdentifiers:a,indent:o,deindent:h,newline:c,scopeId:d,ssr:f}=r,m=Array.from(t.helpers),g=m.length>0,b=!a&&i!=="module",x=d!=null&&i==="module",v=!!e.inline,y=v?Vh(t,e):r;i==="module"?Uy(t,y,x,v):By(t,y);const T=f?"ssrRender":"render",E=f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];e.bindingMetadata&&!e.inline&&E.push("$props","$setup","$data","$options");const C=e.isTS?E.map(N=>`${N}: any`).join(","):E.join(", ");if(n(v?`(${C}) => {`:`function ${T}(${C}) {`),o(),b&&(n("with (_ctx) {"),o(),g&&(n(`const { ${m.map(nn).join(", ")} } = _Vue
|
|
28
|
-
`,-1),c())),t.components.length&&(Gh(t.components,"component",r),(t.directives.length||t.temps>0)&&c()),t.directives.length&&(Gh(t.directives,"directive",r),t.temps>0&&c()),t.temps>0){n("let ");for(let N=0;N<t.temps;N++)n(`${N>0?", ":""}_temp${N}`)}return(t.components.length||t.directives.length||t.temps)&&(n(`
|
|
29
|
-
|
|
30
|
-
`,-1)
|
|
31
|
-
|
|
32
|
-
`,-1)
|
|
33
|
-
`,-1),
|
|
34
|
-
`,-1),
|
|
16
|
+
`):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):rt(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=tt[this.input.slice(e,this.state.pos)];if(++this.state.pos,t)return t}}return this.state.pos=e,`&`}jsxReadWord(){let e,t=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(je(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:fe(this.state.type)?e.name=ve(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(ct.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(ct.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()}lt(r)&&!lt(i)&&i!==null?this.raise(ct.MissingClosingTagFragment,i):(!lt(r)&<(i)||!lt(r)&&!lt(i)&&ut(i.name)!==ut(r.name))&&this.raise(ct.MissingClosingTagElement,i,{openingTagName:ut(r.name)})}if(lt(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=n,this.match(47))throw this.raise(ct.UnwrappedAdjacentJSXElements,this.state.startLoc);return lt(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(Ae(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=se(n)}};class ft extends We{constructor(...e){super(...e),this.tsNames=new Map}}class pt extends Ge{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new ft(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 mt{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 ht(e,t){return(e?2:0)|!!t}class gt{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==null?void 0:r[e])!==n[e])return!1;return!0}}getPluginOption(e,t){var n;return(n=this.plugins.get(e))==null?void 0:n[t]}}function _t(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function vt(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function yt(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function bt(e,t,n){let r=null,i=t.length;for(;r===null&&i>0;)r=t[--i];r===null||r.start>n.start?yt(e,n.comments):_t(r,n.comments)}class xt extends gt{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){var t;let{comments:n}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&_t(e.leadingNode,n),e.trailingNode!==null&&vt(e.trailingNode,n);else{let r=e.containingNode,i=e.start;if(this.input.charCodeAt(this.offsetToSourcePos(i)-1)===44)switch(r.type){case`ObjectExpression`:case`ObjectPattern`:bt(r,r.properties,e);break;case`CallExpression`:case`OptionalCallExpression`:bt(r,r.arguments,e);break;case`ImportExpression`:bt(r,[r.source,(t=r.options)==null?null:t],e);break;case`FunctionDeclaration`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`ObjectMethod`:case`ClassMethod`:case`ClassPrivateMethod`:bt(r,r.params,e);break;case`ArrayExpression`:case`ArrayPattern`:bt(r,r.elements,e);break;case`ExportNamedDeclaration`:case`ImportDeclaration`:bt(r,r.specifiers,e);break;case`TSEnumDeclaration`:bt(r,r.members,e);break;case`TSEnumBody`:bt(r,r.members,e);break;default:if(r.type===`RecordExpression`){bt(r,r.properties,e);break}if(r.type===`TupleExpression`){bt(r,r.elements,e);break}yt(r,n)}else yt(r,n)}}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 St{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?!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 St;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 Ct=function(e){return e>=48&&e<=57};let wt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Tt={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 Et(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(Dt(e,p,t,n)){l+=t.slice(d,n);break}if(p===92){l+=t.slice(d,n);let o=Ot(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)+`
|
|
17
|
+
`,++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 Dt(e,t,n,r){return e===`template`?t===96||t===36&&n.charCodeAt(r+1)===123:t===(e===`double`?34:39)}function Ot(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(`
|
|
18
|
+
`);case 114:return s(`\r`);case 120:{let i;return{code:i,pos:t}=kt(e,t,n,r,2,!1,o,a),s(i===null?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=jt(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 kt(e,t,n,r,i,a,o,s){let c=t,l;return{n:l,pos:t}=At(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 At(e,t,n,r,i,a,o,s,c,l){let u=t,d=i===16?wt.hex:wt.decBinOct,f=i===16?Tt.hex:i===10?Tt.dec:i===8?Tt.oct:Tt.bin,p=!1,m=0;for(let u=0,h=a==null?1/0:a;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:Ct(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 jt(e,t,n,r,i,a){let o=e.charCodeAt(t),s;if(o===123){if(++t,{code:s,pos:t}=kt(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}=kt(e,t,n,r,4,!1,i,a));return{code:s,pos:t}}function Mt(e,n,r){return new t(r,e-n,e)}let R=new Set([103,109,115,105,121,117,100,118]);class Nt{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 Pt extends xt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,n,r)=>this.optionFlags&2048?(this.raise(_.InvalidDigit,Mt(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,Mt(e,t,n))},unterminated:(e,t,n)=>{throw this.raise(_.UnterminatedString,Mt(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,Mt(e,t,n))}}),this.state=new St,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 Nt(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 at.lastIndex=e,at.test(this.input)?at.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 ot.lastIndex=e,ot.test(this.input)?ot.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,nt.lastIndex=r+2;nt.test(this.input)&&nt.lastIndex<=i;)++this.state.curLine,this.state.lineStart=nt.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(;!rt(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==null||t.push(e));break}case 47:{let e=this.skipLineComment(2);e!==void 0&&(this.addComment(e),t==null||t.push(e));break}default:break loop}break;default:if(st(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==null||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==null||t.push(e))}else break loop}else break loop}}if((t==null?void 0: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 Ae(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;!rt(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(Ae(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(rt(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(R.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(je(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}=At(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==null&&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(Ae(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(Ae(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}=jt(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}=Et(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}=Et(`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(je(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?Ae:je;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=D.get(t);n===void 0?this.finishToken(132,t):this.finishToken(n,ve(n))}checkKeywordEscapes(){let{type:e}=this.state;fe(e)&&this.state.containsEsc&&this.raise(_.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:ve(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==null?this.state.startLoc:e,{expected:t?ve(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(_.MissingPlugin,t==null?this.state.startLoc:t,{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,Mt(t,n,r))}}}class Ft{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class It{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 Ft)}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 z{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class B extends z{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 Lt{constructor(e){this.parser=void 0,this.stack=[new z],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 Rt(){return new z(3)}function V(){return new B(1)}function zt(){return new B(2)}function Bt(){return new z}class Vt extends Pt{addExtra(e,t,n,r=!0){if(!e)return;let{extra:i}=e;i==null&&(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!(je(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 it(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return it(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 oe(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;this.scope=new(this.getScopeHandler())(this,e);let a=this.prodParam;this.prodParam=new mt;let o=this.classScope;this.classScope=new It(this);let s=this.expressionScope;return this.expressionScope=new Lt(this),()=>{this.state.labels=t,this.exportedIdentifiers=n,this.inModule=r,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=s}}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 Ht{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class Ut{constructor(e,t,r){this.type=``,this.start=t,this.end=0,this.loc=new n(r),(e==null?void 0:e.optionFlags)&128&&(this.range=[t,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}}let Wt=Ut.prototype;Wt.__clone=function(){let e=new Ut(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 Gt extends Vt{startNode(){let e=this.state.startLoc;return new Ut(this,e.index,e)}startNodeAt(e){return new Ut(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(Wt);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(Wt);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 Kt=e=>e.type===`ParenthesizedExpression`?Kt(e.expression):e;class qt extends Gt{toAssignable(e,t=!1){var n,r;let i;switch((e.type===`ParenthesizedExpression`||(n=e.extra)!=null&&n.parenthesized)&&(i=Kt(e),t?i.type===`Identifier`?this.expressionScope.recordArrowParameterBindingError(_.InvalidParenthesizedAssignment,e):i.type!==`CallExpression`&&i.type!==`MemberExpression`&&!this.isOptionalMemberExpression(i)&&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,i=r-1;n<r;n++){var a;let r=e.properties[n],o=n===i;this.toAssignableObjectExpressionProp(r,o,t),o&&r.type===`RestElement`&&(a=e.extra)!=null&&a.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,(r=e.extra)==null?void 0:r.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(i,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==null?void 0: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!=null||(e=this.state.startLoc),t=t==null?this.parseBindingAtom():t,!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=Kt(e);o||(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?ze(e.name,this.inModule):Re(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 Jt=/in(?:stanceof)?|as|satisfies/y;function Yt(e){if(e==null)throw Error(`Unexpected ${e} value.`);return e}function Xt(e){if(!e)throw Error(`Assert fail`)}let H=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 Zt(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 Qt(e){return e===`private`||e===`public`||e===`protected`}function $t(e){return e===`in`||e===`out`}var en=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:H.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:[`const`],disallowedModifiers:[`in`,`out`],errorTemplate:H.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`,`const`],disallowedModifiers:[`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:H.InvalidModifierOnTypeParameter})}getScopeHandler(){return pt}tsIsIdentifier(){return I(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()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,t,n){if(!I(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=H.InvalidModifierOnTypeMember},i){let a=(e,t,n,r)=>{t===n&&i[r]&&this.raise(H.InvalidModifiersOrder,e,{orderedModifiers:[n,r]})},o=(e,t,n,r)=>{(i[n]&&t===r||i[r]&&t===n)&&this.raise(H.IncompatibleModifiers,e,{modifiers:[n,r]})};for(;;){let{startLoc:s}=this.state,c=this.tsParseModifier(e.concat(t==null?[]:t),n,i.static);if(!c)break;Qt(c)?i.accessibility?this.raise(H.DuplicateAccessibilityModifier,s,{modifier:c}):(a(s,c,c,`override`),a(s,c,c,`static`),a(s,c,c,`readonly`),i.accessibility=c):$t(c)?(i[c]&&this.raise(H.DuplicateModifier,s,{modifier:c}),i[c]=!0,a(s,c,`in`,`out`)):(hasOwnProperty.call(i,c)?this.raise(H.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 Yt(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(H.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;I(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(H.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(H.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(),I(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(H.ReadonlyForMethodSignature,e);let n=e;n.kind&&this.match(47)&&this.raise(H.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(H.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(H.AccessorCannotDeclareThisParameter,this.state.curPosition()),e.type===`Identifier`&&e.optional&&this.raise(H.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),e.type===`RestElement`&&this.raise(H.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n[i]&&this.raise(H.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(H.OptionalTypeBeforeRequired,e),t||(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=ae(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(H.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAt(n),e.optional=a,this.raise(H.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(I(e)||e===88||e===84){let t=e===88?`TSVoidKeyword`:e===84?`TSNullKeyword`:Zt(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(H.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 ge(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(I(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(e){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(e){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(),!I(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(){Xt(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(H.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(H.EmptyHeritageClauseType,t,{token:e}),n}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),I(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(H.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(H.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(H.InvalidModifierOnUsingDeclaration,this.state.startLoc,`declare`),e.declare=!0,this.parseVarStatement(e,`using`,!0);break;case 96:if(this.isAwaitUsing())return this.raise(H.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(I(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)||I(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case 127:if(this.tsCheckLineTerminator(n)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(I(this.state.type))return e.kind=`module`,this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(n)&&I(this.state.type))return e.kind=`namespace`,this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(n)&&I(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(H.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===T.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,`TSTypeParameterInstantiation`)}tsIsDeclarationStart(){return _e(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1: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(H.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(H.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(H.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(H.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==null?void 0:e.type)===`TSTypeCastExpression`&&this.raise(H.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(xe(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&&ce(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(H.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(ye(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(H.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(I(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(H.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(H.UsingDeclarationInAmbientContext,e,t),i;for(let{id:e,init:n}of i.declarations)n&&(t===`var`||t===`let`||e.typeAnnotation?this.raise(H.InitializerNotAllowedInAmbientContext,n):nn(n,this.hasPlugin(`estree`))||this.raise(H.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=>Qt(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:H.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(H.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(H.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(H.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(H.IndexSignatureHasDeclare,t),t.override&&this.raise(H.IndexSignatureHasOverride,t);return}!this.state.inAbstractClass&&t.abstract&&this.raise(H.NonAbstractClassHasAbstractMethod,t),t.override&&(n.hadSuperClass||this.raise(H.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,n,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(H.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(H.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(H.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let r=I(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(H.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:t}=e;this.raise(H.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(H.PrivateElementHasAbstract,e),e.accessibility&&this.raise(H.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(H.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,n,r,i,a){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(H.ConstructorHasTypeParameters,o);let{declare:s=!1,kind:c}=t;s&&(c===`get`||c===`set`)&&this.raise(H.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,a,o;let s,c,l;if(this.hasPlugin(`jsx`)&&(this.match(143)||this.match(47))){if(s=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(e,t),s),!c.error)return c.node;let{context:n}=this.state,r=n[n.length-1];(r===T.j_oTag||r===T.j_expr)&&n.pop()}if(!((n=c)!=null&&n.error)&&!this.match(47))return super.parseMaybeAssign(e,t);(!s||s===this.state)&&(s=this.state.clone());let u,d=this.tryParse(n=>{var r,i;u=this.tsParseTypeParameters(this.tsParseConstModifier);let a=super.parseMaybeAssign(e,t);return(a.type!==`ArrowFunctionExpression`||(r=a.extra)!=null&&r.parenthesized)&&n(),((i=u)==null?void 0:i.params.length)!==0&&this.resetStartLocationFromNode(a,u),a.typeParameters=u,a},s);if(!d.error&&!d.aborted)return u&&this.reportReservedArrowTypeParam(u),d.node;if(!c&&(Xt(!this.hasPlugin(`jsx`)),l=this.tryParse(()=>super.parseMaybeAssign(e,t),s),!l.error))return l.node;if((r=c)!=null&&r.node)return this.state=c.failState,c.node;if(d.node)return this.state=d.failState,u&&this.reportReservedArrowTypeParam(u),d.node;if((i=l)!=null&&i.node)return this.state=l.failState,l.node;throw((a=c)==null?void 0:a.error)||d.error||((o=l)==null?void 0:o.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(H.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(H.UnexpectedTypeCastInParameter,e):this.raise(H.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(H.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(H.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(H.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();ae(this.state.type)?(s=!0,a=e,o=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(o=n,c=!1)}else ae(this.state.type)?(c=!1,o=t?this.parseIdentifier():this.parseModuleExportName()):(s=!0,a=e)}else ae(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?H.TypeModifierIsUsedInTypeImports:H.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!=null||(e.directive=void 0);return;case`RestElement`:e.value=void 0;case`Identifier`:case`ArrayPattern`:case`AssignmentPattern`:case`ObjectPattern`:e.decorators!=null||(e.decorators=[]),e.optional!=null||(e.optional=!1),e.typeAnnotation!=null||(e.typeAnnotation=void 0);return;case`TSParameterProperty`:e.accessibility!=null||(e.accessibility=void 0),e.decorators!=null||(e.decorators=[]),e.override!=null||(e.override=!1),e.readonly!=null||(e.readonly=!1),e.static!=null||(e.static=!1);return;case`TSEmptyBodyFunctionExpression`:e.body=null;case`TSDeclareFunction`:case`FunctionDeclaration`:case`FunctionExpression`:case`ClassMethod`:case`ClassPrivateMethod`:e.declare!=null||(e.declare=!1),e.returnType!=null||(e.returnType=void 0),e.typeParameters!=null||(e.typeParameters=void 0);return;case`Property`:e.optional!=null||(e.optional=!1);return;case`TSMethodSignature`:case`TSPropertySignature`:e.optional!=null||(e.optional=!1);case`TSIndexSignature`:e.accessibility!=null||(e.accessibility=void 0),e.readonly!=null||(e.readonly=!1),e.static!=null||(e.static=!1);return;case`TSAbstractPropertyDefinition`:case`PropertyDefinition`:case`TSAbstractAccessorProperty`:case`AccessorProperty`:e.declare!=null||(e.declare=!1),e.definite!=null||(e.definite=!1),e.readonly!=null||(e.readonly=!1),e.typeAnnotation!=null||(e.typeAnnotation=void 0);case`TSAbstractMethodDefinition`:case`MethodDefinition`:e.accessibility!=null||(e.accessibility=void 0),e.decorators!=null||(e.decorators=[]),e.override!=null||(e.override=!1),e.optional!=null||(e.optional=!1);return;case`ClassExpression`:e.id!=null||(e.id=null);case`ClassDeclaration`:e.abstract!=null||(e.abstract=!1),e.declare!=null||(e.declare=!1),e.decorators!=null||(e.decorators=[]),e.implements!=null||(e.implements=[]),e.superTypeArguments!=null||(e.superTypeArguments=void 0),e.typeParameters!=null||(e.typeParameters=void 0);return;case`TSTypeAliasDeclaration`:case`VariableDeclaration`:e.declare!=null||(e.declare=!1);return;case`VariableDeclarator`:e.definite!=null||(e.definite=!1);return;case`TSEnumDeclaration`:e.const!=null||(e.const=!1),e.declare!=null||(e.declare=!1);return;case`TSEnumMember`:e.computed!=null||(e.computed=!1);return;case`TSImportType`:e.qualifier!=null||(e.qualifier=null),e.options!=null||(e.options=null);return;case`TSInterfaceDeclaration`:e.declare!=null||(e.declare=!1),e.extends!=null||(e.extends=[]);return;case`TSMappedType`:e.optional!=null||(e.optional=!1),e.readonly!=null||(e.readonly=void 0);return;case`TSModuleDeclaration`:e.declare!=null||(e.declare=!1),e.global!=null||(e.global=e.kind===`global`);return;case`TSTypeParameter`:e.const!=null||(e.const=!1),e.in!=null||(e.in=!1),e.out!=null||(e.out=!1);return}}chStartsBindingIdentifierAndNotRelationalOperator(e,t){if(Ae(e)){if(Jt.lastIndex=t,Jt.test(this.input)){let e=this.codePointAtPos(Jt.lastIndex);if(!je(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 tn(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:on(e.object)}function nn(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!!(rn(e,t)||an(e,t)||r===`TemplateLiteral`&&e.expressions.length===0||tn(e))}function rn(e,t){return t?e.type===`Literal`&&(typeof e.value==`number`||`bigint`in e):e.type===`NumericLiteral`||e.type===`BigIntLiteral`}function an(e,t){if(e.type===`UnaryExpression`){let{operator:n,argument:r}=e;if(n===`-`&&rn(r,t))return!0}return!1}function on(e){return e.type===`Identifier`?!0:e.type!==`MemberExpression`||e.computed?!1:on(e.object)}let sn=g`placeholders`({ClassNameIsRequired:`A class name is required.`,UnexpectedSpace:`Unexpected space in placeholder.`});var cn=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){var n;((n=e.label)==null?void 0:n.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(sn.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(ve(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(sn.UnexpectedSpace,this.state.lastTokEndLoc)}},ln=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),I(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 un=[`minimal`,`fsharp`,`hack`,`smart`],dn=[`^^`,`@@`,`^`,`%`,`#`];function fn(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`)){var t;let r=e.get(`pipelineOperator`).proposal;if(!un.includes(r)){let e=un.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}if(r===`hack`){var n;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(!dn.includes(t)){let e=dn.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===`#`&&((n=e.get(`recordAndTuple`))==null?void 0:n.syntaxType)===`hash`)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify([`recordAndTuple`,e.get(`recordAndTuple`)])}\`.`)}else if(r===`smart`&&((t=e.get(`recordAndTuple`))==null?void 0:t.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 pn={estree:C,jsx:dt,flow:et,typescript:en,v8intrinsic:ln,placeholders:cn},mn=Object.keys(pn);class hn extends qt{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 Ht,i=!0);let{type:a}=this.state;(a===10||I(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,n)),le(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`)?ce(e):ce(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>=ye(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(pe(r)&&(this.prodParam.hasIn||!this.match(58))){let i=ye(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=ye(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,be(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(he(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`)?ce(e):ce(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(;me(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(xe(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(zt()),a=new Ht),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){var n;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,(n=t.extra)==null?void 0:n.trailingCommaLoc),t.innerComments&&yt(e,t.innerComments),t.callee.trailingComments&&yt(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 Ae(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(I(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(I(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:ve(r)})}testTopicReferenceConfiguration(e,t,n){switch(e){case`hack`:return this.hasPlugin([`pipelineOperator`,{topicToken:ve(n)}]);case`smart`:return n===27;default:throw this.raise(_.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(ht(!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(V());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 Ht,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,`
|
|
19
|
+
`),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){var t;let n=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==n&&this.raise(e.kind===`get`?_.BadGetterArity:_.BadSetterArity,e),e.kind===`set`&&((t=r[r.length-1])==null?void 0:t.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(ae(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(ht(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=ht(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(Bt()),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;ae(r)?t=this.state.value:this.unexpected();let i=ie(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)&&Ue(e)){if(n&&Be(e)){this.raise(_.UnexpectedKeyword,t,{keyword:e});return}if((this.state.strict?r?ze:Le:Ie)(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||xe(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 gn={kind:1},_n={kind:2},U=/[\uD800-\uDFFF]/u,vn=/in(?:stanceof)?/y;function yn(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 Nt({type:Se(27),value:`#`,start:n,end:c,startLoc:t.start,endLoc:l}),new Nt({type:Se(132),value:o,start:c,end:s,startLoc:l,endLoc:t.end})),i++;continue}if(xe(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 Nt({type:Se(22),value:"`",start:c,end:d,startLoc:s.start,endLoc:f}):new Nt({type:Se(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 Nt({type:Se(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 Nt({type:Se(23),value:"${",start:h,end:u,startLoc:g,endLoc:s.end})),e.splice(i,1,p,new Nt({type:Se(20),value:m,start:d,end:h,startLoc:f,endLoc:g}),_),i+=2;continue}a.type=Se(o)}}return e}class bn extends hn{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=yn(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(Ae(e)){if(vn.lastIndex=t,vn.test(this.input)){let e=this.codePointAtPos(vn.lastIndex);if(!je(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 I(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(gn),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(gn);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 Ht,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(_n),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(gn),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=de(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==null||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(ht(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||I(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(Rt()),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&&I(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(Bt()),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(I(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){var d;let n=e;if(this.checkExport(n,!0,!1,!!n.source),((d=n.declaration)==null?void 0:d.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==null?void 0: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!=null||(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||(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(I(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||I(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||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,`ExportSpecifier`)}parseModuleExportName(){if(this.match(134)){let e=this.parseStringLiteral(this.state.value),t=U.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?!1: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;if(e.phase===`source`)n!==`ImportDefaultSpecifier`&&this.raise(_.SourcePhaseImportRequiresDefault,t[0].loc.start);else if(e.phase===`defer`)n!==`ImportNamespaceSpecifier`&&this.raise(_.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var r;n!==`ImportDefaultSpecifier`&&this.raise(_.ImportReflectionNotBinding,t[0].loc.start),((r=e.assertions)==null?void 0:r.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(ae(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 I(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!=null||(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(ae(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||(e.local=this.cloneIdentifier(n))}return this.finishImportSpecifier(e,`ImportSpecifier`,i)}isThisParam(e){return e.type===`Identifier`&&e.name===`this`}}class xn extends bn{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 Ge}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 Sn(e,t){var n;if(((n=t)==null?void 0:n.sourceType)===`unambiguous`){t=Object.assign({},t);try{t.sourceType=`module`;let n=En(t,e),r=n.parse();if(n.sawUnambiguousESM)return r;if(n.ambiguousScriptDifferentAst)try{return t.sourceType=`script`,En(t,e).parse()}catch(e){}else r.program.sourceType=`script`;return r}catch(n){try{return t.sourceType=`script`,En(t,e).parse()}catch(e){}throw n}}else return En(t,e).parse()}function Cn(e,t){let n=En(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function wn(e){let t={};for(let n of Object.keys(e))t[n]=Se(e[n]);return t}let Tn=wn(re);function En(e,t){let n=xn,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||{})}fn(r),n=On(r)}return new n(e,t,r)}let Dn=new Map;function On(e){let t=[];for(let n of mn)e.has(n)&&t.push(n);let n=t.join(`|`),r=Dn.get(n);if(!r){r=xn;for(let e of t)r=pn[e](r);Dn.set(n,r)}return r}return Yr.parse=Sn,Yr.parseExpression=Cn,Yr.tokTypes=Tn,Yr}var Qr=Zr(),$r=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))}},ei=class extends $r{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 ti(e,{enter:t,leave:n}){return new ei(t,n).visit(e,null)}function ni(e,t,n=!1,r=[],i=Object.create(null)){let a=e.type===`Program`?e.body[0].type===`ExpressionStatement`&&e.body[0].expression:e;ti(e,{enter(e,a){if(a&&r.push(a),a&&a.type.startsWith(`TS`)&&!vi.includes(a.type))return this.skip();if(e.type===`Identifier`){let o=!!i[e.name],s=ri(e,a,r);(n||s&&!o)&&t(e,a,r,s,o)}else if(e.type===`ObjectProperty`&&(a==null?void 0:a.type)===`ObjectPattern`)e.inPattern=!0;else if(mi(e))e.scopeIds?e.scopeIds.forEach(e=>fi(e,i)):oi(e,t=>pi(e,t,i));else if(e.type===`BlockStatement`)e.scopeIds?e.scopeIds.forEach(e=>fi(e,i)):si(e,t=>pi(e,t,i));else if(e.type===`SwitchStatement`)e.scopeIds?e.scopeIds.forEach(e=>fi(e,i)):ui(e,!1,t=>pi(e,t,i));else if(e.type===`CatchClause`&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>fi(e,i));else for(let t of di(e.param))pi(e,t,i);else ci(e)&&(e.scopeIds?e.scopeIds.forEach(e=>fi(e,i)):li(e,!1,t=>pi(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 ri(e,t,n){if(!t)return!0;if(e.name===`arguments`)return!1;if(_i(e,t,n[n.length-2]))return!0;switch(t.type){case`AssignmentExpression`:case`AssignmentPattern`:return!0;case`ObjectProperty`:return t.key!==e&&ii(t,n);case`ArrayPattern`:return ii(t,n)}return!1}function ii(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 ai(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 oi(e,t){for(let n of e.params)for(let e of di(n))t(e)}function si(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 di(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else ci(e)?li(e,!0,t):e.type===`SwitchStatement`&&ui(e,!0,t)}function ci(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function li(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 di(e.id))n(t)}function ui(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 di(t.id))n(e);si(r,n)}}function di(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`?di(n.argument,t):di(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&di(e,t)});break;case`RestElement`:di(e.argument,t);break;case`AssignmentPattern`:di(e.left,t);break}return t}function fi(e,t){e in t?t[e]++:t[e]=1}function pi(e,t,n){let{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(fi(r,n),(e.scopeIds||(e.scopeIds=new Set)).add(r))}var mi=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),hi=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,gi=(e,t)=>hi(t)&&t.key===e;function _i(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:!1;case`ObjectProperty`:return t.key===e?!!t.computed:!n||n.type!==`ObjectPattern`;case`ClassProperty`:return t.key===e?!!t.computed:!0;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!=null&&n.source?!1: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:!0}return!0}var vi=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`];function yi(e){return vi.includes(e.type)?yi(e.expression):e}var bi=e=>e.type===4&&e.isStatic;function xi(e){switch(e){case`Teleport`:case`teleport`:return We;case`Suspense`:case`suspense`:return Ge;case`KeepAlive`:case`keep-alive`:return Ke;case`BaseTransition`:case`base-transition`:return qe}}var Si=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ci=e=>!Si.test(e),wi=/[A-Za-z_$\xA0-\uFFFF]/,Ti=/[\.\?\w$\xA0-\uFFFF]/,Ei=/\s+[.[]\s*|\s*[.[]\s+/g,Di=e=>e.type===4?e.content:e.loc.source,Oi=e=>{let t=Di(e).trim().replace(Ei,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?wi:Ti).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},ki=(e,t)=>{try{let n=e.ast||Qr.parseExpression(Di(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n=yi(n),n.type===`MemberExpression`||n.type===`OptionalMemberExpression`||n.type===`Identifier`&&n.name!==`undefined`}catch(e){return!1}},Ai=ki,ji=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Mi=e=>ji.test(Di(e)),Ni=(e,t)=>{try{let n=e.ast||Qr.parseExpression(Di(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n.type===`Program`&&(n=n.body[0],n.type===`ExpressionStatement`&&(n=n.expression)),n=yi(n),n.type===`FunctionExpression`||n.type===`ArrowFunctionExpression`}catch(e){return!1}},Pi=Ni;function Fi(e,t,n=t.length){return Ii({offset:e.offset,line:e.line,column:e.column},t,n)}function Ii(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 Li(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function Ri(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)&&(E(t)?i.name===t:t.test(i.name)))return i}}function zi(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)&&Bi(a.arg,t))return a}}function Bi(e,t){return!!(e&&bi(e)&&e.content===t)}function Vi(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Hi(e){return e.type===5||e.type===2}function Ui(e){return e.type===7&&e.name===`pre`}function Wi(e){return e.type===7&&e.name===`slot`}function Gi(e){return e.type===1&&e.tagType===3}function Ki(e){return e.type===1&&e.tagType===2}var qi=new Set([pt,mt]);function Ji(e,t=[]){if(e&&!E(e)&&e.type===14){let n=e.callee;if(!E(n)&&qi.has(n))return Ji(e.arguments[0],t.concat(e))}return[e,t]}function Yi(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!E(i)&&i.type===14){let e=Ji(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||E(i))r=It([t]);else if(i.type===14){let e=i.arguments[0];!E(e)&&e.type===15?Xi(t,e)||e.properties.unshift(t):i.callee===ht?r=V(n.helper(ut),[It([t]),i]):i.arguments.unshift(It([t])),!r&&(r=i)}else i.type===15?(Xi(t,i)||i.properties.unshift(t),r=i):(r=V(n.helper(ut),[It([t]),i]),o&&o.callee===mt&&(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 Xi(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 Zi(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function Qi(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&&(Qi(r.arg,t)||Qi(r.exp,t)))return!0}return e.children.some(e=>Qi(e,t));case 11:return Qi(e.source,t)?!0:e.children.some(e=>Qi(e,t));case 9:return e.branches.some(e=>Qi(e,t));case 10:return Qi(e.condition,t)?!0:e.children.some(e=>Qi(e,t));case 4:return!e.isStatic&&Ci(e.content)&&!!t[e.content];case 8:return e.children.some(e=>O(e)&&Qi(e,t));case 5:case 12:return Qi(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function $i(e){return e.type===14&&e.callee===Tt?e.arguments[1].returns:e}var ea=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ta(e){for(let t=0;t<e.length;t++)if(!Mr(e.charCodeAt(t)))return!1;return!0}function na(e){return e.type===2&&ta(e.content)||e.type===12&&na(e.content)}function ra(e){return e.type===3||na(e)}var ia={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:_,isPreTag:_,isIgnoreNewlineTag:_,isCustomElement:_,onError:Ur,onWarn:Wr,comments:!0,prefixIdentifiers:!1},G=ia,aa=null,oa=``,sa=null,K=null,ca=``,la=-1,ua=-1,da=0,fa=!1,pa=null,ma=[],q=new Ir(ma,{onerr:Ra,ontext(e,t){ba(va(e,t),e,t)},ontextentity(e,t,n){ba(e,t,n)},oninterpolation(e,t){if(fa)return ba(va(e,t),e,t);let n=e+q.delimiterOpen.length,r=t-q.delimiterClose.length;for(;Mr(oa.charCodeAt(n));)n++;for(;Mr(oa.charCodeAt(r-1));)r--;let i=va(n,r);i.includes(`&`)&&(i=Or(i)),Ma({type:5,content:La(i,!1,Na(n,r)),loc:Na(e,t)})},onopentagname(e,t){let n=va(e,t);sa={type:1,tag:n,ns:G.getNamespace(n,ma[0],G.ns),tagType:0,props:[],children:[],loc:Na(e-1,t),codegenNode:void 0}},onopentagend(e){ya(e)},onclosetag(e,t){let n=va(e,t);if(!G.isVoidTag(n)){let r=!1;for(let e=0;e<ma.length;e++)if(ma[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&Ra(24,ma[0].loc.start.offset);for(let n=0;n<=e;n++)xa(ma.shift(),t,n<e);break}r||Ra(23,Ca(e,60))}},onselfclosingtag(e){let t=sa.tag;sa.isSelfClosing=!0,ya(e),ma[0]&&ma[0].tag===t&&xa(ma.shift(),e)},onattribname(e,t){K={type:6,name:va(e,t),nameLoc:Na(e,t),value:void 0,loc:Na(e)}},ondirname(e,t){let n=va(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!fa&&r===``&&Ra(26,e),fa||r===``)K={type:6,name:n,nameLoc:Na(e,t),value:void 0,loc:Na(e)};else if(K={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[B(`prop`)]:[],loc:Na(e)},r===`pre`){fa=q.inVPre=!0,pa=sa;let e=sa.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=Ia(e[t]))}},ondirarg(e,t){if(e===t)return;let n=va(e,t);if(fa&&!Ui(K))K.name+=n,Fa(K.nameLoc,t);else{let r=n[0]!==`[`;K.arg=La(r?n:n.slice(1,-1),r,Na(e,t),r?3:0)}},ondirmodifier(e,t){let n=va(e,t);if(fa&&!Ui(K))K.name+=`.`+n,Fa(K.nameLoc,t);else if(K.name===`slot`){let e=K.arg;e&&(e.content+=`.`+n,Fa(e.loc,t))}else{let r=B(n,!0,Na(e,t));K.modifiers.push(r)}},onattribdata(e,t){ca+=va(e,t),la<0&&(la=e),ua=t},onattribentity(e,t,n){ca+=e,la<0&&(la=t),ua=n},onattribnameend(e){let t=K.loc.start.offset,n=va(t,e);K.type===7&&(K.rawName=n),sa.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&Ra(2,t)},onattribend(e,t){if(sa&&K){if(Fa(K.loc,t),e!==0)if(K.type===6)K.name===`class`&&(ca=ja(ca).trim()),e===1&&!ca&&Ra(13,t),K.value={type:2,content:ca,loc:e===1?Na(la,ua):Na(la-1,ua+1)},q.inSFCRoot&&sa.tag===`template`&&K.name===`lang`&&ca&&ca!==`html`&&q.enterRCDATA(Pr(`</template`),0);else{let e=0;K.name===`for`?e=3:K.name===`slot`?e=1:K.name===`on`&&ca.includes(`;`)&&(e=2),K.exp=La(ca,!1,Na(la,ua),0,e),K.name===`for`&&(K.forParseResult=_a(K.exp))}(K.type!==7||K.name!==`pre`)&&sa.props.push(K)}ca=``,la=ua=-1},oncomment(e,t){G.comments&&Ma({type:3,content:va(e,t),loc:Na(e-4,t+3)})},onend(){let e=oa.length;if(q.state!==1)switch(q.state){case 5:case 8:Ra(5,e);break;case 3:case 4:Ra(25,q.sectionStart);break;case 28:q.currentSequence===Fr.CdataEnd?Ra(6,e):Ra(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:Ra(9,e);break}for(let t=0;t<ma.length;t++)xa(ma[t],e-1),Ra(24,ma[t].loc.start.offset)},oncdata(e,t){ma[0].ns===0?Ra(1,e-9):ba(va(e,t),e,t)},onprocessinginstruction(e){(ma[0]?ma[0].ns:G.ns)===0&&Ra(21,e-1)}}),ha=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ga=/^\(|\)$/g;function _a(e){let t=e.loc,n=e.content,r=n.match(ea);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return La(e,!1,Na(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(ga,``).trim(),l=i.indexOf(c),u=c.match(ha);if(u){c=c.replace(ha,``).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 va(e,t){return oa.slice(e,t)}function ya(e){q.inSFCRoot&&(sa.innerLoc=Na(e+1,e+1)),Ma(sa);let{tag:t,ns:n}=sa;n===0&&G.isPreTag(t)&&da++,G.isVoidTag(t)?xa(sa,e):(ma.unshift(sa),(n===1||n===2)&&(q.inXML=!0)),sa=null}function ba(e,t,n){let r=ma[0]||aa,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,Fa(i.loc,n)):r.children.push({type:2,content:e,loc:Na(t,n)})}function xa(e,t,n=!1){n?Fa(e.loc,Ca(t,60)):Fa(e.loc,Sa(t,62)+1),q.inSFCRoot&&(e.children.length?e.innerLoc.end=y({},e.children[e.children.length-1].loc.end):e.innerLoc.end=y({},e.innerLoc.start),e.innerLoc.source=va(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(fa||(r===`slot`?e.tagType=2:Ta(e)?e.tagType=3:Ea(e)&&(e.tagType=1)),q.inRCDATA||(e.children=ka(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)&&da--,pa===e&&(fa=q.inVPre=!1,pa=null),q.inXML&&(ma[0]?ma[0].ns:G.ns)===0&&(q.inXML=!1)}function Sa(e,t){let n=e;for(;oa.charCodeAt(n)!==t&&n<oa.length-1;)n++;return n}function Ca(e,t){let n=e;for(;oa.charCodeAt(n)!==t&&n>=0;)n--;return n}var wa=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function Ta({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&wa.has(t[e].name))return!0}return!1}function Ea({tag:e,props:t}){if(G.isCustomElement(e))return!1;if(e===`component`||Da(e.charCodeAt(0))||xi(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 Da(e){return e>64&&e<91}var Oa=/\r\n/g;function ka(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(da)i.content=i.content.replace(Oa,`
|
|
20
|
+
`);else if(ta(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&&Aa(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=ja(i.content))}return n?e.filter(Boolean):e}function Aa(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function ja(e){let t=``,n=!1;for(let r=0;r<e.length;r++)Mr(e.charCodeAt(r))?n||(t+=` `,n=!0):(t+=e[r],n=!1);return t}function Ma(e){(ma[0]||aa).children.push(e)}function Na(e,t){return{start:q.getPos(e),end:t==null?t:q.getPos(t),source:t==null?t:va(e,t)}}function Pa(e){return Na(e.start.offset,e.end.offset)}function Fa(e,t){e.end=q.getPos(t),e.source=va(e.start.offset,t)}function Ia(e){let t={type:6,name:e.rawName,nameLoc:Na(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 La(e,t=!1,n,r=0,i=0){let a=B(e,t,n,r);if(!t&&G.prefixIdentifiers&&i!==3&&e.trim()){if(Ci(e))return a.ast=null,a;try{let t=G.expressionPlugins,n={plugins:t?[...t,`typescript`]:[`typescript`]};i===2?a.ast=Qr.parse(` ${e} `,n).program:i===1?a.ast=Qr.parseExpression(`(${e})=>{}`,n):a.ast=Qr.parseExpression(`(${e})`,n)}catch(e){a.ast=!1,Ra(46,n.start.offset,e.message)}}return a}function Ra(e,t,n){G.onError(W(e,Na(t,t),void 0,n))}function za(){q.reset(),sa=null,K=null,ca=``,la=-1,ua=-1,ma.length=0}function Ba(e,t){if(za(),oa=e,G=y({},ia),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.`),q.mode=G.parseMode===`html`?1:G.parseMode===`sfc`?2:0,q.inXML=G.ns===1||G.ns===2;let n=t&&t.delimiters;n&&(q.delimiterOpen=Pr(n[0]),q.delimiterClose=Pr(n[1]));let r=aa=Nt([],e);return q.parse(oa),r.loc=Na(0,e.length),r.children=ka(r.children),aa=null,r}function Va(e,t){Ua(e,void 0,t,!!Ha(e))}function Ha(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Ki(t[0])?t[0]:null}function Ua(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:Wa(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)&&qa(s,n)>=2){let t=Ja(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(s.type===12&&(r?0:Wa(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1 /* ${se[-1]} */`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,Ua(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)Ua(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)Ua(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&&S(e.codegenNode.children))e.codegenNode.children=c(Ft(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!S(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=l(e.codegenNode,`default`);t&&(t.returns=c(Ft(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&&!S(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=Ri(e,`slot`,!0),r=n&&n.arg&&l(t.codegenNode,n.arg);r&&(r.returns=c(Ft(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&&!S(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 Wa(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=qa(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=Wa(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=Wa(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(Je),t.removeHelper(Yt(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Jt(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 Wa(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(E(r)||D(r))continue;let i=Wa(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}var Ga=new Set([dt,ft,pt,mt]);function Ka(e,t){if(e.type===14&&!E(e.callee)&&Ga.has(e.callee)){let n=e.arguments[0];if(n.type===4)return Wa(n,t);if(n.type===14)return Ka(n,t)}return 0}function qa(e,t){let n=3,r=Ja(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=Wa(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?Wa(a,t):a.type===14?Ka(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function Ja(e){let t=e.codegenNode;if(t.type===13)return t.props}function Ya(e,{filename:t=``,prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:s={},transformHoist:c=null,isBuiltInComponent:l=g,isCustomElement:u=g,expressionPlugins:d=[],scopeId:f=null,slotted:p=!0,ssr:m=!1,inSSR:_=!1,ssrCssVars:v=``,bindingMetadata:y=h,inline:b=!1,isTS:x=!1,onError:S=Ur,onWarn:C=Wr,compatConfig:w}){let T=t.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),D={filename:t,selfName:T&&re(N(T[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:a,nodeTransforms:o,directiveTransforms:s,transformHoist:c,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:p,ssr:m,inSSR:_,ssrCssVars:v,bindingMetadata:y,inline:b,isTS:x,onError:S,onWarn:C,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,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=D.helpers.get(e)||0;return D.helpers.set(e,t+1),e},removeHelper(e){let t=D.helpers.get(e);if(t){let n=t-1;n?D.helpers.set(e,n):D.helpers.delete(e)}},helperString(e){return`_${Dt[D.helper(e)]}`},replaceNode(e){if(!D.currentNode)throw Error(`Node being replaced is already removed.`);if(!D.parent)throw Error(`Cannot replace root node.`);D.parent.children[D.childIndex]=D.currentNode=e},removeNode(e){if(!D.parent)throw Error(`Cannot remove root node.`);let t=D.parent.children,n=e?t.indexOf(e):D.currentNode?D.childIndex:-1;if(n<0)throw Error(`node being removed is not a child of current parent`);!e||e===D.currentNode?(D.currentNode=null,D.onNodeRemoved()):D.childIndex>n&&(D.childIndex--,D.onNodeRemoved()),D.parent.children.splice(n,1)},onNodeRemoved:g,addIdentifiers(e){E(e)?O(e):e.identifiers?e.identifiers.forEach(O):e.type===4&&O(e.content)},removeIdentifiers(e){E(e)?k(e):e.identifiers?e.identifiers.forEach(k):e.type===4&&k(e.content)},hoist(e){E(e)&&(e=B(e)),D.hoists.push(e);let t=B(`_hoisted_${D.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=Vt(D.cached.length,e,t,n);return D.cached.push(r),r}};function O(e){let{identifiers:t}=D;t[e]===void 0&&(t[e]=0),t[e]++}function k(e){D.identifiers[e]--}return D}function Xa(e,t){let n=Ya(e,t);$a(e,n),t.hoistStatic&&Va(e,n),t.ssr||Za(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 Za(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=Ha(e);if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&&Xt(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=Pt(t,n(Ue),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function Qa(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];E(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,$a(i,t))}}function $a(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&&(S(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Qe);break;case 5:t.ssr||t.helper(lt);break;case 9:for(let n=0;n<e.branches.length;n++)$a(e.branches[n],t);break;case 10:case 11:case 1:case 0:Qa(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function eo(e,t){let n=E(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(Wi))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 to={},no={},ro={},io={},ao;function oo(){if(ao)return io;ao=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return io.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},io.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},io}var so;function co(){if(so)return ro;so=1;var e=oo(),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 ro.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},ro.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},ro}var lo={},uo;function fo(){return uo?lo:(uo=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=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})(lo),lo)}var po={},mo;function ho(){if(mo)return po;mo=1;var e=fo(),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()},po.ArraySet=r,po}var go={},_o;function vo(){if(_o)return go;_o=1;var e=fo();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),this._sorted=!0),this._array},go.MappingList=n,go}var yo;function bo(){if(yo)return no;yo=1;var e=co(),t=fo(),n=ho().ArraySet,r=vo().MappingList;function i(e){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||(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())},no.SourceMapGenerator=i,no}var xo={},So={},Co;function wo(){return Co?So:(Co=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}})(So),So)}var To={},Eo;function Do(){if(Eo)return To;Eo=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 To.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)},To}var Oo;function ko(){if(Oo)return xo;Oo=1;var e=fo(),t=wo(),n=ho().ArraySet,r=co(),i=Do().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},xo.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&&(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}},xo.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)},xo.IndexedSourceMapConsumer=u,xo}var Ao={},jo;function Mo(){if(jo)return Ao;jo=1;var e=bo().SourceMapGenerator,t=fo(),n=/(\r?\n)/,r=10,i=`$$$isSourceNode$$$`;function a(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=e==null?null:e,this.column=t==null?null:t,this.source=n==null?null:n,this.name=a==null?null:a,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,a=!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}},Ao.SourceNode=a,Ao}var No;function Po(){return No?to:(No=1,to.SourceMapGenerator=bo().SourceMapGenerator,to.SourceMapConsumer=ko().SourceMapConsumer,to.SourceNode=Mo().SourceNode,to)}var Fo=Po(),Io=`/*@__PURE__*/`,Lo=e=>`${Dt[e]}: _${Dt[e]}`;function Ro(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`_${Dt[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&&Ci(t)&&(e=t)}n.loc.source&&h(n.loc.start,e)}t===-3?Ii(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!==R&&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(`
|
|
21
|
+
`+` `.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 Fo.SourceMapGenerator,p.map.setSourceContent(i,p.source),p.map._sources.add(i)),p}function zo(e,t={}){let n=Ro(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?Ro(e,t):n;r===`module`?Vo(e,g,m,h):Bo(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(Lo).join(`, `)} } = _Vue
|
|
22
|
+
`,-1),c())),e.components.length&&(Ho(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Ho(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(`
|
|
23
|
+
`,0),c()),u||i(`return `),e.codegenNode?J(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 Bo(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(Lo).join(`, `)} } = ${l}
|
|
24
|
+
`,-1):(i(`const _Vue = ${l}
|
|
25
|
+
`,-1),e.hoists.length&&i(`const { ${[Xe,Ze,Qe,$e,et].filter(e=>u.includes(e)).map(Lo).join(`, `)} } = _Vue
|
|
26
|
+
`,-1))),e.ssrHelpers&&e.ssrHelpers.length&&i(`const { ${e.ssrHelpers.map(Lo).join(`, `)} } = require("${c}")
|
|
27
|
+
`,-1),Uo(e.hoists,t),a(),i(`return `)}function Vo(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=>Dt[e]).join(`, `)} } from ${JSON.stringify(s)}
|
|
28
|
+
`,-1),i(`
|
|
35
29
|
// Binding optimization for webpack code-split
|
|
36
|
-
const ${
|
|
37
|
-
`,-1)):
|
|
38
|
-
`,-1)}
|
|
39
|
-
`,-1),
|
|
40
|
-
|
|
41
|
-
`:""} ? ${k}${v}.value${M} : ${k}${v}${M}`}else return A?v:R(v);else{if(E==="props")return vi(v);if(E==="props-aliased")return vi(o.__propsAliases[v])}}else{if(E&&E.startsWith("setup")||E==="literal-const")return`$setup.${v}`;if(E==="props-aliased")return`$props['${o.__propsAliases[v]}']`;if(E)return`$${E}.${v}`}return`_ctx.${v}`},c=t.content;let d=t.ast;if(d===!1)return t;if(d===null||!d&&Xt(c)){const v=e.identifiers[c],y=Dc(c),T=ib(c);return!r&&!v&&!T&&(!y||o[c])?(Kh(o[c])&&(t.constType=1),t.content=h(c)):v||(T?t.constType=3:t.constType=2),t}if(!d){const v=i?` ${c} `:`(${c})${r?"=>{}":""}`;try{d=Rt.parseExpression(v,{sourceType:"module",plugins:e.expressionPlugins})}catch(y){return e.onError(ve(45,t.loc,void 0,y.message)),t}}const f=[],m=[],g=Object.create(e.identifiers);ji(d,(v,y,T,E,C)=>{if(hh(v,y))return;const N=E&&nb(v);N&&!C?(zi(y)&&y.shorthand&&(v.prefix=`${v.name}: `),v.name=h(v.name,y,v),f.push(v)):(!(N&&C)&&(!y||y.type!=="CallExpression"&&y.type!=="NewExpression"&&y.type!=="MemberExpression")&&(v.isConstant=!0),f.push(v))},!0,m,g);const b=[];f.sort((v,y)=>v.start-y.start),f.forEach((v,y)=>{const T=v.start-1,E=v.end-1,C=f[y-1],N=c.slice(C?C.end-1:0,T);(N.length||v.prefix)&&b.push(N+(v.prefix||""));const A=c.slice(T,E);b.push(Y(v.name,!1,{start:uo(t.loc.start,A,T),end:uo(t.loc.start,A,E),source:A},v.isConstant?3:0)),y===f.length-1&&E<c.length&&b.push(c.slice(E))});let x;return b.length?(x=je(b,t.loc),x.ast=d):(x=t,x.constType=3),x.identifiers=Object.keys(g),x}function nb(t){return!(Dc(t.name)||t.name==="require")}function on(t){return ye(t)?t:t.type===4?t.content:t.children.map(on).join("")}function Kh(t){return t==="setup-const"||t==="literal-const"}const ab=Rs(/^(if|else|else-if)$/,(t,e,r)=>Po(t,e,r,(i,n,a)=>{const o=r.parent.children;let h=o.indexOf(i),c=0;for(;h-->=0;){const d=o[h];d&&d.type===9&&(c+=d.branches.length)}return()=>{if(a)i.codegenNode=Yh(n,c,r);else{const d=ub(i.codegenNode);d.alternate=Yh(n,c+i.branches.length-1,r)}}}));function Po(t,e,r,i){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const n=e.exp?e.exp.loc:t.loc;r.onError(ve(28,e.loc)),e.exp=Y("true",!1,n)}if(r.prefixIdentifiers&&e.exp&&(e.exp=qe(e.exp,r)),e.name==="if"){const n=Jh(t,e),a={type:9,loc:Ty(t.loc),branches:[n]};if(r.replaceNode(a),i)return i(a,n,!0)}else{const n=r.parent.children,a=[];let o=n.indexOf(t);for(;o-->=-1;){const h=n[o];if(h&&h.type===3){r.removeNode(h),a.unshift(h);continue}if(h&&h.type===2&&!h.content.trim().length){r.removeNode(h);continue}if(h&&h.type===9){e.name==="else-if"&&h.branches[h.branches.length-1].condition===void 0&&r.onError(ve(30,t.loc)),r.removeNode();const c=Jh(t,e);a.length&&!(r.parent&&r.parent.type===1&&(r.parent.tag==="transition"||r.parent.tag==="Transition"))&&(c.children=[...a,...c.children]);{const f=c.userKey;f&&h.branches.forEach(({userKey:m})=>{ob(m,f)&&r.onError(ve(29,c.userKey.loc))})}h.branches.push(c);const d=i&&i(h,c,!1);Zr(c,r),d&&d(),r.currentNode=null}else r.onError(ve(30,t.loc));break}}}function Jh(t,e){const r=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:r&&!Be(t,"for")?t.children:[t],userKey:ct(t,"key"),isTemplateIf:r}}function Yh(t,e,r){return t.condition?Ct(t.condition,Qh(t,e,r),ce(r.helper(zr),['"v-if"',"true"])):Qh(t,e,r)}function Qh(t,e,r){const{helper:i}=r,n=we("key",Y(`${e}`,!1,Ne,2)),{children:a}=t,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){const c=o.codegenNode;return ks(c,n,r),c}else{let c=64;return!t.isTemplateIf&&a.filter(d=>d.type!==3).length===1&&(c|=2048),Kr(r,i(Vr),lt([n]),a,c,void 0,void 0,!0,!1,!1,t.loc)}else{const c=o.codegenNode,d=yh(c);return d.type===13&&Bi(d,r),ks(d,n,r),c}}function ob(t,e){if(!t||t.type!==e.type)return!1;if(t.type===6){if(t.value.content!==e.value.content)return!1}else{const r=t.exp,i=e.exp;if(r.type!==i.type||r.type!==4||r.isStatic!==i.isStatic||r.content!==i.content)return!1}return!0}function ub(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const Ao=(t,e,r)=>{const{modifiers:i,loc:n}=t,a=t.arg;let{exp:o}=t;if(o&&o.type===4&&!o.content.trim())return r.onError(ve(34,n)),{props:[we(a,Y("",!0,n))]};if(!o){if(a.type!==4||!a.isStatic)return r.onError(ve(52,a.loc)),{props:[we(a,Y("",!0,n))]};Zh(t,r),o=t.exp}return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.some(h=>h.content==="camel")&&(a.type===4?a.isStatic?a.content=ot(a.content):a.content=`${r.helperString(Oi)}(${a.content})`:(a.children.unshift(`${r.helperString(Oi)}(`),a.children.push(")"))),r.inSSR||(i.some(h=>h.content==="prop")&&ef(a,"."),i.some(h=>h.content==="attr")&&ef(a,"^")),{props:[we(a,o)]}},Zh=(t,e)=>{const r=t.arg,i=ot(r.content);t.exp=Y(i,!1,r.loc),t.exp=qe(t.exp,e)},ef=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},lb=Rs("for",(t,e,r)=>{const{helper:i,removeHelper:n}=r;return Co(t,e,r,a=>{const o=ce(i(Ai),[a.source]),h=Yr(t),c=Be(t,"memo"),d=ct(t,"key",!1,!0),f=d&&d.type===7;f&&!d.exp&&Zh(d,r);let m=d&&(d.type===6?d.value?Y(d.value.content,!0):void 0:d.exp);c&&m&&f&&(d.exp=m=qe(m,r));const g=d&&m?we("key",m):null;h&&(c&&(c.exp=qe(c.exp,r)),g&&d.type!==6&&(g.value=qe(g.value,r)));const b=a.source.type===4&&a.source.constType>0,x=b?64:d?128:256;return a.codegenNode=Kr(r,i(Vr),void 0,o,x,void 0,void 0,!0,!b,!1,t.loc),()=>{let v;const{children:y}=a;h&&t.children.some(C=>{if(C.type===1){const N=ct(C,"key");if(N)return r.onError(ve(33,N.loc)),!0}});const T=y.length!==1||y[0].type!==1,E=Qr(t)?t:h&&t.children.length===1&&Qr(t.children[0])?t.children[0]:null;if(E?(v=E.codegenNode,h&&g&&ks(v,g,r)):T?v=Kr(r,i(Vr),g?lt([g]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(v=y[0].codegenNode,h&&g&&ks(v,g,r),v.isBlock!==!b&&(v.isBlock?(n(cr),n(Pr(r.inSSR,v.isComponent))):n(_r(r.inSSR,v.isComponent))),v.isBlock=!b,v.isBlock?(i(cr),i(Pr(r.inSSR,v.isComponent))):i(_r(r.inSSR,v.isComponent))),c){const C=gt($s(a.parseResult,[Y("_cached")]));C.body=Ns([je(["const _memo = (",c.exp,")"]),je(["if (_cached",...m?[" && _cached.key === ",m]:[],` && ${r.helperString(Ha)}(_cached, _memo)) return _cached`]),je(["const _item = ",v]),Y("_item.memo = _memo"),Y("return _item")]),o.arguments.push(C,Y("_cache"),Y(String(r.cached.length))),r.cached.push(null)}else o.arguments.push(gt($s(a.parseResult),v,!0))}})});function Co(t,e,r,i){if(!e.exp){r.onError(ve(31,e.loc));return}const n=e.forParseResult;if(!n){r.onError(ve(32,e.loc));return}Io(n,r);const{addIdentifiers:a,removeIdentifiers:o,scopes:h}=r,{source:c,value:d,key:f,index:m}=n,g={type:11,loc:e.loc,source:c,valueAlias:d,keyAlias:f,objectIndexAlias:m,parseResult:n,children:Yr(t)?t.children:[t]};r.replaceNode(g),h.vFor++,r.prefixIdentifiers&&(d&&a(d),f&&a(f),m&&a(m));const b=i&&i(g);return()=>{h.vFor--,r.prefixIdentifiers&&(d&&o(d),f&&o(f),m&&o(m)),b&&b()}}function Io(t,e){t.finalized||(e.prefixIdentifiers&&(t.source=qe(t.source,e),t.key&&(t.key=qe(t.key,e,!0)),t.index&&(t.index=qe(t.index,e,!0)),t.value&&(t.value=qe(t.value,e,!0))),t.finalized=!0)}function $s({value:t,key:e,index:r},i=[]){return cb([t,e,r,...i])}function cb(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((r,i)=>r||Y("_".repeat(i+1),!1))}const tf=Y("undefined",!1),No=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const r=Be(t,"slot");if(r){const i=r.exp;return e.prefixIdentifiers&&i&&e.addIdentifiers(i),e.scopes.vSlot++,()=>{e.prefixIdentifiers&&i&&e.removeIdentifiers(i),e.scopes.vSlot--}}}},Oo=(t,e)=>{let r;if(Yr(t)&&t.props.some(ho)&&(r=Be(t,"for"))){const i=r.forParseResult;if(i){Io(i,e);const{value:n,key:a,index:o}=i,{addIdentifiers:h,removeIdentifiers:c}=e;return n&&h(n),a&&h(a),o&&h(o),()=>{n&&c(n),a&&c(a),o&&c(o)}}}},hb=(t,e,r,i)=>gt(t,r,!1,!0,r.length?r[0].loc:i);function qs(t,e,r=hb){e.helper(Li);const{children:i,loc:n}=t,a=[],o=[];let h=e.scopes.vSlot>0||e.scopes.vFor>0;!e.ssr&&e.prefixIdentifiers&&(h=ht(t,e.identifiers));const c=Be(t,"slot",!0);if(c){const{arg:y,exp:T}=c;y&&!Xe(y)&&(h=!0),a.push(we(y||Y("default",!0),r(T,void 0,i,n)))}let d=!1,f=!1;const m=[],g=new Set;let b=0;for(let y=0;y<i.length;y++){const T=i[y];let E;if(!Yr(T)||!(E=Be(T,"slot",!0))){T.type!==3&&m.push(T);continue}if(c){e.onError(ve(37,E.loc));break}d=!0;const{children:C,loc:N}=T,{arg:A=Y("default",!0),exp:L,loc:R}=E;let w;Xe(A)?w=A?A.content:"default":h=!0;const I=Be(T,"for"),k=r(L,I,C,N);let M,z;if(M=Be(T,"if"))h=!0,o.push(Ct(M.exp,un(A,k,b++),tf));else if(z=Be(T,/^else(-if)?$/,!0)){let X=y,Z;for(;X--&&(Z=i[X],Z.type===3););if(Z&&Yr(Z)&&Be(Z,/^(else-)?if$/)){let $=o[o.length-1];for(;$.alternate.type===19;)$=$.alternate;$.alternate=z.exp?Ct(z.exp,un(A,k,b++),tf):un(A,k,b++)}else e.onError(ve(30,z.loc))}else if(I){h=!0;const X=I.forParseResult;X?(Io(X,e),o.push(ce(e.helper(Ai),[X.source,gt($s(X),un(A,k),!0)]))):e.onError(ve(32,I.loc))}else{if(w){if(g.has(w)){e.onError(ve(38,R));continue}g.add(w),w==="default"&&(f=!0)}a.push(we(A,k))}}if(!c){const y=(T,E)=>{const C=r(T,void 0,E,n);return we("default",C)};d?m.length&&m.some(T=>rf(T))&&(f?e.onError(ve(39,m[0].loc)):a.push(y(void 0,m))):a.push(y(void 0,i))}const x=h?2:ln(t.children)?3:1;let v=lt(a.concat(we("_",Y(x+` /* ${mg[x]} */`,!1))),n);return o.length&&(v=ce(e.helper(Wa),[v,Ht(o)])),{slots:v,hasDynamicSlots:h}}function un(t,e,r){const i=[we("name",t),we("fn",e)];return r!=null&&i.push(we("key",Y(String(r),!0))),lt(i)}function ln(t){for(let e=0;e<t.length;e++){const r=t[e];switch(r.type){case 1:if(r.tagType===2||ln(r.children))return!0;break;case 9:if(ln(r.branches))return!0;break;case 10:case 11:if(ln(r.children))return!0;break}}return!1}function rf(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():rf(t.content)}const sf=new WeakMap,nf=(t,e)=>function(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:i,props:n}=t,a=t.tagType===1;let o=a?cn(t,e):`"${i}"`;const h=ur(o)&&o.callee===Ps;let c,d,f=0,m,g,b,x=h||o===Er||o===Gr||!a&&(i==="svg"||i==="foreignObject"||i==="math");if(n.length>0){const v=ts(t,e,void 0,a,h);c=v.props,f=v.patchFlag,g=v.dynamicPropNames;const y=v.directives;b=y&&y.length?Ht(y.map(T=>Lo(T,e))):void 0,v.shouldUseBlock&&(x=!0)}if(t.children.length>0)if(o===ws&&(x=!0,f|=1024,t.children.length>1&&e.onError(ve(46,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}))),a&&o!==Er&&o!==ws){const{slots:y,hasDynamicSlots:T}=qs(t,e);d=y,T&&(f|=1024)}else if(t.children.length===1&&o!==Er){const y=t.children[0],T=y.type,E=T===5||T===8;E&&ft(y,e)===0&&(f|=1),E||T===2?d=y:d=t.children}else d=t.children;g&&g.length&&(m=pb(g)),t.codegenNode=Kr(e,o,c,d,f===0?void 0:f,m,b,!!x,!1,a,t.loc)};function cn(t,e,r=!1){let{tag:i}=t;const n=Mo(i),a=ct(t,"is",!1,!0);if(a)if(n){let h;if(a.type===6?h=a.value&&Y(a.value.content,!0):(h=a.exp,h||(h=Y("is",!1,a.arg.loc),h=a.exp=qe(h,e))),h)return ce(e.helper(Ps),[h])}else a.type===6&&a.value.content.startsWith("vue:")&&(i=a.value.content.slice(4));const o=ao(i)||e.isBuiltInComponent(i);if(o)return r||e.helper(o),o;{const h=ko(i,e);if(h)return h;const c=i.indexOf(".");if(c>0){const d=ko(i.slice(0,c),e);if(d)return d+i.slice(c)}}return e.selfName&&lr(ot(i))===e.selfName?(e.helper(_s),e.components.add(i+"__self"),Ls(i,"component")):(e.helper(_s),e.components.add(i),Ls(i,"component"))}function ko(t,e){const r=e.bindingMetadata;if(!r||r.__isScriptSetup===!1)return;const i=ot(t),n=lr(i),a=d=>{if(r[t]===d)return t;if(r[i]===d)return i;if(r[n]===d)return n},o=a("setup-const")||a("setup-reactive-const")||a("literal-const");if(o)return e.inline?o:`$setup[${JSON.stringify(o)}]`;const h=a("setup-let")||a("setup-ref")||a("setup-maybe-ref");if(h)return e.inline?`${e.helperString(Xr)}(${h})`:`$setup[${JSON.stringify(h)}]`;const c=a("props");if(c)return`${e.helperString(Xr)}(${e.inline?"__props":"$props"}[${JSON.stringify(c)}])`}function ts(t,e,r=t.props,i,n,a=!1){const{tag:o,loc:h,children:c}=t;let d=[];const f=[],m=[],g=c.length>0;let b=!1,x=0,v=!1,y=!1,T=!1,E=!1,C=!1,N=!1;const A=[],L=k=>{d.length&&(f.push(lt(af(d),h)),d=[]),k&&f.push(k)},R=()=>{e.scopes.vFor>0&&d.push(we(Y("ref_for",!0),Y("true")))},w=({key:k,value:M})=>{if(Xe(k)){const z=k.content,X=yi(z);if(X&&(!i||n)&&z.toLowerCase()!=="onclick"&&z!=="onUpdate:modelValue"&&!Rc(z)&&(E=!0),X&&Rc(z)&&(N=!0),X&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&ft(M,e)>0)return;z==="ref"?v=!0:z==="class"?y=!0:z==="style"?T=!0:z!=="key"&&!A.includes(z)&&A.push(z),i&&(z==="class"||z==="style")&&!A.includes(z)&&A.push(z)}else C=!0};for(let k=0;k<r.length;k++){const M=r[k];if(M.type===6){const{loc:z,name:X,nameLoc:Z,value:$}=M;let Q=!0;if(X==="ref"&&(v=!0,R(),$&&e.inline)){const re=e.bindingMetadata[$.content];(re==="setup-let"||re==="setup-ref"||re==="setup-maybe-ref")&&(Q=!1,d.push(we(Y("ref_key",!0),Y($.content,!0,$.loc))))}if(X==="is"&&(Mo(o)||$&&$.content.startsWith("vue:")))continue;d.push(we(Y(X,!0,Z),Y($?$.content:"",Q,$?$.loc:z)))}else{const{name:z,arg:X,exp:Z,loc:$,modifiers:Q}=M,re=z==="bind",pe=z==="on";if(z==="slot"){i||e.onError(ve(40,$));continue}if(z==="once"||z==="memo"||z==="is"||re&&Dt(X,"is")&&Mo(o)||pe&&a)continue;if((re&&Dt(X,"key")||pe&&g&&Dt(X,"vue:before-update"))&&(b=!0),re&&Dt(X,"ref")&&R(),!X&&(re||pe)){C=!0,Z?re?(R(),L(),f.push(Z)):L({type:14,loc:$,callee:e.helper(Ni),arguments:i?[Z]:[Z,"true"]}):e.onError(ve(re?34:35,$));continue}re&&Q.some(me=>me.content==="prop")&&(x|=32);const Re=e.directiveTransforms[z];if(Re){const{props:me,needRuntime:ee}=Re(M,t,e);!a&&me.forEach(w),pe&&X&&!Xe(X)?L(lt(me,h)):d.push(...me),ee&&(m.push(M),or(ee)&&sf.set(M,ee))}else Ua(z)||(m.push(M),g&&(b=!0))}}let I;if(f.length?(L(),f.length>1?I=ce(e.helper(wr),f,h):I=f[0]):d.length&&(I=lt(af(d),h)),C?x|=16:(y&&!i&&(x|=2),T&&!i&&(x|=4),A.length&&(x|=8),E&&(x|=32)),!b&&(x===0||x===32)&&(v||N||m.length>0)&&(x|=512),!e.inSSR&&I)switch(I.type){case 15:let k=-1,M=-1,z=!1;for(let $=0;$<I.properties.length;$++){const Q=I.properties[$].key;Xe(Q)?Q.content==="class"?k=$:Q.content==="style"&&(M=$):Q.isHandlerKey||(z=!0)}const X=I.properties[k],Z=I.properties[M];z?I=ce(e.helper(Wr),[I]):(X&&!Xe(X.value)&&(X.value=ce(e.helper(Ci),[X.value])),Z&&(T||Z.value.type===4&&Z.value.content.trim()[0]==="["||Z.value.type===17)&&(Z.value=ce(e.helper(Ii),[Z.value])));break;case 14:break;default:I=ce(e.helper(Wr),[ce(e.helper(Hr),[I])]);break}return{props:I,directives:m,patchFlag:x,dynamicPropNames:A,shouldUseBlock:b}}function af(t){const e=new Map,r=[];for(let i=0;i<t.length;i++){const n=t[i];if(n.key.type===8||!n.key.isStatic){r.push(n);continue}const a=n.key.content,o=e.get(a);o?(a==="style"||a==="class"||yi(a))&&fb(o,n):(e.set(a,n),r.push(n))}return r}function fb(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=Ht([t.value,e.value],t.loc)}function Lo(t,e){const r=[],i=sf.get(t);if(i)r.push(e.helperString(i));else{const a=ko("v-"+t.name,e);a?r.push(a):(e.helper(_i),e.directives.add(t.name),r.push(Ls(t.name,"directive")))}const{loc:n}=t;if(t.exp&&r.push(t.exp),t.arg&&(t.exp||r.push("void 0"),r.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||r.push("void 0"),r.push("void 0"));const a=Y("true",!1,n);r.push(lt(t.modifiers.map(o=>we(o,a)),n))}return Ht(r,t.loc)}function pb(t){let e="[";for(let r=0,i=t.length;r<i;r++)e+=JSON.stringify(t[r]),r<i-1&&(e+=", ");return e+"]"}function Mo(t){return t==="component"||t==="Component"}const db=(t,e)=>{if(Qr(t)){const{children:r,loc:i}=t,{slotName:n,slotProps:a}=Ro(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let h=2;a&&(o[2]=a,h=3),r.length&&(o[3]=gt([],r,!1,!1,i),h=4),e.scopeId&&!e.slotted&&(h=5),o.splice(h),t.codegenNode=ce(e.helper(za),o,i)}};function Ro(t,e){let r='"default"',i;const n=[];for(let a=0;a<t.props.length;a++){const o=t.props[a];if(o.type===6)o.value&&(o.name==="name"?r=JSON.stringify(o.value.content):(o.name=ot(o.name),n.push(o)));else if(o.name==="bind"&&Dt(o.arg,"name")){if(o.exp)r=o.exp;else if(o.arg&&o.arg.type===4){const h=ot(o.arg.content);r=o.exp=Y(h,!1,o.arg.loc),r=o.exp=qe(o.exp,e)}}else o.name==="bind"&&o.arg&&Xe(o.arg)&&(o.arg.content=ot(o.arg.content)),n.push(o)}if(n.length>0){const{props:a,directives:o}=ts(t,e,n,!1,!1);i=a,o.length&&e.onError(ve(36,o[0].loc))}return{slotName:r,slotProps:i}}const hn=(t,e,r,i)=>{const{loc:n,modifiers:a,arg:o}=t;!t.exp&&!a.length&&r.onError(ve(35,n));let h;if(o.type===4)if(o.isStatic){let m=o.content;m.startsWith("vnode")&&r.onError(ve(51,o.loc)),m.startsWith("vue:")&&(m=`vnode-${m.slice(4)}`);const g=e.tagType!==0||m.startsWith("vnode")||!/[A-Z]/.test(m)?fg(ot(m)):`on:${m}`;h=Y(g,!0,o.loc)}else h=je([`${r.helperString(ki)}(`,o,")"]);else h=o,h.children.unshift(`${r.helperString(ki)}(`),h.children.push(")");let c=t.exp;c&&!c.content.trim()&&(c=void 0);let d=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const m=oo(c,r),g=!(m||dh(c,r)),b=c.content.includes(";");r.prefixIdentifiers&&(g&&r.addIdentifiers("$event"),c=t.exp=qe(c,r,!1,b),g&&r.removeIdentifiers("$event"),d=r.cacheHandlers&&!r.inVOnce&&!(c.type===4&&c.constType>0)&&!(m&&e.tagType===1)&&!ht(c,r.identifiers),d&&m&&(c.type===4?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(g||d&&m)&&(c=je([`${g?r.isTS?"($event: any)":"$event":`${r.isTS?`
|
|
30
|
+
const ${t.map(e=>`_${Dt[e]} = ${Dt[e]}`).join(`, `)}
|
|
31
|
+
`,-1)):i(`import { ${t.map(e=>`${Dt[e]} as _${Dt[e]}`).join(`, `)} } from ${JSON.stringify(s)}
|
|
32
|
+
`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`import { ${e.ssrHelpers.map(e=>`${Dt[e]} as _${Dt[e]}`).join(`, `)} } from "${c}"
|
|
33
|
+
`,-1),e.imports.length&&(Wo(e.imports,t),a()),Uo(e.hoists,t),a(),r||i(`export `)}function Ho(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`component`?tt:rt);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Zi(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function Uo(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} = `),J(a,t),r())}t.pure=!1}function Wo(e,t){e.length&&e.forEach(e=>{t.push(`import `),J(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}function Go(e){return E(e)||e.type===4||e.type===2||e.type===5||e.type===8}function Ko(e,t){let n=e.length>3||e.some(e=>S(e)||!Go(e));t.push(`[`),n&&t.indent(),qo(e,t,n),n&&t.deindent(),t.push(`]`)}function qo(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];E(s)?i(s,-3):S(s)?Ko(s,t):J(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function J(e,t){if(E(e)){t.push(e,-3);return}if(D(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Li(e.codegenNode!=null,`Codegen node is missing for element/if/for node. Apply appropriate transforms first.`),J(e.codegenNode,t);break;case 2:Jo(e,t);break;case 4:Yo(e,t);break;case 5:Xo(e,t);break;case 12:J(e.codegenNode,t);break;case 8:Zo(e,t);break;case 3:$o(e,t);break;case 13:es(e,t);break;case 14:ns(e,t);break;case 15:rs(e,t);break;case 17:is(e,t);break;case 18:as(e,t);break;case 19:os(e,t);break;case 20:ss(e,t);break;case 21:qo(e.body,t,!0,!1);break;case 22:cs(e,t);break;case 23:ls(e,t);break;case 24:us(e,t);break;case 25:ds(e,t);break;case 26:fs(e,t);break;case 10:break;default:return Li(!1,`unhandled codegen node type: ${e.type}`),e}}function Jo(e,t){t.push(JSON.stringify(e.content),-3,e)}function Yo(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Xo(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Io),n(`${r(lt)}(`),J(e.content,t),n(`)`)}function Zo(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];E(r)?t.push(r,-3):J(r,t)}}function Qo(e,t){let{push:n}=t;e.type===8?(n(`[`),Zo(e,t),n(`]`)):e.isStatic?n(Ci(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function $o(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Io),n(`${r(Qe)}(${JSON.stringify(e.content)})`,-3,e)}function es(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+` /* ${se[c]} */`:c+` /* ${Object.keys(se).map(Number).filter(e=>e>0&&c&e).map(e=>se[e]).join(`, `)} */`),u&&n(r(at)+`(`),d&&n(`(${r(Je)}(${f?`true`:``}), `),i&&n(Io),n(r(d?Yt(t.inSSR,p):Jt(t.inSSR,p))+`(`,-2,e),qo(ts([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),J(u,t),n(`)`))}function ts(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function ns(e,t){let{push:n,helper:r,pure:i}=t,a=E(e.callee)?e.callee:r(e.callee);i&&n(Io),n(a+`(`,-2,e),qo(e.arguments,t),n(`)`)}function rs(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];Qo(r,t),n(`: `),J(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function is(e,t){Ko(e.elements,t)}function as(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${Dt[St]}(`),n(`(`,-2,e),S(a)?qo(a,t):a&&J(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),S(o)?Ko(o,t):J(o,t)):s&&J(s,t),(c||s)&&(i(),n(`}`)),l&&n(`)`)}function os(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=!Ci(n.content);e&&o(`(`),Yo(n,t),e&&o(`)`)}else o(`(`),J(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),J(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,J(i,t),u||t.indentLevel--,a&&c(!0)}function ss(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(yt)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),J(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(yt)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function cs(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];E(a)?n(a.replace(/(`|\$|\\)/g,`\\$1`),-3):(n("${"),o&&r(),J(a,t),o&&i(),n(`}`))}n("`")}function ls(e,t){let{push:n,indent:r,deindent:i}=t,{test:a,consequent:o,alternate:s}=e;n(`if (`),J(a,t),n(`) {`),r(),J(o,t),i(),n(`}`),s&&(n(` else `),s.type===23?ls(s,t):(n(`{`),r(),J(s,t),i(),n(`}`)))}function us(e,t){J(e.left,t),t.push(` = `),J(e.right,t)}function ds(e,t){t.push(`(`),qo(e.expressions,t),t.push(`)`)}function fs({returns:e},t){t.push(`return `),S(e)?Ko(e,t):J(e,t)}var ps=m(`true,false,null,this`),ms=(e,t)=>{if(e.type===5)e.content=hs(e.content,t);else if(e.type===1){let n=Ri(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let e=i.exp,r=i.arg;e&&e.type===4&&!(i.name===`on`&&r)&&!(n&&r&&r.type===4&&r.content===`key`)&&(i.exp=hs(e,t,i.name===`slot`)),r&&r.type===4&&!r.isStatic&&(i.arg=hs(r,t))}}}};function hs(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=x(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&&ii(n,d),p=n&&ai(d),m=e=>{let n=`${t.helperString(Ct)}(${e})`;return p?`(${n})`:n};if(vs(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=_s(hs(B(c.slice(r.start-1,r.end-1),!1),t,!1,!1,f));return`${t.helperString(wt)}(${e})${t.isTS?` //@ts-ignore
|
|
34
|
+
`:``} ? ${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(wt)}(${e})${t.isTS?` //@ts-ignore
|
|
35
|
+
`:``} ? ${o}${e}.value${s} : ${o}${e}${s}`}else if(u)return e;else return m(e);else if(s===`props`)return ae(e);else if(s===`props-aliased`)return ae(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&&Ci(c)){let r=t.identifiers[c],i=le(c),a=ps(c);return!n&&!r&&!a&&(!i||o[c])?(vs(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=Qr.parseExpression(i,{sourceType:`module`,plugins:t.expressionPlugins})}catch(n){return t.onError(W(46,e.loc,void 0,n.message)),e}}let u=[],d=[],f=Object.create(t.identifiers);ni(l,(e,t,n,r,i)=>{if(gi(e,t))return;let a=r&&gs(e);a&&!i?(hi(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=s(e.name,t,e),u.push(e)):(!(a&&i)&&(!t||t.type!==`CallExpression`&&t.type!==`NewExpression`&&t.type!==`MemberExpression`)&&(e.isConstant=!0),u.push(e))},!0,d,f);let p=[];u.sort((e,t)=>e.start-t.start),u.forEach((t,n)=>{let r=t.start-1,i=t.end-1,a=u[n-1],o=c.slice(a?a.end-1:0,r);(o.length||t.prefix)&&p.push(o+(t.prefix||``));let s=c.slice(r,i);p.push(B(t.name,!1,{start:Fi(e.loc.start,s,r),end:Fi(e.loc.start,s,i),source:s},t.isConstant?3:0)),n===u.length-1&&i<c.length&&p.push(c.slice(i))});let m;return p.length?(m=Rt(p,e.loc),m.ast=l):(m=e,m.constType=3),m.identifiers=Object.keys(f),m}function gs(e){return!(le(e.name)||e.name===`require`)}function _s(e){return E(e)?e:e.type===4?e.content:e.children.map(_s).join(``)}function vs(e){return e===`setup-const`||e===`literal-const`}var ys=eo(/^(?:if|else|else-if)$/,(e,t,n)=>bs(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=Ss(t,o,n);else{let r=Ts(e.codegenNode);r.alternate=Ss(t,o+e.branches.length-1,n)}}}));function bs(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(W(28,t.loc)),t.exp=B(`true`,!1,r)}if(n.prefixIdentifiers&&t.exp&&(t.exp=hs(t.exp,n)),t.name===`if`){let i=xs(e,t),a={type:9,loc:Pa(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&&ra(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(W(30,e.loc)),n.removeNode();let i=xs(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})=>{ws(t,e)&&n.onError(W(29,i.userKey.loc))})}s.branches.push(i);let o=r&&r(s,i,!1);$a(i,n),o&&o(),n.currentNode=null}else n.onError(W(30,e.loc));break}}}function xs(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!Ri(e,`for`)?e.children:[e],userKey:zi(e,`key`),isTemplateIf:n}}function Ss(e,t,n){return e.condition?Bt(e.condition,Cs(e,t,n),V(n.helper(Qe),[`"v-if"`,`true`])):Cs(e,t,n)}function Cs(e,t,n){let{helper:r}=n,i=z(`key`,B(`${t}`,!1,R,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 Yi(e,i,n),e}else{let t=64;return!e.isTemplateIf&&a.filter(e=>e.type!==3).length===1&&(t|=2048),Pt(n,r(Ue),It([i]),a,t,void 0,void 0,!0,!1,!1,e.loc)}else{let e=o.codegenNode,t=$i(e);return t.type===13&&Xt(t,n),Yi(t,i,n),e}}function ws(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 Ts(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 Es=eo(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return Ds(e,t,n,t=>{let a=V(r(ot),[t.source]),o=Gi(e),s=Ri(e,`memo`),c=zi(e,`key`,!1,!0),l=c&&c.type===7,u=c&&(c.type===6?c.value?B(c.value.content,!0):void 0:c.exp);s&&u&&l&&(c.exp=u=hs(u,n));let d=c&&u?z(`key`,u):null;o&&(s&&(s.exp=hs(s.exp,n)),d&&c.type!==6&&(d.value=hs(d.value,n)));let f=t.source.type===4&&t.source.constType>0,p=f?64:c?128:256;return t.codegenNode=Pt(n,r(Ue),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=zi(e,`key`);if(t)return n.onError(W(33,t.loc)),!0}});let p=l.length!==1||l[0].type!==1,m=Ki(e)?e:o&&e.children.length===1&&Ki(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&d&&Yi(c,d,n)):p?c=Pt(n,r(Ue),d?It([d]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=l[0].codegenNode,o&&d&&Yi(c,d,n),c.isBlock!==!f&&(c.isBlock?(i(Je),i(Yt(n.inSSR,c.isComponent))):i(Jt(n.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(Je),r(Yt(n.inSSR,c.isComponent))):r(Jt(n.inSSR,c.isComponent))),s){let e=zt(ks(t.parseResult,[B(`_cached`)]));e.body=Ht([Rt([`const _memo = (`,s.exp,`)`]),Rt([`if (_cached && _cached.el`,...u?[` && _cached.key === `,u]:[],` && ${n.helperString(Et)}(_cached, _memo)) return _cached`]),Rt([`const _item = `,c]),B(`_item.memo = _memo`),B(`return _item`)]),a.arguments.push(e,B(`_cache`),B(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(zt(ks(t.parseResult),c,!0))}})});function Ds(e,t,n,r){if(!t.exp){n.onError(W(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(W(32,t.loc));return}Os(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:Gi(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 Os(e,t){e.finalized||(t.prefixIdentifiers&&(e.source=hs(e.source,t),e.key&&(e.key=hs(e.key,t,!0)),e.index&&(e.index=hs(e.index,t,!0)),e.value&&(e.value=hs(e.value,t,!0))),e.finalized=!0)}function ks({value:e,key:t,index:n},r=[]){return As([e,t,n,...r])}function As(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||B(`_`.repeat(t+1),!1))}var js=B(`undefined`,!1),Ms=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=Ri(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--}}}},Ns=(e,t)=>{let n;if(Gi(e)&&e.props.some(Wi)&&(n=Ri(e,`for`))){let e=n.forParseResult;if(e){Os(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)}}}},Ps=(e,t,n,r)=>zt(e,n,!1,!0,n.length?n[0].loc:r);function Fs(e,t,n=Ps){t.helper(St);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=>Wi(e)&&(Qi(e.arg,t.identifiers)||Qi(e.exp,t.identifiers)))||r.some(e=>Qi(e,t.identifiers)));let c=Ri(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!bi(e)&&(s=!0),a.push(z(e||B(`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(!Gi(i)||!(m=Ri(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(W(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=B(`default`,!0),exp:v,loc:y}=m,b;bi(_)?b=_?_.content:`default`:s=!0;let x=Ri(i,`for`),S=n(v,x,h,g),C,w;if(C=Ri(i,`if`))s=!0,o.push(Bt(C.exp,Is(_,S,p++),js));else if(w=Ri(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],ra(i)););if(i&&Gi(i)&&Ri(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?Bt(w.exp,Is(_,S,p++),js):Is(_,S,p++)}else t.onError(W(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(Os(e,t),o.push(V(t.helper(ot),[e.source,zt(ks(e),Is(_,S),!0)]))):t.onError(W(32,x.loc))}else{if(b){if(f.has(b)){t.onError(W(38,y));continue}f.add(b),b==="default"&&(u=!0)}a.push(z(_,S))}}if(!c){let e=(e,t)=>z(`default`,n(e,void 0,t,i));l?d.length&&!d.every(na)&&(u?t.onError(W(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:Ls(e.children)?3:1,h=It(a.concat(z(`_`,B(m+` /* ${ce[m]} */`,!1))),i);return o.length&&(h=V(t.helper(ct),[h,Ft(o)])),{slots:h,hasDynamicSlots:s}}function Is(e,t,n){let r=[z(`name`,e),z(`fn`,t)];return n!=null&&r.push(z(`key`,B(String(n),!0))),It(r)}function Ls(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||Ls(n.children))return!0;break;case 9:if(Ls(n.branches))return!0;break;case 10:case 11:if(Ls(n.children))return!0;break}}return!1}var Rs=new WeakMap,zs=(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?Bs(e,t):`"${n}"`,o=O(a)&&a.callee===nt,s,c,l=0,u,d,f,p=o||a===We||a===Ge||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=Hs(e,t,void 0,i,o);s=n.props,l=n.patchFlag,d=n.dynamicPropNames;let r=n.directives;f=r&&r.length?Ft(r.map(e=>Gs(e,t))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(a===Ke&&(p=!0,l|=1024,e.children.length>1&&t.onError(W(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}))),i&&a!==We&&a!==Ke){let{slots:n,hasDynamicSlots:r}=Fs(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==We){let n=e.children[0],r=n.type,i=r===5||r===8;i&&Wa(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;d&&d.length&&(u=Ks(d)),e.codegenNode=Pt(t,a,s,c,l===0?void 0:l,u,f,!!p,!1,i,e.loc)};function Bs(e,t,n=!1){let{tag:r}=e,i=qs(r),a=zi(e,`is`,!1,!0);if(a)if(i){let e;if(a.type===6?e=a.value&&B(a.value.content,!0):(e=a.exp,e||(e=B(`is`,!1,a.arg.loc),e=a.exp=hs(e,t))),e)return V(t.helper(nt),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=xi(r)||t.isBuiltInComponent(r);if(o)return n||t.helper(o),o;{let e=Vs(r,t);if(e)return e;let n=r.indexOf(`.`);if(n>0){let e=Vs(r.slice(0,n),t);if(e)return e+r.slice(n)}}return t.selfName&&re(N(r))===t.selfName?(t.helper(tt),t.components.add(r+`__self`),Zi(r,`component`)):(t.helper(tt),t.components.add(r),Zi(r,`component`))}function Vs(e,t){let n=t.bindingMetadata;if(!n||n.__isScriptSetup===!1)return;let r=N(e),i=re(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(Ct)}(${s})`:`$setup[${JSON.stringify(s)}]`;let c=a(`props`);if(c)return`${t.helperString(Ct)}(${t.inline?`__props`:`$props`}[${JSON.stringify(c)}])`}function Hs(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:s,children:c}=e,l=[],u=[],d=[],f=c.length>0,p=!1,m=0,h=!1,g=!1,_=!1,y=!1,b=!1,x=!1,S=[],C=e=>{l.length&&(u.push(It(Us(l),s)),l=[]),e&&u.push(e)},w=()=>{t.scopes.vFor>0&&l.push(z(B(`ref_for`,!0),B(`true`)))},T=({key:e,value:n})=>{if(bi(e)){let a=e.content,o=v(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!ee(a)&&(y=!0),o&&ee(a)&&(x=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&Wa(n,t)>0)return;a===`ref`?h=!0:a===`class`?g=!0:a===`style`?_=!0:a!==`key`&&!S.includes(a)&&S.push(a),r&&(a===`class`||a===`style`)&&!S.includes(a)&&S.push(a)}else b=!0};for(let i=0;i<n.length;i++){let c=n[i];if(c.type===6){let{loc:e,name:n,nameLoc:r,value:i}=c,a=!0;if(n===`ref`&&(h=!0,w(),i&&t.inline)){let e=t.bindingMetadata[i.content];(e===`setup-let`||e===`setup-ref`||e===`setup-maybe-ref`)&&(a=!1,l.push(z(B(`ref_key`,!0),B(i.content,!0,i.loc))))}if(n===`is`&&(qs(o)||i&&i.content.startsWith(`vue:`)))continue;l.push(z(B(n,!0,r),B(i?i.content:``,a,i?i.loc:e)))}else{let{name:n,arg:i,exp:h,loc:g,modifiers:_}=c,v=n===`bind`,y=n===`on`;if(n===`slot`){r||t.onError(W(40,g));continue}if(n===`once`||n===`memo`||n===`is`||v&&Bi(i,`is`)&&qs(o)||y&&a)continue;if((v&&Bi(i,`key`)||y&&f&&Bi(i,`vue:before-update`))&&(p=!0),v&&Bi(i,`ref`)&&w(),!i&&(v||y)){b=!0,h?v?(w(),C(),u.push(h)):C({type:14,loc:g,callee:t.helper(ht),arguments:r?[h]:[h,`true`]}):t.onError(W(v?34:35,g));continue}v&&_.some(e=>e.content===`prop`)&&(m|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(c,e,t);!a&&n.forEach(T),y&&i&&!bi(i)?C(It(n,s)):l.push(...n),r&&(d.push(c),D(r)&&Rs.set(c,r))}else M(n)||(d.push(c),f&&(p=!0))}}let E;if(u.length?(C(),E=u.length>1?V(t.helper(ut),u,s):u[0]):l.length&&(E=It(Us(l),s)),b?m|=16:(g&&!r&&(m|=2),_&&!r&&(m|=4),S.length&&(m|=8),y&&(m|=32)),!p&&(m===0||m===32)&&(h||x||d.length>0)&&(m|=512),!t.inSSR&&E)switch(E.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<E.properties.length;t++){let i=E.properties[t].key;bi(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=E.properties[e],a=E.properties[n];r?E=V(t.helper(pt),[E]):(i&&!bi(i.value)&&(i.value=V(t.helper(dt),[i.value])),a&&(_||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=V(t.helper(ft),[a.value])));break;case 14:break;default:E=V(t.helper(pt),[V(t.helper(mt),[E])]);break}return{props:E,directives:d,patchFlag:m,dynamicPropNames:S,shouldUseBlock:p}}function Us(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`||v(a))&&Ws(o,i):(t.set(a,i),n.push(i))}return n}function Ws(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Ft([e.value,t.value],e.loc)}function Gs(e,t){let n=[],r=Rs.get(e);if(r)n.push(t.helperString(r));else{let r=Vs(`v-`+e.name,t);r?n.push(r):(t.helper(rt),t.directives.add(e.name),n.push(Zi(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=B(`true`,!1,i);n.push(It(e.modifiers.map(e=>z(e,t)),i))}return Ft(n,e.loc)}function Ks(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 qs(e){return e===`component`||e===`Component`}var Js=(e,t)=>{if(Ki(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=Ys(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=zt([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=V(t.helper(st),o,r)}};function Ys(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=N(a.name),i.push(a))):a.name===`bind`&&Bi(a.arg,`name`)?a.exp?n=a.exp:a.arg&&a.arg.type===4&&(n=a.exp=B(N(a.arg.content),!1,a.arg.loc),n=a.exp=hs(a.exp,t)):(a.name===`bind`&&a.arg&&bi(a.arg)&&(a.arg.content=N(a.arg.content)),i.push(a))}if(i.length>0){let{props:n,directives:a}=Hs(e,t,i,!1,!1);r=n,a.length&&t.onError(W(36,a[0].loc))}return{slotName:n,slotProps:r}}var Xs=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(W(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vnode`)&&n.onError(W(52,o.loc)),e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=B(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?I(N(e)):`on:${e}`,!0,o.loc)}else s=Rt([`${n.helperString(vt)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString(vt)}(`),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=Ai(c,n),i=!(r||Pi(c,n)),a=c.content.includes(`;`);n.prefixIdentifiers&&(i&&n.addIdentifiers(`$event`),c=e.exp=hs(c,n,!1,a),i&&n.removeIdentifiers(`$event`),l=n.cacheHandlers&&!n.inVOnce&&!(c.type===4&&c.constType>0)&&!(r&&t.tagType===1)&&!Qi(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=Rt([`${i?n.isTS?`($event: any)`:`$event`:`${n.isTS?`
|
|
42
36
|
//@ts-ignore
|
|
43
|
-
`:""}(...args)`} => ${b?"{":"("}`,c,b?"}":")"]))}let f={props:[we(h,c||Y("() => {}",!1,n))]};return i&&(f=i(f)),d&&(f.props[0].value=r.cache(f.props[0].value)),f.props.forEach(m=>m.key.isHandlerKey=!0),f},mb=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const r=t.children;let i,n=!1;for(let a=0;a<r.length;a++){const o=r[a];if(Os(o)){n=!0;for(let h=a+1;h<r.length;h++){const c=r[h];if(Os(c))i||(i=r[a]=je([o],o.loc)),i.children.push(" + ",c),r.splice(h,1),h--;else{i=void 0;break}}}}if(!(!n||r.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(a=>a.type===7&&!e.directiveTransforms[a.name]))))for(let a=0;a<r.length;a++){const o=r[a];if(Os(o)||o.type===8){const h=[];(o.type!==2||o.content!==" ")&&h.push(o),!e.ssr&&ft(o,e)===0&&h.push(`1 /* ${Si[1]} */`),r[a]={type:12,content:o,loc:o.loc,codegenNode:ce(e.helper(wi),h)}}}}},of=new WeakSet,gb=(t,e)=>{if(t.type===1&&Be(t,"once",!0))return of.has(t)||e.inVOnce||e.inSSR?void 0:(of.add(t),e.inVOnce=!0,e.helper(Cs),()=>{e.inVOnce=!1;const r=e.currentNode;r.codegenNode&&(r.codegenNode=e.cache(r.codegenNode,!0,!0))})},fn=(t,e,r)=>{const{exp:i,arg:n}=t;if(!i)return r.onError(ve(41,t.loc)),js();const a=i.loc.source.trim(),o=i.type===4?i.content:a,h=r.bindingMetadata[a];if(h==="props"||h==="props-aliased")return r.onError(ve(44,i.loc)),js();const c=r.inline&&(h==="setup-let"||h==="setup-ref"||h==="setup-maybe-ref");if(!o.trim()||!oo(i,r)&&!c)return r.onError(ve(42,i.loc)),js();if(r.prefixIdentifiers&&Xt(o)&&r.identifiers[o])return r.onError(ve(43,i.loc)),js();const d=n||Y("modelValue",!0),f=n?Xe(n)?`onUpdate:${ot(n.content)}`:je(['"onUpdate:" + ',n]):"onUpdate:modelValue";let m;const g=r.isTS?"($event: any)":"$event";if(c)if(h==="setup-ref")m=je([`${g} => ((`,Y(a,!1,i.loc),").value = $event)"]);else{const x=h==="setup-let"?`${a} = $event`:"null";m=je([`${g} => (${r.helperString(Is)}(${a}) ? (`,Y(a,!1,i.loc),`).value = $event : ${x})`])}else m=je([`${g} => ((`,i,") = $event)"]);const b=[we(d,t.exp),we(f,m)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!ht(i,r.identifiers)&&(b[1].value=r.cache(b[1].value)),t.modifiers.length&&e.tagType===1){const x=t.modifiers.map(y=>y.content).map(y=>(Xt(y)?y:JSON.stringify(y))+": true").join(", "),v=n?Xe(n)?`${n.content}Modifiers`:je([n,' + "Modifiers"']):"modelModifiers";b.push(we(v,Y(`{ ${x} }`,!1,t.loc,2)))}return js(b)};function js(t=[]){return{props:t}}const uf=new WeakSet,yb=(t,e)=>{if(t.type===1){const r=Be(t,"memo");return!r||uf.has(t)?void 0:(uf.add(t),()=>{const i=t.codegenNode||e.currentNode.codegenNode;i&&i.type===13&&(t.tagType!==1&&Bi(i,e),t.codegenNode=ce(e.helper(Mi),[r.exp,gt(void 0,i),"_cache",String(e.cached.length)]),e.cached.push(null))})}};function Do(t){return[[gb,ab,yb,lb,...t?[Oo,_o]:[],db,nf,No,mb],{on:hn,bind:Ao,model:fn}]}function lf(t,e={}){const r=e.onError||eo,i=e.mode==="module",n=e.prefixIdentifiers===!0||i;!n&&e.cacheHandlers&&r(ve(49)),e.scopeId&&!i&&r(ve(50));const a=wt({},e,{prefixIdentifiers:n}),o=ye(t)?Zi(t,a):t,[h,c]=Do(n);if(e.isTS){const{expressionPlugins:d}=e;(!d||!d.includes("typescript"))&&(e.expressionPlugins=[...d||[],"typescript"])}return go(o,wt({},a,{nodeTransforms:[...h,...e.nodeTransforms||[]],directiveTransforms:wt({},c,e.directiveTransforms||{})})),To(o,a)}const bb={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"},Vs=()=>({props:[]}),Fo=Symbol("vModelRadio"),Bo=Symbol("vModelCheckbox"),Uo=Symbol("vModelText"),$o=Symbol("vModelSelect"),pn=Symbol("vModelDynamic"),qo=Symbol("vOnModifiersGuard"),jo=Symbol("vOnKeysGuard"),Vo=Symbol("vShow"),Ir=Symbol("Transition"),rs=Symbol("TransitionGroup");Xa({[Fo]:"vModelRadio",[Bo]:"vModelCheckbox",[Uo]:"vModelText",[$o]:"vModelSelect",[pn]:"vModelDynamic",[qo]:"withModifiers",[jo]:"withKeys",[Vo]:"vShow",[Ir]:"Transition",[rs]:"TransitionGroup"});const ss={parseMode:"html",isVoidTag:qc,isNativeTag:t=>Tg(t)||_g(t)||Pg(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:void 0,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return Ir;if(t==="TransitionGroup"||t==="transition-group")return rs},getNamespace(t,e,r){let i=e?e.ns:r;if(e&&i===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(i=0);else e&&i===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(i=0);if(i===0){if(t==="svg")return 1;if(t==="math")return 2}return i}},Go=t=>{t.type===1&&t.props.forEach((e,r)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[r]={type:7,name:"bind",arg:Y("style",!0,e.loc),exp:vb(e.value.content,e.loc),modifiers:[],loc:e.loc})})},vb=(t,e)=>{const r=Uc(t);return Y(JSON.stringify(r),!1,e,3)};function Ze(t,e){return ve(t,e,zo)}const Sb={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},zo={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},xb=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(Ze(53,n)),e.children.length&&(r.onError(Ze(54,n)),e.children.length=0),{props:[we(Y("innerHTML",!0,n),i||Y("",!0))]}},Eb=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(Ze(55,n)),e.children.length&&(r.onError(Ze(56,n)),e.children.length=0),{props:[we(Y("textContent",!0),i?ft(i,r)>0?i:ce(r.helperString(As),[i],n):Y("",!0))]}},wb=(t,e,r)=>{const i=fn(t,e,r);if(!i.props.length||e.tagType===1)return i;t.arg&&r.onError(Ze(58,t.arg.loc));function n(){const h=Be(e,"bind");h&&Dt(h.arg,"value")&&r.onError(Ze(60,h.loc))}const{tag:a}=e,o=r.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||o){let h=Uo,c=!1;if(a==="input"||o){const d=ct(e,"type");if(d){if(d.type===7)h=pn;else if(d.value)switch(d.value.content){case"radio":h=Fo;break;case"checkbox":h=Bo;break;case"file":c=!0,r.onError(Ze(59,t.loc));break;default:n();break}}else Xi(e)?h=pn:n()}else a==="select"?h=$o:n();c||(i.needRuntime=r.helper(h))}else r.onError(Ze(57,t.loc));return i.props=i.props.filter(h=>!(h.key.type===4&&h.key.content==="modelValue")),i},Tb=ge("passive,once,capture"),_b=ge("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Pb=ge("left,right"),cf=ge("onkeyup,onkeydown,onkeypress"),Ab=(t,e,r,i)=>{const n=[],a=[],o=[];for(let h=0;h<e.length;h++){const c=e[h].content;Tb(c)?o.push(c):Pb(c)?Xe(t)?cf(t.content.toLowerCase())?n.push(c):a.push(c):(n.push(c),a.push(c)):_b(c)?a.push(c):n.push(c)}return{keyModifiers:n,nonKeyModifiers:a,eventOptionModifiers:o}},hf=(t,e)=>Xe(t)&&t.content.toLowerCase()==="onclick"?Y(e,!0):t.type!==4?je(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,Cb=(t,e,r)=>hn(t,e,r,i=>{const{modifiers:n}=t;if(!n.length)return i;let{key:a,value:o}=i.props[0];const{keyModifiers:h,nonKeyModifiers:c,eventOptionModifiers:d}=Ab(a,n,r,t.loc);if(c.includes("right")&&(a=hf(a,"onContextmenu")),c.includes("middle")&&(a=hf(a,"onMouseup")),c.length&&(o=ce(r.helper(qo),[o,JSON.stringify(c)])),h.length&&(!Xe(a)||cf(a.content.toLowerCase()))&&(o=ce(r.helper(jo),[o,JSON.stringify(h)])),d.length){const f=d.map(lr).join("");a=Xe(a)?Y(`${a.content}${f}`,!0):je(["(",a,`) + "${f}"`])}return{props:[we(a,o)]}}),Ib=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(Ze(61,n)),{props:[],needRuntime:r.helper(Vo)}},Nb=(t,e)=>{if(t.type===1&&t.tagType===1&&e.isBuiltInComponent(t.tag)===Ir)return()=>{if(!t.children.length)return;ff(t)&&e.onError(Ze(62,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}));const i=t.children[0];if(i.type===1)for(const n of i.props)n.type===7&&n.name==="show"&&t.props.push({type:6,name:"persisted",nameLoc:t.loc,value:void 0,loc:t.loc})}};function ff(t){const e=t.children=t.children.filter(i=>i.type!==3&&!(i.type===2&&!i.content.trim())),r=e[0];return e.length!==1||r.type===11||r.type===9&&r.branches.some(ff)}const Ob=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,kb=(t,e,r)=>{if(e.scopes.vSlot>0)return;const i=r.type===1&&r.codegenNode&&r.codegenNode.type===13&&r.codegenNode.children&&!Me(r.codegenNode.children)&&r.codegenNode.children.type===20;let n=0,a=0;const o=[],h=d=>{if(n>=20||a>=5){const f=ce(e.helper(Ti),[JSON.stringify(o.map(g=>Wo(g,e)).join("")).replace(Ob,'" + $1 + "'),String(o.length)]),m=o.length-1;if(i)t.splice(d-o.length,o.length,f);else if(o[0].codegenNode.value=f,o.length>1){t.splice(d-o.length+1,m);const g=e.cached.indexOf(o[o.length-1].codegenNode);if(g>-1){for(let b=g;b<e.cached.length;b++){const x=e.cached[b];x&&(x.index-=m)}e.cached.splice(g-m+1,m)}}return m}return 0};let c=0;for(;c<t.length;c++){const d=t[c];if(i||Lb(d)){const m=Db(d);if(m){n+=m[0],a+=m[1],o.push(d);continue}}c-=h(c),n=0,a=0,o.length=0}h(c)},Lb=t=>{if((t.type===1&&t.tagType===0||t.type===12)&&t.codegenNode&&t.codegenNode.type===20)return t.codegenNode},Mb=/^(data|aria)-/,pf=(t,e)=>(e===0?Ng(t):e===1?Og(t):e===2?kg(t):!1)||Mb.test(t),Rb=ge("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Db(t){if(t.type===1&&Rb(t.tag))return!1;if(t.type===12)return[1,0];let e=1,r=t.props.length>0?1:0,i=!1;const n=()=>(i=!0,!1);function a(o){const h=o.tag==="option"&&o.ns===0;for(let c=0;c<o.props.length;c++){const d=o.props[c];if(d.type===6&&!pf(d.name,o.ns)||d.type===7&&d.name==="bind"&&(d.arg&&(d.arg.type===8||d.arg.isStatic&&!pf(d.arg.content,o.ns))||d.exp&&(d.exp.type===8||d.exp.constType<3)||h&&Dt(d.arg,"value")&&d.exp&&!d.exp.isStatic))return n()}for(let c=0;c<o.children.length;c++){e++;const d=o.children[c];if(d.type===1&&(d.props.length>0&&r++,a(d),i))return!1}return!0}return a(t)?[e,r]:!1}function Wo(t,e){if(ye(t))return t;if(or(t))return"";switch(t.type){case 1:return Fb(t,e);case 2:return Lt(t.content);case 3:return`<!--${Lt(t.content)}-->`;case 5:return Lt(xi(Nr(t.content)));case 8:return Lt(Nr(t));case 12:return Wo(t.content,e);default:return""}}function Fb(t,e){let r=`<${t.tag}`,i="";for(let n=0;n<t.props.length;n++){const a=t.props[n];if(a.type===6)r+=` ${a.name}`,a.value&&(r+=`="${Lt(a.value.content)}"`);else if(a.type===7)if(a.name==="bind"){const o=a.exp;if(o.content[0]==="_"){r+=` ${a.arg.content}="__VUE_EXP_START__${o.content}__VUE_EXP_END__"`;continue}if(jc(a.arg.content)&&o.content==="false")continue;let h=Nr(o);if(h!=null){const c=a.arg&&a.arg.content;c==="class"?h=$c(h):c==="style"&&(h=vg(Bc(h))),r+=` ${a.arg.content}="${Lt(h)}"`}}else a.name==="html"?i=Nr(a.exp):a.name==="text"&&(i=Lt(xi(Nr(a.exp))))}if(e.scopeId&&(r+=` ${e.scopeId}`),r+=">",i)r+=i;else for(let n=0;n<t.children.length;n++)r+=Wo(t.children[n],e);return qc(t.tag)||(r+=`</${t.tag}>`),r}function Nr(t){if(t.type===4)return new Function(`return (${t.content})`)();{let e="";return t.children.forEach(r=>{ye(r)||or(r)||(r.type===2?e+=r.content:r.type===5?e+=xi(Nr(r.content)):e+=Nr(r))}),e}}const Bb=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&(e.onError(Ze(63,t.loc)),e.removeNode())};function Ub(t,e){return t in df?df[t].has(e):e in mf?mf[e].has(t):!(t in gf&&gf[t].has(e)||e in yf&&yf[e].has(t))}const is=new Set(["h1","h2","h3","h4","h5","h6"]),Or=new Set([]),df={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:Or,iframe:Or,option:Or,textarea:Or,style:Or,title:Or},mf={html:Or,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"])},gf={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"]),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"])},yf={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:is,h2:is,h3:is,h4:is,h5:is,h6:is},Ho=[Go,Nb,(t,e)=>{if(t.type===1&&t.tagType===0&&e.parent&&e.parent.type===1&&e.parent.tagType===0&&!Ub(e.parent.tag,t.tag)){const r=new SyntaxError(`<${t.tag}> cannot be child of <${e.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);r.loc=t.loc,e.onWarn(r)}}],Xo={cloak:Vs,html:xb,text:Eb,model:wb,on:Cb,show:Ib};function $b(t,e={}){return lf(t,wt({},ss,e,{nodeTransforms:[Bb,...Ho,...e.nodeTransforms||[]],directiveTransforms:wt({},Xo,e.directiveTransforms||{}),transformHoist:kb}))}function qb(t,e={}){return Zi(t,wt({},ss,e))}var Ko=Object.freeze({__proto__:null,BASE_TRANSITION:ja,BindingTypes:bb,CAMELIZE:Oi,CAPITALIZE:Wc,CREATE_BLOCK:Va,CREATE_COMMENT:zr,CREATE_ELEMENT_BLOCK:Ga,CREATE_ELEMENT_VNODE:Ei,CREATE_SLOTS:Wa,CREATE_STATIC:Ti,CREATE_TEXT:wi,CREATE_VNODE:Ts,CompilerDeprecationTypes:Yg,ConstantTypes:Ug,DOMDirectiveTransforms:Xo,DOMErrorCodes:Sb,DOMErrorMessages:zo,DOMNodeTransforms:Ho,ElementTypes:Bg,ErrorCodes:ty,FRAGMENT:Vr,GUARD_REACTIVE_PROPS:Hr,IS_MEMO_SAME:Ha,IS_REF:Is,KEEP_ALIVE:ws,MERGE_PROPS:wr,NORMALIZE_CLASS:Ci,NORMALIZE_PROPS:Wr,NORMALIZE_STYLE:Ii,Namespaces:Dg,NodeTypes:Fg,OPEN_BLOCK:cr,POP_SCOPE_ID:Xc,PUSH_SCOPE_ID:Hc,RENDER_LIST:Ai,RENDER_SLOT:za,RESOLVE_COMPONENT:_s,RESOLVE_DIRECTIVE:_i,RESOLVE_DYNAMIC_COMPONENT:Ps,RESOLVE_FILTER:zc,SET_BLOCK_TRACKING:Cs,SUSPENSE:Gr,TELEPORT:Er,TO_DISPLAY_STRING:As,TO_HANDLERS:Ni,TO_HANDLER_KEY:ki,TRANSITION:Ir,TRANSITION_GROUP:rs,TS_NODE_TYPES:Wi,UNREF:Xr,V_MODEL_CHECKBOX:Bo,V_MODEL_DYNAMIC:pn,V_MODEL_RADIO:Fo,V_MODEL_SELECT:$o,V_MODEL_TEXT:Uo,V_ON_WITH_KEYS:jo,V_ON_WITH_MODIFIERS:qo,V_SHOW:Vo,WITH_CTX:Li,WITH_DIRECTIVES:Pi,WITH_MEMO:Mi,advancePositionWithClone:uo,advancePositionWithMutation:lo,assert:co,baseCompile:lf,baseParse:Zi,buildDirectiveArgs:Lo,buildProps:ts,buildSlots:qs,checkCompatEnabled:ey,compile:$b,convertToBlock:Bi,createArrayExpression:Ht,createAssignmentExpression:Fi,createBlockStatement:Ns,createCacheExpression:Kc,createCallExpression:ce,createCompilerError:ve,createCompoundExpression:je,createConditionalExpression:Ct,createDOMCompilerError:Ze,createForLoopParams:$s,createFunctionExpression:gt,createIfStatement:Di,createInterpolation:Ri,createObjectExpression:lt,createObjectProperty:we,createReturnStatement:Yc,createRoot:Tr,createSequenceExpression:Jc,createSimpleExpression:Y,createStructuralDirectiveTransform:Rs,createTemplateLiteral:Ka,createTransformContext:Ms,createVNodeCall:Kr,errorMessages:to,extractIdentifiers:It,findDir:Be,findProp:ct,forAliasRE:bh,generate:To,generateCodeFrame:Es,getBaseTransformPreset:Do,getConstantType:ft,getMemoedVNodeCall:yh,getVNodeBlockHelper:Pr,getVNodeHelper:_r,hasDynamicKeyVBind:Xi,hasScopeRef:ht,helperNameMap:ut,injectProp:ks,isCoreComponent:ao,isFnExpression:dh,isFnExpressionBrowser:fy,isFnExpressionNode:ph,isFunctionType:pr,isInDestructureAssignment:Vi,isInNewExpression:oh,isMemberExpression:oo,isMemberExpressionBrowser:cy,isMemberExpressionNode:fh,isReferencedIdentifier:so,isSimpleIdentifier:Xt,isSlotOutlet:Qr,isStaticArgOf:Dt,isStaticExp:Xe,isStaticProperty:zi,isStaticPropertyKey:hh,isTemplateNode:Yr,isText:Os,isVSlot:ho,locStub:Ne,noopDirectiveTransform:Vs,parse:qb,parserOptions:ss,processExpression:qe,processFor:Co,processIf:Po,processSlotOutlet:Ro,registerRuntimeHelpers:Xa,resolveComponentType:cn,stringifyExpression:on,toValidAssetId:Ls,trackSlotScopes:No,trackVForSlotScopes:Oo,transform:go,transformBind:Ao,transformElement:nf,transformExpression:_o,transformModel:fn,transformOn:hn,transformStyle:Go,traverseNode:Zr,unwrapTSNode:bt,walkBlockDeclarations:uh,walkFunctionParams:io,walkIdentifiers:ji,warnDeprecation:ih}),Jo,bf;function jb(){if(bf)return Jo;bf=1;function t(o,h){for(;o.length<h;)o="0"+o;return o}function e(o,h){var c,d,f;if(h.length===0)return o;for(c=0,f=h.length;c<f;c++)d=h.charCodeAt(c),o=(o<<5)-o+d,o|=0;return o<0?o*-2:o}function r(o,h,c){return Object.keys(h).sort().reduce(d,o);function d(f,m){return i(f,h[m],m,c)}}function i(o,h,c,d){var f=e(e(e(o,c),n(h)),typeof h);if(h===null)return e(f,"null");if(h===void 0)return e(f,"undefined");if(typeof h=="object"||typeof h=="function"){if(d.indexOf(h)!==-1)return e(f,"[Circular]"+c);d.push(h);var m=r(f,h,d);if(!("valueOf"in h)||typeof h.valueOf!="function")return m;try{return e(m,String(h.valueOf()))}catch(g){return e(m,"[valueOf exception]"+(g.stack||g.message))}}return e(f,h.toString())}function n(o){return Object.prototype.toString.call(o)}function a(o){return t(i(0,o,"",[]).toString(16),8)}return Jo=a,Jo}var Vb=jb(),Gb=$i(Vb);const dn="useCssVars";function vf(t,e,r,i=!1){return`{
|
|
44
|
-
${
|
|
37
|
+
`:``}(...args)`} => ${a?`{`:`(`}`,c,a?`}`:`)`]))}let u={props:[z(s,c||B(`() => {}`,!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},Zs=(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(W(34,i)),{props:[z(a,B(``,!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=N(a.content):a.content=`${n.helperString(gt)}(${a.content})`:(a.children.unshift(`${n.helperString(gt)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&Qs(a,`.`),r.some(e=>e.content===`attr`)&&Qs(a,`^`)),{props:[z(a,o)]})},Qs=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},$s=(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(Hi(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(Hi(a))r||(r=n[e]=Rt([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(Hi(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&Wa(r,t)===0&&i.push(`1 /* ${se[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:V(t.helper($e),i)}}}}},ec=new WeakSet,tc=(e,t)=>{if(e.type===1&&Ri(e,`once`,!0))return ec.has(e)||t.inVOnce||t.inSSR?void 0:(ec.add(e),t.inVOnce=!0,t.helper(yt),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},nc=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(W(41,e.loc)),rc();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(W(44,r.loc)),rc();if(s===`literal-const`||s===`setup-const`)return n.onError(W(45,r.loc)),rc();let c=n.inline&&(s===`setup-let`||s===`setup-ref`||s===`setup-maybe-ref`);if(!o.trim()||!Ai(r,n)&&!c)return n.onError(W(42,r.loc)),rc();if(n.prefixIdentifiers&&Ci(o)&&n.identifiers[o])return n.onError(W(43,r.loc)),rc();let l=i||B(`modelValue`,!0),u=i?bi(i)?`onUpdate:${N(i.content)}`:Rt([`"onUpdate:" + `,i]):`onUpdate:modelValue`,d,f=n.isTS?`($event: any)`:`$event`;if(c)if(s===`setup-ref`)d=Rt([`${f} => ((`,B(a,!1,r.loc),`).value = $event)`]);else{let e=s===`setup-let`?`${a} = $event`:`null`;d=Rt([`${f} => (${n.helperString(wt)}(${a}) ? (`,B(a,!1,r.loc),`).value = $event : ${e})`])}else d=Rt([`${f} => ((`,r,`) = $event)`]);let p=[z(l,e.exp),z(u,d)];if(n.prefixIdentifiers&&!n.inVOnce&&n.cacheHandlers&&!Qi(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=>(Ci(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?bi(i)?`${i.content}Modifiers`:Rt([i,` + "Modifiers"`]):`modelModifiers`;p.push(z(n,B(`{ ${t} }`,!1,e.loc,2)))}return rc(p)};function rc(e=[]){return{props:e}}var ic=new WeakSet,ac=(e,t)=>{if(e.type===1){let n=Ri(e,`memo`);return!n||ic.has(e)||t.inSSR?void 0:(ic.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&Xt(r,t),e.codegenNode=V(t.helper(Tt),[n.exp,zt(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},oc=(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(W(53,e.loc)),n.exp=B(``,!0,e.loc);else{let t=N(e.content);(wi.test(t[0])||t[0]===`-`)&&(n.exp=B(t,!1,e.loc))}}}};function sc(e){return[[oc,tc,ys,ac,Es,...e?[Ns,ms]:[],Js,zs,Ms,$s],{on:Xs,bind:Zs,model:nc}]}function cc(e,t={}){let n=t.onError||Ur,r=t.mode===`module`,i=t.prefixIdentifiers===!0||r;!i&&t.cacheHandlers&&n(W(50)),t.scopeId&&!r&&n(W(51));let a=y({},t,{prefixIdentifiers:i}),o=E(e)?Ba(e,a):e,[s,c]=sc(i);if(t.isTS){let{expressionPlugins:e}=t;(!e||!e.includes(`typescript`))&&(t.expressionPlugins=[...e||[],`typescript`])}return Xa(o,y({},a,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:y({},c,t.directiveTransforms||{})})),zo(o,a)}var lc={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`},uc=()=>({props:[]}),dc=Symbol(`vModelRadio`),fc=Symbol(`vModelCheckbox`),pc=Symbol(`vModelText`),mc=Symbol(`vModelSelect`),hc=Symbol(`vModelDynamic`),gc=Symbol(`vOnModifiersGuard`),_c=Symbol(`vOnKeysGuard`),vc=Symbol(`vShow`),yc=Symbol(`Transition`),bc=Symbol(`TransitionGroup`);Ot({[dc]:`vModelRadio`,[fc]:`vModelCheckbox`,[pc]:`vModelText`,[mc]:`vModelSelect`,[hc]:`vModelDynamic`,[gc]:`withModifiers`,[_c]:`withKeys`,[vc]:`vShow`,[yc]:`Transition`,[bc]:`TransitionGroup`});var xc={parseMode:`html`,isVoidTag:Ee,isNativeTag:e=>Ce(e)||we(e)||Te(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:void 0,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return yc;if(e===`TransitionGroup`||e===`transition-group`)return bc},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}},Sc=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:B(`style`,!0,t.loc),exp:Cc(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Cc=(e,t)=>{let n=ge(e);return B(JSON.stringify(n),!1,t,3)};function wc(e,t){return W(e,t,Ec)}var Tc={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__`},Ec={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.`},Dc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(wc(54,i)),t.children.length&&(n.onError(wc(55,i)),t.children.length=0),{props:[z(B(`innerHTML`,!0,i),r||B(``,!0))]}},Oc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(wc(56,i)),t.children.length&&(n.onError(wc(57,i)),t.children.length=0),{props:[z(B(`textContent`,!0),r?Wa(r,n)>0?r:V(n.helperString(lt),[r],i):B(``,!0))]}},kc=(e,t,n)=>{let r=nc(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(wc(59,e.arg.loc));function i(){let e=Ri(t,`bind`);e&&Bi(e.arg,`value`)&&n.onError(wc(61,e.loc))}let{tag:a}=t,o=n.isCustomElement(a);if(a===`input`||a===`textarea`||a===`select`||o){let s=pc,c=!1;if(a===`input`||o){let r=zi(t,`type`);if(r){if(r.type===7)s=hc;else if(r.value)switch(r.value.content){case`radio`:s=dc;break;case`checkbox`:s=fc;break;case`file`:c=!0,n.onError(wc(60,e.loc));break;default:i();break}}else Vi(t)?s=hc:i()}else a===`select`?s=mc:i();c||(r.needRuntime=n.helper(s))}else n.onError(wc(58,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},Ac=m(`passive,once,capture`),jc=m(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),Mc=m(`left,right`),Nc=m(`onkeyup,onkeydown,onkeypress`),Pc=(e,t,n,r)=>{let i=[],a=[],o=[];for(let n=0;n<t.length;n++){let r=t[n].content;Ac(r)?o.push(r):Mc(r)?bi(e)?Nc(e.content.toLowerCase())?i.push(r):a.push(r):(i.push(r),a.push(r)):jc(r)?a.push(r):i.push(r)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},Fc=(e,t)=>bi(e)&&e.content.toLowerCase()===`onclick`?B(t,!0):e.type===4?e:Rt([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),Ic=(e,t,n)=>Xs(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}=Pc(i,r,n,e.loc);if(s.includes(`right`)&&(i=Fc(i,`onContextmenu`)),s.includes(`middle`)&&(i=Fc(i,`onMouseup`)),s.length&&(a=V(n.helper(gc),[a,JSON.stringify(s)])),o.length&&(!bi(i)||Nc(i.content.toLowerCase()))&&(a=V(n.helper(_c),[a,JSON.stringify(o)])),c.length){let e=c.map(re).join(``);i=bi(i)?B(`${i.content}${e}`,!0):Rt([`(`,i,`) + "${e}"`])}return{props:[z(i,a)]}}),Lc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(wc(62,i)),{props:[],needRuntime:n.helper(vc)}},Rc=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===yc)return()=>{if(!e.children.length)return;zc(e)&&t.onError(wc(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 zc(e){let t=e.children=e.children.filter(e=>!ra(e)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(zc)}var Bc=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Vc=(e,t,n)=>{if(t.scopes.vSlot>0)return;let r=n.type===1&&n.codegenNode&&n.codegenNode.type===13&&n.codegenNode.children&&!S(n.codegenNode.children)&&n.codegenNode.children.type===20,i=0,a=0,o=[],s=n=>{if(i>=20||a>=5){let i=V(t.helper(et),[JSON.stringify(o.map(e=>qc(e,t)).join(``)).replace(Bc,`" + $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||Hc(t)){let e=Kc(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)},Hc=e=>{if((e.type===1&&e.tagType===0||e.type===12)&&e.codegenNode&&e.codegenNode.type===20)return e.codegenNode},Uc=/^(?:data|aria)-/,Wc=(e,t)=>(t===0?Me(e):t===1?Ne(e):t===2?Pe(e):!1)||Uc.test(e),Gc=m(`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`);function Kc(e){if(e.type===1&&Gc(e.tag)||e.type===1&&Ri(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&&!Wc(n.name,e.ns)||n.type===7&&n.name===`bind`&&(n.arg&&(n.arg.type===8||n.arg.isStatic&&!Wc(n.arg.content,e.ns))||n.exp&&(n.exp.type===8||n.exp.constType<3)||o&&Bi(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 qc(e,t){if(E(e))return e;if(D(e))return``;switch(e.type){case 1:return Jc(e,t);case 2:return Ie(e.content);case 3:return`<!--${Ie(e.content)}-->`;case 5:return Ie(Be(Yc(e.content)));case 8:return Ie(Yc(e));case 12:return qc(e.content,t);default:return``}}function Jc(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+=`="${Ie(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(De(i.arg.content)&&e.content===`false`)continue;let t=Yc(e);if(t!=null){let e=i.arg&&i.arg.content;e===`class`?t=ve(t):e===`style`&&(t=_e(fe(t))),n+=` ${i.arg.content}="${Ie(t)}"`}}else i.name===`html`?r=Yc(i.exp):i.name===`text`&&(r=Ie(Be(Yc(i.exp))))}if(t.scopeId&&(n+=` ${t.scopeId}`),n+=`>`,r)n+=r;else for(let r=0;r<e.children.length;r++)n+=qc(e.children[r],t);return Ee(e.tag)||(n+=`</${e.tag}>`),n}function Yc(e){if(e.type===4)return Function(`return (${e.content})`)();{let t=``;return e.children.forEach(e=>{E(e)||D(e)||(e.type===2?t+=e.content:e.type===5?t+=Be(Yc(e.content)):t+=Yc(e))}),t}}var Xc=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&(t.onError(wc(64,e.loc)),t.removeNode())};function Zc(e,t){return e===`template`?!0:e in el?el[e].has(t):t in tl?tl[t].has(e):!(e in nl&&nl[e].has(t)||t in rl&&rl[t].has(e))}var Qc=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),$c=new Set([]),el={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:$c,iframe:$c,option:$c,textarea:$c,style:$c,title:$c},tl={html:$c,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`])},nl={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(`.`))},rl={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:Qc,h2:Qc,h3:Qc,h4:Qc,h5:Qc,h6:Qc},il=[Sc,Rc,(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!Zc(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)}}],al={cloak:uc,html:Dc,text:Oc,model:kc,on:Ic,show:Lc};function ol(e,t={}){return cc(e,y({},xc,t,{nodeTransforms:[Xc,...il,...t.nodeTransforms||[]],directiveTransforms:y({},al,t.directiveTransforms||{}),transformHoist:Vc}))}function sl(e,t={}){return Ba(e,y({},xc,t))}var cl=Object.freeze({__proto__:null,BASE_TRANSITION:qe,BindingTypes:lc,CAMELIZE:gt,CAPITALIZE:_t,CREATE_BLOCK:L,CREATE_COMMENT:Qe,CREATE_ELEMENT_BLOCK:Ye,CREATE_ELEMENT_VNODE:Ze,CREATE_SLOTS:ct,CREATE_STATIC:et,CREATE_TEXT:$e,CREATE_VNODE:Xe,CompilerDeprecationTypes:Lr,ConstantTypes:Mt,DOMDirectiveTransforms:al,DOMErrorCodes:Tc,DOMErrorMessages:Ec,DOMNodeTransforms:il,ElementTypes:jt,ErrorCodes:Gr,FRAGMENT:Ue,GUARD_REACTIVE_PROPS:mt,IS_MEMO_SAME:Et,IS_REF:wt,KEEP_ALIVE:Ke,MERGE_PROPS:ut,NORMALIZE_CLASS:dt,NORMALIZE_PROPS:pt,NORMALIZE_STYLE:ft,Namespaces:kt,NodeTypes:At,OPEN_BLOCK:Je,POP_SCOPE_ID:xt,PUSH_SCOPE_ID:bt,RENDER_LIST:ot,RENDER_SLOT:st,RESOLVE_COMPONENT:tt,RESOLVE_DIRECTIVE:rt,RESOLVE_DYNAMIC_COMPONENT:nt,RESOLVE_FILTER:it,SET_BLOCK_TRACKING:yt,SUSPENSE:Ge,TELEPORT:We,TO_DISPLAY_STRING:lt,TO_HANDLERS:ht,TO_HANDLER_KEY:vt,TRANSITION:yc,TRANSITION_GROUP:bc,TS_NODE_TYPES:vi,UNREF:Ct,V_MODEL_CHECKBOX:fc,V_MODEL_DYNAMIC:hc,V_MODEL_RADIO:dc,V_MODEL_SELECT:mc,V_MODEL_TEXT:pc,V_ON_WITH_KEYS:_c,V_ON_WITH_MODIFIERS:gc,V_SHOW:vc,WITH_CTX:St,WITH_DIRECTIVES:at,WITH_MEMO:Tt,advancePositionWithClone:Fi,advancePositionWithMutation:Ii,assert:Li,baseCompile:cc,baseParse:Ba,buildDirectiveArgs:Gs,buildProps:Hs,buildSlots:Fs,checkCompatEnabled:Vr,compile:ol,convertToBlock:Xt,createArrayExpression:Ft,createAssignmentExpression:Gt,createBlockStatement:Ht,createCacheExpression:Vt,createCallExpression:V,createCompilerError:W,createCompoundExpression:Rt,createConditionalExpression:Bt,createDOMCompilerError:wc,createForLoopParams:ks,createFunctionExpression:zt,createIfStatement:Wt,createInterpolation:Lt,createObjectExpression:It,createObjectProperty:z,createReturnStatement:qt,createRoot:Nt,createSequenceExpression:Kt,createSimpleExpression:B,createStructuralDirectiveTransform:eo,createTemplateLiteral:Ut,createTransformContext:Ya,createVNodeCall:Pt,errorMessages:Kr,extractIdentifiers:di,findDir:Ri,findProp:zi,forAliasRE:ea,generate:zo,generateCodeFrame:de,getBaseTransformPreset:sc,getConstantType:Wa,getMemoedVNodeCall:$i,getVNodeBlockHelper:Yt,getVNodeHelper:Jt,hasDynamicKeyVBind:Vi,hasScopeRef:Qi,helperNameMap:Dt,injectProp:Yi,isAllWhitespace:ta,isCommentOrWhitespace:ra,isCoreComponent:xi,isFnExpression:Pi,isFnExpressionBrowser:Mi,isFnExpressionNode:Ni,isFunctionType:mi,isInDestructureAssignment:ii,isInNewExpression:ai,isMemberExpression:Ai,isMemberExpressionBrowser:Oi,isMemberExpressionNode:ki,isReferencedIdentifier:ri,isSimpleIdentifier:Ci,isSlotOutlet:Ki,isStaticArgOf:Bi,isStaticExp:bi,isStaticProperty:hi,isStaticPropertyKey:gi,isTemplateNode:Gi,isText:Hi,isVPre:Ui,isVSlot:Wi,isWhitespaceText:na,locStub:R,noopDirectiveTransform:uc,parse:sl,parserOptions:xc,processExpression:hs,processFor:Ds,processIf:bs,processSlotOutlet:Ys,registerRuntimeHelpers:Ot,resolveComponentType:Bs,stringifyExpression:_s,toValidAssetId:Zi,trackSlotScopes:Ms,trackVForSlotScopes:Ns,transform:Xa,transformBind:Zs,transformElement:zs,transformExpression:ms,transformModel:nc,transformOn:Xs,transformStyle:Sc,transformVBindShorthand:oc,traverseNode:$a,unwrapTSNode:yi,validFirstIdentCharRE:wi,walkBlockDeclarations:si,walkFunctionParams:oi,walkIdentifiers:ni,warnDeprecation:Hr}),ll,ul;function dl(){if(ul)return ll;ul=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 ll=a,ll}var fl=qr(dl()),pl=`useCssVars`;function ml(e,t,n,r=!1){return`{
|
|
38
|
+
${e.map(e=>`"${r?`:--`:``}${hl(t,e,n,r)}": (${e})`).join(`,
|
|
45
39
|
`)}
|
|
46
|
-
}`}function
|
|
47
|
-
import { ${
|
|
40
|
+
}`}function hl(e,t,n,r=!1){return n?fl(e+t).replace(/^\d/,e=>`v${e}`):`${e}-${Re(t,r)}`}function gl(e){return e=e.trim(),e[0]===`'`&&e[e.length-1]===`'`||e[0]===`"`&&e[e.length-1]===`"`?e.slice(1,-1):e}var _l=/v-bind\s*\(/g;function vl(e){let t=[];return e.styles.forEach(e=>{let n,r=e.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,``);for(;n=_l.exec(r);){let e=n.index+n[0].length,i=yl(r,e);if(i!==null){let n=gl(r.slice(e,i));t.includes(n)||t.push(n)}}}),t}function yl(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 bl=e=>{let{id:t,isProd:n}=e;return{postcssPlugin:`vue-sfc-vars`,Declaration(e){let r=e.value;if(_l.test(r)){_l.lastIndex=0;let i=``,a=0,o;for(;o=_l.exec(r);){let e=o.index+o[0].length,s=yl(r,e);if(s!==null){let c=gl(r.slice(e,s));i+=r.slice(a,o.index)+`var(--${hl(t,c,n)})`,a=s+1}}e.value=i+r.slice(a)}}}};bl.postcss=!0;function xl(e,t,n,r){let i=hs(B(ml(e,n,r),!1),Ya(Nt([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:t.__isScriptSetup===!1?void 0:t}));return`_${pl}(_ctx => (${i.type===4?i.content:i.children.map(e=>typeof e==`string`?e:e.content).join(``)}))`}function Sl(e,t,n,r,i){return`
|
|
41
|
+
import { ${pl} as _${pl} } from 'vue'
|
|
48
42
|
const __injectCSSVars__ = () => {
|
|
49
|
-
${
|
|
50
|
-
const __setup__ = ${
|
|
51
|
-
${
|
|
43
|
+
${xl(e,t,n,r)}}
|
|
44
|
+
const __setup__ = ${i}.setup
|
|
45
|
+
${i}.setup = __setup__
|
|
52
46
|
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
|
|
53
47
|
: __injectCSSVars__
|
|
54
|
-
`}
|
|
48
|
+
`}function Cl(){throw Error(`setTimeout has not been defined`)}function wl(){throw Error(`clearTimeout has not been defined`)}var Tl=Cl,El=wl;typeof en.setTimeout==`function`&&(Tl=setTimeout),typeof en.clearTimeout==`function`&&(El=clearTimeout);function Dl(e){if(Tl===setTimeout)return setTimeout(e,0);if((Tl===Cl||!Tl)&&setTimeout)return Tl=setTimeout,setTimeout(e,0);try{return Tl(e,0)}catch(t){try{return Tl.call(null,e,0)}catch(t){return Tl.call(this,e,0)}}}function Ol(e){if(El===clearTimeout)return clearTimeout(e);if((El===wl||!El)&&clearTimeout)return El=clearTimeout,clearTimeout(e);try{return El(e)}catch(t){try{return El.call(null,e)}catch(t){return El.call(this,e)}}}var kl=[],Al=!1,jl,Ml=-1;function Nl(){!Al||!jl||(Al=!1,jl.length?kl=jl.concat(kl):Ml=-1,kl.length&&Pl())}function Pl(){if(!Al){var e=Dl(Nl);Al=!0;for(var t=kl.length;t;){for(jl=kl,kl=[];++Ml<t;)jl&&jl[Ml].run();Ml=-1,t=kl.length}jl=null,Al=!1,Ol(e)}}function Fl(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];kl.push(new Il(e,t)),kl.length===1&&!Al&&Dl(Pl)}function Il(e,t){this.fun=e,this.array=t}Il.prototype.run=function(){this.fun.apply(null,this.array)};var Ll=`browser`,Rl=`browser`,zl=!0,Bl={},Vl=[],Hl=``,Ul={},Wl={},Gl={};function Kl(){}var ql=Kl,Jl=Kl,Yl=Kl,Xl=Kl,Zl=Kl,Ql=Kl,$l=Kl;function eu(e){throw Error(`process.binding is not supported`)}function tu(){return`/`}function nu(e){throw Error(`process.chdir is not supported`)}function ru(){return 0}var iu=en.performance||{},au=iu.now||iu.mozNow||iu.msNow||iu.oNow||iu.webkitNow||function(){return new Date().getTime()};function ou(e){var t=au.call(iu)*.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 su=new Date;function cu(){return(new Date-su)/1e3}var lu={nextTick:Fl,title:Ll,browser:zl,env:Bl,argv:Vl,version:Hl,versions:Ul,on:ql,addListener:Jl,once:Yl,off:Xl,removeListener:Zl,removeAllListeners:Ql,emit:$l,binding:eu,cwd:tu,chdir:nu,umask:ru,hrtime:ou,platform:Rl,release:Wl,config:Gl,uptime:cu};function uu(e=500){return new Map}function du(e,t){return mu(t).has(e)}var fu=uu();function pu(e){return hu(e,!1).vModelIds}function mu(e){return hu(e).usedIds}function hu(e,t=!0){let{content:n,ast:r}=e.template,i=fu.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){var t;switch(e.type){case 1:let n=e.tag;n.includes(`.`)&&(n=n.split(`.`)[0].trim()),!xc.isNativeTag(n)&&!xc.isBuiltInComponent(n)&&a&&(a.add(N(n)),a.add(re(N(n))));for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7){if(a&&(M(r.name)||a.add(`v${re(N(r.name))}`)),r.name===`model`){let e=r.exp;if(e&&e.type===4){let t=e.content.trim();Ci(t)&&t!==`undefined`&&o.add(t)}}a&&r.arg&&!r.arg.isStatic&&gu(a,r.arg),a&&(r.name===`for`?gu(a,r.forParseResult.source):r.exp?gu(a,r.exp):r.name===`bind`&&!r.exp&&a.add(N(r.arg.content)))}a&&r.type===6&&r.name===`ref`&&(t=r.value)!=null&&t.content&&a.add(r.value.content)}e.children.forEach(s);break;case 5:a&&gu(a,e.content);break}}let c={usedIds:a,vModelIds:o};return fu.set(n,c),c}function gu(e,t){t.ast?ni(t.ast,t=>e.add(t.name)):t.ast===null&&e.add(t.content)}var _u=Object.defineProperty,vu=Object.defineProperties,yu=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,Su=Object.prototype.propertyIsEnumerable,Cu=(e,t,n)=>t in e?_u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wu=(e,t)=>{for(var n in t||(t={}))xu.call(t,n)&&Cu(e,n,t[n]);if(bu)for(var n of bu(t))Su.call(t,n)&&Cu(e,n,t[n]);return e},Tu=(e,t)=>vu(e,yu(t)),Eu=`anonymous.vue`,Du=uu();function Ou(e,t={}){var n;let r=oe(e,Tu(wu({},t),{compiler:{parse:(n=t.compiler)==null?void 0:n.parse}})),i=Du.get(r);if(i)return i;let{sourceMap:a=!0,filename:o=Eu,sourceRoot:s=``,pad:c=!1,ignoreEmpty:l=!0,compiler:u=cl,templateParseOptions:d={}}=t,f={filename:o,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>Ru(e,f)},p=[];u.parse(e,Tu(wu({parseMode:`sfc`,prefixIdentifiers:!0},d),{onError:e=>{p.push(e)}})).children.forEach(t=>{if(t.type===1&&!(l&&t.tag!==`template`&&Lu(t)&&!Iu(t)))switch(t.tag){case`template`:if(f.template)p.push(ku(t));else{let n=f.template=Au(t,e,!1);if(n.attrs.src||(n.ast=Nt(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,p.push(e)}}break;case`script`:let n=Au(t,e,c),r=!!n.attrs.setup;if(r&&!f.scriptSetup){f.scriptSetup=n;break}if(!r&&!f.script){f.script=n;break}p.push(ku(t,r));break;case`style`:let i=Au(t,e,c);i.attrs.vars&&p.push(SyntaxError(`<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231`)),f.styles.push(i);break;default:f.customBlocks.push(Au(t,e,c));break}}),!f.template&&!f.script&&!f.scriptSetup&&p.push(SyntaxError(`At least one <template> or <script> is required in a single file component. ${f.filename}`)),f.scriptSetup&&(f.scriptSetup.src&&(p.push(SyntaxError(`<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.`)),f.scriptSetup=null),f.script&&f.script.src&&(p.push(SyntaxError(`<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.`)),f.script=null));let m=0;if(f.template&&(f.template.lang===`pug`||f.template.lang===`jade`)&&([f.template.content,m]=zu(f.template.content)),a){let t=(t,n=0)=>{t&&!t.src&&(t.map=Pu(o,e,t.content,s,!c||t.type===`template`?t.loc.start.line-1:0,n))};t(f.template,m),t(f.script),f.styles.forEach(e=>t(e)),f.customBlocks.forEach(e=>t(e))}f.cssVars=vl(f);let h=/(?:::v-|:)slotted\(/;f.slotted=f.styles.some(e=>e.scoped&&h.test(e.content));let g={descriptor:f,errors:p};return Du.set(r,g),g}function ku(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 Au(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=Fu(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 ju=/\r?\n/g,Mu=/^(?:\/\/)?\s*$/,Nu=/./g;function Pu(e,t,n,r,i,a){let o=new Fo.SourceMapGenerator({file:e.replace(/\\/g,`/`),sourceRoot:r.replace(/\\/g,`/`)});return o.setSourceContent(e,t),o._sources.add(e),n.split(ju).forEach((t,n)=>{if(!Mu.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 Fu(e,t,n){if(e=e.slice(0,t.loc.start.offset),n===`space`)return e.replace(Nu,` `);{let n=e.split(ju).length,r=t.type===`script`&&!t.lang?`//
|
|
55
49
|
`:`
|
|
56
|
-
`;return Array(
|
|
57
|
-
`),
|
|
58
|
-
`),
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
*/var rS=50;H.TYPED_ARRAY_SUPPORT=mr.TYPED_ARRAY_SUPPORT!==void 0?mr.TYPED_ARRAY_SUPPORT:!0,En();function En(){return H.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Zt(t,e){if(En()<e)throw new RangeError("Invalid typed array length");return H.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=H.prototype):(t===null&&(t=new H(e)),t.length=e),t}function H(t,e,r){if(!H.TYPED_ARRAY_SUPPORT&&!(this instanceof H))return new H(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return uu(this,t)}return ep(this,t,e,r)}H.poolSize=8192,H._augment=function(t){return t.__proto__=H.prototype,t};function ep(t,e,r,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?nS(t,e,r,i):typeof e=="string"?iS(t,e,r):aS(t,e)}H.from=function(t,e,r){return ep(null,t,e,r)},H.TYPED_ARRAY_SUPPORT&&(H.prototype.__proto__=Uint8Array.prototype,H.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&H[Symbol.species]);function tp(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function sS(t,e,r,i){return tp(e),e<=0?Zt(t,e):r!==void 0?typeof i=="string"?Zt(t,e).fill(r,i):Zt(t,e).fill(r):Zt(t,e)}H.alloc=function(t,e,r){return sS(null,t,e,r)};function uu(t,e){if(tp(e),t=Zt(t,e<0?0:cu(e)|0),!H.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}H.allocUnsafe=function(t){return uu(null,t)},H.allocUnsafeSlow=function(t){return uu(null,t)};function iS(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!H.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=rp(e,r)|0;t=Zt(t,i);var n=t.write(e,r);return n!==i&&(t=t.slice(0,n)),t}function lu(t,e){var r=e.length<0?0:cu(e.length)|0;t=Zt(t,r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t}function nS(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return r===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,i),H.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=H.prototype):t=lu(t,e),t}function aS(t,e){if(Bt(e)){var r=cu(e.length)|0;return t=Zt(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||_S(e.length)?Zt(t,0):lu(t,e);if(e.type==="Buffer"&&Zf(e.data))return lu(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function cu(t){if(t>=En())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+En().toString(16)+" bytes");return t|0}H.isBuffer=PS;function Bt(t){return!!(t!=null&&t._isBuffer)}H.compare=function(e,r){if(!Bt(e)||!Bt(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var i=e.length,n=r.length,a=0,o=Math.min(i,n);a<o;++a)if(e[a]!==r[a]){i=e[a],n=r[a];break}return i<n?-1:n<i?1:0},H.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}},H.concat=function(e,r){if(!Zf(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return H.alloc(0);var i;if(r===void 0)for(r=0,i=0;i<e.length;++i)r+=e[i].length;var n=H.allocUnsafe(r),a=0;for(i=0;i<e.length;++i){var o=e[i];if(!Bt(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,a),a+=o.length}return n};function rp(t,e){if(Bt(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return _n(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return hp(t).length;default:if(i)return _n(t).length;e=(""+e).toLowerCase(),i=!0}}H.byteLength=rp;function oS(t,e,r){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return yS(this,e,r);case"utf8":case"utf-8":return ap(this,e,r);case"ascii":return mS(this,e,r);case"latin1":case"binary":return gS(this,e,r);case"base64":return pS(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bS(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}H.prototype._isBuffer=!0;function Mr(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}H.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)Mr(this,r,r+1);return this},H.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)Mr(this,r,r+3),Mr(this,r+1,r+2);return this},H.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)Mr(this,r,r+7),Mr(this,r+1,r+6),Mr(this,r+2,r+5),Mr(this,r+3,r+4);return this},H.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?ap(this,0,e):oS.apply(this,arguments)},H.prototype.equals=function(e){if(!Bt(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:H.compare(this,e)===0},H.prototype.inspect=function(){var e="",r=rS;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},H.prototype.compare=function(e,r,i,n,a){if(!Bt(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),a===void 0&&(a=this.length),r<0||i>e.length||n<0||a>this.length)throw new RangeError("out of range index");if(n>=a&&r>=i)return 0;if(n>=a)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,n>>>=0,a>>>=0,this===e)return 0;for(var o=a-n,h=i-r,c=Math.min(o,h),d=this.slice(n,a),f=e.slice(r,i),m=0;m<c;++m)if(d[m]!==f[m]){o=d[m],h=f[m];break}return o<h?-1:h<o?1:0};function sp(t,e,r,i,n){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0)if(n)r=0;else return-1;if(typeof e=="string"&&(e=H.from(e,i)),Bt(e))return e.length===0?-1:ip(t,e,r,i,n);if(typeof e=="number")return e=e&255,H.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ip(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function ip(t,e,r,i,n){var a=1,o=t.length,h=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,h/=2,r/=2}function c(b,x){return a===1?b[x]:b.readUInt16BE(x*a)}var d;if(n){var f=-1;for(d=r;d<o;d++)if(c(t,d)===c(e,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===h)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(r+h>o&&(r=o-h),d=r;d>=0;d--){for(var m=!0,g=0;g<h;g++)if(c(t,d+g)!==c(e,g)){m=!1;break}if(m)return d}return-1}H.prototype.includes=function(e,r,i){return this.indexOf(e,r,i)!==-1},H.prototype.indexOf=function(e,r,i){return sp(this,e,r,i,!0)},H.prototype.lastIndexOf=function(e,r,i){return sp(this,e,r,i,!1)};function uS(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i),i>n&&(i=n)):i=n;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o<i;++o){var h=parseInt(e.substr(o*2,2),16);if(isNaN(h))return o;t[r+o]=h}return o}function lS(t,e,r,i){return Pn(_n(e,t.length-r),t,r,i)}function np(t,e,r,i){return Pn(wS(e),t,r,i)}function cS(t,e,r,i){return np(t,e,r,i)}function hS(t,e,r,i){return Pn(hp(e),t,r,i)}function fS(t,e,r,i){return Pn(TS(e,t.length-r),t,r,i)}H.prototype.write=function(e,r,i,n){if(r===void 0)n="utf8",i=this.length,r=0;else if(i===void 0&&typeof r=="string")n=r,i=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((i===void 0||i>a)&&(i=a),e.length>0&&(i<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return uS(this,e,r,i);case"utf8":case"utf-8":return lS(this,e,r,i);case"ascii":return np(this,e,r,i);case"latin1":case"binary":return cS(this,e,r,i);case"base64":return hS(this,e,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fS(this,e,r,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},H.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pS(t,e,r){return e===0&&r===t.length?Yf(t):Yf(t.slice(e,r))}function ap(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var a=t[n],o=null,h=a>239?4:a>223?3:a>191?2:1;if(n+h<=r){var c,d,f,m;switch(h){case 1:a<128&&(o=a);break;case 2:c=t[n+1],(c&192)===128&&(m=(a&31)<<6|c&63,m>127&&(o=m));break;case 3:c=t[n+1],d=t[n+2],(c&192)===128&&(d&192)===128&&(m=(a&15)<<12|(c&63)<<6|d&63,m>2047&&(m<55296||m>57343)&&(o=m));break;case 4:c=t[n+1],d=t[n+2],f=t[n+3],(c&192)===128&&(d&192)===128&&(f&192)===128&&(m=(a&15)<<18|(c&63)<<12|(d&63)<<6|f&63,m>65535&&m<1114112&&(o=m))}}o===null?(o=65533,h=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|o&1023),i.push(o),n+=h}return dS(i)}var op=4096;function dS(t){var e=t.length;if(e<=op)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=op));return r}function mS(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]&127);return i}function gS(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}function yS(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",a=e;a<r;++a)n+=ES(t[a]);return n}function bS(t,e,r){for(var i=t.slice(e,r),n="",a=0;a<i.length;a+=2)n+=String.fromCharCode(i[a]+i[a+1]*256);return n}H.prototype.slice=function(e,r){var i=this.length;e=~~e,r=r===void 0?i:~~r,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),r<e&&(r=e);var n;if(H.TYPED_ARRAY_SUPPORT)n=this.subarray(e,r),n.__proto__=H.prototype;else{var a=r-e;n=new H(a,void 0);for(var o=0;o<a;++o)n[o]=this[o+e]}return n};function ze(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}H.prototype.readUIntLE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=this[e],a=1,o=0;++o<r&&(a*=256);)n+=this[e+o]*a;return n},H.prototype.readUIntBE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=this[e+--r],a=1;r>0&&(a*=256);)n+=this[e+--r]*a;return n},H.prototype.readUInt8=function(e,r){return r||ze(e,1,this.length),this[e]},H.prototype.readUInt16LE=function(e,r){return r||ze(e,2,this.length),this[e]|this[e+1]<<8},H.prototype.readUInt16BE=function(e,r){return r||ze(e,2,this.length),this[e]<<8|this[e+1]},H.prototype.readUInt32LE=function(e,r){return r||ze(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},H.prototype.readUInt32BE=function(e,r){return r||ze(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},H.prototype.readIntLE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=this[e],a=1,o=0;++o<r&&(a*=256);)n+=this[e+o]*a;return a*=128,n>=a&&(n-=Math.pow(2,8*r)),n},H.prototype.readIntBE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=r,a=1,o=this[e+--n];n>0&&(a*=256);)o+=this[e+--n]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o},H.prototype.readInt8=function(e,r){return r||ze(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},H.prototype.readInt16LE=function(e,r){r||ze(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i},H.prototype.readInt16BE=function(e,r){r||ze(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i},H.prototype.readInt32LE=function(e,r){return r||ze(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},H.prototype.readInt32BE=function(e,r){return r||ze(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},H.prototype.readFloatLE=function(e,r){return r||ze(e,4,this.length),xn(this,e,!0,23,4)},H.prototype.readFloatBE=function(e,r){return r||ze(e,4,this.length),xn(this,e,!1,23,4)},H.prototype.readDoubleLE=function(e,r){return r||ze(e,8,this.length),xn(this,e,!0,52,8)},H.prototype.readDoubleBE=function(e,r){return r||ze(e,8,this.length),xn(this,e,!1,52,8)};function dt(t,e,r,i,n,a){if(!Bt(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<a)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}H.prototype.writeUIntLE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var a=Math.pow(2,8*i)-1;dt(this,e,r,i,a,0)}var o=1,h=0;for(this[r]=e&255;++h<i&&(o*=256);)this[r+h]=e/o&255;return r+i},H.prototype.writeUIntBE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var a=Math.pow(2,8*i)-1;dt(this,e,r,i,a,0)}var o=i-1,h=1;for(this[r+o]=e&255;--o>=0&&(h*=256);)this[r+o]=e/h&255;return r+i},H.prototype.writeUInt8=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,1,255,0),H.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};function wn(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,a=Math.min(t.length-r,2);n<a;++n)t[r+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}H.prototype.writeUInt16LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,65535,0),H.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):wn(this,e,r,!0),r+2},H.prototype.writeUInt16BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,65535,0),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):wn(this,e,r,!1),r+2};function Tn(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,a=Math.min(t.length-r,4);n<a;++n)t[r+n]=e>>>(i?n:3-n)*8&255}H.prototype.writeUInt32LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,4294967295,0),H.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):Tn(this,e,r,!0),r+4},H.prototype.writeUInt32BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,4294967295,0),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Tn(this,e,r,!1),r+4},H.prototype.writeIntLE=function(e,r,i,n){if(e=+e,r=r|0,!n){var a=Math.pow(2,8*i-1);dt(this,e,r,i,a-1,-a)}var o=0,h=1,c=0;for(this[r]=e&255;++o<i&&(h*=256);)e<0&&c===0&&this[r+o-1]!==0&&(c=1),this[r+o]=(e/h>>0)-c&255;return r+i},H.prototype.writeIntBE=function(e,r,i,n){if(e=+e,r=r|0,!n){var a=Math.pow(2,8*i-1);dt(this,e,r,i,a-1,-a)}var o=i-1,h=1,c=0;for(this[r+o]=e&255;--o>=0&&(h*=256);)e<0&&c===0&&this[r+o+1]!==0&&(c=1),this[r+o]=(e/h>>0)-c&255;return r+i},H.prototype.writeInt8=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,1,127,-128),H.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1},H.prototype.writeInt16LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,32767,-32768),H.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):wn(this,e,r,!0),r+2},H.prototype.writeInt16BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,32767,-32768),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):wn(this,e,r,!1),r+2},H.prototype.writeInt32LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,2147483647,-2147483648),H.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):Tn(this,e,r,!0),r+4},H.prototype.writeInt32BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Tn(this,e,r,!1),r+4};function up(t,e,r,i,n,a){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function lp(t,e,r,i,n){return n||up(t,e,r,4),Qf(t,e,r,i,23,4),r+4}H.prototype.writeFloatLE=function(e,r,i){return lp(this,e,r,!0,i)},H.prototype.writeFloatBE=function(e,r,i){return lp(this,e,r,!1,i)};function cp(t,e,r,i,n){return n||up(t,e,r,8),Qf(t,e,r,i,52,8),r+8}H.prototype.writeDoubleLE=function(e,r,i){return cp(this,e,r,!0,i)},H.prototype.writeDoubleBE=function(e,r,i){return cp(this,e,r,!1,i)},H.prototype.copy=function(e,r,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),r>=e.length&&(r=e.length),r||(r=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-r<n-i&&(n=e.length-r+i);var a=n-i,o;if(this===e&&i<r&&r<n)for(o=a-1;o>=0;--o)e[o+r]=this[o+i];else if(a<1e3||!H.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+r]=this[o+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+a),r);return a},H.prototype.fill=function(e,r,i,n){if(typeof e=="string"){if(typeof r=="string"?(n=r,r=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var a=e.charCodeAt(0);a<256&&(e=a)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!H.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<i)throw new RangeError("Out of range index");if(i<=r)return this;r=r>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<i;++o)this[o]=e;else{var h=Bt(e)?e:_n(new H(e,n).toString()),c=h.length;for(o=0;o<i-r;++o)this[o+r]=h[o%c]}return this};var vS=/[^+\/0-9A-Za-z-_]/g;function SS(t){if(t=xS(t).replace(vS,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function xS(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ES(t){return t<16?"0"+t.toString(16):t.toString(16)}function _n(t,e){e=e||1/0;for(var r,i=t.length,n=null,a=[],o=0;o<i;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function wS(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function TS(t,e){for(var r,i,n,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),i=r>>8,n=r%256,a.push(n),a.push(i);return a}function hp(t){return Qv(SS(t))}function Pn(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function _S(t){return t!==t}function PS(t){return t!=null&&(!!t._isBuffer||fp(t)||AS(t))}function fp(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function AS(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&fp(t.slice(0,0))}var An;typeof Object.create=="function"?An=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:An=function(e,r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e};var pp=Object.getOwnPropertyDescriptors||function(e){for(var r=Object.keys(e),i={},n=0;n<r.length;n++)i[r[n]]=Object.getOwnPropertyDescriptor(e,r[n]);return i},CS=/%[sdj%]/g;function hu(t){if(!br(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(Ut(arguments[r]));return e.join(" ")}for(var r=1,i=arguments,n=i.length,a=String(t).replace(CS,function(h){if(h==="%%")return"%";if(r>=n)return h;switch(h){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(c){return"[Circular]"}default:return h}}),o=i[r];r<n;o=i[++r])er(o)||!tr(o)?a+=" "+o:a+=" "+Ut(o);return a}function fu(t,e){if($t(mr.process))return function(){return fu(t,e).apply(this,arguments)};if(pt.noDeprecation===!0)return t;var r=!1;function i(){if(!r){if(pt.throwDeprecation)throw new Error(e);pt.traceDeprecation,r=!0}return t.apply(this,arguments)}return i}var Cn={},pu;function dp(t){if($t(pu)&&(pu=pt.env.NODE_DEBUG||""),t=t.toUpperCase(),!Cn[t])if(new RegExp("\\b"+t+"\\b","i").test(pu)){var e=0;Cn[t]=function(){var r=hu.apply(null,arguments)}}else Cn[t]=function(){};return Cn[t]}function Ut(t,e){var r={seen:[],stylize:NS};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Nn(e)?r.showHidden=e:e&&xu(r,e),$t(r.showHidden)&&(r.showHidden=!1),$t(r.depth)&&(r.depth=2),$t(r.colors)&&(r.colors=!1),$t(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=IS),In(r,t,r.depth)}Ut.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]},Ut.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function IS(t,e){var r=Ut.styles[e];return r?"\x1B["+Ut.colors[r][0]+"m"+t+"\x1B["+Ut.colors[r][1]+"m":t}function NS(t,e){return t}function OS(t){var e={};return t.forEach(function(r,i){e[r]=!0}),e}function In(t,e,r){if(t.customInspect&&e&&Hs(e.inspect)&&e.inspect!==Ut&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(r,t);return br(i)||(i=In(t,i,r)),i}var n=kS(t,e);if(n)return n;var a=Object.keys(e),o=OS(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),Ws(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return du(e);if(a.length===0){if(Hs(e)){var h=e.name?": "+e.name:"";return t.stylize("[Function"+h+"]","special")}if(zs(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(On(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Ws(e))return du(e)}var c="",d=!1,f=["{","}"];if(gu(e)&&(d=!0,f=["[","]"]),Hs(e)){var m=e.name?": "+e.name:"";c=" [Function"+m+"]"}if(zs(e)&&(c=" "+RegExp.prototype.toString.call(e)),On(e)&&(c=" "+Date.prototype.toUTCString.call(e)),Ws(e)&&(c=" "+du(e)),a.length===0&&(!d||e.length==0))return f[0]+c+f[1];if(r<0)return zs(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var g;return d?g=LS(t,e,r,o,a):g=a.map(function(b){return mu(t,e,r,o,b,d)}),t.seen.pop(),MS(g,c,f)}function kS(t,e){if($t(e))return t.stylize("undefined","undefined");if(br(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(bu(e))return t.stylize(""+e,"number");if(Nn(e))return t.stylize(""+e,"boolean");if(er(e))return t.stylize("null","null")}function du(t){return"["+Error.prototype.toString.call(t)+"]"}function LS(t,e,r,i,n){for(var a=[],o=0,h=e.length;o<h;++o)vp(e,String(o))?a.push(mu(t,e,r,i,String(o),!0)):a.push("");return n.forEach(function(c){c.match(/^\d+$/)||a.push(mu(t,e,r,i,c,!0))}),a}function mu(t,e,r,i,n,a){var o,h,c;if(c=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},c.get?c.set?h=t.stylize("[Getter/Setter]","special"):h=t.stylize("[Getter]","special"):c.set&&(h=t.stylize("[Setter]","special")),vp(i,n)||(o="["+n+"]"),h||(t.seen.indexOf(c.value)<0?(er(r)?h=In(t,c.value,null):h=In(t,c.value,r-1),h.indexOf(`
|
|
64
|
-
`)
|
|
65
|
-
`).
|
|
66
|
-
`).
|
|
67
|
-
`+
|
|
68
|
-
`).map(function(d){return" "+d}).join(`
|
|
69
|
-
`))):
|
|
70
|
-
`)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
`," "],HS=["{","}","|","\\","^","`"].concat(WS),Tu=["'"].concat(HS),Pp=["%","/","?",";","#"].concat(Tu),Ap=["/","?","#"],XS=255,Cp=/^[+a-z0-9A-Z_-]{0,63}$/,KS=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,JS={javascript:!0,"javascript:":!0},_u={javascript:!0,"javascript:":!0},us={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ls(t,e,r){if(t&&tr(t)&&t instanceof vt)return t;var i=new vt;return i.parse(t,e,r),i}vt.prototype.parse=function(t,e,r){return Ip(this,t,e,r)};function Ip(t,e,r,i){if(!br(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),a=n!==-1&&n<e.indexOf("#")?"?":"#",o=e.split(a),h=/\\/g;o[0]=o[0].replace(h,"/"),e=o.join(a);var c=e;if(c=c.trim(),!i&&e.split("#").length===1){var d=zS.exec(c);if(d)return t.path=c,t.href=c,t.pathname=d[1],d[2]?(t.search=d[2],r?t.query=wp(t.search.substr(1)):t.query=t.search.substr(1)):r&&(t.search="",t.query={}),t}var f=VS.exec(c);if(f){f=f[0];var m=f.toLowerCase();t.protocol=m,c=c.substr(f.length)}if(i||f||c.match(/^\/\/[^@\/]+@[^@\/]+/)){var g=c.substr(0,2)==="//";g&&!(f&&_u[f])&&(c=c.substr(2),t.slashes=!0)}var b,x,v,y;if(!_u[f]&&(g||f&&!us[f])){var T=-1;for(b=0;b<Ap.length;b++)x=c.indexOf(Ap[b]),x!==-1&&(T===-1||x<T)&&(T=x);var E,C;for(T===-1?C=c.lastIndexOf("@"):C=c.lastIndexOf("@",T),C!==-1&&(E=c.slice(0,C),c=c.slice(C+1),t.auth=decodeURIComponent(E)),T=-1,b=0;b<Pp.length;b++)x=c.indexOf(Pp[b]),x!==-1&&(T===-1||x<T)&&(T=x);T===-1&&(T=c.length),t.host=c.slice(0,T),c=c.slice(T),Mp(t),t.hostname=t.hostname||"";var N=t.hostname[0]==="["&&t.hostname[t.hostname.length-1]==="]";if(!N){var A=t.hostname.split(/\./);for(b=0,v=A.length;b<v;b++){var L=A[b];if(L&&!L.match(Cp)){for(var R="",w=0,I=L.length;w<I;w++)L.charCodeAt(w)>127?R+="x":R+=L[w];if(!R.match(Cp)){var k=A.slice(0,b),M=A.slice(b+1),z=L.match(KS);z&&(k.push(z[1]),M.unshift(z[2])),M.length&&(c="/"+M.join(".")+c),t.hostname=k.join(".");break}}}}t.hostname.length>XS?t.hostname="":t.hostname=t.hostname.toLowerCase(),N||(t.hostname=Jv(t.hostname)),y=t.port?":"+t.port:"";var X=t.hostname||"";t.host=X+y,t.href+=t.host,N&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),c[0]!=="/"&&(c="/"+c))}if(!JS[m])for(b=0,v=Tu.length;b<v;b++){var Z=Tu[b];if(c.indexOf(Z)!==-1){var $=encodeURIComponent(Z);$===Z&&($=escape(Z)),c=c.split(Z).join($)}}var Q=c.indexOf("#");Q!==-1&&(t.hash=c.substr(Q),c=c.slice(0,Q));var re=c.indexOf("?");if(re!==-1?(t.search=c.substr(re),t.query=c.substr(re+1),r&&(t.query=wp(t.query)),c=c.slice(0,re)):r&&(t.search="",t.query={}),c&&(t.pathname=c),us[m]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){y=t.pathname||"";var pe=t.search||"";t.path=y+pe}return t.href=Pu(t),t}function Np(t){if(typeof t=="string")t=new vt().parse(t);else if(!(t instanceof vt))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof t+String(t));if(t.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return YS(t)}function YS(t){const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const i=e.codePointAt(r+2)|32;if(e[r+1]==="2"&&i===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(e)}function Op(t){return br(t)&&(t=Ip({},t)),Pu(t)}function Pu(t){var e=t.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var r=t.protocol||"",i=t.pathname||"",n=t.hash||"",a=!1,o="";t.host?a=e+t.host:t.hostname&&(a=e+(t.hostname.indexOf(":")===-1?t.hostname:"["+this.hostname+"]"),t.port&&(a+=":"+t.port)),t.query&&tr(t.query)&&Object.keys(t.query).length&&(o=$S(t.query));var h=t.search||o&&"?"+o||"";return r&&r.substr(-1)!==":"&&(r+=":"),t.slashes||(!r||us[r])&&a!==!1?(a="//"+(a||""),i&&i.charAt(0)!=="/"&&(i="/"+i)):a||(a=""),n&&n.charAt(0)!=="#"&&(n="#"+n),h&&h.charAt(0)!=="?"&&(h="?"+h),i=i.replace(/[?#]/g,function(c){return encodeURIComponent(c)}),h=h.replace("#","%23"),r+a+i+h+n}vt.prototype.format=function(){return Pu(this)};function kp(t,e){return ls(t,!1,!0).resolve(e)}vt.prototype.resolve=function(t){return this.resolveObject(ls(t,!1,!0)).format()};function Lp(t,e){return t?ls(t,!1,!0).resolveObject(e):e}vt.prototype.resolveObject=function(t){if(br(t)){var e=new vt;e.parse(t,!1,!0),t=e}for(var r=new vt,i=Object.keys(this),n=0;n<i.length;n++){var a=i[n];r[a]=this[a]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),h=0;h<o.length;h++){var c=o[h];c!=="protocol"&&(r[c]=t[c])}return us[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}var d;if(t.protocol&&t.protocol!==r.protocol){if(!us[t.protocol]){for(var f=Object.keys(t),m=0;m<f.length;m++){var g=f[m];r[g]=t[g]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!_u[t.protocol]){for(d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),d[0]!==""&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var b=r.pathname||"",x=r.search||"";r.path=b+x}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var v=r.pathname&&r.pathname.charAt(0)==="/",y=t.host||t.pathname&&t.pathname.charAt(0)==="/",T=y||v||r.host&&t.pathname,E=T,C=r.pathname&&r.pathname.split("/")||[],N=r.protocol&&!us[r.protocol];d=t.pathname&&t.pathname.split("/")||[],N&&(r.hostname="",r.port=null,r.host&&(C[0]===""?C[0]=r.host:C.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(d[0]===""?d[0]=t.host:d.unshift(t.host)),t.host=null),T=T&&(d[0]===""||C[0]===""));var A;if(y)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,C=d;else if(d.length)C||(C=[]),C.pop(),C=C.concat(d),r.search=t.search,r.query=t.query;else if(!yu(t.search))return N&&(r.hostname=r.host=C.shift(),A=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),r.search=t.search,r.query=t.query,(!er(r.pathname)||!er(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!C.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var L=C.slice(-1)[0],R=(r.host||t.host||C.length>1)&&(L==="."||L==="..")||L==="",w=0,I=C.length;I>=0;I--)L=C[I],L==="."?C.splice(I,1):L===".."?(C.splice(I,1),w++):w&&(C.splice(I,1),w--);if(!T&&!E)for(;w--;w)C.unshift("..");T&&C[0]!==""&&(!C[0]||C[0].charAt(0)!=="/")&&C.unshift(""),R&&C.join("/").substr(-1)!=="/"&&C.push("");var k=C[0]===""||C[0]&&C[0].charAt(0)==="/";return N&&(r.hostname=r.host=k?"":C.length?C.shift():"",A=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),T=T||r.host&&C.length,T&&!k&&C.unshift(""),C.length?r.pathname=C.join("/"):(r.pathname=null,r.path=null),(!er(r.pathname)||!er(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},vt.prototype.parseHost=function(){return Mp(this)};function Mp(t){var e=t.host,r=GS.exec(e);r&&(r=r[0],r!==":"&&(t.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(t.hostname=e)}var QS=Object.freeze({__proto__:null,URL:Tp,URLSearchParams:_p,Url:vt,default:jS,fileURLToPath:Np,format:Op,parse:ls,resolve:kp,resolveObject:Lp});function Rp(t){const e=t.charAt(0);return e==="."||e==="~"||e==="@"}const ZS=/^(https?:)?\/\//;function Dp(t){return ZS.test(t)}const e2=/^\s*data:/i;function Au(t){return e2.test(t)}function Cu(t){if(t.charAt(0)==="~"){const r=t.charAt(1);t=t.slice(r==="/"?2:1)}return t2(t)}function t2(t){return ls(ye(t)?t:"",!1,!0)}var r2=Object.defineProperty,s2=Object.defineProperties,i2=Object.getOwnPropertyDescriptors,Fp=Object.getOwnPropertySymbols,n2=Object.prototype.hasOwnProperty,a2=Object.prototype.propertyIsEnumerable,Bp=(t,e,r)=>e in t?r2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Iu=(t,e)=>{for(var r in e||(e={}))n2.call(e,r)&&Bp(t,r,e[r]);if(Fp)for(var r of Fp(e))a2.call(e,r)&&Bp(t,r,e[r]);return t},o2=(t,e)=>s2(t,i2(e));const Xs={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},u2=t=>Object.keys(t).some(e=>Me(t[e]))?o2(Iu({},Xs),{tags:t}):Iu(Iu({},Xs),t),l2=t=>(e,r)=>Up(e,r,t),Up=(t,e,r=Xs)=>{if(t.type===1){if(!t.props.length)return;const i=r.tags||Xs.tags,n=i[t.tag],a=i["*"];if(!n&&!a)return;const o=(n||[]).concat(a||[]);t.props.forEach((h,c)=>{if(h.type!==6||!o.includes(h.name)||!h.value||Dp(h.value.content)||Au(h.value.content)||h.value.content[0]==="#"||!r.includeAbsolute&&!Rp(h.value.content))return;const d=Cu(h.value.content);if(r.base&&h.value.content[0]==="."){const m=Cu(r.base),g=m.protocol||"",b=m.host?g+"//"+m.host:"",x=m.path||"/";h.value.content=b+(Qt.posix||Qt).join(x,d.path+(d.hash||""));return}const f=c2(d.path,d.hash,h.loc,e);t.props[c]={type:7,name:"bind",arg:Y(h.name,!0,h.loc),exp:f,modifiers:[],loc:h.loc}})}};function c2(t,e,r,i){if(t){let n,a;const o=i.imports.findIndex(f=>f.path===t);if(o>-1?(n=`_imports_${o}`,a=i.imports[o].exp):(n=`_imports_${i.imports.length}`,a=Y(n,!1,r,3),i.imports.push({exp:a,path:decodeURIComponent(t)})),!e)return a;const h=`${n} + '${e}'`,c=Y(h,!1,r,3);if(!i.hoistStatic)return c;const d=i.hoists.findIndex(f=>f&&f.type===4&&!f.isStatic&&f.content===h);return d>-1?Y(`_hoisted_${d+1}`,!1,r,3):i.hoist(c)}else return Y("''",!1,r,3)}const h2=["img","source"],f2=/( |\\t|\\n|\\f|\\r)+/g,p2=t=>(e,r)=>$p(e,r,t),$p=(t,e,r=Xs)=>{t.type===1&&h2.includes(t.tag)&&t.props.length&&t.props.forEach((i,n)=>{if(i.name==="srcset"&&i.type===6){if(!i.value)return;const a=i.value.content;if(!a)return;const o=a.split(",").map(f=>{const[m,g]=f.replace(f2," ").trim().split(" ",2);return{url:m,descriptor:g}});for(let f=0;f<o.length;f++){const{url:m}=o[f];Au(m)&&(o[f+1].url=m+","+o[f+1].url,o.splice(f,1))}const h=f=>!Dp(f)&&!Au(f)&&(r.includeAbsolute||Rp(f));if(!o.some(({url:f})=>h(f)))return;if(r.base){const f=r.base,m=[];let g=!1;if(o.forEach(b=>{let{url:x,descriptor:v}=b;v=v?` ${v}`:"",x[0]==="."?(b.url=(Qt.posix||Qt).join(f,x),m.push(b.url+v)):h(x)?g=!0:m.push(x+v)}),!g){i.value.content=m.join(", ");return}}const c=je([],i.loc);o.forEach(({url:f,descriptor:m},g)=>{if(h(f)){const{path:x}=Cu(f);let v;if(x){const y=e.imports.findIndex(T=>T.path===x);y>-1?v=Y(`_imports_${y}`,!1,i.loc,3):(v=Y(`_imports_${e.imports.length}`,!1,i.loc,3),e.imports.push({exp:v,path:x})),c.children.push(v)}}else{const x=Y(`"${f}"`,!1,i.loc,3);c.children.push(x)}const b=o.length-1>g;m&&b?c.children.push(` + ' ${m}, ' + `):m?c.children.push(` + ' ${m}'`):b&&c.children.push(" + ', ' + ")});let d=c;e.hoistStatic&&(d=e.hoist(c),d.constType=3),t.props[n]={type:7,name:"bind",arg:Y("srcset",!0,i.loc),exp:d,modifiers:[],loc:i.loc}}})},kn=Symbol("ssrInterpolate"),qp=Symbol("ssrRenderVNode"),jp=Symbol("ssrRenderComponent"),Vp=Symbol("ssrRenderSlot"),Gp=Symbol("ssrRenderSlotInner"),zp=Symbol("ssrRenderClass"),Wp=Symbol("ssrRenderStyle"),Nu=Symbol("ssrRenderAttrs"),Hp=Symbol("ssrRenderAttr"),Xp=Symbol("ssrRenderDynamicAttr"),Kp=Symbol("ssrRenderList"),Ou=Symbol("ssrIncludeBooleanAttr"),Ln=Symbol("ssrLooseEqual"),ku=Symbol("ssrLooseContain"),Jp=Symbol("ssrRenderDynamicModel"),Yp=Symbol("ssrGetDynamicModelProps"),Qp=Symbol("ssrRenderTeleport"),Zp=Symbol("ssrRenderSuspense"),ed=Symbol("ssrGetDirectiveProps"),Lu={[kn]:"ssrInterpolate",[qp]:"ssrRenderVNode",[jp]:"ssrRenderComponent",[Vp]:"ssrRenderSlot",[Gp]:"ssrRenderSlotInner",[zp]:"ssrRenderClass",[Wp]:"ssrRenderStyle",[Nu]:"ssrRenderAttrs",[Hp]:"ssrRenderAttr",[Xp]:"ssrRenderDynamicAttr",[Kp]:"ssrRenderList",[Ou]:"ssrIncludeBooleanAttr",[Ln]:"ssrLooseEqual",[ku]:"ssrLooseContain",[Jp]:"ssrRenderDynamicModel",[Yp]:"ssrGetDynamicModelProps",[Qp]:"ssrRenderTeleport",[Zp]:"ssrRenderSuspense",[ed]:"ssrGetDirectiveProps"};Xa(Lu);const d2=Rs(/^(if|else|else-if)$/,Po);function m2(t,e,r=!1,i=!1){const[n]=t.branches,a=Di(n.condition,td(n,e,r));e.pushStatement(a);let o=a;for(let h=1;h<t.branches.length;h++){const c=t.branches[h],d=td(c,e,r);c.condition?o=o.alternate=Di(c.condition,d):o.alternate=d}!o.alternate&&!i&&(o.alternate=Ns([ce("_push",["`<!---->`"])]))}function td(t,e,r=!1){const{children:i}=t,n=!r&&(i.length!==1||i[0].type!==1)&&!(i.length===1&&i[0].type===11);return cs(t,e,n)}const g2=Rs("for",Co);function y2(t,e,r=!1){const i=!r&&(t.children.length!==1||t.children[0].type!==1),n=gt($s(t.parseResult));n.body=cs(t,e,i),r||e.pushStringPart("<!--[-->"),e.pushStatement(ce(e.helper(Kp),[t.source,n])),r||e.pushStringPart("<!--]-->")}const b2=(t,e)=>{if(Qr(t)){const{slotName:r,slotProps:i}=Ro(t,e),n=["_ctx.$slots",r,i||"{}","null","_push","_parent"];e.scopeId&&e.slotted!==!1&&n.push(`"${e.scopeId}-s"`);let a=Vp,o=e.parent;if(o){const h=o.children;o.type===10&&(o=e.grandParent);let c;o.type===1&&o.tagType===1&&((c=cn(o,e,!0))===Ir||c===rs)&&h.filter(d=>d.type===1).length===1&&(a=Gp,e.scopeId&&e.slotted!==!1||n.push("null"),n.push("true"))}t.ssrCodegenNode=ce(e.helper(a),n)}};function v2(t,e){const r=t.ssrCodegenNode;if(t.children.length){const i=gt([]);i.body=cs(t,e),r.arguments[3]=i}if(e.withSlotScopeId){const i=r.arguments[6];r.arguments[6]=i?`${i} + _scopeId`:"_scopeId"}e.pushStatement(t.ssrCodegenNode)}function Ks(t,e){return ve(t,e,S2)}const S2={65:"Unsafe attribute name for SSR.",66:"Missing the 'to' prop on teleport element.",67:"Invalid AST node during SSR transform."};function x2(t,e){const r=ct(t,"to");if(!r){e.onError(Ks(66,t.loc));return}let i;if(r.type===6?i=r.value&&Y(r.value.content,!0):i=r.exp,!i){e.onError(Ks(66,r.loc));return}const n=ct(t,"disabled",!1,!0),a=n?n.type===6?"true":n.exp||"false":"false",o=gt(["_push"],void 0,!0,!1,t.loc);o.body=cs(t,e),e.pushStatement(ce(e.helper(Qp),["_push",o,i,a,"_parent"]))}const rd=new WeakMap;function E2(t,e){return()=>{if(t.children.length){const r={slotsExp:null,wipSlots:[]};rd.set(t,r),r.slotsExp=qs(t,e,(i,n,a,o)=>{const h=gt([],void 0,!0,!1,o);return r.wipSlots.push({fn:h,children:a}),h}).slots}}}function w2(t,e){const r=rd.get(t);if(!r)return;const{slotsExp:i,wipSlots:n}=r;for(let a=0;a<n.length;a++){const o=n[a];o.fn.body=cs(o,e)}e.pushStatement(ce(e.helper(Zp),["_push",i]))}const Js=new WeakMap,T2=(t,e)=>{if(!(t.type!==1||t.tagType!==0))return function(){const i=[`<${t.tag}`],n=t.tag==="textarea"||t.tag.indexOf("-")>0,a=Xi(t),o=t.props.some(m=>m.type===7&&!Ua(m.name)),h=a||o;if(h){const{props:m,directives:g}=ts(t,e,t.props,!1,!1,!0);if(m||g.length){const b=Mu(m,g,e),x=ce(e.helper(Nu),[b]);if(t.tag==="textarea"){const v=t.children[0];if(!v||v.type!==5){const y=`_temp${e.temps++}`;x.arguments=[Fi(Y(y,!1),b)],Js.set(t,ce(e.helper(kn),[Ct(Y(`"value" in ${y}`,!1),Y(`${y}.value`,!1),Y(v?v.content:"",!0),!1)]))}}else if(t.tag==="input"){const v=C2(t);if(v){const y=`_temp${e.temps++}`,T=Y(y,!1);x.arguments=[Jc([Fi(T,b),ce(e.helper(wr),[T,ce(e.helper(Yp),[T,v.exp])])])]}}else if(g.length&&!t.children.length&&!Be(t,"text")){const y=`_temp${e.temps++}`;x.arguments=[Fi(Y(y,!1),b)],Js.set(t,Ct(Y(`"textContent" in ${y}`,!1),ce(e.helper(kn),[Y(`${y}.textContent`,!1)]),Y(`${y}.innerHTML ?? ''`,!1),!1))}n&&x.arguments.push(`"${t.tag}"`),i.push(x)}}let c,d,f;for(let m=0;m<t.props.length;m++){const g=t.props[m];if(!(t.tag==="input"&&_2(g)))if(g.type===7){if(g.name==="html"&&g.exp)Js.set(t,je(["(",g.exp,") ?? ''"]));else if(g.name==="text"&&g.exp)t.children=[Ri(g.exp,g.loc)];else if(g.name==="slot")e.onError(ve(40,g.loc));else if(P2(t,g)&&g.exp)h||(t.children=[Ri(g.exp,g.loc)]);else if(!h&&g.name!=="on"){const b=e.directiveTransforms[g.name];if(b){const{props:x,ssrTagParts:v}=b(g,t,e);v&&i.push(...v);for(let y=0;y<x.length;y++){const{key:T,value:E}=x[y];if(Xe(T)){let C=T.content;if(C==="key"||C==="ref")continue;C==="class"?i.push(' class="',c=ce(e.helper(zp),[E]),'"'):C==="style"?f?sd(f,E):i.push(' style="',f=ce(e.helper(Wp),[E]),'"'):(C=t.tag.indexOf("-")>0?C:Ig[C]||C.toLowerCase(),jc(C)?i.push(Ct(ce(e.helper(Ou),[E]),Y(" "+C,!0),Y("",!0),!1)):Cg(C)?i.push(ce(e.helper(Hp),[T,E])):e.onError(Ks(65,T.loc)))}else{const C=[T,E];n&&C.push(`"${t.tag}"`),i.push(ce(e.helper(Xp),C))}}}}}else{const b=g.name;if(t.tag==="textarea"&&b==="value"&&g.value)Js.set(t,Lt(g.value.content));else if(!h){if(b==="key"||b==="ref")continue;b==="class"&&g.value&&(d=JSON.stringify(g.value.content)),i.push(` ${g.name}`+(g.value?`="${Lt(g.value.content)}"`:""))}}}c&&d&&(sd(c,d),A2(i,"class")),e.scopeId&&i.push(` ${e.scopeId}`),t.ssrCodegenNode=Ka(i)}};function Mu(t,e,r){let i=[];if(t&&(t.type===14?i=t.arguments:i.push(t)),e.length)for(const n of e)i.push(ce(r.helper(ed),["_ctx",...Lo(n,r).elements]));return i.length>1?ce(r.helper(wr),i):i[0]}function _2(t){return t.type===7?t.name==="bind"&&t.arg&&Xe(t.arg)&&(t.arg.content==="true-value"||t.arg.content==="false-value"):t.name==="true-value"||t.name==="false-value"}function P2(t,e){return!!(t.tag==="textarea"&&e.name==="bind"&&Dt(e.arg,"value"))}function sd(t,e){const r=t.arguments[0];r.type===17?r.elements.push(e):t.arguments[0]=Ht([r,e])}function A2(t,e){const r=new RegExp(`^ ${e}=".+"$`),i=t.findIndex(n=>typeof n=="string"&&r.test(n));i>-1&&t.splice(i,1)}function C2(t){return t.props.find(e=>e.type===7&&e.name==="model"&&e.exp)}function I2(t,e){const r=e.options.isVoidTag||ar,i=t.ssrCodegenNode.elements;for(let a=0;a<i.length;a++)e.pushStringPart(i[a]);e.withSlotScopeId&&e.pushStringPart(Y("_scopeId",!1)),e.pushStringPart(">");const n=Js.get(t);n?e.pushStringPart(n):t.children.length&&rr(t,e),r(t.tag)||e.pushStringPart(`</${t.tag}>`)}const id=new WeakMap;function N2(t,e){return()=>{const r=ct(t,"tag");if(r){const i=t.props.filter(h=>h!==r),{props:n,directives:a}=ts(t,e,i,!0,!1,!0);let o=null;(n||a.length)&&(o=ce(e.helper(Nu),[Mu(n,a,e)])),id.set(t,{tag:r,propsExp:o,scopeId:e.scopeId||null})}}}function O2(t,e){const r=id.get(t);if(r){const{tag:i,propsExp:n,scopeId:a}=r;i.type===7?(e.pushStringPart("<"),e.pushStringPart(i.exp),n&&e.pushStringPart(n),a&&e.pushStringPart(` ${a}`),e.pushStringPart(">"),rr(t,e,!1,!0,!0),e.pushStringPart("</"),e.pushStringPart(i.exp),e.pushStringPart(">")):(e.pushStringPart(`<${i.value.content}`),n&&e.pushStringPart(n),a&&e.pushStringPart(` ${a}`),e.pushStringPart(">"),rr(t,e,!1,!0,!0),e.pushStringPart(`</${i.value.content}>`))}else rr(t,e,!0,!0,!0)}const nd=new WeakMap;function k2(t,e){return()=>{const r=ct(t,"appear",!1,!0);nd.set(t,!!r)}}function L2(t,e){t.children=t.children.filter(i=>i.type!==3),nd.get(t)?(e.pushStringPart("<template>"),rr(t,e,!1,!0),e.pushStringPart("</template>")):rr(t,e,!1,!0)}var M2=Object.defineProperty,R2=Object.defineProperties,D2=Object.getOwnPropertyDescriptors,ad=Object.getOwnPropertySymbols,F2=Object.prototype.hasOwnProperty,B2=Object.prototype.propertyIsEnumerable,od=(t,e,r)=>e in t?M2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Dr=(t,e)=>{for(var r in e||(e={}))F2.call(e,r)&&od(t,r,e[r]);if(ad)for(var r of ad(e))B2.call(e,r)&&od(t,r,e[r]);return t},U2=(t,e)=>R2(t,D2(e));const ud=new WeakMap,ld=Symbol(),cd=new WeakMap,$2=(t,e)=>{if(t.type!==1||t.tagType!==1)return;const r=cn(t,e,!0),i=ur(r)&&r.callee===Ps;if(cd.set(t,r),or(r))return r===Gr?E2(t,e):r===rs?N2(t,e):r===Ir?k2(t):void 0;const n=[],a=Ru(t);return function(){a.children.length&&qs(a,e,(m,g,b)=>(n.push(W2(m,g,b,e)),gt(void 0)));let h="null";if(t.props.length){const{props:m,directives:g}=ts(t,e,void 0,!0,i);(m||g.length)&&(h=Mu(m,g,e))}const c=[];ud.set(t,c);const d=(m,g,b,x)=>{const v=m&&on(m)||"_",y=gt([v,"_push","_parent","_scopeId"],void 0,!0,!0,x);return c.push({type:ld,fn:y,children:b,vnodeBranch:n[c.length]}),y},f=t.children.length?qs(t,e,d).slots:"null";typeof r!="string"?t.ssrCodegenNode=ce(e.helper(qp),["_push",ce(e.helper(Ts),[r,h,f]),"_parent"]):t.ssrCodegenNode=ce(e.helper(jp),[r,h,f,"_parent"])}};function q2(t,e,r){const i=cd.get(t);if(t.ssrCodegenNode){const n=ud.get(t)||[];for(let a=0;a<n.length;a++){const{fn:o,vnodeBranch:h}=n[a];o.body=Di(Y("_push",!1),cs(n[a],e,!1,!0),h)}e.withSlotScopeId&&t.ssrCodegenNode.arguments.push("_scopeId"),typeof i=="string"?e.pushStatement(ce("_push",[t.ssrCodegenNode])):e.pushStatement(t.ssrCodegenNode)}else{if(i===Er)return x2(t,e);if(i===Gr)return w2(t,e);if(i===rs)return O2(t,e);if(r.type===ld&&e.pushStringPart(""),i===Ir)return L2(t,e);rr(t,e)}}const hd=new WeakMap,[j2,V2]=Do(!0),G2=[...j2,...Ho],z2=Dr(Dr({},V2),Xo);function W2(t,e,r,i){const n=hd.get(i.root),a=U2(Dr({},n),{nodeTransforms:[...G2,...n.nodeTransforms||[]],directiveTransforms:Dr(Dr({},z2),n.directiveTransforms||{})}),o=[];return t&&o.push({type:7,name:"slot",exp:t,arg:void 0,modifiers:[],loc:Ne}),e&&o.push(wt({},e)),H2({type:1,ns:0,tag:"template",tagType:3,props:o,children:r,loc:Ne,codegenNode:void 0},a,i),Yc(r)}function H2(t,e,r){const i=Tr([t]),n=Ms(i,e);n.ssr=!1,n.scopes=Dr({},r.scopes),n.identifiers=Dr({},r.identifiers),n.imports=r.imports,Zr(i,n),["helpers","components","directives"].forEach(a=>{n[a].forEach((o,h)=>{if(a==="helpers"){const c=r.helpers.get(h);c===void 0?r.helpers.set(h,o):r.helpers.set(h,o+c)}else r[a].add(o)})})}function Ru(t){if(Me(t))return t.map(Ru);if(Mc(t)){const e={};for(const r in t)e[r]=Ru(t[r]);return e}else return t}function X2(t,e){const r=fd(t,e);if(e.ssrCssVars){const n=Ms(Tr([]),e),a=qe(Y(e.ssrCssVars,!1),n);r.body.push(je(["const _cssVars = { style: ",a,"}"])),Array.from(n.helpers.keys()).forEach(o=>{t.helpers.add(o)})}const i=t.children.length>1&&t.children.some(n=>!Os(n));rr(t,r,i),t.codegenNode=Ns(r.body),t.ssrHelpers=Array.from(new Set([...Array.from(t.helpers).filter(n=>n in Lu),...r.helpers])),t.helpers=new Set(Array.from(t.helpers).filter(n=>!(n in Lu)))}function fd(t,e,r=new Set,i=!1){const n=[];let a=null;return{root:t,options:e,body:n,helpers:r,withSlotScopeId:i,onError:e.onError||(o=>{throw o}),helper(o){return r.add(o),o},pushStringPart(o){if(!a){const d=ce("_push");n.push(d),a=Ka([]),d.arguments.push(a)}const h=a.elements,c=h[h.length-1];ye(o)&&ye(c)?h[h.length-1]+=o:h.push(o)},pushStatement(o){a=null,n.push(o)}}}function K2(t,e=t.withSlotScopeId){return fd(t.root,t.options,t.helpers,e)}function rr(t,e,r=!1,i=!1,n=!1){r&&e.pushStringPart("<!--[-->");const{children:a}=t;for(let o=0;o<a.length;o++){const h=a[o];switch(h.type){case 1:switch(h.tagType){case 0:I2(h,e);break;case 1:q2(h,e,t);break;case 2:v2(h,e);break;case 3:break;default:return e.onError(Ks(67,h.loc)),h}break;case 2:e.pushStringPart(Lt(h.content));break;case 3:n||e.pushStringPart(`<!--${h.content}-->`);break;case 5:e.pushStringPart(ce(e.helper(kn),[h.content]));break;case 9:m2(h,e,i,n);break;case 11:y2(h,e,i);break;case 10:break;case 12:case 8:break;default:return e.onError(Ks(67,h.loc)),h}}r&&e.pushStringPart("<!--]-->")}function cs(t,e,r=!1,i=e.withSlotScopeId){const n=K2(e,i);return rr(t,n,r),Ns(n.body)}const J2=(t,e,r)=>{const i=t.exp;function n(){const o=ct(e,"value");o&&r.onError(Ze(60,o.loc))}function a(o){if(o.tag==="option"){if(o.props.findIndex(h=>h.name==="selected")===-1){const h=pd(o);o.ssrCodegenNode.elements.push(Ct(ce(r.helper(Ou),[Ct(ce("Array.isArray",[i]),ce(r.helper(ku),[i,h]),ce(r.helper(Ln),[i,h]))]),Y(" selected",!0),Y("",!0),!1))}}else o.tag==="optgroup"&&o.children.forEach(h=>a(h))}if(e.tagType===0){const o={props:[]},h=[we("value",i)];if(e.tag==="input"){const c=ct(e,"type");if(c){const d=pd(e);if(c.type===7)o.ssrTagParts=[ce(r.helper(Jp),[c.exp,i,d])];else if(c.value)switch(c.value.content){case"radio":o.props=[we("checked",ce(r.helper(Ln),[i,d]))];break;case"checkbox":const f=ct(e,"true-value");if(f){const m=f.type===6?JSON.stringify(f.value.content):f.exp;o.props=[we("checked",ce(r.helper(Ln),[i,m]))]}else o.props=[we("checked",Ct(ce("Array.isArray",[i]),ce(r.helper(ku),[i,d]),i))];break;case"file":r.onError(Ze(59,t.loc));break;default:n(),o.props=h;break}}else Xi(e)||(n(),o.props=h)}else if(e.tag==="textarea")n(),e.children=[Ri(i,i.loc)];else if(e.tag==="select"){const c=d=>{d.forEach(f=>{f.type===1?a(f):f.type===11?c(f.children):f.type===9&&f.branches.forEach(m=>c(m.children))})};c(e.children)}else r.onError(Ze(57,t.loc));return o}else return fn(t,e,r)};function pd(t){const e=ct(t,"value");return e?e.type===7?e.exp:Y(e.value.content,!0):Y("null",!1)}const Y2=(t,e,r)=>(t.exp||r.onError(Ze(61)),{props:[we("style",Ct(t.exp,Y("null",!1),lt([we("display",Y("none",!0))]),!1))]}),Du=t=>t.children.filter(e=>e.type!==3),Fu=t=>Du(t).length===1,Q2=(t,e)=>{if(t.type===0&&(e.identifiers._attrs=1),t.type===1&&t.tagType===1&&(t.tag==="transition"||t.tag==="Transition"||t.tag==="KeepAlive"||t.tag==="keep-alive")){const i=Du(e.root);if(i.length===1&&i[0]===t){Fu(t)&&Bu(t.children[0]);return}}const r=e.parent;if(!(!r||r.type!==0))if(t.type===10&&Fu(t)){let i=!1;for(const n of Du(r))if(n.type===9||n.type===1&&Be(n,"if")){if(i)return;i=!0}else if(!i||!(n.type===1&&Be(n,/else/,!0)))return;Bu(t.children[0])}else Fu(r)&&Bu(t)};function Bu(t){t.type===1&&(t.tagType===0||t.tagType===1)&&!Be(t,"for")&&t.props.push({type:7,name:"bind",arg:void 0,exp:Y("_attrs",!1),modifiers:[],loc:Ne})}const Z2=(t,e)=>{if(!e.ssrCssVars)return;t.type===0&&(e.identifiers._cssVars=1);const r=e.parent;if(!(!r||r.type!==0))if(t.type===10)for(const i of t.children)Mn(i);else Mn(t)};function Mn(t){if(t.type===1&&(t.tagType===0||t.tagType===1)&&!Be(t,"for"))if(t.tag==="suspense"||t.tag==="Suspense")for(const e of t.children)e.type===1&&e.tagType===3?e.children.forEach(Mn):Mn(e);else t.props.push({type:7,name:"bind",arg:void 0,exp:Y("_cssVars",!1),modifiers:[],loc:Ne})}var ex=Object.defineProperty,tx=Object.defineProperties,rx=Object.getOwnPropertyDescriptors,dd=Object.getOwnPropertySymbols,sx=Object.prototype.hasOwnProperty,ix=Object.prototype.propertyIsEnumerable,md=(t,e,r)=>e in t?ex(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Rn=(t,e)=>{for(var r in e||(e={}))sx.call(e,r)&&md(t,r,e[r]);if(dd)for(var r of dd(e))ix.call(e,r)&&md(t,r,e[r]);return t},gd=(t,e)=>tx(t,rx(e));function nx(t,e={}){e=gd(Rn(Rn({},e),ss),{ssr:!0,inSSR:!0,scopeId:e.mode==="function"?null:e.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const r=typeof t=="string"?Zi(t,e):t;return hd.set(r,e),go(r,gd(Rn({},e),{hoistStatic:!1,nodeTransforms:[d2,g2,Oo,_o,b2,Q2,Z2,T2,$2,No,Go,...e.nodeTransforms||[]],directiveTransforms:Rn({bind:Ao,on:hn,model:J2,show:Y2,cloak:Vs,once:Vs,memo:Vs},e.directiveTransforms||{})})),X2(r,e),To(r,e)}var ax=Object.freeze({__proto__:null,compile:nx}),ox={},ux=Object.freeze({__proto__:null,default:ox}),lx=qi(ux),Uu=qi(Dv),cx=qi(BS);const yd={};function Ys(t){!(typeof process!="undefined"&&process.env.NODE_ENV==="production")&&!yd[t]&&(yd[t]=!0,void 0)}function h_(t){}var hx=Object.defineProperty,fx=Object.defineProperties,px=Object.getOwnPropertyDescriptors,bd=Object.getOwnPropertySymbols,dx=Object.prototype.hasOwnProperty,mx=Object.prototype.propertyIsEnumerable,vd=(t,e,r)=>e in t?hx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Dn=(t,e)=>{for(var r in e||(e={}))dx.call(e,r)&&vd(t,r,e[r]);if(bd)for(var r of bd(e))mx.call(e,r)&&vd(t,r,e[r]);return t},$u=(t,e)=>fx(t,px(e));function gx({source:t,filename:e,preprocessOptions:r},i){let n="",a=null;if(i.render(t,Dn({filename:e},r),(o,h)=>{o&&(a=o),n=h}),a)throw a;return n}function Sd(t){const{preprocessLang:e,preprocessCustomRequire:r}=t;if(e&&!r)throw new 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 }.");const i=e?r?r(e):void 0:!1;if(i)try{return xd($u(Dn({},t),{source:gx(t,i),ast:void 0}))}catch(n){return{code:"export default function render() {}",source:t.source,tips:[],errors:[n]}}else return e?{code:"export default function render() {}",source:t.source,tips:[`Component ${t.filename} uses lang ${e} for template. Please install the language preprocessor.`],errors:[`Component ${t.filename} uses lang ${e} for template, however it is not installed.`]}:xd(t)}function xd({filename:t,id:e,scoped:r,slotted:i,inMap:n,source:a,ast:o,ssr:h=!1,ssrCssVars:c,isProd:d=!1,compiler:f,compilerOptions:m={},transformAssetUrls:g}){const b=[],x=[];let v=[];if(ur(g)){const w=u2(g);v=[l2(w),p2(w)]}else g!==!1&&(v=[Up,$p]);h&&!c&&Ys("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),e||(Ys("compileTemplate now requires the `id` option."),e="");const y=e.replace(/^data-v-/,""),T=`data-v-${y}`,E=h?ax:Ko;if(f=f||E,f!==E&&(o=void 0),o!=null&&o.transformed){const I=(h?Ko:f).parse(o.source,$u(Dn({prefixIdentifiers:!0},m),{parseMode:"sfc",onError:k=>b.push(k)})).children.find(k=>k.type===1&&k.tag==="template");o=Tr(I.children,o.source)}let{code:C,ast:N,preamble:A,map:L}=f.compile(o||a,$u(Dn({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:h&&c&&c.length?vf(c,y,d,!0):"",scopeId:r?T:void 0,slotted:i,sourceMap:!0},m),{hmr:!d,nodeTransforms:v.concat(m.nodeTransforms||[]),filename:t,onError:w=>b.push(w),onWarn:w=>x.push(w)}));n&&!o&&(L&&(L=yx(n,L)),b.length&&bx(b,a,n));const R=x.map(w=>{let I=w.message;return w.loc&&(I+=`
|
|
74
|
-
|
|
75
|
-
`):d+=f[1]}return d}return o.registerInput=i,ju=o,ju}var Vu,Cd;function Gu(){if(Cd)return Vu;Cd=1;let t=wd(),e=Ad();class r extends Error{constructor(n,a,o,h,c,d){super(n),this.name="CssSyntaxError",this.reason=n,c&&(this.file=c),h&&(this.source=h),d&&(this.plugin=d),typeof a!="undefined"&&typeof o!="undefined"&&(typeof a=="number"?(this.line=a,this.column=o):(this.line=a.line,this.column=a.column,this.endLine=o.line,this.endColumn=o.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(n){if(!this.source)return"";let a=this.source;n==null&&(n=t.isColorSupported);let o=b=>b,h=b=>b,c=b=>b;if(n){let{bold:b,gray:x,red:v}=t.createColors(!0);h=y=>b(v(y)),o=y=>x(y),e&&(c=y=>e(y))}let d=a.split(/\r?\n/),f=Math.max(this.line-3,0),m=Math.min(this.line+2,d.length),g=String(m).length;return d.slice(f,m).map((b,x)=>{let v=f+1+x,y=" "+(" "+v).slice(-g)+" | ";if(v===this.line){if(b.length>160){let E=20,C=Math.max(0,this.column-E),N=Math.max(this.column+E,this.endColumn+E),A=b.slice(C,N),L=o(y.replace(/\d/g," "))+b.slice(0,Math.min(this.column-1,E-1)).replace(/[^\t]/g," ");return h(">")+o(y)+c(A)+`
|
|
76
|
-
`+L+h("^")}let T=o(y.replace(/\d/g," "))+b.slice(0,this.column-1).replace(/[^\t]/g," ");return h(">")+o(y)+c(b)+`
|
|
77
|
-
`+T+h("^")}return" "+o(y)+c(b)}).join(`
|
|
78
|
-
`)}toString(){let n=this.showSourceCode();return n&&(n=`
|
|
50
|
+
`;return Array(n).join(r)}}function Iu(e){return e.props.some(e=>e.type===6?e.name===`src`:!1)}function Lu(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 Ru(e,t){if(!t.scriptSetup||t.scriptSetup.lang!==`ts`&&t.scriptSetup.lang!==`tsx`)return!1;for(let n in e)if(!e[n].isUsedInTemplate&&du(n,t))return!0;return!1}function zu(e){let t=e.split(`
|
|
51
|
+
`),n=t.reduce(function(e,t){var n,r;if(t.trim()===``)return e;let i=((r=(n=t.match(/^\s*/))==null?void 0:n[0])==null?void 0:r.length)||0;return Math.min(i,e)},1/0);return n===0?[e,n]:[t.map(function(e){return e.slice(n)}).join(`
|
|
52
|
+
`),n]}function Bu(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 Vu=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Hu=function(e){return Vu.exec(e).slice(1)};function Uu(){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=Bu(ed(e.split(`/`),function(e){return!!e}),!t).join(`/`),(t?`/`:``)+e||`.`}function Wu(e){var t=Gu(e),n=td(e,-1)===`/`;return e=Bu(ed(e.split(`/`),function(e){return!!e}),!t).join(`/`),!e&&!t&&(e=`.`),e&&n&&(e+=`/`),(t?`/`:``)+e}function Gu(e){return e.charAt(0)===`/`}function Ku(){return Wu(ed(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 qu(e,t){e=Uu(e).substr(1),t=Uu(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 Ju=`/`,Yu=`:`;function Xu(e){var t=Hu(e),n=t[0],r=t[1];return!n&&!r?`.`:(r&&(r=r.substr(0,r.length-1)),n+r)}function Zu(e,t){var n=Hu(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Qu(e){return Hu(e)[3]}var $u={extname:Qu,basename:Zu,dirname:Xu,sep:Ju,delimiter:Yu,relative:qu,join:Ku,isAbsolute:Gu,normalize:Wu,resolve:Uu};function ed(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 td=`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)},nd=Object.freeze({__proto__:null,basename:Zu,default:$u,delimiter:Yu,dirname:Xu,extname:Qu,isAbsolute:Gu,join:Ku,normalize:Wu,relative:qu,resolve:Uu,sep:Ju}),rd=2147483647,id=36,ad=1,od=26,sd=38,cd=700,ld=72,ud=128,dd=`-`,fd=/[^\x20-\x7E]/,pd=/[\x2E\u3002\uFF0E\uFF61]/g,md={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},hd=id-ad,gd=Math.floor,_d=String.fromCharCode;function vd(e){throw RangeError(md[e])}function yd(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function bd(e,t){var n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(pd,`.`);var i=yd(e.split(`.`),t).join(`.`);return r+i}function xd(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 Sd(e,t){return e+22+75*(e<26)-((t!=0)<<5)}function Cd(e,t,n){var r=0;for(e=n?gd(e/cd):e>>1,e+=gd(e/t);e>hd*od>>1;r+=id)e=gd(e/hd);return gd(r+(hd+1)*e/(e+sd))}function wd(e){var t,n,r,i,a,o,s,c,l,u,d,f=[],p,m,h,g;for(e=xd(e),p=e.length,t=ud,n=0,a=ld,o=0;o<p;++o)d=e[o],d<128&&f.push(_d(d));for(r=i=f.length,i&&f.push(dd);r<p;){for(s=rd,o=0;o<p;++o)d=e[o],d>=t&&d<s&&(s=d);for(m=r+1,s-t>gd((rd-n)/m)&&vd(`overflow`),n+=(s-t)*m,t=s,o=0;o<p;++o)if(d=e[o],d<t&&++n>rd&&vd(`overflow`),d==t){for(c=n,l=id;u=l<=a?ad:l>=a+od?od:l-a,!(c<u);l+=id)g=c-u,h=id-u,f.push(_d(Sd(u+g%h,0))),c=gd(g/h);f.push(_d(Sd(c,0))),a=Cd(n,m,r==i),n=0,++r}++n,++t}return f.join(``)}function Td(e){return bd(e,function(e){return fd.test(e)?`xn--`+wd(e):e})}var Ed=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},Dd=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},Od=/%[sdj%]/g;function kd(e){if(!Yd(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(Pd(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,a=String(e).replace(Od,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(e){return`[Circular]`}default:return e}}),o=r[n];n<i;o=r[++n])Kd(o)||!$d(o)?a+=` `+o:a+=` `+Pd(o);return a}function Ad(e,t){if(Zd(en.process))return function(){return Ad(e,t).apply(this,arguments)};if(lu.noDeprecation===!0)return e;var n=!1;function r(){if(!n){if(lu.throwDeprecation)throw Error(t);lu.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}return r}var jd={},Md;function Nd(e){if(Zd(Md)&&(Md=lu.env.NODE_DEBUG||``),e=e.toUpperCase(),!jd[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(Md)){var t=0;jd[e]=function(){var n=kd.apply(null,arguments);console.error(`%s %d: %s`,e,t,n)}}else jd[e]=function(){};return jd[e]}function Pd(e,t){var n={seen:[],stylize:Id};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Gd(t)?n.showHidden=t:t&&df(n,t),Zd(n.showHidden)&&(n.showHidden=!1),Zd(n.depth)&&(n.depth=2),Zd(n.colors)&&(n.colors=!1),Zd(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Fd),Rd(n,e,n.depth)}Pd.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]},Pd.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function Fd(e,t){var n=Pd.styles[t];return n?`\x1B[`+Pd.colors[n][0]+`m`+e+`\x1B[`+Pd.colors[n][1]+`m`:e}function Id(e,t){return e}function Ld(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function Rd(e,t,n){if(e.customInspect&&t&&nf(t.inspect)&&t.inspect!==Pd&&!(t.constructor&&t.constructor.prototype===t)){var r=t.inspect(n,e);return Yd(r)||(r=Rd(e,r,n)),r}var i=zd(e,t);if(i)return i;var a=Object.keys(t),o=Ld(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),tf(t)&&(a.indexOf(`message`)>=0||a.indexOf(`description`)>=0))return Bd(t);if(a.length===0){if(nf(t)){var s=t.name?`: `+t.name:``;return e.stylize(`[Function`+s+`]`,`special`)}if(Qd(t))return e.stylize(RegExp.prototype.toString.call(t),`regexp`);if(ef(t))return e.stylize(Date.prototype.toString.call(t),`date`);if(tf(t))return Bd(t)}var c=``,l=!1,u=[`{`,`}`];if(Wd(t)&&(l=!0,u=[`[`,`]`]),nf(t)&&(c=` [Function`+(t.name?`: `+t.name:``)+`]`),Qd(t)&&(c=` `+RegExp.prototype.toString.call(t)),ef(t)&&(c=` `+Date.prototype.toUTCString.call(t)),tf(t)&&(c=` `+Bd(t)),a.length===0&&(!l||t.length==0))return u[0]+c+u[1];if(n<0)return Qd(t)?e.stylize(RegExp.prototype.toString.call(t),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(t);var d=l?Vd(e,t,n,o,a):a.map(function(r){return Hd(e,t,n,o,r,l)});return e.seen.pop(),Ud(d,c,u)}function zd(e,t){if(Zd(t))return e.stylize(`undefined`,`undefined`);if(Yd(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(Jd(t))return e.stylize(``+t,`number`);if(Gd(t))return e.stylize(``+t,`boolean`);if(Kd(t))return e.stylize(`null`,`null`)}function Bd(e){return`[`+Error.prototype.toString.call(e)+`]`}function Vd(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)ff(t,String(o))?a.push(Hd(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(Hd(e,t,n,r,i,!0))}),a}function Hd(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`)),ff(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=Kd(n)?Rd(e,c.value,null):Rd(e,c.value,n-1),s.indexOf(`
|
|
53
|
+
`)>-1&&(s=a?s.split(`
|
|
54
|
+
`).map(function(e){return` `+e}).join(`
|
|
55
|
+
`).substr(2):`
|
|
56
|
+
`+s.split(`
|
|
57
|
+
`).map(function(e){return` `+e}).join(`
|
|
58
|
+
`))):s=e.stylize(`[Circular]`,`special`)),Zd(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 Ud(e,t,n){return e.reduce(function(e,t){return t.indexOf(`
|
|
59
|
+
`),e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
|
|
60
|
+
`)+` `+e.join(`,
|
|
61
|
+
`)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}function Wd(e){return Array.isArray(e)}function Gd(e){return typeof e==`boolean`}function Kd(e){return e===null}function qd(e){return e==null}function Jd(e){return typeof e==`number`}function Yd(e){return typeof e==`string`}function Xd(e){return typeof e==`symbol`}function Zd(e){return e===void 0}function Qd(e){return $d(e)&&of(e)===`[object RegExp]`}function $d(e){return typeof e==`object`&&!!e}function ef(e){return $d(e)&&of(e)===`[object Date]`}function tf(e){return $d(e)&&(of(e)===`[object Error]`||e instanceof Error)}function nf(e){return typeof e==`function`}function rf(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0}function af(e){return U.isBuffer(e)}function of(e){return Object.prototype.toString.call(e)}function sf(e){return e<10?`0`+e.toString(10):e.toString(10)}var cf=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function lf(){var e=new Date,t=[sf(e.getHours()),sf(e.getMinutes()),sf(e.getSeconds())].join(`:`);return[e.getDate(),cf[e.getMonth()],t].join(` `)}function uf(){console.log(`%s - %s`,lf(),kd.apply(null,arguments))}function df(e,t){if(!t||!$d(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function ff(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var pf=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;function mf(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(pf&&e[pf]){var t=e[pf];if(typeof t!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(t,pf,{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)),pf&&Object.defineProperty(t,pf,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Dd(e))}mf.custom=pf;function hf(e,t){if(!e){var n=Error(`Promise was rejected with a falsy value`);n.reason=e,e=n}return t(e)}function gf(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){lu.nextTick(a.bind(null,null,e))},function(e){lu.nextTick(hf.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,Dd(e)),t}var _f=Object.freeze({__proto__:null,_extend:df,callbackify:gf,debuglog:Nd,default:{inherits:Ed,_extend:df,log:uf,isBuffer:af,isPrimitive:rf,isFunction:nf,isError:tf,isDate:ef,isObject:$d,isRegExp:Qd,isUndefined:Zd,isSymbol:Xd,isString:Yd,isNumber:Jd,isNullOrUndefined:qd,isNull:Kd,isBoolean:Gd,isArray:Wd,inspect:Pd,deprecate:Ad,format:kd,debuglog:Nd,promisify:mf,callbackify:gf},deprecate:Ad,format:kd,inherits:Ed,inspect:Pd,isArray:Wd,isBoolean:Gd,isBuffer:af,isDate:ef,isError:tf,isFunction:nf,isNull:Kd,isNullOrUndefined:qd,isNumber:Jd,isObject:$d,isPrimitive:rf,isRegExp:Qd,isString:Yd,isSymbol:Xd,isUndefined:Zd,log:uf,promisify:mf});function vf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var yf=Array.isArray||function(e){return Object.prototype.toString.call(e)===`[object Array]`};function bf(e){switch(typeof e){case`string`:return e;case`boolean`:return e?`true`:`false`;case`number`:return isFinite(e)?e:``;default:return``}}function xf(e,t,n,r){return t=t||`&`,n=n||`=`,e===null&&(e=void 0),typeof e==`object`?Sf(Cf(e),function(r){var i=encodeURIComponent(bf(r))+n;return yf(e[r])?Sf(e[r],function(e){return i+encodeURIComponent(bf(e))}).join(t):i+encodeURIComponent(bf(e[r]))}).join(t):r?encodeURIComponent(bf(r))+n+encodeURIComponent(bf(e)):``}function Sf(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 Cf=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t};function wf(e,t,n,r){t=t||`&`,n=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),vf(i,p)?yf(i[p])?i[p].push(m):i[p]=[i[p],m]:i[p]=m}return i}var Tf=en.URL,Ef=en.URLSearchParams,Df={parse:Vf,resolve:qf,resolveObject:Jf,fileURLToPath:Uf,format:Gf,Url:Of,URL:Tf,URLSearchParams:Ef};function Of(){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 kf=/^([a-z0-9.+-]+:)/i,Af=/:[0-9]*$/,jf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Mf=[`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
|
|
62
|
+
`,` `],Nf=[`%`,`/`,`?`,`;`,`#`].concat(Mf),Pf=[`/`,`?`,`#`],Ff=255,If=/^[+a-z0-9A-Z_-]{0,63}$/,Lf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Rf={javascript:!0,"javascript:":!0},zf={javascript:!0,"javascript:":!0},Bf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Vf(e,t,n){if(e&&$d(e)&&e instanceof Of)return e;var r=new Of;return r.parse(e,t,n),r}Of.prototype.parse=function(e,t,n){return Hf(this,e,t,n)};function Hf(e,t,n,r){if(!Yd(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=jf.exec(s);if(c)return e.path=s,e.href=s,e.pathname=c[1],c[2]?(e.search=c[2],n?e.query=wf(e.search.substr(1)):e.query=e.search.substr(1)):n&&(e.search=``,e.query={}),e}var l=kf.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&&zf[l])&&(s=s.substr(2),e.slashes=!0)}var f,p,m,h;if(!zf[l]&&(d||l&&!Bf[l])){var g=-1;for(f=0;f<Pf.length;f++)p=s.indexOf(Pf[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<Nf.length;f++)p=s.indexOf(Nf[f]),p!==-1&&(g===-1||p<g)&&(g=p);g===-1&&(g=s.length),e.host=s.slice(0,g),s=s.slice(g),Yf(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(If)){for(var S=``,C=0,w=x.length;C<w;C++)x.charCodeAt(C)>127?S+=`x`:S+=x[C];if(!S.match(If)){var T=b.slice(0,f),E=b.slice(f+1),D=x.match(Lf);D&&(T.push(D[1]),E.unshift(D[2])),E.length&&(s=`/`+E.join(`.`)+s),e.hostname=T.join(`.`);break}}}}e.hostname.length>Ff?e.hostname=``:e.hostname=e.hostname.toLowerCase(),y||(e.hostname=Td(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(!Rf[u])for(f=0,m=Mf.length;f<m;f++){var O=Mf[f];if(s.indexOf(O)!==-1){var k=encodeURIComponent(O);k===O&&(k=escape(O)),s=s.split(O).join(k)}}var A=s.indexOf(`#`);A!==-1&&(e.hash=s.substr(A),s=s.slice(0,A));var j=s.indexOf(`?`);if(j===-1?n&&(e.search=``,e.query={}):(e.search=s.substr(j),e.query=s.substr(j+1),n&&(e.query=wf(e.query)),s=s.slice(0,j)),s&&(e.pathname=s),Bf[u]&&e.hostname&&!e.pathname&&(e.pathname=`/`),e.pathname||e.search){h=e.pathname||``;var ee=e.search||``;e.path=h+ee}return e.href=Kf(e),e}function Uf(e){if(typeof e==`string`)e=new Of().parse(e);else if(!(e instanceof Of))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 Wf(e)}function Wf(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 Gf(e){return Yd(e)&&(e=Hf({},e)),Kf(e)}function Kf(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&&$d(e.query)&&Object.keys(e.query).length&&(o=xf(e.query));var s=e.search||o&&`?`+o||``;return n&&n.substr(-1)!==`:`&&(n+=`:`),e.slashes||(!n||Bf[n])&&a!==!1?(a=`//`+(a||``),r&&r.charAt(0)!==`/`&&(r=`/`+r)):a||(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}Of.prototype.format=function(){return Kf(this)};function qf(e,t){return Vf(e,!1,!0).resolve(t)}Of.prototype.resolve=function(e){return this.resolveObject(Vf(e,!1,!0)).format()};function Jf(e,t){return e?Vf(e,!1,!0).resolveObject(t):t}Of.prototype.resolveObject=function(e){if(Yd(e)){var t=new Of;t.parse(e,!1,!0),e=t}for(var n=new Of,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 Bf[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(!Bf[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&&!zf[e.protocol]){for(l=(e.pathname||``).split(`/`);l.length&&!(e.host=l.shift()););e.host||(e.host=``),e.hostname||(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&&!Bf[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=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(!qd(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,(!Kd(n.pathname)||!Kd(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=h||n.host&&_.length,h&&!w&&_.unshift(``),_.length?n.pathname=_.join(`/`):(n.pathname=null,n.path=null),(!Kd(n.pathname)||!Kd(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},Of.prototype.parseHost=function(){return Yf(this)};function Yf(e){var t=e.host,n=Af.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 Xf=Object.freeze({__proto__:null,URL:Tf,URLSearchParams:Ef,Url:Of,default:Df,fileURLToPath:Uf,format:Gf,parse:Vf,resolve:qf,resolveObject:Jf});function Zf(e){let t=e.charAt(0);return t===`.`||t===`~`||t===`@`||t===`#`}var Qf=/^(?:https?:)?\/\//;function $f(e){return Qf.test(e)}var ep=/^\s*data:/i;function tp(e){return ep.test(e)}function np(e){try{return decodeURIComponent(e)}catch(t){return e}}function rp(e){if(e.charAt(0)===`~`){let t=e.charAt(1);e=e.slice(t===`/`?2:1)}return ip(e)}function ip(e){return Vf(E(e)?e:``,!1,!0)}var ap=Object.defineProperty,op=Object.defineProperties,sp=Object.getOwnPropertyDescriptors,cp=Object.getOwnPropertySymbols,lp=Object.prototype.hasOwnProperty,up=Object.prototype.propertyIsEnumerable,dp=(e,t,n)=>t in e?ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fp=(e,t)=>{for(var n in t||(t={}))lp.call(t,n)&&dp(e,n,t[n]);if(cp)for(var n of cp(t))up.call(t,n)&&dp(e,n,t[n]);return e},pp=(e,t)=>op(e,sp(t)),mp={video:[`src`,`poster`],source:[`src`],img:[`src`],image:[`xlink:href`,`href`]},hp={base:null,includeAbsolute:!1,tags:pp(fp({},mp),{use:[`xlink:href`,`href`]})},gp=e=>Object.keys(e).some(t=>S(e[t]))?pp(fp({},hp),{tags:e}):fp(fp({},hp),e),_p=e=>(t,n)=>yp(t,n,e);function vp(e,t){var n;return!!((n=mp[e])!=null&&n.includes(t))}var yp=(e,t,n=hp)=>{if(e.type===1){if(!e.props.length)return;let r=n.tags||hp.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($f(a)||tp(a)||s&&!vp(e.tag,r.name)||!n.includeAbsolute&&!Zf(a))return;let c=rp(a);if(n.base&&a[0]===`.`){let e=rp(n.base),t=e.protocol||``,i=e.host?t+`//`+e.host:``,a=e.path||`/`;r.value.content=i+($u.posix||$u).join(a,c.path+(c.hash||``));return}let l=xp(c.path,c.hash,r.loc,t);e.props[i]={type:7,name:`bind`,arg:B(r.name,!0,r.loc),exp:l,modifiers:[],loc:r.loc}})}};function bp(e,t,n){let r=np(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=B(a,!1,t,3);return n.imports.push({exp:o,path:r}),{name:a,exp:o}}function xp(e,t,n,r){if(!e&&!t)return B(`''`,!1,n,3);if(!e&&t){let{exp:e}=bp(t,n,r);return e}if(e&&!t){let{exp:t}=bp(e,n,r);return t}let{name:i}=bp(e,n,r),a=`${i} + '${t}'`,o=B(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?B(`_hoisted_${s+1}`,!1,n,3):r.hoist(o)}var Sp=[`img`,`source`],Cp=/( |\\t|\\n|\\f|\\r)+/g,wp=e=>(t,n)=>Tp(t,n,e),Tp=(e,t,n=hp)=>{e.type===1&&Sp.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(Cp,` `).trim().split(` `,2);return{url:t,descriptor:n}});for(let e=0;e<o.length;e++){let{url:t}=o[e];tp(t)&&(o[e+1].url=t+`,`+o[e+1].url,o.splice(e,1))}let s=e=>e&&!$f(e)&&!tp(e)&&(n.includeAbsolute||Zf(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=($u.posix||$u).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=Rt([],r.loc);o.forEach(({url:e,descriptor:n},i)=>{if(s(e)){let{path:n,hash:i}=rp(e),a=n||i;if(a){let e=np(a),o=t.imports.findIndex(t=>t.path===e),s;o>-1?s=B(`_imports_${o}`,!1,r.loc,3):(s=B(`_imports_${t.imports.length}`,!1,r.loc,3),t.imports.push({exp:s,path:e})),n&&i&&(s=B(`${s.content} + '${i}'`,!1,r.loc,3)),c.children.push(s)}}else{let t=B(`"${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:B(`srcset`,!0,r.loc),exp:l,modifiers:[],loc:r.loc}}})},Ep=Symbol(`ssrInterpolate`),Dp=Symbol(`ssrRenderVNode`),Op=Symbol(`ssrRenderComponent`),kp=Symbol(`ssrRenderSlot`),Ap=Symbol(`ssrRenderSlotInner`),jp=Symbol(`ssrRenderClass`),Mp=Symbol(`ssrRenderStyle`),Np=Symbol(`ssrRenderAttrs`),Pp=Symbol(`ssrRenderAttr`),Fp=Symbol(`ssrRenderDynamicAttr`),Ip=Symbol(`ssrRenderList`),Lp=Symbol(`ssrIncludeBooleanAttr`),Rp=Symbol(`ssrLooseEqual`),zp=Symbol(`ssrLooseContain`),Bp=Symbol(`ssrRenderDynamicModel`),Vp=Symbol(`ssrGetDynamicModelProps`),Hp=Symbol(`ssrRenderTeleport`),Up=Symbol(`ssrRenderSuspense`),Wp=Symbol(`ssrGetDirectiveProps`),Gp={[Ep]:`ssrInterpolate`,[Dp]:`ssrRenderVNode`,[Op]:`ssrRenderComponent`,[kp]:`ssrRenderSlot`,[Ap]:`ssrRenderSlotInner`,[jp]:`ssrRenderClass`,[Mp]:`ssrRenderStyle`,[Np]:`ssrRenderAttrs`,[Pp]:`ssrRenderAttr`,[Fp]:`ssrRenderDynamicAttr`,[Ip]:`ssrRenderList`,[Lp]:`ssrIncludeBooleanAttr`,[Rp]:`ssrLooseEqual`,[zp]:`ssrLooseContain`,[Bp]:`ssrRenderDynamicModel`,[Vp]:`ssrGetDynamicModelProps`,[Hp]:`ssrRenderTeleport`,[Up]:`ssrRenderSuspense`,[Wp]:`ssrGetDirectiveProps`};Ot(Gp);var Kp=eo(/^(?:if|else|else-if)$/,bs);function qp(e,t,n=!1,r=!1){let[i]=e.branches,a=Wt(i.condition,Jp(i,t,n));t.pushStatement(a);let o=a;for(let r=1;r<e.branches.length;r++){let i=e.branches[r],a=Jp(i,t,n);i.condition?o=o.alternate=Wt(i.condition,a):o.alternate=a}!o.alternate&&!r&&(o.alternate=Ht([V(`_push`,["`<!---->`"])]))}function Jp(e,t,n=!1){let{children:r}=e;return qm(e,t,!n&&(r.length!==1||r[0].type!==1)&&!(r.length===1&&r[0].type===11))}var Yp=eo(`for`,Ds);function Xp(e,t,n=!1){let r=!n&&(e.children.length!==1||e.children[0].type!==1),i=zt(ks(e.parseResult));i.body=qm(e,t,r),n||t.pushStringPart(`<!--[-->`),t.pushStatement(V(t.helper(Ip),[e.source,i])),n||t.pushStringPart(`<!--]-->`)}var Zp=(e,t)=>{if(Ki(e)){let{slotName:n,slotProps:r}=Ys(e,t),i=[`_ctx.$slots`,n,r||`{}`,`null`,`_push`,`_parent`];t.scopeId&&t.slotted!==!1&&i.push(`"${t.scopeId}-s"`);let a=kp,o=t.parent;if(o){let e=o.children;o.type===10&&(o=t.grandParent);let n;o.type===1&&o.tagType===1&&((n=Bs(o,t,!0))===yc||n===bc)&&e.filter(e=>e.type===1).length===1&&(a=Ap,t.scopeId&&t.slotted!==!1||i.push(`null`),i.push(`true`))}e.ssrCodegenNode=V(t.helper(a),i)}};function Qp(e,t){let n=e.ssrCodegenNode;if(e.children.length){let r=zt([]);r.body=qm(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 $p(e,t){return W(e,t,em)}var em={65:`Unsafe attribute name for SSR.`,66:`Missing the 'to' prop on teleport element.`,67:`Invalid AST node during SSR transform.`};function tm(e,t){let n=zi(e,`to`);if(!n){t.onError($p(66,e.loc));return}let r;if(r=n.type===6?n.value&&B(n.value.content,!0):n.exp,!r){t.onError($p(66,n.loc));return}let i=zi(e,`disabled`,!1,!0),a=i?i.type===6?`true`:i.exp||`false`:`false`,o=zt([`_push`],void 0,!0,!1,e.loc);o.body=qm(e,t),t.pushStatement(V(t.helper(Hp),[`_push`,o,r,a,`_parent`]))}var nm=new WeakMap;function rm(e,t){return()=>{if(e.children.length){let n={slotsExp:null,wipSlots:[]};nm.set(e,n),n.slotsExp=Fs(e,t,(e,t,r,i)=>{let a=zt([],void 0,!0,!1,i);return n.wipSlots.push({fn:a,children:r}),a}).slots}}}function im(e,t){let n=nm.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=qm(n,t)}t.pushStatement(V(t.helper(Up),[`_push`,r]))}var am=new WeakMap,om=(e,t)=>{if(!(e.type!==1||e.tagType!==0))return function(){let n=[`<${e.tag}`],r=e.tag===`textarea`||e.tag.indexOf(`-`)>0,i=Vi(e),a=e.props.some(e=>e.type===7&&!M(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}=Hs(e,t,e.props,!1,!1,!0);if(i||a.length){let o=sm(i,a,t),s=V(t.helper(Np),[o]);if(e.tag===`textarea`){let n=e.children[0];if(!pm(e)&&(!n||n.type!==5)){let r=`_temp${t.temps++}`;s.arguments=[Gt(B(r,!1),o)],am.set(e,V(t.helper(Ep),[Bt(B(`"value" in ${r}`,!1),B(`${r}.value`,!1),B(n?n.content:``,!0),!1)]))}}else if(e.tag===`input`){let n=fm(e);if(n){let e=B(`_temp${t.temps++}`,!1);s.arguments=[Kt([Gt(e,o),V(t.helper(ut),[e,V(t.helper(Vp),[e,n.exp])])])]}}else if(a.length&&!e.children.length&&!pm(e)){let n=`_temp${t.temps++}`;s.arguments=[Gt(B(n,!1),o)],am.set(e,Bt(B(`"textContent" in ${n}`,!1),V(t.helper(Ep),[B(`${n}.textContent`,!1)]),B(`${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`&&cm(a)))if(a.type===7){if(a.name===`html`&&a.exp)am.set(e,Rt([`(`,a.exp,`) ?? ''`]));else if(a.name===`text`&&a.exp)e.children=[Lt(a.exp,a.loc)];else if(a.name===`slot`)t.onError(W(40,a.loc));else if(lm(e,a)&&a.exp)s||(e.children=[Lt(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(bi(a)){let r=a.content;if(r===`key`||r===`ref`)continue;r===`class`?n.push(` class="`,c=V(t.helper(jp),[s]),`"`):r===`style`?u?um(u,s):n.push(` style="`,u=V(t.helper(Mp),[s]),`"`):(r=e.tag.indexOf(`-`)>0?r:je[r]||r.toLowerCase(),De(r)?n.push(Bt(V(t.helper(Lp),[s]),B(` `+r,!0),B(``,!0),!1)):Ae(r)?n.push(V(t.helper(Pp),[a,s])):t.onError($p(65,a.loc)))}else{let i=[a,s];r&&i.push(`"${e.tag}"`),n.push(V(t.helper(Fp),i))}}}}}else{let t=a.name;if(e.tag===`textarea`&&t===`value`&&a.value)am.set(e,Ie(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?`="${Ie(a.value.content)}"`:``))}}}c&&l&&(um(c,l),dm(n,`class`)),t.scopeId&&n.push(` ${t.scopeId}`),e.ssrCodegenNode=Ut(n)}};function sm(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(V(n.helper(Wp),[`_ctx`,...Gs(e,n).elements]));return r.length>1?V(n.helper(ut),r):r[0]}function cm(e){return e.type===7?e.name===`bind`&&e.arg&&bi(e.arg)&&(e.arg.content===`true-value`||e.arg.content===`false-value`):e.name===`true-value`||e.name===`false-value`}function lm(e,t){return!!(e.tag===`textarea`&&t.name===`bind`&&Bi(t.arg,`value`))}function um(e,t){let n=e.arguments[0];n.type===17?n.elements.push(t):e.arguments[0]=Ft([n,t])}function dm(e,t){let n=RegExp(`^ ${t}=".+"$`),r=e.findIndex(e=>typeof e==`string`&&n.test(e));r>-1&&e.splice(r,1)}function fm(e){return e.props.find(e=>e.type===7&&e.name===`model`&&e.exp)}function pm(e){return!!Ri(e,`text`)||!!Ri(e,`html`)}function mm(e,t){let n=t.options.isVoidTag||_,r=e.ssrCodegenNode.elements;for(let e=0;e<r.length;e++)t.pushStringPart(r[e]);t.withSlotScopeId&&t.pushStringPart(B(`_scopeId`,!1)),t.pushStringPart(`>`);let i=am.get(e);i?t.pushStringPart(i):e.children.length&&Km(e,t),n(e.tag)||t.pushStringPart(`</${e.tag}>`)}var hm=new WeakMap;function gm(e,t){return()=>{let n=zi(e,`tag`);if(n){let{props:r,directives:i}=Hs(e,t,e.props.filter(e=>e!==n),!0,!1,!0),a=null;(r||i.length)&&(a=V(t.helper(Np),[sm(r,i,t)])),hm.set(e,{tag:n,propsExp:a,scopeId:t.scopeId||null})}}}function _m(e,t){let n=hm.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(`>`),Km(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(`>`),Km(e,t,!1,!0,!0),t.pushStringPart(`</${r.value.content}>`))}else Km(e,t,!0,!0,!0)}var vm=new WeakMap;function ym(e,t){return()=>{let t=zi(e,`appear`,!1,!0);vm.set(e,!!t)}}function bm(e,t){e.children=e.children.filter(e=>e.type!==3),vm.get(e)?(t.pushStringPart(`<template>`),Km(e,t,!1,!0),t.pushStringPart(`</template>`)):Km(e,t,!1,!0)}var xm=Object.defineProperty,Sm=Object.defineProperties,Cm=Object.getOwnPropertyDescriptors,wm=Object.getOwnPropertySymbols,Tm=Object.prototype.hasOwnProperty,Em=Object.prototype.propertyIsEnumerable,Dm=(e,t,n)=>t in e?xm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Om=(e,t)=>{for(var n in t||(t={}))Tm.call(t,n)&&Dm(e,n,t[n]);if(wm)for(var n of wm(t))Em.call(t,n)&&Dm(e,n,t[n]);return e},km=(e,t)=>Sm(e,Cm(t)),Am=new WeakMap,jm=Symbol(),Mm=new WeakMap,Nm=(e,t)=>{if(e.type!==1||e.tagType!==1)return;let n=Bs(e,t,!0),r=O(n)&&n.callee===nt;if(Mm.set(e,n),D(n))return n===Ge?rm(e,t):n===bc?gm(e,t):n===yc?ym(e):void 0;let i=[],a=Hm(e);return function(){a.children.length&&Fs(a,t,(e,n,r)=>(i.push(Bm(e,n,r,t)),zt(void 0)));let o=`null`;if(e.props.length){let{props:n,directives:i}=Hs(e,t,void 0,!0,r);(n||i.length)&&(o=sm(n,i,t))}let s=[];Am.set(e,s);let c=e.children.length?Fs(e,t,(e,t,n,r)=>{let a=zt([e&&_s(e)||`_`,`_push`,`_parent`,`_scopeId`],void 0,!0,!0,r);return s.push({type:jm,fn:a,children:n,vnodeBranch:i[s.length]}),a}).slots:`null`;typeof n==`string`?e.ssrCodegenNode=V(t.helper(Op),[n,o,c,`_parent`]):e.ssrCodegenNode=V(t.helper(Dp),[`_push`,V(t.helper(Xe),[n,o,c]),`_parent`])}};function Pm(e,t,n){let r=Mm.get(e);if(e.ssrCodegenNode){let n=Am.get(e)||[];for(let e=0;e<n.length;e++){let{fn:r,vnodeBranch:i}=n[e];r.body=Wt(B(`_push`,!1),qm(n[e],t,!1,!0),i)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push(`_scopeId`),typeof r==`string`?t.pushStatement(V(`_push`,[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(r===We)return tm(e,t);if(r===Ge)return im(e,t);if(r===bc)return _m(e,t);if(n.type===jm&&t.pushStringPart(``),r===yc)return bm(e,t);Km(e,t)}}var Fm=new WeakMap,[Im,Lm]=sc(!0),Rm=[...Im,...il],zm=Om(Om({},Lm),al);function Bm(e,t,n,r){let i=Fm.get(r.root),a=km(Om({},i),{nodeTransforms:[...Rm,...i.nodeTransforms||[]],directiveTransforms:Om(Om({},zm),i.directiveTransforms||{})}),o=[];return e&&o.push({type:7,name:`slot`,exp:e,arg:void 0,modifiers:[],loc:R}),t&&o.push(y({},t)),Vm({type:1,ns:0,tag:`template`,tagType:3,props:o,children:n,loc:R,codegenNode:void 0},a,r),qt(n)}function Vm(e,t,n){let r=Nt([e]),i=Ya(r,t);i.ssr=!1,i.scopes=Om({},n.scopes),i.identifiers=Om({},n.identifiers),i.imports=n.imports,$a(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 Hm(e){if(S(e))return e.map(Hm);if(j(e)){let t={};for(let n in e)t[n]=Hm(e[n]);return t}else return e}function Um(e,t){let n=Wm(e,t);if(t.ssrCssVars){let r=Ya(Nt([]),t),i=hs(B(t.ssrCssVars,!1),r);n.body.push(Rt([`const _cssVars = { style: `,i,`}`])),Array.from(r.helpers.keys()).forEach(t=>{e.helpers.add(t)})}Km(e,n,e.children.length>1&&e.children.some(e=>!Hi(e))),e.codegenNode=Ht(n.body),e.ssrHelpers=Array.from(new Set([...Array.from(e.helpers).filter(e=>e in Gp),...n.helpers])),e.helpers=new Set(Array.from(e.helpers).filter(e=>!(e in Gp)))}function Wm(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=V(`_push`);i.push(e),a=Ut([]),e.arguments.push(a)}let t=a.elements,n=t[t.length-1];E(e)&&E(n)?t[t.length-1]+=e:t.push(e)},pushStatement(e){a=null,i.push(e)}}}function Gm(e,t=e.withSlotScopeId){return Wm(e.root,e.options,e.helpers,t)}function Km(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:mm(o,t);break;case 1:Pm(o,t,e);break;case 2:Qp(o,t);break;case 3:break;default:return t.onError($p(67,o.loc)),o}break;case 2:t.pushStringPart(Ie(o.content));break;case 3:i||t.pushStringPart(`<!--${o.content}-->`);break;case 5:t.pushStringPart(V(t.helper(Ep),[o.content]));break;case 9:qp(o,t,r,i);break;case 11:Xp(o,t,r);break;case 10:break;case 12:case 8:break;default:return t.onError($p(67,o.loc)),o}}n&&t.pushStringPart(`<!--]-->`)}function qm(e,t,n=!1,r=t.withSlotScopeId){let i=Gm(t,r);return Km(e,i,n),Ht(i.body)}var Jm=(e,t,n)=>{let r=e.exp;function i(){let e=zi(t,`value`);e&&n.onError(wc(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=Ym(e);e.ssrCodegenNode.elements.push(Bt(V(n.helper(Lp),[Bt(V(`Array.isArray`,[r]),V(n.helper(zp),[r,t]),V(n.helper(Rp),[r,t]))]),B(` selected`,!0),B(``,!0),!1))}}else e.tag===`optgroup`&&a(e.children)}if(t.tagType===0){let o={props:[]};if(t.tag===`input`){let a=[z(`value`,r)],s=zi(t,`type`);if(s){let c=Ym(t);if(s.type===7)o.ssrTagParts=[V(n.helper(Bp),[s.exp,r,c])];else if(s.value)switch(s.value.content){case`radio`:o.props=[z(`checked`,V(n.helper(Rp),[r,c]))];break;case`checkbox`:let s=zi(t,`true-value`);if(s){let e=s.type===6?JSON.stringify(s.value.content):s.exp;o.props=[z(`checked`,V(n.helper(Rp),[r,e]))]}else o.props=[z(`checked`,Bt(V(`Array.isArray`,[r]),V(n.helper(zp),[r,c]),r))];break;case`file`:n.onError(wc(60,e.loc));break;default:i(),o.props=a;break}}else Vi(t)||(i(),o.props=a)}else t.tag===`textarea`?(i(),t.children=[Lt(r,r.loc)]):t.tag===`select`?a(t.children):n.onError(wc(58,e.loc));return o}else return nc(e,t,n)};function Ym(e){let t=zi(e,`value`);return t?t.type===7?t.exp:B(t.value.content,!0):B(`null`,!1)}var Xm=(e,t,n)=>(e.exp||n.onError(wc(62)),{props:[z(`style`,Bt(e.exp,B(`null`,!1),It([z(`display`,B(`none`,!0))]),!1))]}),Zm=e=>e.children.filter(e=>!ra(e)),Qm=e=>Zm(e).length===1,$m=(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=Zm(t.root);if(n.length===1&&n[0]===e){Qm(e)&&eh(e.children[0]);return}}let n=t.parent;if(!(!n||n.type!==0))if(e.type===10&&Qm(e)){let t=!1;for(let e of Zm(n))if(e.type===9||e.type===1&&Ri(e,`if`)){if(t)return;t=!0}else if(!t||!(e.type===1&&Ri(e,/else/,!0)))return;eh(e.children[0])}else Qm(n)&&eh(e)};function eh(e){e.type===1&&(e.tagType===0||e.tagType===1)&&!Ri(e,`for`)&&e.props.push({type:7,name:`bind`,arg:void 0,exp:B(`_attrs`,!1),modifiers:[],loc:R})}var th=(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)nh(t);else nh(e)};function nh(e){if(e.type===1&&(e.tagType===0||e.tagType===1)&&!Ri(e,`for`))if(e.tag===`suspense`||e.tag===`Suspense`)for(let t of e.children)t.type===1&&t.tagType===3?t.children.forEach(nh):nh(t);else e.props.push({type:7,name:`bind`,arg:void 0,exp:B(`_cssVars`,!1),modifiers:[],loc:R})}var rh=Object.defineProperty,ih=Object.defineProperties,ah=Object.getOwnPropertyDescriptors,oh=Object.getOwnPropertySymbols,sh=Object.prototype.hasOwnProperty,ch=Object.prototype.propertyIsEnumerable,lh=(e,t,n)=>t in e?rh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uh=(e,t)=>{for(var n in t||(t={}))sh.call(t,n)&&lh(e,n,t[n]);if(oh)for(var n of oh(t))ch.call(t,n)&&lh(e,n,t[n]);return e},dh=(e,t)=>ih(e,ah(t));function fh(e,t={}){t=dh(uh(uh({},t),xc),{ssr:!0,inSSR:!0,scopeId:t.mode===`function`?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});let n=typeof e==`string`?Ba(e,t):e;return Fm.set(n,t),Xa(n,dh(uh({},t),{hoistStatic:!1,nodeTransforms:[oc,Kp,Yp,Ns,ms,Zp,$m,th,om,Nm,Ms,Sc,...t.nodeTransforms||[]],directiveTransforms:uh({bind:Zs,on:Xs,model:Jm,show:Xm,cloak:uc,once:uc,memo:uc},t.directiveTransforms||{})})),Um(n,t),zo(n,t)}var ph=Object.freeze({__proto__:null,compile:fh}),mh=Jr(Object.freeze({__proto__:null,default:{}})),hh=Jr(nd),gh=Jr(_f),_h={};function vh(e){!(typeof process<`u`&&process.env.NODE_ENV===`production`)&&!_h[e]&&(_h[e]=!0,yh(e))}function yh(e){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${e}\x1B[0m
|
|
63
|
+
`)}var bh=Object.defineProperty,xh=Object.defineProperties,Sh=Object.getOwnPropertyDescriptors,Ch=Object.getOwnPropertySymbols,wh=Object.prototype.hasOwnProperty,Th=Object.prototype.propertyIsEnumerable,Eh=(e,t,n)=>t in e?bh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dh=(e,t)=>{for(var n in t||(t={}))wh.call(t,n)&&Eh(e,n,t[n]);if(Ch)for(var n of Ch(t))Th.call(t,n)&&Eh(e,n,t[n]);return e},Oh=(e,t)=>xh(e,Sh(t));function kh({source:e,filename:t,preprocessOptions:n},r){let i=``,a=null;if(r.render(e,Dh({filename:t},n),(e,t)=>{e&&(a=e),i=t}),a)throw a;return i}function Ah(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 jh(Oh(Dh({},e),{source:kh(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 jh(e)}function jh({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(O(f)){let e=gp(f);h=[_p(e),wp(e)]}else f!==!1&&(h=[yp,Tp]);s&&!c&&vh("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),t||(vh("compileTemplate now requires the `id` option."),t=``);let g=t.replace(/^data-v-/,``),_=`data-v-${g}`,v=s?ph:cl;u=u||v,u!==v&&(o=void 0),o!=null&&o.transformed&&(o=Nt((s?cl:u).parse(o.source,Oh(Dh({prefixIdentifiers:!0},d),{parseMode:`sfc`,onError:e=>p.push(e)})).children.find(e=>e.type===1&&e.tag===`template`).children,o.source));let{code:y,ast:b,preamble:x,map:S}=u.compile(o||a,Oh(Dh({mode:`module`,prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:s&&c&&c.length?ml(c,g,l,!0):``,scopeId:n?_: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&&(S&&(S=Mh(i,S)),p.length&&Nh(p,a,i)),{code:y,ast:b,preamble:x,source:a,errors:p,tips:m.map(e=>{let t=e.message;return e.loc&&(t+=`
|
|
64
|
+
${de((o==null?void 0:o.source)||a,e.loc.start.offset,e.loc.end.offset)}`),t}),map:S}}function Mh(e,t){if(!e)return t;if(!t)return e;let n=new Fo.SourceMapConsumer(e),r=new Fo.SourceMapConsumer(t),i=new Fo.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 Nh(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 Ph={exports:{}},Fh;function Ih(){if(Fh)return Ph.exports;Fh=1;let e=lu||{},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 Ph.exports=o(),Ph.exports.createColors=o,Ph.exports}var Lh,Rh;function zh(){if(Rh)return Lh;Rh=1;let e=/[\t\n\f\r "#'()/;[\\\]{}]/g,t=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,n=/.[\r\n"'(/\\]/,r=/[\da-f]/i;return Lh=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=[];function S(){return y}function C(e){throw i.error(`Unclosed `+e,y)}function w(){return x.length===0&&y>=v}function T(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 C(`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 d=o.indexOf(`)`,y+1),l=o.slice(y,d+1),d===-1||n.test(l)?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 C(`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:C(`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 E(e){x.push(e)}return{back:E,endOfFile:w,nextToken:T,position:S}},Lh}var Bh,Vh;function Hh(){if(Vh)return Bh;Vh=1;let e=Ih(),t=zh(),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(`
|
|
65
|
+
`):o+=e[1]}return o}return o.registerInput=r,Bh=o,Bh}var Uh,Wh;function Gh(){if(Wh)return Uh;Wh=1;let e=Ih(),t=Hh();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==null&&(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)+`
|
|
66
|
+
`+c+a(`^`)}let t=i(r.replace(/\d/g,` `))+e.slice(0,this.column-1).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(e)+`
|
|
67
|
+
`+t+a(`^`)}return` `+i(r)+o(e)}).join(`
|
|
68
|
+
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
79
69
|
|
|
80
|
-
`+
|
|
81
|
-
`),this.name
|
|
70
|
+
`+e+`
|
|
71
|
+
`),this.name+`: `+this.message+e}}return Uh=n,n.default=n,Uh}var Kh,qh;function Jh(){if(qh)return Kh;qh=1;let e={after:`
|
|
82
72
|
`,beforeClose:`
|
|
83
73
|
`,beforeComment:`
|
|
84
74
|
`,beforeDecl:`
|
|
85
|
-
`,beforeOpen
|
|
86
|
-
`,colon
|
|
87
|
-
`)){let
|
|
88
|
-
`)&&(
|
|
89
|
-
`)&&(
|
|
90
|
-
`)&&(
|
|
91
|
-
`)&&(
|
|
92
|
-
`);return
|
|
93
|
-
`?(d=1,f+=1):d+=1;return{column:d,line:f}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c){let d={column:this.source.start.column,line:this.source.start.line},f=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:d.column+1,line:d.line};if(c.word){let m=this.source.input.css.slice(this.source.start.offset,this.source.end.offset),g=m.indexOf(c.word);g!==-1&&(d=this.positionInside(g,m),f=this.positionInside(g+c.word.length,m))}else c.start?d={column:c.start.column,line:c.start.line}:c.index&&(d=this.positionInside(c.index)),c.end?f={column:c.end.column,line:c.end.line}:typeof c.endIndex=="number"?f=this.positionInside(c.endIndex):c.index&&(f=this.positionInside(c.index+1));return(f.line<d.line||f.line===d.line&&f.column<=d.column)&&(f={column:d.column+1,line:d.line}),{end:f,start:d}}raw(c,d){return new e().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,f=!1;for(let m of c)m===this?f=!0:f?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);f||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let f={},m=d==null;d=d||new Map;let g=0;for(let b in this){if(!Object.prototype.hasOwnProperty.call(this,b)||b==="parent"||b==="proxyCache")continue;let x=this[b];if(Array.isArray(x))f[b]=x.map(v=>typeof v=="object"&&v.toJSON?v.toJSON(null,d):v);else if(typeof x=="object"&&x.toJSON)f[b]=x.toJSON(null,d);else if(b==="source"){let v=d.get(x.input);v==null&&(v=g,d.set(x.input,g),g++),f[b]={end:x.end,inputId:v,start:x.start}}else f[b]=x}return m&&(f.inputs=[...d.keys()].map(b=>b.toJSON())),f}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(c=r){c.stringify&&(c=c.stringify);let d="";return c(this,f=>{d+=f}),d}warn(c,d,f){let m={node:this};for(let g in f)m[g]=f[g];return c.warn(d,m)}get proxyOf(){return this}}return Xu=o,o.default=o,Xu}var Ku,Md;function qn(){if(Md)return Ku;Md=1;let t=$n();class e extends t{constructor(i){super(i),this.type="comment"}}return Ku=e,e.default=e,Ku}var Ju,Rd;function jn(){if(Rd)return Ju;Rd=1;let t=$n();class e extends t{constructor(i){i&&typeof i.value!="undefined"&&typeof i.value!="string"&&(i=Ss(Wt({},i),{value:String(i.value)})),super(i),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return Ju=e,e.default=e,Ju}var Yu,Dd;function Fr(){if(Dd)return Yu;Dd=1;let t=qn(),e=jn(),r=$n(),{isClean:i,my:n}=Hu(),a,o,h,c;function d(g){return g.map(b=>(b.nodes&&(b.nodes=d(b.nodes)),delete b.source,b))}function f(g){if(g[i]=!1,g.proxyOf.nodes)for(let b of g.proxyOf.nodes)f(b)}class m extends r{append(...b){for(let x of b){let v=this.normalize(x,this.last);for(let y of v)this.proxyOf.nodes.push(y)}return this.markDirty(),this}cleanRaws(b){if(super.cleanRaws(b),this.nodes)for(let x of this.nodes)x.cleanRaws(b)}each(b){if(!this.proxyOf.nodes)return;let x=this.getIterator(),v,y;for(;this.indexes[x]<this.proxyOf.nodes.length&&(v=this.indexes[x],y=b(this.proxyOf.nodes[v],v),y!==!1);)this.indexes[x]+=1;return delete this.indexes[x],y}every(b){return this.nodes.every(b)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let b=this.lastEach;return this.indexes[b]=0,b}getProxyProcessor(){return{get(b,x){return x==="proxyOf"?b:b[x]?x==="each"||typeof x=="string"&&x.startsWith("walk")?(...v)=>b[x](...v.map(y=>typeof y=="function"?(T,E)=>y(T.toProxy(),E):y)):x==="every"||x==="some"?v=>b[x]((y,...T)=>v(y.toProxy(),...T)):x==="root"?()=>b.root().toProxy():x==="nodes"?b.nodes.map(v=>v.toProxy()):x==="first"||x==="last"?b[x].toProxy():b[x]:b[x]},set(b,x,v){return b[x]===v||(b[x]=v,(x==="name"||x==="params"||x==="selector")&&b.markDirty()),!0}}}index(b){return typeof b=="number"?b:(b.proxyOf&&(b=b.proxyOf),this.proxyOf.nodes.indexOf(b))}insertAfter(b,x){let v=this.index(b),y=this.normalize(x,this.proxyOf.nodes[v]).reverse();v=this.index(b);for(let E of y)this.proxyOf.nodes.splice(v+1,0,E);let T;for(let E in this.indexes)T=this.indexes[E],v<T&&(this.indexes[E]=T+y.length);return this.markDirty(),this}insertBefore(b,x){let v=this.index(b),y=v===0?"prepend":!1,T=this.normalize(x,this.proxyOf.nodes[v],y).reverse();v=this.index(b);for(let C of T)this.proxyOf.nodes.splice(v,0,C);let E;for(let C in this.indexes)E=this.indexes[C],v<=E&&(this.indexes[C]=E+T.length);return this.markDirty(),this}normalize(b,x){if(typeof b=="string")b=d(o(b).nodes);else if(typeof b=="undefined")b=[];else if(Array.isArray(b)){b=b.slice(0);for(let y of b)y.parent&&y.parent.removeChild(y,"ignore")}else if(b.type==="root"&&this.type!=="document"){b=b.nodes.slice(0);for(let y of b)y.parent&&y.parent.removeChild(y,"ignore")}else if(b.type)b=[b];else if(b.prop){if(typeof b.value=="undefined")throw new Error("Value field is missed in node creation");typeof b.value!="string"&&(b.value=String(b.value)),b=[new e(b)]}else if(b.selector||b.selectors)b=[new c(b)];else if(b.name)b=[new a(b)];else if(b.text)b=[new t(b)];else throw new Error("Unknown node type in node creation");return b.map(y=>(y[n]||m.rebuild(y),y=y.proxyOf,y.parent&&y.parent.removeChild(y),y[i]&&f(y),y.raws||(y.raws={}),typeof y.raws.before=="undefined"&&x&&typeof x.raws.before!="undefined"&&(y.raws.before=x.raws.before.replace(/\S/g,"")),y.parent=this.proxyOf,y))}prepend(...b){b=b.reverse();for(let x of b){let v=this.normalize(x,this.first,"prepend").reverse();for(let y of v)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+v.length}return this.markDirty(),this}push(b){return b.parent=this,this.proxyOf.nodes.push(b),this}removeAll(){for(let b of this.proxyOf.nodes)b.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(b){b=this.index(b),this.proxyOf.nodes[b].parent=void 0,this.proxyOf.nodes.splice(b,1);let x;for(let v in this.indexes)x=this.indexes[v],x>=b&&(this.indexes[v]=x-1);return this.markDirty(),this}replaceValues(b,x,v){return v||(v=x,x={}),this.walkDecls(y=>{x.props&&!x.props.includes(y.prop)||x.fast&&!y.value.includes(x.fast)||(y.value=y.value.replace(b,v))}),this.markDirty(),this}some(b){return this.nodes.some(b)}walk(b){return this.each((x,v)=>{let y;try{y=b(x,v)}catch(T){throw x.addToError(T)}return y!==!1&&x.walk&&(y=x.walk(b)),y})}walkAtRules(b,x){return x?b instanceof RegExp?this.walk((v,y)=>{if(v.type==="atrule"&&b.test(v.name))return x(v,y)}):this.walk((v,y)=>{if(v.type==="atrule"&&v.name===b)return x(v,y)}):(x=b,this.walk((v,y)=>{if(v.type==="atrule")return x(v,y)}))}walkComments(b){return this.walk((x,v)=>{if(x.type==="comment")return b(x,v)})}walkDecls(b,x){return x?b instanceof RegExp?this.walk((v,y)=>{if(v.type==="decl"&&b.test(v.prop))return x(v,y)}):this.walk((v,y)=>{if(v.type==="decl"&&v.prop===b)return x(v,y)}):(x=b,this.walk((v,y)=>{if(v.type==="decl")return x(v,y)}))}walkRules(b,x){return x?b instanceof RegExp?this.walk((v,y)=>{if(v.type==="rule"&&b.test(v.selector))return x(v,y)}):this.walk((v,y)=>{if(v.type==="rule"&&v.selector===b)return x(v,y)}):(x=b,this.walk((v,y)=>{if(v.type==="rule")return x(v,y)}))}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]}}return m.registerParse=g=>{o=g},m.registerRule=g=>{c=g},m.registerAtRule=g=>{a=g},m.registerRoot=g=>{h=g},Yu=m,m.default=m,m.rebuild=g=>{g.type==="atrule"?Object.setPrototypeOf(g,a.prototype):g.type==="rule"?Object.setPrototypeOf(g,c.prototype):g.type==="decl"?Object.setPrototypeOf(g,e.prototype):g.type==="comment"?Object.setPrototypeOf(g,t.prototype):g.type==="root"&&Object.setPrototypeOf(g,h.prototype),g[n]=!0,g.nodes&&g.nodes.forEach(b=>{m.rebuild(b)})},Yu}var Qu,Fd;function Zu(){if(Fd)return Qu;Fd=1;let t=Fr();class e extends t{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}}return Qu=e,e.default=e,t.registerAtRule(e),Qu}var el,Bd;function tl(){if(Bd)return el;Bd=1;let t=Fr(),e,r;class i extends t{constructor(a){super(Wt({type:"document"},a)),this.nodes||(this.nodes=[])}toResult(a={}){return new e(new r,this,a).stringify()}}return i.registerLazyResult=n=>{e=n},i.registerProcessor=n=>{r=n},el=i,i.default=i,el}var rl,Ud;function vx(){if(Ud)return rl;Ud=1;let t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return rl={nanoid:(i=21)=>{let n="",a=i;for(;a--;)n+=t[Math.random()*64|0];return n},customAlphabet:(i,n=21)=>(a=n)=>{let o="",h=a;for(;h--;)o+=i[Math.random()*i.length|0];return o}},rl}var Qs={},sl={},Vn={},Gn={},$d;function Sx(){if($d)return Gn;$d=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Gn.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Gn.decode=function(e){var r=65,i=90,n=97,a=122,o=48,h=57,c=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=a?e-n+f:o<=e&&e<=h?e-o+m:e==c?62:e==d?63:-1},Gn}var qd;function jd(){if(qd)return Vn;qd=1;var t=Sx(),e=5,r=1<<e,i=r-1,n=r;function a(h){return h<0?(-h<<1)+1:(h<<1)+0}function o(h){var c=(h&1)===1,d=h>>1;return c?-d:d}return Vn.encode=function(c){var d="",f,m=a(c);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},Vn.decode=function(c,d,f){var m=c.length,g=0,b=0,x,v;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(v=t.decode(c.charCodeAt(d++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(d-1));x=!!(v&n),v&=i,g=g+(v<<b),b+=e}while(x);f.value=o(g),f.rest=d},Vn}var il={},Vd;function Zs(){return Vd||(Vd=1,(function(t){function e(w,I,k){if(I in w)return w[I];if(arguments.length===3)return k;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(w){var I=w.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=n;function a(w){var I="";return w.scheme&&(I+=w.scheme+":"),I+="//",w.auth&&(I+=w.auth+"@"),w.host&&(I+=w.host),w.port&&(I+=":"+w.port),w.path&&(I+=w.path),I}t.urlGenerate=a;var o=32;function h(w){var I=[];return function(k){for(var M=0;M<I.length;M++)if(I[M].input===k){var z=I[0];return I[0]=I[M],I[M]=z,I[0].result}var X=w(k);return I.unshift({input:k,result:X}),I.length>o&&I.pop(),X}}var c=h(function(I){var k=I,M=n(I);if(M){if(!M.path)return I;k=M.path}for(var z=t.isAbsolute(k),X=[],Z=0,$=0;;)if(Z=$,$=k.indexOf("/",Z),$===-1){X.push(k.slice(Z));break}else for(X.push(k.slice(Z,$));$<k.length&&k[$]==="/";)$++;for(var Q,re=0,$=X.length-1;$>=0;$--)Q=X[$],Q==="."?X.splice($,1):Q===".."?re++:re>0&&(Q===""?(X.splice($+1,re),re=0):(X.splice($,2),re--));return k=X.join("/"),k===""&&(k=z?"/":"."),M?(M.path=k,a(M)):k});t.normalize=c;function d(w,I){w===""&&(w="."),I===""&&(I=".");var k=n(I),M=n(w);if(M&&(w=M.path||"/"),k&&!k.scheme)return M&&(k.scheme=M.scheme),a(k);if(k||I.match(i))return I;if(M&&!M.host&&!M.path)return M.host=I,a(M);var z=I.charAt(0)==="/"?I:c(w.replace(/\/+$/,"")+"/"+I);return M?(M.path=z,a(M)):z}t.join=d,t.isAbsolute=function(w){return w.charAt(0)==="/"||r.test(w)};function f(w,I){w===""&&(w="."),w=w.replace(/\/$/,"");for(var k=0;I.indexOf(w+"/")!==0;){var M=w.lastIndexOf("/");if(M<0||(w=w.slice(0,M),w.match(/^([^\/]+:\/)?\/*$/)))return I;++k}return Array(k+1).join("../")+I.substr(w.length+1)}t.relative=f;var m=(function(){var w=Object.create(null);return!("__proto__"in w)})();function g(w){return w}function b(w){return v(w)?"$"+w:w}t.toSetString=m?g:b;function x(w){return v(w)?w.slice(1):w}t.fromSetString=m?g:x;function v(w){if(!w)return!1;var I=w.length;if(I<9||w.charCodeAt(I-1)!==95||w.charCodeAt(I-2)!==95||w.charCodeAt(I-3)!==111||w.charCodeAt(I-4)!==116||w.charCodeAt(I-5)!==111||w.charCodeAt(I-6)!==114||w.charCodeAt(I-7)!==112||w.charCodeAt(I-8)!==95||w.charCodeAt(I-9)!==95)return!1;for(var k=I-10;k>=0;k--)if(w.charCodeAt(k)!==36)return!1;return!0}function y(w,I,k){var M=N(w.source,I.source);return M!==0||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositions=y;function T(w,I,k){var M;return M=w.originalLine-I.originalLine,M!==0||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositionsNoSource=T;function E(w,I,k){var M=w.generatedLine-I.generatedLine;return M!==0||(M=w.generatedColumn-I.generatedColumn,M!==0||k)||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflated=E;function C(w,I,k){var M=w.generatedColumn-I.generatedColumn;return M!==0||k||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=C;function N(w,I){return w===I?0:w===null?1:I===null?-1:w>I?1:-1}function A(w,I){var k=w.generatedLine-I.generatedLine;return k!==0||(k=w.generatedColumn-I.generatedColumn,k!==0)||(k=N(w.source,I.source),k!==0)||(k=w.originalLine-I.originalLine,k!==0)||(k=w.originalColumn-I.originalColumn,k!==0)?k:N(w.name,I.name)}t.compareByGeneratedPositionsInflated=A;function L(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=L;function R(w,I,k){if(I=I||"",w&&(w[w.length-1]!=="/"&&I[0]!=="/"&&(w+="/"),I=w+I),k){var M=n(k);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var z=M.path.lastIndexOf("/");z>=0&&(M.path=M.path.substring(0,z+1))}I=d(a(M),I)}return c(I)}t.computeSourceURL=R})(il)),il}var nl={},Gd;function zd(){if(Gd)return nl;Gd=1;var t=Zs(),e=Object.prototype.hasOwnProperty,r=typeof Map!="undefined";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,o){for(var h=new i,c=0,d=a.length;c<d;c++)h.add(a[c],o);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var h=r?a:t.toSetString(a),c=r?this.has(a):e.call(this._set,h),d=this._array.length;(!c||o)&&this._array.push(a),c||(r?this._set.set(a,d):this._set[h]=d)},i.prototype.has=function(a){if(r)return this._set.has(a);var o=t.toSetString(a);return e.call(this._set,o)},i.prototype.indexOf=function(a){if(r){var o=this._set.get(a);if(o>=0)return o}else{var h=t.toSetString(a);if(e.call(this._set,h))return this._set[h]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},nl.ArraySet=i,nl}var al={},Wd;function xx(){if(Wd)return al;Wd=1;var t=Zs();function e(i,n){var a=i.generatedLine,o=n.generatedLine,h=i.generatedColumn,c=n.generatedColumn;return o>a||o==a&&c>=h||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,a){this._array.forEach(n,a)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},al.MappingList=r,al}var Hd;function Xd(){if(Hd)return sl;Hd=1;var t=jd(),e=Zs(),r=zd().ArraySet,i=xx().MappingList;function n(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(a,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(o,h){var c=o.sourceRoot,d=new n(Object.assign(h||{},{file:o.file,sourceRoot:c}));return o.eachMapping(function(f){var m={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(m.source=f.source,c!=null&&(m.source=e.relative(c,m.source)),m.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(m.name=f.name)),d.addMapping(m)}),o.sources.forEach(function(f){var m=f;c!==null&&(m=e.relative(c,f)),d._sources.has(m)||d._sources.add(m);var g=o.sourceContentFor(f);g!=null&&d.setSourceContent(f,g)}),d},n.prototype.addMapping=function(o){var h=e.getArg(o,"generated"),c=e.getArg(o,"original",null),d=e.getArg(o,"source",null),f=e.getArg(o,"name",null);!this._skipValidation&&this._validateMapping(h,c,d,f)===!1||(d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:d,name:f}))},n.prototype.setSourceContent=function(o,h){var c=o;this._sourceRoot!=null&&(c=e.relative(this._sourceRoot,c)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(c)]=h):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(o,h,c){var d=h;if(h==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=o.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,g=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var x=o.originalPositionFor({line:b.originalLine,column:b.originalColumn});x.source!=null&&(b.source=x.source,c!=null&&(b.source=e.join(c,b.source)),f!=null&&(b.source=e.relative(f,b.source)),b.originalLine=x.line,b.originalColumn=x.column,x.name!=null&&(b.name=x.name))}var v=b.source;v!=null&&!m.has(v)&&m.add(v);var y=b.name;y!=null&&!g.has(y)&&g.add(y)},this),this._sources=m,this._names=g,o.sources.forEach(function(b){var x=o.sourceContentFor(b);x!=null&&(c!=null&&(b=e.join(c,b)),f!=null&&(b=e.relative(f,b)),this.setSourceContent(b,x))},this)},n.prototype._validateMapping=function(o,h,c,d){if(h&&typeof h.line!="number"&&typeof h.column!="number"){var f="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!1;throw new Error(f)}if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!h&&!c&&!d)){if(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&c)return;var f="Invalid mapping: "+JSON.stringify({generated:o,source:c,original:h,name:d});if(this._ignoreInvalidMapping)return!1;throw new Error(f)}},n.prototype._serializeMappings=function(){for(var o=0,h=1,c=0,d=0,f=0,m=0,g="",b,x,v,y,T=this._mappings.toArray(),E=0,C=T.length;E<C;E++){if(x=T[E],b="",x.generatedLine!==h)for(o=0;x.generatedLine!==h;)b+=";",h++;else if(E>0){if(!e.compareByGeneratedPositionsInflated(x,T[E-1]))continue;b+=","}b+=t.encode(x.generatedColumn-o),o=x.generatedColumn,x.source!=null&&(y=this._sources.indexOf(x.source),b+=t.encode(y-m),m=y,b+=t.encode(x.originalLine-1-d),d=x.originalLine-1,b+=t.encode(x.originalColumn-c),c=x.originalColumn,x.name!=null&&(v=this._names.indexOf(x.name),b+=t.encode(v-f),f=v)),g+=b}return g},n.prototype._generateSourcesContent=function(o,h){return o.map(function(c){if(!this._sourcesContents)return null;h!=null&&(c=e.relative(h,c));var d=e.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},sl.SourceMapGenerator=n,sl}var ei={},ol={},Kd;function Ex(){return Kd||(Kd=1,(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,a,o,h){var c=Math.floor((i-r)/2)+r,d=o(n,a[c],!0);return d===0?c:d>0?i-c>1?e(c,i,n,a,o,h):h==t.LEAST_UPPER_BOUND?i<a.length?i:-1:c:c-r>1?e(r,c,n,a,o,h):h==t.LEAST_UPPER_BOUND?c:r<0?-1:r}t.search=function(i,n,a,o){if(n.length===0)return-1;var h=e(-1,n.length,i,n,a,o||t.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&a(n[h],n[h-1],!0)===0;)--h;return h}})(ol)),ol}var ul={},Jd;function wx(){if(Jd)return ul;Jd=1;function t(i){function n(h,c,d){var f=h[c];h[c]=h[d],h[d]=f}function a(h,c){return Math.round(h+Math.random()*(c-h))}function o(h,c,d,f){if(d<f){var m=a(d,f),g=d-1;n(h,m,f);for(var b=h[f],x=d;x<f;x++)c(h[x],b,!1)<=0&&(g+=1,n(h,g,x));n(h,g+1,x);var v=g+1;o(h,c,d,v-1),o(h,c,v+1,f)}}return o}function e(i){let n=t.toString();return new Function(`return ${n}`)()(i)}let r=new WeakMap;return ul.quickSort=function(i,n,a=0){let o=r.get(n);o===void 0&&(o=e(n),r.set(n,o)),o(i,n,a,i.length-1)},ul}var Yd;function Tx(){if(Yd)return ei;Yd=1;var t=Zs(),e=Ex(),r=zd().ArraySet,i=jd(),n=wx().quickSort;function a(m,g){var b=m;return typeof m=="string"&&(b=t.parseSourceMapInput(m)),b.sections!=null?new f(b,g):new o(b,g)}a.fromSourceMap=function(m,g){return o.fromSourceMap(m,g)},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(g,b){var x=g.charAt(b);return x===";"||x===","},a.prototype._parseMappings=function(g,b){throw new 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(g,b,x){var v=b||null,y=x||a.GENERATED_ORDER,T;switch(y){case a.GENERATED_ORDER:T=this._generatedMappings;break;case a.ORIGINAL_ORDER:T=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var E=this.sourceRoot,C=g.bind(v),N=this._names,A=this._sources,L=this._sourceMapURL,R=0,w=T.length;R<w;R++){var I=T[R],k=I.source===null?null:A.at(I.source);k!==null&&(k=t.computeSourceURL(E,k,L)),C({source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:N.at(I.name)})}},a.prototype.allGeneratedPositionsFor=function(g){var b=t.getArg(g,"line"),x={source:t.getArg(g,"source"),originalLine:b,originalColumn:t.getArg(g,"column",0)};if(x.source=this._findSourceIndex(x.source),x.source<0)return[];var v=[],y=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(y>=0){var T=this._originalMappings[y];if(g.column===void 0)for(var E=T.originalLine;T&&T.originalLine===E;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y];else for(var C=T.originalColumn;T&&T.originalLine===b&&T.originalColumn==C;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y]}return v},ei.SourceMapConsumer=a;function o(m,g){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sources"),y=t.getArg(b,"names",[]),T=t.getArg(b,"sourceRoot",null),E=t.getArg(b,"sourcesContent",null),C=t.getArg(b,"mappings"),N=t.getArg(b,"file",null);if(x!=this._version)throw new Error("Unsupported version: "+x);T&&(T=t.normalize(T)),v=v.map(String).map(t.normalize).map(function(A){return T&&t.isAbsolute(T)&&t.isAbsolute(A)?t.relative(T,A):A}),this._names=r.fromArray(y.map(String),!0),this._sources=r.fromArray(v,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(T,A,g)}),this.sourceRoot=T,this.sourcesContent=E,this._mappings=C,this._sourceMapURL=g,this.file=N}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(m){var g=m;if(this.sourceRoot!=null&&(g=t.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var b;for(b=0;b<this._absoluteSources.length;++b)if(this._absoluteSources[b]==m)return b;return-1},o.fromSourceMap=function(g,b){var x=Object.create(o.prototype),v=x._names=r.fromArray(g._names.toArray(),!0),y=x._sources=r.fromArray(g._sources.toArray(),!0);x.sourceRoot=g._sourceRoot,x.sourcesContent=g._generateSourcesContent(x._sources.toArray(),x.sourceRoot),x.file=g._file,x._sourceMapURL=b,x._absoluteSources=x._sources.toArray().map(function(w){return t.computeSourceURL(x.sourceRoot,w,b)});for(var T=g._mappings.toArray().slice(),E=x.__generatedMappings=[],C=x.__originalMappings=[],N=0,A=T.length;N<A;N++){var L=T[N],R=new h;R.generatedLine=L.generatedLine,R.generatedColumn=L.generatedColumn,L.source&&(R.source=y.indexOf(L.source),R.originalLine=L.originalLine,R.originalColumn=L.originalColumn,L.name&&(R.name=v.indexOf(L.name)),C.push(R)),E.push(R)}return n(x.__originalMappings,t.compareByOriginalPositions),x},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const c=t.compareByGeneratedPositionsDeflatedNoLine;function d(m,g){let b=m.length,x=m.length-g;if(!(x<=1))if(x==2){let v=m[g],y=m[g+1];c(v,y)>0&&(m[g]=y,m[g+1]=v)}else if(x<20)for(let v=g;v<b;v++)for(let y=v;y>g;y--){let T=m[y-1],E=m[y];if(c(T,E)<=0)break;m[y-1]=E,m[y]=T}else n(m,c,g)}o.prototype._parseMappings=function(g,b){var x=1,v=0,y=0,T=0,E=0,C=0,N=g.length,A=0,L={},R=[],w=[],I,k,M,z;let X=0;for(;A<N;)if(g.charAt(A)===";")x++,A++,v=0,d(w,X),X=w.length;else if(g.charAt(A)===",")A++;else{for(I=new h,I.generatedLine=x,M=A;M<N&&!this._charIsMappingSeparator(g,M);M++);for(g.slice(A,M),k=[];A<M;)i.decode(g,A,L),z=L.value,A=L.rest,k.push(z);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=v+k[0],v=I.generatedColumn,k.length>1&&(I.source=E+k[1],E+=k[1],I.originalLine=y+k[2],y=I.originalLine,I.originalLine+=1,I.originalColumn=T+k[3],T=I.originalColumn,k.length>4&&(I.name=C+k[4],C+=k[4])),w.push(I),typeof I.originalLine=="number"){let $=I.source;for(;R.length<=$;)R.push(null);R[$]===null&&(R[$]=[]),R[$].push(I)}}d(w,X),this.__generatedMappings=w;for(var Z=0;Z<R.length;Z++)R[Z]!=null&&n(R[Z],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...R)},o.prototype._findMapping=function(g,b,x,v,y,T){if(g[x]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[x]);if(g[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[v]);return e.search(g,b,y,T)},o.prototype.computeColumnSpans=function(){for(var g=0;g<this._generatedMappings.length;++g){var b=this._generatedMappings[g];if(g+1<this._generatedMappings.length){var x=this._generatedMappings[g+1];if(b.generatedLine===x.generatedLine){b.lastGeneratedColumn=x.generatedColumn-1;continue}}b.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(g){var b={generatedLine:t.getArg(g,"line"),generatedColumn:t.getArg(g,"column")},x=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(x>=0){var v=this._generatedMappings[x];if(v.generatedLine===b.generatedLine){var y=t.getArg(v,"source",null);y!==null&&(y=this._sources.at(y),y=t.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var T=t.getArg(v,"name",null);return T!==null&&(T=this._names.at(T)),{source:y,line:t.getArg(v,"originalLine",null),column:t.getArg(v,"originalColumn",null),name:T}}}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(g){return g==null}):!1},o.prototype.sourceContentFor=function(g,b){if(!this.sourcesContent)return null;var x=this._findSourceIndex(g);if(x>=0)return this.sourcesContent[x];var v=g;this.sourceRoot!=null&&(v=t.relative(this.sourceRoot,v));var y;if(this.sourceRoot!=null&&(y=t.urlParse(this.sourceRoot))){var T=v.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!y.path||y.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(b)return null;throw new Error('"'+v+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(g){var b=t.getArg(g,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var x={source:b,originalLine:t.getArg(g,"line"),originalColumn:t.getArg(g,"column")},v=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(v>=0){var y=this._originalMappings[v];if(y.source===x.source)return{line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ei.BasicSourceMapConsumer=o;function f(m,g){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sections");if(x!=this._version)throw new Error("Unsupported version: "+x);this._sources=new r,this._names=new r;var y={line:-1,column:0};this._sections=v.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var E=t.getArg(T,"offset"),C=t.getArg(E,"line"),N=t.getArg(E,"column");if(C<y.line||C===y.line&&N<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=E,{generatedOffset:{generatedLine:C+1,generatedColumn:N+1},consumer:new a(t.getArg(T,"map"),g)}})}return f.prototype=Object.create(a.prototype),f.prototype.constructor=a,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var m=[],g=0;g<this._sections.length;g++)for(var b=0;b<this._sections[g].consumer.sources.length;b++)m.push(this._sections[g].consumer.sources[b]);return m}}),f.prototype.originalPositionFor=function(g){var b={generatedLine:t.getArg(g,"line"),generatedColumn:t.getArg(g,"column")},x=e.search(b,this._sections,function(y,T){var E=y.generatedLine-T.generatedOffset.generatedLine;return E||y.generatedColumn-T.generatedOffset.generatedColumn}),v=this._sections[x];return v?v.consumer.originalPositionFor({line:b.generatedLine-(v.generatedOffset.generatedLine-1),column:b.generatedColumn-(v.generatedOffset.generatedLine===b.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:g.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(g){return g.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(g,b){for(var x=0;x<this._sections.length;x++){var v=this._sections[x],y=v.consumer.sourceContentFor(g,!0);if(y||y==="")return y}if(b)return null;throw new Error('"'+g+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(g){for(var b=0;b<this._sections.length;b++){var x=this._sections[b];if(x.consumer._findSourceIndex(t.getArg(g,"source"))!==-1){var v=x.consumer.generatedPositionFor(g);if(v){var y={line:v.line+(x.generatedOffset.generatedLine-1),column:v.column+(x.generatedOffset.generatedLine===v.line?x.generatedOffset.generatedColumn-1:0)};return y}}}return{line:null,column:null}},f.prototype._parseMappings=function(g,b){this.__generatedMappings=[],this.__originalMappings=[];for(var x=0;x<this._sections.length;x++)for(var v=this._sections[x],y=v.consumer._generatedMappings,T=0;T<y.length;T++){var E=y[T],C=v.consumer._sources.at(E.source);C!==null&&(C=t.computeSourceURL(v.consumer.sourceRoot,C,this._sourceMapURL)),this._sources.add(C),C=this._sources.indexOf(C);var N=null;E.name&&(N=v.consumer._names.at(E.name),this._names.add(N),N=this._names.indexOf(N));var A={source:C,generatedLine:E.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(v.generatedOffset.generatedLine===E.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:N};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},ei.IndexedSourceMapConsumer=f,ei}var ll={},Qd;function _x(){if(Qd)return ll;Qd=1;var t=Xd().SourceMapGenerator,e=Zs(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function a(o,h,c,d,f){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=h==null?null:h,this.source=c==null?null:c,this.name=f==null?null:f,this[n]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(h,c,d){var f=new a,m=h.split(r),g=0,b=function(){var E=N(),C=N()||"";return E+C;function N(){return g<m.length?m[g++]:void 0}},x=1,v=0,y=null;return c.eachMapping(function(E){if(y!==null)if(x<E.generatedLine)T(y,b()),x++,v=0;else{var C=m[g]||"",N=C.substr(0,E.generatedColumn-v);m[g]=C.substr(E.generatedColumn-v),v=E.generatedColumn,T(y,N),y=E;return}for(;x<E.generatedLine;)f.add(b()),x++;if(v<E.generatedColumn){var C=m[g]||"";f.add(C.substr(0,E.generatedColumn)),m[g]=C.substr(E.generatedColumn),v=E.generatedColumn}y=E},this),g<m.length&&(y&&T(y,b()),f.add(m.splice(g).join(""))),c.sources.forEach(function(E){var C=c.sourceContentFor(E);C!=null&&(d!=null&&(E=e.join(d,E)),f.setSourceContent(E,C))}),f;function T(E,C){if(E===null||E.source===void 0)f.add(C);else{var N=d?e.join(d,E.source):E.source;f.add(new a(E.originalLine,E.originalColumn,N,C,E.name))}}},a.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(c){this.add(c)},this);else if(h[n]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.prepend=function(h){if(Array.isArray(h))for(var c=h.length-1;c>=0;c--)this.prepend(h[c]);else if(h[n]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.walk=function(h){for(var c,d=0,f=this.children.length;d<f;d++)c=this.children[d],c[n]?c.walk(h):c!==""&&h(c,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(h){var c,d,f=this.children.length;if(f>0){for(c=[],d=0;d<f-1;d++)c.push(this.children[d]),c.push(h);c.push(this.children[d]),this.children=c}return this},a.prototype.replaceRight=function(h,c){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(h,c):typeof d=="string"?this.children[this.children.length-1]=d.replace(h,c):this.children.push("".replace(h,c)),this},a.prototype.setSourceContent=function(h,c){this.sourceContents[e.toSetString(h)]=c},a.prototype.walkSourceContents=function(h){for(var c=0,d=this.children.length;c<d;c++)this.children[c][n]&&this.children[c].walkSourceContents(h);for(var f=Object.keys(this.sourceContents),c=0,d=f.length;c<d;c++)h(e.fromSetString(f[c]),this.sourceContents[f[c]])},a.prototype.toString=function(){var h="";return this.walk(function(c){h+=c}),h},a.prototype.toStringWithSourceMap=function(h){var c={code:"",line:1,column:0},d=new t(h),f=!1,m=null,g=null,b=null,x=null;return this.walk(function(v,y){c.code+=v,y.source!==null&&y.line!==null&&y.column!==null?((m!==y.source||g!==y.line||b!==y.column||x!==y.name)&&d.addMapping({source:y.source,original:{line:y.line,column:y.column},generated:{line:c.line,column:c.column},name:y.name}),m=y.source,g=y.line,b=y.column,x=y.name,f=!0):f&&(d.addMapping({generated:{line:c.line,column:c.column}}),m=null,f=!1);for(var T=0,E=v.length;T<E;T++)v.charCodeAt(T)===i?(c.line++,c.column=0,T+1===E?(m=null,f=!1):f&&d.addMapping({source:y.source,original:{line:y.line,column:y.column},generated:{line:c.line,column:c.column},name:y.name})):c.column++}),this.walkSourceContents(function(v,y){d.setSourceContent(v,y)}),{code:c.code,map:d}},ll.SourceNode=a,ll}var Zd;function cl(){return Zd||(Zd=1,Qs.SourceMapGenerator=Xd().SourceMapGenerator,Qs.SourceMapConsumer=Tx().SourceMapConsumer,Qs.SourceNode=_x().SourceNode),Qs}var e0=qi(QS),hl,t0;function r0(){if(t0)return hl;t0=1;let{existsSync:t,readFileSync:e}=lx,{dirname:r,join:i}=Uu,{SourceMapConsumer:n,SourceMapGenerator:a}=cl();function o(c){return H?H.from(c,"base64").toString():window.atob(c)}class h{constructor(d,f){if(f.map===!1)return;this.loadAnnotation(d),this.inline=this.startWith(this.annotation,"data:");let m=f.map?f.map.prev:void 0,g=this.loadMap(f.from,m);!this.mapFile&&f.from&&(this.mapFile=f.from),this.mapFile&&(this.root=r(this.mapFile)),g&&(this.text=g)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}decodeInline(d){let f=/^data:application\/json;charset=utf-?8;base64,/,m=/^data:application\/json;base64,/,g=/^data:application\/json;charset=utf-?8,/,b=/^data:application\/json,/,x=d.match(g)||d.match(b);if(x)return decodeURIComponent(d.substr(x[0].length));let v=d.match(f)||d.match(m);if(v)return o(d.substr(v[0].length));let y=d.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+y)}getAnnotationURL(d){return d.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(d){return typeof d!="object"?!1:typeof d.mappings=="string"||typeof d._mappings=="string"||Array.isArray(d.sections)}loadAnnotation(d){let f=d.match(/\/\*\s*# sourceMappingURL=/g);if(!f)return;let m=d.lastIndexOf(f.pop()),g=d.indexOf("*/",m);m>-1&&g>-1&&(this.annotation=this.getAnnotationURL(d.substring(m,g)))}loadFile(d){if(this.root=r(d),t(d))return this.mapFile=d,e(d,"utf-8").toString().trim()}loadMap(d,f){if(f===!1)return!1;if(f){if(typeof f=="string")return f;if(typeof f=="function"){let m=f(d);if(m){let g=this.loadFile(m);if(!g)throw new Error("Unable to load previous source map: "+m.toString());return g}}else{if(f instanceof n)return a.fromSourceMap(f).toString();if(f instanceof a)return f.toString();if(this.isMap(f))return JSON.stringify(f);throw new Error("Unsupported previous source map format: "+f.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let m=this.annotation;return d&&(m=i(r(d),m)),this.loadFile(m)}}}startWith(d,f){return d?d.substr(0,f.length)===f:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return hl=h,h.default=h,hl}var fl,s0;function zn(){if(s0)return fl;s0=1;let{nanoid:t}=vx(),{isAbsolute:e,resolve:r}=Uu,{SourceMapConsumer:i,SourceMapGenerator:n}=cl(),{fileURLToPath:a,pathToFileURL:o}=e0,h=Gu(),c=r0(),d=Ad(),f=Symbol("fromOffsetCache"),m=!!(i&&n),g=!!(r&&e);class b{constructor(v,y={}){if(v===null||typeof v=="undefined"||typeof v=="object"&&!v.toString)throw new Error(`PostCSS received ${v} instead of CSS string`);if(this.css=v.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!g||/^\w+:\/\//.test(y.from)||e(y.from)?this.file=y.from:this.file=r(y.from)),g&&m){let T=new c(this.css,y);if(T.text){this.map=T;let E=T.consumer().file;!this.file&&E&&(this.file=this.mapResolve(E))}}this.file||(this.id="<input css "+t(6)+">"),this.map&&(this.map.file=this.from)}error(v,y,T,E={}){let C,N,A;if(y&&typeof y=="object"){let R=y,w=T;if(typeof R.offset=="number"){let I=this.fromOffset(R.offset);y=I.line,T=I.col}else y=R.line,T=R.column;if(typeof w.offset=="number"){let I=this.fromOffset(w.offset);N=I.line,C=I.col}else N=w.line,C=w.column}else if(!T){let R=this.fromOffset(y);y=R.line,T=R.col}let L=this.origin(y,T,N,C);return L?A=new h(v,L.endLine===void 0?L.line:{column:L.column,line:L.line},L.endLine===void 0?L.column:{column:L.endColumn,line:L.endLine},L.source,L.file,E.plugin):A=new h(v,N===void 0?y:{column:T,line:y},N===void 0?T:{column:C,line:N},this.css,this.file,E.plugin),A.input={column:T,endColumn:C,endLine:N,line:y,source:this.css},this.file&&(o&&(A.input.url=o(this.file).toString()),A.input.file=this.file),A}fromOffset(v){let y,T;if(this[f])T=this[f];else{let C=this.css.split(`
|
|
94
|
-
`);T=new Array(C.length);let N=0;for(let A=0,L=C.length;A<L;A++)T[A]=N,N+=C[A].length+1;this[f]=T}y=T[T.length-1];let E=0;if(v>=y)E=T.length-1;else{let C=T.length-2,N;for(;E<C;)if(N=E+(C-E>>1),v<T[N])C=N-1;else if(v>=T[N+1])E=N+1;else{E=N;break}}return{col:v-T[E]+1,line:E+1}}mapResolve(v){return/^\w+:\/\//.test(v)?v:r(this.map.consumer().sourceRoot||this.map.root||".",v)}origin(v,y,T,E){if(!this.map)return!1;let C=this.map.consumer(),N=C.originalPositionFor({column:y,line:v});if(!N.source)return!1;let A;typeof T=="number"&&(A=C.originalPositionFor({column:E,line:T}));let L;e(N.source)?L=o(N.source):L=new URL(N.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let R={column:N.column,endColumn:A&&A.column,endLine:A&&A.line,line:N.line,url:L.toString()};if(L.protocol==="file:")if(a)R.file=a(L);else throw new Error("file: protocol is not available in this PostCSS build");let w=C.sourceContentFor(N.source);return w&&(R.source=w),R}toJSON(){let v={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(v[y]=this[y]);return this.map&&(v.map=Wt({},this.map),v.map.consumerCache&&(v.map.consumerCache=void 0)),v}get from(){return this.file||this.id}}return fl=b,b.default=b,d&&d.registerInput&&d.registerInput(b),fl}var pl,i0;function ti(){if(i0)return pl;i0=1;let t=Fr(),e,r;class i extends t{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,o,h){let c=super.normalize(a);if(o){if(h==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let d of c)d.raws.before=o.raws.before}return c}removeChild(a,o){let h=this.index(a);return!o&&h===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[h].raws.before),super.removeChild(a)}toResult(a={}){return new e(new r,this,a).stringify()}}return i.registerLazyResult=n=>{e=n},i.registerProcessor=n=>{r=n},pl=i,i.default=i,t.registerRoot(i),pl}var dl,n0;function a0(){if(n0)return dl;n0=1;let t={comma(e){return t.split(e,[","],!0)},space(e){let r=[" ",`
|
|
95
|
-
|
|
75
|
+
`,beforeOpen:` `,beforeRule:`
|
|
76
|
+
`,colon:`: `,commentLeft:` `,commentRight:` `,emptyBody:``,indent:` `,semicolon:!1};function t(e){return e[0].toUpperCase()+e.slice(1)}class n{constructor(e){this.builder=e}atrule(e,t){let n=`@`+e.name,r=e.params?this.rawValue(e,`params`):``;if(e.raws.afterName===void 0?r&&(n+=` `):n+=e.raws.afterName,e.nodes)this.block(e,n+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(`
|
|
77
|
+
`)){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 n=this.raw(e,`between`,`beforeOpen`);this.builder(t+n+`{`,e,`start`);let r;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,`after`)):r=this.raw(e,`after`,`emptyBody`),r&&this.builder(r),this.builder(`}`,e,`end`)}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type===`comment`;)--t;let n=this.raw(e,`semicolon`);for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],a=this.raw(i,`before`);a&&this.builder(a),this.stringify(i,t!==r||n)}}comment(e){let t=this.raw(e,`left`,`commentLeft`),n=this.raw(e,`right`,`commentRight`);this.builder(`/*`+t+e.text+n+`*/`,e)}decl(e,t){let n=this.raw(e,`between`,`colon`),r=e.prop+n+this.rawValue(e,`value`);e.important&&(r+=e.raws.important||` !important`),t&&(r+=`;`),this.builder(r,e)}document(e){this.body(e)}raw(n,r,i){let a;if(i||(i=r),r&&(a=n.raws[r],a!==void 0))return a;let o=n.parent;if(i===`before`&&(!o||o.type===`root`&&o.first===n||o&&o.type===`document`))return``;if(!o)return e[i];let s=n.root();if(s.rawCache||(s.rawCache={}),s.rawCache[i]!==void 0)return s.rawCache[i];if(i===`before`||i===`after`)return this.beforeAfter(n,i);{let e=`raw`+t(i);this[e]?a=this[e](s,n):s.walk(e=>{if(a=e.raws[r],a!==void 0)return!1})}return a===void 0&&(a=e[i]),s.rawCache[i]=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(`
|
|
78
|
+
`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&(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(`
|
|
79
|
+
`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeDecl`):n&&(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(`
|
|
80
|
+
`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeRule`):n&&(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(`
|
|
81
|
+
`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&(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(`
|
|
82
|
+
`);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){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(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 Kh=n,n.default=n,Kh}var Yh,Xh;function Zh(){if(Xh)return Yh;Xh=1;let e=Jh();function t(t,n){new e(n).stringify(t)}return Yh=t,t.default=t,Yh}var Qh={},$h;function eg(){return $h?Qh:($h=1,Qh.isClean=Symbol(`isClean`),Qh.my=Symbol(`my`),Qh)}var tg,ng;function rg(){if(ng)return tg;ng=1;let e=Gh(),t=Jh(),n=Zh(),{isClean:r,my:i}=eg();function a(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r===`proxyCache`)continue;let i=e[r],o=typeof i;r===`parent`&&o===`object`?t&&(n[r]=t):r===`source`?n[r]=i:Array.isArray(i)?n[r]=i.map(e=>a(e,n)):(o===`object`&&i!==null&&(i=a(i)),n[r]=i)}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]===`
|
|
83
|
+
`?(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 in e)if(t===`nodes`){this.nodes=[];for(let n of e[t])typeof n.clone==`function`?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=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=`document`in this.source.input?this.source.input.document:this.source.input.css,r=n.slice(o(n,this.source.start),o(n,this.source.end)).indexOf(e.word);r!==-1&&(t=this.positionInside(r))}return t}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]===`
|
|
84
|
+
`?(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)}:e.index&&(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):e.index&&(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={},r=t==null;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||e===`parent`||e===`proxyCache`)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map(e=>typeof e==`object`&&e.toJSON?e.toJSON(null,t):e);else if(typeof r==`object`&&r.toJSON)n[e]=r.toJSON(null,t);else if(e===`source`){if(r==null)continue;let a=t.get(r.input);a==null&&(a=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:a,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map(e=>e.toJSON())),n}toProxy(){return this.proxyCache||(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 tg=s,s.default=s,tg}var ig,ag;function og(){if(ag)return ig;ag=1;let e=rg();class t extends e{constructor(e){super(e),this.type=`comment`}}return ig=t,t.default=t,ig}var sg,cg;function lg(){if(cg)return sg;cg=1;let e=rg();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=a(a({},e),{},{value:String(e.value)})),super(e),this.type=`decl`}}return sg=t,t.default=t,sg}var ug,dg;function fg(){if(dg)return ug;dg=1;let e=og(),t=lg(),n=rg(),{isClean:r,my:i}=eg(),a,o,s,c;function l(e){return e.map(e=>(e.nodes&&(e.nodes=l(e.nodes)),delete e.source,e))}function u(e){if(e[r]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)u(t)}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){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(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||(this.lastEach=0),this.indexes||(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`:!1,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={}),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){return this.each((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return r!==!1&&t.walk&&(r=t.walk(e)),r})}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},ug=d,d.default=d,d.rebuild=n=>{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&&n.nodes.forEach(e=>{d.rebuild(e)})},ug}var pg,mg;function hg(){if(mg)return pg;mg=1;let e=fg();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 pg=t,t.default=t,e.registerAtRule(t),pg}var gg,_g;function vg(){if(_g)return gg;_g=1;let e=fg(),t,n;class r extends e{constructor(e){super(a({type:`document`},e)),this.nodes||(this.nodes=[])}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,gg}var yg,bg;function xg(){return bg?yg:(bg=1,yg={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}},yg)}var Sg=Jr(Xf),Cg,wg;function Tg(){if(wg)return Cg;wg=1;let{existsSync:e,readFileSync:t}=mh,{dirname:n,join:r}=hh,{SourceMapConsumer:i,SourceMapGenerator:a}=Po();function o(e){return U?U.from(e,`base64`).toString():window.atob(e)}class s{constructor(e,t){if(t.map===!1)return;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||(this.consumerCache=new i(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 o(e.substr(i[0].length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw 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(r){if(this.root=n(r),e(r))return this.mapFile=r,t(r,`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 e=this.loadFile(n);if(!e)throw Error(`Unable to load previous source map: `+n.toString());return e}}else if(t instanceof i)return a.fromSourceMap(t).toString();else if(t instanceof a)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;return e&&(t=r(n(e),t)),this.loadFile(t)}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Cg=s,s.default=s,Cg}var Eg,Dg;function Og(){if(Dg)return Eg;Dg=1;let{nanoid:e}=xg(),{isAbsolute:t,resolve:n}=hh,{SourceMapConsumer:r,SourceMapGenerator:i}=Po(),{fileURLToPath:o,pathToFileURL:s}=Sg,c=Gh(),l=Tg(),u=Hh(),d=Symbol(`lineToIndexCache`),f=!!(r&&i),p=!!(n&&t);function m(e){if(e[d])return e[d];let t=e.css.split(`
|
|
85
|
+
`),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[d]=n,n}class h{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&&(!p||/^\w+:\/\//.test(i.from)||t(i.from)?this.file=i.from:this.file=n(i.from)),p&&f){let e=new l(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,o,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`){o=r.offset;let e=this.fromOffset(o);a=e.line,i=e.col}else a=r.line,i=r.column,o=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 c(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 c(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:o,line:t,offset:l,source:this.css},this.file&&(s&&(u.input.url=s(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(e,t){return m(this)[e-1]+t-1}fromOffset(e){let t=m(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 a=this.map.consumer(),c=a.originalPositionFor({column:n,line:e});if(!c.source)return!1;let l;typeof r==`number`&&(l=a.originalPositionFor({column:i,line:r}));let u;u=t(c.source)?s(c.source):new URL(c.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let d={column:c.column,endColumn:l&&l.column,endLine:l&&l.line,line:c.line,url:u.toString()};if(u.protocol===`file:`)if(o)d.file=o(u);else throw Error(`file: protocol is not available in this PostCSS build`);let f=a.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=a({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return Eg=h,h.default=h,u&&u.registerInput&&u.registerInput(h),Eg}var kg,Ag;function jg(){if(Ag)return kg;Ag=1;let e=fg(),t,n;class r extends e{constructor(e){super(e),this.type=`root`,this.nodes||(this.nodes=[])}normalize(e,t,n){let r=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 r)e.raws.before=t.raws.before}return r}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},kg=r,r.default=r,e.registerRoot(r),kg}var Mg,Ng;function Pg(){if(Ng)return Mg;Ng=1;let e={comma(t){return e.split(t,[`,`],!0)},space(t){return e.split(t,[` `,`
|
|
86
|
+
`,` `])},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 Mg=e,e.default=e,Mg}var Fg,Ig;function Lg(){if(Ig)return Fg;Ig=1;let e=fg(),t=Pg();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||(this.nodes=[])}}return Fg=n,n.default=n,e.registerRule(n),Fg}var Rg,zg;function Bg(){if(zg)return Rg;zg=1;let e=hg(),t=og(),n=lg(),r=Og(),i=Tg(),o=jg(),c=Lg();function l(f,p){if(Array.isArray(f))return f.map(e=>l(e));let{inputs:m}=f,h=s(f,u);if(m){p=[];for(let e of m){let t=a(a({},e),{},{__proto__:r.prototype});t.map&&(t.map=a(a({},t.map),{},{__proto__:i.prototype})),p.push(t)}}if(h.nodes&&(h.nodes=f.nodes.map(e=>l(e,p))),h.source){let e=h.source,{inputId:t}=e;h.source=s(e,d),t!=null&&(h.source.input=p[t])}if(h.type===`root`)return new o(h);if(h.type===`decl`)return new n(h);if(h.type===`rule`)return new c(h);if(h.type===`comment`)return new t(h);if(h.type===`atrule`)return new e(h);throw Error(`Unknown node type: `+f.type)}return Rg=l,l.default=l,Rg}var Vg,Hg;function Ug(){if(Hg)return Vg;Hg=1;let{dirname:e,relative:t,resolve:n,sep:r}=hh,{SourceMapConsumer:i,SourceMapGenerator:a}=Po(),{pathToFileURL:o}=Sg,s=Og(),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=`
|
|
96
87
|
`;this.css.includes(`\r
|
|
97
|
-
`)&&(
|
|
98
|
-
`),this.css+=
|
|
99
|
-
`),b=E.length-y):b+=E.length,C&&N!=="start"){let A=C.parent||{raws:{}};(!(C.type==="decl"||C.type==="atrule"&&!C.nodes)||C!==A.last||A.raws.semicolon)&&(C.source&&C.source.end?(v.source=this.sourcePath(C),v.original.line=C.source.end.line,v.original.column=C.source.end.column-1,v.generated.line=g,v.generated.column=b-2,this.map.addMapping(v)):(v.source=x,v.original.line=1,v.original.column=0,v.generated.line=g,v.generated.column=b-1,this.map.addMapping(v)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(g=>g.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let g=this.mapOpts.annotation;return typeof g!="undefined"&&g!==!0?!1:this.previous().length?this.previous().some(b=>b.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(g=>g.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(g){if(this.mapOpts.absolute||g.charCodeAt(0)===60||/^\w+:\/\//.test(g))return g;let b=this.memoizedPaths.get(g);if(b)return b;let x=this.opts.to?t(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(x=t(r(x,this.mapOpts.annotation)));let v=e(x,g);return this.memoizedPaths.set(g,v),v}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(g=>{if(g.source&&g.source.input.map){let b=g.source.input.map;this.previousMaps.includes(b)||this.previousMaps.push(b)}});else{let g=new h(this.originalCSS,this.opts);g.map&&this.previousMaps.push(g.map)}return this.previousMaps}setSourcesContent(){let g={};if(this.root)this.root.walk(b=>{if(b.source){let x=b.source.input.from;if(x&&!g[x]){g[x]=!0;let v=this.usesFileUrls?this.toFileUrl(x):this.toUrl(this.path(x));this.map.setSourceContent(v,b.source.input.css)}}});else if(this.css){let b=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(b,this.css)}}sourcePath(g){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(g.source.input.from):this.toUrl(this.path(g.source.input.from))}toBase64(g){return H?H.from(g).toString("base64"):window.btoa(unescape(encodeURIComponent(g)))}toFileUrl(g){let b=this.memoizedFileURLs.get(g);if(b)return b;if(o){let x=o(g).toString();return this.memoizedFileURLs.set(g,x),x}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(g){let b=this.memoizedURLs.get(g);if(b)return b;i==="\\"&&(g=g.replace(/\\/g,"/"));let x=encodeURI(g).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(g,x),x}}return bl=f,bl}var vl,h0;function Ax(){if(h0)return vl;h0=1;let t=Zu(),e=qn(),r=jn(),i=ti(),n=gl(),a=_d();const o={empty:!0,space:!0};function h(d){for(let f=d.length-1;f>=0;f--){let m=d[f],g=m[3]||m[2];if(g)return g}}class c{constructor(f){this.input=f,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:f,start:{column:1,line:1,offset:0}}}atrule(f){let m=new t;m.name=f[1].slice(1),m.name===""&&this.unnamedAtrule(m,f),this.init(m,f[2]);let g,b,x,v=!1,y=!1,T=[],E=[];for(;!this.tokenizer.endOfFile();){if(f=this.tokenizer.nextToken(),g=f[0],g==="("||g==="["?E.push(g==="("?")":"]"):g==="{"&&E.length>0?E.push("}"):g===E[E.length-1]&&E.pop(),E.length===0)if(g===";"){m.source.end=this.getPosition(f[2]),m.source.end.offset++,this.semicolon=!0;break}else if(g==="{"){y=!0;break}else if(g==="}"){if(T.length>0){for(x=T.length-1,b=T[x];b&&b[0]==="space";)b=T[--x];b&&(m.source.end=this.getPosition(b[3]||b[2]),m.source.end.offset++)}this.end(f);break}else T.push(f);else T.push(f);if(this.tokenizer.endOfFile()){v=!0;break}}m.raws.between=this.spacesAndCommentsFromEnd(T),T.length?(m.raws.afterName=this.spacesAndCommentsFromStart(T),this.raw(m,"params",T),v&&(f=T[T.length-1],m.source.end=this.getPosition(f[3]||f[2]),m.source.end.offset++,this.spaces=m.raws.between,m.raws.between="")):(m.raws.afterName="",m.params=""),y&&(m.nodes=[],this.current=m)}checkMissedSemicolon(f){let m=this.colon(f);if(m===!1)return;let g=0,b;for(let x=m-1;x>=0&&(b=f[x],!(b[0]!=="space"&&(g+=1,g===2)));x--);throw this.input.error("Missed semicolon",b[0]==="word"?b[3]+1:b[2])}colon(f){let m=0,g,b,x;for(let[v,y]of f.entries()){if(b=y,x=b[0],x==="("&&(m+=1),x===")"&&(m-=1),m===0&&x===":")if(!g)this.doubleColon(b);else{if(g[0]==="word"&&g[1]==="progid")continue;return v}g=b}return!1}comment(f){let m=new e;this.init(m,f[2]),m.source.end=this.getPosition(f[3]||f[2]),m.source.end.offset++;let g=f[1].slice(2,-2);if(/^\s*$/.test(g))m.text="",m.raws.left=g,m.raws.right="";else{let b=g.match(/^(\s*)([^]*\S)(\s*)$/);m.text=b[2],m.raws.left=b[1],m.raws.right=b[3]}}createTokenizer(){this.tokenizer=a(this.input)}decl(f,m){let g=new r;this.init(g,f[0][2]);let b=f[f.length-1];for(b[0]===";"&&(this.semicolon=!0,f.pop()),g.source.end=this.getPosition(b[3]||b[2]||h(f)),g.source.end.offset++;f[0][0]!=="word";)f.length===1&&this.unknownWord(f),g.raws.before+=f.shift()[1];for(g.source.start=this.getPosition(f[0][2]),g.prop="";f.length;){let E=f[0][0];if(E===":"||E==="space"||E==="comment")break;g.prop+=f.shift()[1]}g.raws.between="";let x;for(;f.length;)if(x=f.shift(),x[0]===":"){g.raws.between+=x[1];break}else x[0]==="word"&&/\w/.test(x[1])&&this.unknownWord([x]),g.raws.between+=x[1];(g.prop[0]==="_"||g.prop[0]==="*")&&(g.raws.before+=g.prop[0],g.prop=g.prop.slice(1));let v=[],y;for(;f.length&&(y=f[0][0],!(y!=="space"&&y!=="comment"));)v.push(f.shift());this.precheckMissedSemicolon(f);for(let E=f.length-1;E>=0;E--){if(x=f[E],x[1].toLowerCase()==="!important"){g.important=!0;let C=this.stringFrom(f,E);C=this.spacesFromEnd(f)+C,C!==" !important"&&(g.raws.important=C);break}else if(x[1].toLowerCase()==="important"){let C=f.slice(0),N="";for(let A=E;A>0;A--){let L=C[A][0];if(N.trim().startsWith("!")&&L!=="space")break;N=C.pop()[1]+N}N.trim().startsWith("!")&&(g.important=!0,g.raws.important=N,f=C)}if(x[0]!=="space"&&x[0]!=="comment")break}f.some(E=>E[0]!=="space"&&E[0]!=="comment")&&(g.raws.between+=v.map(E=>E[1]).join(""),v=[]),this.raw(g,"value",v.concat(f),m),g.value.includes(":")&&!m&&this.checkMissedSemicolon(f)}doubleColon(f){throw this.input.error("Double colon",{offset:f[2]},{offset:f[2]+f[1].length})}emptyRule(f){let m=new n;this.init(m,f[2]),m.selector="",m.raws.between="",this.current=m}end(f){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(f[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(f)}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(f){if(this.spaces+=f[1],this.current.nodes){let m=this.current.nodes[this.current.nodes.length-1];m&&m.type==="rule"&&!m.raws.ownSemicolon&&(m.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(f){let m=this.input.fromOffset(f);return{column:m.col,line:m.line,offset:f}}init(f,m){this.current.push(f),f.source={input:this.input,start:this.getPosition(m)},f.raws.before=this.spaces,this.spaces="",f.type!=="comment"&&(this.semicolon=!1)}other(f){let m=!1,g=null,b=!1,x=null,v=[],y=f[1].startsWith("--"),T=[],E=f;for(;E;){if(g=E[0],T.push(E),g==="("||g==="[")x||(x=E),v.push(g==="("?")":"]");else if(y&&b&&g==="{")x||(x=E),v.push("}");else if(v.length===0)if(g===";")if(b){this.decl(T,y);return}else break;else if(g==="{"){this.rule(T);return}else if(g==="}"){this.tokenizer.back(T.pop()),m=!0;break}else g===":"&&(b=!0);else g===v[v.length-1]&&(v.pop(),v.length===0&&(x=null));E=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(m=!0),v.length>0&&this.unclosedBracket(x),m&&b){if(!y)for(;T.length&&(E=T[T.length-1][0],!(E!=="space"&&E!=="comment"));)this.tokenizer.back(T.pop());this.decl(T,y)}else this.unknownWord(T)}parse(){let f;for(;!this.tokenizer.endOfFile();)switch(f=this.tokenizer.nextToken(),f[0]){case"space":this.spaces+=f[1];break;case";":this.freeSemicolon(f);break;case"}":this.end(f);break;case"comment":this.comment(f);break;case"at-word":this.atrule(f);break;case"{":this.emptyRule(f);break;default:this.other(f);break}this.endFile()}precheckMissedSemicolon(){}raw(f,m,g,b){let x,v,y=g.length,T="",E=!0,C,N;for(let A=0;A<y;A+=1)x=g[A],v=x[0],v==="space"&&A===y-1&&!b?E=!1:v==="comment"?(N=g[A-1]?g[A-1][0]:"empty",C=g[A+1]?g[A+1][0]:"empty",!o[N]&&!o[C]?T.slice(-1)===","?E=!1:T+=x[1]:E=!1):T+=x[1];if(!E){let A=g.reduce((L,R)=>L+R[1],"");f.raws[m]={raw:A,value:T}}f[m]=T}rule(f){f.pop();let m=new n;this.init(m,f[0][2]),m.raws.between=this.spacesAndCommentsFromEnd(f),this.raw(m,"selector",f),this.current=m}spacesAndCommentsFromEnd(f){let m,g="";for(;f.length&&(m=f[f.length-1][0],!(m!=="space"&&m!=="comment"));)g=f.pop()[1]+g;return g}spacesAndCommentsFromStart(f){let m,g="";for(;f.length&&(m=f[0][0],!(m!=="space"&&m!=="comment"));)g+=f.shift()[1];return g}spacesFromEnd(f){let m,g="";for(;f.length&&(m=f[f.length-1][0],m==="space");)g=f.pop()[1]+g;return g}stringFrom(f,m){let g="";for(let b=m;b<f.length;b++)g+=f[b][1];return f.splice(m,f.length-m),g}unclosedBlock(){let f=this.current.source.start;throw this.input.error("Unclosed block",f.line,f.column)}unclosedBracket(f){throw this.input.error("Unclosed bracket",{offset:f[2]},{offset:f[2]+1})}unexpectedClose(f){throw this.input.error("Unexpected }",{offset:f[2]},{offset:f[2]+1})}unknownWord(f){throw this.input.error("Unknown word",{offset:f[0][2]},{offset:f[0][2]+f[0][1].length})}unnamedAtrule(f,m){throw this.input.error("At-rule without name",{offset:m[2]},{offset:m[2]+m[1].length})}}return vl=c,vl}var Sl,f0;function xl(){if(f0)return Sl;f0=1;let t=Fr(),e=zn(),r=Ax();function i(n,a){let o=new e(n,a),h=new r(o);try{h.parse()}catch(c){throw pt.env.NODE_ENV!=="production"&&c.name==="CssSyntaxError"&&a&&a.from&&(/\.scss$/i.test(a.from)?c.message+=`
|
|
100
|
-
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(a.from)?c.message+=`
|
|
101
|
-
You tried to parse
|
|
102
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),c}return h.root}return Sl=i,i.default=i,t.registerParse(i),Sl}var El,p0;function d0(){if(p0)return El;p0=1;class t{constructor(r,i={}){if(this.type="warning",this.text=r,i.node&&i.node.source){let n=i.node.rangeBy(i);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in i)this[n]=i[n]}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 El=t,t.default=t,El}var wl,m0;function Tl(){if(m0)return wl;m0=1;let t=d0();class e{constructor(i,n,a){this.processor=i,this.messages=[],this.root=n,this.opts=a,this.css=void 0,this.map=void 0}toString(){return this.css}warn(i,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let a=new t(i,n);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}get content(){return this.css}}return wl=e,e.default=e,wl}var _l,g0;function y0(){if(g0)return _l;g0=1;let t={};return _l=function(r){t[r]||(t[r]=!0)},_l}var Pl,b0;function v0(){if(b0)return Pl;b0=1;let t=Fr(),e=tl(),r=c0(),i=xl(),n=Tl(),a=ti(),o=Bn(),{isClean:h,my:c}=Hu(),d=y0();const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},m={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},g={Once:!0,postcssPlugin:!0,prepare:!0},b=0;function x(N){return typeof N=="object"&&typeof N.then=="function"}function v(N){let A=!1,L=f[N.type];return N.type==="decl"?A=N.prop.toLowerCase():N.type==="atrule"&&(A=N.name.toLowerCase()),A&&N.append?[L,L+"-"+A,b,L+"Exit",L+"Exit-"+A]:A?[L,L+"-"+A,L+"Exit",L+"Exit-"+A]:N.append?[L,b,L+"Exit"]:[L,L+"Exit"]}function y(N){let A;return N.type==="document"?A=["Document",b,"DocumentExit"]:N.type==="root"?A=["Root",b,"RootExit"]:A=v(N),{eventIndex:0,events:A,iterator:0,node:N,visitorIndex:0,visitors:[]}}function T(N){return N[h]=!1,N.nodes&&N.nodes.forEach(A=>T(A)),N}let E={};class C{constructor(A,L,R){this.stringified=!1,this.processed=!1;let w;if(typeof L=="object"&&L!==null&&(L.type==="root"||L.type==="document"))w=T(L);else if(L instanceof C||L instanceof n)w=T(L.root),L.map&&(typeof R.map=="undefined"&&(R.map={}),R.map.inline||(R.map.inline=!1),R.map.prev=L.map);else{let I=i;R.syntax&&(I=R.syntax.parse),R.parser&&(I=R.parser),I.parse&&(I=I.parse);try{w=I(L,R)}catch(k){this.processed=!0,this.error=k}w&&!w[c]&&t.rebuild(w)}this.result=new n(A,w,R),this.helpers=Ss(Wt({},E),{postcss:E,result:this.result}),this.plugins=this.processor.plugins.map(I=>typeof I=="object"&&I.prepare?Wt(Wt({},I),I.prepare(this.result)):I)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(A,L){let R=this.result.lastPlugin;try{if(L&&L.addToError(A),this.error=A,A.name==="CssSyntaxError"&&!A.plugin)A.plugin=R.postcssPlugin,A.setMessage();else if(R.postcssVersion&&pt.env.NODE_ENV!=="production"){let w=R.postcssPlugin,I=R.postcssVersion,k=this.result.processor.version,M=I.split("."),z=k.split(".");M[0]!==z[0]||parseInt(M[1])>parseInt(z[1])}}catch(w){}return A}prepareVisitors(){this.listeners={};let A=(L,R,w)=>{this.listeners[R]||(this.listeners[R]=[]),this.listeners[R].push([L,w])};for(let L of this.plugins)if(typeof L=="object")for(let R in L){if(!m[R]&&/^[A-Z]/.test(R))throw new Error(`Unknown event ${R} in ${L.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!g[R])if(typeof L[R]=="object")for(let w in L[R])w==="*"?A(L,R,L[R][w]):A(L,R+"-"+w.toLowerCase(),L[R][w]);else typeof L[R]=="function"&&A(L,R,L[R])}this.hasListener=Object.keys(this.listeners).length>0}runAsync(){return Oc(this,null,function*(){this.plugin=0;for(let A=0;A<this.plugins.length;A++){let L=this.plugins[A],R=this.runOnRoot(L);if(x(R))try{yield R}catch(w){throw this.handleError(w)}}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[h];){A[h]=!0;let L=[y(A)];for(;L.length>0;){let R=this.visitTick(L);if(x(R))try{yield R}catch(w){let I=L[L.length-1].node;throw this.handleError(w,I)}}}if(this.listeners.OnceExit)for(let[L,R]of this.listeners.OnceExit){this.result.lastPlugin=L;try{if(A.type==="document"){let w=A.nodes.map(I=>R(I,this.helpers));yield Promise.all(w)}else yield R(A,this.helpers)}catch(w){throw this.handleError(w)}}}return this.processed=!0,this.stringify()})}runOnRoot(A){this.result.lastPlugin=A;try{if(typeof A=="object"&&A.Once){if(this.result.root.type==="document"){let L=this.result.root.nodes.map(R=>A.Once(R,this.helpers));return x(L[0])?Promise.all(L):L}return A.Once(this.result.root,this.helpers)}else if(typeof A=="function")return A(this.result.root,this.result)}catch(L){throw this.handleError(L)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let A=this.result.opts,L=o;A.syntax&&(L=A.syntax.stringify),A.stringifier&&(L=A.stringifier),L.stringify&&(L=L.stringify);let w=new r(L,this.result.root,this.result.opts).generate();return this.result.css=w[0],this.result.map=w[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 A of this.plugins){let L=this.runOnRoot(A);if(x(L))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[h];)A[h]=!0,this.walkSync(A);if(this.listeners.OnceExit)if(A.type==="document")for(let L of A.nodes)this.visitSync(this.listeners.OnceExit,L);else this.visitSync(this.listeners.OnceExit,A)}return this.result}then(A,L){return pt.env.NODE_ENV!=="production"&&("from"in this.opts||d("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(A,L)}toString(){return this.css}visitSync(A,L){for(let[R,w]of A){this.result.lastPlugin=R;let I;try{I=w(L,this.helpers)}catch(k){throw this.handleError(k,L.proxyOf)}if(L.type!=="root"&&L.type!=="document"&&!L.parent)return!0;if(x(I))throw this.getAsyncError()}}visitTick(A){let L=A[A.length-1],{node:R,visitors:w}=L;if(R.type!=="root"&&R.type!=="document"&&!R.parent){A.pop();return}if(w.length>0&&L.visitorIndex<w.length){let[k,M]=w[L.visitorIndex];L.visitorIndex+=1,L.visitorIndex===w.length&&(L.visitors=[],L.visitorIndex=0),this.result.lastPlugin=k;try{return M(R.toProxy(),this.helpers)}catch(z){throw this.handleError(z,R)}}if(L.iterator!==0){let k=L.iterator,M;for(;M=R.nodes[R.indexes[k]];)if(R.indexes[k]+=1,!M[h]){M[h]=!0,A.push(y(M));return}L.iterator=0,delete R.indexes[k]}let I=L.events;for(;L.eventIndex<I.length;){let k=I[L.eventIndex];if(L.eventIndex+=1,k===b){R.nodes&&R.nodes.length&&(R[h]=!0,L.iterator=R.getIterator());return}else if(this.listeners[k]){L.visitors=this.listeners[k];return}}A.pop()}walkSync(A){A[h]=!0;let L=v(A);for(let R of L)if(R===b)A.nodes&&A.each(w=>{w[h]||this.walkSync(w)});else{let w=this.listeners[R];if(w&&this.visitSync(w,A.toProxy()))return}}warnings(){return this.sync().warnings()}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"}}return C.registerPostcss=N=>{E=N},Pl=C,C.default=C,a.registerLazyResult(C),e.registerLazyResult(C),Pl}var Al,S0;function Cx(){if(S0)return Al;S0=1;let t=c0(),e=xl();const r=Tl();let i=Bn(),n=y0();class a{constructor(h,c,d){c=c.toString(),this.stringified=!1,this._processor=h,this._css=c,this._opts=d,this._map=void 0;let f,m=i;this.result=new r(this._processor,f,this._opts),this.result.css=c;let g=this;Object.defineProperty(this.result,"root",{get(){return g.root}});let b=new t(m,f,this._opts,c);if(b.isMap()){let[x,v]=b.generate();x&&(this.result.css=x),v&&(this.result.map=v)}else b.clearAnnotation(),this.result.css=b.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(h){return this.async().catch(h)}finally(h){return this.async().then(h,h)}sync(){if(this.error)throw this.error;return this.result}then(h,c){return pt.env.NODE_ENV!=="production"&&("from"in this._opts||n("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(h,c)}toString(){return this._css}warnings(){return[]}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 h,c=e;try{h=c(this._css,this._opts)}catch(d){this.error=d}if(this.error)throw this.error;return this._root=h,h}get[Symbol.toStringTag](){return"NoWorkResult"}}return Al=a,a.default=a,Al}var Cl,x0;function Ix(){if(x0)return Cl;x0=1;let t=tl(),e=v0(),r=Cx(),i=ti();class n{constructor(o=[]){this.version="8.4.48",this.plugins=this.normalize(o)}normalize(o){let h=[];for(let c of o)if(c.postcss===!0?c=c():c.postcss&&(c=c.postcss),typeof c=="object"&&Array.isArray(c.plugins))h=h.concat(c.plugins);else if(typeof c=="object"&&c.postcssPlugin)h.push(c);else if(typeof c=="function")h.push(c);else if(typeof c=="object"&&(c.parse||c.stringify)){if(pt.env.NODE_ENV!=="production")throw new 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 new Error(c+" is not a PostCSS plugin");return h}process(o,h={}){return!this.plugins.length&&!h.parser&&!h.stringifier&&!h.syntax?new r(this,o,h):new e(this,o,h)}use(o){return this.plugins=this.plugins.concat(this.normalize([o])),this}}return Cl=n,n.default=n,i.registerProcessor(n),t.registerProcessor(n),Cl}var Il,E0;function Nx(){if(E0)return Il;E0=1;let t=Zu(),e=qn(),r=Fr(),i=Gu(),n=jn(),a=tl(),o=Px(),h=zn(),c=v0(),d=a0(),f=$n(),m=xl(),g=Ix(),b=Tl(),x=ti(),v=gl(),y=Bn(),T=d0();function E(...C){return C.length===1&&Array.isArray(C[0])&&(C=C[0]),new g(C)}return E.plugin=function(N,A){let L=!1;function R(...I){console&&console.warn&&!L&&(L=!0,pt.env.LANG&&pt.env.LANG.startsWith("cn"));let k=A(...I);return k.postcssPlugin=N,k.postcssVersion=new g().version,k}let w;return Object.defineProperty(R,"postcss",{get(){return w||(w=R()),w}}),R.process=function(I,k,M){return E([R(M)]).process(I,k)},R},E.stringify=y,E.parse=m,E.fromJSON=o,E.list=d,E.comment=C=>new e(C),E.atRule=C=>new t(C),E.decl=C=>new n(C),E.rule=C=>new v(C),E.root=C=>new x(C),E.document=C=>new a(C),E.CssSyntaxError=i,E.Declaration=n,E.Container=r,E.Processor=g,E.Document=a,E.Comment=e,E.Warning=T,E.AtRule=t,E.Result=b,E.Input=h,E.Rule=v,E.Root=x,E.Node=f,c.registerPostcss(E),Il=E,E.default=E,Il}var Ox=Nx(),Ie=$i(Ox);Ie.stringify,Ie.fromJSON,Ie.plugin,Ie.parse,Ie.list,Ie.document,Ie.comment,Ie.atRule,Ie.rule,Ie.decl,Ie.root,Ie.CssSyntaxError,Ie.Declaration,Ie.Container,Ie.Processor,Ie.Document,Ie.Comment,Ie.Warning,Ie.AtRule,Ie.Result,Ie.Input;const kx=Ie.Rule;Ie.Root,Ie.Node;const w0=()=>({postcssPlugin:"vue-sfc-trim",Once(t){t.walk(({type:e,raws:r})=>{(e==="rule"||e==="atrule")&&(r.before&&(r.before=`
|
|
103
|
-
`),"after"in r&&r.after&&(r.after=`
|
|
104
|
-
|
|
105
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(v,y){if(v){if(typeof v=="string")return d(v,y);var T=Object.prototype.toString.call(v).slice(8,-1);if(T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set")return Array.from(v);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return d(v,y)}}function d(v,y){(y==null||y>v.length)&&(y=v.length);for(var T=0,E=new Array(y);T<y;T++)E[T]=v[T];return E}function f(v,y){for(var T=0;T<y.length;T++){var E=y[T];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}function m(v,y,T){return y&&f(v.prototype,y),Object.defineProperty(v,"prototype",{writable:!1}),v}function g(v,y){v.prototype=Object.create(y.prototype),v.prototype.constructor=v,b(v,y)}function b(v,y){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},b(v,y)}var x=(function(v){g(y,v);function y(E){var C;return C=v.call(this,E)||this,C.nodes||(C.nodes=[]),C}var T=y.prototype;return T.append=function(C){return C.parent=this,this.nodes.push(C),this},T.prepend=function(C){C.parent=this,this.nodes.unshift(C);for(var N in this.indexes)this.indexes[N]++;return this},T.at=function(C){return this.nodes[C]},T.index=function(C){return typeof C=="number"?C:this.nodes.indexOf(C)},T.removeChild=function(C){C=this.index(C),this.at(C).parent=void 0,this.nodes.splice(C,1);var N;for(var A in this.indexes)N=this.indexes[A],N>=C&&(this.indexes[A]=N-1);return this},T.removeAll=function(){for(var C=h(this.nodes),N;!(N=C()).done;){var A=N.value;A.parent=void 0}return this.nodes=[],this},T.empty=function(){return this.removeAll()},T.insertAfter=function(C,N){N.parent=this;var A=this.index(C);this.nodes.splice(A+1,0,N),N.parent=this;var L;for(var R in this.indexes)L=this.indexes[R],A<L&&(this.indexes[R]=L+1);return this},T.insertBefore=function(C,N){N.parent=this;var A=this.index(C);this.nodes.splice(A,0,N),N.parent=this;var L;for(var R in this.indexes)L=this.indexes[R],L>=A&&(this.indexes[R]=L+1);return this},T._findChildAtPosition=function(C,N){var A=void 0;return this.each(function(L){if(L.atPosition){var R=L.atPosition(C,N);if(R)return A=R,!1}else if(L.isAtPosition(C,N))return A=L,!1}),A},T.atPosition=function(C,N){if(this.isAtPosition(C,N))return this._findChildAtPosition(C,N)||this},T._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))},T.each=function(C){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var N=this.lastEach;if(this.indexes[N]=0,!!this.length){for(var A,L;this.indexes[N]<this.length&&(A=this.indexes[N],L=C(this.at(A),A),L!==!1);)this.indexes[N]+=1;if(delete this.indexes[N],L===!1)return!1}},T.walk=function(C){return this.each(function(N,A){var L=C(N,A);if(L!==!1&&N.length&&(L=N.walk(C)),L===!1)return!1})},T.walkAttributes=function(C){var N=this;return this.walk(function(A){if(A.type===i.ATTRIBUTE)return C.call(N,A)})},T.walkClasses=function(C){var N=this;return this.walk(function(A){if(A.type===i.CLASS)return C.call(N,A)})},T.walkCombinators=function(C){var N=this;return this.walk(function(A){if(A.type===i.COMBINATOR)return C.call(N,A)})},T.walkComments=function(C){var N=this;return this.walk(function(A){if(A.type===i.COMMENT)return C.call(N,A)})},T.walkIds=function(C){var N=this;return this.walk(function(A){if(A.type===i.ID)return C.call(N,A)})},T.walkNesting=function(C){var N=this;return this.walk(function(A){if(A.type===i.NESTING)return C.call(N,A)})},T.walkPseudos=function(C){var N=this;return this.walk(function(A){if(A.type===i.PSEUDO)return C.call(N,A)})},T.walkTags=function(C){var N=this;return this.walk(function(A){if(A.type===i.TAG)return C.call(N,A)})},T.walkUniversals=function(C){var N=this;return this.walk(function(A){if(A.type===i.UNIVERSAL)return C.call(N,A)})},T.split=function(C){var N=this,A=[];return this.reduce(function(L,R,w){var I=C.call(N,R);return A.push(R),I?(L.push(A),A=[]):w===N.length-1&&L.push(A),L},[])},T.map=function(C){return this.nodes.map(C)},T.reduce=function(C,N){return this.nodes.reduce(C,N)},T.every=function(C){return this.nodes.every(C)},T.some=function(C){return this.nodes.some(C)},T.filter=function(C){return this.nodes.filter(C)},T.sort=function(C){return this.nodes.sort(C)},T.toString=function(){return this.map(String).join("")},m(y,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),y})(r.default);e.default=x,t.exports=e.default})(Jn,Jn.exports)),Jn.exports}var L0;function M0(){return L0||(L0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Nl()),i=et();function n(f){return f&&f.__esModule?f:{default:f}}function a(f,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(f,b.key,b)}}function o(f,m,g){return m&&a(f.prototype,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function h(f,m){f.prototype=Object.create(m.prototype),f.prototype.constructor=f,c(f,m)}function c(f,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,x){return b.__proto__=x,b},c(f,m)}var d=(function(f){h(m,f);function m(b){var x;return x=f.call(this,b)||this,x.type=i.ROOT,x}var g=m.prototype;return g.toString=function(){var x=this.reduce(function(v,y){return v.push(String(y)),v},[]).join(",");return this.trailingComma?x+",":x},g.error=function(x,v){return this._error?this._error(x,v):new Error(x)},o(m,[{key:"errorGenerator",set:function(x){this._error=x}}]),m})(r.default);e.default=d,t.exports=e.default})(Kn,Kn.exports)),Kn.exports}var sa={exports:{}},R0;function D0(){return R0||(R0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Nl()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.SELECTOR,m}return d})(r.default);e.default=h,t.exports=e.default})(sa,sa.exports)),sa.exports}var ia={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var Ol,F0;function kl(){if(F0)return Ol;F0=1;var t={},e=t.hasOwnProperty,r=function(c,d){if(!c)return d;var f={};for(var m in d)f[m]=e.call(c,m)?c[m]:d[m];return f},i=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,o=function h(c,d){d=r(d,h.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var f=d.quotes=="double"?'"':"'",m=d.isIdentifier,g=c.charAt(0),b="",x=0,v=c.length;x<v;){var y=c.charAt(x++),T=y.charCodeAt(),E=void 0;if(T<32||T>126){if(T>=55296&&T<=56319&&x<v){var C=c.charCodeAt(x++);(C&64512)==56320?T=((T&1023)<<10)+(C&1023)+65536:x--}E="\\"+T.toString(16).toUpperCase()+" "}else d.escapeEverything?i.test(y)?E="\\"+y:E="\\"+T.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(y)?E="\\"+T.toString(16).toUpperCase()+" ":y=="\\"||!m&&(y=='"'&&f==y||y=="'"&&f==y)||m&&n.test(y)?E="\\"+y:E=y;b+=E}return m&&(/^-[-\d]/.test(b)?b="\\-"+b.slice(1):/\d/.test(g)&&(b="\\3"+g+" "+b.slice(1))),b=b.replace(a,function(N,A,L){return A&&A.length%2?N:(A||"")+L}),!m&&d.wrap?f+b+f:b};return o.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},o.version="3.0.0",Ol=o,Ol}var B0;function U0(){return B0||(B0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=o(kl()),i=ra(),n=o(vr()),a=et();function o(g){return g&&g.__esModule?g:{default:g}}function h(g,b){for(var x=0;x<b.length;x++){var v=b[x];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}function c(g,b,x){return b&&h(g.prototype,b),Object.defineProperty(g,"prototype",{writable:!1}),g}function d(g,b){g.prototype=Object.create(b.prototype),g.prototype.constructor=g,f(g,b)}function f(g,b){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,y){return v.__proto__=y,v},f(g,b)}var m=(function(g){d(b,g);function b(v){var y;return y=g.call(this,v)||this,y.type=a.CLASS,y._constructed=!0,y}var x=b.prototype;return x.valueToString=function(){return"."+g.prototype.valueToString.call(this)},c(b,[{key:"value",get:function(){return this._value},set:function(y){if(this._constructed){var T=(0,r.default)(y,{isIdentifier:!0});T!==y?((0,i.ensureObject)(this,"raws"),this.raws.value=T):this.raws&&delete this.raws.value}this._value=y}}]),b})(n.default);e.default=m,t.exports=e.default})(ia,ia.exports)),ia.exports}var na={exports:{}},$0;function q0(){return $0||($0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(vr()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.COMMENT,m}return d})(r.default);e.default=h,t.exports=e.default})(na,na.exports)),na.exports}var aa={exports:{}},j0;function V0(){return j0||(j0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(vr()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(m){var g;return g=c.call(this,m)||this,g.type=i.ID,g}var f=d.prototype;return f.valueToString=function(){return"#"+c.prototype.valueToString.call(this)},d})(r.default);e.default=h,t.exports=e.default})(aa,aa.exports)),aa.exports}var oa={exports:{}},ua={exports:{}},G0;function Ll(){return G0||(G0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(kl()),i=ra(),n=a(vr());function a(m){return m&&m.__esModule?m:{default:m}}function o(m,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}function h(m,g,b){return g&&o(m.prototype,g),Object.defineProperty(m,"prototype",{writable:!1}),m}function c(m,g){m.prototype=Object.create(g.prototype),m.prototype.constructor=m,d(m,g)}function d(m,g){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,v){return x.__proto__=v,x},d(m,g)}var f=(function(m){c(g,m);function g(){return m.apply(this,arguments)||this}var b=g.prototype;return b.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},b.valueToString=function(){return this.qualifiedName(m.prototype.valueToString.call(this))},h(g,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var y=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,y!==v?((0,i.ensureObject)(this,"raws"),this.raws.namespace=y):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),g})(n.default);e.default=f,t.exports=e.default})(ua,ua.exports)),ua.exports}var z0;function W0(){return z0||(z0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Ll()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.TAG,m}return d})(r.default);e.default=h,t.exports=e.default})(oa,oa.exports)),oa.exports}var la={exports:{}},H0;function X0(){return H0||(H0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(vr()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.STRING,m}return d})(r.default);e.default=h,t.exports=e.default})(la,la.exports)),la.exports}var ca={exports:{}},K0;function J0(){return K0||(K0=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Nl()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(m){var g;return g=c.call(this,m)||this,g.type=i.PSEUDO,g}var f=d.prototype;return f.toString=function(){var g=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),g,this.rawSpaceAfter].join("")},d})(r.default);e.default=h,t.exports=e.default})(ca,ca.exports)),ca.exports}var Ml={},Rl,Y0;function Dx(){return Y0||(Y0=1,Rl=cx.deprecate),Rl}var Q0;function Z0(){return Q0||(Q0=1,(function(t){t.__esModule=!0,t.default=void 0,t.unescapeValue=y;var e=o(kl()),r=o(_0()),i=o(Ll()),n=et(),a;function o(A){return A&&A.__esModule?A:{default:A}}function h(A,L){for(var R=0;R<L.length;R++){var w=L[R];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(A,w.key,w)}}function c(A,L,R){return L&&h(A.prototype,L),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A,L){A.prototype=Object.create(L.prototype),A.prototype.constructor=A,f(A,L)}function f(A,L){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,I){return w.__proto__=I,w},f(A,L)}var m=Dx(),g=/^('|")([^]*)\1$/,b=m(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),x=m(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),v=m(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function y(A){var L=!1,R=null,w=A,I=w.match(g);return I&&(R=I[1],w=I[2]),w=(0,r.default)(w),w!==A&&(L=!0),{deprecatedUsage:L,unescaped:w,quoteMark:R}}function T(A){if(A.quoteMark!==void 0||A.value===void 0)return A;v();var L=y(A.value),R=L.quoteMark,w=L.unescaped;return A.raws||(A.raws={}),A.raws.value===void 0&&(A.raws.value=A.value),A.value=w,A.quoteMark=R,A}var E=(function(A){d(L,A);function L(w){var I;return w===void 0&&(w={}),I=A.call(this,T(w))||this,I.type=n.ATTRIBUTE,I.raws=I.raws||{},Object.defineProperty(I.raws,"unquoted",{get:m(function(){return I.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:m(function(){return I.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),I._constructed=!0,I}var R=L.prototype;return R.getQuotedValue=function(I){I===void 0&&(I={});var k=this._determineQuoteMark(I),M=C[k],z=(0,e.default)(this._value,M);return z},R._determineQuoteMark=function(I){return I.smart?this.smartQuoteMark(I):this.preferredQuoteMark(I)},R.setValue=function(I,k){k===void 0&&(k={}),this._value=I,this._quoteMark=this._determineQuoteMark(k),this._syncRawValue()},R.smartQuoteMark=function(I){var k=this.value,M=k.replace(/[^']/g,"").length,z=k.replace(/[^"]/g,"").length;if(M+z===0){var X=(0,e.default)(k,{isIdentifier:!0});if(X===k)return L.NO_QUOTE;var Z=this.preferredQuoteMark(I);if(Z===L.NO_QUOTE){var $=this.quoteMark||I.quoteMark||L.DOUBLE_QUOTE,Q=C[$],re=(0,e.default)(k,Q);if(re.length<X.length)return $}return Z}else return z===M?this.preferredQuoteMark(I):z<M?L.DOUBLE_QUOTE:L.SINGLE_QUOTE},R.preferredQuoteMark=function(I){var k=I.preferCurrentQuoteMark?this.quoteMark:I.quoteMark;return k===void 0&&(k=I.preferCurrentQuoteMark?I.quoteMark:this.quoteMark),k===void 0&&(k=L.DOUBLE_QUOTE),k},R._syncRawValue=function(){var I=(0,e.default)(this._value,C[this.quoteMark]);I===this._value?this.raws&&delete this.raws.value:this.raws.value=I},R._handleEscapes=function(I,k){if(this._constructed){var M=(0,e.default)(k,{isIdentifier:!0});M!==k?this.raws[I]=M:delete this.raws[I]}},R._spacesFor=function(I){var k={before:"",after:""},M=this.spaces[I]||{},z=this.raws.spaces&&this.raws.spaces[I]||{};return Object.assign(k,M,z)},R._stringFor=function(I,k,M){k===void 0&&(k=I),M===void 0&&(M=N);var z=this._spacesFor(k);return M(this.stringifyProperty(I),z)},R.offsetOf=function(I){var k=1,M=this._spacesFor("attribute");if(k+=M.before.length,I==="namespace"||I==="ns")return this.namespace?k:-1;if(I==="attributeNS"||(k+=this.namespaceString.length,this.namespace&&(k+=1),I==="attribute"))return k;k+=this.stringifyProperty("attribute").length,k+=M.after.length;var z=this._spacesFor("operator");k+=z.before.length;var X=this.stringifyProperty("operator");if(I==="operator")return X?k:-1;k+=X.length,k+=z.after.length;var Z=this._spacesFor("value");k+=Z.before.length;var $=this.stringifyProperty("value");if(I==="value")return $?k:-1;k+=$.length,k+=Z.after.length;var Q=this._spacesFor("insensitive");return k+=Q.before.length,I==="insensitive"&&this.insensitive?k:-1},R.toString=function(){var I=this,k=[this.rawSpaceBefore,"["];return k.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(k.push(this._stringFor("operator")),k.push(this._stringFor("value")),k.push(this._stringFor("insensitiveFlag","insensitive",function(M,z){return M.length>0&&!I.quoted&&z.before.length===0&&!(I.spaces.value&&I.spaces.value.after)&&(z.before=" "),N(M,z)}))),k.push("]"),k.push(this.rawSpaceAfter),k.join("")},c(L,[{key:"quoted",get:function(){var I=this.quoteMark;return I==="'"||I==='"'},set:function(I){x()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(I){if(!this._constructed){this._quoteMark=I;return}this._quoteMark!==I&&(this._quoteMark=I,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(I){if(this._constructed){var k=y(I),M=k.deprecatedUsage,z=k.unescaped,X=k.quoteMark;if(M&&b(),z===this._value&&X===this._quoteMark)return;this._value=z,this._quoteMark=X,this._syncRawValue()}else this._value=I}},{key:"insensitive",get:function(){return this._insensitive},set:function(I){I||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=I}},{key:"attribute",get:function(){return this._attribute},set:function(I){this._handleEscapes("attribute",I),this._attribute=I}}]),L})(i.default);t.default=E,E.NO_QUOTE=null,E.SINGLE_QUOTE="'",E.DOUBLE_QUOTE='"';var C=(a={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},a[null]={isIdentifier:!0},a);function N(A,L){return""+L.before+A+L.after}})(Ml)),Ml}var ha={exports:{}},em;function tm(){return em||(em=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Ll()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.UNIVERSAL,m.value="*",m}return d})(r.default);e.default=h,t.exports=e.default})(ha,ha.exports)),ha.exports}var fa={exports:{}},rm;function sm(){return rm||(rm=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(vr()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.COMBINATOR,m}return d})(r.default);e.default=h,t.exports=e.default})(fa,fa.exports)),fa.exports}var pa={exports:{}},im;function nm(){return im||(im=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(vr()),i=et();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,g){return m.__proto__=g,m},o(c,d)}var h=(function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.NESTING,m.value="&",m}return d})(r.default);e.default=h,t.exports=e.default})(pa,pa.exports)),pa.exports}var da={exports:{}},am;function Fx(){return am||(am=1,(function(t,e){e.__esModule=!0,e.default=r;function r(i){return i.sort(function(n,a){return n-a})}t.exports=e.default})(da,da.exports)),da.exports}var Dl={},ie={},om;function um(){if(om)return ie;om=1,ie.__esModule=!0,ie.word=ie.tilde=ie.tab=ie.str=ie.space=ie.slash=ie.singleQuote=ie.semicolon=ie.plus=ie.pipe=ie.openSquare=ie.openParenthesis=ie.newline=ie.greaterThan=ie.feed=ie.equals=ie.doubleQuote=ie.dollar=ie.cr=ie.comment=ie.comma=ie.combinator=ie.colon=ie.closeSquare=ie.closeParenthesis=ie.caret=ie.bang=ie.backslash=ie.at=ie.asterisk=ie.ampersand=void 0;var t=38;ie.ampersand=t;var e=42;ie.asterisk=e;var r=64;ie.at=r;var i=44;ie.comma=i;var n=58;ie.colon=n;var a=59;ie.semicolon=a;var o=40;ie.openParenthesis=o;var h=41;ie.closeParenthesis=h;var c=91;ie.openSquare=c;var d=93;ie.closeSquare=d;var f=36;ie.dollar=f;var m=126;ie.tilde=m;var g=94;ie.caret=g;var b=43;ie.plus=b;var x=61;ie.equals=x;var v=124;ie.pipe=v;var y=62;ie.greaterThan=y;var T=32;ie.space=T;var E=39;ie.singleQuote=E;var C=34;ie.doubleQuote=C;var N=47;ie.slash=N;var A=33;ie.bang=A;var L=92;ie.backslash=L;var R=13;ie.cr=R;var w=12;ie.feed=w;var I=10;ie.newline=I;var k=9;ie.tab=k;var M=E;ie.str=M;var z=-1;ie.comment=z;var X=-2;ie.word=X;var Z=-3;return ie.combinator=Z,ie}var lm;function Bx(){return lm||(lm=1,(function(t){t.__esModule=!0,t.FIELDS=void 0,t.default=x;var e=a(um()),r,i;function n(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,T=new WeakMap;return(n=function(C){return C?T:y})(v)}function a(v,y){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var T=n(y);if(T&&T.has(v))return T.get(v);var E={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var A=C?Object.getOwnPropertyDescriptor(v,N):null;A&&(A.get||A.set)?Object.defineProperty(E,N,A):E[N]=v[N]}return E.default=v,T&&T.set(v,E),E}for(var o=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),h=(i={},i[e.space]=!0,i[e.tab]=!0,i[e.newline]=!0,i[e.cr]=!0,i[e.feed]=!0,i[e.ampersand]=!0,i[e.asterisk]=!0,i[e.bang]=!0,i[e.comma]=!0,i[e.colon]=!0,i[e.semicolon]=!0,i[e.openParenthesis]=!0,i[e.closeParenthesis]=!0,i[e.openSquare]=!0,i[e.closeSquare]=!0,i[e.singleQuote]=!0,i[e.doubleQuote]=!0,i[e.plus]=!0,i[e.pipe]=!0,i[e.tilde]=!0,i[e.greaterThan]=!0,i[e.equals]=!0,i[e.dollar]=!0,i[e.caret]=!0,i[e.slash]=!0,i),c={},d="0123456789abcdefABCDEF",f=0;f<d.length;f++)c[d.charCodeAt(f)]=!0;function m(v,y){var T=y,E;do{if(E=v.charCodeAt(T),h[E])return T-1;E===e.backslash?T=g(v,T)+1:T++}while(T<v.length);return T-1}function g(v,y){var T=y,E=v.charCodeAt(T+1);if(!o[E])if(c[E]){var C=0;do T++,C++,E=v.charCodeAt(T+1);while(c[E]&&C<6);C<6&&E===e.space&&T++}else T++;return T}var b={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=b;function x(v){var y=[],T=v.css.valueOf(),E=T,C=E.length,N=-1,A=1,L=0,R=0,w,I,k,M,z,X,Z,$,Q,re,pe,Re,me;function ee(q,V){if(v.safe)T+=V,Q=T.length-1;else throw v.error("Unclosed "+q,A,L-N,L)}for(;L<C;){switch(w=T.charCodeAt(L),w===e.newline&&(N=L,A+=1),w){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:Q=L;do Q+=1,w=T.charCodeAt(Q),w===e.newline&&(N=Q,A+=1);while(w===e.space||w===e.newline||w===e.tab||w===e.cr||w===e.feed);me=e.space,M=A,k=Q-N-1,R=Q;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:Q=L;do Q+=1,w=T.charCodeAt(Q);while(w===e.plus||w===e.greaterThan||w===e.tilde||w===e.pipe);me=e.combinator,M=A,k=L-N,R=Q;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:Q=L,me=w,M=A,k=L-N,R=Q+1;break;case e.singleQuote:case e.doubleQuote:Re=w===e.singleQuote?"'":'"',Q=L;do for(z=!1,Q=T.indexOf(Re,Q+1),Q===-1&&ee("quote",Re),X=Q;T.charCodeAt(X-1)===e.backslash;)X-=1,z=!z;while(z);me=e.str,M=A,k=L-N,R=Q+1;break;default:w===e.slash&&T.charCodeAt(L+1)===e.asterisk?(Q=T.indexOf("*/",L+2)+1,Q===0&&ee("comment","*/"),I=T.slice(L,Q+1),$=I.split(`
|
|
106
|
-
`),Z=$.length-1,Z>0?(re=A+Z,pe=Q-$[Z].length):(re=A,pe=N),me=e.comment,A=re,M=re,k=Q-pe):w===e.slash?(Q=L,me=w,M=A,k=L-N,R=Q+1):(Q=m(T,L),me=e.word,M=A,k=Q-N),R=Q+1;break}y.push([me,A,L-N,M,k,L,R]),pe&&(N=pe,pe=null),L=R}return y}})(Dl)),Dl}var cm;function Ux(){return cm||(cm=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=R(M0()),i=R(D0()),n=R(U0()),a=R(q0()),o=R(V0()),h=R(W0()),c=R(X0()),d=R(J0()),f=L(Z0()),m=R(tm()),g=R(sm()),b=R(nm()),x=R(Fx()),v=L(Bx()),y=L(um()),T=L(et()),E=ra(),C,N;function A(ee){if(typeof WeakMap!="function")return null;var q=new WeakMap,V=new WeakMap;return(A=function(G){return G?V:q})(ee)}function L(ee,q){if(ee&&ee.__esModule)return ee;if(ee===null||typeof ee!="object"&&typeof ee!="function")return{default:ee};var V=A(q);if(V&&V.has(ee))return V.get(ee);var B={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in ee)if(te!=="default"&&Object.prototype.hasOwnProperty.call(ee,te)){var j=G?Object.getOwnPropertyDescriptor(ee,te):null;j&&(j.get||j.set)?Object.defineProperty(B,te,j):B[te]=ee[te]}return B.default=ee,V&&V.set(ee,B),B}function R(ee){return ee&&ee.__esModule?ee:{default:ee}}function w(ee,q){for(var V=0;V<q.length;V++){var B=q[V];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(ee,B.key,B)}}function I(ee,q,V){return q&&w(ee.prototype,q),Object.defineProperty(ee,"prototype",{writable:!1}),ee}var k=(C={},C[y.space]=!0,C[y.cr]=!0,C[y.feed]=!0,C[y.newline]=!0,C[y.tab]=!0,C),M=Object.assign({},k,(N={},N[y.comment]=!0,N));function z(ee){return{line:ee[v.FIELDS.START_LINE],column:ee[v.FIELDS.START_COL]}}function X(ee){return{line:ee[v.FIELDS.END_LINE],column:ee[v.FIELDS.END_COL]}}function Z(ee,q,V,B){return{start:{line:ee,column:q},end:{line:V,column:B}}}function $(ee){return Z(ee[v.FIELDS.START_LINE],ee[v.FIELDS.START_COL],ee[v.FIELDS.END_LINE],ee[v.FIELDS.END_COL])}function Q(ee,q){if(ee)return Z(ee[v.FIELDS.START_LINE],ee[v.FIELDS.START_COL],q[v.FIELDS.END_LINE],q[v.FIELDS.END_COL])}function re(ee,q){var V=ee[q];if(typeof V=="string")return V.indexOf("\\")!==-1&&((0,E.ensureObject)(ee,"raws"),ee[q]=(0,E.unesc)(V),ee.raws[q]===void 0&&(ee.raws[q]=V)),ee}function pe(ee,q){for(var V=-1,B=[];(V=ee.indexOf(q,V+1))!==-1;)B.push(V);return B}function Re(){var ee=Array.prototype.concat.apply([],arguments);return ee.filter(function(q,V){return V===ee.indexOf(q)})}var me=(function(){function ee(V,B){B===void 0&&(B={}),this.rule=V,this.options=Object.assign({lossy:!1,safe:!1},B),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,v.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var G=Q(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:G}),this.root.errorGenerator=this._errorGenerator();var te=new i.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(te),this.current=te,this.loop()}var q=ee.prototype;return q._errorGenerator=function(){var B=this;return function(G,te){return typeof B.rule=="string"?new Error(G):B.rule.error(G,te)}},q.attribute=function(){var B=[],G=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==y.closeSquare;)B.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==y.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var te=B.length,j={source:Z(G[1],G[2],this.currToken[3],this.currToken[4]),sourceIndex:G[v.FIELDS.START_POS]};if(te===1&&!~[y.word].indexOf(B[0][v.FIELDS.TYPE]))return this.expected("attribute",B[0][v.FIELDS.START_POS]);for(var se=0,oe="",he="",ue=null,de=!1;se<te;){var Ae=B[se],fe=this.content(Ae),ke=B[se+1];switch(Ae[v.FIELDS.TYPE]){case y.space:if(de=!0,this.options.lossy)break;if(ue){(0,E.ensureObject)(j,"spaces",ue);var St=j.spaces[ue].after||"";j.spaces[ue].after=St+fe;var Pt=(0,E.getProp)(j,"raws","spaces",ue,"after")||null;Pt&&(j.raws.spaces[ue].after=Pt+fe)}else oe=oe+fe,he=he+fe;break;case y.asterisk:if(ke[v.FIELDS.TYPE]===y.equals)j.operator=fe,ue="operator";else if((!j.namespace||ue==="namespace"&&!de)&&ke){oe&&((0,E.ensureObject)(j,"spaces","attribute"),j.spaces.attribute.before=oe,oe=""),he&&((0,E.ensureObject)(j,"raws","spaces","attribute"),j.raws.spaces.attribute.before=oe,he=""),j.namespace=(j.namespace||"")+fe;var at=(0,E.getProp)(j,"raws","namespace")||null;at&&(j.raws.namespace+=fe),ue="namespace"}de=!1;break;case y.dollar:if(ue==="value"){var We=(0,E.getProp)(j,"raws","value");j.value+="$",We&&(j.raws.value=We+"$");break}case y.caret:ke[v.FIELDS.TYPE]===y.equals&&(j.operator=fe,ue="operator"),de=!1;break;case y.combinator:if(fe==="~"&&ke[v.FIELDS.TYPE]===y.equals&&(j.operator=fe,ue="operator"),fe!=="|"){de=!1;break}ke[v.FIELDS.TYPE]===y.equals?(j.operator=fe,ue="operator"):!j.namespace&&!j.attribute&&(j.namespace=!0),de=!1;break;case y.word:if(ke&&this.content(ke)==="|"&&B[se+2]&&B[se+2][v.FIELDS.TYPE]!==y.equals&&!j.operator&&!j.namespace)j.namespace=fe,ue="namespace";else if(!j.attribute||ue==="attribute"&&!de){oe&&((0,E.ensureObject)(j,"spaces","attribute"),j.spaces.attribute.before=oe,oe=""),he&&((0,E.ensureObject)(j,"raws","spaces","attribute"),j.raws.spaces.attribute.before=he,he=""),j.attribute=(j.attribute||"")+fe;var xt=(0,E.getProp)(j,"raws","attribute")||null;xt&&(j.raws.attribute+=fe),ue="attribute"}else if(!j.value&&j.value!==""||ue==="value"&&!(de||j.quoteMark)){var Et=(0,E.unesc)(fe),Je=(0,E.getProp)(j,"raws","value")||"",sr=j.value||"";j.value=sr+Et,j.quoteMark=null,(Et!==fe||Je)&&((0,E.ensureObject)(j,"raws"),j.raws.value=(Je||sr)+fe),ue="value"}else{var gs=fe==="i"||fe==="I";(j.value||j.value==="")&&(j.quoteMark||de)?(j.insensitive=gs,(!gs||fe==="I")&&((0,E.ensureObject)(j,"raws"),j.raws.insensitiveFlag=fe),ue="insensitive",oe&&((0,E.ensureObject)(j,"spaces","insensitive"),j.spaces.insensitive.before=oe,oe=""),he&&((0,E.ensureObject)(j,"raws","spaces","insensitive"),j.raws.spaces.insensitive.before=he,he="")):(j.value||j.value==="")&&(ue="value",j.value+=fe,j.raws.value&&(j.raws.value+=fe))}de=!1;break;case y.str:if(!j.attribute||!j.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Ae[v.FIELDS.START_POS]});var zt=(0,f.unescapeValue)(fe),kt=zt.unescaped,hi=zt.quoteMark;j.value=kt,j.quoteMark=hi,ue="value",(0,E.ensureObject)(j,"raws"),j.raws.value=fe,de=!1;break;case y.equals:if(!j.attribute)return this.expected("attribute",Ae[v.FIELDS.START_POS],fe);if(j.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Ae[v.FIELDS.START_POS]});j.operator=j.operator?j.operator+fe:fe,ue="operator",de=!1;break;case y.comment:if(ue)if(de||ke&&ke[v.FIELDS.TYPE]===y.space||ue==="insensitive"){var Ca=(0,E.getProp)(j,"spaces",ue,"after")||"",gc=(0,E.getProp)(j,"raws","spaces",ue,"after")||Ca;(0,E.ensureObject)(j,"raws","spaces",ue),j.raws.spaces[ue].after=gc+fe}else{var yc=j[ue]||"",Ia=(0,E.getProp)(j,"raws",ue)||yc;(0,E.ensureObject)(j,"raws"),j.raws[ue]=Ia+fe}else he=he+fe;break;default:return this.error('Unexpected "'+fe+'" found.',{index:Ae[v.FIELDS.START_POS]})}se++}re(j,"attribute"),re(j,"namespace"),this.newNode(new f.default(j)),this.position++},q.parseWhitespaceEquivalentTokens=function(B){B<0&&(B=this.tokens.length);var G=this.position,te=[],j="",se=void 0;do if(k[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(j+=this.content());else if(this.currToken[v.FIELDS.TYPE]===y.comment){var oe={};j&&(oe.before=j,j=""),se=new a.default({value:this.content(),source:$(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],spaces:oe}),te.push(se)}while(++this.position<B);if(j){if(se)se.spaces.after=j;else if(!this.options.lossy){var he=this.tokens[G],ue=this.tokens[this.position-1];te.push(new c.default({value:"",source:Z(he[v.FIELDS.START_LINE],he[v.FIELDS.START_COL],ue[v.FIELDS.END_LINE],ue[v.FIELDS.END_COL]),sourceIndex:he[v.FIELDS.START_POS],spaces:{before:j,after:""}}))}}return te},q.convertWhitespaceNodesToSpace=function(B,G){var te=this;G===void 0&&(G=!1);var j="",se="";B.forEach(function(he){var ue=te.lossySpace(he.spaces.before,G),de=te.lossySpace(he.rawSpaceBefore,G);j+=ue+te.lossySpace(he.spaces.after,G&&ue.length===0),se+=ue+he.value+te.lossySpace(he.rawSpaceAfter,G&&de.length===0)}),se===j&&(se=void 0);var oe={space:j,rawSpace:se};return oe},q.isNamedCombinator=function(B){return B===void 0&&(B=this.position),this.tokens[B+0]&&this.tokens[B+0][v.FIELDS.TYPE]===y.slash&&this.tokens[B+1]&&this.tokens[B+1][v.FIELDS.TYPE]===y.word&&this.tokens[B+2]&&this.tokens[B+2][v.FIELDS.TYPE]===y.slash},q.namedCombinator=function(){if(this.isNamedCombinator()){var B=this.content(this.tokens[this.position+1]),G=(0,E.unesc)(B).toLowerCase(),te={};G!==B&&(te.value="/"+B+"/");var j=new g.default({value:"/"+G+"/",source:Z(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:te});return this.position=this.position+3,j}else this.unexpected()},q.combinator=function(){var B=this;if(this.content()==="|")return this.namespace();var G=this.locateNextMeaningfulToken(this.position);if(G<0||this.tokens[G][v.FIELDS.TYPE]===y.comma||this.tokens[G][v.FIELDS.TYPE]===y.closeParenthesis){var te=this.parseWhitespaceEquivalentTokens(G);if(te.length>0){var j=this.current.last;if(j){var se=this.convertWhitespaceNodesToSpace(te),oe=se.space,he=se.rawSpace;he!==void 0&&(j.rawSpaceAfter+=he),j.spaces.after+=oe}else te.forEach(function(Je){return B.newNode(Je)})}return}var ue=this.currToken,de=void 0;G>this.position&&(de=this.parseWhitespaceEquivalentTokens(G));var Ae;if(this.isNamedCombinator()?Ae=this.namedCombinator():this.currToken[v.FIELDS.TYPE]===y.combinator?(Ae=new g.default({value:this.content(),source:$(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):k[this.currToken[v.FIELDS.TYPE]]||de||this.unexpected(),Ae){if(de){var fe=this.convertWhitespaceNodesToSpace(de),ke=fe.space,St=fe.rawSpace;Ae.spaces.before=ke,Ae.rawSpaceBefore=St}}else{var Pt=this.convertWhitespaceNodesToSpace(de,!0),at=Pt.space,We=Pt.rawSpace;We||(We=at);var xt={},Et={spaces:{}};at.endsWith(" ")&&We.endsWith(" ")?(xt.before=at.slice(0,at.length-1),Et.spaces.before=We.slice(0,We.length-1)):at.startsWith(" ")&&We.startsWith(" ")?(xt.after=at.slice(1),Et.spaces.after=We.slice(1)):Et.value=We,Ae=new g.default({value:" ",source:Q(ue,this.tokens[this.position-1]),sourceIndex:ue[v.FIELDS.START_POS],spaces:xt,raws:Et})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===y.space&&(Ae.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Ae)},q.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var B=new i.default({source:{start:z(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][v.FIELDS.START_POS]});this.current.parent.append(B),this.current=B,this.position++},q.comment=function(){var B=this.currToken;this.newNode(new a.default({value:this.content(),source:$(B),sourceIndex:B[v.FIELDS.START_POS]})),this.position++},q.error=function(B,G){throw this.root.error(B,G)},q.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},q.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},q.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},q.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},q.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[v.FIELDS.START_POS])},q.namespace=function(){var B=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[v.FIELDS.TYPE]===y.word)return this.position++,this.word(B);if(this.nextToken[v.FIELDS.TYPE]===y.asterisk)return this.position++,this.universal(B);this.unexpectedPipe()},q.nesting=function(){if(this.nextToken){var B=this.content(this.nextToken);if(B==="|"){this.position++;return}}var G=this.currToken;this.newNode(new b.default({value:this.content(),source:$(G),sourceIndex:G[v.FIELDS.START_POS]})),this.position++},q.parentheses=function(){var B=this.current.last,G=1;if(this.position++,B&&B.type===T.PSEUDO){var te=new i.default({source:{start:z(this.tokens[this.position])},sourceIndex:this.tokens[this.position][v.FIELDS.START_POS]}),j=this.current;for(B.append(te),this.current=te;this.position<this.tokens.length&&G;)this.currToken[v.FIELDS.TYPE]===y.openParenthesis&&G++,this.currToken[v.FIELDS.TYPE]===y.closeParenthesis&&G--,G?this.parse():(this.current.source.end=X(this.currToken),this.current.parent.source.end=X(this.currToken),this.position++);this.current=j}else{for(var se=this.currToken,oe="(",he;this.position<this.tokens.length&&G;)this.currToken[v.FIELDS.TYPE]===y.openParenthesis&&G++,this.currToken[v.FIELDS.TYPE]===y.closeParenthesis&&G--,he=this.currToken,oe+=this.parseParenthesisToken(this.currToken),this.position++;B?B.appendToPropertyAndEscape("value",oe,oe):this.newNode(new c.default({value:oe,source:Z(se[v.FIELDS.START_LINE],se[v.FIELDS.START_COL],he[v.FIELDS.END_LINE],he[v.FIELDS.END_COL]),sourceIndex:se[v.FIELDS.START_POS]}))}if(G)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},q.pseudo=function(){for(var B=this,G="",te=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===y.colon;)G+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[v.FIELDS.TYPE]===y.word)this.splitWord(!1,function(j,se){G+=j,B.newNode(new d.default({value:G,source:Q(te,B.currToken),sourceIndex:te[v.FIELDS.START_POS]})),se>1&&B.nextToken&&B.nextToken[v.FIELDS.TYPE]===y.openParenthesis&&B.error("Misplaced parenthesis.",{index:B.nextToken[v.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[v.FIELDS.START_POS])},q.space=function(){var B=this.content();this.position===0||this.prevToken[v.FIELDS.TYPE]===y.comma||this.prevToken[v.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(function(G){return G.type==="comment"})?(this.spaces=this.optionalSpace(B),this.position++):this.position===this.tokens.length-1||this.nextToken[v.FIELDS.TYPE]===y.comma||this.nextToken[v.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(B),this.position++):this.combinator()},q.string=function(){var B=this.currToken;this.newNode(new c.default({value:this.content(),source:$(B),sourceIndex:B[v.FIELDS.START_POS]})),this.position++},q.universal=function(B){var G=this.nextToken;if(G&&this.content(G)==="|")return this.position++,this.namespace();var te=this.currToken;this.newNode(new m.default({value:this.content(),source:$(te),sourceIndex:te[v.FIELDS.START_POS]}),B),this.position++},q.splitWord=function(B,G){for(var te=this,j=this.nextToken,se=this.content();j&&~[y.dollar,y.caret,y.equals,y.word].indexOf(j[v.FIELDS.TYPE]);){this.position++;var oe=this.content();if(se+=oe,oe.lastIndexOf("\\")===oe.length-1){var he=this.nextToken;he&&he[v.FIELDS.TYPE]===y.space&&(se+=this.requiredSpace(this.content(he)),this.position++)}j=this.nextToken}var ue=pe(se,".").filter(function(ke){var St=se[ke-1]==="\\",Pt=/^\d+\.\d+%$/.test(se);return!St&&!Pt}),de=pe(se,"#").filter(function(ke){return se[ke-1]!=="\\"}),Ae=pe(se,"#{");Ae.length&&(de=de.filter(function(ke){return!~Ae.indexOf(ke)}));var fe=(0,x.default)(Re([0].concat(ue,de)));fe.forEach(function(ke,St){var Pt=fe[St+1]||se.length,at=se.slice(ke,Pt);if(St===0&&G)return G.call(te,at,fe.length);var We,xt=te.currToken,Et=xt[v.FIELDS.START_POS]+fe[St],Je=Z(xt[1],xt[2]+ke,xt[3],xt[2]+(Pt-1));if(~ue.indexOf(ke)){var sr={value:at.slice(1),source:Je,sourceIndex:Et};We=new n.default(re(sr,"value"))}else if(~de.indexOf(ke)){var gs={value:at.slice(1),source:Je,sourceIndex:Et};We=new o.default(re(gs,"value"))}else{var zt={value:at,source:Je,sourceIndex:Et};re(zt,"value"),We=new h.default(zt)}te.newNode(We,B),B=null}),this.position++},q.word=function(B){var G=this.nextToken;return G&&this.content(G)==="|"?(this.position++,this.namespace()):this.splitWord(B)},q.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},q.parse=function(B){switch(this.currToken[v.FIELDS.TYPE]){case y.space:this.space();break;case y.comment:this.comment();break;case y.openParenthesis:this.parentheses();break;case y.closeParenthesis:B&&this.missingParenthesis();break;case y.openSquare:this.attribute();break;case y.dollar:case y.caret:case y.equals:case y.word:this.word();break;case y.colon:this.pseudo();break;case y.comma:this.comma();break;case y.asterisk:this.universal();break;case y.ampersand:this.nesting();break;case y.slash:case y.combinator:this.combinator();break;case y.str:this.string();break;case y.closeSquare:this.missingSquareBracket();case y.semicolon:this.missingBackslash();default:this.unexpected()}},q.expected=function(B,G,te){if(Array.isArray(B)){var j=B.pop();B=B.join(", ")+" or "+j}var se=/^[aeiou]/.test(B[0])?"an":"a";return te?this.error("Expected "+se+" "+B+', found "'+te+'" instead.',{index:G}):this.error("Expected "+se+" "+B+".",{index:G})},q.requiredSpace=function(B){return this.options.lossy?" ":B},q.optionalSpace=function(B){return this.options.lossy?"":B},q.lossySpace=function(B,G){return this.options.lossy?G?" ":"":B},q.parseParenthesisToken=function(B){var G=this.content(B);return B[v.FIELDS.TYPE]===y.space?this.requiredSpace(G):G},q.newNode=function(B,G){return G&&(/^ +$/.test(G)&&(this.options.lossy||(this.spaces=(this.spaces||"")+G),G=!0),B.namespace=G,re(B,"namespace")),this.spaces&&(B.spaces.before=this.spaces,this.spaces=""),this.current.append(B)},q.content=function(B){return B===void 0&&(B=this.currToken),this.css.slice(B[v.FIELDS.START_POS],B[v.FIELDS.END_POS])},q.locateNextMeaningfulToken=function(B){B===void 0&&(B=this.position+1);for(var G=B;G<this.tokens.length;)if(M[this.tokens[G][v.FIELDS.TYPE]]){G++;continue}else return G;return-1},I(ee,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),ee})();e.default=me,t.exports=e.default})(Xn,Xn.exports)),Xn.exports}var hm;function $x(){return hm||(hm=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Ux());function i(a){return a&&a.__esModule?a:{default:a}}var n=(function(){function a(h,c){this.func=h||function(){},this.funcRes=null,this.options=c}var o=a.prototype;return o._shouldUpdateSelector=function(c,d){d===void 0&&(d={});var f=Object.assign({},this.options,d);return f.updateSelector===!1?!1:typeof c!="string"},o._isLossy=function(c){c===void 0&&(c={});var d=Object.assign({},this.options,c);return d.lossless===!1},o._root=function(c,d){d===void 0&&(d={});var f=new r.default(c,this._parseOptions(d));return f.root},o._parseOptions=function(c){return{lossy:this._isLossy(c)}},o._run=function(c,d){var f=this;return d===void 0&&(d={}),new Promise(function(m,g){try{var b=f._root(c,d);Promise.resolve(f.func(b)).then(function(x){var v=void 0;return f._shouldUpdateSelector(c,d)&&(v=b.toString(),c.selector=v),{transform:x,root:b,string:v}}).then(m,g)}catch(x){g(x);return}})},o._runSync=function(c,d){d===void 0&&(d={});var f=this._root(c,d),m=this.func(f);if(m&&typeof m.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var g=void 0;return d.updateSelector&&typeof c!="string"&&(g=f.toString(),c.selector=g),{transform:m,root:f,string:g}},o.ast=function(c,d){return this._run(c,d).then(function(f){return f.root})},o.astSync=function(c,d){return this._runSync(c,d).root},o.transform=function(c,d){return this._run(c,d).then(function(f){return f.transform})},o.transformSync=function(c,d){return this._runSync(c,d).transform},o.process=function(c,d){return this._run(c,d).then(function(f){return f.string||f.root.toString()})},o.processSync=function(c,d){var f=this._runSync(c,d);return f.string||f.root.toString()},a})();e.default=n,t.exports=e.default})(Hn,Hn.exports)),Hn.exports}var Fl={},_e={},fm;function qx(){if(fm)return _e;fm=1,_e.__esModule=!0,_e.universal=_e.tag=_e.string=_e.selector=_e.root=_e.pseudo=_e.nesting=_e.id=_e.comment=_e.combinator=_e.className=_e.attribute=void 0;var t=g(Z0()),e=g(U0()),r=g(sm()),i=g(q0()),n=g(V0()),a=g(nm()),o=g(J0()),h=g(M0()),c=g(D0()),d=g(X0()),f=g(W0()),m=g(tm());function g(I){return I&&I.__esModule?I:{default:I}}var b=function(k){return new t.default(k)};_e.attribute=b;var x=function(k){return new e.default(k)};_e.className=x;var v=function(k){return new r.default(k)};_e.combinator=v;var y=function(k){return new i.default(k)};_e.comment=y;var T=function(k){return new n.default(k)};_e.id=T;var E=function(k){return new a.default(k)};_e.nesting=E;var C=function(k){return new o.default(k)};_e.pseudo=C;var N=function(k){return new h.default(k)};_e.root=N;var A=function(k){return new c.default(k)};_e.selector=A;var L=function(k){return new d.default(k)};_e.string=L;var R=function(k){return new f.default(k)};_e.tag=R;var w=function(k){return new m.default(k)};return _e.universal=w,_e}var Se={},pm;function jx(){if(pm)return Se;pm=1,Se.__esModule=!0,Se.isComment=Se.isCombinator=Se.isClassName=Se.isAttribute=void 0,Se.isContainer=C,Se.isIdentifier=void 0,Se.isNamespace=N,Se.isNesting=void 0,Se.isNode=i,Se.isPseudo=void 0,Se.isPseudoClass=E,Se.isPseudoElement=T,Se.isUniversal=Se.isTag=Se.isString=Se.isSelector=Se.isRoot=void 0;var t=et(),e,r=(e={},e[t.ATTRIBUTE]=!0,e[t.CLASS]=!0,e[t.COMBINATOR]=!0,e[t.COMMENT]=!0,e[t.ID]=!0,e[t.NESTING]=!0,e[t.PSEUDO]=!0,e[t.ROOT]=!0,e[t.SELECTOR]=!0,e[t.STRING]=!0,e[t.TAG]=!0,e[t.UNIVERSAL]=!0,e);function i(A){return typeof A=="object"&&r[A.type]}function n(A,L){return i(L)&&L.type===A}var a=n.bind(null,t.ATTRIBUTE);Se.isAttribute=a;var o=n.bind(null,t.CLASS);Se.isClassName=o;var h=n.bind(null,t.COMBINATOR);Se.isCombinator=h;var c=n.bind(null,t.COMMENT);Se.isComment=c;var d=n.bind(null,t.ID);Se.isIdentifier=d;var f=n.bind(null,t.NESTING);Se.isNesting=f;var m=n.bind(null,t.PSEUDO);Se.isPseudo=m;var g=n.bind(null,t.ROOT);Se.isRoot=g;var b=n.bind(null,t.SELECTOR);Se.isSelector=b;var x=n.bind(null,t.STRING);Se.isString=x;var v=n.bind(null,t.TAG);Se.isTag=v;var y=n.bind(null,t.UNIVERSAL);Se.isUniversal=y;function T(A){return m(A)&&A.value&&(A.value.startsWith("::")||A.value.toLowerCase()===":before"||A.value.toLowerCase()===":after"||A.value.toLowerCase()===":first-letter"||A.value.toLowerCase()===":first-line")}function E(A){return m(A)&&!T(A)}function C(A){return!!(i(A)&&A.walk)}function N(A){return a(A)||v(A)}return Se}var dm;function Vx(){return dm||(dm=1,(function(t){t.__esModule=!0;var e=et();Object.keys(e).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===e[n]||(t[n]=e[n])});var r=qx();Object.keys(r).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===r[n]||(t[n]=r[n])});var i=jx();Object.keys(i).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===i[n]||(t[n]=i[n])})})(Fl)),Fl}var mm;function Gx(){return mm||(mm=1,(function(t,e){e.__esModule=!0,e.default=void 0;var r=o($x()),i=a(Vx());function n(d){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:f})(d)}function a(d,f){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=n(f);if(m&&m.has(d))return m.get(d);var g={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in d)if(x!=="default"&&Object.prototype.hasOwnProperty.call(d,x)){var v=b?Object.getOwnPropertyDescriptor(d,x):null;v&&(v.get||v.set)?Object.defineProperty(g,x,v):g[x]=d[x]}return g.default=d,m&&m.set(d,g),g}function o(d){return d&&d.__esModule?d:{default:d}}var h=function(f){return new r.default(f)};Object.assign(h,i),delete h.__esModule;var c=h;e.default=c,t.exports=e.default})(Wn,Wn.exports)),Wn.exports}var zx=Gx(),ma=$i(zx);const Wx=/^(-\w+-)?animation-name$/,Hx=/^(-\w+-)?animation$/,gm=(t="")=>{const e=Object.create(null),r=t.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){Xx(t,i)},AtRule(i){/-?keyframes$/.test(i.name)&&!i.params.endsWith(`-${r}`)&&(e[i.params]=i.params=i.params+"-"+r)},OnceExit(i){Object.keys(e).length&&i.walkDecls(n=>{Wx.test(n.prop)&&(n.value=n.value.split(",").map(a=>e[a.trim()]||a.trim()).join(",")),Hx.test(n.prop)&&(n.value=n.value.split(",").map(a=>{const o=a.trim().split(/\s+/),h=o.findIndex(c=>e[c]);return h!==-1?(o.splice(h,1,e[o[h]]),o.join(" ")):a}).join(","))})}}},ym=new WeakSet;function Xx(t,e){if(ym.has(e)||e.parent&&e.parent.type==="atrule"&&/-?keyframes$/.test(e.parent.name))return;ym.add(e);let r=!1,i=e.parent;for(;i&&i.type!=="root";){if(i.__deep){r=!0;break}i=i.parent}e.selector=ma(n=>{n.each(a=>{Bl(t,e,a,n,r)})}).processSync(e.selector)}function Bl(t,e,r,i,n,a=!1){let o=null,h=!n;if(r.each(c=>{if(c.type==="combinator"&&(c.value===">>>"||c.value==="/deep/"))return c.value=" ",c.spaces.before=c.spaces.after="",!1;if(c.type==="pseudo"){const{value:d}=c;if(d===":deep"||d==="::v-deep"){if(e.__deep=!0,c.nodes.length){let f=c;c.nodes[0].each(g=>{r.insertAfter(f,g),f=g});const m=r.at(r.index(c)-1);(!m||!bm(m))&&r.insertAfter(c,ma.combinator({value:" "})),r.removeChild(c)}else{`${d}${d}`;const f=r.at(r.index(c)-1);f&&bm(f)&&r.removeChild(f),r.removeChild(c)}return!1}if(d===":slotted"||d==="::v-slotted"){Bl(t,e,c.nodes[0],i,n,!0);let f=c;return c.nodes[0].each(m=>{r.insertAfter(f,m),f=m}),r.removeChild(c),h=!1,!1}if(d===":global"||d==="::v-global")return r.replaceWith(c.nodes[0]),!1}if(c.type==="universal"){const d=r.at(r.index(c)-1),f=r.at(r.index(c)+1);if(!d)if(f){f.type==="combinator"&&f.value===" "&&r.removeChild(f),r.removeChild(c);return}else return o=ma.combinator({value:""}),r.insertBefore(c,o),r.removeChild(c),!1;if(o)return}(c.type!=="pseudo"&&c.type!=="combinator"||c.type==="pseudo"&&(c.value===":is"||c.value===":where")&&!o)&&(o=c)}),e.nodes.some(c=>c.type==="rule")){const c=e.__deep;if(!c){vm(e);const d=e.nodes.filter(f=>f.type==="atrule");for(const f of d)vm(f)}h=c}if(o){const{type:c,value:d}=o;c==="pseudo"&&(d===":is"||d===":where")&&(o.nodes.forEach(f=>Bl(t,e,f,i,n,a)),h=!1)}if(o?o.spaces.after="":r.first.spaces.before="",h){const c=a?t+"-s":t;r.insertAfter(o,ma.attribute({attribute:c,value:c,raws:{},quoteMark:'"'}))}}function bm(t){return t.type==="combinator"&&/^\s+$/.test(t.value)}function vm(t){if(!t.nodes)return;const e=t.nodes.filter(r=>r.type==="decl"||r.type==="comment");if(e.length){for(const i of e)t.removeChild(i);const r=new kx({nodes:e,selector:"&"});t.prepend(r)}}gm.postcss=!0;var ri={},Ul={},ga={},ya={},Sm;function Kx(){if(Sm)return ya;Sm=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return ya.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},ya.decode=function(e){var r=65,i=90,n=97,a=122,o=48,h=57,c=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=a?e-n+f:o<=e&&e<=h?e-o+m:e==c?62:e==d?63:-1},ya}var xm;function Em(){if(xm)return ga;xm=1;var t=Kx(),e=5,r=1<<e,i=r-1,n=r;function a(h){return h<0?(-h<<1)+1:(h<<1)+0}function o(h){var c=(h&1)===1,d=h>>1;return c?-d:d}return ga.encode=function(c){var d="",f,m=a(c);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},ga.decode=function(c,d,f){var m=c.length,g=0,b=0,x,v;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(v=t.decode(c.charCodeAt(d++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(d-1));x=!!(v&n),v&=i,g=g+(v<<b),b+=e}while(x);f.value=o(g),f.rest=d},ga}var $l={},wm;function si(){return wm||(wm=1,(function(t){function e(N,A,L){if(A in N)return N[A];if(arguments.length===3)return L;throw new Error('"'+A+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(N){var A=N.match(r);return A?{scheme:A[1],auth:A[2],host:A[3],port:A[4],path:A[5]}:null}t.urlParse=n;function a(N){var A="";return N.scheme&&(A+=N.scheme+":"),A+="//",N.auth&&(A+=N.auth+"@"),N.host&&(A+=N.host),N.port&&(A+=":"+N.port),N.path&&(A+=N.path),A}t.urlGenerate=a;function o(N){var A=N,L=n(N);if(L){if(!L.path)return N;A=L.path}for(var R=t.isAbsolute(A),w=A.split(/\/+/),I,k=0,M=w.length-1;M>=0;M--)I=w[M],I==="."?w.splice(M,1):I===".."?k++:k>0&&(I===""?(w.splice(M+1,k),k=0):(w.splice(M,2),k--));return A=w.join("/"),A===""&&(A=R?"/":"."),L?(L.path=A,a(L)):A}t.normalize=o;function h(N,A){N===""&&(N="."),A===""&&(A=".");var L=n(A),R=n(N);if(R&&(N=R.path||"/"),L&&!L.scheme)return R&&(L.scheme=R.scheme),a(L);if(L||A.match(i))return A;if(R&&!R.host&&!R.path)return R.host=A,a(R);var w=A.charAt(0)==="/"?A:o(N.replace(/\/+$/,"")+"/"+A);return R?(R.path=w,a(R)):w}t.join=h,t.isAbsolute=function(N){return N.charAt(0)==="/"||r.test(N)};function c(N,A){N===""&&(N="."),N=N.replace(/\/$/,"");for(var L=0;A.indexOf(N+"/")!==0;){var R=N.lastIndexOf("/");if(R<0||(N=N.slice(0,R),N.match(/^([^\/]+:\/)?\/*$/)))return A;++L}return Array(L+1).join("../")+A.substr(N.length+1)}t.relative=c;var d=(function(){var N=Object.create(null);return!("__proto__"in N)})();function f(N){return N}function m(N){return b(N)?"$"+N:N}t.toSetString=d?f:m;function g(N){return b(N)?N.slice(1):N}t.fromSetString=d?f:g;function b(N){if(!N)return!1;var A=N.length;if(A<9||N.charCodeAt(A-1)!==95||N.charCodeAt(A-2)!==95||N.charCodeAt(A-3)!==111||N.charCodeAt(A-4)!==116||N.charCodeAt(A-5)!==111||N.charCodeAt(A-6)!==114||N.charCodeAt(A-7)!==112||N.charCodeAt(A-8)!==95||N.charCodeAt(A-9)!==95)return!1;for(var L=A-10;L>=0;L--)if(N.charCodeAt(L)!==36)return!1;return!0}function x(N,A,L){var R=y(N.source,A.source);return R!==0||(R=N.originalLine-A.originalLine,R!==0)||(R=N.originalColumn-A.originalColumn,R!==0||L)||(R=N.generatedColumn-A.generatedColumn,R!==0)||(R=N.generatedLine-A.generatedLine,R!==0)?R:y(N.name,A.name)}t.compareByOriginalPositions=x;function v(N,A,L){var R=N.generatedLine-A.generatedLine;return R!==0||(R=N.generatedColumn-A.generatedColumn,R!==0||L)||(R=y(N.source,A.source),R!==0)||(R=N.originalLine-A.originalLine,R!==0)||(R=N.originalColumn-A.originalColumn,R!==0)?R:y(N.name,A.name)}t.compareByGeneratedPositionsDeflated=v;function y(N,A){return N===A?0:N===null?1:A===null?-1:N>A?1:-1}function T(N,A){var L=N.generatedLine-A.generatedLine;return L!==0||(L=N.generatedColumn-A.generatedColumn,L!==0)||(L=y(N.source,A.source),L!==0)||(L=N.originalLine-A.originalLine,L!==0)||(L=N.originalColumn-A.originalColumn,L!==0)?L:y(N.name,A.name)}t.compareByGeneratedPositionsInflated=T;function E(N){return JSON.parse(N.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=E;function C(N,A,L){if(A=A||"",N&&(N[N.length-1]!=="/"&&A[0]!=="/"&&(N+="/"),A=N+A),L){var R=n(L);if(!R)throw new Error("sourceMapURL could not be parsed");if(R.path){var w=R.path.lastIndexOf("/");w>=0&&(R.path=R.path.substring(0,w+1))}A=h(a(R),A)}return o(A)}t.computeSourceURL=C})($l)),$l}var ql={},Tm;function _m(){if(Tm)return ql;Tm=1;var t=si(),e=Object.prototype.hasOwnProperty,r=typeof Map!="undefined";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,o){for(var h=new i,c=0,d=a.length;c<d;c++)h.add(a[c],o);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var h=r?a:t.toSetString(a),c=r?this.has(a):e.call(this._set,h),d=this._array.length;(!c||o)&&this._array.push(a),c||(r?this._set.set(a,d):this._set[h]=d)},i.prototype.has=function(a){if(r)return this._set.has(a);var o=t.toSetString(a);return e.call(this._set,o)},i.prototype.indexOf=function(a){if(r){var o=this._set.get(a);if(o>=0)return o}else{var h=t.toSetString(a);if(e.call(this._set,h))return this._set[h]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},ql.ArraySet=i,ql}var jl={},Pm;function Jx(){if(Pm)return jl;Pm=1;var t=si();function e(i,n){var a=i.generatedLine,o=n.generatedLine,h=i.generatedColumn,c=n.generatedColumn;return o>a||o==a&&c>=h||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,a){this._array.forEach(n,a)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},jl.MappingList=r,jl}var Am;function Cm(){if(Am)return Ul;Am=1;var t=Em(),e=si(),r=_m().ArraySet,i=Jx().MappingList;function n(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(o){var h=o.sourceRoot,c=new n({file:o.file,sourceRoot:h});return o.eachMapping(function(d){var f={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(f.source=d.source,h!=null&&(f.source=e.relative(h,f.source)),f.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(f.name=d.name)),c.addMapping(f)}),o.sources.forEach(function(d){var f=d;h!==null&&(f=e.relative(h,d)),c._sources.has(f)||c._sources.add(f);var m=o.sourceContentFor(d);m!=null&&c.setSourceContent(d,m)}),c},n.prototype.addMapping=function(o){var h=e.getArg(o,"generated"),c=e.getArg(o,"original",null),d=e.getArg(o,"source",null),f=e.getArg(o,"name",null);this._skipValidation||this._validateMapping(h,c,d,f),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:d,name:f})},n.prototype.setSourceContent=function(o,h){var c=o;this._sourceRoot!=null&&(c=e.relative(this._sourceRoot,c)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(c)]=h):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(o,h,c){var d=h;if(h==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=o.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,g=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var x=o.originalPositionFor({line:b.originalLine,column:b.originalColumn});x.source!=null&&(b.source=x.source,c!=null&&(b.source=e.join(c,b.source)),f!=null&&(b.source=e.relative(f,b.source)),b.originalLine=x.line,b.originalColumn=x.column,x.name!=null&&(b.name=x.name))}var v=b.source;v!=null&&!m.has(v)&&m.add(v);var y=b.name;y!=null&&!g.has(y)&&g.add(y)},this),this._sources=m,this._names=g,o.sources.forEach(function(b){var x=o.sourceContentFor(b);x!=null&&(c!=null&&(b=e.join(c,b)),f!=null&&(b=e.relative(f,b)),this.setSourceContent(b,x))},this)},n.prototype._validateMapping=function(o,h,c,d){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new 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(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!h&&!c&&!d)){if(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&c)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:c,original:h,name:d}))}},n.prototype._serializeMappings=function(){for(var o=0,h=1,c=0,d=0,f=0,m=0,g="",b,x,v,y,T=this._mappings.toArray(),E=0,C=T.length;E<C;E++){if(x=T[E],b="",x.generatedLine!==h)for(o=0;x.generatedLine!==h;)b+=";",h++;else if(E>0){if(!e.compareByGeneratedPositionsInflated(x,T[E-1]))continue;b+=","}b+=t.encode(x.generatedColumn-o),o=x.generatedColumn,x.source!=null&&(y=this._sources.indexOf(x.source),b+=t.encode(y-m),m=y,b+=t.encode(x.originalLine-1-d),d=x.originalLine-1,b+=t.encode(x.originalColumn-c),c=x.originalColumn,x.name!=null&&(v=this._names.indexOf(x.name),b+=t.encode(v-f),f=v)),g+=b}return g},n.prototype._generateSourcesContent=function(o,h){return o.map(function(c){if(!this._sourcesContents)return null;h!=null&&(c=e.relative(h,c));var d=e.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},Ul.SourceMapGenerator=n,Ul}var ii={},Vl={},Im;function Yx(){return Im||(Im=1,(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,a,o,h){var c=Math.floor((i-r)/2)+r,d=o(n,a[c],!0);return d===0?c:d>0?i-c>1?e(c,i,n,a,o,h):h==t.LEAST_UPPER_BOUND?i<a.length?i:-1:c:c-r>1?e(r,c,n,a,o,h):h==t.LEAST_UPPER_BOUND?c:r<0?-1:r}t.search=function(i,n,a,o){if(n.length===0)return-1;var h=e(-1,n.length,i,n,a,o||t.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&a(n[h],n[h-1],!0)===0;)--h;return h}})(Vl)),Vl}var Gl={},Nm;function Qx(){if(Nm)return Gl;Nm=1;function t(i,n,a){var o=i[n];i[n]=i[a],i[a]=o}function e(i,n){return Math.round(i+Math.random()*(n-i))}function r(i,n,a,o){if(a<o){var h=e(a,o),c=a-1;t(i,h,o);for(var d=i[o],f=a;f<o;f++)n(i[f],d)<=0&&(c+=1,t(i,c,f));t(i,c+1,f);var m=c+1;r(i,n,a,m-1),r(i,n,m+1,o)}}return Gl.quickSort=function(i,n){r(i,n,0,i.length-1)},Gl}var Om;function Zx(){if(Om)return ii;Om=1;var t=si(),e=Yx(),r=_m().ArraySet,i=Em(),n=Qx().quickSort;function a(d,f){var m=d;return typeof d=="string"&&(m=t.parseSourceMapInput(d)),m.sections!=null?new c(m,f):new o(m,f)}a.fromSourceMap=function(d,f){return o.fromSourceMap(d,f)},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(f,m){var g=f.charAt(m);return g===";"||g===","},a.prototype._parseMappings=function(f,m){throw new 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(f,m,g){var b=m||null,x=g||a.GENERATED_ORDER,v;switch(x){case a.GENERATED_ORDER:v=this._generatedMappings;break;case a.ORIGINAL_ORDER:v=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var y=this.sourceRoot;v.map(function(T){var E=T.source===null?null:this._sources.at(T.source);return E=t.computeSourceURL(y,E,this._sourceMapURL),{source:E,generatedLine:T.generatedLine,generatedColumn:T.generatedColumn,originalLine:T.originalLine,originalColumn:T.originalColumn,name:T.name===null?null:this._names.at(T.name)}},this).forEach(f,b)},a.prototype.allGeneratedPositionsFor=function(f){var m=t.getArg(f,"line"),g={source:t.getArg(f,"source"),originalLine:m,originalColumn:t.getArg(f,"column",0)};if(g.source=this._findSourceIndex(g.source),g.source<0)return[];var b=[],x=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(x>=0){var v=this._originalMappings[x];if(f.column===void 0)for(var y=v.originalLine;v&&v.originalLine===y;)b.push({line:t.getArg(v,"generatedLine",null),column:t.getArg(v,"generatedColumn",null),lastColumn:t.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++x];else for(var T=v.originalColumn;v&&v.originalLine===m&&v.originalColumn==T;)b.push({line:t.getArg(v,"generatedLine",null),column:t.getArg(v,"generatedColumn",null),lastColumn:t.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++x]}return b},ii.SourceMapConsumer=a;function o(d,f){var m=d;typeof d=="string"&&(m=t.parseSourceMapInput(d));var g=t.getArg(m,"version"),b=t.getArg(m,"sources"),x=t.getArg(m,"names",[]),v=t.getArg(m,"sourceRoot",null),y=t.getArg(m,"sourcesContent",null),T=t.getArg(m,"mappings"),E=t.getArg(m,"file",null);if(g!=this._version)throw new Error("Unsupported version: "+g);v&&(v=t.normalize(v)),b=b.map(String).map(t.normalize).map(function(C){return v&&t.isAbsolute(v)&&t.isAbsolute(C)?t.relative(v,C):C}),this._names=r.fromArray(x.map(String),!0),this._sources=r.fromArray(b,!0),this._absoluteSources=this._sources.toArray().map(function(C){return t.computeSourceURL(v,C,f)}),this.sourceRoot=v,this.sourcesContent=y,this._mappings=T,this._sourceMapURL=f,this.file=E}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(d){var f=d;if(this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f)),this._sources.has(f))return this._sources.indexOf(f);var m;for(m=0;m<this._absoluteSources.length;++m)if(this._absoluteSources[m]==d)return m;return-1},o.fromSourceMap=function(f,m){var g=Object.create(o.prototype),b=g._names=r.fromArray(f._names.toArray(),!0),x=g._sources=r.fromArray(f._sources.toArray(),!0);g.sourceRoot=f._sourceRoot,g.sourcesContent=f._generateSourcesContent(g._sources.toArray(),g.sourceRoot),g.file=f._file,g._sourceMapURL=m,g._absoluteSources=g._sources.toArray().map(function(L){return t.computeSourceURL(g.sourceRoot,L,m)});for(var v=f._mappings.toArray().slice(),y=g.__generatedMappings=[],T=g.__originalMappings=[],E=0,C=v.length;E<C;E++){var N=v[E],A=new h;A.generatedLine=N.generatedLine,A.generatedColumn=N.generatedColumn,N.source&&(A.source=x.indexOf(N.source),A.originalLine=N.originalLine,A.originalColumn=N.originalColumn,N.name&&(A.name=b.indexOf(N.name)),T.push(A)),y.push(A)}return n(g.__originalMappings,t.compareByOriginalPositions),g},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(f,m){for(var g=1,b=0,x=0,v=0,y=0,T=0,E=f.length,C=0,N={},A={},L=[],R=[],w,I,k,M,z;C<E;)if(f.charAt(C)===";")g++,C++,b=0;else if(f.charAt(C)===",")C++;else{for(w=new h,w.generatedLine=g,M=C;M<E&&!this._charIsMappingSeparator(f,M);M++);if(I=f.slice(C,M),k=N[I],k)C+=I.length;else{for(k=[];C<M;)i.decode(f,C,A),z=A.value,C=A.rest,k.push(z);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");N[I]=k}w.generatedColumn=b+k[0],b=w.generatedColumn,k.length>1&&(w.source=y+k[1],y+=k[1],w.originalLine=x+k[2],x=w.originalLine,w.originalLine+=1,w.originalColumn=v+k[3],v=w.originalColumn,k.length>4&&(w.name=T+k[4],T+=k[4])),R.push(w),typeof w.originalLine=="number"&&L.push(w)}n(R,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=R,n(L,t.compareByOriginalPositions),this.__originalMappings=L},o.prototype._findMapping=function(f,m,g,b,x,v){if(f[g]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+f[g]);if(f[b]<0)throw new TypeError("Column must be greater than or equal to 0, got "+f[b]);return e.search(f,m,x,v)},o.prototype.computeColumnSpans=function(){for(var f=0;f<this._generatedMappings.length;++f){var m=this._generatedMappings[f];if(f+1<this._generatedMappings.length){var g=this._generatedMappings[f+1];if(m.generatedLine===g.generatedLine){m.lastGeneratedColumn=g.generatedColumn-1;continue}}m.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(f){var m={generatedLine:t.getArg(f,"line"),generatedColumn:t.getArg(f,"column")},g=this._findMapping(m,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(f,"bias",a.GREATEST_LOWER_BOUND));if(g>=0){var b=this._generatedMappings[g];if(b.generatedLine===m.generatedLine){var x=t.getArg(b,"source",null);x!==null&&(x=this._sources.at(x),x=t.computeSourceURL(this.sourceRoot,x,this._sourceMapURL));var v=t.getArg(b,"name",null);return v!==null&&(v=this._names.at(v)),{source:x,line:t.getArg(b,"originalLine",null),column:t.getArg(b,"originalColumn",null),name:v}}}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(f){return f==null}):!1},o.prototype.sourceContentFor=function(f,m){if(!this.sourcesContent)return null;var g=this._findSourceIndex(f);if(g>=0)return this.sourcesContent[g];var b=f;this.sourceRoot!=null&&(b=t.relative(this.sourceRoot,b));var x;if(this.sourceRoot!=null&&(x=t.urlParse(this.sourceRoot))){var v=b.replace(/^file:\/\//,"");if(x.scheme=="file"&&this._sources.has(v))return this.sourcesContent[this._sources.indexOf(v)];if((!x.path||x.path=="/")&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}if(m)return null;throw new Error('"'+b+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(f){var m=t.getArg(f,"source");if(m=this._findSourceIndex(m),m<0)return{line:null,column:null,lastColumn:null};var g={source:m,originalLine:t.getArg(f,"line"),originalColumn:t.getArg(f,"column")},b=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(f,"bias",a.GREATEST_LOWER_BOUND));if(b>=0){var x=this._originalMappings[b];if(x.source===g.source)return{line:t.getArg(x,"generatedLine",null),column:t.getArg(x,"generatedColumn",null),lastColumn:t.getArg(x,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ii.BasicSourceMapConsumer=o;function c(d,f){var m=d;typeof d=="string"&&(m=t.parseSourceMapInput(d));var g=t.getArg(m,"version"),b=t.getArg(m,"sections");if(g!=this._version)throw new Error("Unsupported version: "+g);this._sources=new r,this._names=new r;var x={line:-1,column:0};this._sections=b.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var y=t.getArg(v,"offset"),T=t.getArg(y,"line"),E=t.getArg(y,"column");if(T<x.line||T===x.line&&E<x.column)throw new Error("Section offsets must be ordered and non-overlapping.");return x=y,{generatedOffset:{generatedLine:T+1,generatedColumn:E+1},consumer:new a(t.getArg(v,"map"),f)}})}return c.prototype=Object.create(a.prototype),c.prototype.constructor=a,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var d=[],f=0;f<this._sections.length;f++)for(var m=0;m<this._sections[f].consumer.sources.length;m++)d.push(this._sections[f].consumer.sources[m]);return d}}),c.prototype.originalPositionFor=function(f){var m={generatedLine:t.getArg(f,"line"),generatedColumn:t.getArg(f,"column")},g=e.search(m,this._sections,function(x,v){var y=x.generatedLine-v.generatedOffset.generatedLine;return y||x.generatedColumn-v.generatedOffset.generatedColumn}),b=this._sections[g];return b?b.consumer.originalPositionFor({line:m.generatedLine-(b.generatedOffset.generatedLine-1),column:m.generatedColumn-(b.generatedOffset.generatedLine===m.generatedLine?b.generatedOffset.generatedColumn-1:0),bias:f.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(f){return f.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(f,m){for(var g=0;g<this._sections.length;g++){var b=this._sections[g],x=b.consumer.sourceContentFor(f,!0);if(x)return x}if(m)return null;throw new Error('"'+f+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(f){for(var m=0;m<this._sections.length;m++){var g=this._sections[m];if(g.consumer._findSourceIndex(t.getArg(f,"source"))!==-1){var b=g.consumer.generatedPositionFor(f);if(b){var x={line:b.line+(g.generatedOffset.generatedLine-1),column:b.column+(g.generatedOffset.generatedLine===b.line?g.generatedOffset.generatedColumn-1:0)};return x}}}return{line:null,column:null}},c.prototype._parseMappings=function(f,m){this.__generatedMappings=[],this.__originalMappings=[];for(var g=0;g<this._sections.length;g++)for(var b=this._sections[g],x=b.consumer._generatedMappings,v=0;v<x.length;v++){var y=x[v],T=b.consumer._sources.at(y.source);T=t.computeSourceURL(b.consumer.sourceRoot,T,this._sourceMapURL),this._sources.add(T),T=this._sources.indexOf(T);var E=null;y.name&&(E=b.consumer._names.at(y.name),this._names.add(E),E=this._names.indexOf(E));var C={source:T,generatedLine:y.generatedLine+(b.generatedOffset.generatedLine-1),generatedColumn:y.generatedColumn+(b.generatedOffset.generatedLine===y.generatedLine?b.generatedOffset.generatedColumn-1:0),originalLine:y.originalLine,originalColumn:y.originalColumn,name:E};this.__generatedMappings.push(C),typeof C.originalLine=="number"&&this.__originalMappings.push(C)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},ii.IndexedSourceMapConsumer=c,ii}var zl={},km;function eE(){if(km)return zl;km=1;var t=Cm().SourceMapGenerator,e=si(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function a(o,h,c,d,f){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=h==null?null:h,this.source=c==null?null:c,this.name=f==null?null:f,this[n]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(h,c,d){var f=new a,m=h.split(r),g=0,b=function(){var E=N(),C=N()||"";return E+C;function N(){return g<m.length?m[g++]:void 0}},x=1,v=0,y=null;return c.eachMapping(function(E){if(y!==null)if(x<E.generatedLine)T(y,b()),x++,v=0;else{var C=m[g]||"",N=C.substr(0,E.generatedColumn-v);m[g]=C.substr(E.generatedColumn-v),v=E.generatedColumn,T(y,N),y=E;return}for(;x<E.generatedLine;)f.add(b()),x++;if(v<E.generatedColumn){var C=m[g]||"";f.add(C.substr(0,E.generatedColumn)),m[g]=C.substr(E.generatedColumn),v=E.generatedColumn}y=E},this),g<m.length&&(y&&T(y,b()),f.add(m.splice(g).join(""))),c.sources.forEach(function(E){var C=c.sourceContentFor(E);C!=null&&(d!=null&&(E=e.join(d,E)),f.setSourceContent(E,C))}),f;function T(E,C){if(E===null||E.source===void 0)f.add(C);else{var N=d?e.join(d,E.source):E.source;f.add(new a(E.originalLine,E.originalColumn,N,C,E.name))}}},a.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(c){this.add(c)},this);else if(h[n]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.prepend=function(h){if(Array.isArray(h))for(var c=h.length-1;c>=0;c--)this.prepend(h[c]);else if(h[n]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.walk=function(h){for(var c,d=0,f=this.children.length;d<f;d++)c=this.children[d],c[n]?c.walk(h):c!==""&&h(c,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(h){var c,d,f=this.children.length;if(f>0){for(c=[],d=0;d<f-1;d++)c.push(this.children[d]),c.push(h);c.push(this.children[d]),this.children=c}return this},a.prototype.replaceRight=function(h,c){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(h,c):typeof d=="string"?this.children[this.children.length-1]=d.replace(h,c):this.children.push("".replace(h,c)),this},a.prototype.setSourceContent=function(h,c){this.sourceContents[e.toSetString(h)]=c},a.prototype.walkSourceContents=function(h){for(var c=0,d=this.children.length;c<d;c++)this.children[c][n]&&this.children[c].walkSourceContents(h);for(var f=Object.keys(this.sourceContents),c=0,d=f.length;c<d;c++)h(e.fromSetString(f[c]),this.sourceContents[f[c]])},a.prototype.toString=function(){var h="";return this.walk(function(c){h+=c}),h},a.prototype.toStringWithSourceMap=function(h){var c={code:"",line:1,column:0},d=new t(h),f=!1,m=null,g=null,b=null,x=null;return this.walk(function(v,y){c.code+=v,y.source!==null&&y.line!==null&&y.column!==null?((m!==y.source||g!==y.line||b!==y.column||x!==y.name)&&d.addMapping({source:y.source,original:{line:y.line,column:y.column},generated:{line:c.line,column:c.column},name:y.name}),m=y.source,g=y.line,b=y.column,x=y.name,f=!0):f&&(d.addMapping({generated:{line:c.line,column:c.column}}),m=null,f=!1);for(var T=0,E=v.length;T<E;T++)v.charCodeAt(T)===i?(c.line++,c.column=0,T+1===E?(m=null,f=!1):f&&d.addMapping({source:y.source,original:{line:y.line,column:y.column},generated:{line:c.line,column:c.column},name:y.name})):c.column++}),this.walkSourceContents(function(v,y){d.setSourceContent(v,y)}),{code:c.code,map:d}},zl.SourceNode=a,zl}var Lm;function tE(){return Lm||(Lm=1,ri.SourceMapGenerator=Cm().SourceMapGenerator,ri.SourceMapConsumer=Zx().SourceMapConsumer,ri.SourceNode=eE().SourceNode),ri}var Wl,Mm;function rE(){if(Mm)return Wl;Mm=1;var t=tE(),e=t.SourceMapConsumer,r=t.SourceMapGenerator;Wl=i;function i(n,a){if(!n)return a;if(!a)return n;var o=new e(n),h=new e(a),c=new r;h.eachMapping(function(f){if(f.originalLine!=null){var m=o.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&c.addMapping({original:{line:m.line,column:m.column},generated:{line:f.generatedLine,column:f.generatedColumn},source:m.source,name:m.name})}});var d=[o,h];return d.forEach(function(f){f.sources.forEach(function(m){c._sources.add(m);var g=f.sourceContentFor(m);g!=null&&c.setSourceContent(m,g)})}),c._sourceRoot=n.sourceRoot,c._file=n.file,JSON.parse(c.toString())}return Wl}var sE=rE(),Hl=$i(sE),iE=Object.defineProperty,nE=Object.defineProperties,aE=Object.getOwnPropertyDescriptors,Rm=Object.getOwnPropertySymbols,oE=Object.prototype.hasOwnProperty,uE=Object.prototype.propertyIsEnumerable,Dm=(t,e,r)=>e in t?iE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ba=(t,e)=>{for(var r in e||(e={}))oE.call(e,r)&&Dm(t,r,e[r]);if(Rm)for(var r of Rm(e))uE.call(e,r)&&Dm(t,r,e[r]);return t},va=(t,e)=>nE(t,aE(e));const Fm=(t,e,r,i=require)=>{const n=i("sass"),{compileString:a,renderSync:o}=n,h=Um(t,r.filename,r.additionalData);let c,d,f;try{if(a){const{pathToFileURL:m,fileURLToPath:g}=i("url"),b=a(h,va(ba({},r),{url:m(r.filename),sourceMap:!!e}));c=b.css,d=b.loadedUrls.map(x=>g(x)),f=e?b.sourceMap:void 0}else{const m=o(va(ba({},r),{data:h,file:r.filename,outFile:r.filename,sourceMap:!!e}));c=m.css.toString(),d=m.stats.includedFiles,f=e?JSON.parse(m.map.toString()):void 0}return e?{code:c,errors:[],dependencies:d,map:Hl(e,f)}:{code:c,errors:[],dependencies:d}}catch(m){return{code:"",errors:[m],dependencies:[]}}},lE=(t,e,r,i)=>Fm(t,e,va(ba({},r),{indentedSyntax:!0}),i),cE=(t,e,r,i=require)=>{const n=i("less");let a,o=null;if(n.render(Um(t,r.filename,r.additionalData),va(ba({},r),{syncImport:!0}),(c,d)=>{o=c,a=d}),o)return{code:"",errors:[o],dependencies:[]};const h=a.imports;return e?{code:a.css.toString(),map:Hl(e,a.map),errors:[],dependencies:h}:{code:a.css.toString(),errors:[],dependencies:h}},Bm=(t,e,r,i=require)=>{const n=i("stylus");try{const a=n(t,r);e&&a.set("sourcemap",{inline:!1,comment:!1});const o=a.render(),h=a.deps();return e?{code:o,map:Hl(e,a.sourcemap),errors:[],dependencies:h}:{code:o,errors:[],dependencies:h}}catch(a){return{code:"",errors:[a],dependencies:[]}}};function Um(t,e,r){return r?kc(r)?r(t,e):r+t:t}const hE={less:cE,sass:lE,scss:Fm,styl:Bm,stylus:Bm};var fE=Object.defineProperty,pE=Object.defineProperties,dE=Object.getOwnPropertyDescriptors,$m=Object.getOwnPropertySymbols,mE=Object.prototype.hasOwnProperty,gE=Object.prototype.propertyIsEnumerable,qm=(t,e,r)=>e in t?fE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Xl=(t,e)=>{for(var r in e||(e={}))mE.call(e,r)&&qm(t,r,e[r]);if($m)for(var r of $m(e))gE.call(e,r)&&qm(t,r,e[r]);return t},jm=(t,e)=>pE(t,dE(e));function yE(t){return bE(jm(Xl({},t),{isAsync:!1}))}function bE(t){const{filename:e,id:r,scoped:i=!1,trim:n=!0,isProd:a=!1,modules:o=!1,modulesOptions:h={},preprocessLang:c,postcssOptions:d,postcssPlugins:f}=t,m=c&&hE[c],g=m&&vE(t,m),b=g?g.map:t.inMap||t.map,x=g?g.code:t.source,v=r.replace(/^data-v-/,""),y=`data-v-${v}`,T=(f||[]).slice();T.unshift(wf({id:v,isProd:a})),n&&T.push(w0()),i&&T.push(gm(y));let E;if(o)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const C=jm(Xl({},d),{to:e,from:e});b&&(C.map={inline:!1,annotation:!1,prev:b});let N,A,L;const R=new Set(g?g.dependencies:[]);R.delete(e);const w=[];g&&g.errors.length&&w.push(...g.errors);const I=k=>(k.forEach(M=>{M.type==="dependency"&&R.add(M.file)}),R);try{if(N=Ie(T).process(x,C),t.isAsync)return N.then(k=>({code:k.css||"",map:k.map&&k.map.toJSON(),errors:w,modules:E,rawResult:k,dependencies:I(k.messages)})).catch(k=>({code:"",map:void 0,errors:[...w,k],rawResult:void 0,dependencies:R}));I(N.messages),A=N.css,L=N.map}catch(k){w.push(k)}return{code:A||"",map:L&&L.toJSON(),errors:w,rawResult:N,dependencies:R}}function vE(t,e){if(!t.preprocessCustomRequire)throw new 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 e(t.source,t.inMap||t.map,Xl({filename:t.filename},t.preprocessOptions),t.preprocessCustomRequire)}const qt="Unknown";function Kl(t,e){switch(t.type){case"StringLiteral":case"NumericLiteral":return String(t.value);case"Identifier":if(!e)return t.name}}function Vm(t){return t.filter(e=>!!e).join(", ")}function Gm(t){return t.type.endsWith("Literal")}function nt(t,e){return!!(t&&e&&t.type==="CallExpression"&&t.callee.type==="Identifier"&&(typeof e=="string"?t.callee.name===e:e(t.callee.name)))}function hs(t){return t.length>1?`[${t.join(", ")}]`:t[0]}function Jl(t){return t.type==="ImportSpecifier"?t.imported.type==="Identifier"?t.imported.name:t.imported.value:t.type==="ImportNamespaceSpecifier"?"*":"default"}function Br(t){return t.type==="Identifier"?t.name:t.type==="StringLiteral"?t.value:null}const SE=(Qt.posix||Qt).normalize,xE=/\\/g;function zm(t){return SE(t.replace(xE,"/"))}const ni=(Qt.posix||Qt).join,EE=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Wm(t){return EE.test(t)?JSON.stringify(t):t}function Hm(t){for(const e of t)if(e.type==="ExportDefaultDeclaration"&&e.declaration.type==="ObjectExpression")return wE(e.declaration);return{}}function wE(t){const e={};Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of t.properties)if(r.type==="ObjectProperty"&&!r.computed&&r.key.type==="Identifier"){if(r.key.name==="props")for(const i of Ql(r.value))e[i]="props";else if(r.key.name==="inject")for(const i of Ql(r.value))e[i]="options";else if(r.value.type==="ObjectExpression"&&(r.key.name==="computed"||r.key.name==="methods"))for(const i of Yl(r.value))e[i]="options"}else if(r.type==="ObjectMethod"&&r.key.type==="Identifier"&&(r.key.name==="setup"||r.key.name==="data")){for(const i of r.body.body)if(i.type==="ReturnStatement"&&i.argument&&i.argument.type==="ObjectExpression")for(const n of Yl(i.argument))e[n]=r.key.name==="setup"?"setup-maybe-ref":"data"}return e}function Yl(t){const e=[];for(const r of t.properties){if(r.type==="SpreadElement")continue;const i=Kl(r.key,r.computed);i&&e.push(String(i))}return e}function TE(t){const e=[];for(const r of t.elements)r&&r.type==="StringLiteral"&&e.push(r.value);return e}function Ql(t){return t.type==="ArrayExpression"?TE(t):t.type==="ObjectExpression"?Yl(t):[]}const _E=44,PE=59,Xm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Km=new Uint8Array(64),AE=new Uint8Array(128);for(let t=0;t<Xm.length;t++){const e=Xm.charCodeAt(t);Km[t]=e,AE[e]=t}function ai(t,e,r){let i=e-r;i=i<0?-i<<1|1:i<<1;do{let n=i&31;i>>>=5,i>0&&(n|=32),t.write(Km[n])}while(i>0);return e}const Jm=1024*16,Ym=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}};class CE{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Jm)}write(e){const{buffer:r}=this;r[this.pos++]=e,this.pos===Jm&&(this.out+=Ym.decode(r),this.pos=0)}flush(){const{buffer:e,out:r,pos:i}=this;return i>0?r+Ym.decode(e.subarray(0,i)):r}}function IE(t){const e=new CE;let r=0,i=0,n=0,a=0;for(let o=0;o<t.length;o++){const h=t[o];if(o>0&&e.write(PE),h.length===0)continue;let c=0;for(let d=0;d<h.length;d++){const f=h[d];d>0&&e.write(_E),c=ai(e,f[0],c),f.length!==1&&(r=ai(e,f[1],r),i=ai(e,f[2],i),n=ai(e,f[3],n),f.length!==4&&(a=ai(e,f[4],a)))}}return e.flush()}class Sa{constructor(e){this.bits=e instanceof Sa?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class oi{constructor(e,r,i){this.start=e,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new oi(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=r,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,this.edited=!1)}split(e){const r=e-this.start,i=this.original.slice(0,r),n=this.original.slice(r);this.original=i;const a=new oi(e,this.end,n);return a.outro=this.outro,this.outro="",this.end=e,this.edited?(a.edit("",!1),this.content=""):this.content=i,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;const r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,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;const r=this.content.replace(e,"");if(r.length){if(r!==this.content){const i=this.split(this.end-r.length);this.edited&&i.edit(r,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 NE(){return typeof globalThis!="undefined"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const OE=NE();class kE{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=IE(e.mappings),typeof e.x_google_ignoreList!="undefined"&&(this.x_google_ignoreList=e.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+OE(this.toString())}}function LE(t){const e=t.split(`
|
|
107
|
-
`),
|
|
108
|
-
`),r=[];for(let i=0,n=0;i<e.length;i++)r.push(n),n+=e[i].length+1;return function(n){let a=0,o=r.length;for(;a<o;){const d=a+o>>1;n<r[d]?o=d:a=d+1}const h=a-1,c=n-r[h];return{line:h,column:c}}}const FE=/\w/;class BE{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,i,n){if(r.length){const a=r.length-1;let o=r.indexOf(`
|
|
109
|
-
`,0),h=-1;for(;o>=0&&a>o;){const d=[this.generatedCodeColumn,e,i.line,i.column];n>=0&&d.push(n),this.rawSegments.push(d),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=o,o=r.indexOf(`
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
`,
|
|
114
|
-
`)
|
|
115
|
-
|
|
88
|
+
`)&&(t=`\r
|
|
89
|
+
`),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&&(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]===`
|
|
90
|
+
`;)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(`
|
|
91
|
+
`),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):!0: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):!0}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()):!0: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 U?U.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 Vg=u,Vg}var Wg,Gg;function Kg(){if(Gg)return Wg;Gg=1;let e=hg(),t=og(),n=lg(),r=jg(),i=Lg(),a=zh(),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}}class c{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];for(i[0]===`;`&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||s(e)),r.source.end.offset++;e[0][0]!==`word`;)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop=``;e.length;){let t=e[0][0];if(t===`:`||t===`space`||t===`comment`)break;r.prop+=e.shift()[1]}r.raws.between=``;let a;for(;e.length;)if(a=e.shift(),a[0]===`:`){r.raws.between+=a[1];break}else a[0]===`word`&&/\w/.test(a[1])&&this.unknownWord([a]),r.raws.between+=a[1];(r.prop[0]===`_`||r.prop[0]===`*`)&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],c;for(;e.length&&(c=e[0][0],!(c!==`space`&&c!==`comment`));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(a=e[t],a[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(a[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(a[0]!==`space`&&a[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(r.raws.between+=o.map(e=>e[1]).join(``),o=[]),this.raw(r,`value`,o.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||(i=c),a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||(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 Wg=c,Wg}var qg,Jg;function Yg(){if(Jg)return qg;Jg=1;let e=fg(),t=Og(),n=Kg();function r(e,r){let i=new n(new t(e,r));try{i.parse()}catch(e){throw lu.env.NODE_ENV!==`production`&&e.name===`CssSyntaxError`&&r&&r.from&&(/\.scss$/i.test(r.from)?e.message+=`
|
|
92
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(r.from)?e.message+=`
|
|
93
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(r.from)&&(e.message+=`
|
|
94
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),e}return i.root}return qg=r,r.default=r,e.registerParse(r),qg}var Xg,Zg;function Qg(){if(Zg)return Xg;Zg=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 Xg=e,e.default=e,Xg}var $g,e_;function t_(){if(e_)return $g;e_=1;let e=Qg();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 $g=t,t.default=t,$g}var n_,r_;function i_(){if(r_)return n_;r_=1;let e={};return n_=function(t){e[t]||(e[t]=!0,typeof console<`u`&&console.warn&&console.warn(t))},n_}var a_,o_;function s_(){if(o_)return a_;o_=1;let e=fg(),t=vg(),n=Ug(),r=Yg(),i=t_(),o=jg(),s=Zh(),{isClean:c,my:u}=eg(),d=i_(),f={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},p={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},m={Once:!0,postcssPlugin:!0,prepare:!0};function h(e){return typeof e==`object`&&typeof e.then==`function`}function g(e){let t=!1,n=f[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 _(e){let t;return t=e.type===`document`?[`Document`,0,`DocumentExit`]:e.type===`root`?[`Root`,0,`RootExit`]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){return e[c]=!1,e.nodes&&e.nodes.forEach(e=>v(e)),e}let y={};class b{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,o){this.stringified=!1,this.processed=!1;let s;if(typeof n==`object`&&n&&(n.type===`root`||n.type===`document`))s=v(n);else if(n instanceof b||n instanceof i)s=v(n.root),n.map&&(o.map===void 0&&(o.map={}),o.map.inline||(o.map.inline=!1),o.map.prev=n.map);else{let t=r;o.syntax&&(t=o.syntax.parse),o.parser&&(t=o.parser),t.parse&&(t=t.parse);try{s=t(n,o)}catch(e){this.processed=!0,this.error=e}s&&!s[u]&&e.rebuild(s)}this.result=new i(t,s,o),this.helpers=a(a({},y),{},{postcss:y,result:this.result}),this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?a(a({},e),e.prepare(this.result)):e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(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&&lu.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(!p[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!m[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}runAsync(){var e=this;return l(function*(){e.plugin=0;for(let t=0;t<e.plugins.length;t++){let n=e.plugins[t],r=e.runOnRoot(n);if(h(r))try{yield r}catch(t){throw e.handleError(t)}}if(e.prepareVisitors(),e.hasListener){let t=e.result.root;for(;!t[c];){t[c]=!0;let n=[_(t)];for(;n.length>0;){let t=e.visitTick(n);if(h(t))try{yield t}catch(t){let r=n[n.length-1].node;throw e.handleError(t,r)}}}if(e.listeners.OnceExit)for(let[n,r]of e.listeners.OnceExit){e.result.lastPlugin=n;try{if(t.type===`document`){let n=t.nodes.map(t=>r(t,e.helpers));yield Promise.all(n)}else yield r(t,e.helpers)}catch(t){throw e.handleError(t)}}}return e.processed=!0,e.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 h(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=s;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new n(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[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(h(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[c];)e[c]=!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 lu.env.NODE_ENV!==`production`&&(`from`in this.opts||d("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(h(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[c]){i[c]=!0,e.push(_(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[c]=!0,t.iterator=n.getIterator());return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[c]=!0;let t=g(e);for(let n of t)if(n===0)e.nodes&&e.each(e=>{e[c]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return b.registerPostcss=e=>{y=e},a_=b,b.default=b,o.registerLazyResult(b),t.registerLazyResult(b),a_}var c_,l_;function u_(){if(l_)return c_;l_=1;let e=Ug(),t=Yg(),n=t_(),r=Zh(),i=i_();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 lu.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 c_=a,a.default=a,c_}var d_,f_;function p_(){if(f_)return d_;f_=1;let e=vg(),t=s_(),n=u_(),r=jg();class i{constructor(e=[]){this.version=`8.5.8`,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(lu.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 d_=i,i.default=i,r.registerProcessor(i),e.registerProcessor(i),d_}var m_,h_;function g_(){if(h_)return m_;h_=1;let e=hg(),t=og(),n=fg(),r=Gh(),i=lg(),a=vg(),o=Bg(),s=Og(),c=s_(),l=Pg(),u=rg(),d=Yg(),f=p_(),p=t_(),m=jg(),h=Lg(),g=Zh(),_=Qg();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:
|
|
95
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),lu.env.LANG&&lu.env.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
96
|
+
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||(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),m_=v,v.default=v,m_}var Y=qr(g_());Y.stringify,Y.fromJSON,Y.plugin,Y.parse,Y.list,Y.document,Y.comment,Y.atRule,Y.rule,Y.decl,Y.root,Y.CssSyntaxError,Y.Declaration,Y.Container,Y.Processor,Y.Document,Y.Comment,Y.Warning,Y.AtRule,Y.Result,Y.Input;var __=Y.Rule;Y.Root,Y.Node;var v_=()=>({postcssPlugin:`vue-sfc-trim`,Once(e){e.walk(({type:e,raws:t})=>{(e===`rule`||e===`atrule`)&&(t.before&&(t.before=`
|
|
97
|
+
`),`after`in t&&t.after&&(t.after=`
|
|
98
|
+
`))})}});v_.postcss=!0;var y_={exports:{}},b_={exports:{}},x_={exports:{}},S_={exports:{}},C_={exports:{}},w_={exports:{}},T_={},E_={exports:{}},D_;function O_(){return D_?E_.exports:(D_=1,(function(e,t){t.__esModule=!0,t.default=i;function n(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 r=/\\/;function i(e){if(!r.test(e))return e;for(var t=``,i=0;i<e.length;i++){if(e[i]===`\\`){var a=n(e.slice(i+1,i+7));if(a!==void 0){t+=a[0],i+=a[1];continue}if(e[i+1]===`\\`){t+=`\\`,i++;continue}e.length===i+1&&(t+=e[i]);continue}t+=e[i]}return t}e.exports=t.default})(E_,E_.exports),E_.exports)}var k_={exports:{}},A_;function j_(){return A_?k_.exports:(A_=1,(function(e,t){t.__esModule=!0,t.default=n;function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();if(!e[i])return;e=e[i]}return e}e.exports=t.default})(k_,k_.exports),k_.exports)}var M_={exports:{}},N_;function P_(){return N_?M_.exports:(N_=1,(function(e,t){t.__esModule=!0,t.default=n;function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(;n.length>0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}}e.exports=t.default})(M_,M_.exports),M_.exports)}var F_={exports:{}},I_;function L_(){return I_?F_.exports:(I_=1,(function(e,t){t.__esModule=!0,t.default=n;function n(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}e.exports=t.default})(F_,F_.exports),F_.exports)}var R_;function z_(){if(R_)return T_;R_=1,T_.__esModule=!0,T_.unesc=T_.stripComments=T_.getProp=T_.ensureObject=void 0,T_.unesc=e(O_()).default,T_.getProp=e(j_()).default,T_.ensureObject=e(P_()).default,T_.stripComments=e(L_()).default;function e(e){return e&&e.__esModule?e:{default:e}}return T_}var B_;function V_(){return B_?w_.exports:(B_=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=z_();function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=function e(t,n){if(typeof t!=`object`||!t)return t;var r=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];i===`parent`&&typeof a==`object`?n&&(r[i]=n):a instanceof Array?r[i]=a.map(function(t){return e(t,r)}):r[i]=e(a,r)}return r};t.default=function(){function e(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||``}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(e){e===void 0&&(e={});var t=a(this);for(var n in e)t[n]=e[n];return t},t.appendToPropertyAndEscape=function(e,t,n){this.raws||(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]},t.setPropertyAndEscape=function(e,t,n){this.raws||(this.raws={}),this[e]=t,this.raws[e]=n},t.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},t.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)},t.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},t.valueToString=function(){return String(this.stringifyProperty(`value`))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join(``)},i(e,[{key:`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(e){(0,n.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.before=e}},{key:`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(e){(0,n.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.after=e}}]),e}(),e.exports=t.default})(w_,w_.exports),w_.exports)}var X={},H_;function U_(){return H_?X:(H_=1,X.__esModule=!0,X.UNIVERSAL=X.TAG=X.STRING=X.SELECTOR=X.ROOT=X.PSEUDO=X.NESTING=X.ID=X.COMMENT=X.COMBINATOR=X.CLASS=X.ATTRIBUTE=void 0,X.TAG=`tag`,X.STRING=`string`,X.SELECTOR=`selector`,X.ROOT=`root`,X.PSEUDO=`pseudo`,X.NESTING=`nesting`,X.ID=`id`,X.COMMENT=`comment`,X.COMBINATOR=`combinator`,X.CLASS=`class`,X.ATTRIBUTE=`attribute`,X.UNIVERSAL=`universal`,X)}var W_;function G_(){return W_?C_.exports:(W_=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=o(V_()),r=a(U_());function i(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=c(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
99
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(e,t){if(e){if(typeof e==`string`)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}}function l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}t.default=function(e){f(t,e);function t(t){var n=e.call(this,t)||this;return n.nodes||(n.nodes=[]),n}var n=t.prototype;return n.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},n.at=function(e){return this.nodes[e]},n.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},n.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.removeAll=function(){for(var e=s(this.nodes),t;!(t=e()).done;){var n=t.value;n.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)i.push(arguments[a]);(n=this.nodes).splice.apply(n,[r+1,0,t].concat(i)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],r<o&&(this.indexes[s]=o+arguments.length-1);return this},n.insertBefore=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)i.push(arguments[a]);(n=this.nodes).splice.apply(n,[r,0,t].concat(i)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o+arguments.length-1);return this},n._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.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},n._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.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(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.walk=function(e){return this.each(function(t,n){var r=e(t,n);if(r!==!1&&t.length&&(r=t.walk(e)),r===!1)return!1})},n.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===r.ATTRIBUTE)return e.call(t,n)})},n.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===r.CLASS)return e.call(t,n)})},n.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===r.COMBINATOR)return e.call(t,n)})},n.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===r.COMMENT)return e.call(t,n)})},n.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===r.ID)return e.call(t,n)})},n.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===r.NESTING)return e.call(t,n)})},n.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===r.PSEUDO)return e.call(t,n)})},n.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===r.TAG)return e.call(t,n)})},n.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===r.UNIVERSAL)return e.call(t,n)})},n.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.map=function(e){return this.nodes.map(e)},n.reduce=function(e,t){return this.nodes.reduce(e,t)},n.every=function(e){return this.nodes.every(e)},n.some=function(e){return this.nodes.some(e)},n.filter=function(e){return this.nodes.filter(e)},n.sort=function(e){return this.nodes.sort(e)},n.toString=function(){return this.map(String).join(``)},d(t,[{key:`first`,get:function(){return this.at(0)}},{key:`last`,get:function(){return this.at(this.length-1)}},{key:`length`,get:function(){return this.nodes.length}}]),t}(n.default),e.exports=t.default})(C_,C_.exports),C_.exports)}var K_;function q_(){return K_?S_.exports:(K_=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(G_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}t.default=function(e){s(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.ROOT,n}var n=t.prototype;return n.toString=function(){var e=this.reduce(function(e,t){return e.push(String(t)),e},[]).join(`,`);return this.trailingComma?e+`,`:e},n.error=function(e,t){return this._error?this._error(e,t):Error(e)},o(t,[{key:`errorGenerator`,set:function(e){this._error=e}}]),t}(n.default),e.exports=t.default})(S_,S_.exports),S_.exports)}var J_={exports:{}},Y_;function X_(){return Y_?J_.exports:(Y_=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(G_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.SELECTOR,n}return t}(n.default),e.exports=t.default})(J_,J_.exports),J_.exports)}var Z_={exports:{}},Q_,$_;function ev(){if($_)return Q_;$_=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`,Q_=a,Q_}var tv;function nv(){return tv?Z_.exports:(tv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=o(ev()),r=z_(),i=o(V_()),a=U_();function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}t.default=function(e){l(t,e);function t(t){var n=e.call(this,t)||this;return n.type=a.CLASS,n._constructed=!0,n}var i=t.prototype;return i.valueToString=function(){return`.`+e.prototype.valueToString.call(this)},c(t,[{key:`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}}]),t}(i.default),e.exports=t.default})(Z_,Z_.exports),Z_.exports)}var rv={exports:{}},iv;function av(){return iv?rv.exports:(iv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(V_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.COMMENT,n}return t}(n.default),e.exports=t.default})(rv,rv.exports),rv.exports)}var ov={exports:{}},sv;function cv(){return sv?ov.exports:(sv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(V_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.ID,n}var n=t.prototype;return n.valueToString=function(){return`#`+e.prototype.valueToString.call(this)},t}(n.default),e.exports=t.default})(ov,ov.exports),ov.exports)}var lv={exports:{}},uv={exports:{}},dv;function fv(){return dv?uv.exports:(dv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=a(ev()),r=z_(),i=a(V_());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}t.default=function(e){c(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.qualifiedName=function(e){return this.namespace?this.namespaceString+`|`+e:e},i.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},s(t,[{key:`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)}},{key:`ns`,get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:`namespaceString`,get:function(){if(this.namespace){var e=this.stringifyProperty(`namespace`);return e===!0?``:e}else return``}}]),t}(i.default),e.exports=t.default})(uv,uv.exports),uv.exports)}var pv;function mv(){return pv?lv.exports:(pv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(fv()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.TAG,n}return t}(n.default),e.exports=t.default})(lv,lv.exports),lv.exports)}var hv={exports:{}},gv;function _v(){return gv?hv.exports:(gv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(V_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.STRING,n}return t}(n.default),e.exports=t.default})(hv,hv.exports),hv.exports)}var vv={exports:{}},yv;function bv(){return yv?vv.exports:(yv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(G_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.PSEUDO,n}var n=t.prototype;return n.toString=function(){var e=this.length?`(`+this.map(String).join(`,`)+`)`:``;return[this.rawSpaceBefore,this.stringifyProperty(`value`),e,this.rawSpaceAfter].join(``)},t}(n.default),e.exports=t.default})(vv,vv.exports),vv.exports)}var xv={},Sv,Cv;function wv(){return Cv?Sv:(Cv=1,Sv=gh.deprecate,Sv)}var Tv;function Ev(){return Tv?xv:(Tv=1,(function(e){e.__esModule=!0,e.default=void 0,e.unescapeValue=g;var t=o(ev()),n=o(O_()),r=o(fv()),i=U_(),a;function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}var d=wv(),f=/^('|")([^]*)\1$/,p=d(function(){},`Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`),m=d(function(){},`Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`),h=d(function(){},`Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);function g(e){var t=!1,r=null,i=e,a=i.match(f);return a&&(r=a[1],i=a[2]),i=(0,n.default)(i),i!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:r}}function _(e){if(e.quoteMark!==void 0||e.value===void 0)return e;h();var t=g(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}var v=function(e){l(n,e);function n(t){var n;return t===void 0&&(t={}),n=e.call(this,_(t))||this,n.type=i.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:d(function(){return n.value},`attr.raws.unquoted is deprecated. Call attr.value instead.`),set:d(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}var r=n.prototype;return r.getQuotedValue=function(e){e===void 0&&(e={});var n=y[this._determineQuoteMark(e)];return(0,t.default)(this._value,n)},r._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},r.setValue=function(e,t){t===void 0&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},r.smartQuoteMark=function(e){var r=this.value,i=r.replace(/[^']/g,``).length,a=r.replace(/[^"]/g,``).length;if(i+a===0){var o=(0,t.default)(r,{isIdentifier:!0});if(o===r)return n.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=y[c];if((0,t.default)(r,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},r.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},r._syncRawValue=function(){var e=(0,t.default)(this._value,y[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},r._handleEscapes=function(e,n){if(this._constructed){var r=(0,t.default)(n,{isIdentifier:!0});r===n?delete this.raws[e]:this.raws[e]=r}},r._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)},r._stringFor=function(e,t,n){t===void 0&&(t=e),n===void 0&&(n=b);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},r.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},r.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=` `),b(t,n)}))),t.push(`]`),t.push(this.rawSpaceAfter),t.join(``)},c(n,[{key:`quoted`,get:function(){var e=this.quoteMark;return e===`'`||e===`"`},set:function(e){m()}},{key:`quoteMark`,get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue())}},{key:`qualifiedAttribute`,get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:`insensitiveFlag`,get:function(){return this.insensitive?`i`:``}},{key:`value`,get:function(){return this._value},set:function(e){if(this._constructed){var t=g(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&p(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:`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}},{key:`attribute`,get:function(){return this._attribute},set:function(e){this._handleEscapes(`attribute`,e),this._attribute=e}}]),n}(r.default);e.default=v,v.NO_QUOTE=null,v.SINGLE_QUOTE=`'`,v.DOUBLE_QUOTE=`"`;var y=(a={"'":{quotes:`single`,wrap:!0},'"':{quotes:`double`,wrap:!0}},a[null]={isIdentifier:!0},a);function b(e,t){return``+t.before+e+t.after}})(xv),xv)}var Dv={exports:{}},Ov;function kv(){return Ov?Dv.exports:(Ov=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(fv()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.UNIVERSAL,n.value=`*`,n}return t}(n.default),e.exports=t.default})(Dv,Dv.exports),Dv.exports)}var Av={exports:{}},jv;function Mv(){return jv?Av.exports:(jv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(V_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.COMBINATOR,n}return t}(n.default),e.exports=t.default})(Av,Av.exports),Av.exports)}var Nv={exports:{}},Pv;function Fv(){return Pv?Nv.exports:(Pv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=i(V_()),r=U_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}t.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.NESTING,n.value=`&`,n}return t}(n.default),e.exports=t.default})(Nv,Nv.exports),Nv.exports)}var Iv={exports:{}},Lv;function Rv(){return Lv?Iv.exports:(Lv=1,(function(e,t){t.__esModule=!0,t.default=n;function n(e){return e.sort(function(e,t){return e-t})}e.exports=t.default})(Iv,Iv.exports),Iv.exports)}var zv={},Z={},Bv;function Vv(){if(Bv)return Z;Bv=1,Z.__esModule=!0,Z.word=Z.tilde=Z.tab=Z.str=Z.space=Z.slash=Z.singleQuote=Z.semicolon=Z.plus=Z.pipe=Z.openSquare=Z.openParenthesis=Z.newline=Z.greaterThan=Z.feed=Z.equals=Z.doubleQuote=Z.dollar=Z.cr=Z.comment=Z.comma=Z.combinator=Z.colon=Z.closeSquare=Z.closeParenthesis=Z.caret=Z.bang=Z.backslash=Z.at=Z.asterisk=Z.ampersand=void 0,Z.ampersand=38,Z.asterisk=42,Z.at=64,Z.comma=44,Z.colon=58,Z.semicolon=59,Z.openParenthesis=40,Z.closeParenthesis=41,Z.openSquare=91,Z.closeSquare=93,Z.dollar=36,Z.tilde=126,Z.caret=94,Z.plus=43,Z.equals=61,Z.pipe=124,Z.greaterThan=62,Z.space=32;var e=39;return Z.singleQuote=e,Z.doubleQuote=34,Z.slash=47,Z.bang=33,Z.backslash=92,Z.cr=13,Z.feed=12,Z.newline=10,Z.tab=9,Z.str=e,Z.comment=-1,Z.word=-2,Z.combinator=-3,Z}var Hv;function Uv(){return Hv?zv:(Hv=1,(function(e){e.__esModule=!0,e.FIELDS=void 0,e.default=p;var t=a(Vv()),n,r;function i(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}for(var o=(n={},n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n),s=(r={},r[t.space]=!0,r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r[t.ampersand]=!0,r[t.asterisk]=!0,r[t.bang]=!0,r[t.comma]=!0,r[t.colon]=!0,r[t.semicolon]=!0,r[t.openParenthesis]=!0,r[t.closeParenthesis]=!0,r[t.openSquare]=!0,r[t.closeSquare]=!0,r[t.singleQuote]=!0,r[t.doubleQuote]=!0,r[t.plus]=!0,r[t.pipe]=!0,r[t.tilde]=!0,r[t.greaterThan]=!0,r[t.equals]=!0,r[t.dollar]=!0,r[t.caret]=!0,r[t.slash]=!0,r),c={},l=`0123456789abcdefABCDEF`,u=0;u<l.length;u++)c[l.charCodeAt(u)]=!0;function d(e,n){var r=n,i;do{if(i=e.charCodeAt(r),s[i])return r-1;i===t.backslash?r=f(e,r)+1:r++}while(r<e.length);return r-1}function f(e,n){var r=n,i=e.charCodeAt(r+1);if(!o[i])if(c[i]){var a=0;do r++,a++,i=e.charCodeAt(r+1);while(c[i]&&a<6);a<6&&i===t.space&&r++}else r++;return r}e.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 n=[],r=e.css.valueOf(),i=r.length,a=-1,o=1,s=0,c=0,l,u,f,p,m,h,g,_,v,y,b,x,S;function C(t,n){if(e.safe)r+=n,v=r.length-1;else throw e.error(`Unclosed `+t,o,s-a,s)}for(;s<i;){switch(l=r.charCodeAt(s),l===t.newline&&(a=s,o+=1),l){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:v=s;do v+=1,l=r.charCodeAt(v),l===t.newline&&(a=v,o+=1);while(l===t.space||l===t.newline||l===t.tab||l===t.cr||l===t.feed);S=t.space,p=o,f=v-a-1,c=v;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:v=s;do v+=1,l=r.charCodeAt(v);while(l===t.plus||l===t.greaterThan||l===t.tilde||l===t.pipe);S=t.combinator,p=o,f=s-a,c=v;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:v=s,S=l,p=o,f=s-a,c=v+1;break;case t.singleQuote:case t.doubleQuote:x=l===t.singleQuote?`'`:`"`,v=s;do for(m=!1,v=r.indexOf(x,v+1),v===-1&&C(`quote`,x),h=v;r.charCodeAt(h-1)===t.backslash;)--h,m=!m;while(m);S=t.str,p=o,f=s-a,c=v+1;break;default:l===t.slash&&r.charCodeAt(s+1)===t.asterisk?(v=r.indexOf(`*/`,s+2)+1,v===0&&C(`comment`,`*/`),u=r.slice(s,v+1),_=u.split(`
|
|
100
|
+
`),g=_.length-1,g>0?(y=o+g,b=v-_[g].length):(y=o,b=a),S=t.comment,o=y,p=y,f=v-b):l===t.slash?(v=s,S=l,p=o,f=s-a,c=v+1):(v=d(r,s),S=t.word,p=o,f=v-a),c=v+1;break}n.push([S,o,s-a,p,f,s,c]),b&&(a=b,b=null),s=c}return n}})(zv),zv)}var Wv;function Gv(){return Wv?x_.exports:(Wv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=C(q_()),r=C(X_()),i=C(nv()),a=C(av()),o=C(cv()),s=C(mv()),c=C(_v()),l=C(bv()),u=S(Ev()),d=C(kv()),f=C(Mv()),p=C(Fv()),m=C(Rv()),h=S(Uv()),g=S(Vv()),_=S(U_()),v=z_(),y,b;function x(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function S(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function C(e){return e&&e.__esModule?e:{default:e}}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&w(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var E=(y={},y[g.space]=!0,y[g.cr]=!0,y[g.feed]=!0,y[g.newline]=!0,y[g.tab]=!0,y),D=Object.assign({},E,(b={},b[g.comment]=!0,b));function O(e){return{line:e[h.FIELDS.START_LINE],column:e[h.FIELDS.START_COL]}}function k(e){return{line:e[h.FIELDS.END_LINE],column:e[h.FIELDS.END_COL]}}function A(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function j(e){return A(e[h.FIELDS.START_LINE],e[h.FIELDS.START_COL],e[h.FIELDS.END_LINE],e[h.FIELDS.END_COL])}function ee(e,t){if(e)return A(e[h.FIELDS.START_LINE],e[h.FIELDS.START_COL],t[h.FIELDS.END_LINE],t[h.FIELDS.END_COL])}function M(e,t){var n=e[t];if(typeof n==`string`)return n.indexOf(`\\`)!==-1&&((0,v.ensureObject)(e,`raws`),e[t]=(0,v.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function te(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function ne(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}t.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.css=typeof this.rule==`string`?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=ee(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:i}),this.root.errorGenerator=this._errorGenerator();var a=new r.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(a),this.current=a,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var e=this;return function(t,n){return typeof e.rule==`string`?Error(t):e.rule.error(t,n)}},t.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==g.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==g.closeSquare)return this.expected(`closing square bracket`,this.currToken[h.FIELDS.START_POS]);var n=e.length,r={source:A(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[h.FIELDS.START_POS]};if(n===1&&!~[g.word].indexOf(e[0][h.FIELDS.TYPE]))return this.expected(`attribute`,e[0][h.FIELDS.START_POS]);for(var i=0,a=``,o=``,s=null,c=!1;i<n;){var l=e[i],d=this.content(l),f=e[i+1];switch(l[h.FIELDS.TYPE]){case g.space:if(c=!0,this.options.lossy)break;if(s){(0,v.ensureObject)(r,`spaces`,s);var p=r.spaces[s].after||``;r.spaces[s].after=p+d;var m=(0,v.getProp)(r,`raws`,`spaces`,s,`after`)||null;m&&(r.raws.spaces[s].after=m+d)}else a+=d,o+=d;break;case g.asterisk:f[h.FIELDS.TYPE]===g.equals?(r.operator=d,s=`operator`):(!r.namespace||s===`namespace`&&!c)&&f&&(a&&((0,v.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,a=``),o&&((0,v.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=a,o=``),r.namespace=(r.namespace||``)+d,(0,v.getProp)(r,`raws`,`namespace`)&&(r.raws.namespace+=d),s=`namespace`),c=!1;break;case g.dollar:if(s===`value`){var _=(0,v.getProp)(r,`raws`,`value`);r.value+=`$`,_&&(r.raws.value=_+`$`);break}case g.caret:f[h.FIELDS.TYPE]===g.equals&&(r.operator=d,s=`operator`),c=!1;break;case g.combinator:if(d===`~`&&f[h.FIELDS.TYPE]===g.equals&&(r.operator=d,s=`operator`),d!==`|`){c=!1;break}f[h.FIELDS.TYPE]===g.equals?(r.operator=d,s=`operator`):!r.namespace&&!r.attribute&&(r.namespace=!0),c=!1;break;case g.word:if(f&&this.content(f)===`|`&&e[i+2]&&e[i+2][h.FIELDS.TYPE]!==g.equals&&!r.operator&&!r.namespace)r.namespace=d,s=`namespace`;else if(!r.attribute||s===`attribute`&&!c)a&&((0,v.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,a=``),o&&((0,v.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,o=``),r.attribute=(r.attribute||``)+d,(0,v.getProp)(r,`raws`,`attribute`)&&(r.raws.attribute+=d),s=`attribute`;else if(!r.value&&r.value!==``||s===`value`&&!(c||r.quoteMark)){var y=(0,v.unesc)(d),b=(0,v.getProp)(r,`raws`,`value`)||``,x=r.value||``;r.value=x+y,r.quoteMark=null,(y!==d||b)&&((0,v.ensureObject)(r,`raws`),r.raws.value=(b||x)+d),s=`value`}else{var S=d===`i`||d===`I`;(r.value||r.value===``)&&(r.quoteMark||c)?(r.insensitive=S,(!S||d===`I`)&&((0,v.ensureObject)(r,`raws`),r.raws.insensitiveFlag=d),s=`insensitive`,a&&((0,v.ensureObject)(r,`spaces`,`insensitive`),r.spaces.insensitive.before=a,a=``),o&&((0,v.ensureObject)(r,`raws`,`spaces`,`insensitive`),r.raws.spaces.insensitive.before=o,o=``)):(r.value||r.value===``)&&(s=`value`,r.value+=d,r.raws.value&&(r.raws.value+=d))}c=!1;break;case g.str:if(!r.attribute||!r.operator)return this.error(`Expected an attribute followed by an operator preceding the string.`,{index:l[h.FIELDS.START_POS]});var C=(0,u.unescapeValue)(d),w=C.unescaped,T=C.quoteMark;r.value=w,r.quoteMark=T,s=`value`,(0,v.ensureObject)(r,`raws`),r.raws.value=d,c=!1;break;case g.equals:if(!r.attribute)return this.expected(`attribute`,l[h.FIELDS.START_POS],d);if(r.value)return this.error(`Unexpected "=" found; an operator was already defined.`,{index:l[h.FIELDS.START_POS]});r.operator=r.operator?r.operator+d:d,s=`operator`,c=!1;break;case g.comment:if(s)if(c||f&&f[h.FIELDS.TYPE]===g.space||s===`insensitive`){var E=(0,v.getProp)(r,`spaces`,s,`after`)||``,D=(0,v.getProp)(r,`raws`,`spaces`,s,`after`)||E;(0,v.ensureObject)(r,`raws`,`spaces`,s),r.raws.spaces[s].after=D+d}else{var O=r[s]||``,k=(0,v.getProp)(r,`raws`,s)||O;(0,v.ensureObject)(r,`raws`),r.raws[s]=k+d}else o+=d;break;default:return this.error(`Unexpected "`+d+`" found.`,{index:l[h.FIELDS.START_POS]})}i++}M(r,`attribute`),M(r,`namespace`),this.newNode(new u.default(r)),this.position++},t.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r=``,i=void 0;do if(E[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[h.FIELDS.TYPE]===g.comment){var o={};r&&(o.before=r,r=``),i=new a.default({value:this.content(),source:j(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:o}),n.push(i)}while(++this.position<e);if(r){if(i)i.spaces.after=r;else if(!this.options.lossy){var s=this.tokens[t],l=this.tokens[this.position-1];n.push(new c.default({value:``,source:A(s[h.FIELDS.START_LINE],s[h.FIELDS.START_COL],l[h.FIELDS.END_LINE],l[h.FIELDS.END_COL]),sourceIndex:s[h.FIELDS.START_POS],spaces:{before:r,after:``}}))}}return n},t.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}},t.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][h.FIELDS.TYPE]===g.slash&&this.tokens[e+1]&&this.tokens[e+1][h.FIELDS.TYPE]===g.word&&this.tokens[e+2]&&this.tokens[e+2][h.FIELDS.TYPE]===g.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,v.unesc)(e).toLowerCase(),n={};t!==e&&(n.value=`/`+e+`/`);var r=new f.default({value:`/`+t+`/`,source:A(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:n});return this.position+=3,r}else this.unexpected()},t.combinator=function(){var e=this;if(this.content()===`|`)return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][h.FIELDS.TYPE]===g.comma||this.tokens[t][h.FIELDS.TYPE]===g.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[h.FIELDS.TYPE]===g.combinator?(l=new f.default({value:this.content(),source:j(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):E[this.currToken[h.FIELDS.TYPE]]||c||this.unexpected(),l){if(c){var u=this.convertWhitespaceNodesToSpace(c),d=u.space,p=u.rawSpace;l.spaces.before=d,l.rawSpaceBefore=p}}else{var m=this.convertWhitespaceNodesToSpace(c,!0),_=m.space,v=m.rawSpace;v||(v=_);var y={},b={spaces:{}};_.endsWith(` `)&&v.endsWith(` `)?(y.before=_.slice(0,_.length-1),b.spaces.before=v.slice(0,v.length-1)):_[0]===` `&&v[0]===` `?(y.after=_.slice(1),b.spaces.after=v.slice(1)):b.value=v,l=new f.default({value:` `,source:ee(s,this.tokens[this.position-1]),sourceIndex:s[h.FIELDS.START_POS],spaces:y,raws:b})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===g.space&&(l.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(l)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new r.default({source:{start:O(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++},t.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:j(e),sourceIndex:e[h.FIELDS.START_POS]})),this.position++},t.error=function(e,t){throw this.root.error(e,t)},t.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`,{index:this.currToken[h.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected(`opening parenthesis`,this.currToken[h.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected(`opening square bracket`,this.currToken[h.FIELDS.START_POS])},t.unexpected=function(){return this.error(`Unexpected '`+this.content()+`'. Escaping special characters with \\ may help.`,this.currToken[h.FIELDS.START_POS])},t.unexpectedPipe=function(){return this.error(`Unexpected '|'.`,this.currToken[h.FIELDS.START_POS])},t.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===g.word)return this.position++,this.word(e);if(this.nextToken[h.FIELDS.TYPE]===g.asterisk)return this.position++,this.universal(e);this.unexpectedPipe()},t.nesting=function(){if(this.nextToken&&this.content(this.nextToken)===`|`){this.position++;return}var e=this.currToken;this.newNode(new p.default({value:this.content(),source:j(e),sourceIndex:e[h.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===_.PSEUDO){var n=new r.default({source:{start:O(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),i=this.current;for(e.append(n),this.current=n;this.position<this.tokens.length&&t;)this.currToken[h.FIELDS.TYPE]===g.openParenthesis&&t++,this.currToken[h.FIELDS.TYPE]===g.closeParenthesis&&t--,t?this.parse():(this.current.source.end=k(this.currToken),this.current.parent.source.end=k(this.currToken),this.position++);this.current=i}else{for(var a=this.currToken,o=`(`,s;this.position<this.tokens.length&&t;)this.currToken[h.FIELDS.TYPE]===g.openParenthesis&&t++,this.currToken[h.FIELDS.TYPE]===g.closeParenthesis&&t--,s=this.currToken,o+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape(`value`,o,o):this.newNode(new c.default({value:o,source:A(a[h.FIELDS.START_LINE],a[h.FIELDS.START_COL],s[h.FIELDS.END_LINE],s[h.FIELDS.END_COL]),sourceIndex:a[h.FIELDS.START_POS]}))}if(t)return this.expected(`closing parenthesis`,this.currToken[h.FIELDS.START_POS])},t.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===g.colon;)t+=this.content(),this.position++;if(!this.currToken)return this.expected([`pseudo-class`,`pseudo-element`],this.position-1);if(this.currToken[h.FIELDS.TYPE]===g.word)this.splitWord(!1,function(r,i){t+=r,e.newNode(new l.default({value:t,source:ee(n,e.currToken),sourceIndex:n[h.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[h.FIELDS.TYPE]===g.openParenthesis&&e.error(`Misplaced parenthesis.`,{index:e.nextToken[h.FIELDS.START_POS]})});else return this.expected([`pseudo-class`,`pseudo-element`],this.currToken[h.FIELDS.START_POS])},t.space=function(){var e=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===g.comma||this.prevToken[h.FIELDS.TYPE]===g.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[h.FIELDS.TYPE]===g.comma||this.nextToken[h.FIELDS.TYPE]===g.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},t.string=function(){var e=this.currToken;this.newNode(new c.default({value:this.content(),source:j(e),sourceIndex:e[h.FIELDS.START_POS]})),this.position++},t.universal=function(e){var t=this.nextToken;if(t&&this.content(t)===`|`)return this.position++,this.namespace();var n=this.currToken;this.newNode(new d.default({value:this.content(),source:j(n),sourceIndex:n[h.FIELDS.START_POS]}),e),this.position++},t.splitWord=function(e,t){for(var n=this,r=this.nextToken,a=this.content();r&&~[g.dollar,g.caret,g.equals,g.word].indexOf(r[h.FIELDS.TYPE]);){this.position++;var c=this.content();if(a+=c,c.lastIndexOf(`\\`)===c.length-1){var l=this.nextToken;l&&l[h.FIELDS.TYPE]===g.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}r=this.nextToken}var u=te(a,`.`).filter(function(e){var t=a[e-1]===`\\`,n=/^\d+\.\d+%$/.test(a);return!t&&!n}),d=te(a,`#`).filter(function(e){return a[e-1]!==`\\`}),f=te(a,`#{`);f.length&&(d=d.filter(function(e){return!~f.indexOf(e)}));var p=(0,m.default)(ne([0].concat(u,d)));p.forEach(function(r,c){var l=p[c+1]||a.length,f=a.slice(r,l);if(c===0&&t)return t.call(n,f,p.length);var m,g=n.currToken,_=g[h.FIELDS.START_POS]+p[c],v=A(g[1],g[2]+r,g[3],g[2]+(l-1));if(~u.indexOf(r)){var y={value:f.slice(1),source:v,sourceIndex:_};m=new i.default(M(y,`value`))}else if(~d.indexOf(r)){var b={value:f.slice(1),source:v,sourceIndex:_};m=new o.default(M(b,`value`))}else{var x={value:f,source:v,sourceIndex:_};M(x,`value`),m=new s.default(x)}n.newNode(m,e),e=null}),this.position++},t.word=function(e){var t=this.nextToken;return t&&this.content(t)===`|`?(this.position++,this.namespace()):this.splitWord(e)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(e){switch(this.currToken[h.FIELDS.TYPE]){case g.space:this.space();break;case g.comment:this.comment();break;case g.openParenthesis:this.parentheses();break;case g.closeParenthesis:e&&this.missingParenthesis();break;case g.openSquare:this.attribute();break;case g.dollar:case g.caret:case g.equals:case g.word:this.word();break;case g.colon:this.pseudo();break;case g.comma:this.comma();break;case g.asterisk:this.universal();break;case g.ampersand:this.nesting();break;case g.slash:case g.combinator:this.combinator();break;case g.str:this.string();break;case g.closeSquare:this.missingSquareBracket();case g.semicolon:this.missingBackslash();default:this.unexpected()}},t.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})},t.requiredSpace=function(e){return this.options.lossy?` `:e},t.optionalSpace=function(e){return this.options.lossy?``:e},t.lossySpace=function(e,t){return this.options.lossy?t?` `:``:e},t.parseParenthesisToken=function(e){var t=this.content(e);return e[h.FIELDS.TYPE]===g.space?this.requiredSpace(t):t},t.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||``)+t),t=!0),e.namespace=t,M(e,`namespace`)),this.spaces&&(e.spaces.before=this.spaces,this.spaces=``),this.current.append(e)},t.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[h.FIELDS.START_POS],e[h.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(D[this.tokens[t][h.FIELDS.TYPE]]){t++;continue}else return t;return-1},T(e,[{key:`currToken`,get:function(){return this.tokens[this.position]}},{key:`nextToken`,get:function(){return this.tokens[this.position+1]}},{key:`prevToken`,get:function(){return this.tokens[this.position-1]}}]),e}(),e.exports=t.default})(x_,x_.exports),x_.exports)}var Kv;function qv(){return Kv?b_.exports:(Kv=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=r(Gv());function r(e){return e&&e.__esModule?e:{default:e}}t.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return t===void 0&&(t={}),Object.assign({},this.options,t).updateSelector===!1?!1:typeof e!=`string`},t._isLossy=function(e){return e===void 0&&(e={}),Object.assign({},this.options,e).lossless===!1},t._root=function(e,t){return t===void 0&&(t={}),new n.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._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(),e.selector=i),{transform:r,root:a,string:i}}).then(r,i)}catch(e){i(e);return}})},t._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(),e.selector=i),{transform:r,root:n,string:i}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString()},e}(),e.exports=t.default})(b_,b_.exports),b_.exports)}var Jv={},Q={},Yv;function Xv(){if(Yv)return Q;Yv=1,Q.__esModule=!0,Q.universal=Q.tag=Q.string=Q.selector=Q.root=Q.pseudo=Q.nesting=Q.id=Q.comment=Q.combinator=Q.className=Q.attribute=void 0;var e=f(Ev()),t=f(nv()),n=f(Mv()),r=f(av()),i=f(cv()),a=f(Fv()),o=f(bv()),s=f(q_()),c=f(X_()),l=f(_v()),u=f(mv()),d=f(kv());function f(e){return e&&e.__esModule?e:{default:e}}return Q.attribute=function(t){return new e.default(t)},Q.className=function(e){return new t.default(e)},Q.combinator=function(e){return new n.default(e)},Q.comment=function(e){return new r.default(e)},Q.id=function(e){return new i.default(e)},Q.nesting=function(e){return new a.default(e)},Q.pseudo=function(e){return new o.default(e)},Q.root=function(e){return new s.default(e)},Q.selector=function(e){return new c.default(e)},Q.string=function(e){return new l.default(e)},Q.tag=function(e){return new u.default(e)},Q.universal=function(e){return new d.default(e)},Q}var $={},Zv;function Qv(){if(Zv)return $;Zv=1,$.__esModule=!0,$.isComment=$.isCombinator=$.isClassName=$.isAttribute=void 0,$.isContainer=u,$.isIdentifier=void 0,$.isNamespace=d,$.isNesting=void 0,$.isNode=r,$.isPseudo=void 0,$.isPseudoClass=l,$.isPseudoElement=c,$.isUniversal=$.isTag=$.isString=$.isSelector=$.isRoot=void 0;var e=U_(),t,n=(t={},t[e.ATTRIBUTE]=!0,t[e.CLASS]=!0,t[e.COMBINATOR]=!0,t[e.COMMENT]=!0,t[e.ID]=!0,t[e.NESTING]=!0,t[e.PSEUDO]=!0,t[e.ROOT]=!0,t[e.SELECTOR]=!0,t[e.STRING]=!0,t[e.TAG]=!0,t[e.UNIVERSAL]=!0,t);function r(e){return typeof e==`object`&&n[e.type]}function i(e,t){return r(t)&&t.type===e}var a=i.bind(null,e.ATTRIBUTE);$.isAttribute=a,$.isClassName=i.bind(null,e.CLASS),$.isCombinator=i.bind(null,e.COMBINATOR),$.isComment=i.bind(null,e.COMMENT),$.isIdentifier=i.bind(null,e.ID),$.isNesting=i.bind(null,e.NESTING);var o=i.bind(null,e.PSEUDO);$.isPseudo=o,$.isRoot=i.bind(null,e.ROOT),$.isSelector=i.bind(null,e.SELECTOR),$.isString=i.bind(null,e.STRING);var s=i.bind(null,e.TAG);$.isTag=s,$.isUniversal=i.bind(null,e.UNIVERSAL);function c(e){return o(e)&&e.value&&(e.value.startsWith(`::`)||e.value.toLowerCase()===`:before`||e.value.toLowerCase()===`:after`||e.value.toLowerCase()===`:first-letter`||e.value.toLowerCase()===`:first-line`)}function l(e){return o(e)&&!c(e)}function u(e){return!!(r(e)&&e.walk)}function d(e){return a(e)||s(e)}return $}var $v;function ey(){return $v?Jv:($v=1,(function(e){e.__esModule=!0;var t=U_();Object.keys(t).forEach(function(n){n==="default"||n==="__esModule"||n in e&&e[n]===t[n]||(e[n]=t[n])});var n=Xv();Object.keys(n).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===n[t]||(e[t]=n[t])});var r=Qv();Object.keys(r).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===r[t]||(e[t]=r[t])})})(Jv),Jv)}var ty;function ny(){return ty?y_.exports:(ty=1,(function(e,t){t.__esModule=!0,t.default=void 0;var n=o(qv()),r=a(ey());function i(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return new n.default(e)};Object.assign(s,r),delete s.__esModule,t.default=s,e.exports=t.default})(y_,y_.exports),y_.exports)}var ry=qr(ny()),iy=/^(?:-\w+-)?animation-name$/,ay=/^(?:-\w+-)?animation$/,oy=/^(?:-\w+-)?keyframes$/,sy=(e=``)=>{let t=Object.create(null),n=e.replace(/^data-v-/,``);return{postcssPlugin:`vue-sfc-scoped`,Rule(t){ly(e,t)},AtRule(e){oy.test(e.name)&&!e.params.endsWith(`-${n}`)&&(t[e.params]=e.params=e.params+`-`+n)},OnceExit(e){Object.keys(t).length&&e.walkDecls(e=>{iy.test(e.prop)&&(e.value=e.value.split(`,`).map(e=>t[e.trim()]||e.trim()).join(`,`)),ay.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(`,`))})}}},cy=new WeakSet;function ly(e,t){if(cy.has(t)||t.parent&&t.parent.type===`atrule`&&oy.test(t.parent.name))return;cy.add(t);let n=!1,r=t.parent;for(;r&&r.type!==`root`;){if(r.__deep){n=!0;break}r=r.parent}t.selector=ry(r=>{r.each(i=>{uy(e,t,i,r,n)})}).processSync(t.selector)}function uy(e,t,n,r,i,a=!1){let o=null,s=!i;if(n.each(a=>{if(a.type===`combinator`&&(a.value===`>>>`||a.value===`/deep/`))return a.value=` `,a.spaces.before=a.spaces.after=``,yh(`the >>> and /deep/ combinators have been deprecated. Use :deep() instead.`),!1;if(a.type===`pseudo`){let{value:o}=a;if(o===`:deep`||o===`::v-deep`){if(t.__deep=!0,a.nodes.length){let e=a;a.nodes[0].each(t=>{n.insertAfter(e,t),e=t});let t=n.at(n.index(a)-1);(!t||!dy(t))&&n.insertAfter(a,ry.combinator({value:` `})),n.removeChild(a)}else{yh(`${o} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${o} <inner-selector>.`);let e=n.at(n.index(a)-1);e&&dy(e)&&n.removeChild(e),n.removeChild(a)}return!1}if(o===`:slotted`||o===`::v-slotted`){uy(e,t,a.nodes[0],r,i,!0);let o=a;return a.nodes[0].each(e=>{n.insertAfter(o,e),o=e}),n.removeChild(a),s=!1,!1}if(o===`:global`||o===`::v-global`)return n.replaceWith(a.nodes[0]),!1}if(a.type===`universal`){let e=n.at(n.index(a)-1),t=n.at(n.index(a)+1);if(!e)if(t){t.type===`combinator`&&t.value===` `&&n.removeChild(t),n.removeChild(a);return}else return o=ry.combinator({value:``}),n.insertBefore(a,o),n.removeChild(a),!1;if(o)return}(a.type!==`pseudo`&&a.type!==`combinator`||a.type===`pseudo`&&(a.value===`:is`||a.value===`:where`)&&!o)&&(o=a)}),t.nodes.some(e=>e.type===`rule`)){let e=t.__deep;if(!e){fy(t);let e=t.nodes.filter(e=>e.type===`atrule`);for(let t of e)fy(t)}s=e}if(o){let{type:n,value:c}=o;n===`pseudo`&&(c===`:is`||c===`:where`)&&(o.nodes.forEach(n=>uy(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,ry.attribute({attribute:t,value:t,raws:{},quoteMark:`"`}))}}function dy(e){return e.type===`combinator`&&/^\s+$/.test(e.value)}function fy(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 __({nodes:t,selector:`&`});e.prepend(n)}}sy.postcss=!0;var py={},my={},hy={},gy={},_y;function vy(){if(_y)return gy;_y=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return gy.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},gy.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},gy}var yy;function by(){if(yy)return hy;yy=1;var e=vy(),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 hy.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},hy.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},hy}var xy={},Sy;function Cy(){return Sy?xy:(Sy=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=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})(xy),xy)}var wy={},Ty;function Ey(){if(Ty)return wy;Ty=1;var e=Cy(),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()},wy.ArraySet=r,wy}var Dy={},Oy;function ky(){if(Oy)return Dy;Oy=1;var e=Cy();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),this._sorted=!0),this._array},Dy.MappingList=n,Dy}var Ay;function jy(){if(Ay)return my;Ay=1;var e=by(),t=Cy(),n=Ey().ArraySet,r=ky().MappingList;function i(e){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||(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())},my.SourceMapGenerator=i,my}var My={},Ny={},Py;function Fy(){return Py?Ny:(Py=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}})(Ny),Ny)}var Iy={},Ly;function Ry(){if(Ly)return Iy;Ly=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 Iy.quickSort=function(e,t){n(e,t,0,e.length-1)},Iy}var zy;function By(){if(zy)return My;zy=1;var e=Cy(),t=Fy(),n=Ey().ArraySet,r=by(),i=Ry().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},My.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&&(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}},My.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)},My.IndexedSourceMapConsumer=c,My}var Vy={},Hy;function Uy(){if(Hy)return Vy;Hy=1;var e=jy().SourceMapGenerator,t=Cy(),n=/(\r?\n)/,r=10,i=`$$$isSourceNode$$$`;function a(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=e==null?null:e,this.column=t==null?null:t,this.source=n==null?null:n,this.name=a==null?null:a,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,a=!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}},Vy.SourceNode=a,Vy}var Wy;function Gy(){return Wy?py:(Wy=1,py.SourceMapGenerator=jy().SourceMapGenerator,py.SourceMapConsumer=By().SourceMapConsumer,py.SourceNode=Uy().SourceNode,py)}var Ky,qy;function Jy(){if(qy)return Ky;qy=1;var e=Gy(),t=e.SourceMapConsumer,n=e.SourceMapGenerator;Ky=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 Ky}var Yy=qr(Jy()),Xy=Object.defineProperty,Zy=Object.defineProperties,Qy=Object.getOwnPropertyDescriptors,$y=Object.getOwnPropertySymbols,eb=Object.prototype.hasOwnProperty,tb=Object.prototype.propertyIsEnumerable,nb=(e,t,n)=>t in e?Xy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rb=(e,t)=>{for(var n in t||(t={}))eb.call(t,n)&&nb(e,n,t[n]);if($y)for(var n of $y(t))tb.call(t,n)&&nb(e,n,t[n]);return e},ib=(e,t)=>Zy(e,Qy(t)),ab=(e,t,n,r=f)=>{let{compileString:i,renderSync:a}=r(`sass`),o=lb(e,n.filename,n.additionalData),s,c,l;try{if(i){let{pathToFileURL:e,fileURLToPath:a}=r(`url`),u=i(o,ib(rb({},n),{url:e(n.filename),sourceMap:!!t}));s=u.css,c=u.loadedUrls.map(e=>a(e)),l=t?u.sourceMap:void 0}else{let e=a(ib(rb({},n),{data:o,file:n.filename,outFile:n.filename,sourceMap:!!t}));s=e.css.toString(),c=e.stats.includedFiles,l=t?JSON.parse(e.map.toString()):void 0}return t?{code:s,errors:[],dependencies:c,map:Yy(t,l)}:{code:s,errors:[],dependencies:c}}catch(e){return{code:``,errors:[e],dependencies:[]}}},ob=(e,t,n,r)=>ab(e,t,ib(rb({},n),{indentedSyntax:!0}),r),sb=(e,t,n,r=f)=>{let i=r(`less`),a,o=null;if(i.render(lb(e,n.filename,n.additionalData),ib(rb({},n),{syncImport:!0}),(e,t)=>{o=e,a=t}),o)return{code:``,errors:[o],dependencies:[]};let s=a.imports;return t?{code:a.css.toString(),map:Yy(t,a.map),errors:[],dependencies:s}:{code:a.css.toString(),errors:[],dependencies:s}},cb=(e,t,n,r=f)=>{let i=r(`stylus`);try{let r=i(e,n);t&&r.set(`sourcemap`,{inline:!1,comment:!1});let a=r.render(),o=r.deps();return t?{code:a,map:Yy(t,r.sourcemap),errors:[],dependencies:o}:{code:a,errors:[],dependencies:o}}catch(e){return{code:``,errors:[e],dependencies:[]}}};function lb(e,t,n){return n?T(n)?n(e,t):n+e:e}var ub={less:sb,sass:ob,scss:ab,styl:cb,stylus:cb},db=Object.defineProperty,fb=Object.defineProperties,pb=Object.getOwnPropertyDescriptors,mb=Object.getOwnPropertySymbols,hb=Object.prototype.hasOwnProperty,gb=Object.prototype.propertyIsEnumerable,_b=(e,t,n)=>t in e?db(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vb=(e,t)=>{for(var n in t||(t={}))hb.call(t,n)&&_b(e,n,t[n]);if(mb)for(var n of mb(t))gb.call(t,n)&&_b(e,n,t[n]);return e},yb=(e,t)=>fb(e,pb(t));function bb(e){return xb(yb(vb({},e),{isAsync:!1}))}function xb(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&&ub[c],f=d&&Sb(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(bl({id:h,isProd:a})),i&&_.push(v_()),r&&_.push(sy(g)),o)throw Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");let v=yb(vb({},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=Y(_).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 Sb(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,vb({filename:e.filename},e.preprocessOptions),e.preprocessCustomRequire)}var Cb=`Unknown`;function wb(e,t){switch(e.type){case`StringLiteral`:case`NumericLiteral`:return String(e.value);case`Identifier`:if(!t)return e.name}}function Tb(e){return e.filter(e=>!!e).join(`, `)}function Eb(e){return e.type.endsWith(`Literal`)}function Db(e,t){return!!(e&&t&&e.type===`CallExpression`&&e.callee.type===`Identifier`&&(typeof t==`string`?e.callee.name===t:t(e.callee.name)))}function Ob(e){return e.length>1?`[${e.join(`, `)}]`:e[0]}function kb(e){return e.type===`ImportSpecifier`?e.imported.type===`Identifier`?e.imported.name:e.imported.value:e.type===`ImportNamespaceSpecifier`?`*`:`default`}function Ab(e){return e.type===`Identifier`?e.name:e.type===`StringLiteral`?e.value:null}function jb(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 Mb=($u.posix||$u).normalize,Nb=/\\/g;function Pb(e){return Mb(e.replace(Nb,`/`))}var Fb=($u.posix||$u).join,Ib=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Lb(e){return Ib.test(e)?JSON.stringify(e):e}var Rb=(...e)=>e.some(e=>e===`js`||e===`jsx`),zb=(...e)=>e.some(e=>e===`ts`||e===`tsx`);function Bb(e){for(let t of e)if(t.type===`ExportDefaultDeclaration`&&t.declaration.type===`ObjectExpression`)return Vb(t.declaration);return{}}function Vb(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 Wb(n.value))t[e]=`props`;else if(n.key.name===`inject`)for(let e of Wb(n.value))t[e]=`options`;else if(n.value.type===`ObjectExpression`&&(n.key.name===`computed`||n.key.name===`methods`))for(let e of Hb(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 Hb(e.argument))t[r]=n.key.name===`setup`?`setup-maybe-ref`:`data`}return t}function Hb(e){let t=[];for(let n of e.properties){if(n.type===`SpreadElement`)continue;let e=wb(n.key,n.computed);e&&t.push(String(e))}return t}function Ub(e){let t=[];for(let n of e.elements)n&&n.type===`StringLiteral`&&t.push(n.value);return t}function Wb(e){return e.type===`ArrayExpression`?Ub(e):e.type===`ObjectExpression`?Hb(e):[]}var Gb=44,Kb=59,qb=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Jb=new Uint8Array(64),Yb=new Uint8Array(128);for(let e=0;e<qb.length;e++){let t=qb.charCodeAt(e);Jb[e]=t,Yb[t]=e}function Xb(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(Jb[t])}while(r>0);return t}var Zb=1024*16,Qb=typeof TextDecoder<`u`?new TextDecoder:typeof Buffer<`u`?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},$b=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(Zb)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===Zb&&(this.out+=Qb.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+Qb.decode(e.subarray(0,n)):t}};function ex(e){let t=new $b,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(Kb),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(Gb),c=Xb(t,o[0],c),o.length!==1&&(n=Xb(t,o[1],n),r=Xb(t,o[2],r),i=Xb(t,o[3],i),o.length!==4&&(a=Xb(t,o[4],a)))}}return t.flush()}var tx=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))}},nx=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,this.edited=!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 rx(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer==`function`?e=>Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var ix=rx(),ax=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ex(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,`+ix(this.toString())}};function ox(e){let t=e.split(`
|
|
101
|
+
`),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 sx(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 cx=Object.prototype.toString;function lx(e){return cx.call(e)===`[object Object]`}function ux(e){let t=e.split(`
|
|
102
|
+
`),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 dx=/\w/,fx=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(`
|
|
103
|
+
`,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(`
|
|
104
|
+
`,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]===`
|
|
105
|
+
`)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`?dx.test(n[a])?s||(this.rawSegments.push(t),s=!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(`
|
|
106
|
+
`);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}},px=`
|
|
107
|
+
`,mx={insertLeft:!1,insertRight:!1,storeName:!1},hx=class e{constructor(e,t={}){let n=new nx(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 tx},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 tx(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e=e||{};let t=Object.keys(this.storedNames),n=new fx(e.hires),r=ux(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?sx(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 ax(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=ox(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(lx(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||` `),e===``)return this;t=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]===`
|
|
108
|
+
`));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
|
|
109
|
+
`?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 mx.insertLeft||(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),mx.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return mx.insertRight||(console.warn(`magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead`),mx.insertRight=!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=r||{},this.update(e,t,n,a(a({},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&&(mx.storeName||(console.warn(`The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string`),mx.storeName=!0),r={storeName:!0});let i=r===void 0?!1:r.storeName,a=r===void 0?!1: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 nx(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(px);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(px),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(px),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(px),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(px),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=ux(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)}},gx,_x,vx=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 hx(this.source),this.startOffset=(gx=this.descriptor.scriptSetup)==null?void 0:gx.loc.start.offset,this.endOffset=(_x=this.descriptor.scriptSetup)==null?void 0:_x.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=Rb(i,a),this.isTS=zb(i,a);let o=t.customElement,s=this.descriptor.filename;o&&(this.isCE=typeof o==`boolean`?o:o(s));let c=bx(i||a,t.babelParserPlugins);function l(t,n){try{return Qr.parse(t,{plugins:c,sourceType:`module`}).program}catch(t){throw t.message=`[vue/compiler-sfc] ${t.message}
|
|
116
110
|
|
|
117
111
|
${e.filename}
|
|
118
|
-
${
|
|
112
|
+
${de(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){yh(yx(e,t,this,n))}error(e,t,n){throw Error(`[@vue/compiler-sfc] ${yx(e,t,this,n)}`)}};function yx(e,t,n,r){let i=r?r.offset:n.startOffset;return`${e}
|
|
119
113
|
|
|
120
|
-
${(
|
|
121
|
-
${
|
|
122
|
-
const ${
|
|
123
|
-
const ${
|
|
124
|
-
`);
|
|
125
|
-
const ${
|
|
126
|
-
`);
|
|
127
|
-
const ${
|
|
128
|
-
const ${
|
|
129
|
-
export default ${
|
|
114
|
+
${(r||n.descriptor).filename}
|
|
115
|
+
${de((r||n.descriptor).source,t.start+i,t.end+i)}`}function bx(e,t,n=!1){let r=[];return(!t||!t.some(e=>e===`importAssertions`||e===`importAttributes`||S(e)&&e[0]===`importAttributes`))&&r.push(`importAttributes`),e===`jsx`||e===`tsx`||e===`mtsx`?r.push(`jsx`):t&&(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 xx(e,t,n){if(!Sx(e)){t.append(`
|
|
116
|
+
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(`
|
|
117
|
+
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}'
|
|
118
|
+
`);let i=Cx(t,r.local.end,e.end);t.remove(r.start,i),t.append(`
|
|
119
|
+
const ${n} = __VUE_DEFAULT__`);continue}else{t.prepend(`import { ${t.slice(r.local.start,r.local.end)} as __VUE_DEFAULT__ } from '${e.source.value}'
|
|
120
|
+
`);let i=Cx(t,r.exported.end,e.end);t.remove(r.start,i),t.append(`
|
|
121
|
+
const ${n} = __VUE_DEFAULT__`);continue}let i=Cx(t,r.end,e.end);t.remove(r.start,i),t.append(`
|
|
122
|
+
const ${n} = ${r.local.name}`)}}})}function Sx(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 Cx(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 wx=Object.defineProperty,Tx=Object.defineProperties,Ex=Object.getOwnPropertyDescriptors,Dx=Object.getOwnPropertySymbols,Ox=Object.prototype.hasOwnProperty,kx=Object.prototype.propertyIsEnumerable,Ax=(e,t,n)=>t in e?wx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jx=(e,t)=>{for(var n in t||(t={}))Ox.call(t,n)&&Ax(e,n,t[n]);if(Dx)for(var n of Dx(t))kx.call(t,n)&&Ax(e,n,t[n]);return e},Mx=(e,t)=>Tx(e,Ex(t)),Nx=`__default__`;function Px(e,t){var n;let r=e.descriptor.script;try{let i=r.content,a=r.map,o=e.scriptAst,s=Bb(o.body),{cssVars:c}=e.descriptor,{genDefaultAs:l,isProd:u}=e.options;if(c.length||l){let r=l||Nx,a=new hx(i);xx(o.body,a,r),i=a.toString(),c.length&&!((n=e.options.templateOptions)!=null&&n.ssr)&&(i+=Sl(c,s,t,!!u,r)),l||(i+=`
|
|
123
|
+
export default ${r}`)}return Mx(jx({},r),{content:i,map:a,bindings:s,scriptAst:o.body})}catch(e){return r}}var Fx=Object.defineProperty,Ix=Object.defineProperties,Lx=Object.getOwnPropertyDescriptors,Rx=Object.getOwnPropertySymbols,zx=Object.prototype.hasOwnProperty,Bx=Object.prototype.propertyIsEnumerable,Vx=(e,t,n)=>t in e?Fx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hx=(e,t)=>{for(var n in t||(t={}))zx.call(t,n)&&Vx(e,n,t[n]);if(Rx)for(var n of Rx(t))Bx.call(t,n)&&Vx(e,n,t[n]);return e},Ux=(e,t)=>Ix(e,Lx(t)),Wx=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 Gx(e,t,n,r){let i=!r;if(i&&t._resolvedElements)return t._resolvedElements;let a=Kx(e,t,t._ownerScope||n||vS(e),r);return i?t._resolvedElements=a:a}function Kx(e,t,n,r){var i,a;if(t.leadingComments&&t.leadingComments.some(e=>e.value.includes(`@vue-ignore`)))return{props:{}};switch(t.type){case`TSTypeLiteral`:return qx(e,t.members,n,r);case`TSInterfaceDeclaration`:return Xx(e,t,n,r);case`TSTypeAliasDeclaration`:case`TSTypeAnnotation`:case`TSParenthesizedType`:return Gx(e,t.typeAnnotation,n,r);case`TSFunctionType`:return{props:{},calls:[t]};case`TSUnionType`:case`TSIntersectionType`:return Jx(t.types.map(t=>Gx(e,t,n,r)),t.type);case`TSMappedType`:return Zx(e,t,n,r);case`TSIndexedAccessType`:return Jx(Qx(e,t,n).map(t=>Gx(e,t,t._ownerScope)),`TSUnionType`);case`TSExpressionWithTypeArguments`:case`TSTypeReference`:{let a=oS(t);if((a===`ExtractPropTypes`||a===`ExtractPublicPropTypes`)&&t.typeParameters&&((i=n.imports[a])==null?void 0:i.source)===`vue`)return jS(Gx(e,t.typeParameters.params[0],n,r),n);let o=iS(e,t,n);if(o){let n;return(o.type===`TSTypeAliasDeclaration`||o.type===`TSInterfaceDeclaration`)&&o.typeParameters&&t.typeParameters&&(n=Object.create(null),o.typeParameters.params.forEach((e,i)=>{let a=r&&r[e.name];a||(a=t.typeParameters.params[i]),n[e.name]=a})),Gx(e,o,o._ownerScope,n)}else{if(typeof a==`string`){if(r&&r[a])return Gx(e,r[a],n,r);if(nS.has(a))return rS(e,t,a,n,r);if(a===`ReturnType`&&t.typeParameters){let r=FS(e,t.typeParameters.params[0],n);if(r)return Gx(e,r,n)}}return e.error(`Unresolvable type reference or unsupported built-in utility type`,t,n)}}case`TSImportType`:{if(Ab(t.argument)===`vue`&&((a=t.qualifier)==null?void 0:a.type)===`Identifier`&&t.qualifier.name===`ExtractPropTypes`&&t.typeParameters)return jS(Gx(e,t.typeParameters.params[0],n),n);let r=iS(e,t,pS(e,t.argument,n,t.argument.value));if(r)return Gx(e,r,r._ownerScope);break}case`TSTypeQuery`:{let r=iS(e,t,n);if(r)return Gx(e,r,r._ownerScope)}break}return e.error(`Unresolvable type: ${t.type}`,t,n)}function qx(e,t,n=vS(e),r){let i={props:{}};for(let a of t)if(a.type===`TSPropertySignature`||a.type===`TSMethodSignature`){r&&(n=bS(n),n.isGenericScope=!0,Object.assign(n.types,r)),a._ownerScope=n;let t=jb(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||(i.calls=[])).push(a);return i}function Jx(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)x(r,e)?r[e]=Yx(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||(n.calls=[])).push(...a)}return n}function Yx(e,t,n,r){return{type:`TSPropertySignature`,key:e,kind:`get`,optional:r,typeAnnotation:{type:`TSTypeAnnotation`,typeAnnotation:t},_ownerScope:n}}function Xx(e,t,n,r){let i=qx(e,t.body.body,t._ownerScope,r);if(t.extends)for(let r of t.extends)try{let{props:t,calls:a}=Gx(e,r,n);for(let e in t)x(i.props,e)||(i.props[e]=t[e]);a&&(i.calls||(i.calls=[])).push(...a)}catch(t){e.silentOnExtendsFailure||e.error(`Failed to resolve extends base type.
|
|
130
124
|
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
|
|
131
125
|
|
|
132
126
|
interface Props extends /* @vue-ignore */ Base {}
|
|
133
127
|
|
|
134
|
-
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,a,r)}return n}function sw(t,e,r,i){const n={props:{}};let a;if(e.nameType){const{name:o,constraint:h}=e.typeParameter;r=ac(r),Object.assign(r.types,wa(Ea({},i),{[o]:h})),a=jt(t,e.nameType,r)}else a=jt(t,e.typeParameter.constraint,r);for(const o of a)n.props[o]=li({type:"Identifier",name:o},e.typeAnnotation,r,!!e.optional);return n}function u1(t,e,r){var i,n;if(e.indexType.type==="TSNumberKeyword")return l1(t,e.objectType,r);const{indexType:a,objectType:o}=e,h=[];let c,d;a.type==="TSStringKeyword"?(d=tt(t,o,r),c=Object.keys(d.props)):(c=jt(t,a,r),d=tt(t,o,r));for(const f of c){const m=(n=(i=d.props[f])==null?void 0:i.typeAnnotation)==null?void 0:n.typeAnnotation;m&&(m._ownerScope=d.props[f]._ownerScope,h.push(m))}return h}function l1(t,e,r){if(e.type==="TSArrayType")return[e.elementType];if(e.type==="TSTupleType")return e.elementTypes.map(i=>i.type==="TSNamedTupleMember"?i.elementType:i);if(e.type==="TSTypeReference"){if(ic(e)==="Array"&&e.typeParameters)return e.typeParameters.params;{const i=Vt(t,e,r);if(i)return l1(t,i,r)}}return t.error("Failed to resolve element type from target type",e,r)}function jt(t,e,r){switch(e.type){case"StringLiteral":return[e.value];case"TSLiteralType":return jt(t,e.literal,r);case"TSUnionType":return e.types.map(i=>jt(t,i,r)).flat();case"TemplateLiteral":return rc(t,e,r);case"TSTypeReference":{const i=Vt(t,e,r);if(i)return jt(t,i,r);if(e.typeName.type==="Identifier"){const n=(a=0)=>jt(t,e.typeParameters.params[a],r);switch(e.typeName.name){case"Extract":return n(1);case"Exclude":{const a=n(1);return n().filter(o=>!a.includes(o))}case"Uppercase":return n().map(a=>a.toUpperCase());case"Lowercase":return n().map(a=>a.toLowerCase());case"Capitalize":return n().map(lr);case"Uncapitalize":return n().map(a=>a[0].toLowerCase()+a.slice(1));default:t.error("Unsupported type when resolving index type",e.typeName,r)}}}}return t.error("Failed to resolve index type into finite keys",e,r)}function rc(t,e,r){if(!e.expressions.length)return[e.quasis[0].value.raw];const i=[],n=e.expressions[0],a=e.quasis[0],o=a?a.value.raw:"",h=jt(t,n,r),c=rc(t,wa(Ea({},e),{expressions:e.expressions.slice(1),quasis:a?e.quasis.slice(1):e.quasis}),r);for(const d of h)for(const f of c)i.push(o+d+f);return i}const iw=new Set(["Partial","Required","Readonly","Pick","Omit"]);function nw(t,e,r,i,n){const a=tt(t,e.typeParameters.params[0],i,n);switch(r){case"Partial":{const c={props:{},calls:a.calls};return Object.keys(a.props).forEach(d=>{c.props[d]=wa(Ea({},a.props[d]),{optional:!0})}),c}case"Required":{const c={props:{},calls:a.calls};return Object.keys(a.props).forEach(d=>{c.props[d]=wa(Ea({},a.props[d]),{optional:!1})}),c}case"Readonly":return a;case"Pick":{const c=jt(t,e.typeParameters.params[1],i),d={props:{},calls:a.calls};for(const f of c)d.props[f]=a.props[f];return d}case"Omit":const o=jt(t,e.typeParameters.params[1],i),h={props:{},calls:a.calls};for(const c in a.props)o.includes(c)||(h.props[c]=a.props[c]);return h}}function Vt(t,e,r,i,n=!1){const a=!(r!=null&&r.isGenericScope);if(a&&e._resolvedReference)return e._resolvedReference;const o=sc(t,r||_a(t),i||ic(e),e,n);return a?e._resolvedReference=o:o}function sc(t,e,r,i,n){if(typeof r=="string"){if(e.imports[r])return ow(t,i,r,e);{const a=i.type==="TSTypeQuery"?n?e.exportedDeclares:e.declares:n?e.exportedTypes:e.types;if(a[r])return a[r];{const o=aw(t);if(o)for(const h of o){const c=i.type==="TSTypeQuery"?h.declares:h.types;if(c[r])return(t.deps||(t.deps=new Set)).add(h.filename),c[r]}}}}else{let a=sc(t,e,r[0],i,n);if(a&&(a.type!=="TSModuleDeclaration"&&(a=a._ns),a)){const o=lw(t,a,a._ownerScope||e);return sc(t,o,r.length>2?r.slice(1):r[r.length-1],i,!a.declare)}}}function ic(t){const e=t.type==="TSTypeReference"?t.typeName:t.type==="TSExpressionWithTypeArguments"?t.expression:t.type==="TSImportType"?t.qualifier:t.exprName;return(e==null?void 0:e.type)==="Identifier"?e.name:(e==null?void 0:e.type)==="TSQualifiedName"?c1(e):"default"}function c1(t){return t.type==="Identifier"?[t.name]:[...c1(t.left),t.right.name]}function aw(t){if(t.options.globalTypeFiles){if(!nc(t))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return t.options.globalTypeFiles.map(r=>p1(t,zm(r),!0))}}function nc(t){if(t.fs)return t.fs;const e=t.options.fs||void 0;if(e)return t.fs={fileExists(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),e.fileExists(r)},readFile(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),e.readFile(r)},realpath:e.realpath}}function ow(t,e,r,i){const{source:n,imported:a}=i.imports[r],o=Ta(t,e,i,n);return Vt(t,e,o,a,!0)}function Ta(t,e,r,i){let n;try{n=nc(t)}catch(o){return t.error(o.message,e,r)}if(!n)return t.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",e,r);let a=r.resolvedImportSources[i];if(!a){if(i.startsWith("..")){const h=ni(Sn(r.filename),i);a=h1(h,n)}else if(i[0]==="."){const o=ni(Sn(r.filename),i);a=h1(o,n)}else return t.error("Type import from non-relative sources is not supported in the browser build.",e,r);a&&(a=r.resolvedImportSources[i]=zm(a))}return a?((t.deps||(t.deps=new Set)).add(a),p1(t,a)):t.error(`Failed to resolve import source ${JSON.stringify(i)}.`,e,r)}function h1(t,e){t=t.replace(/\.js$/,"");const r=i=>{if(e.fileExists(i))return i};return r(t)||r(t+".ts")||r(t+".tsx")||r(t+".d.ts")||r(ni(t,"index.ts"))||r(ni(t,"index.tsx"))||r(ni(t,"index.d.ts"))}const f1=Yo();function p1(t,e,r=!1){const i=f1.get(e);if(i)return i;const a=nc(t).readFile(e)||"",o=uw(e,a,t.options.babelParserPlugins),h=new tc(e,a,0,m1(o));return oc(t,o,h,r),f1.set(e,h),h}function uw(t,e,r){const i=tu(t);if(i===".ts"||i===".mts"||i===".tsx"||i===".mtsx")return Rt.parse(e,{plugins:Zl(i.slice(1),r,/\.d\.m?ts$/.test(t)),sourceType:"module"}).program.body;if(i===".vue"){const{descriptor:{script:n,scriptSetup:a}}=Bf(e);if(!n&&!a)return[];const o=n?n.loc.start.offset:1/0,h=a?a.loc.start.offset:1/0,c=o<h?n:a,d=o<h?a:n;let f=" ".repeat(Math.min(o,h))+c.content;d&&(f+=" ".repeat(d.loc.start.offset-n.loc.end.offset)+d.content);const m=(n==null?void 0:n.lang)||(a==null?void 0:a.lang);return Rt.parse(f,{plugins:Zl(m,r),sourceType:"module"}).program.body}return[]}function _a(t){if(t.scope)return t.scope;const e="ast"in t?t.ast:t.scriptAst?[...t.scriptAst.body,...t.scriptSetupAst.body]:t.scriptSetupAst.body,r=new tc(t.filename,t.source,"startOffset"in t?t.startOffset:0,"userImports"in t?Object.create(t.userImports):m1(e));return oc(t,e,r),t.scope=r}function lw(t,e,r){if(e._resolvedChildScope)return e._resolvedChildScope;const i=ac(r);if(e.body.type==="TSModuleDeclaration"){const n=e.body;n._ownerScope=i;const a=Br(n.id);i.types[a]=i.exportedTypes[a]=n}else oc(t,e.body.body,i);return e._resolvedChildScope=i}function ac(t){return new tc(t.filename,t.source,t.offset,Object.create(t.imports),Object.create(t.types),Object.create(t.declares))}const cw=/^Import|^Export/;function oc(t,e,r,i=!1){const{types:n,declares:a,exportedTypes:o,exportedDeclares:h,imports:c}=r,d=i?!e.some(f=>cw.test(f.type)):!1;for(const f of e)if(i){if(d)f.declare&&Ur(f,n,a);else if(f.type==="TSModuleDeclaration"&&f.global)for(const m of f.body.body)Ur(m,n,a)}else Ur(f,n,a);if(!i)for(const f of e)if(f.type==="ExportNamedDeclaration"){if(f.declaration)Ur(f.declaration,n,a),Ur(f.declaration,o,h);else for(const m of f.specifiers)if(m.type==="ExportSpecifier"){const g=m.local.name,b=Br(m.exported);f.source?(c[b]={source:f.source.value,imported:g},o[b]={type:"TSTypeReference",typeName:{type:"Identifier",name:g},_ownerScope:r}):n[g]&&(o[b]=n[g])}}else if(f.type==="ExportAllDeclaration"){const m=Ta(t,f.source,r,f.source.value);Object.assign(r.exportedTypes,m.exportedTypes)}else f.type==="ExportDefaultDeclaration"&&f.declaration&&(f.declaration.type!=="Identifier"?(Ur(f.declaration,n,a,"default"),Ur(f.declaration,o,h,"default")):n[f.declaration.name]&&(o.default=n[f.declaration.name]));for(const f of Object.keys(n)){const m=n[f];m._ownerScope=r,m._ns&&(m._ns._ownerScope=r)}for(const f of Object.keys(a))a[f]._ownerScope=r}function Ur(t,e,r,i){switch(t.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{const n=i||Br(t.id);let a=e[n];if(a){if(t.type==="TSModuleDeclaration"){a.type==="TSModuleDeclaration"?uc(a,t):d1(a,t);break}if(a.type==="TSModuleDeclaration"){e[n]=t,d1(t,a);break}if(a.type!==t.type)break;t.type==="TSInterfaceDeclaration"?a.body.body.push(...t.body.body):a.members.push(...t.members)}else e[n]=t;break}case"ClassDeclaration":(i||t.id)&&(e[i||Br(t.id)]=t);break;case"TSTypeAliasDeclaration":e[t.id.name]=t.typeParameters?t:t.typeAnnotation;break;case"TSDeclareFunction":t.id&&(r[t.id.name]=t);break;case"VariableDeclaration":{if(t.declare)for(const n of t.declarations)n.id.type==="Identifier"&&n.id.typeAnnotation&&(r[n.id.name]=n.id.typeAnnotation.typeAnnotation);break}}}function uc(t,e){const r=t.body,i=e.body;r.type==="TSModuleDeclaration"?i.type==="TSModuleDeclaration"?uc(r,i):i.body.push({type:"ExportNamedDeclaration",declaration:r,exportKind:"type",specifiers:[]}):i.type==="TSModuleDeclaration"?r.body.push({type:"ExportNamedDeclaration",declaration:i,exportKind:"type",specifiers:[]}):r.body.push(...i.body)}function d1(t,e){t._ns?uc(t._ns,e):t._ns=e}function m1(t){const e=Object.create(null);for(const r of t)hw(r,e);return e}function hw(t,e){if(t.type==="ImportDeclaration")for(const r of t.specifiers)e[r.local.name]={imported:Jl(r),source:t.source.value}}function rt(t,e,r=e._ownerScope||_a(t),i=!1){try{switch(e.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":{const n=new Set,a=e.type==="TSTypeLiteral"?e.members:e.body.body;for(const o of a)if(i)if(o.type==="TSPropertySignature"&&o.key.type==="NumericLiteral")n.add("Number");else if(o.type==="TSIndexSignature"){const h=o.parameters[0].typeAnnotation;if(h&&h.type!=="Noop"){const c=rt(t,h.typeAnnotation,r)[0];if(c===qt)return[qt];n.add(c)}}else n.add("String");else o.type==="TSCallSignatureDeclaration"||o.type==="TSConstructSignatureDeclaration"?n.add("Function"):n.add("Object");return n.size?Array.from(n):[i?qt:"Object"]}case"TSPropertySignature":if(e.typeAnnotation)return rt(t,e.typeAnnotation.typeAnnotation,r);break;case"TSMethodSignature":case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(e.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return[qt]}case"TSTypeReference":{const n=Vt(t,e,r);if(n)return rt(t,n,n._ownerScope,i);if(e.typeName.type==="Identifier")if(i)switch(e.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(e.typeParameters&&e.typeParameters.params[0])return rt(t,e.typeParameters.params[0],r,!0);break;case"Pick":case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return rt(t,e.typeParameters.params[1],r);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(e.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":return[e.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"NonNullable":if(e.typeParameters&&e.typeParameters.params[0])return rt(t,e.typeParameters.params[0],r).filter(a=>a!=="null");break;case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return rt(t,e.typeParameters.params[1],r);break;case"Exclude":case"OmitThisParameter":if(e.typeParameters&&e.typeParameters.params[0])return rt(t,e.typeParameters.params[0],r);break}break}case"TSParenthesizedType":return rt(t,e.typeAnnotation,r);case"TSUnionType":return lc(t,e.types,r,i);case"TSIntersectionType":return lc(t,e.types,r,i).filter(n=>n!==qt);case"TSEnumDeclaration":return fw(e);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{const n=u1(t,e,r);return lc(t,n,r,i)}case"ClassDeclaration":return["Object"];case"TSImportType":{const n=Ta(t,e.argument,r,e.argument.value),a=Vt(t,e,n);if(a)return rt(t,a,a._ownerScope);break}case"TSTypeQuery":{const n=e.exprName;if(n.type==="Identifier"){const a=r.declares[n.name];if(a)return rt(t,a,a._ownerScope,i)}break}case"TSTypeOperator":return rt(t,e.typeAnnotation,r,e.operator==="keyof");case"TSAnyKeyword":{if(i)return["String","Number","Symbol"];break}}}catch(n){}return[qt]}function lc(t,e,r,i=!1){return e.length===1?rt(t,e[0],r,i):[...new Set([].concat(...e.map(n=>rt(t,n,r,i))))]}function fw(t){const e=new Set;for(const r of t.members)if(r.initializer)switch(r.initializer.type){case"StringLiteral":e.add("String");break;case"NumericLiteral":e.add("Number");break}return e.size?[...e]:["Number"]}function g1({props:t},e){const r={props:{}};for(const i in t){const n=t[i];r.props[i]=cc(n.key,n.typeAnnotation.typeAnnotation,e)}return r}function cc(t,e,r,i=!0,n=!0){if(n&&e.type==="TSTypeLiteral"){const a=y1(e,"type");if(a){const o=y1(e,"required"),h=o&&o.type==="TSLiteralType"&&o.literal.type==="BooleanLiteral"?!o.literal.value:!0;return cc(t,a,r,h,!1)}}else if(e.type==="TSTypeReference"&&e.typeName.type==="Identifier"){if(e.typeName.name.endsWith("Constructor"))return li(t,pw(e.typeName.name),r,i);if(e.typeName.name==="PropType"&&e.typeParameters)return li(t,e.typeParameters.params[0],r,i)}if((e.type==="TSTypeReference"||e.type==="TSImportType")&&e.typeParameters)for(const a of e.typeParameters.params){const o=cc(t,a,r,i);if(o)return o}return li(t,{type:"TSNullKeyword"},r,i)}function pw(t){const e=t.slice(0,-11);switch(e){case"String":case"Number":case"Boolean":return{type:`TS${e}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:e}}}return{type:"TSNullKeyword"}}function y1(t,e){const r=t.members.find(i=>i.type==="TSPropertySignature"&&!i.computed&&Br(i.key)===e&&i.typeAnnotation);return r&&r.typeAnnotation.typeAnnotation}function dw(t,e,r){var i;let n=e;if((e.type==="TSTypeReference"||e.type==="TSTypeQuery"||e.type==="TSImportType")&&(n=Vt(t,e,r)),!!n){if(n.type==="TSFunctionType")return(i=n.typeAnnotation)==null?void 0:i.typeAnnotation;if(n.type==="TSDeclareFunction")return n.returnType}}function b1(t,e,r){if(e.type==="TSTypeReference"){const n=Vt(t,e,r);n&&(e=n)}let i;return e.type==="TSUnionType"?i=e.types.flatMap(n=>b1(t,n,r)):i=[e],i}const Pa="defineModel";function v1(t,e,r){if(!nt(e,Pa))return!1;t.hasDefineModelCall=!0;const i=e.typeParameters&&e.typeParameters.params[0]||void 0;let n,a;const o=e.arguments[0]&&bt(e.arguments[0]),h=o&&o.type==="StringLiteral";h?(n=o.value,a=e.arguments[1]):(n="modelValue",a=o),t.modelDecls[n]&&t.error(`duplicate model name ${JSON.stringify(n)}`,e);let c=a&&t.getString(a),d=!a;const f=[];if(a&&a.type==="ObjectExpression"&&!a.properties.some(m=>m.type==="SpreadElement"||m.computed)){let m=0;for(let g=a.properties.length-1;g>=0;g--){const b=a.properties[g],x=a.properties[g+1],v=b.start,y=x?x.start:a.end-1;(b.type==="ObjectProperty"||b.type==="ObjectMethod")&&(b.key.type==="Identifier"&&(b.key.name==="get"||b.key.name==="set")||b.key.type==="StringLiteral"&&(b.key.value==="get"||b.key.value==="set"))?c=c.slice(0,v-a.start)+c.slice(y-a.start):(m++,t.s.remove(t.startOffset+v,t.startOffset+y),f.push(b))}m===a.properties.length&&(d=!0,t.s.remove(t.startOffset+(h?o.end:a.start),t.startOffset+a.end))}return t.modelDecls[n]={type:i,options:c,runtimeOptionNodes:f,identifier:r&&r.type==="Identifier"?r.name:void 0},t.bindingMetadata[n]="props",t.s.overwrite(t.startOffset+e.callee.start,t.startOffset+e.callee.end,t.helper("useModel")),t.s.appendLeft(t.startOffset+(e.arguments.length?e.arguments[0].start:e.end-1),"__props, "+(h?"":`${JSON.stringify(n)}${d?"":", "}`)),!0}function mw(t){if(!t.hasDefineModelCall)return;const e=!!t.options.isProd;let r="";for(const[i,{type:n,options:a}]of Object.entries(t.modelDecls)){let o=!1,h="",c=n&&rt(t,n);if(c){const m=c.includes("Boolean"),g=c.includes("Function");c.includes(qt)&&(m||g?(c=c.filter(x=>x!==qt),o=!0):c=["null"]),e?(m||a&&g)&&(h=`type: ${hs(c)}`):h=`type: ${hs(c)}`+(o?", skipCheck: true":"")}let d;h&&a?d=t.isTS?`{ ${h}, ...${a} }`:`Object.assign({ ${h} }, ${a})`:h?d=`{ ${h} }`:a?d=a:d="{}",r+=`
|
|
135
|
-
${JSON.stringify(
|
|
136
|
-
${
|
|
137
|
-
}`}
|
|
128
|
+
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 Zx(e,t,n,r){let i={props:{}},a;if(t.nameType){let{name:i,constraint:o}=t.typeParameter;n=bS(n),Object.assign(n.types,Ux(Hx({},r),{[i]:o})),a=eS(e,t.nameType,n)}else a=eS(e,t.typeParameter.constraint,n);for(let e of a)i.props[e]=Yx({type:`Identifier`,name:e},t.typeAnnotation,n,!!t.optional);return i}function Qx(e,t,n){var r,i;if(t.indexType.type===`TSNumberKeyword`)return $x(e,t.objectType,n);let{indexType:a,objectType:o}=t,s=[],c,l;a.type===`TSStringKeyword`?(l=Gx(e,o,n),c=Object.keys(l.props)):(c=eS(e,a,n),l=Gx(e,o,n));for(let e of c){let t=(i=(r=l.props[e])==null?void 0:r.typeAnnotation)==null?void 0:i.typeAnnotation;t&&(t._ownerScope=l.props[e]._ownerScope,s.push(t))}return s}function $x(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(oS(t)===`Array`&&t.typeParameters)return t.typeParameters.params;{let r=iS(e,t,n);if(r)return $x(e,r,n)}}return e.error(`Failed to resolve element type from target type`,t,n)}function eS(e,t,n,r){switch(t.type){case`StringLiteral`:return[t.value];case`TSLiteralType`:return eS(e,t.literal,n,r);case`TSUnionType`:return t.types.map(t=>eS(e,t,n,r)).flat();case`TemplateLiteral`:return tS(e,t,n);case`TSTypeReference`:{let i=iS(e,t,n);if(i)return eS(e,i,n,r);if(t.typeName.type===`Identifier`){let i=t.typeName.name;if(r&&r[i])return eS(e,r[i],n,r);let a=(i=0)=>eS(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(re);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 tS(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=eS(e,i,n),c=tS(e,Ux(Hx({},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 nS=new Set([`Partial`,`Required`,`Readonly`,`Pick`,`Omit`]);function rS(e,t,n,r,i){let a=Gx(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]=Ux(Hx({},a.props[t]),{optional:!0})}),e}case`Required`:{let e={props:{},calls:a.calls};return Object.keys(a.props).forEach(t=>{e.props[t]=Ux(Hx({},a.props[t]),{optional:!1})}),e}case`Readonly`:return a;case`Pick`:{let n=eS(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=eS(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 iS(e,t,n,r,i=!1){let a=!(n!=null&&n.isGenericScope);if(a&&t._resolvedReference)return t._resolvedReference;let o=aS(e,n||vS(e),r||oS(t),t,i);return a?t._resolvedReference=o:o}function aS(e,t,n,r,i){if(typeof n==`string`){if(t.imports[n])return fS(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=cS(e);if(t)for(let i of t){let t=r.type===`TSTypeQuery`?i.declares:i.types;if(t[n])return(e.deps||(e.deps=new Set)).add(i.filename),t[n]}}}}else{let a=aS(e,t,n[0],r,i);if(a&&(a.type!==`TSModuleDeclaration`&&(a=a._ns),a))return aS(e,yS(e,a,a._ownerScope||t),n.length>2?n.slice(1):n[n.length-1],r,!a.declare)}}function oS(e){let t=e.type===`TSTypeReference`?e.typeName:e.type===`TSExpressionWithTypeArguments`?e.expression:e.type===`TSImportType`?e.qualifier:e.exprName;return(t==null?void 0:t.type)===`Identifier`?t.name:(t==null?void 0:t.type)===`TSQualifiedName`?sS(t):`default`}function sS(e){return e.type===`Identifier`?[e.name]:[...sS(e.left),e.right.name]}function cS(e){if(e.options.globalTypeFiles){if(!dS(e))throw Error(`[vue/compiler-sfc] globalTypeFiles requires fs access.`);return e.options.globalTypeFiles.map(t=>gS(e,Pb(t),!0))}}var lS,uS;function dS(e){if(e.fs)return e.fs;!lS&&uS&&(lS=uS());let t=e.options.fs||(lS==null?void 0:lS.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 fS(e,t,n,r){let{source:i,imported:a}=r.imports[n];return iS(e,t,pS(e,t,r,i),a,!0)}function pS(e,t,n,r){let i;try{i=dS(e)}catch(r){return e.error(r.message,t,n)}if(!i)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 a=n.resolvedImportSources[r];if(!a){if(r.startsWith(`..`))a=mS(Fb(Xu(n.filename),r),i);else if(r[0]===`.`)a=mS(Fb(Xu(n.filename),r),i);else return e.error(`Type import from non-relative sources is not supported in the browser build.`,t,n);a&&(a=n.resolvedImportSources[r]=Pb(a))}return a?((e.deps||(e.deps=new Set)).add(a),gS(e,a)):e.error(`Failed to resolve import source ${JSON.stringify(r)}.`,t,n)}function mS(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(Fb(e,`index.ts`))||r(Fb(e,`index.tsx`))||r(Fb(e,`index.d.ts`))}var hS=uu();function gS(e,t,n=!1){let r=hS.get(t);if(r)return r;let i=dS(e),a=i.readFile(t)||``,o=_S(t,a,i,e.options.babelParserPlugins),s=new Wx(t,a,0,ES(o));return SS(e,o,s,n),hS.set(t,s),s}function _S(e,t,n,r){let i=Qu(e);if(i===`.ts`||i===`.mts`||i===`.tsx`||i===`.cts`||i===`.mtsx`)return Qr.parse(t,{plugins:bx(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 Qr.parse(n.readFile(o),{plugins:bx(`ts`,r,!0),sourceType:`module`}).program.body;if(i===`.vue`){let{descriptor:{script:e,scriptSetup:n}}=Ou(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==null?void 0:e.lang)||(n==null?void 0:n.lang);return Qr.parse(c,{plugins:bx(l,r),sourceType:`module`}).program.body}return[]}function vS(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 Wx(e.filename,e.source,`startOffset`in e?e.startOffset:0,`userImports`in e?Object.create(e.userImports):ES(t));return SS(e,t,n),e.scope=n}function yS(e,t,n){if(t._resolvedChildScope)return t._resolvedChildScope;let r=bS(n);if(t.body.type===`TSModuleDeclaration`){let e=t.body;e._ownerScope=r;let n=Ab(e.id);r.types[n]=r.exportedTypes[n]=e}else SS(e,t.body.body,r);return t._resolvedChildScope=r}function bS(e){return new Wx(e.filename,e.source,e.offset,Object.create(e.imports),Object.create(e.types),Object.create(e.declares))}var xS=/^Import|^Export/;function SS(e,t,n,r=!1){let{types:i,declares:a,exportedTypes:o,exportedDeclares:s,imports:c}=n,l=r?!t.some(e=>xS.test(e.type)):!1;for(let e of t)if(r){if(l)e.declare&&CS(e,i,a);else if(e.type===`TSModuleDeclaration`&&e.global)for(let t of e.body.body)t.type===`ExportNamedDeclaration`&&t.declaration?CS(t.declaration,i,a):CS(t,i,a)}else CS(e,i,a);if(!r)for(let r of t)if(r.type===`ExportNamedDeclaration`){if(r.declaration)CS(r.declaration,i,a),CS(r.declaration,o,s);else for(let e of r.specifiers)if(e.type===`ExportSpecifier`){let t=e.local.name,a=Ab(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=pS(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]):(CS(r.declaration,i,a,`default`),CS(r.declaration,o,s,`default`)));for(let e of Object.keys(i)){let t=i[e];t._ownerScope=n,t._ns&&(t._ns._ownerScope=n)}for(let e of Object.keys(a))a[e]._ownerScope=n}function CS(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?CS(e.declaration,t,n):CS(e,t,n);break}let i=r||Ab(e.id),a=t[i];if(a){if(e.type===`TSModuleDeclaration`){a.type===`TSModuleDeclaration`?wS(a,e):TS(a,e);break}if(a.type===`TSModuleDeclaration`){t[i]=e,TS(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||Ab(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 wS(e,t){let n=e.body,r=t.body;n.type===`TSModuleDeclaration`?r.type===`TSModuleDeclaration`?wS(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 TS(e,t){e._ns?wS(e._ns,t):e._ns=t}function ES(e){let t=Object.create(null);for(let n of e)DS(n,t);return t}function DS(e,t){if(e.type===`ImportDeclaration`)for(let n of e.specifiers)t[n.local.name]={imported:kb(n),source:e.source.value}}function OS(e,t,n=t._ownerScope||vS(e),r=!1,i){if(t.leadingComments&&t.leadingComments.some(e=>e.value.includes(`@vue-ignore`)))return[Cb];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=OS(e,r.typeAnnotation,n)[0];if(t===Cb)return[Cb];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?Cb:`Object`]}case`TSPropertySignature`:if(t.typeAnnotation)return OS(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[Cb]}case`TSTypeReference`:{let a=iS(e,t,n);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]}),OS(e,a.typeAnnotation,a._ownerScope,r,n)}}return OS(e,a,a._ownerScope,r)}if(t.typeName.type===`Identifier`){if(i&&i[t.typeName.name])return OS(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 OS(e,t.typeParameters.params[0],n,!0);break;case`Pick`:case`Extract`:if(t.typeParameters&&t.typeParameters.params[1])return OS(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`NonNullable`:if(t.typeParameters&&t.typeParameters.params[0])return OS(e,t.typeParameters.params[0],n).filter(e=>e!==`null`);break;case`Extract`:if(t.typeParameters&&t.typeParameters.params[1])return OS(e,t.typeParameters.params[1],n);break;case`Exclude`:case`OmitThisParameter`:if(t.typeParameters&&t.typeParameters.params[0])return OS(e,t.typeParameters.params[0],n);break}}break}case`TSParenthesizedType`:return OS(e,t.typeAnnotation,n);case`TSUnionType`:return kS(e,t.types,n,r,i);case`TSIntersectionType`:return kS(e,t.types,n,r,i).filter(e=>e!==Cb);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 OS(e,t,n)}}}return[Cb]}case`TSEnumDeclaration`:return AS(t);case`TSSymbolKeyword`:return[`Symbol`];case`TSIndexedAccessType`:return kS(e,Qx(e,t,n),n,r);case`ClassDeclaration`:return[`Object`];case`TSImportType`:{let r=iS(e,t,pS(e,t.argument,n,t.argument.value));if(r)return OS(e,r,r._ownerScope);break}case`TSTypeQuery`:{let i=t.exprName;if(i.type===`Identifier`){let t=n.declares[i.name];if(t)return OS(e,t,t._ownerScope,r)}break}case`TSTypeOperator`:return OS(e,t.typeAnnotation,n,t.operator===`keyof`);case`TSAnyKeyword`:if(r)return[`String`,`Number`,`Symbol`];break}}catch(e){}finally{e.silentOnExtendsFailure=a}return[Cb]}function kS(e,t,n,r=!1,i=void 0){return t.length===1?OS(e,t[0],t[0]._ownerScope||n,r,i):[...new Set([].concat(...t.map(t=>OS(e,t,t._ownerScope||n,r,i))))]}function AS(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 jS({props:e},t){let n={props:{}};for(let r in e){let i=e[r];n.props[r]=MS(i.key,i.typeAnnotation.typeAnnotation,t)}return n}function MS(e,t,n,r=!0,i=!0){if(i&&t.type===`TSTypeLiteral`){let r=PS(t,`type`);if(r){let i=PS(t,`required`);return MS(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 Yx(e,NS(t.typeName.name),n,r);if(t.typeName.name===`PropType`&&t.typeParameters)return Yx(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=MS(e,i,n,r);if(t)return t}return Yx(e,{type:`TSNullKeyword`},n,r)}function NS(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 PS(e,t){let n=e.members.find(e=>e.type===`TSPropertySignature`&&jb(e)===t&&e.typeAnnotation);return n&&n.typeAnnotation.typeAnnotation}function FS(e,t,n){var r;let i=t;if((t.type===`TSTypeReference`||t.type===`TSTypeQuery`||t.type===`TSImportType`)&&(i=iS(e,t,n)),i){if(i.type===`TSFunctionType`)return(r=i.typeAnnotation)==null?void 0:r.typeAnnotation;if(i.type===`TSDeclareFunction`)return i.returnType}}function IS(e,t,n){if(t.type===`TSTypeReference`){let r=iS(e,t,n);r&&(t=r)}let r;return r=t.type===`TSUnionType`?t.types.flatMap(t=>IS(e,t,n)):[t],r}var LS=`defineModel`;function RS(e,t,n){if(!Db(t,LS))return!1;e.hasDefineModelCall=!0;let r=t.typeParameters&&t.typeParameters.params[0]||void 0,i,a,o=t.arguments[0]&&yi(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 zS(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&&OS(e,i);if(c){let e=c.includes(`Boolean`),n=c.includes(`Function`);c.includes(Cb)&&(e||n?(c=c.filter(e=>e!==Cb),o=!0):c=[`null`]),t?(e||a&&n)&&(s=`type: ${Ob(c)}`):s=`type: ${Ob(c)}`+(o?`, skipCheck: true`:``)}let l;l=s&&a?e.isTS?`{ ${s}, ...${a} }`:`Object.assign({ ${s} }, ${a})`:s?`{ ${s} }`:a||`{}`,n+=`
|
|
129
|
+
${JSON.stringify(r)}: ${l},`;let u=JSON.stringify(r===`modelValue`?`modelModifiers`:`${r}Modifiers`);n+=`
|
|
130
|
+
${u}: {},`}return`{${n}
|
|
131
|
+
}`}var BS=`defineProps`,VS=`withDefaults`;function HS(e,t,n,r=!1){if(!Db(t,BS))return US(e,t,n);if(e.hasDefinePropsCall&&e.error(`duplicate ${BS}() call`,t),e.hasDefinePropsCall=!0,e.propsRuntimeDecl=t.arguments[0],e.propsRuntimeDecl)for(let t of Wb(e.propsRuntimeDecl))t in e.bindingMetadata||(e.bindingMetadata[t]=`props`);return t.typeParameters&&(e.propsRuntimeDecl&&e.error(`${BS}() 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`&&ZS(e,n),e.propsCall=t,e.propsDecl=n,!0}function US(e,t,n){return Db(t,VS)?(HS(e,t.arguments[0],n,!0)||e.error(`${VS}' first argument must be a ${BS} call.`,t.arguments[0]||t),e.propsRuntimeDecl&&e.error(`${VS} can only be used with type-based ${BS} declaration.`,t),n&&n.type===`ObjectPattern`&&e.warn(`${VS}() is unnecessary when using destructure with ${BS}().
|
|
138
132
|
Reactive destructure will be disabled when using withDefaults().
|
|
139
|
-
Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,
|
|
140
|
-
${
|
|
133
|
+
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 ${VS} is required.`,t),e.propsCall=t,!0):!1}function WS(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=YS(e,t),i=Lb(t);r&&n.push(`${i}: ${r.valueString}${r.needSkipFactory?`, __skip_${i}: true`:``}`)}n.length&&(t=`/*@__PURE__*/${e.helper(`mergeDefaults`)}(${t}, {
|
|
134
|
+
${n.join(`,
|
|
141
135
|
`)}
|
|
142
|
-
})`)}}else
|
|
143
|
-
${
|
|
136
|
+
})`)}}else e.propsTypeDecl&&(t=GS(e));let n=zS(e);return t&&n?`/*@__PURE__*/${e.helper(`mergeModels`)}(${t}, ${n})`:n||t}function GS(e){let t=KS(e,e.propsTypeDecl);if(!t.length)return;let n=[],r=JS(e);for(let i of t)n.push(qS(e,i,r)),`bindingMetadata`in e&&!(i.key in e.bindingMetadata)&&(e.bindingMetadata[i.key]=`props`);let i=`{
|
|
137
|
+
${n.join(`,
|
|
144
138
|
`)}
|
|
145
|
-
}`;return
|
|
146
|
-
([__temp,__restore] = ${
|
|
147
|
-
${
|
|
148
|
-
__restore()${
|
|
139
|
+
}`;return e.propsRuntimeDefaults&&!r&&(i=`/*@__PURE__*/${e.helper(`mergeDefaults`)}(${i}, ${e.getString(e.propsRuntimeDefaults)})`),i}function KS(e,t){let n=[],r=Gx(e,t);for(let t in r.props){let i=r.props[t],a=OS(e,i),o=!1;a.includes(Cb)&&(a.includes(`Boolean`)||a.includes(`Function`)?(a=a.filter(e=>e!==Cb),o=!0):a=[`null`]),n.push({key:t,required:!i.optional,type:a||[`null`],skipCheck:o})}return n}function qS(e,{key:t,required:n,type:r,skipCheck:i},a){let o,s=YS(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`?!1:wb(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=Lb(t);return e.options.isProd?r.some(e=>e===`Boolean`||(!a||o)&&e===`Function`)?`${c}: { ${Tb([`type: ${Ob(r)}`,o])} }`:e.isCE?o?`${c}: ${`{ ${o}, type: ${Ob(r)} }`}`:`${c}: {type: ${Ob(r)}}`:`${c}: ${o?`{ ${o} }`:`{}`}`:`${c}: { ${Tb([`type: ${Ob(r)}`,`required: ${n}`,i&&`skipCheck: true`,o])} }`}function JS(e){return!!(e.propsRuntimeDefaults&&e.propsRuntimeDefaults.type===`ObjectExpression`&&e.propsRuntimeDefaults.properties.every(e=>e.type!==`SpreadElement`&&(!e.computed||e.key.type.endsWith(`Literal`))))}function YS(e,t,n){let r=e.propsDestructuredBindings[t],i=r&&r.default;if(i){let r=e.getString(i),a=yi(i);if(n&&n.length&&!n.includes(`null`)){let r=XS(a);r&&!n.includes(r)&&e.error(`Default value of prop "${t}" does not match declared type.`,a)}let o=!n&&(mi(a)||a.type===`Identifier`);return{valueString:!o&&!Eb(a)&&!(n!=null&&n.includes(`Function`))?`() => (${r})`:r,needSkipFactory:o}}}function XS(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 ZS(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=wb(r.key,r.computed);if(t||e.error(`${BS}() destructure cannot use computed key.`,r.key),r.value.type===`AssignmentPattern`){let{left:i,right:a}=r.value;i.type!==`Identifier`&&e.error(`${BS}() destructure does not support nested patterns.`,i),n(t,i.name,a)}else r.value.type===`Identifier`?n(t,r.value.name):e.error(`${BS}() destructure does not support nested patterns.`,r.value)}else e.propsDestructureRestId=r.argument.name,e.bindingMetadata[e.propsDestructureRestId]=`setup-reactive-const`}function QS(e,t){if(e.options.propsDestructure===!1)return;let n=Object.create(null),r=[n],i=n,a=new WeakSet,o=[],s=Object.create(null);for(let t in e.propsDestructuredBindings){let{local:r}=e.propsDestructuredBindings[t];n[r]=!0,s[r]=t}function c(){r.push(i=Object.create(i))}function l(){r.pop(),i=r[r.length-1]||null}function u(t){a.add(t),i?i[t.name]=!1:e.error(`registerBinding called without active scope, something is wrong.`,t)}function d(e,t=!1){for(let n of e.body)if(n.type===`VariableDeclaration`)f(n,t);else if(n.type===`FunctionDeclaration`||n.type===`ClassDeclaration`){if(n.declare||!n.id)continue;u(n.id)}else n.type===`ExportNamedDeclaration`&&n.declaration&&n.declaration.type===`VariableDeclaration`?f(n.declaration,t):n.type===`LabeledStatement`&&n.body.type===`VariableDeclaration`&&f(n.body,t)}function f(e,t=!1){if(!e.declare)for(let n of e.declarations){let e=t&&n.init&&Db(yi(n.init),`defineProps`);for(let t of di(n.id))e?a.add(t):u(t)}}function p(t,n,r){(n.type===`AssignmentExpression`&&t===n.left||n.type===`UpdateExpression`)&&e.error(`Cannot assign to destructured props as they are readonly.`,t),hi(n)&&n.shorthand?(!n.inPattern||ii(n,r))&&e.s.appendLeft(t.end+e.startOffset,`: ${ae(s[t.name])}`):e.s.overwrite(t.start+e.startOffset,t.end+e.startOffset,ae(s[t.name]))}function m(t,n,r=n){if(Db(t,r)){let r=yi(t.arguments[0]);r.type===`Identifier`&&i[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 h=e.scriptSetupAst;d(h,!0),ti(h,{enter(e,n){if(n&&o.push(n),n&&n.type.startsWith(`TS`)&&!vi.includes(n.type))return this.skip();if(m(e,`watch`,t.watch),m(e,`toRef`,t.toRef),mi(e)){c(),oi(e,u),e.body.type===`BlockStatement`&&d(e.body);return}if(e.type===`CatchClause`){c(),e.param&&e.param.type===`Identifier`&&u(e.param),d(e.body);return}if(e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`){c();let t=e.type===`ForStatement`?e.init:e.left;t&&t.type===`VariableDeclaration`&&f(t),e.body.type===`BlockStatement`&&d(e.body);return}if(e.type===`BlockStatement`&&!mi(n)){c(),d(e);return}e.type===`Identifier`&&ri(e,n,o)&&!a.has(e)&&i[e.name]&&p(e,n,o)},leave(e,t){t&&o.pop(),(e.type===`BlockStatement`&&!mi(t)||mi(e)||e.type===`CatchClause`||e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`)&&l()}})}var $S=`defineEmits`;function eC(e,t,n){return Db(t,$S)?(e.hasDefineEmitCall&&e.error(`duplicate ${$S}() call`,t),e.hasDefineEmitCall=!0,e.emitsRuntimeDecl=t.arguments[0],t.typeParameters&&(e.emitsRuntimeDecl&&e.error(`${$S}() 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 tC(e){let t=``;if(e.emitsRuntimeDecl)t=e.getString(e.emitsRuntimeDecl).trim();else if(e.emitsTypeDecl){let n=nC(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 nC(e){let t=new Set,n=e.emitsTypeDecl;if(n.type===`TSFunctionType`)return rC(e,n.parameters[0],t),t;let{props:r,calls:i}=Gx(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)rC(e,n.parameters[0],t)}return t}function rC(e,t,n){if(t.type===`Identifier`&&t.typeAnnotation&&t.typeAnnotation.type===`TSTypeAnnotation`){let r=IS(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 iC=`defineExpose`;function aC(e,t){return Db(t,iC)?(e.hasDefineExposeCall&&e.error(`duplicate ${iC}() call`,t),e.hasDefineExposeCall=!0,!0):!1}var oC=`defineSlots`;function sC(e,t,n){return Db(t,oC)?(e.hasDefineSlotsCall&&e.error(`duplicate ${oC}() call`,t),e.hasDefineSlotsCall=!0,t.arguments.length>0&&e.error(`${oC}() cannot accept arguments`,t),n&&e.s.overwrite(e.startOffset+t.start,e.startOffset+t.end,`${e.helper(`useSlots`)}()`),!0):!1}var cC=`defineOptions`;function lC(e,t){if(!Db(t,cC))return!1;if(e.hasDefineOptionsCall&&e.error(`duplicate ${cC}() call`,t),t.typeParameters&&e.error(`${cC}() cannot accept type arguments`,t),!t.arguments[0])return!0;e.hasDefineOptionsCall=!0,e.optionsRuntimeDecl=yi(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(`${cC}() cannot be used to declare props. Use ${BS}() instead.`,n),r&&e.error(`${cC}() cannot be used to declare emits. Use ${$S}() instead.`,r),i&&e.error(`${cC}() cannot be used to declare expose. Use ${iC}() instead.`,i),a&&e.error(`${cC}() cannot be used to declare slots. Use ${oC}() instead.`,a),!0}function uC(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?`;`:``}(
|
|
140
|
+
([__temp,__restore] = ${e.helper(`withAsyncContext`)}(${s?`async `:``}() => `),e.s.appendLeft(t.end+a,`)),
|
|
141
|
+
${r?``:`__temp = `}await __temp,
|
|
142
|
+
__restore()${r?``:`,
|
|
149
143
|
__temp`}
|
|
150
|
-
)`)}var
|
|
151
|
-
`):
|
|
152
|
-
const ${
|
|
153
|
-
`)),
|
|
154
|
-
`),
|
|
155
|
-
${
|
|
156
|
-
`));let
|
|
157
|
-
let __temp${
|
|
158
|
-
`)}
|
|
144
|
+
)`)}var dC=Object.defineProperty,fC=Object.defineProperties,pC=Object.getOwnPropertyDescriptors,mC=Object.getOwnPropertySymbols,hC=Object.prototype.hasOwnProperty,gC=Object.prototype.propertyIsEnumerable,_C=(e,t,n)=>t in e?dC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vC=(e,t)=>{for(var n in t||(t={}))hC.call(t,n)&&_C(e,n,t[n]);if(mC)for(var n of mC(t))gC.call(t,n)&&_C(e,n,t[n]);return e},yC=(e,t)=>fC(e,pC(t)),bC=[BS,$S,iC,cC,oC,LS,VS];function xC(e,t){var n,r,i;t.id||vh("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");let{script:a,scriptSetup:o,source:s,filename:c}=e,l=t.hoistStatic!==!1&&!a,u=t.id?t.id.replace(/^data-v-/,``):``,d=a&&a.lang,f=o&&o.lang,p=Rb(d,f)||zb(d,f);if(a&&o&&d!==f)throw Error(`[@vue/compiler-sfc] <script> and <script setup> must have the same language type.`);if(!o){if(!a)throw Error(`[@vue/compiler-sfc] SFC contains no <script> tags.`);return a.lang&&!p?a:Px(new vx(e,t),u)}if(f&&!p)return o;let m=new vx(e,t),h=Object.create(null),g=Object.create(null),_,v=!1,y=!1,b=m.startOffset,x=m.endOffset,S=a&&a.loc.start.offset,C=a&&a.loc.end.offset;function w(e){let t=e.start+b,n=e.end+b;for(e.trailingComments&&e.trailingComments.length>0&&(n=e.trailingComments[e.trailingComments.length-1].end+b);n<=s.length&&/\s/.test(s.charAt(n));)n++;m.s.move(t,n,0)}function T(t,n,r,i,a,o){let s=o;o&&m.isTS&&e.template&&!e.template.src&&!e.template.lang&&(s=du(n,e)),m.userImports[n]={isType:i,imported:r,local:n,source:t,isFromSetup:a,isUsedInTemplate:s}}function E(e,t){e&&ni(e,e=>{let n=g[e.name];n&&n!==`literal-const`&&m.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 D=m.scriptAst,O=m.scriptSetupAst;if(D){for(let e of D.body)if(e.type===`ImportDeclaration`)for(let n of e.specifiers){let r=kb(n);T(e.source.value,n.local.name,r,e.importKind===`type`||n.type===`ImportSpecifier`&&n.importKind===`type`,!1,!t.inlineTemplate)}}for(let e of O.body)if(e.type===`ImportDeclaration`){w(e);let n=0,r=t=>{let r=t>n;n++;let i=e.specifiers[t],a=e.specifiers[t+1];m.s.remove(r?e.specifiers[t-1].end+b:i.start+b,a&&!r?a.start+b:i.end+b)};for(let n=0;n<e.specifiers.length;n++){let i=e.specifiers[n],a=i.local.name,o=kb(i),s=e.source.value,c=m.userImports[a];s===`vue`&&bC.includes(o)?(a===o?vh(`\`${o}\` is a compiler macro and no longer needs to be imported.`):m.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):m.error(`different imports aliased to same local name.`,i):T(s,a,o,e.importKind===`type`||i.type===`ImportSpecifier`&&i.importKind===`type`,!0,!t.inlineTemplate)}e.specifiers.length&&n===e.specifiers.length&&m.s.remove(e.start+b,e.end+b)}let k={};for(let e in m.userImports){let{source:t,imported:n,local:r}=m.userImports[e];t===`vue`&&(k[n]=r)}if(a&&D){for(let e of D.body)if(e.type===`ExportDefaultDeclaration`){_=e;let t;if(_.declaration.type===`ObjectExpression`?t=_.declaration.properties:_.declaration.type===`CallExpression`&&_.declaration.arguments[0]&&_.declaration.arguments[0].type===`ObjectExpression`&&(t=_.declaration.arguments[0].properties),t)for(let e of t)e.type===`ObjectProperty`&&e.key.type===`Identifier`&&e.key.name===`name`&&(m.hasDefaultExportName=!0),(e.type===`ObjectMethod`||e.type===`ObjectProperty`)&&e.key.type===`Identifier`&&e.key.name===`render`&&(m.hasDefaultExportRender=!0);let n=e.start+S,r=e.declaration.start+S;m.s.overwrite(n,r,`const ${Nx} = `)}else if(e.type===`ExportNamedDeclaration`){let t=e.specifiers.find(e=>e.exported.type===`Identifier`&&e.exported.name==="default");t&&(_=e,e.specifiers.length>1?m.s.remove(t.start+S,t.end+S):m.s.remove(e.start+S,e.end+S),e.source?m.s.prepend(`import { ${t.local.name} as ${Nx} } from '${e.source.value}'
|
|
145
|
+
`):m.s.appendLeft(C,`
|
|
146
|
+
const ${Nx} = ${t.local.name}
|
|
147
|
+
`)),e.declaration&&CC(`script`,e.declaration,h,k,l)}else (e.type===`VariableDeclaration`||e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`||e.type===`TSEnumDeclaration`)&&!e.declare&&CC(`script`,e,h,k,l);S>b&&(/\n$/.test(a.content.trim())||m.s.appendLeft(C,`
|
|
148
|
+
`),m.s.move(S,C,0))}for(let e of O.body){if(e.type===`ExpressionStatement`){let t=yi(e.expression);if(HS(m,t)||eC(m,t)||lC(m,t)||sC(m,t))m.s.remove(e.start+b,e.end+b);else if(aC(m,t)){let e=t.callee;m.s.overwrite(e.start+b,e.end+b,`__expose`)}else RS(m,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&&yi(a.init);if(o){lC(m,o)&&m.error(`${cC}() has no returning value, it cannot be assigned.`,e);let s=HS(m,o,a.id);m.propsDestructureRestId&&(g[m.propsDestructureRestId]=`setup-reactive-const`);let c=!s&&eC(m,o,a.id);if(!c&&(sC(m,o,a.id)||RS(m,o,a.id)),s&&!m.propsDestructureRestId&&m.propsDestructureDecl)if(n===1)m.s.remove(e.start+b,e.end+b);else{let o=a.start+b,s=a.end+b;i===t-1?o=e.declarations[r].end+b:s=e.declarations[i+1].start+b,m.s.remove(o,s),n--}else c?m.s.overwrite(b+o.start,b+o.end,`__emit`):r=i}}}let t=!1;if((e.type===`VariableDeclaration`||e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`||e.type===`TSEnumDeclaration`)&&!e.declare&&(t=CC(`scriptSetup`,e,g,k,l,!!m.propsDestructureDecl)),l&&t&&w(e),e.type===`VariableDeclaration`&&!e.declare||e.type.endsWith(`Statement`)){let t=[O.body];ti(e,{enter(e,n){mi(e)&&this.skip(),e.type===`BlockStatement`&&t.push(e.body),e.type===`AwaitExpression`&&(v=!0,uC(m,e,t[t.length-1].some((n,r)=>(t.length===1||r>0)&&n.type===`ExpressionStatement`&&n.start===e.start),n.type===`ExpressionStatement`))},exit(e){e.type===`BlockStatement`&&t.pop()}})}(e.type===`ExportNamedDeclaration`&&e.exportKind!==`type`||e.type===`ExportAllDeclaration`||e.type===`ExportDefaultDeclaration`)&&m.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),m.isTS&&(e.type.startsWith(`TS`)||e.type===`ExportNamedDeclaration`&&e.exportKind===`type`||e.type===`VariableDeclaration`&&e.declare)&&e.type!==`TSEnumDeclaration`&&w(e)}m.propsDestructureDecl&&QS(m,k),E(m.propsRuntimeDecl,BS),E(m.propsRuntimeDefaults,BS),E(m.propsDestructureDecl,BS),E(m.emitsRuntimeDecl,$S),E(m.optionsRuntimeDecl,cC);for(let{runtimeOptionNodes:e}of Object.values(m.modelDecls))for(let t of e)E(t,LS);a?b<S?(m.s.remove(0,b),m.s.remove(x,S),m.s.remove(C,s.length)):(m.s.remove(0,S),m.s.remove(C,b),m.s.remove(x,s.length)):(m.s.remove(0,b),m.s.remove(x,s.length)),D&&Object.assign(m.bindingMetadata,Bb(D.body));for(let[e,{isType:t,imported:n,source:r}]of Object.entries(m.userImports))t||(m.bindingMetadata[e]=n===`*`||n==="default"&&r.endsWith(`.vue`)||r===`vue`?`setup-const`:`setup-maybe-ref`);for(let e in h)m.bindingMetadata[e]=h[e];for(let e in g)m.bindingMetadata[e]=g[e];if(e.template&&!e.template.src&&e.template.ast){let t=pu(e);if(t.size){let e=new Set;for(let n of t)g[n]===`setup-reactive-const`&&e.add(n);if(e.size){for(let t of O.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){m.s.overwrite(t.start+b,t.start+b+5,`let`);for(let e of n)g[e]=`setup-let`,m.bindingMetadata[e]=`setup-let`,vh(`\`v-model\` cannot update a \`const\` reactive binding \`${e}\`. The compiler has transformed it to \`let\` to make the update work.`)}}}}}e.cssVars.length&&!((n=t.templateOptions)!=null&&n.ssr)&&(m.helperImports.add(pl),m.helperImports.add(`unref`),m.s.prependLeft(b,`
|
|
149
|
+
${xl(e.cssVars,m.bindingMetadata,u,!!t.isProd)}
|
|
150
|
+
`));let A=`__props`;if(m.propsTypeDecl&&(A+=`: any`),m.propsDecl&&(m.propsDestructureRestId?(m.s.overwrite(b+m.propsCall.start,b+m.propsCall.end,`${m.helper(`createPropsRestProxy`)}(__props, ${JSON.stringify(Object.keys(m.propsDestructuredBindings))})`),m.s.overwrite(b+m.propsDestructureDecl.start,b+m.propsDestructureDecl.end,m.propsDestructureRestId)):m.propsDestructureDecl||m.s.overwrite(b+m.propsCall.start,b+m.propsCall.end,`__props`)),v){let e=m.isTS?`: any`:``;m.s.prependLeft(b,`
|
|
151
|
+
let __temp${e}, __restore${e}
|
|
152
|
+
`)}let j=m.hasDefineExposeCall||!t.inlineTemplate?[`expose: __expose`]:[];m.emitDecl&&j.push(`emit: __emit`),j.length&&(A+=`, { ${j.join(`, `)} }`);let ee,M,te=WS(m);if(!t.inlineTemplate||!e.template&&m.hasDefaultExportRender){let e=vC(vC({},h),g);for(let t in m.userImports)!m.userImports[t].isType&&m.userImports[t].isUsedInTemplate&&(e[t]=!0);M=`{ `;for(let t in e)if(e[t]===!0&&m.userImports[t].source!==`vue`&&!m.userImports[t].source.endsWith(`.vue`))M+=`get ${t}() { return ${t} }, `;else if(m.bindingMetadata[t]===`setup-let`){let e=t===`v`?`_v`:`v`;M+=`get ${t}() { return ${t} }, set ${t}(${e}) { ${t} = ${e} }, `}else M+=`${t}, `;M=M.replace(/, $/,``)+` }`}else if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&(y=!0);let{code:n,ast:r,preamble:i,tips:a,errors:o,map:l}=Ah(yC(vC({filename:c,ast:e.template.ast,source:e.template.content,inMap:e.template.map},t.templateOptions),{id:u,scoped:e.styles.some(e=>e.scoped),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:yC(vC({},t.templateOptions&&t.templateOptions.compilerOptions),{inline:!0,isTS:m.isTS,bindingMetadata:m.bindingMetadata})}));ee=l,a.length&&a.forEach(vh);let d=o[0];if(typeof d==`string`)throw Error(d);if(d)throw d.loc&&(d.message+=`
|
|
159
153
|
|
|
160
|
-
`+
|
|
161
|
-
`+
|
|
162
|
-
`),
|
|
163
|
-
return ${
|
|
154
|
+
`+e.filename+`
|
|
155
|
+
`+de(s,d.loc.start.offset,d.loc.end.offset)+`
|
|
156
|
+
`),d;i&&m.s.prepend(i),r&&r.helpers.has(Ct)&&m.helperImports.delete(`unref`),M=n}else M=`() => {}`;t.inlineTemplate?m.s.appendRight(x,`
|
|
157
|
+
return ${M}
|
|
164
158
|
}
|
|
165
159
|
|
|
166
|
-
`):
|
|
167
|
-
const __returned__ = ${
|
|
160
|
+
`):m.s.appendRight(x,`
|
|
161
|
+
const __returned__ = ${M}
|
|
168
162
|
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
169
163
|
return __returned__
|
|
170
164
|
}
|
|
171
165
|
|
|
172
|
-
`);
|
|
173
|
-
__name: '${
|
|
174
|
-
__ssrInlineRender: true,`)
|
|
175
|
-
props: ${
|
|
176
|
-
emits: ${
|
|
177
|
-
`;if(
|
|
178
|
-
...${
|
|
179
|
-
...${
|
|
180
|
-
${
|
|
181
|
-
${
|
|
182
|
-
${
|
|
183
|
-
${
|
|
184
|
-
${
|
|
185
|
-
${
|
|
186
|
-
${
|
|
187
|
-
${
|
|
188
|
-
${
|
|
189
|
-
`)}
|
|
190
|
-
`),cssCode:a.sfcStyleCompileResultsList.map(
|
|
191
|
-
`)}}
|
|
166
|
+
`);let ne=t.genDefaultAs?`const ${t.genDefaultAs} =`:`export default`,N=``;if(!m.hasDefaultExportName&&c&&c!==Eu){let e=c.match(/([^/\\]+)\.\w+$/);e&&(N+=`
|
|
167
|
+
__name: '${e[1]}',`)}y&&(N+=`
|
|
168
|
+
__ssrInlineRender: true,`),te&&(N+=`
|
|
169
|
+
props: ${te},`);let P=tC(m);P&&(N+=`
|
|
170
|
+
emits: ${P},`);let F=``;m.optionsRuntimeDecl&&(F=o.content.slice(m.optionsRuntimeDecl.start,m.optionsRuntimeDecl.end).trim());let re=m.hasDefineExposeCall||t.inlineTemplate?``:` __expose();
|
|
171
|
+
`;if(m.isTS){let e=(_?`
|
|
172
|
+
...${Nx},`:``)+(F?`
|
|
173
|
+
...${F},`:``);m.s.prependLeft(b,`
|
|
174
|
+
${ne} /*@__PURE__*/${m.helper(`defineComponent`)}({${e}${N}
|
|
175
|
+
${v?`async `:``}setup(${A}) {
|
|
176
|
+
${re}`),m.s.appendRight(x,`})`)}else _||F?(m.s.prependLeft(b,`
|
|
177
|
+
${ne} /*@__PURE__*/Object.assign(${_?`${Nx}, `:``}${F?`${F}, `:``}{${N}
|
|
178
|
+
${v?`async `:``}setup(${A}) {
|
|
179
|
+
${re}`),m.s.appendRight(x,`})`)):(m.s.prependLeft(b,`
|
|
180
|
+
${ne} {${N}
|
|
181
|
+
${v?`async `:``}setup(${A}) {
|
|
182
|
+
${re}`),m.s.appendRight(x,`}`));if(m.helperImports.size>0){let e=(i=(r=t.templateOptions)==null?void 0:r.compilerOptions)==null?void 0:i.runtimeModuleName,n=e?JSON.stringify(e):`'vue'`;m.s.prepend(`import { ${[...m.helperImports].map(e=>`${e} as _${e}`).join(`, `)} } from ${n}
|
|
183
|
+
`)}let I=m.s.toString(),ie=t.sourceMap===!1?void 0:m.s.generateMap({source:c,hires:!0,includeContent:!0});if(ee&&ie){let e=I.indexOf(M),t=I.slice(0,e).split(/\r?\n/).length-1;ie=kC(ie,ee,t)}return yC(vC({},o),{bindings:m.bindingMetadata,imports:m.userImports,content:I,map:ie,scriptAst:D==null?void 0:D.body,scriptSetupAst:O==null?void 0:O.body,deps:m.deps?[...m.deps]:void 0})}function SC(e,t,n){e[t.name]=n}function CC(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`&&OC(e.init));for(let{id:c,init:l}of t.declarations){let t=l&&yi(l),u=s&&Db(t,e=>e===BS||e===$S||e===VS||e===oC);if(c.type===`Identifier`){let a,l=r.reactive;a=(i||e===`script`)&&(o||s&&OC(t))?`literal-const`:Db(t,l)?s?`setup-reactive-const`:`setup-let`:u||s&&DC(t,l)?Db(t,BS)?`setup-reactive-const`:`setup-const`:s?Db(t,e=>e===r.ref||e===r.computed||e===r.shallowRef||e===r.customRef||e===r.toRef||e===r.useTemplateRef||e===LS)?`setup-ref`:`setup-maybe-ref`:`setup-let`,SC(n,c,a)}else{if(Db(t,BS)&&a)continue;c.type===`ObjectPattern`?wC(c,n,s,u):c.type===`ArrayPattern`&&TC(c,n,s,u)}}}else t.type===`TSEnumDeclaration`?(o=t.members.every(e=>!e.initializer||OC(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 wC(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`;SC(t,i.key,e)}else EC(i.value,t,n,r);else{let e=n?`setup-const`:`setup-let`;SC(t,i.argument,e)}}function TC(e,t,n,r=!1){for(let i of e.elements)i&&EC(i,t,n,r)}function EC(e,t,n,r=!1){if(e.type===`Identifier`)SC(t,e,r?`setup-const`:n?`setup-maybe-ref`:`setup-let`);else if(e.type===`RestElement`){let r=n?`setup-const`:`setup-let`;SC(t,e.argument,r)}else if(e.type===`ObjectPattern`)wC(e,t,n);else if(e.type===`ArrayPattern`)TC(e,t,n);else if(e.type===`AssignmentPattern`)if(e.left.type===`Identifier`){let i=r?`setup-const`:n?`setup-maybe-ref`:`setup-let`;SC(t,e.left,i)}else EC(e.left,t,n)}function DC(e,t){if(Db(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 DC(e.expressions[e.expressions.length-1],t);default:return!!Eb(e)}}function OC(e){switch(e=yi(e),e.type){case`UnaryExpression`:return OC(e.argument);case`LogicalExpression`:case`BinaryExpression`:return OC(e.left)&&OC(e.right);case`ConditionalExpression`:return OC(e.test)&&OC(e.consequent)&&OC(e.alternate);case`SequenceExpression`:case`TemplateLiteral`:return e.expressions.every(e=>OC(e));case`ParenthesizedExpression`:return OC(e.expression);case`StringLiteral`:case`NumericLiteral`:case`BooleanLiteral`:case`NullLiteral`:case`BigIntLiteral`:return!0}return!1}function kC(e,t,n){let r=new Fo.SourceMapGenerator,i=(e,t=0)=>{let n=new Fo.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 AC=Object.defineProperty,jC=Object.getOwnPropertySymbols,MC=Object.prototype.hasOwnProperty,NC=Object.prototype.propertyIsEnumerable,PC=(e,t,n)=>t in e?AC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,FC=(e,t)=>{for(var n in t||(t={}))MC.call(t,n)&&PC(e,n,t[n]);if(jC)for(var n of jC(t))NC.call(t,n)&&PC(e,n,t[n]);return e};FC(FC({},Kr),Ec),Qr.parse;function IC(e,t){var n;let r=xC(e,{id:t});return(n=r.warnings)==null||n.forEach(e=>console.warn(e)),r}function LC(e,t,n){let r=bb({id:t,filename:n,source:e.content,scoped:e.scoped});return r.errors.forEach(e=>console.error(e)),r}function RC(e,t,n){var r,i;let a=Ah({id:t,filename:n,source:(r=(i=e.template)==null?void 0:i.content)==null?``:r});return a.errors.forEach(e=>console.error(e)),a}function zC(e,t){let n=`${t}.vue`,{descriptor:r,errors:i}=Ou(e,{filename:n});if(!r.script&&!r.scriptSetup)return zC(`<script>/* empty script */<\/script>${e}`,t);let a=r.styles.some(e=>e.scoped);return i.forEach(e=>console.error(e)),{compiled:{sfcAppBlock:IC(r,t),sfcTemplateCompileResults:RC(r,t,n),sfcStyleCompileResultsList:r.styles.map(e=>LC(e,t,n))},isScoped:a}}function BC({content:e},t){return e.replace(`export default`,`${t} =`).replace(/Object\.defineProperty\(__returned__.*/,``)}function VC({code:e},t){return e.replace(`export function render`,`${t}.render = function`)}function HC(e,{id:t=`sfc2esm`,appName:n=t,mount:r=`#app`}){let{isScoped:i,compiled:a}=zC(e,t),o=BC(a.sfcAppBlock,n),s=VC(a.sfcTemplateCompileResults,n),{initCode:c,scopeIdCode:l,createAppCode:u}=p({id:t,appName:n,isScoped:i,mount:r});return{esmCode:[c,o,s,l,u].join(`
|
|
184
|
+
`),cssCode:a.sfcStyleCompileResultsList.map(e=>e.code).join(`
|
|
185
|
+
`)}}function UC(e,t){var n;let r=document.createElement(`main`);r.insertAdjacentHTML(`afterbegin`,e);let i=r.firstElementChild;if(!i)return;let a=document.createElement(i.tagName);a.innerHTML=t==null?i.innerHTML:t;for(let e of i.getAttributeNames())a.setAttribute(e,(n=i.getAttribute(e))==null?``:n);return{mount:e=>e.appendChild(a)}}function WC(e){let t=[];return new Promise(n=>{let r=new MutationObserver(n=>{for(let{addedNodes:r}of n)r.forEach(n=>n instanceof HTMLElement&&e(n,t))});r.observe(document.head,{childList:!0}),document.addEventListener(`DOMContentLoaded`,()=>{n(t),r.disconnect()})})}function GC(e){return KC.apply(this,arguments)}function KC(){return KC=l(function*(e){e((yield WC((e,t)=>{/^(?:script|template|style)$/.test(e.localName)&&(e.hasAttribute(`src`)||(t.push(e.outerHTML),e.localName===`style`?e.onload=e.remove:e.remove()))})).join(`
|
|
186
|
+
`))}),KC.apply(this,arguments)}GC(e=>{var t,n,r;let i=document.body,{esmCode:a,cssCode:o}=HC(e,{id:`setupin`,mount:`body`});(t=UC(`<script type="importmap">`,JSON.stringify({imports:{vue:`https://unpkg.com/vue@latest/dist/vue.runtime.esm-browser.prod.js`}})))==null||t.mount(i),(n=UC(`<script type="module">`,`/***************************************\r
|
|
192
187
|
** _ _ **\r
|
|
193
188
|
** ___ ___| |_ _ _ _ __ (_)_ __ **\r
|
|
194
189
|
** / __|/ _ \\ __| | | | '_ \\| | '_ \\ **\r
|
|
@@ -196,6 +191,4 @@ ${ee}`),a.s.appendRight(N,"}"));if(a.helperImports.size>0){const q=(n=(i=e.templ
|
|
|
196
191
|
** |___/\\___|\\__|\\__,_| .__/|_|_| |_| **\r
|
|
197
192
|
** |_| **\r
|
|
198
193
|
***************************************/\r
|
|
199
|
-
|
|
200
|
-
`))})}Hw(t=>{var n,a,o;const e=document.body,{esmCode:r,cssCode:i}=Gw(t,{id:"setupin",mount:"body"});(n=mc('<script type="importmap">',JSON.stringify({imports:{vue:"https://unpkg.com/vue@latest/dist/vue.runtime.esm-browser.prod.js"}})))==null||n.mount(e),(a=mc('<script type="module">',`${zw}
|
|
201
|
-
${r}`))==null||a.mount(e),i&&((o=mc("<style>",i))==null||o.mount(document.head))})})();
|
|
194
|
+
\n${a}`))==null||n.mount(i),o&&((r=UC(`<style>`,o))==null||r.mount(document.head))})})();
|