@live-codes/browser-compilers 0.7.4 → 0.7.6

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.
@@ -0,0 +1,190 @@
1
+ var VueCompilerSFC=(()=>{var Fp=Object.defineProperty;var ov=r=>Fp(r,"__esModule",{value:!0});var wn=r=>{if(typeof require!="undefined")return require(r);throw new Error('Dynamic require of "'+r+'" is not supported')};var Bp=(r,e)=>{ov(r);for(var t in e)Fp(r,t,{get:e[t],enumerable:!0})};var tN={};Bp(tN,{VueCompilerSFC:()=>$p});var $p={};Bp($p,{MagicString:()=>lr,babelParse:()=>Dr,compileScript:()=>XO,compileStyle:()=>xI,compileStyleAsync:()=>AI,compileTemplate:()=>xy,extractIdentifiers:()=>xt,generateCodeFrame:()=>Zr,inferRuntimeType:()=>ht,invalidateTypeCache:()=>xO,isInDestructureAssignment:()=>Cs,isStaticProperty:()=>_s,parse:()=>qd,parseCache:()=>Mu,registerTS:()=>bO,resolveTypeElements:()=>We,rewriteDefault:()=>ZI,rewriteDefaultAST:()=>vp,shouldTransformRef:()=>Mo,transformRef:()=>HI,transformRefAST:()=>yn,version:()=>ZO,walk:()=>eN,walkIdentifiers:()=>Oi});function De(r,e){let t=Object.create(null),s=r.split(",");for(let i=0;i<s.length;i++)t[s[i]]=!0;return e?i=>!!t[i.toLowerCase()]:i=>!!t[i]}var lv=Object.freeze({}),Up=()=>{},En=()=>!1,uv=/^on[^a-z]/,jp=r=>uv.test(r),qt=Object.assign,cv=Object.prototype.hasOwnProperty,Pn=(r,e)=>cv.call(r,e),Ge=Array.isArray,pv=r=>jo(r)==="[object Map]",hv=r=>jo(r)==="[object Set]",qp=r=>typeof r=="function",le=r=>typeof r=="string",Qr=r=>typeof r=="symbol",Vt=r=>r!==null&&typeof r=="object",Vp=Object.prototype.toString,jo=r=>Vp.call(r),fv=r=>jo(r)==="[object Object]",zp=De(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qo=De("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Tn=r=>{let e=Object.create(null);return t=>e[t]||(e[t]=r(t))},dv=/-(\w)/g,wt=Tn(r=>r.replace(dv,(e,t)=>t?t.toUpperCase():"")),mv=/\B([A-Z])/g,Wp=Tn(r=>r.replace(mv,"-$1").toLowerCase()),hr=Tn(r=>r.charAt(0).toUpperCase()+r.slice(1)),yv=Tn(r=>r?`on${hr(r)}`:""),gv=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Xr(r){return gv.test(r)?`__props.${r}`:`__props[${JSON.stringify(r)}]`}var Ot={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},vv={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},Sv="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",Gp=De(Sv),Hp=2;function Zr(r,e=0,t=r.length){let s=r.split(/(\r?\n)/),i=s.filter((o,l)=>l%2==1);s=s.filter((o,l)=>l%2==0);let n=0,a=[];for(let o=0;o<s.length;o++)if(n+=s[o].length+(i[o]&&i[o].length||0),n>=e){for(let l=o-Hp;l<=o+Hp||t>n;l++){if(l<0||l>=s.length)continue;let u=l+1;a.push(`${u}${" ".repeat(Math.max(3-String(u).length,0))}| ${s[l]}`);let c=s[l].length,p=i[l]&&i[l].length||0;if(l===o){let h=e-(n-(c+p)),f=Math.max(1,t>n?c-h:t-e);a.push(" | "+" ".repeat(h)+"^".repeat(f))}else if(l>o){if(t>n){let h=Math.max(Math.min(t-n,c),1);a.push(" | "+"^".repeat(h))}n+=c+p}}break}return a.join(`
2
+ `)}function Kp(r){if(Ge(r)){let e={};for(let t=0;t<r.length;t++){let s=r[t],i=le(s)?Yp(s):Kp(s);if(i)for(let n in i)e[n]=i[n]}return e}else{if(le(r))return r;if(Vt(r))return r}}var bv=/;(?![^(]*\))/g,wv=/:([^]+)/,Ev=/\/\*[^]*?\*\//g;function Yp(r){let e={};return r.replace(Ev,"").split(bv).forEach(t=>{if(t){let s=t.split(wv);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Pv(r){let e="";if(!r||le(r))return e;for(let t in r){let s=r[t],i=t.startsWith("--")?t:Wp(t);(le(s)||typeof s=="number")&&(e+=`${i}:${s};`)}return e}function Jp(r){let e="";if(le(r))e=r;else if(Ge(r))for(let t=0;t<r.length;t++){let s=Jp(r[t]);s&&(e+=s+" ")}else if(Vt(r))for(let t in r)r[t]&&(e+=t+" ");return e.trim()}var Tv="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",xv="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",Av="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Cv=De(Tv),_v=De(xv),Qp=De(Av),Iv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xp=De(Iv+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Ov=/[>/="'\u0009\u000a\u000c\u0020]/,Vo={};function Nv(r){if(Vo.hasOwnProperty(r))return Vo[r];let e=Ov.test(r);return e&&console.error(`unsafe attribute name: ${r}`),Vo[r]=!e}var kv={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Lv=De("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"),Dv=De("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,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),Mv=/["'&<>]/;function Nt(r){let e=""+r,t=Mv.exec(e);if(!t)return e;let s="",i,n,a=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 39:i="&#39;";break;case 60:i="&lt;";break;case 62:i="&gt;";break;default:continue}a!==n&&(s+=e.slice(a,n)),a=n+1,s+=i}return a!==n?s+e.slice(a,n):s}var zo=r=>le(r)?r:r==null?"":Ge(r)||Vt(r)&&(r.toString===Vp||!qp(r.toString))?JSON.stringify(r,Zp,2):String(r),Zp=(r,e)=>e&&e.__v_isRef?Zp(r,e.value):pv(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[s,i])=>(t[`${s} =>`]=i,t),{})}:hv(e)?{[`Set(${e.size})`]:[...e.values()]}:Vt(e)&&!Ge(e)&&!fv(e)?String(e):e;function Wo(r){throw r}function eh(r){console.warn(`[Vue warn] ${r.message}`)}function pe(r,e,t,s){let i=(t||Rv)[r]+(s||""),n=new SyntaxError(String(i));return n.code=r,n.loc=e,n}var Rv={[0]:"Illegal comment.",[1]:"CDATA section is allowed only in XML context.",[2]:"Duplicate attribute.",[3]:"End tag cannot have attributes.",[4]:"Illegal '/' in tags.",[5]:"Unexpected EOF in tag.",[6]:"Unexpected EOF in CDATA section.",[7]:"Unexpected EOF in comment.",[8]:"Unexpected EOF in script.",[9]:"Unexpected EOF in tag.",[10]:"Incorrectly closed comment.",[11]:"Incorrectly opened comment.",[12]:"Illegal tag name. Use '&lt;' to print '<'.",[13]:"Attribute value was expected.",[14]:"End tag name was expected.",[15]:"Whitespace was expected.",[16]:"Unexpected '<!--' in comment.",[17]:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,[18]:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",[19]:"Attribute name cannot start with '='.",[21]:"'<?' is allowed only in XML context.",[20]:"Unexpected null character.",[22]:"Illegal '/' in tags.",[23]:"Invalid end tag.",[24]:"Element is missing end tag.",[25]:"Interpolation end sign was not found.",[27]:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",[26]:"Legal directive name was expected.",[28]:"v-if/v-else-if is missing expression.",[29]:"v-if/else branches must use unique keys.",[30]:"v-else/v-else-if has no adjacent v-if or v-else-if.",[31]:"v-for is missing expression.",[32]:"v-for has invalid expression.",[33]:"<template v-for> key should be placed on the <template> tag.",[34]:"v-bind is missing expression.",[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.
3
+ 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.",[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.',[51]:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",[52]:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',[53]:""},es=Symbol("Fragment"),Tr=Symbol("Teleport"),ts=Symbol("Suspense"),Xs=Symbol("KeepAlive"),Go=Symbol("BaseTransition"),fr=Symbol("openBlock"),Ho=Symbol("createBlock"),Ko=Symbol("createElementBlock"),Zs=Symbol("createVNode"),xn=Symbol("createElementVNode"),rs=Symbol("createCommentVNode"),An=Symbol("createTextVNode"),Cn=Symbol("createStaticVNode"),ei=Symbol("resolveComponent"),ss=Symbol("resolveDynamicComponent"),_n=Symbol("resolveDirective"),th=Symbol("resolveFilter"),In=Symbol("withDirectives"),On=Symbol("renderList"),Yo=Symbol("renderSlot"),Jo=Symbol("createSlots"),ti=Symbol("toDisplayString"),xr=Symbol("mergeProps"),Nn=Symbol("normalizeClass"),kn=Symbol("normalizeStyle"),is=Symbol("normalizeProps"),ns=Symbol("guardReactiveProps"),Ln=Symbol("toHandlers"),Dn=Symbol("camelize"),rh=Symbol("capitalize"),Mn=Symbol("toHandlerKey"),ri=Symbol("setBlockTracking"),Rn=Symbol("pushScopeId"),$n=Symbol("popScopeId"),Fn=Symbol("withCtx"),as=Symbol("unref"),si=Symbol("isRef"),Bn=Symbol("withMemo"),Qo=Symbol("isMemoSame"),Xe={[es]:"Fragment",[Tr]:"Teleport",[ts]:"Suspense",[Xs]:"KeepAlive",[Go]:"BaseTransition",[fr]:"openBlock",[Ho]:"createBlock",[Ko]:"createElementBlock",[Zs]:"createVNode",[xn]:"createElementVNode",[rs]:"createCommentVNode",[An]:"createTextVNode",[Cn]:"createStaticVNode",[ei]:"resolveComponent",[ss]:"resolveDynamicComponent",[_n]:"resolveDirective",[th]:"resolveFilter",[In]:"withDirectives",[On]:"renderList",[Yo]:"renderSlot",[Jo]:"createSlots",[ti]:"toDisplayString",[xr]:"mergeProps",[Nn]:"normalizeClass",[kn]:"normalizeStyle",[is]:"normalizeProps",[ns]:"guardReactiveProps",[Ln]:"toHandlers",[Dn]:"camelize",[rh]:"capitalize",[Mn]:"toHandlerKey",[ri]:"setBlockTracking",[Rn]:"pushScopeId",[$n]:"popScopeId",[Fn]:"withCtx",[as]:"unref",[si]:"isRef",[Bn]:"withMemo",[Qo]:"isMemoSame"};function Xo(r){Object.getOwnPropertySymbols(r).forEach(e=>{Xe[e]=r[e]})}var Ee={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function os(r,e=Ee){return{type:0,children:r,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function ls(r,e,t,s,i,n,a,o=!1,l=!1,u=!1,c=Ee){return r&&(o?(r.helper(fr),r.helper(_r(r.inSSR,u))):r.helper(Cr(r.inSSR,u)),a&&r.helper(In)),{type:13,tag:e,props:t,children:s,patchFlag:i,dynamicProps:n,directives:a,isBlock:o,disableTracking:l,isComponent:u,loc:c}}function Ar(r,e=Ee){return{type:17,loc:e,elements:r}}function Ze(r,e=Ee){return{type:15,loc:e,properties:r}}function fe(r,e){return{type:16,loc:Ee,key:le(r)?j(r,!0):r,value:e}}function j(r,e=!1,t=Ee,s=0){return{type:4,loc:t,content:r,isStatic:e,constType:e?3:s}}function Un(r,e){return{type:5,loc:e,content:le(r)?j(r,!1,e):r}}function Me(r,e=Ee){return{type:8,loc:e,children:r}}function Z(r,e=[],t=Ee){return{type:14,loc:t,callee:r,arguments:e}}function nt(r,e=void 0,t=!1,s=!1,i=Ee){return{type:18,params:r,returns:e,newline:t,isSlot:s,loc:i}}function dr(r,e,t,s=!0){return{type:19,test:r,consequent:e,alternate:t,newline:s,loc:Ee}}function sh(r,e,t=!1){return{type:20,index:r,value:e,isVNode:t,loc:Ee}}function ii(r){return{type:21,body:r,loc:Ee}}function Zo(r){return{type:22,elements:r,loc:Ee}}function jn(r,e,t){return{type:23,test:r,consequent:e,alternate:t,loc:Ee}}function el(r,e){return{type:24,left:r,right:e,loc:Ee}}function ih(r){return{type:25,expressions:r,loc:Ee}}function nh(r){return{type:26,returns:r,loc:Ee}}function Cr(r,e){return r||e?Zs:xn}function _r(r,e){return r||e?Ho:Ko}function qn(r,{helper:e,removeHelper:t,inSSR:s}){r.isBlock||(r.isBlock=!0,t(Cr(s,r.isComponent)),e(fr),e(_r(s,r.isComponent)))}function $v(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ni(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function s(){if(this instanceof s){var i=[null];i.push.apply(i,arguments);var n=Function.bind.apply(e,i);return new n}return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(s){var i=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:function(){return r[s]}})}),t}var Vn={};Object.defineProperty(Vn,"__esModule",{value:!0});var ah={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,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Fv(r){if(r&&r.annexB!=null&&r.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let e={};for(let t of Object.keys(ah))e[t]=r&&r[t]!=null?r[t]:ah[t];return e}var us=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},ge={brace:new us("{"),j_oTag:new us("<tag"),j_cTag:new us("</tag"),j_expr:new us("<tag>...</tag>",!0)};ge.template=new us("`",!0);var ne=!0,U=!0,tl=!0,ai=!0,mr=!0,Bv=!0,rl=class{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?t.binop:null,this.updateContext=null}},sl=new Map;function ue(r,e={}){e.keyword=r;let t=Y(r,e);return sl.set(r,t),t}function He(r,e){return Y(r,{beforeExpr:ne,binop:e})}var oi=-1,zt=[],il=[],nl=[],al=[],ol=[],ll=[];function Y(r,e={}){var t,s,i,n;return++oi,il.push(r),nl.push((t=e.binop)!=null?t:-1),al.push((s=e.beforeExpr)!=null?s:!1),ol.push((i=e.startsExpr)!=null?i:!1),ll.push((n=e.prefix)!=null?n:!1),zt.push(new rl(r,e)),oi}function oe(r,e={}){var t,s,i,n;return++oi,sl.set(r,oi),il.push(r),nl.push((t=e.binop)!=null?t:-1),al.push((s=e.beforeExpr)!=null?s:!1),ol.push((i=e.startsExpr)!=null?i:!1),ll.push((n=e.prefix)!=null?n:!1),zt.push(new rl("name",e)),oi}var Uv={bracketL:Y("[",{beforeExpr:ne,startsExpr:U}),bracketHashL:Y("#[",{beforeExpr:ne,startsExpr:U}),bracketBarL:Y("[|",{beforeExpr:ne,startsExpr:U}),bracketR:Y("]"),bracketBarR:Y("|]"),braceL:Y("{",{beforeExpr:ne,startsExpr:U}),braceBarL:Y("{|",{beforeExpr:ne,startsExpr:U}),braceHashL:Y("#{",{beforeExpr:ne,startsExpr:U}),braceR:Y("}"),braceBarR:Y("|}"),parenL:Y("(",{beforeExpr:ne,startsExpr:U}),parenR:Y(")"),comma:Y(",",{beforeExpr:ne}),semi:Y(";",{beforeExpr:ne}),colon:Y(":",{beforeExpr:ne}),doubleColon:Y("::",{beforeExpr:ne}),dot:Y("."),question:Y("?",{beforeExpr:ne}),questionDot:Y("?."),arrow:Y("=>",{beforeExpr:ne}),template:Y("template"),ellipsis:Y("...",{beforeExpr:ne}),backQuote:Y("`",{startsExpr:U}),dollarBraceL:Y("${",{beforeExpr:ne,startsExpr:U}),templateTail:Y("...`",{startsExpr:U}),templateNonTail:Y("...${",{beforeExpr:ne,startsExpr:U}),at:Y("@"),hash:Y("#",{startsExpr:U}),interpreterDirective:Y("#!..."),eq:Y("=",{beforeExpr:ne,isAssign:ai}),assign:Y("_=",{beforeExpr:ne,isAssign:ai}),slashAssign:Y("_=",{beforeExpr:ne,isAssign:ai}),xorAssign:Y("_=",{beforeExpr:ne,isAssign:ai}),moduloAssign:Y("_=",{beforeExpr:ne,isAssign:ai}),incDec:Y("++/--",{prefix:mr,postfix:Bv,startsExpr:U}),bang:Y("!",{beforeExpr:ne,prefix:mr,startsExpr:U}),tilde:Y("~",{beforeExpr:ne,prefix:mr,startsExpr:U}),doubleCaret:Y("^^",{startsExpr:U}),doubleAt:Y("@@",{startsExpr:U}),pipeline:He("|>",0),nullishCoalescing:He("??",1),logicalOR:He("||",1),logicalAND:He("&&",2),bitwiseOR:He("|",3),bitwiseXOR:He("^",4),bitwiseAND:He("&",5),equality:He("==/!=/===/!==",6),lt:He("</>/<=/>=",7),gt:He("</>/<=/>=",7),relational:He("</>/<=/>=",7),bitShift:He("<</>>/>>>",8),bitShiftL:He("<</>>/>>>",8),bitShiftR:He("<</>>/>>>",8),plusMin:Y("+/-",{beforeExpr:ne,binop:9,prefix:mr,startsExpr:U}),modulo:Y("%",{binop:10,startsExpr:U}),star:Y("*",{binop:10}),slash:He("/",10),exponent:Y("**",{beforeExpr:ne,binop:11,rightAssociative:!0}),_in:ue("in",{beforeExpr:ne,binop:7}),_instanceof:ue("instanceof",{beforeExpr:ne,binop:7}),_break:ue("break"),_case:ue("case",{beforeExpr:ne}),_catch:ue("catch"),_continue:ue("continue"),_debugger:ue("debugger"),_default:ue("default",{beforeExpr:ne}),_else:ue("else",{beforeExpr:ne}),_finally:ue("finally"),_function:ue("function",{startsExpr:U}),_if:ue("if"),_return:ue("return",{beforeExpr:ne}),_switch:ue("switch"),_throw:ue("throw",{beforeExpr:ne,prefix:mr,startsExpr:U}),_try:ue("try"),_var:ue("var"),_const:ue("const"),_with:ue("with"),_new:ue("new",{beforeExpr:ne,startsExpr:U}),_this:ue("this",{startsExpr:U}),_super:ue("super",{startsExpr:U}),_class:ue("class",{startsExpr:U}),_extends:ue("extends",{beforeExpr:ne}),_export:ue("export"),_import:ue("import",{startsExpr:U}),_null:ue("null",{startsExpr:U}),_true:ue("true",{startsExpr:U}),_false:ue("false",{startsExpr:U}),_typeof:ue("typeof",{beforeExpr:ne,prefix:mr,startsExpr:U}),_void:ue("void",{beforeExpr:ne,prefix:mr,startsExpr:U}),_delete:ue("delete",{beforeExpr:ne,prefix:mr,startsExpr:U}),_do:ue("do",{isLoop:tl,beforeExpr:ne}),_for:ue("for",{isLoop:tl}),_while:ue("while",{isLoop:tl}),_as:oe("as",{startsExpr:U}),_assert:oe("assert",{startsExpr:U}),_async:oe("async",{startsExpr:U}),_await:oe("await",{startsExpr:U}),_from:oe("from",{startsExpr:U}),_get:oe("get",{startsExpr:U}),_let:oe("let",{startsExpr:U}),_meta:oe("meta",{startsExpr:U}),_of:oe("of",{startsExpr:U}),_sent:oe("sent",{startsExpr:U}),_set:oe("set",{startsExpr:U}),_static:oe("static",{startsExpr:U}),_using:oe("using",{startsExpr:U}),_yield:oe("yield",{startsExpr:U}),_asserts:oe("asserts",{startsExpr:U}),_checks:oe("checks",{startsExpr:U}),_exports:oe("exports",{startsExpr:U}),_global:oe("global",{startsExpr:U}),_implements:oe("implements",{startsExpr:U}),_intrinsic:oe("intrinsic",{startsExpr:U}),_infer:oe("infer",{startsExpr:U}),_is:oe("is",{startsExpr:U}),_mixins:oe("mixins",{startsExpr:U}),_proto:oe("proto",{startsExpr:U}),_require:oe("require",{startsExpr:U}),_satisfies:oe("satisfies",{startsExpr:U}),_keyof:oe("keyof",{startsExpr:U}),_readonly:oe("readonly",{startsExpr:U}),_unique:oe("unique",{startsExpr:U}),_abstract:oe("abstract",{startsExpr:U}),_declare:oe("declare",{startsExpr:U}),_enum:oe("enum",{startsExpr:U}),_module:oe("module",{startsExpr:U}),_namespace:oe("namespace",{startsExpr:U}),_interface:oe("interface",{startsExpr:U}),_type:oe("type",{startsExpr:U}),_opaque:oe("opaque",{startsExpr:U}),name:Y("name",{startsExpr:U}),string:Y("string",{startsExpr:U}),num:Y("num",{startsExpr:U}),bigint:Y("bigint",{startsExpr:U}),decimal:Y("decimal",{startsExpr:U}),regexp:Y("regexp",{startsExpr:U}),privateName:Y("#name",{startsExpr:U}),eof:Y("eof"),jsxName:Y("jsxName"),jsxText:Y("jsxText",{beforeExpr:!0}),jsxTagStart:Y("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Y("jsxTagEnd"),placeholder:Y("%%",{startsExpr:!0})};function ce(r){return r>=93&&r<=130}function jv(r){return r<=92}function kt(r){return r>=58&&r<=130}function oh(r){return r>=58&&r<=134}function qv(r){return al[r]}function ul(r){return ol[r]}function Vv(r){return r>=29&&r<=33}function lh(r){return r>=127&&r<=129}function zv(r){return r>=90&&r<=92}function cl(r){return r>=58&&r<=92}function Wv(r){return r>=39&&r<=59}function Gv(r){return r===34}function Hv(r){return ll[r]}function Kv(r){return r>=119&&r<=121}function Yv(r){return r>=122&&r<=128}function yr(r){return il[r]}function zn(r){return nl[r]}function Jv(r){return r===57}function Wn(r){return r>=24&&r<=25}function Wt(r){return zt[r]}zt[8].updateContext=r=>{r.pop()},zt[5].updateContext=zt[7].updateContext=zt[23].updateContext=r=>{r.push(ge.brace)},zt[22].updateContext=r=>{r[r.length-1]===ge.template?r.pop():r.push(ge.template)},zt[140].updateContext=r=>{r.push(ge.j_expr,ge.j_oTag)};function Gn(r,e){if(r==null)return{};var t={},s=Object.keys(r),i,n;for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&(t[i]=r[i]);return t}var Gt=class{constructor(e,t,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=s}},li=class{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 Ke(r,e){let{line:t,column:s,index:i}=r;return new Gt(t,s+e,i+e)}var pl={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Qv=(r,e=r.length-1)=>({get(){return r.reduce((t,s)=>t[s],this)},set(t){r.reduce((s,i,n)=>n===e?s[i]=t:s[i],this)}}),Xv=(r,e,t)=>Object.keys(t).map(s=>[s,t[s]]).filter(([,s])=>!!s).map(([s,i])=>[s,typeof i=="function"?{value:i,enumerable:!1}:typeof i.reflect=="string"?Object.assign({},i,Qv(i.reflect.split("."))):i]).reduce((s,[i,n])=>Object.defineProperty(s,i,Object.assign({configurable:!0},n)),Object.assign(new r,e)),Zv={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:pl.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:pl.SourceTypeModuleError}},uh={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"},hl=({type:r,prefix:e})=>r==="UpdateExpression"?uh.UpdateExpression[String(e)]:uh[r],eS={AccessorIsGenerator:({kind:r})=>`A ${r}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.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",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:r})=>`Missing initializer in ${r} 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.",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:r})=>`\`${r}\` 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:r,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
4
+ - Did you mean \`export { '${r}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:r})=>`'${r==="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:r})=>`Unsyntactic ${r==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:r})=>`A string literal cannot be used as an imported binding.
5
+ - Did you mean \`import { "${r}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:r})=>`\`import()\` requires exactly ${r===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:r})=>`Expected number in radix ${r}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:r})=>`Escape sequence in keyword ${r}.`,InvalidIdentifier:({identifierName:r})=>`Invalid identifier ${r}.`,InvalidLhs:({ancestor:r})=>`Invalid left-hand side in ${hl(r)}.`,InvalidLhsBinding:({ancestor:r})=>`Binding invalid left-hand side in ${hl(r)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:r})=>`Unexpected character '${r}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:r})=>`Private name #${r} 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:r})=>`Label '${r}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",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:r})=>`This experimental syntax requires enabling the parser plugin: ${r.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:r})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${r.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:r})=>`Duplicate key "${r}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:r})=>`An export name cannot include a lone surrogate, found '\\u${r.toString(16)}'.`,ModuleExportUndefined:({localName:r})=>`Export '${r}' 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:r})=>`Private names are only allowed in property accesses (\`obj.#${r}\`) or in \`in\` expressions (\`#${r} in obj\`).`,PrivateNameRedeclaration:({identifierName:r})=>`Duplicate private name #${r}.`,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.",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:r})=>`Unexpected keyword '${r}'.`,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:r})=>`Unexpected reserved word '${r}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:r,unexpected:e})=>`Unexpected token${e?` '${e}'.`:""}${r?`, expected "${r}"`:""}`,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:r,onlyValidPropertyName:e})=>`The only valid meta property for ${r} is ${r}.${e}.`,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.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:r})=>`Identifier '${r}' 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."},tS={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:r})=>`Assigning to '${r}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:r})=>`Binding '${r}' 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."},rS=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),sS={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:r})=>`Invalid topic token ${r}. In order to use ${r} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${r}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:r})=>`Hack-style pipe body cannot be an unparenthesized ${hl({type:r})}; 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.'},iS=["toMessage"],nS=["message"];function aS(r){let{toMessage:e}=r,t=Gn(r,iS);return function s({loc:i,details:n}){return Xv(SyntaxError,Object.assign({},t,{loc:i}),{clone(a={}){let o=a.loc||{};return s({loc:new Gt("line"in o?o.line:this.loc.line,"column"in o?o.column:this.loc.column,"index"in o?o.index:this.loc.index),details:Object.assign({},this.details,a.details)})},details:{value:n,enumerable:!1},message:{get(){return`${e(this.details)} (${this.loc.line}:${this.loc.column})`},set(a){Object.defineProperty(this,"message",{value:a})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in n&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Ht(r,e){if(Array.isArray(r))return s=>Ht(s,r[0]);let t={};for(let s of Object.keys(r)){let i=r[s],n=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:a}=n,o=Gn(n,nS),l=typeof a=="string"?()=>a:a;t[s]=aS(Object.assign({code:pl.SyntaxError,reasonCode:s,toMessage:l},e?{syntaxPlugin:e}:{},o))}return t}var A=Object.assign({},Ht(Zv),Ht(eS),Ht(tS),Ht`pipelineOperator`(sS)),{defineProperty:oS}=Object,ch=(r,e)=>oS(r,e,{enumerable:!1,value:r[e]});function ui(r){return r.loc.start&&ch(r.loc.start,"index"),r.loc.end&&ch(r.loc.end,"index"),r}var lS=r=>class extends r{parse(){let t=ui(super.parse());return this.options.tokens&&(t.tokens=t.tokens.map(ui)),t}parseRegExpLiteral({pattern:t,flags:s}){let i=null;try{i=new RegExp(t,s)}catch(a){}let n=this.estreeParseLiteral(i);return n.regex={pattern:t,flags:s},n}parseBigIntLiteral(t){let s;try{s=BigInt(t)}catch(n){s=null}let i=this.estreeParseLiteral(s);return i.bigint=String(i.value||t),i}parseDecimalLiteral(t){let s=null,i=this.estreeParseLiteral(s);return i.decimal=String(i.value||t),i}estreeParseLiteral(t){return this.parseLiteral(t,"Literal")}parseStringLiteral(t){return this.estreeParseLiteral(t)}parseNumericLiteral(t){return this.estreeParseLiteral(t)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(t){return this.estreeParseLiteral(t)}directiveToStmt(t){let s=t.value;delete t.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;let i=t;return i.type="ExpressionStatement",i.expression=s,i.directive=s.extra.rawValue,delete s.extra,i}initFunction(t,s){super.initFunction(t,s),t.expression=!1}checkDeclaration(t){t!=null&&this.isObjectProperty(t)?this.checkDeclaration(t.value):super.checkDeclaration(t)}getObjectOrClassMethodParams(t){return t.value.params}isValidDirective(t){var s;return t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&!((s=t.expression.extra)!=null&&s.parenthesized)}parseBlockBody(t,s,i,n,a){super.parseBlockBody(t,s,i,n,a);let o=t.directives.map(l=>this.directiveToStmt(l));t.body=o.concat(t.body),delete t.directives}pushClassMethod(t,s,i,n,a,o){this.parseMethod(s,i,n,a,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),t.body.push(s)}parsePrivateName(){let t=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(t):t}convertPrivateNameToPrivateIdentifier(t){let s=super.getPrivateNameSV(t);return t=t,delete t.id,t.name=s,t.type="PrivateIdentifier",t}isPrivateName(t){return this.getPluginOption("estree","classFeatures")?t.type==="PrivateIdentifier":super.isPrivateName(t)}getPrivateNameSV(t){return this.getPluginOption("estree","classFeatures")?t.name:super.getPrivateNameSV(t)}parseLiteral(t,s){let i=super.parseLiteral(t,s);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(t,s,i=!1){super.parseFunctionBody(t,s,i),t.expression=t.body.type!=="BlockStatement"}parseMethod(t,s,i,n,a,o,l=!1){let u=this.startNode();return u.kind=t.kind,u=super.parseMethod(u,s,i,n,a,o,l),u.type="FunctionExpression",delete u.kind,t.value=u,o==="ClassPrivateMethod"&&(t.computed=!1),this.finishNode(t,"MethodDefinition")}parseClassProperty(...t){let s=super.parseClassProperty(...t);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...t){let s=super.parseClassPrivateProperty(...t);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(t,s,i,n,a){let o=super.parseObjectMethod(t,s,i,n,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(t,s,i,n){let a=super.parseObjectProperty(t,s,i,n);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(t,s,i){return t==="Property"?"value":super.isValidLVal(t,s,i)}isAssignable(t,s){return t!=null&&this.isObjectProperty(t)?this.isAssignable(t.value,s):super.isAssignable(t,s)}toAssignable(t,s=!1){if(t!=null&&this.isObjectProperty(t)){let{key:i,value:n}=t;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(n,s)}else super.toAssignable(t,s)}toAssignableObjectExpressionProp(t,s,i){t.kind==="get"||t.kind==="set"?this.raise(A.PatternHasAccessor,{at:t.key}):t.method?this.raise(A.PatternHasMethod,{at:t.key}):super.toAssignableObjectExpressionProp(t,s,i)}finishCallExpression(t,s){let i=super.finishCallExpression(t,s);if(i.callee.type==="Import"){if(i.type="ImportExpression",i.source=i.arguments[0],this.hasPlugin("importAssertions")){var n;i.attributes=(n=i.arguments[1])!=null?n:null}delete i.arguments,delete i.callee}return i}toReferencedArguments(t){t.type!=="ImportExpression"&&super.toReferencedArguments(t)}parseExport(t,s){let i=this.state.lastTokStartLoc,n=super.parseExport(t,s);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=n;(o==null?void 0:o.type)==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,i)}break}return n}parseSubscript(t,s,i,n){let a=super.parseSubscript(t,s,i,n);if(n.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),n.stop){let o=this.startNodeAtNode(a);return o.expression=a,this.finishNode(o,"ChainExpression")}}else(a.type==="MemberExpression"||a.type==="CallExpression")&&(a.optional=!1);return a}hasPropertyAsPrivateName(t){return t.type==="ChainExpression"&&(t=t.expression),super.hasPropertyAsPrivateName(t)}isObjectProperty(t){return t.type==="Property"&&t.kind==="init"&&!t.method}isObjectMethod(t){return t.method||t.kind==="get"||t.kind==="set"}finishNodeAt(t,s,i){return ui(super.finishNodeAt(t,s,i))}resetStartLocation(t,s){super.resetStartLocation(t,s),ui(t)}resetEndLocation(t,s=this.state.lastTokEndLoc){super.resetEndLocation(t,s),ui(t)}},fl="\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",ph="\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\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\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",uS=new RegExp("["+fl+"]"),cS=new RegExp("["+fl+ph+"]");fl=ph=null;var hh=[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,3104,541,1507,4938,6,4191],pS=[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 dl(r,e){let t=65536;for(let s=0,i=e.length;s<i;s+=2){if(t+=e[s],t>r)return!1;if(t+=e[s+1],t>=r)return!0}return!1}function Kt(r){return r<65?r===36:r<=90?!0:r<97?r===95:r<=122?!0:r<=65535?r>=170&&uS.test(String.fromCharCode(r)):dl(r,hh)}function cs(r){return r<48?r===36:r<58?!0:r<65?!1:r<=90?!0:r<97?r===95:r<=122?!0:r<=65535?r>=170&&cS.test(String.fromCharCode(r)):dl(r,hh)||dl(r,pS)}var ml={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"]},hS=new Set(ml.keyword),fS=new Set(ml.strict),dS=new Set(ml.strictBind);function fh(r,e){return e&&r==="await"||r==="enum"}function dh(r,e){return fh(r,e)||fS.has(r)}function mh(r){return dS.has(r)}function yh(r,e){return dh(r,e)||mh(r)}function mS(r){return hS.has(r)}function yS(r,e,t){return r===64&&e===64&&Kt(t)}var gS=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 vS(r){return gS.has(r)}var ps=0,hs=1,Yt=2,yl=4,gh=8,Hn=16,vh=32,Ir=64,Kn=128,fs=256,Yn=hs|Yt|Kn|fs,Lt=1,Or=2,Sh=4,Nr=8,Jn=16,bh=64,Qn=128,gl=256,vl=512,Sl=1024,bl=2048,ci=4096,Xn=8192,wh=Lt|Or|Nr|Qn|Xn,ds=Lt|0|Nr|Xn,SS=Lt|0|Nr|0,Zn=Lt|0|Sh|0,Eh=Lt|0|Jn|0,bS=0|Or|0|Qn,wS=0|Or|0|0,Ph=Lt|Or|Nr|gl|Xn,Th=0|0|0|Sl,gr=0|0|0|bh,ES=Lt|0|0|bh,PS=Ph|vl,TS=0|0|0|Sl,xh=0|Or|0|ci,xS=bl,ea=4,wl=2,El=1,Pl=wl|El,AS=wl|ea,CS=El|ea,_S=wl,IS=El,Tl=0,ta=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},ra=class{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&hs)>0}get inFunction(){return(this.currentVarScopeFlags()&Yt)>0}get allowSuper(){return(this.currentThisScopeFlags()&Hn)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&vh)>0}get inClass(){return(this.currentThisScopeFlags()&Ir)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&Ir)>0&&(e&Yt)==0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Kn)return!0;if(t&(Yn|Ir))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Yt)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ta(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&(Yt|Kn)||!this.parser.inModule&&e.flags&hs)}declareName(e,t,s){let i=this.currentScope();if(t&Nr||t&Jn)this.checkRedeclarationInScope(i,e,t,s),t&Jn?i.functions.add(e):i.lexical.add(e),t&Nr&&this.maybeExportDefined(i,e);else if(t&Sh)for(let n=this.scopeStack.length-1;n>=0&&(i=this.scopeStack[n],this.checkRedeclarationInScope(i,e,t,s),i.var.add(e),this.maybeExportDefined(i,e),!(i.flags&Yn));--n);this.parser.inModule&&i.flags&hs&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&hs&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,s,i){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(A.VarRedeclaration,{at:i,identifierName:t})}isRedeclaredInScope(e,t,s){return s&Lt?s&Nr?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):s&Jn?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&gh&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t):!1}checkLocalExport(e){let{name:t}=e,s=this.scopeStack[0];!s.lexical.has(t)&&!s.var.has(t)&&!s.functions.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&Yn)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(Yn|Ir)&&!(t&yl))return t}}},Ah=class extends ta{constructor(...e){super(...e);this.declareFunctions=new Set}},Ch=class extends ra{createScope(e){return new Ah(e)}declareName(e,t,s){let i=this.currentScope();if(t&bl){this.checkRedeclarationInScope(i,e,t,s),this.maybeExportDefined(i,e),i.declareFunctions.add(e);return}super.declareName(e,t,s)}isRedeclaredInScope(e,t,s){return super.isRedeclaredInScope(e,t,s)?!0:s&bl?!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t)):!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},_h=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if(typeof e=="string")return this.plugins.has(e);{let[t,s]=e;if(!this.hasPlugin(t))return!1;let i=this.plugins.get(t);for(let n of Object.keys(s))if((i==null?void 0:i[n])!==s[n])return!1;return!0}}getPluginOption(e,t){var s;return(s=this.plugins.get(e))==null?void 0:s[t]}};function Ih(r,e){r.trailingComments===void 0?r.trailingComments=e:r.trailingComments.unshift(...e)}function OS(r,e){r.leadingComments===void 0?r.leadingComments=e:r.leadingComments.unshift(...e)}function pi(r,e){r.innerComments===void 0?r.innerComments=e:r.innerComments.unshift(...e)}function hi(r,e,t){let s=null,i=e.length;for(;s===null&&i>0;)s=e[--i];s===null||s.start>t.start?pi(r,t.comments):Ih(s,t.comments)}var Oh=class extends _h{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,s=t.length;if(s===0)return;let i=s-1,n=t[i];n.start===e.end&&(n.leadingNode=e,i--);let{start:a}=e;for(;i>=0;i--){let o=t[i],l=o.end;if(l>a)o.containingNode=e,this.finalizeComment(o),t.splice(i,1);else{l===a&&(o.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&Ih(e.leadingNode,t),e.trailingNode!==null&&OS(e.trailingNode,t);else{let{containingNode:s,start:i}=e;if(this.input.charCodeAt(i-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":hi(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":hi(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":hi(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":hi(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":hi(s,s.specifiers,e);break;default:pi(s,t)}else pi(s,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:s}=t;if(s===0)return;let i=t[s-1];i.leadingNode===e&&(i.leadingNode=null)}takeSurroundingComments(e,t,s){let{commentStack:i}=this.state,n=i.length;if(n===0)return;let a=n-1;for(;a>=0;a--){let o=i[a],l=o.end;if(o.start===s)o.leadingNode=e;else if(l===t)o.trailingNode=e;else if(l<t)break}}},xl=/\r\n?|[\n\u2028\u2029]/,sa=new RegExp(xl.source,"g");function fi(r){switch(r){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Al=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,NS=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,Nh=new RegExp("(?=("+NS.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function kS(r){switch(r){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}}var ia=class{constructor(){this.strict=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.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[ge.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:s,startColumn:i}){this.strict=e===!1?!1:e===!0?!0:t==="module",this.curLine=s,this.lineStart=-i,this.startLoc=this.endLoc=new Gt(s,i,0)}curPosition(){return new Gt(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new ia,s=Object.keys(this);for(let i=0,n=s.length;i<n;i++){let a=s[i],o=this[a];!e&&Array.isArray(o)&&(o=o.slice()),t[a]=o}return t}},LS=function(e){return e>=48&&e<=57},kh={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},na={bin:r=>r===48||r===49,oct:r=>r>=48&&r<=55,dec:r=>r>=48&&r<=57,hex:r=>r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102};function Lh(r,e,t,s,i,n){let a=t,o=s,l=i,u="",c=null,p=t,{length:h}=e;for(;;){if(t>=h){n.unterminated(a,o,l),u+=e.slice(p,t);break}let f=e.charCodeAt(t);if(DS(r,f,e,t)){u+=e.slice(p,t);break}if(f===92){u+=e.slice(p,t);let g=MS(e,t,s,i,r==="template",n);g.ch===null&&!c?c={pos:t,lineStart:s,curLine:i}:u+=g.ch,{pos:t,lineStart:s,curLine:i}=g,p=t}else f===8232||f===8233?(++t,++i,s=t):f===10||f===13?r==="template"?(u+=e.slice(p,t)+`
6
+ `,++t,f===13&&e.charCodeAt(t)===10&&++t,++i,p=s=t):n.unterminated(a,o,l):++t}return{pos:t,str:u,firstInvalidLoc:c,lineStart:s,curLine:i,containsInvalid:!!c}}function DS(r,e,t,s){return r==="template"?e===96||e===36&&t.charCodeAt(s+1)===123:e===(r==="double"?34:39)}function MS(r,e,t,s,i,n){let a=!i;e++;let o=u=>({pos:e,ch:u,lineStart:t,curLine:s}),l=r.charCodeAt(e++);switch(l){case 110:return o(`
7
+ `);case 114:return o("\r");case 120:{let u;return{code:u,pos:e}=Cl(r,e,t,s,2,!1,a,n),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:e}=Mh(r,e,t,s,a,n),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:r.charCodeAt(e)===10&&++e;case 10:t=e,++s;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);n.strictNumericEscape(e-1,t,s);default:if(l>=48&&l<=55){let u=e-1,p=r.slice(u,e+2).match(/^[0-7]+/)[0],h=parseInt(p,8);h>255&&(p=p.slice(0,-1),h=parseInt(p,8)),e+=p.length-1;let f=r.charCodeAt(e);if(p!=="0"||f===56||f===57){if(i)return o(null);n.strictNumericEscape(u,t,s)}return o(String.fromCharCode(h))}return o(String.fromCharCode(l))}}function Cl(r,e,t,s,i,n,a,o){let l=e,u;return{n:u,pos:e}=Dh(r,e,t,s,16,i,n,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,t,s):e=l-1),{code:u,pos:e}}function Dh(r,e,t,s,i,n,a,o,l,u){let c=e,p=i===16?kh.hex:kh.decBinOct,h=i===16?na.hex:i===10?na.dec:i===8?na.oct:na.bin,f=!1,g=0;for(let d=0,m=n??1/0;d<m;++d){let y=r.charCodeAt(e),E;if(y===95&&o!=="bail"){let S=r.charCodeAt(e-1),v=r.charCodeAt(e+1);if(o){if(Number.isNaN(v)||!h(v)||p.has(S)||p.has(v)){if(u)return{n:null,pos:e};l.unexpectedNumericSeparator(e,t,s)}}else{if(u)return{n:null,pos:e};l.numericSeparatorInEscapeSequence(e,t,s)}++e;continue}if(y>=97?E=y-97+10:y>=65?E=y-65+10:LS(y)?E=y-48:E=1/0,E>=i){if(E<=9&&u)return{n:null,pos:e};if(E<=9&&l.invalidDigit(e,t,s,i))E=0;else if(a)E=0,f=!0;else break}++e,g=g*i+E}return e===c||n!=null&&e-c!==n||f?{n:null,pos:e}:{n:g,pos:e}}function Mh(r,e,t,s,i,n){let a=r.charCodeAt(e),o;if(a===123){if(++e,{code:o,pos:e}=Cl(r,e,t,s,r.indexOf("}",e)-e,!0,i,n),++e,o!==null&&o>1114111)if(i)n.invalidCodePoint(e,t,s);else return{code:null,pos:e}}else({code:o,pos:e}=Cl(r,e,t,s,4,!1,i,n));return{code:o,pos:e}}var RS=["at"],$S=["at"];function di(r,e,t){return new Gt(t,r-e,r)}var FS=new Set([103,109,115,105,121,117,100,118]),Jt=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new li(e.startLoc,e.endLoc)}},Rh=class extends Oh{constructor(e,t){super();this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,i,n,a)=>this.options.errorRecovery?(this.raise(A.InvalidDigit,{at:di(s,i,n),radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(A.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(A.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(A.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(A.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,i,n)=>{this.recordStrictModeErrors(A.StrictNumericEscape,{at:di(s,i,n)})},unterminated:(s,i,n)=>{throw this.raise(A.UnterminatedString,{at:di(s-1,i,n)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(A.StrictNumericEscape),unterminated:(s,i,n)=>{throw this.raise(A.UnterminatedTemplate,{at:di(s,i,n)})}}),this.state=new ia,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Jt(this.state)),this.state.lastTokStart=this.state.start,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 Al.lastIndex=e,Al.test(this.input)?Al.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)==55296&&++e<this.input.length){let s=this.input.charCodeAt(e);(s&64512)==56320&&(t=65536+((t&1023)<<10)+(s&1023))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([t,s])=>this.raise(t,{at:s})),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(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let s=this.state.pos,i=this.input.indexOf(e,s+2);if(i===-1)throw this.raise(A.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=i+e.length,sa.lastIndex=s+2;sa.test(this.input)&&sa.lastIndex<=i;)++this.state.curLine,this.state.lineStart=sa.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(s+2,i),start:s,end:i+e.length,loc:new li(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){let t=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!fi(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let n=this.state.pos,a=this.input.slice(t+e,n),o={type:"CommentLine",value:a,start:t,end:n,loc:new li(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(o),o}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let s=this.input.charCodeAt(this.state.pos);switch(s){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 i=this.skipBlockComment("*/");i!==void 0&&(this.addComment(i),this.options.attachComment&&t.push(i));break}case 47:{let i=this.skipLineComment(2);i!==void 0&&(this.addComment(i),this.options.attachComment&&t.push(i));break}default:break e}break;default:if(kS(s))++this.state.pos;else if(s===45&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===45&&this.input.charCodeAt(i+2)===62&&(e===0||this.state.lineStart>e)){let n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),this.options.attachComment&&t.push(n))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),this.options.attachComment&&t.push(n))}else break e}else break e}}if(t.length>0){let s=this.state.pos,i={start:e,end:s,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(s)}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(A.UnexpectedDigitAfterHash,{at: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?A.RecordExpressionHashIncorrectStartSyntaxType:A.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else Kt(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(136,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;!fi(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let s=this.input.slice(t+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(e){let t=e===42?55:54,s=1,i=this.input.charCodeAt(this.state.pos+1);e===42&&i===42&&(s++,i=this.input.charCodeAt(this.state.pos+2),t=57),i===61&&!this.state.inType&&(s++,t=e===37?33:30),this.finishOp(t,s)}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(A.RecordExpressionBarIncorrectEndSyntaxType,{at: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(A.TupleExpressionBarIncorrectEndSyntaxType,{at: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 s=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+s)===61){this.finishOp(30,s+1);return}this.finishOp(52,s);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(A.TupleExpressionBarIncorrectStartSyntaxType,{at: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(A.RecordExpressionBarIncorrectStartSyntaxType,{at: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 t=this.input.charCodeAt(this.state.pos+1);if(t===120||t===88){this.readRadixNumber(16);return}if(t===111||t===79){this.readRadixNumber(8);return}if(t===98||t===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(Kt(e)){this.readWord(e);return}}throw this.raise(A.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,s)}readRegexp(){let e=this.state.startLoc,t=this.state.start+1,s,i,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(A.UnterminatedRegExp,{at:Ke(e,1)});let u=this.input.charCodeAt(n);if(fi(u))throw this.raise(A.UnterminatedRegExp,{at:Ke(e,1)});if(s)s=!1;else{if(u===91)i=!0;else if(u===93&&i)i=!1;else if(u===47&&!i)break;s=u===92}}let a=this.input.slice(t,n);++n;let o="",l=()=>Ke(e,n+2-t);for(;n<this.length;){let u=this.codePointAtPos(n),c=String.fromCharCode(u);if(FS.has(u))u===118?(this.expectPlugin("regexpUnicodeSets",l()),o.includes("u")&&this.raise(A.IncompatibleRegExpUVFlags,{at:l()})):u===117&&o.includes("v")&&this.raise(A.IncompatibleRegExpUVFlags,{at:l()}),o.includes(c)&&this.raise(A.DuplicateRegExpFlags,{at:l()});else if(cs(u)||u===92)this.raise(A.MalformedRegExpFlags,{at:l()});else break;++n,o+=c}this.state.pos=n,this.finishToken(135,{pattern:a,flags:o})}readInt(e,t,s=!1,i=!0){let{n,pos:a}=Dh(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,i,this.errorHandlers_readInt,!1);return this.state.pos=a,n}readRadixNumber(e){let t=this.state.curPosition(),s=!1;this.state.pos+=2;let i=this.readInt(e);i==null&&this.raise(A.InvalidDigit,{at:Ke(t,2),radix:e});let n=this.input.charCodeAt(this.state.pos);if(n===110)++this.state.pos,s=!0;else if(n===109)throw this.raise(A.InvalidDecimal,{at:t});if(Kt(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,{at:this.state.curPosition()});if(s){let a=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,a);return}this.finishToken(132,i)}readNumber(e){let t=this.state.pos,s=this.state.curPosition(),i=!1,n=!1,a=!1,o=!1,l=!1;!e&&this.readInt(10)===null&&this.raise(A.InvalidNumber,{at:this.state.curPosition()});let u=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(u){let f=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(A.StrictOctalLiteral,{at:s}),!this.state.strict){let g=f.indexOf("_");g>0&&this.raise(A.ZeroDigitNumericSeparator,{at:Ke(s,g)})}l=u&&!/[89]/.test(f)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!l&&(++this.state.pos,this.readInt(10),i=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!l&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(A.InvalidOrMissingExponent,{at:s}),i=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((i||u)&&this.raise(A.InvalidBigIntLiteral,{at:s}),++this.state.pos,n=!0),c===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(A.InvalidDecimal,{at:s}),++this.state.pos,a=!0),Kt(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,{at:this.state.curPosition()});let p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(133,p);return}if(a){this.finishToken(134,p);return}let h=l?parseInt(p,8):parseFloat(p);this.finishToken(132,h)}readCodePoint(e){let{code:t,pos:s}=Mh(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=s,t}readString(e){let{str:t,pos:s,curLine:i,lineStart:n}=Lh(e===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=n,this.state.curLine=i,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:s,pos:i,curLine:n,lineStart:a}=Lh("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=a,this.state.curLine=n,s&&(this.state.firstInvalidTemplateEscapePos=new Gt(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(i)===96?this.finishToken(24,s?null:e+t+"`"):(this.state.pos++,this.finishToken(25,s?null:e+t+"${"))}recordStrictModeErrors(e,{at:t}){let s=t.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(e,{at:t}):this.state.strictErrors.set(s,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="",s=this.state.pos,i=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let n=this.codePointAtPos(this.state.pos);if(cs(n))this.state.pos+=n<=65535?1:2;else if(n===92){this.state.containsEsc=!0,t+=this.input.slice(i,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===s?Kt:cs;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(A.MissingUnicodeEscape,{at:this.state.curPosition()}),i=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(A.EscapedCharNotAnIdentifier,{at:a}),t+=String.fromCodePoint(l)),i=this.state.pos}else break}return t+this.input.slice(i,this.state.pos)}readWord(e){let t=this.readWord1(e),s=sl.get(t);s!==void 0?this.finishToken(s,yr(s)):this.finishToken(130,t)}checkKeywordEscapes(){let{type:e}=this.state;cl(e)&&this.state.containsEsc&&this.raise(A.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:yr(e)})}raise(e,t){let{at:s}=t,i=Gn(t,RS),n=s instanceof Gt?s:s.loc.start,a=e({loc:n,details:i});if(!this.options.errorRecovery)throw a;return this.isLookahead||this.state.errors.push(a),a}raiseOverwrite(e,t){let{at:s}=t,i=Gn(t,$S),n=s instanceof Gt?s:s.loc.start,a=n.index,o=this.state.errors;for(let l=o.length-1;l>=0;l--){let u=o[l];if(u.loc.index===a)return o[l]=e({loc:n,details:i});if(u.loc.index<a)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(A.UnexpectedToken,{expected:t?yr(t):null,at:e??this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(A.MissingPlugin,{at:t??this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(t=>this.hasPlugin(t)))throw this.raise(A.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,s,i)=>{this.raise(e,{at:di(t,s,i)})}}},$h=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Fh=class{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 $h)}exit(){let e=this.stack.pop(),t=this.current();for(let[s,i]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(s)||t.undefinedPrivateNames.set(s,i):this.parser.raise(A.InvalidPrivateFieldResolution,{at:i,identifierName:s})}declarePrivateName(e,t,s){let{privateNames:i,loneAccessors:n,undefinedPrivateNames:a}=this.current(),o=i.has(e);if(t&Pl){let l=o&&n.get(e);if(l){let u=l&ea,c=t&ea,p=l&Pl,h=t&Pl;o=p===h||u!==c,o||n.delete(e)}else o||n.set(e,t)}o&&this.parser.raise(A.PrivateNameRedeclaration,{at:s,identifierName:e}),i.add(e),a.delete(e)}usePrivateName(e,t){let s;for(s of this.stack)if(s.privateNames.has(e))return;s?s.undefinedPrivateNames.set(e,t):this.parser.raise(A.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},BS=0,Bh=1,_l=2,Uh=3,mi=class{constructor(e=BS){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===_l||this.type===Bh}isCertainlyParameterDeclaration(){return this.type===Uh}},Il=class extends mi{constructor(e){super(e);this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){let s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},jh=class{constructor(e){this.parser=void 0,this.stack=[new mi],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){let s={at:t.loc.start},{stack:i}=this,n=i.length-1,a=i[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(e,s);else return;a=i[--n]}this.parser.raise(e,s)}recordArrowParameterBindingError(e,{at:t}){let{stack:s}=this,i=s[s.length-1],n={at:t.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,n);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(e,n);else return}recordAsyncArrowParametersError({at:e}){let{stack:t}=this,s=t.length-1,i=t[s];for(;i.canBeArrowParameterDeclaration();)i.type===_l&&i.recordDeclarationError(A.AwaitBindingIdentifier,{at:e}),i=t[--s]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors(([s,i])=>{this.parser.raise(s,{at:i});let n=e.length-2,a=e[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(i.index),a=e[--n]})}};function US(){return new mi(Uh)}function jS(){return new Il(Bh)}function qS(){return new Il(_l)}function qh(){return new mi}var ms=0,Vh=1,aa=2,zh=4,ys=8,Wh=class{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()&aa)>0}get hasYield(){return(this.currentFlags()&Vh)>0}get hasReturn(){return(this.currentFlags()&zh)>0}get hasIn(){return(this.currentFlags()&ys)>0}};function oa(r,e){return(r?aa:0)|(e?Vh:0)}var Gh=class extends Rh{addExtra(e,t,s,i=!0){if(!e)return;let n=e.extra=e.extra||{};i?n[t]=s:Object.defineProperty(n,t,{enumerable:i,value:s})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let s=e+t.length;if(this.input.slice(e,s)===t){let i=this.input.charCodeAt(s);return!(cs(i)||(i&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,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return xl.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Nh.lastIndex=this.state.end,Nh.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(A.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){let s={node:null};try{let i=e((n=null)=>{throw s.node=n,s});if(this.state.errors.length>t.errors.length){let n=this.state;return this.state=t,this.state.tokensLength=n.tokensLength,{node:i,error:n.errors[t.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let n=this.state;if(this.state=t,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:n};if(i===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:n};throw i}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:n,optionalParametersLoc:a}=e,o=!!s||!!i||!!a||!!n;if(!t)return o;s!=null&&this.raise(A.InvalidCoverInitializedName,{at:s}),i!=null&&this.raise(A.DuplicateProto,{at:i}),n!=null&&this.raise(A.UnexpectedPrivateField,{at:n}),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return oh(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 s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=e;let n=this.scope,a=this.getScopeHandler();this.scope=new a(this,e);let o=this.prodParam;this.prodParam=new Wh;let l=this.classScope;this.classScope=new Fh(this);let u=this.expressionScope;return this.expressionScope=new jh(this),()=>{this.state.labels=t,this.exportedIdentifiers=s,this.inModule=i,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=u}}enterInitialScopes(){let e=ms;this.inModule&&(e|=aa),this.scope.enter(hs),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;t!==null&&this.expectPlugin("destructuringPrivate",t)}},yi=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},la=class{constructor(e,t,s){this.type="",this.start=t,this.end=0,this.loc=new li(s),e!=null&&e.options.ranges&&(this.range=[t,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}},Ol=la.prototype;Ol.__clone=function(){let r=new la(void 0,this.start,this.loc.start),e=Object.keys(this);for(let t=0,s=e.length;t<s;t++){let i=e[t];i!=="leadingComments"&&i!=="trailingComments"&&i!=="innerComments"&&(r[i]=this[i])}return r};function VS(r){return Qt(r)}function Qt(r){let{type:e,start:t,end:s,loc:i,range:n,extra:a,name:o}=r,l=Object.create(Ol);return l.type=e,l.start=t,l.end=s,l.loc=i,l.range=n,l.extra=a,l.name=o,e==="Placeholder"&&(l.expectedNode=r.expectedNode),l}function zS(r){let{type:e,start:t,end:s,loc:i,range:n,extra:a}=r;if(e==="Placeholder")return VS(r);let o=Object.create(Ol);return o.type=e,o.start=t,o.end=s,o.loc=i,o.range=n,r.raw!==void 0?o.raw=r.raw:o.extra=a,o.value=r.value,o}var Hh=class extends Gh{startNode(){return new la(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new la(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,s){return e.type=t,e.end=s.index,e.loc.end=s,this.options.ranges&&(e.range[1]=s.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}},WS=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),X=Ht`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:r})=>`Cannot overwrite reserved type ${r}.`,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:r,enumName:e})=>`Boolean enum members need to be initialized. Use either \`${r} = true,\` or \`${r} = false,\` in enum \`${e}\`.`,EnumDuplicateMemberName:({memberName:r,enumName:e})=>`Enum member names need to be unique, but the name \`${r}\` has already been used before in enum \`${e}\`.`,EnumInconsistentMemberValues:({enumName:r})=>`Enum \`${r}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:r,enumName:e})=>`Enum type \`${r}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:r})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:r,memberName:e,explicitType:t})=>`Enum \`${r}\` has type \`${t}\`, so the initializer of \`${e}\` needs to be a ${t} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:r,memberName:e})=>`Symbol enum members cannot be initialized. Use \`${e},\` in enum \`${r}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:r,memberName:e})=>`The enum member initializer for \`${e}\` needs to be a literal (either a boolean, number, or string) in enum \`${r}\`.`,EnumInvalidMemberName:({enumName:r,memberName:e,suggestion:t})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${e}\`, consider using \`${t}\`, in enum \`${r}\`.`,EnumNumberMemberNotInitialized:({enumName:r,memberName:e})=>`Number enum members need to be initialized, e.g. \`${e} = 1\` in enum \`${r}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:r})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${r}\`.`,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:r})=>`Unexpected reserved type ${r}.`,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:r,suggestion:e})=>`\`declare export ${r}\` is not supported. Use \`${e}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function GS(r){return r.type==="DeclareExportAllDeclaration"||r.type==="DeclareExportDeclaration"&&(!r.declaration||r.declaration.type!=="TypeAlias"&&r.declaration.type!=="InterfaceDeclaration")}function Nl(r){return r.importKind==="type"||r.importKind==="typeof"}function Kh(r){return kt(r)&&r!==97}var HS={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function KS(r,e){let t=[],s=[];for(let i=0;i<r.length;i++)(e(r[i],i,r)?t:s).push(r[i]);return[t,s]}var YS=/\*?\s*@((?:no)?flow)\b/,JS=r=>class extends r{constructor(...t){super(...t);this.flowPragma=void 0}getScopeHandler(){return Ch}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(t,s){t!==131&&t!==13&&t!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(t,s)}addComment(t){if(this.flowPragma===void 0){let s=YS.exec(t.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(t)}flowParseTypeInitialiser(t){let s=this.state.inType;this.state.inType=!0,this.expect(t||14);let i=this.flowParseType();return this.state.inType=s,i}flowParsePredicate(){let t=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>s.index+1&&this.raise(X.UnexpectedSpaceBetweenModuloChecks,{at:s}),this.eat(10)?(t.value=super.parseExpression(),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let t=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,i=null;return this.match(54)?(this.state.inType=t,i=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=t,this.match(54)&&(i=this.flowParsePredicate())),[s,i]}flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}flowParseDeclareFunction(t){this.next();let s=t.id=this.parseIdentifier(),i=this.startNode(),n=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return i.params=a.params,i.rest=a.rest,i.this=a._this,this.expect(11),[i.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(t.id.name,xS,t.id.loc.start),this.finishNode(t,"DeclareFunction")}flowParseDeclare(t,s){if(this.match(80))return this.flowParseDeclareClass(t);if(this.match(68))return this.flowParseDeclareFunction(t);if(this.match(74))return this.flowParseDeclareVariable(t);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(t):(s&&this.raise(X.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(t));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(t);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(t);if(this.isContextual(127))return this.flowParseDeclareInterface(t);if(this.match(82))return this.flowParseDeclareExportDeclaration(t,s);this.unexpected()}flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,Zn,t.id.loc.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}flowParseDeclareModule(t){this.scope.enter(ps),this.match(131)?t.id=super.parseExprAtom():t.id=this.parseIdentifier();let s=t.body=this.startNode(),i=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(X.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(o)):(this.expectContextual(123,X.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let n=null,a=!1;return i.forEach(o=>{GS(o)?(n==="CommonJS"&&this.raise(X.AmbiguousDeclareModuleKind,{at:o}),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(X.DuplicateDeclareModuleExports,{at:o}),n==="ES"&&this.raise(X.AmbiguousDeclareModuleKind,{at:o}),n="CommonJS",a=!0)}),t.kind=n||"CommonJS",this.finishNode(t,"DeclareModule")}flowParseDeclareExportDeclaration(t,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!s){let i=this.state.value;throw this.raise(X.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:i,suggestion:HS[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return t=this.parseExport(t,null),t.type==="ExportNamedDeclaration"&&(t.type="ExportDeclaration",t.default=!1,delete t.exportKind),t.type="Declare"+t.type,t;this.unexpected()}flowParseDeclareModuleExports(t){return this.next(),this.expectContextual(109),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}flowParseDeclareTypeAlias(t){this.next();let s=this.flowParseTypeAlias(t);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(t){this.next();let s=this.flowParseOpaqueType(t,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(t){return this.next(),this.flowParseInterfaceish(t,!1),this.finishNode(t,"DeclareInterface")}flowParseInterfaceish(t,s){if(t.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(t.id.name,s?Eh:ds,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],t.implements=[],t.mixins=[],this.eat(81))do t.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(this.eatContextual(115))do t.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do t.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}t.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}flowParseInterface(t){return this.flowParseInterfaceish(t,!1),this.finishNode(t,"InterfaceDeclaration")}checkNotUnderscore(t){t==="_"&&this.raise(X.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(t,s,i){!WS.has(t)||this.raise(i?X.AssignReservedType:X.UnexpectedReservedType,{at:s,reservedType:t})}flowParseRestrictedIdentifier(t,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(t)}flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,ds,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(t,"TypeAlias")}flowParseOpaqueType(t,s){return this.expectContextual(128),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,ds,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(14)&&(t.supertype=this.flowParseTypeInitialiser(14)),t.impltype=null,s||(t.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(t,"OpaqueType")}flowParseTypeParameter(t=!1){let s=this.state.startLoc,i=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return i.name=a.name,i.variance=n,i.bound=a.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):t&&this.raise(X.MissingTypeParamDefault,{at:s}),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let t=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let i=!1;do{let n=this.flowParseTypeParameter(i);s.params.push(n),n.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=t,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let t=this.startNode(),s=this.state.inType;t.params=[],this.state.inType=!0,this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)t.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=i,this.expect(48),this.state.inType=s,this.finishNode(t,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let t=this.startNode(),s=this.state.inType;for(t.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(t,"TypeParameterInstantiation")}flowParseInterfaceType(){let t=this.startNode();if(this.expectContextual(127),t.extends=[],this.eat(81))do t.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(t,s,i){return t.static=s,this.lookahead().type===14?(t.id=this.flowParseObjectPropertyKey(),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(3),t.value=this.flowParseTypeInitialiser(),t.variance=i,this.finishNode(t,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(t,s){return t.static=s,t.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.loc.start))):(t.method=!1,this.eat(17)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(t){for(t.params=[],t.rest=null,t.typeParameters=null,t.this=null,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(t.this=this.flowParseFunctionTypeParam(!0),t.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(t,s){let i=this.startNode();return t.static=s,t.value=this.flowParseObjectTypeMethodish(i),this.finishNode(t,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:t,allowExact:s,allowSpread:i,allowProto:n,allowInexact:a}){let o=this.state.inType;this.state.inType=!0;let l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let u,c,p=!1;for(s&&this.match(6)?(this.expect(6),u=9,c=!0):(this.expect(5),u=8,c=!1),l.exact=c;!this.match(u);){let f=!1,g=null,d=null,m=this.startNode();if(n&&this.isContextual(116)){let E=this.lookahead();E.type!==14&&E.type!==17&&(this.next(),g=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let E=this.lookahead();E.type!==14&&E.type!==17&&(this.next(),f=!0)}let y=this.flowParseVariance();if(this.eat(0))g!=null&&this.unexpected(g),this.eat(0)?(y&&this.unexpected(y.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(m,f))):l.indexers.push(this.flowParseObjectTypeIndexer(m,f,y));else if(this.match(10)||this.match(47))g!=null&&this.unexpected(g),y&&this.unexpected(y.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(m,f));else{let E="init";if(this.isContextual(98)||this.isContextual(103)){let v=this.lookahead();oh(v.type)&&(E=this.state.value,this.next())}let S=this.flowParseObjectTypeProperty(m,f,g,y,E,i,a??!c);S===null?(p=!0,d=this.state.lastTokStartLoc):l.properties.push(S)}this.flowObjectTypeSemicolon(),d&&!this.match(8)&&!this.match(9)&&this.raise(X.UnexpectedExplicitInexactInObject,{at:d})}this.expect(u),i&&(l.inexact=p);let h=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,h}flowParseObjectTypeProperty(t,s,i,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(X.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(X.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(X.InexactVariance,{at:n}),null):(o||this.raise(X.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),i!=null&&this.unexpected(i),n&&this.raise(X.SpreadVariance,{at:n}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));{t.key=this.flowParseObjectPropertyKey(),t.static=s,t.proto=i!=null,t.kind=a;let u=!1;return this.match(47)||this.match(10)?(t.method=!0,i!=null&&this.unexpected(i),n&&this.unexpected(n.loc.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(t),!o&&t.key.name==="constructor"&&t.value.this&&this.raise(X.ThisParamBannedInConstructor,{at:t.value.this})):(a!=="init"&&this.unexpected(),t.method=!1,this.eat(17)&&(u=!0),t.value=this.flowParseTypeInitialiser(),t.variance=n),t.optional=u,this.finishNode(t,"ObjectTypeProperty")}}flowCheckGetterSetterParams(t){let s=t.kind==="get"?0:1,i=t.value.params.length+(t.value.rest?1:0);t.value.this&&this.raise(t.kind==="get"?X.GetterMayNotHaveThisParam:X.SetterMayNotHaveThisParam,{at:t.value.this}),i!==s&&this.raise(t.kind==="get"?A.BadGetterArity:A.BadSetterArity,{at:t}),t.kind==="set"&&t.value.rest&&this.raise(A.BadSetterRestParameter,{at:t})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(t,s){var i;(i=t)!=null||(t=this.state.startLoc);let n=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let a=this.startNodeAt(t);a.qualification=n,a.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(a,"QualifiedTypeIdentifier")}return n}flowParseGenericType(t,s){let i=this.startNodeAt(t);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(t,s),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let t=this.startNode();return this.expect(87),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}flowParseTupleType(){let t=this.startNode();for(t.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(t.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(t,"TupleTypeAnnotation")}flowParseFunctionTypeParam(t){let s=null,i=!1,n=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!t&&this.raise(X.ThisParamMustBeFirst,{at:a}),s=this.parseIdentifier(l),this.eat(17)&&(i=!0,l&&this.raise(X.ThisParamMayNotBeOptional,{at:a})),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),a.name=s,a.optional=i,a.typeAnnotation=n,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(t){let s=this.startNodeAt(t.loc.start);return s.name=null,s.optional=!1,s.typeAnnotation=t,this.finishNode(s,"FunctionTypeParam")}flowParseFunctionTypeParams(t=[]){let s=null,i=null;for(this.match(78)&&(i=this.flowParseFunctionTypeParam(!0),i.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s=this.flowParseFunctionTypeParam(!1)),{params:t,rest:s,_this:i}}flowIdentToTypeAnnotation(t,s,i){switch(i.name){case"any":return this.finishNode(s,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(s,"BooleanTypeAnnotation");case"mixed":return this.finishNode(s,"MixedTypeAnnotation");case"empty":return this.finishNode(s,"EmptyTypeAnnotation");case"number":return this.finishNode(s,"NumberTypeAnnotation");case"string":return this.finishNode(s,"StringTypeAnnotation");case"symbol":return this.finishNode(s,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(i.name),this.flowParseGenericType(t,i)}}flowParsePrimaryType(){let t=this.state.startLoc,s=this.startNode(),i,n,a=!1,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,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 47:return s.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),i=this.flowParseFunctionTypeParams(),s.params=i.params,s.rest=i.rest,s.this=i._this,this.expect(11),this.expect(19),s.returnType=this.flowParseType(),this.finishNode(s,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ce(this.state.type)||this.match(78)){let l=this.lookahead().type;a=l!==17&&l!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),n;this.eat(12)}return n?i=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):i=this.flowParseFunctionTypeParams(),s.params=i.params,s.rest=i.rest,s.this=i._this,this.expect(11),this.expect(19),s.returnType=this.flowParseType(),s.typeParameters=null,this.finishNode(s,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return s.value=this.match(85),this.next(),this.finishNode(s,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",s);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",s);throw this.raise(X.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(s,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(s,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(s,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(s,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(cl(this.state.type)){let l=yr(this.state.type);return this.next(),super.createIdentifier(s,l)}else if(ce(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(t,s,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let t=this.state.startLoc,s=this.flowParsePrimaryType(),i=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let n=this.startNodeAt(t),a=this.eat(18);i=i||a,this.expect(0),!a&&this.match(3)?(n.elementType=s,this.next(),s=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=s,n.indexType=this.flowParseType(),this.expect(3),i?(n.optional=a,s=this.finishNode(n,"OptionalIndexedAccessType")):s=this.finishNode(n,"IndexedAccessType"))}return s}flowParsePrefixType(){let t=this.startNode();return this.eat(17)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let s=this.startNodeAt(t.loc.start);return s.params=[this.reinterpretTypeAsFunctionTypeParam(t)],s.rest=null,s.this=null,s.returnType=this.flowParseType(),s.typeParameters=null,this.finishNode(s,"FunctionTypeAnnotation")}return t}flowParseIntersectionType(){let t=this.startNode();this.eat(45);let s=this.flowParseAnonFunctionWithoutParens();for(t.types=[s];this.eat(45);)t.types.push(this.flowParseAnonFunctionWithoutParens());return t.types.length===1?s:this.finishNode(t,"IntersectionTypeAnnotation")}flowParseUnionType(){let t=this.startNode();this.eat(43);let s=this.flowParseIntersectionType();for(t.types=[s];this.eat(43);)t.types.push(this.flowParseIntersectionType());return t.types.length===1?s:this.finishNode(t,"UnionTypeAnnotation")}flowParseType(){let t=this.state.inType;this.state.inType=!0;let s=this.flowParseUnionType();return this.state.inType=t,s}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let t=this.state.startLoc,s=this.parseIdentifier();return this.flowParseGenericType(t,s)}else return this.flowParseType()}flowParseTypeAnnotation(){let t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(t){let s=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s)),s}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}flowParseVariance(){let t=null;return this.match(53)?(t=this.startNode(),this.state.value==="+"?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")):t}parseFunctionBody(t,s,i=!1){if(s){this.forwardNoArrowParamsConversionAt(t,()=>super.parseFunctionBody(t,!0,i));return}super.parseFunctionBody(t,!1,i)}parseFunctionBodyAndFinish(t,s,i=!1){if(this.match(14)){let n=this.startNode();[n.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),t.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(t,s,i)}parseStatementLike(t){if(this.state.strict&&this.isContextual(127)){let i=this.lookahead();if(kt(i.type)){let n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let s=super.parseStatementLike(t);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(t,s,i){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||ce(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(ce(this.state.type)){if(s.name==="interface")return this.flowParseInterface(t);if(s.name==="type")return this.flowParseTypeAlias(t);if(s.name==="opaque")return this.flowParseOpaqueType(t,!1)}}return super.parseExpressionStatement(t,s,i)}shouldParseExportDeclaration(){let{type:t}=this.state;return lh(t)||this.shouldParseEnums()&&t===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:t}=this.state;return lh(t)||this.shouldParseEnums()&&t===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDefaultExpression()}parseConditional(t,s,i){if(!this.match(17))return t;if(this.state.maybeInArrowParameters){let h=this.lookaheadCharCode();if(h===44||h===61||h===58||h===41)return this.setOptionalParametersError(i),t}this.expect(17);let n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(s),{consequent:l,failed:u}=this.tryParseConditionalConsequent(),[c,p]=this.getArrowLikeExpressions(l);if(u||p.length>0){let h=[...a];if(p.length>0){this.state=n,this.state.noArrowAt=h;for(let f=0;f<p.length;f++)h.push(p[f].start);({consequent:l,failed:u}=this.tryParseConditionalConsequent()),[c,p]=this.getArrowLikeExpressions(l)}u&&c.length>1&&this.raise(X.AmbiguousConditionalArrow,{at:n.startLoc}),u&&c.length===1&&(this.state=n,h.push(c[0].start),this.state.noArrowAt=h,{consequent:l,failed:u}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=t,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let t=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:s}}getArrowLikeExpressions(t,s){let i=[t],n=[];for(;i.length!==0;){let a=i.pop();a.type==="ArrowFunctionExpression"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),i.push(a.body)):a.type==="ConditionalExpression"&&(i.push(a.consequent),i.push(a.alternate))}return s?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):KS(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(t){var s;this.toAssignableList(t.params,(s=t.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(Yt|yl),super.checkParams(t,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(t,s){let i;return this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),i=s(),this.state.noArrowParamsConversionAt.pop()):i=s(),i}parseParenItem(t,s){if(t=super.parseParenItem(t,s),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let i=this.startNodeAt(s);return i.expression=t,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return t}assertModuleNodeAllowed(t){t.type==="ImportDeclaration"&&(t.importKind==="type"||t.importKind==="typeof")||t.type==="ExportNamedDeclaration"&&t.exportKind==="type"||t.type==="ExportAllDeclaration"&&t.exportKind==="type"||super.assertModuleNodeAllowed(t)}parseExport(t,s){let i=super.parseExport(t,s);return(i.type==="ExportNamedDeclaration"||i.type==="ExportAllDeclaration")&&(i.exportKind=i.exportKind||"value"),i}parseExportDeclaration(t){if(this.isContextual(128)){t.exportKind="type";let s=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(t),null):this.flowParseTypeAlias(s)}else if(this.isContextual(129)){t.exportKind="type";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(127)){t.exportKind="type";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.shouldParseEnums()&&this.isContextual(124)){t.exportKind="value";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(t)}eatExportStar(t){return super.eatExportStar(t)?!0:this.isContextual(128)&&this.lookahead().type===55?(t.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(t){let{startLoc:s}=this.state,i=super.maybeParseExportNamespaceSpecifier(t);return i&&t.exportKind==="type"&&this.unexpected(s),i}parseClassId(t,s,i){super.parseClassId(t,s,i),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(t,s,i){let{startLoc:n}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(t,s))return;s.declare=!0}super.parseClassMember(t,s,i),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(X.DeclareClassElement,{at:n}):s.value&&this.raise(X.DeclareClassFieldInitializer,{at:s.value}))}isIterator(t){return t==="iterator"||t==="asyncIterator"}readIterator(){let t=super.readWord1(),s="@@"+t;(!this.isIterator(t)||!this.state.inType)&&this.raise(A.InvalidIdentifier,{at:this.state.curPosition(),identifierName:s}),this.finishToken(130,s)}getTokenFromCode(t){let s=this.input.charCodeAt(this.state.pos+1);t===123&&s===124?this.finishOp(6,2):this.state.inType&&(t===62||t===60)?this.finishOp(t===62?48:47,1):this.state.inType&&t===63?s===46?this.finishOp(18,2):this.finishOp(17,1):yS(t,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(t)}isAssignable(t,s){return t.type==="TypeCastExpression"?this.isAssignable(t.expression,s):super.isAssignable(t,s)}toAssignable(t,s=!1){!s&&t.type==="AssignmentExpression"&&t.left.type==="TypeCastExpression"&&(t.left=this.typeCastToParameter(t.left)),super.toAssignable(t,s)}toAssignableList(t,s,i){for(let n=0;n<t.length;n++){let a=t[n];(a==null?void 0:a.type)==="TypeCastExpression"&&(t[n]=this.typeCastToParameter(a))}super.toAssignableList(t,s,i)}toReferencedList(t,s){for(let n=0;n<t.length;n++){var i;let a=t[n];a&&a.type==="TypeCastExpression"&&!((i=a.extra)!=null&&i.parenthesized)&&(t.length>1||!s)&&this.raise(X.TypeCastInPattern,{at:a.typeAnnotation})}return t}parseArrayLike(t,s,i,n){let a=super.parseArrayLike(t,s,i,n);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(t,s,i){return t==="TypeCastExpression"||super.isValidLVal(t,s,i)}parseClassProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(t)}parseClassPrivateProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(t){return!this.match(14)&&super.isNonstaticConstructor(t)}pushClassMethod(t,s,i,n,a,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(t,s,i,n,a,o),s.params&&a){let l=s.params;l.length>0&&this.isThisParam(l[0])&&this.raise(X.ThisParamBannedInConstructor,{at:s})}else if(s.type==="MethodDefinition"&&a&&s.value.params){let l=s.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(X.ThisParamBannedInConstructor,{at:s})}}pushClassPrivateMethod(t,s,i,n){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(t,s,i,n)}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let s=t.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,s.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(t){super.checkGetterSetterParams(t);let s=this.getObjectOrClassMethodParams(t);if(s.length>0){let i=s[0];this.isThisParam(i)&&t.kind==="get"?this.raise(X.GetterMayNotHaveThisParam,{at:i}):this.isThisParam(i)&&this.raise(X.SetterMayNotHaveThisParam,{at:i})}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,s,i,n,a,o,l){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance;let u;this.match(47)&&!o&&(u=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(t,s,i,n,a,o,l);return u&&((c.value||c).typeParameters=u),c}parseAssignableListItemTypes(t){return this.eat(17)&&(t.type!=="Identifier"&&this.raise(X.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(X.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(X.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(X.ThisParamNoDefault,{at:t}),this.resetEndLocation(t),t}parseMaybeDefault(t,s){let i=super.parseMaybeDefault(t,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(X.TypeBeforeInitializer,{at:i.typeAnnotation}),i}shouldParseDefaultImport(t){return Nl(t)?Kh(this.state.type):super.shouldParseDefaultImport(t)}checkImportReflection(t){super.checkImportReflection(t),t.module&&t.importKind!=="value"&&this.raise(X.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}parseImportSpecifierLocal(t,s,i){s.local=Nl(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(s,i))}maybeParseDefaultImportSpecifier(t){t.importKind="value";let s=null;if(this.match(87)?s="typeof":this.isContextual(128)&&(s="type"),s){let i=this.lookahead(),{type:n}=i;s==="type"&&n===55&&this.unexpected(null,i.type),(Kh(n)||n===5||n===55)&&(this.next(),t.importKind=s)}return super.maybeParseDefaultImportSpecifier(t)}parseImportSpecifier(t,s,i,n,a){let o=t.imported,l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let u=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let p=this.parseIdentifier(!0);l!==null&&!kt(this.state.type)?(t.imported=p,t.importKind=l,t.local=Qt(p)):(t.imported=o,t.importKind=null,t.local=this.parseIdentifier())}else{if(l!==null&&kt(this.state.type))t.imported=this.parseIdentifier(!0),t.importKind=l;else{if(s)throw this.raise(A.ImportBindingIsString,{at:t,importName:o.value});t.imported=o,t.importKind=null}this.eatContextual(93)?t.local=this.parseIdentifier():(u=!0,t.local=Qt(t.imported))}let c=Nl(t);return i&&c&&this.raise(X.ImportTypeShorthandOnlyInPureImport,{at:t}),(i||c)&&this.checkReservedType(t.local.name,t.local.loc.start,!0),u&&!i&&!c&&this.checkReservedWord(t.local.name,t.loc.start,!0,!0),this.finishImportSpecifier(t,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(t,s){let i=t.kind;i!=="get"&&i!=="set"&&this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(t,s)}parseVarId(t,s){super.parseVarId(t,s),this.match(14)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,s){if(this.match(14)){let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=i}return super.parseAsyncArrowFromCallExpression(t,s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(t,s){var i;let n=null,a;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(n=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(t,s),n),!a.error)return a.node;let{context:u}=this.state,c=u[u.length-1];(c===ge.j_oTag||c===ge.j_expr)&&u.pop()}if((i=a)!=null&&i.error||this.match(47)){var o,l;n=n||this.state.clone();let u,c=this.tryParse(h=>{var f;u=this.flowParseTypeParameterDeclaration();let g=this.forwardNoArrowParamsConversionAt(u,()=>{let m=super.parseMaybeAssign(t,s);return this.resetStartLocationFromNode(m,u),m});(f=g.extra)!=null&&f.parenthesized&&h();let d=this.maybeUnwrapTypeCastExpression(g);return d.type!=="ArrowFunctionExpression"&&h(),d.typeParameters=u,this.resetStartLocationFromNode(d,u),g},n),p=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(X.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:u}),c.node;p=c.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(p)return this.state=c.failState,p;throw(l=a)!=null&&l.thrown?a.error:c.thrown?c.error:this.raise(X.UnexpectedTokenAfterTypeParameter,{at:u})}return super.parseMaybeAssign(t,s)}parseArrow(t){if(this.match(14)){let s=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(s.thrown)return null;s.error&&(this.state=s.failState),t.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(t)}shouldParseArrow(t){return this.match(14)||super.shouldParseArrow(t)}setArrowFunctionParameters(t,s){this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?t.params=s:super.setArrowFunctionParameters(t,s)}checkParams(t,s,i,n=!0){if(!(i&&this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1)){for(let a=0;a<t.params.length;a++)this.isThisParam(t.params[a])&&a>0&&this.raise(X.ThisParamMustBeFirst,{at:t.params[a]});super.checkParams(t,s,i,n)}}parseParenAndDistinguishExpression(t){return super.parseParenAndDistinguishExpression(t&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(t,s,i){if(t.type==="Identifier"&&t.name==="async"&&this.state.noArrowAt.indexOf(s.index)!==-1){this.next();let n=this.startNodeAt(s);n.callee=t,n.arguments=super.parseCallExpressionArguments(11,!1),t=this.finishNode(n,"CallExpression")}else if(t.type==="Identifier"&&t.name==="async"&&this.match(47)){let n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(s)||l(),n);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(t,s,i),n);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(t,s,i)}parseSubscript(t,s,i,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,i)return n.stop=!0,t;this.next();let a=this.startNodeAt(s);return a.callee=t,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11,!1),a.optional=!0,this.finishCallExpression(a,!0)}else if(!i&&this.shouldParseTypes()&&this.match(47)){let a=this.startNodeAt(s);a.callee=t;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(t,s,i,n)}parseNewCallee(t){super.parseNewCallee(t);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),t.typeArguments=s}parseAsyncArrowWithTypeParameters(t){let s=this.startNodeAt(t);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(t){let s=this.input.charCodeAt(this.state.pos+1);if(t===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(t)}readToken_pipe_amp(t){let s=this.input.charCodeAt(this.state.pos+1);if(t===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(t)}parseTopLevel(t,s){let i=super.parseTopLevel(t,s);return this.state.hasFlowComment&&this.raise(X.UnterminatedFlowComment,{at:this.state.curPosition()}),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(X.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:t}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(t+s));)s++;let i=this.input.charCodeAt(s+t),n=this.input.charCodeAt(s+t+1);return i===58&&n===58?s+2:this.input.slice(s+t,s+t+12)==="flow-include"?s+12:i===58&&n!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(A.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(t,{enumName:s,memberName:i}){this.raise(X.EnumBooleanMemberNotInitialized,{at:t,memberName:i,enumName:s})}flowEnumErrorInvalidMemberInitializer(t,s){return this.raise(s.explicitType?s.explicitType==="symbol"?X.EnumInvalidMemberInitializerSymbolType:X.EnumInvalidMemberInitializerPrimaryType:X.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},s))}flowEnumErrorNumberMemberNotInitialized(t,{enumName:s,memberName:i}){this.raise(X.EnumNumberMemberNotInitialized,{at:t,enumName:s,memberName:i})}flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:s}){this.raise(X.EnumStringMemberInconsistentlyInitailized,{at:t,enumName:s})}flowEnumMemberInit(){let t=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let i=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:t}}case 131:{let i=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:t}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:t}}default:return{type:"invalid",loc:t}}}flowEnumMemberRaw(){let t=this.state.startLoc,s=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:t};return{id:s,init:i}}flowEnumCheckExplicitTypeMismatch(t,s,i){let{explicitType:n}=s;n!==null&&n!==i&&this.flowEnumErrorInvalidMemberInitializer(t,s)}flowEnumMembers({enumName:t,explicitType:s}){let i=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let o=this.startNode(),{id:l,init:u}=this.flowEnumMemberRaw(),c=l.name;if(c==="")continue;/^[a-z]/.test(c)&&this.raise(X.EnumInvalidMemberName,{at:l,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:t}),i.has(c)&&this.raise(X.EnumDuplicateMemberName,{at:l,memberName:c,enumName:t}),i.add(c);let p={enumName:t,explicitType:s,memberName:c};switch(o.id=l,u.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"boolean"),o.init=u.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"number"),o.init=u.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"string"),o.init=u.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,p);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,p);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(t,s,{enumName:i}){if(t.length===0)return s;if(s.length===0)return t;if(s.length>t.length){for(let n of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(n,{enumName:i});return s}else{for(let n of s)this.flowEnumErrorStringMemberInconsistentlyInitailized(n,{enumName:i});return t}}flowEnumParseExplicitType({enumName:t}){if(!this.eatContextual(101))return null;if(!ce(this.state.type))throw this.raise(X.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(X.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:s}),s}flowEnumBody(t,s){let i=s.name,n=s.loc.start,a=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:i,explicitType:a});switch(t.hasUnknownMembers=l,a){case"boolean":return t.explicitType=!0,t.members=o.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=o.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=o.defaultedMembers,this.expect(8),this.finishNode(t,"EnumSymbolBody");default:{let u=()=>(t.members=[],this.expect(8),this.finishNode(t,"EnumStringBody"));t.explicitType=!1;let c=o.booleanMembers.length,p=o.numberMembers.length,h=o.stringMembers.length,f=o.defaultedMembers.length;if(!c&&!p&&!h&&!f)return u();if(!c&&!p)return t.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(t,"EnumStringBody");if(!p&&!h&&c>=f){for(let g of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(g.loc.start,{enumName:i,memberName:g.id.name});return t.members=o.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody")}else if(!c&&!h&&p>=f){for(let g of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(g.loc.start,{enumName:i,memberName:g.id.name});return t.members=o.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody")}else return this.raise(X.EnumInconsistentMemberValues,{at:n,enumName:i}),u()}}}flowParseEnumDeclaration(t){let s=this.parseIdentifier();return t.id=s,t.body=this.flowEnumBody(this.startNode(),s),this.finishNode(t,"EnumDeclaration")}isLookaheadToken_lt(){let t=this.nextTokenStart();if(this.input.charCodeAt(t)===60){let s=this.input.charCodeAt(t+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(t){return t.type==="TypeCastExpression"?t.expression:t}},QS={__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"},kr=Ht`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:r})=>`Expected corresponding JSX closing tag for <${r}>.`,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:r,HTMLEntity:e})=>`Unexpected token \`${r}\`. Did you mean \`${e}\` or \`{'${r}'}\`?`,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 vr(r){return r?r.type==="JSXOpeningFragment"||r.type==="JSXClosingFragment":!1}function gs(r){if(r.type==="JSXIdentifier")return r.name;if(r.type==="JSXNamespacedName")return r.namespace.name+":"+r.name.name;if(r.type==="JSXMemberExpression")return gs(r.object)+"."+gs(r.property);throw new Error("Node had unexpected type: "+r.type)}var XS=r=>class extends r{jsxReadToken(){let t="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(kr.UnterminatedJsxContent,{at:this.state.startLoc});let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(i);return}t+=this.input.slice(s,this.state.pos),this.finishToken(139,t);return;case 38:t+=this.input.slice(s,this.state.pos),t+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:fi(i)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(t){let s=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=t?`
8
+ `:`\r
9
+ `):i=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,i}jsxReadString(t){let s="",i=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(A.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===t)break;n===38?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadEntity(),i=this.state.pos):fi(n)?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadNewLine(!1),i=this.state.pos):++this.state.pos}s+=this.input.slice(i,this.state.pos++),this.finishToken(131,s)}jsxReadEntity(){let t=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let i=this.readInt(s,void 0,!1,"bail");if(i!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(i)}else{let s=0,i=!1;for(;s++<10&&this.state.pos<this.length&&!(i=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(i){let n=this.input.slice(t,this.state.pos),a=QS[n];if(++this.state.pos,a)return a}}return this.state.pos=t,"&"}jsxReadWord(){let t,s=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(cs(t)||t===45);this.finishToken(138,this.input.slice(s,this.state.pos))}jsxParseIdentifier(){let t=this.startNode();return this.match(138)?t.name=this.state.value:cl(this.state.type)?t.name=yr(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){let t=this.state.startLoc,s=this.jsxParseIdentifier();if(!this.eat(14))return s;let i=this.startNodeAt(t);return i.namespace=s,i.name=this.jsxParseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsxParseElementName(){let t=this.state.startLoc,s=this.jsxParseNamespacedName();if(s.type==="JSXNamespacedName")return s;for(;this.eat(16);){let i=this.startNodeAt(t);i.object=s,i.property=this.jsxParseIdentifier(),s=this.finishNode(i,"JSXMemberExpression")}return s}jsxParseAttributeValue(){let t;switch(this.state.type){case 5:return t=this.startNode(),this.setContext(ge.brace),this.next(),t=this.jsxParseExpressionContainer(t,ge.j_oTag),t.expression.type==="JSXEmptyExpression"&&this.raise(kr.AttributeIsEmpty,{at:t}),t;case 140:case 131:return this.parseExprAtom();default:throw this.raise(kr.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let t=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(t){return this.next(),t.expression=this.parseExpression(),this.setContext(ge.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,s){if(this.match(8))t.expression=this.jsxParseEmptyExpression();else{let i=this.parseExpression();t.expression=i}return this.setContext(s),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){let t=this.startNode();return this.match(5)?(this.setContext(ge.brace),this.next(),this.expect(21),t.argument=this.parseMaybeAssignAllowIn(),this.setContext(ge.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsxParseNamespacedName(),t.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsxParseOpeningElementAt(t){let s=this.startNodeAt(t);return this.eat(141)?this.finishNode(s,"JSXOpeningFragment"):(s.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(s))}jsxParseOpeningElementAfterName(t){let s=[];for(;!this.match(56)&&!this.match(141);)s.push(this.jsxParseAttribute());return t.attributes=s,t.selfClosing=this.eat(56),this.expect(141),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t){let s=this.startNodeAt(t);return this.eat(141)?this.finishNode(s,"JSXClosingFragment"):(s.name=this.jsxParseElementName(),this.expect(141),this.finishNode(s,"JSXClosingElement"))}jsxParseElementAt(t){let s=this.startNodeAt(t),i=[],n=this.jsxParseOpeningElementAt(t),a=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 140:if(t=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(t);break e}i.push(this.jsxParseElementAt(t));break;case 139:i.push(this.parseExprAtom());break;case 5:{let o=this.startNode();this.setContext(ge.brace),this.next(),this.match(21)?i.push(this.jsxParseSpreadChild(o)):i.push(this.jsxParseExpressionContainer(o,ge.j_expr));break}default:this.unexpected()}vr(n)&&!vr(a)&&a!==null?this.raise(kr.MissingClosingTagFragment,{at:a}):!vr(n)&&vr(a)?this.raise(kr.MissingClosingTagElement,{at:a,openingTagName:gs(n.name)}):!vr(n)&&!vr(a)&&gs(a.name)!==gs(n.name)&&this.raise(kr.MissingClosingTagElement,{at:a,openingTagName:gs(n.name)})}if(vr(n)?(s.openingFragment=n,s.closingFragment=a):(s.openingElement=n,s.closingElement=a),s.children=i,this.match(47))throw this.raise(kr.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return vr(n)?this.finishNode(s,"JSXFragment"):this.finishNode(s,"JSXElement")}jsxParseElement(){let t=this.state.startLoc;return this.next(),this.jsxParseElementAt(t)}setContext(t){let{context:s}=this.state;s[s.length-1]=t}parseExprAtom(t){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(t)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(t){let s=this.curContext();if(s===ge.j_expr){this.jsxReadToken();return}if(s===ge.j_oTag||s===ge.j_cTag){if(Kt(t)){this.jsxReadWord();return}if(t===62){++this.state.pos,this.finishToken(141);return}if((t===34||t===39)&&s===ge.j_oTag){this.jsxReadString(t);return}}if(t===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(t)}updateContext(t){let{context:s,type:i}=this.state;if(i===56&&t===140)s.splice(-2,2,ge.j_cTag),this.state.canStartJSXElement=!1;else if(i===140)s.push(ge.j_oTag);else if(i===141){let n=s[s.length-1];n===ge.j_oTag&&t===56||n===ge.j_cTag?(s.pop(),this.state.canStartJSXElement=s[s.length-1]===ge.j_expr):(this.setContext(ge.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=qv(i)}},Yh=class extends ta{constructor(...e){super(...e);this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Jh=class extends ra{constructor(...e){super(...e);this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Yh(e)}enter(e){e==fs&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e==fs&&this.importsStack.pop(),e}hasImport(e,t){let s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1){for(let i=0;i<s-1;i++)if(this.importsStack[i].has(e))return!0}return!1}declareName(e,t,s){if(t&ci){this.hasImport(e,!0)&&this.parser.raise(A.VarRedeclaration,{at:s,identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let i=this.currentScope();if(t&Sl){this.maybeExportDefined(i,e),i.exportOnlyBindings.add(e);return}super.declareName(e,t,s),t&Or&&(t&Lt||(this.checkRedeclarationInScope(i,e,t,s),this.maybeExportDefined(i,e)),i.types.add(e)),t&gl&&i.enums.add(e),t&vl&&i.constEnums.add(e),t&Qn&&i.classes.add(e)}isRedeclaredInScope(e,t,s){if(e.enums.has(t)){if(s&gl){let i=!!(s&vl),n=e.constEnums.has(t);return i!==n}return!0}return s&Qn&&e.classes.has(t)?e.lexical.has(t)?!!(s&Lt):!1:s&Or&&e.types.has(t)?!0:super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){let{name:t}=e;if(this.hasImport(t))return;let s=this.scopeStack.length;for(let i=s-1;i>=0;i--){let n=this.scopeStack[i];if(n.types.has(t)||n.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}},ZS=(r,e)=>Object.hasOwnProperty.call(r,e)&&r[e],Qh=r=>r.type==="ParenthesizedExpression"?Qh(r.expression):r,Xh=class extends Hh{toAssignable(e,t=!1){var s,i;let n;switch((e.type==="ParenthesizedExpression"||(s=e.extra)!=null&&s.parenthesized)&&(n=Qh(e),t?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(A.InvalidParenthesizedAssignment,{at:e}):n.type!=="MemberExpression"&&this.raise(A.InvalidParenthesizedAssignment,{at:e}):this.raise(A.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let o=0,l=e.properties.length,u=l-1;o<l;o++){var a;let c=e.properties[o],p=o===u;this.toAssignableObjectExpressionProp(c,p,t),p&&c.type==="RestElement"&&(a=e.extra)!=null&&a.trailingCommaLoc&&this.raise(A.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:o,value:l}=e;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,t);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":e.type="ArrayPattern",this.toAssignableList(e.elements,(i=e.extra)==null?void 0:i.trailingCommaLoc,t);break;case"AssignmentExpression":e.operator!=="="&&this.raise(A.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t);break}}toAssignableObjectExpressionProp(e,t,s){if(e.type==="ObjectMethod")this.raise(e.kind==="get"||e.kind==="set"?A.PatternHasAccessor:A.PatternHasMethod,{at:e.key});else if(e.type==="SpreadElement"){e.type="RestElement";let i=e.argument;this.checkToRestConversion(i,!1),this.toAssignable(i,s),t||this.raise(A.RestTrailingComma,{at:e})}else this.toAssignable(e,s)}toAssignableList(e,t,s){let i=e.length-1;for(let n=0;n<=i;n++){let a=e[n];if(!!a){if(a.type==="SpreadElement"){a.type="RestElement";let o=a.argument;this.checkToRestConversion(o,!0),this.toAssignable(o,s)}else this.toAssignable(a,s);a.type==="RestElement"&&(n<i?this.raise(A.RestTrailingComma,{at:a}):t&&this.raise(A.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let s=e.properties.length-1;return e.properties.every((i,n)=>i.type!=="ObjectMethod"&&(n===s||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(s=>s===null||this.isAssignable(s));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 s of e)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.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();return this.next(),e.argument=this.parseBindingAtom(),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)}return this.parseIdentifier()}parseBindingList(e,t,s){let i=s&1,n=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),i&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){if(n.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(A.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());n.push(this.parseAssignableListItem(s,o))}}return n}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,startLoc:s}=this.state;return t===21?this.parseBindingRestProperty(e):(t===136?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,s,!1,!1,!0,!1))}parseAssignableListItem(e,t){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,e);let i=this.parseMaybeDefault(s.loc.start,s);return t.length&&(s.decorators=t),i}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var s,i;if((s=e)!=null||(e=this.state.startLoc),t=(i=t)!=null?i:this.parseBindingAtom(),!this.eat(29))return t;let n=this.startNodeAt(e);return n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(e,t,s){return ZS({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:s=gr,checkClashes:i=!1,strictModeChanged:n=!1,hasParenthesizedAncestor:a=!1}){var o;let l=e.type;if(this.isObjectMethod(e))return;if(l==="MemberExpression"){s!==gr&&this.raise(A.InvalidPropertyBindingPattern,{at:e});return}if(l==="Identifier"){this.checkIdentifier(e,s,n);let{name:f}=e;i&&(i.has(f)?this.raise(A.ParamDupe,{at:e}):i.add(f));return}let u=this.isValidLVal(l,!(a||(o=e.extra)!=null&&o.parenthesized)&&t.type==="AssignmentExpression",s);if(u===!0)return;if(u===!1){let f=s===gr?A.InvalidLhs:A.InvalidLhsBinding;this.raise(f,{at:e,ancestor:t});return}let[c,p]=Array.isArray(u)?u:[u,l==="ParenthesizedExpression"],h=l==="ArrayPattern"||l==="ObjectPattern"||l==="ParenthesizedExpression"?{type:l}:t;for(let f of[].concat(e[c]))f&&this.checkLVal(f,{in:h,binding:s,checkClashes:i,strictModeChanged:n,hasParenthesizedAncestor:p})}checkIdentifier(e,t,s=!1){this.state.strict&&(s?yh(e.name,this.inModule):mh(e.name))&&(t===gr?this.raise(A.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(A.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),t&Xn&&e.name==="let"&&this.raise(A.LetInLexicalBinding,{at:e}),t&gr||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(A.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?A.RestTrailingComma:A.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},eb=(r,e)=>Object.hasOwnProperty.call(r,e)&&r[e];function tb(r){if(r==null)throw new Error(`Unexpected ${r} value.`);return r}function Zh(r){if(!r)throw new Error("Assert fail")}var W=Ht`typescript`({AbstractMethodHasImplementation:({methodName:r})=>`Method '${r}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:r})=>`Property '${r}' 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:r})=>`'declare' is not allowed in ${r}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:r})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:r})=>`Duplicate modifier: '${r}'.`,EmptyHeritageClauseType:({token:r})=>`'${r}' 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:r})=>`'${r[0]}' modifier cannot be used with '${r[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:r})=>`Index signatures cannot have an accessibility modifier ('${r}').`,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:r})=>`'${r}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:r})=>`'${r}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:r})=>`'${r}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:r})=>`'${r[0]}' modifier must precede '${r[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.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",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:r})=>`Private elements cannot have an accessibility modifier ('${r}').`,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:r})=>`Single type parameter ${r} should have a trailing comma. Example usage: <${r},>.`,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:r})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${r}.`});function rb(r){switch(r){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 ef(r){return r==="private"||r==="public"||r==="protected"}function sb(r){return r==="in"||r==="out"}var ib=r=>class extends r{constructor(...t){super(...t);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:W.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:W.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:W.InvalidModifierOnTypeParameter})}getScopeHandler(){return Jh}tsIsIdentifier(){return ce(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(t,s){if(!ce(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(t.indexOf(i)!==-1){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:t,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:n=W.InvalidModifierOnTypeMember},a){let o=(u,c,p,h)=>{c===p&&a[h]&&this.raise(W.InvalidModifiersOrder,{at:u,orderedModifiers:[p,h]})},l=(u,c,p,h)=>{(a[p]&&c===h||a[h]&&c===p)&&this.raise(W.IncompatibleModifiers,{at:u,modifiers:[p,h]})};for(;;){let{startLoc:u}=this.state,c=this.tsParseModifier(t.concat(s??[]),i);if(!c)break;ef(c)?a.accessibility?this.raise(W.DuplicateAccessibilityModifier,{at:u,modifier:c}):(o(u,c,c,"override"),o(u,c,c,"static"),o(u,c,c,"readonly"),a.accessibility=c):sb(c)?(a[c]&&this.raise(W.DuplicateModifier,{at:u,modifier:c}),a[c]=!0,o(u,c,"in","out")):(Object.hasOwnProperty.call(a,c)?this.raise(W.DuplicateModifier,{at:u,modifier:c}):(o(u,c,"static","readonly"),o(u,c,"static","override"),o(u,c,"override","readonly"),o(u,c,"abstract","override"),l(u,c,"declare","override"),l(u,c,"static","abstract")),a[c]=!0),s!=null&&s.includes(c)&&this.raise(n,{at:u,modifier:c})}}tsIsListTerminator(t){switch(t){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(t,s){let i=[];for(;!this.tsIsListTerminator(t);)i.push(s());return i}tsParseDelimitedList(t,s,i){return tb(this.tsParseDelimitedListWorker(t,s,!0,i))}tsParseDelimitedListWorker(t,s,i,n){let a=[],o=-1;for(;!this.tsIsListTerminator(t);){o=-1;let l=s();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStart;continue}if(this.tsIsListTerminator(t))break;i&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(t,s,i,n,a){n||(i?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(t,s,a);return i?this.expect(3):this.expect(48),o}tsParseImportType(){let t=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(W.UnsupportedImportTypeArgument,{at:this.state.startLoc}),t.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(t.qualifier=this.tsParseEntityName()),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}tsParseEntityName(t=!0){let s=this.parseIdentifier(t);for(;this.eat(16);){let i=this.startNodeAtNode(s);i.left=s,i.right=this.parseIdentifier(t),s=this.finishNode(i,"TSQualifiedName")}return s}tsParseTypeReference(){let t=this.startNode();return t.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}tsParseThisTypePredicate(t){this.next();let s=this.startNodeAtNode(t);return s.parameterName=t,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){let t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}tsParseTypeQuery(){let t=this.startNode();return this.expect(87),this.match(83)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}tsParseTypeParameter(t){let s=this.startNode();return t(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){let s=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let i={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,i),s.params.length===0&&this.raise(W.EmptyTypeParameters,{at:s}),i.value!==-1&&this.addExtra(s,"trailingComma",i.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(t,s){let i=t===19,n="parameters",a="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[n]=this.tsParseBindingListForSignature(),i?s[a]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(s[a]=this.tsParseTypeOrTypePredicateAnnotation(t))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(t=>(t.type!=="Identifier"&&t.type!=="RestElement"&&t.type!=="ObjectPattern"&&t.type!=="ArrayPattern"&&this.raise(W.UnsupportedSignatureParameterKind,{at:t,type:t.type}),t))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(t,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),ce(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(t){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),t.parameters=[s];let i=this.tsTryParseTypeAnnotation();return i&&(t.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,s){this.eat(17)&&(t.optional=!0);let i=t;if(this.match(10)||this.match(47)){s&&this.raise(W.ReadonlyForMethodSignature,{at:t});let n=i;n.kind&&this.match(47)&&this.raise(W.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let a="parameters",o="typeAnnotation";if(n.kind==="get")n[a].length>0&&(this.raise(A.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[a][0])&&this.raise(W.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(n.kind==="set"){if(n[a].length!==1)this.raise(A.BadSetterArity,{at:this.state.curPosition()});else{let l=n[a][0];this.isThisParam(l)&&this.raise(W.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),l.type==="Identifier"&&l.optional&&this.raise(W.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),l.type==="RestElement"&&this.raise(W.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[o]&&this.raise(W.SetAccesorCannotHaveReturnType,{at:n[o]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}else{let n=i;s&&(n.readonly=!0);let a=this.tsTryParseTypeAnnotation();return a&&(n.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}}tsParseTypeMember(){let t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},t);let s=this.tsTryParseIndexSignature(t);return s||(super.parsePropertyName(t),!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.tsTokenCanFollowModifier()&&(t.kind=t.key.name,super.parsePropertyName(t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}tsParseTypeLiteral(){let t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),t}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),this.finishNode(t,"TSTypeParameter")}tsParseMappedType(){let t=this.startNode();return this.expect(5),this.match(53)?(t.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(t.readonly=!0),this.expect(0),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(t.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(t,"TSMappedType")}tsParseTupleType(){let t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1,i=null;return t.elementTypes.forEach(n=>{var a;let{type:o}=n;s&&o!=="TSRestType"&&o!=="TSOptionalType"&&!(o==="TSNamedTupleMember"&&n.optional)&&this.raise(W.OptionalTypeBeforeRequired,{at:n}),s||(s=o==="TSNamedTupleMember"&&n.optional||o==="TSOptionalType");let l=o;o==="TSRestType"&&(n=n.typeAnnotation,l=n.type);let u=l==="TSNamedTupleMember";(a=i)!=null||(i=u),i!==u&&this.raise(W.MixedLabeledAndUnlabeledElements,{at:n})}),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){let{startLoc:t}=this.state,s=this.eat(21),i,n,a,o,u=kt(this.state.type)?this.lookaheadCharCode():null;if(u===58)i=!0,a=!1,n=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(u===63){a=!0;let c=this.state.startLoc,p=this.state.value,h=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,n=this.createIdentifier(this.startNodeAt(c),p),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=h,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),i=this.eat(14);if(i){let c;n?(c=this.startNodeAtNode(n),c.optional=a,c.label=n,c.elementType=o,this.eat(17)&&(c.optional=!0,this.raise(W.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(c=this.startNodeAtNode(o),c.optional=a,this.raise(W.InvalidTupleMemberLabel,{at:o}),c.label=o,c.elementType=this.tsParseType()),o=this.finishNode(c,"TSNamedTupleMember")}else if(a){let c=this.startNodeAtNode(o);c.typeAnnotation=o,o=this.finishNode(c,"TSOptionalType")}if(s){let c=this.startNodeAt(t);c.typeAnnotation=o,o=this.finishNode(c,"TSRestType")}return o}tsParseParenthesizedType(){let t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,s){let i=this.startNode();return t==="TSConstructorType"&&(i.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,t)}tsParseLiteralTypeNode(){let t=this.startNode();return t.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(t,"TSLiteralType")}tsParseTemplateLiteralType(){let t=this.startNode();return t.literal=super.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let t=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let t=this.startNode(),s=this.lookahead();return s.type!==132&&s.type!==133&&this.unexpected(),t.literal=this.parseMaybeUnary(),this.finishNode(t,"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:t}=this.state;if(ce(t)||t===88||t===84){let s=t===88?"TSVoidKeyword":t===84?"TSNullKeyword":rb(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAtNode(t);s.elementType=t,this.expect(3),t=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAtNode(t);s.objectType=t,s.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(s,"TSIndexedAccessType")}return t}tsParseTypeOperator(){let t=this.startNode(),s=this.state.value;return this.next(),t.operator=s,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(W.UnexpectedReadonly,{at:t})}}tsParseInferType(){let t=this.startNode();this.expectContextual(113);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),t.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(t,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let t=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}tsParseTypeOperatorOrHigher(){return Kv(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(t,s,i){let n=this.startNode(),a=this.eat(i),o=[];do o.push(s());while(this.eat(i));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,t))}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(ce(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:t}=this.state,s=t.length;try{return this.parseObjectLike(8,!0),t.length===s}catch(i){return!1}}if(this.match(0)){this.next();let{errors:t}=this.state,s=t.length;try{return super.parseBindingList(3,93,1),t.length===s}catch(i){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(t){return this.tsInType(()=>{let s=this.startNode();this.expect(t);let i=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(i.parameterName=l,i.asserts=!0,i.typeAnnotation=null,l=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(l,i),l.asserts=!0),s.typeAnnotation=l,this.finishNode(s,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(i.parameterName=this.parseIdentifier(),i.asserts=n,i.typeAnnotation=null,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);let o=this.tsParseTypeAnnotation(!1);return i.parameterName=a,i.typeAnnotation=o,i.asserts=n,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let t=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),t}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let t=this.state.containsEsc;return this.next(),!ce(this.state.type)&&!this.match(78)?!1:(t&&this.raise(A.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(t=!0,s=this.startNode()){return this.tsInType(()=>{t&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){Zh(this.state.inType);let t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;let s=this.startNodeAtNode(t);return s.checkType=t,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&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(W.ReservedTypeAssertion,{at:this.state.startLoc});let t=this.startNode();return t.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){let s=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let n=this.startNode();return n.expression=this.tsParseEntityName(),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")});return i.length||this.raise(W.EmptyHeritageClauseType,{at:s,token:t}),i}tsParseInterfaceDeclaration(t,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),s.declare&&(t.declare=!0),ce(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,bS)):(t.id=null,this.raise(W.MissingInterfaceName,{at:this.state.startLoc})),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(t.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(t){return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,wS),t.typeAnnotation=this.tsInType(()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInNoContext(t){let s=this.state.context;this.state.context=[s[0]];try{return t()}finally{this.state.context=s}}tsInType(t){let s=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(t){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(t){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(t){return this.match(t)?this.tsNextThenParseType():void 0}tsExpectThenParseType(t){return this.tsDoThenParseType(()=>this.expect(t))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(t){return this.tsInType(()=>(t(),this.tsParseType()))}tsParseEnumMember(){let t=this.startNode();return t.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(t.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}tsParseEnumDeclaration(t,s={}){return s.const&&(t.const=!0),s.declare&&(t.declare=!0),this.expectContextual(124),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?PS:Ph),this.expect(5),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(t,"TSEnumDeclaration")}tsParseModuleBlock(){let t=this.startNode();return this.scope.enter(ps),this.expect(5),super.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(t,s=!1){if(t.id=this.parseIdentifier(),s||this.checkIdentifier(t.id,TS),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),t.body=i}else this.scope.enter(fs),this.prodParam.enter(ms),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(t){return this.isContextual(110)?(t.global=!0,t.id=this.parseIdentifier()):this.match(131)?t.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(fs),this.prodParam.enter(ms),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,s){t.isExport=s||!1,t.id=this.parseIdentifier(),this.checkIdentifier(t.id,ci),this.expect(29);let i=this.tsParseModuleReference();return t.importKind==="type"&&i.type!=="TSExternalModuleReference"&&this.raise(W.ImportAliasHasImportType,{at:i}),t.moduleReference=i,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let t=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),t.expression=super.parseExprAtom(),this.expect(11),this.finishNode(t,"TSExternalModuleReference")}tsLookAhead(t){let s=this.state.clone(),i=t();return this.state=s,i}tsTryParseAndCatch(t){let s=this.tryParse(i=>t()||i());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(t){let s=this.state.clone(),i=t();if(i!==void 0&&i!==!1)return i;this.state=s}tsTryParseDeclare(t){if(this.isLineTerminator())return;let s=this.state.type,i;return this.isContextual(99)&&(s=74,i="let"),this.tsInAmbientContext(()=>{if(s===68)return t.declare=!0,super.parseFunctionStatement(t,!1,!1);if(s===80)return t.declare=!0,this.parseClass(t,!0,!1);if(s===124)return this.tsParseEnumDeclaration(t,{declare:!0});if(s===110)return this.tsParseAmbientExternalModuleDeclaration(t);if(s===75||s===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(t.declare=!0,this.parseVarStatement(t,i||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(t,{const:!0,declare:!0}));if(s===127){let n=this.tsParseInterfaceDeclaration(t,{declare:!0});if(n)return n}if(ce(s))return this.tsParseDeclaration(t,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(t,s,i){switch(s.name){case"declare":{let n=this.tsTryParseDeclare(t);if(n)return n.declare=!0,n;break}case"global":if(this.match(5)){this.scope.enter(fs),this.prodParam.enter(ms);let n=t;return n.global=!0,n.id=s,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,s.name,!1,i)}}tsParseDeclaration(t,s,i,n){switch(s){case"abstract":if(this.tsCheckLineTerminator(i)&&(this.match(80)||ce(this.state.type)))return this.tsParseAbstractDeclaration(t,n);break;case"module":if(this.tsCheckLineTerminator(i)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(t);if(ce(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(i)&&ce(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(i)&&ce(this.state.type))return this.tsParseTypeAliasDeclaration(t);break}}tsCheckLineTerminator(t){return t?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let n=this.startNodeAt(t);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=s,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let t=this.startNode();return t.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),t.params.length===0&&this.raise(W.EmptyTypeArguments,{at:t}),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Yv(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(t,s){let i=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let a=n.accessibility,o=n.override,l=n.readonly;!(t&4)&&(a||l||o)&&this.raise(W.UnexpectedParameterModifier,{at:i});let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,t);let c=this.parseMaybeDefault(u.loc.start,u);if(a||l||o){let p=this.startNodeAt(i);return s.length&&(p.decorators=s),a&&(p.accessibility=a),l&&(p.readonly=l),o&&(p.override=o),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(W.UnsupportedParameterPropertyKind,{at:p}),p.parameter=c,this.finishNode(p,"TSParameterProperty")}return s.length&&(u.decorators=s),c}isSimpleParameter(t){return t.type==="TSParameterProperty"&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}tsDisallowOptionalPattern(t){for(let s of t.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(W.PatternIsOptional,{at:s})}setArrowFunctionParameters(t,s,i){super.setArrowFunctionParameters(t,s,i),this.tsDisallowOptionalPattern(t)}parseFunctionBodyAndFinish(t,s,i=!1){this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(t,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(W.DeclareFunctionHasImplementation,{at:t}),t.declare)?super.parseFunctionBodyAndFinish(t,n,i):(this.tsDisallowOptionalPattern(t),super.parseFunctionBodyAndFinish(t,s,i))}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,Th):super.registerFunctionStatementId(t)}tsCheckForInvalidTypeCasts(t){t.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(W.UnexpectedTypeAnnotation,{at:s.typeAnnotation})})}toReferencedList(t,s){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(t,s,i,n){let a=super.parseArrayLike(t,s,i,n);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(t,s,i,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(s);return o.expression=t,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return n.stop=!0,t;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(t)){let h=this.tsTryParseGenericAsyncArrowFunction(s);if(h)return h}let u=this.tsParseTypeArgumentsInExpression();if(!u)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Wn(this.state.type)){let h=super.parseTaggedTemplateExpression(t,s,n);return h.typeParameters=u,h}if(!i&&this.eat(10)){let h=this.startNodeAt(s);return h.callee=t,h.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(h.arguments),h.typeParameters=u,n.optionalChainMember&&(h.optional=a),this.finishCallExpression(h,n.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&&ul(c)&&!this.hasPrecedingLineBreak())return;let p=this.startNodeAt(s);return p.expression=t,p.typeParameters=u,this.finishNode(p,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(W.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),l}return super.parseSubscript(t,s,i,n)}parseNewCallee(t){var s;super.parseNewCallee(t);let{callee:i}=t;i.type==="TSInstantiationExpression"&&!((s=i.extra)!=null&&s.parenthesized)&&(t.typeParameters=i.typeParameters,t.callee=i.expression)}parseExprOp(t,s,i){let n;if(zn(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(118)))){let a=this.startNodeAt(s);return a.expression=t,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(A.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,s,i)}return super.parseExprOp(t,s,i)}checkReservedWord(t,s,i,n){this.state.isAmbientContext||super.checkReservedWord(t,s,i,n)}checkImportReflection(t){super.checkImportReflection(t),t.module&&t.importKind!=="value"&&this.raise(W.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(t){if(t.importKind="value",ce(this.state.type)||this.match(55)||this.match(5)){let i=this.lookahead();if(this.isContextual(128)&&i.type!==12&&i.type!==97&&i.type!==29&&(t.importKind="type",this.next(),i=this.lookahead()),ce(this.state.type)&&i.type===29)return this.tsParseImportEqualsDeclaration(t)}let s=super.parseImport(t);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(W.TypeImportCannotSpecifyDefaultAndNamed,{at:s}),s}parseExport(t,s){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(t.importKind="type",this.next()):t.importKind="value",this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(29)){let i=t;return i.expression=super.parseExpression(),this.semicolon(),this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=t;return this.expectContextual(126),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else{if(t.exportKind="value",this.isContextual(128)){let i=this.lookaheadCharCode();(i===123||i===42)&&(this.next(),t.exportKind="type")}return super.parseExport(t,s)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(127)){let t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseExportDefaultExpression()}parseVarStatement(t,s,i=!1){let{isAmbientContext:n}=this.state,a=super.parseVarStatement(t,s,i||n);if(!n)return a;for(let{id:o,init:l}of a.declarations)!l||(s!=="const"||!!o.typeAnnotation?this.raise(W.InitializerNotAllowedInAmbientContext,{at:l}):ab(l,this.hasPlugin("estree"))||this.raise(W.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:l}));return a}parseStatementContent(t,s){if(this.match(75)&&this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return super.parseStatementContent(t,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,s){return s.some(i=>ef(i)?t.accessibility===i:!!t[i])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(t,s,i){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:W.InvalidModifierOnTypeParameterPositions},s);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,n)&&this.raise(W.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(t,s)):this.parseClassMemberWithIsStatic(t,s,i,!!s.static)};s.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(t,s,i,n){let a=this.tsTryParseIndexSignature(s);if(a){t.body.push(a),s.abstract&&this.raise(W.IndexSignatureHasAbstract,{at:s}),s.accessibility&&this.raise(W.IndexSignatureHasAccessibility,{at:s,modifier:s.accessibility}),s.declare&&this.raise(W.IndexSignatureHasDeclare,{at:s}),s.override&&this.raise(W.IndexSignatureHasOverride,{at:s});return}!this.state.inAbstractClass&&s.abstract&&this.raise(W.NonAbstractClassHasAbstractMethod,{at:s}),s.override&&(i.hadSuperClass||this.raise(W.OverrideNotInSubClass,{at:s})),super.parseClassMemberWithIsStatic(t,s,i,n)}parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(W.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(W.ClassMethodHasDeclare,{at:t})}parseExpressionStatement(t,s,i){return(s.type==="Identifier"?this.tsParseExpressionStatement(t,s,i):void 0)||super.parseExpressionStatement(t,s,i)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(t,s,i){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(t,s,i);let n=this.tryParse(()=>super.parseConditional(t,s));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(i,n.error),t)}parseParenItem(t,s){if(t=super.parseParenItem(t,s),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let i=this.startNodeAt(s);return i.expression=t,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(t));let s=this.state.startLoc,i=this.eatContextual(123);if(i&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(W.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let a=ce(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||i)&&(t.exportKind="type"),i&&(this.resetStartLocation(a,s),a.declare=!0),a):null}parseClassId(t,s,i,n){if((!s||i)&&this.isContextual(111))return;super.parseClassId(t,s,i,t.declare?Th:wh);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(t.typeParameters=a)}parseClassPropertyAnnotation(t){t.optional||(this.eat(35)?t.definite=!0:this.eat(17)&&(t.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(t.typeAnnotation=s)}parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&!(t.readonly&&!t.typeAnnotation)&&this.match(29)&&this.raise(W.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){let{key:s}=t;this.raise(W.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:s.type==="Identifier"&&!t.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(t)}parseClassPrivateProperty(t){return t.abstract&&this.raise(W.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(W.PrivateElementHasAccessibility,{at:t,modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),super.parseClassPrivateProperty(t)}parseClassAccessorProperty(t){return this.parseClassPropertyAnnotation(t),t.optional&&this.raise(W.AccessorCannotBeOptional,{at:t}),super.parseClassAccessorProperty(t)}pushClassMethod(t,s,i,n,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(W.ConstructorHasTypeParameters,{at:l});let{declare:u=!1,kind:c}=s;u&&(c==="get"||c==="set")&&this.raise(W.DeclareAccessor,{at:s,kind:c}),l&&(s.typeParameters=l),super.pushClassMethod(t,s,i,n,a,o)}pushClassPrivateMethod(t,s,i,n){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(s.typeParameters=a),super.pushClassPrivateMethod(t,s,i,n)}declareClassPrivateMethodInScope(t,s){t.type!=="TSDeclareMethod"&&(t.type==="MethodDefinition"&&!t.value.body||super.declareClassPrivateMethodInScope(t,s))}parseClassSuper(t){super.parseClassSuper(t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(t.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(t,s,i,n,a,o,l){let u=this.tsTryParseTypeParameters(this.tsParseConstModifier);return u&&(t.typeParameters=u),super.parseObjPropValue(t,s,i,n,a,o,l)}parseFunctionParams(t,s){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.parseFunctionParams(t,s)}parseVarId(t,s){super.parseVarId(t,s),t.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(t.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(t.id.typeAnnotation=i,this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,s){return this.match(14)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,s)}parseMaybeAssign(t,s){var i,n,a,o,l,u,c;let p,h,f;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(p=this.state.clone(),h=this.tryParse(()=>super.parseMaybeAssign(t,s),p),!h.error)return h.node;let{context:m}=this.state,y=m[m.length-1];(y===ge.j_oTag||y===ge.j_expr)&&m.pop()}if(!((i=h)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(t,s);(!p||p===this.state)&&(p=this.state.clone());let g,d=this.tryParse(m=>{var y,E;g=this.tsParseTypeParameters(this.tsParseConstModifier);let S=super.parseMaybeAssign(t,s);return(S.type!=="ArrowFunctionExpression"||(y=S.extra)!=null&&y.parenthesized)&&m(),((E=g)==null?void 0:E.params.length)!==0&&this.resetStartLocationFromNode(S,g),S.typeParameters=g,S},p);if(!d.error&&!d.aborted)return g&&this.reportReservedArrowTypeParam(g),d.node;if(!h&&(Zh(!this.hasPlugin("jsx")),f=this.tryParse(()=>super.parseMaybeAssign(t,s),p),!f.error))return f.node;if((n=h)!=null&&n.node)return this.state=h.failState,h.node;if(d.node)return this.state=d.failState,g&&this.reportReservedArrowTypeParam(g),d.node;if((a=f)!=null&&a.node)return this.state=f.failState,f.node;throw(o=h)!=null&&o.thrown?h.error:d.thrown?d.error:(l=f)!=null&&l.thrown?f.error:((u=h)==null?void 0:u.error)||d.error||((c=f)==null?void 0:c.error)}reportReservedArrowTypeParam(t){var s;t.params.length===1&&!t.params[0].constraint&&!((s=t.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(W.ReservedArrowTypeParam,{at:t})}parseMaybeUnary(t,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(t,s)}parseArrow(t){if(this.match(14)){let s=this.tryParse(i=>{let n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),n});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),t.returnType=s.node)}return super.parseArrow(t)}parseAssignableListItemTypes(t,s){if(!(s&2))return t;this.eat(17)&&(t.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(t.typeAnnotation=i),this.resetEndLocation(t),t}isAssignable(t,s){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(t,s)}}toAssignable(t,s=!1){switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(W.UnexpectedTypeCastInParameter,{at:t}):this.raise(W.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,s);break;case"AssignmentExpression":!s&&t.left.type==="TSTypeCastExpression"&&(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,s)}}toAssignableParenthesizedExpression(t,s){switch(t.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,s);break;default:super.toAssignable(t,s)}}checkToRestConversion(t,s){switch(t.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,s)}}isValidLVal(t,s,i){return eb({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(i!==gr||!s)&&["expression",!0],TSSatisfiesExpression:(i!==gr||!s)&&["expression",!0],TSTypeAssertion:(i!==gr||!s)&&["expression",!0]},t)||super.isValidLVal(t,s,i)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(t){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(t);return i.typeParameters=s,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(t)}checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===t?(this.next(),!1):super.checkCommaAfterRest(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(t,s){let i=super.parseMaybeDefault(t,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(W.TypeAnnotationAfterAssign,{at:i.typeAnnotation}),i}getTokenFromCode(t){if(this.state.inType){if(t===62){this.finishOp(48,1);return}if(t===60){this.finishOp(47,1);return}}super.getTokenFromCode(t)}reScan_lt_gt(){let{type:t}=this.state;t===47?(this.state.pos-=1,this.readToken_lt()):t===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:t}=this.state;return t===51?(this.state.pos-=2,this.finishOp(47,1),47):t}toAssignableList(t,s,i){for(let n=0;n<t.length;n++){let a=t[n];(a==null?void 0:a.type)==="TSTypeCastExpression"&&(t[n]=this.typeCastToParameter(a))}super.toAssignableList(t,s,i)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}shouldParseArrow(t){return this.match(14)?t.every(s=>this.isAssignable(s,!0)):super.shouldParseArrow(t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(t){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(t.typeParameters=s)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){let s=super.getGetterSetterExpectedParamCount(t),n=this.getObjectOrClassMethodParams(t)[0];return n&&this.isThisParam(n)?s+1:s}parseCatchClauseParam(){let t=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(t.typeAnnotation=s,this.resetEndLocation(t)),t}tsInAmbientContext(t){let s=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return t()}finally{this.state.isAmbientContext=s}}parseClass(t,s,i){let n=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{return super.parseClass(t,s,i)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(t,s){if(this.match(80))return t.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(t,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return t.abstract=!0,this.raise(W.NonClassMethodPropertyHasAbstractModifer,{at:t}),this.tsParseInterfaceDeclaration(t)}else this.unexpected(null,80)}parseMethod(t,s,i,n,a,o,l){let u=super.parseMethod(t,s,i,n,a,o,l);if(u.abstract&&(this.hasPlugin("estree")?!!u.value.body:!!u.body)){let{key:p}=u;this.raise(W.AbstractMethodHasImplementation,{at:u,methodName:p.type==="Identifier"&&!u.computed?p.name:`[${this.input.slice(p.start,p.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(t,s,i,n){return!s&&n?(this.parseTypeOnlyImportExportSpecifier(t,!1,i),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,s,i,n))}parseImportSpecifier(t,s,i,n,a){return!s&&n?(this.parseTypeOnlyImportExportSpecifier(t,!0,i),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,s,i,n,i?xh:ci))}parseTypeOnlyImportExportSpecifier(t,s,i){let n=s?"imported":"local",a=s?"local":"exported",o=t[n],l,u=!1,c=!0,p=o.loc.start;if(this.isContextual(93)){let f=this.parseIdentifier();if(this.isContextual(93)){let g=this.parseIdentifier();kt(this.state.type)?(u=!0,o=f,l=s?this.parseIdentifier():this.parseModuleExportName(),c=!1):(l=g,c=!1)}else kt(this.state.type)?(c=!1,l=s?this.parseIdentifier():this.parseModuleExportName()):(u=!0,o=f)}else kt(this.state.type)&&(u=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());u&&i&&this.raise(s?W.TypeModifierIsUsedInTypeImports:W.TypeModifierIsUsedInTypeExports,{at:p}),t[n]=o,t[a]=l;let h=s?"importKind":"exportKind";t[h]=u?"type":"value",c&&this.eatContextual(93)&&(t[a]=s?this.parseIdentifier():this.parseModuleExportName()),t[a]||(t[a]=Qt(t[n])),s&&this.checkIdentifier(t[a],u?xh:ci)}};function nb(r){if(r.type!=="MemberExpression")return!1;let{computed:e,property:t}=r;return e&&t.type!=="StringLiteral"&&(t.type!=="TemplateLiteral"||t.expressions.length>0)?!1:rf(r.object)}function ab(r,e){var t;let{type:s}=r;if((t=r.extra)!=null&&t.parenthesized)return!1;if(e){if(s==="Literal"){let{value:i}=r;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(tf(r,e)||ob(r,e)||s==="TemplateLiteral"&&r.expressions.length===0||nb(r))}function tf(r,e){return e?r.type==="Literal"&&(typeof r.value=="number"||"bigint"in r):r.type==="NumericLiteral"||r.type==="BigIntLiteral"}function ob(r,e){if(r.type==="UnaryExpression"){let{operator:t,argument:s}=r;if(t==="-"&&tf(s,e))return!0}return!1}function rf(r){return r.type==="Identifier"?!0:r.type!=="MemberExpression"||r.computed?!1:rf(r.object)}var sf=Ht`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),lb=r=>class extends r{parsePlaceholder(t){if(this.match(142)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(s,t)}}finishPlaceholder(t,s){let i=!!(t.expectedNode&&t.type==="Placeholder");return t.expectedNode=s,i?t:this.finishNode(t,"Placeholder")}getTokenFromCode(t){t===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(t)}parseExprAtom(t){return this.parsePlaceholder("Expression")||super.parseExprAtom(t)}parseIdentifier(t){return this.parsePlaceholder("Identifier")||super.parseIdentifier(t)}checkReservedWord(t,s,i,n){t!==void 0&&super.checkReservedWord(t,s,i,n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(t,s,i){return t==="Placeholder"||super.isValidLVal(t,s,i)}toAssignable(t,s){t&&t.type==="Placeholder"&&t.expectedNode==="Expression"?t.expectedNode="Pattern":super.toAssignable(t,s)}chStartsBindingIdentifier(t,s){return!!(super.chStartsBindingIdentifier(t,s)||this.lookahead().type===142)}verifyBreakContinue(t,s){t.label&&t.label.type==="Placeholder"||super.verifyBreakContinue(t,s)}parseExpressionStatement(t,s){if(s.type!=="Placeholder"||s.extra&&s.extra.parenthesized)return super.parseExpressionStatement(t,s);if(this.match(14)){let i=t;return i.label=this.finishPlaceholder(s,"Identifier"),this.next(),i.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(i,"LabeledStatement")}return this.semicolon(),t.name=s.name,this.finishPlaceholder(t,"Statement")}parseBlock(t,s,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(t,s,i)}parseFunctionId(t){return this.parsePlaceholder("Identifier")||super.parseFunctionId(t)}parseClass(t,s,i){let n=s?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(142)||this.match(5))t.id=o;else{if(i||!s)return t.id=null,t.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(t,n);throw this.raise(sf.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(t,s,i);return super.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!t.superClass,a),this.finishNode(t,n)}parseExport(t,s){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(t,s);if(!this.isContextual(97)&&!this.match(12))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let n=this.startNode();return n.exported=i,t.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(t,s)}isExportDefaultSpecifier(){if(this.match(65)){let t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(yr(142),this.nextTokenStartSince(t+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(t){return t.specifiers&&t.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(t)}checkExport(t){let{specifiers:s}=t;s!=null&&s.length&&(t.specifiers=s.filter(i=>i.exported.type==="Placeholder")),super.checkExport(t),t.specifiers=s}parseImport(t){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(t);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");let i=this.startNodeAtNode(s);return i.local=s,t.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(97),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(sf.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},ub=r=>class extends r{parseV8Intrinsic(){if(this.match(54)){let t=this.state.startLoc,s=this.startNode();if(this.next(),ce(this.state.type)){let i=this.parseIdentifierName(),n=this.createIdentifier(s,i);if(n.type="V8IntrinsicIdentifier",this.match(10))return n}this.unexpected(t)}}parseExprAtom(t){return this.parseV8Intrinsic()||super.parseExprAtom(t)}};function je(r,e){let[t,s]=typeof e=="string"?[e,{}]:e,i=Object.keys(s),n=i.length===0;return r.some(a=>{if(typeof a=="string")return n&&a===t;{let[o,l]=a;if(o!==t)return!1;for(let u of i)if(l[u]!==s[u])return!1;return!0}})}function Lr(r,e,t){let s=r.find(i=>Array.isArray(i)?i[0]===e:i===e);return s&&Array.isArray(s)&&s.length>1?s[1][t]:null}var nf=["minimal","fsharp","hack","smart"],af=["^^","@@","^","%","#"],of=["hash","bar"];function cb(r){if(je(r,"decorators")){if(je(r,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let e=Lr(r,"decorators","decoratorsBeforeExport");if(e!=null&&typeof e!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let t=Lr(r,"decorators","allowCallParenthesized");if(t!=null&&typeof t!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(je(r,"flow")&&je(r,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(je(r,"placeholders")&&je(r,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(je(r,"pipelineOperator")){let e=Lr(r,"pipelineOperator","proposal");if(!nf.includes(e)){let s=nf.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}let t=je(r,["recordAndTuple",{syntaxType:"hash"}]);if(e==="hack"){if(je(r,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(je(r,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let s=Lr(r,"pipelineOperator","topicToken");if(!af.includes(s)){let i=af.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${i}.`)}if(s==="#"&&t)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(e==="smart"&&t)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(je(r,"moduleAttributes")){if(je(r,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(Lr(r,"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(je(r,"recordAndTuple")&&Lr(r,"recordAndTuple","syntaxType")!=null&&!of.includes(Lr(r,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+of.map(e=>`'${e}'`).join(", "));if(je(r,"asyncDoExpressions")&&!je(r,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}var lf={estree:lS,jsx:XS,flow:JS,typescript:ib,v8intrinsic:ub,placeholders:lb},pb=Object.keys(lf),uf=class extends Xh{checkProto(e,t,s,i){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand)return;let n=e.key;if((n.type==="Identifier"?n.name:n.value)==="__proto__"){if(t){this.raise(A.RecordNoProto,{at:n});return}s.used&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=n.loc.start):this.raise(A.DuplicateProto,{at:n})),s.used=!0}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(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,s=this.parseMaybeAssign(e);if(this.match(12)){let i=this.startNodeAt(t);for(i.expressions=[s];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var s;e.optionalParametersLoc=(s=t==null?void 0:t.loc)!=null?s:this.state.startLoc}parseMaybeAssign(e,t){let s=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let o=this.parseYield();return t&&(o=t.call(this,o,s)),o}let i;e?i=!1:(e=new yi,i=!0);let{type:n}=this.state;(n===10||ce(n))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,s)),Vv(this.state.type)){let o=this.startNodeAt(s),l=this.state.value;if(o.operator=l,this.match(29)){this.toAssignable(a,!0),o.left=a;let u=s.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=u&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=u&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else o.left=a;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(o,"AssignmentExpression")}),o}else i&&this.checkExpressionErrors(e,!0);return a}parseMaybeConditional(e){let t=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,s)?i:this.parseConditional(i,t,e)}parseConditional(e,t,s){if(this.eat(17)){let i=this.startNodeAt(t);return i.test=e,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,s)?i:this.parseExprOp(i,t,-1)}parseExprOp(e,t,s){if(this.isPrivateName(e)){let n=this.getPrivateNameSV(e);(s>=zn(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(A.PrivateInExpectedIn,{at:e,identifierName:n}),this.classScope.usePrivateName(n,e.loc.start)}let i=this.state.type;if(Wv(i)&&(this.prodParam.hasIn||!this.match(58))){let n=zn(i);if(n>s){if(i===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=i===41||i===42,l=i===40;if(l&&(n=zn(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(A.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,n);let u=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),c=this.state.type;if(l&&(c===41||c===42)||o&&c===40)throw this.raise(A.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(u,t,s)}}return e}parseExprOpRightExpr(e,t){let s=this.state.startLoc;switch(e){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(106))throw this.raise(A.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,Jv(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,s=this.parseMaybeAssign();return rS.has(s.type)&&!((e=s.extra)!=null&&e.parenthesized)&&this.raise(A.PipeUnparenthesizedBody,{at:t,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipeTopicUnused,{at:t}),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(A.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let s=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let l=this.parseAwait(s);return t||this.checkExponentialAfterUnary(l),l}let n=this.match(34),a=this.startNode();if(Hv(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&l){let u=a.argument;u.type==="Identifier"?this.raise(A.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(u)&&this.raise(A.DeletePrivateField,{at:a})}if(!n)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,n,e);if(i){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?ul(l):ul(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(A.AwaitNotInAsyncContext,{at:s}),this.parseAwait(s)}return o}parseUpdate(e,t,s){if(t){let a=e;return this.checkLVal(a.argument,{in:this.finishNode(a,"UpdateExpression")}),e}let i=this.state.startLoc,n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return n;for(;Gv(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(i);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(a,"UpdateExpression")})}return n}parseExprSubscripts(e){let t=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,s)?i:this.parseSubscripts(i,t)}parseSubscripts(e,t,s){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,t,s,i),i.maybeAsyncArrow=!1;while(!i.stop);return e}parseSubscript(e,t,s,i){let{type:n}=this.state;if(!s&&n===15)return this.parseBind(e,t,s,i);if(Wn(n))return this.parseTaggedTemplateExpression(e,t,i);let a=!1;if(n===18){if(s&&(this.raise(A.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,i,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(e,t,i,o,a):(i.stop=!0,e)}}parseMember(e,t,s,i,n){let a=this.startNodeAt(t);return a.object=e,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(136)?(e.type==="Super"&&this.raise(A.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,s,i){let n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s)}parseCoverCallAndAsyncArrowHead(e,t,s,i){let n=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:l,optionalChainMember:u}=s;l&&(this.expressionScope.enter(qS()),a=new yi),u&&(o.optional=i),i?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",o,a);let c=this.finishCallExpression(o,u);return l&&this.shouldParseAsyncArrow()&&!i?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),c)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=n,c}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s){let i=this.startNodeAt(t);return i.tag=e,i.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(A.OptionalChainingNoTemplate,{at:t}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import")if(e.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),e.arguments.length===0||e.arguments.length>2)this.raise(A.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let s of e.arguments)s.type==="SpreadElement"&&this.raise(A.ImportCallSpreadArgument,{at:s});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,i,n){let a=[],o=!0,l=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(A.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),i&&this.addTrailingCommaExtraToNode(i),this.next();break}a.push(this.parseExprListItem(!1,n,s))}return this.state.inFSharpPipelineDirectBody=l,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,(s=t.extra)==null?void 0:s.trailingCommaLoc),t.innerComments&&pi(e,t.innerComments),t.callee.trailingComments&&pi(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,s=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(A.UnsupportedImport,{at: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 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131: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 n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,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 n=t.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(t,"BindExpression");throw this.raise(A.UnsupportedBind,{at:n})}case 136:return this.raise(A.PrivateInExpectedIn,{at: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 n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);this.unexpected();break}case 47:{let n=this.input.codePointAt(this.nextTokenStart());Kt(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(ce(i)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){let{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(ce(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=Ke(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(e){let t=this.startNode(),s=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(t,s,e,i)}finishTopicReference(e,t,s,i){if(this.testTopicReferenceConfiguration(s,t,i)){let n=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?A.PrimaryTopicNotAllowed:A.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}else throw this.raise(A.PipeTopicUnconfiguredToken,{at:t,token:yr(i)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:yr(s)}]);case"smart":return s===27;default:throw this.raise(A.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(oa(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(A.LineTerminatorBeforeArrow,{at: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 s=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(aa),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=s,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(A.SuperNotAllowed,{at:e}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(A.UnexpectedSuper,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(A.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(Ke(this.state.startLoc,1)),s=this.state.value;return this.next(),e.id=this.createIdentifier(t,s),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(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;let i=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==s||i)&&this.raise(A.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(A.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){return this.addExtra(s,"rawValue",e),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=e,this.next(),this.finishNode(s,t)}parseLiteral(e,t){let s=this.startNode();return this.parseLiteralAtNode(e,t,s)}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.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}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,s;this.next(),this.expressionScope.enter(jS());let i=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new yi,u=!0,c,p;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){let g=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),g)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let h=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=n;let f=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),c&&this.unexpected(c),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(a),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,h)):s=o[0],this.wrapParenthesis(t,s))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"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 s=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(A.UnexpectedNewTarget,{at:s}),s}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){e.callee=this.parseNoCallExpr(),e.callee.type==="Import"&&this.raise(A.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:s,end:i,value:n}=this.state,a=t+1,o=this.startNodeAt(Ke(s,1));n===null&&(e||this.raise(A.InvalidEscapeSequenceTemplate,{at:Ke(this.state.firstInvalidTemplateEscapePos,1)}));let l=this.match(24),u=l?-1:-2,c=i+u;o.value={raw:this.input.slice(a,c).replace(/\r\n?/g,`
10
+ `),cooked:n===null?null:n.slice(1,u)},o.tail=l,this.next();let p=this.finishNode(o,"TemplateElement");return this.resetEndLocation(p,Ke(this.state.lastTokEndLoc,u)),p}parseTemplate(e){let t=this.startNode();t.expressions=[];let s=this.parseTemplateElement(e);for(t.quasis=[s];!s.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(s=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,i){s&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=Object.create(null),o=!0,l=this.startNode();for(l.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(l);break}let c;t?c=this.parseBindingProperty():(c=this.parsePropertyDefinition(i),this.checkProto(c,s,a,i)),s&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(A.InvalidRecordProperty,{at:c}),c.shorthand&&this.addExtra(c,"shorthand",!0),l.properties.push(c)}this.next(),this.state.inFSharpPipelineDirectBody=n;let u="ObjectExpression";return t?u="ObjectPattern":s&&(u="RecordExpression"),this.finishNode(l,u)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),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(A.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let s=this.startNode(),i=!1,n=!1,a;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(s.decorators=t,t=[]),s.method=!1,e&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);let l=this.state.containsEsc,u=this.parsePropertyName(s,e);if(!o&&!l&&this.maybeAsyncOrAccessorProp(s)){let c=u.name;c==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(s)),(c==="get"||c==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(u),s.kind=c,this.match(55)&&(o=!0,this.raise(A.AccessorIsGenerator,{at:this.state.curPosition(),kind:c}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,a,o,i,!1,n,e)}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let s=this.getGetterSetterExpectedParamCount(e),i=this.getObjectOrClassMethodParams(e);i.length!==s&&this.raise(e.kind==="get"?A.BadGetterArity:A.BadSetterArity,{at:e}),e.kind==="set"&&((t=i[i.length-1])==null?void 0:t.type)==="RestElement"&&this.raise(A.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,s,i,n){if(n){let a=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(s||t||this.match(10))return i&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,s,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,s,i){if(e.shorthand=!1,this.eat(14))return e.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&e.key.type==="Identifier"){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),s)e.value=this.parseMaybeDefault(t,Qt(e.key));else if(this.match(29)){let n=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=n):this.raise(A.InvalidCoverInitializedName,{at:n}),e.value=this.parseMaybeDefault(t,Qt(e.key))}else e.value=Qt(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,i,n,a,o){let l=this.parseObjectMethod(e,s,i,n,a)||this.parseObjectProperty(e,t,n,o);return l||this.unexpected(),l}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:i}=this.state,n;if(kt(s))n=this.parseIdentifier(!0);else switch(s){case 132:n=this.parseNumericLiteral(i);break;case 131:n=this.parseStringLiteral(i);break;case 133:n=this.parseBigIntLiteral(i);break;case 134:n=this.parseDecimalLiteral(i);break;case 136:{let a=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=a):this.raise(A.UnexpectedPrivateField,{at:a}),n=this.parsePrivateName();break}default:this.unexpected()}e.key=n,s!==136&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,s,i,n,a,o=!1){this.initFunction(e,s),e.generator=t,this.scope.enter(Yt|Hn|(o?Ir:0)|(n?vh:0)),this.prodParam.enter(oa(s,e.generator)),this.parseFunctionParams(e,i);let l=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(e,t,s,i){s&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!s,i,a),this.state.inFSharpPipelineDirectBody=n,this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,i){this.scope.enter(Yt|yl);let n=oa(s,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=ys),this.prodParam.enter(n),this.initFunction(e,s);let a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,i)),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,s){this.toAssignableList(t,s,!1),e.params=t}parseFunctionBodyAndFinish(e,t,s=!1){return this.parseFunctionBody(e,!1,s),this.finishNode(e,t)}parseFunctionBody(e,t,s=!1){let i=t&&!this.match(5);if(this.expressionScope.enter(qh()),i)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|zh),e.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(e.params);o&&l&&this.raise(A.IllegalLanguageModeDirective,{at:(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.loc.end:e});let u=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!s&&!l,t,u),this.state.strict&&e.id&&this.checkIdentifier(e.id,ES,u)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,s=e.length;t<s;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,s,i=!0){let n=!t&&new Set,a={type:"FormalParameters"};for(let o of e.params)this.checkLVal(o,{in:a,binding:Zn,checkClashes:n,strictModeChanged:i})}parseExprList(e,t,s,i){let n=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}n.push(this.parseExprListItem(t,s))}return n}parseExprListItem(e,t,s){let i;if(this.match(12))e||this.raise(A.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),i=null;else if(this.match(21)){let n=this.state.startLoc;i=this.parseParenItem(this.parseSpread(t),n)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(A.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let n=this.startNode();this.next(),i=this.finishNode(n,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return i}parseIdentifier(e){let t=this.startNode(),s=this.parseIdentifierName(e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t,{startLoc:s,type:i}=this.state;kt(i)?t=this.state.value:this.unexpected();let n=jv(i);return e?n&&this.replaceToken(130):this.checkReservedWord(t,s,n,!1),this.next(),t}checkReservedWord(e,t,s,i){if(e.length>10||!vS(e))return;if(s&&mS(e)){this.raise(A.UnexpectedKeyword,{at:t,keyword:e});return}if((this.state.strict?i?yh:dh:fh)(e,this.inModule)){this.raise(A.UnexpectedReservedWord,{at:t,reservedWord:e});return}else if(e==="yield"){if(this.prodParam.hasYield){this.raise(A.YieldBindingIdentifier,{at:t});return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(A.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(A.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(A.ArgumentsInClass,{at:t});return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(A.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(A.ObsoleteAwaitStar,{at:t}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===53||e===10||e===0||Wn(e)||e===101&&!this.state.containsEsc||e===135||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(A.YieldInParameter,{at:e}),this.next();let t=!1,s=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:s=this.parseMaybeAssign()}return e.delegate=t,e.argument=s,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&e.type==="SequenceExpression"&&this.raise(A.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let s=this.startNodeAt(t);return s.callee=e,this.finishNode(s,"PipelineBareFunction")}else{let s=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"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(A.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipelineTopicUnused,{at: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(ys&~t){this.prodParam.enter(t|ys);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(ys&t){this.prodParam.enter(t&~ys);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 s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=s,i}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 s=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{s()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},kl={kind:"loop"},hb={kind:"switch"},fb=/[\uD800-\uDFFF]/u,Ll=/in(?:stanceof)?/y;function db(r,e){for(let t=0;t<r.length;t++){let s=r[t],{type:i}=s;if(typeof i=="number"){{if(i===136){let{loc:n,start:a,value:o,end:l}=s,u=a+1,c=Ke(n.start,1);r.splice(t,1,new Jt({type:Wt(27),value:"#",start:a,end:u,startLoc:n.start,endLoc:c}),new Jt({type:Wt(130),value:o,start:u,end:l,startLoc:c,endLoc:n.end})),t++;continue}if(Wn(i)){let{loc:n,start:a,value:o,end:l}=s,u=a+1,c=Ke(n.start,1),p;e.charCodeAt(a)===96?p=new Jt({type:Wt(22),value:"`",start:a,end:u,startLoc:n.start,endLoc:c}):p=new Jt({type:Wt(8),value:"}",start:a,end:u,startLoc:n.start,endLoc:c});let h,f,g,d;i===24?(f=l-1,g=Ke(n.end,-1),h=o===null?null:o.slice(1,-1),d=new Jt({type:Wt(22),value:"`",start:f,end:l,startLoc:g,endLoc:n.end})):(f=l-2,g=Ke(n.end,-2),h=o===null?null:o.slice(1,-2),d=new Jt({type:Wt(23),value:"${",start:f,end:l,startLoc:g,endLoc:n.end})),r.splice(t,1,p,new Jt({type:Wt(20),value:h,start:u,end:f,startLoc:c,endLoc:g}),d),t+=2;continue}}s.type=Wt(i)}}return r}var cf=class extends uf{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=db(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=137,s=this.options.sourceType){if(e.sourceType=s,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[n,a]of Array.from(this.scope.undefinedExports))this.raise(A.ModuleExportUndefined,{at:a,localName:n});let i;return t===137?i=this.finishNode(e,"Program"):i=this.finishNodeAt(e,"Program",Ke(this.state.startLoc,-1)),i}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let s=t.value,i=s.value,n=this.input.slice(s.start,s.end),a=s.value=n.slice(1,-1);return this.addExtra(s,"raw",n),this.addExtra(s,"rawValue",a),this.addExtra(s,"expressionValue",i),s.type="DirectiveLiteral",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(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(e,t){if(Kt(e)){if(Ll.lastIndex=t,Ll.test(this.input)){let s=this.codePointAtPos(Ll.lastIndex);if(!cs(s)&&s!==92)return!1}return!0}else return e===92}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){let e=this.lookahead();return e.type===101&&!e.containsEsc?!1:(this.expectPlugin("explicitResourceManagement"),!0)}parseModuleItem(){return this.parseStatementLike(1|2|4|8)}parseStatementListItem(){return this.parseStatementLike(2|4|(!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 s=this.state.type,i=this.startNode(),n=!!(e&2),a=!!(e&4),o=e&1;switch(s){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?A.StrictFunction:this.options.annexB?A.SloppyFunctionAnnexB:A.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(i,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(A.UnexpectedUsingDeclaration,{at:this.state.startLoc}):n||this.raise(A.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,"using");case 99:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),p=this.codePointAtPos(c);if(p!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(p,c)&&p!==123))break}case 75:n||this.raise(A.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let c=this.state.value;return this.parseVarStatement(i,c)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let c=this.lookaheadCharCode();if(c===40||c===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(A.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let c;return s===83?(c=this.parseImport(i),c.type==="ImportDeclaration"&&(!c.importKind||c.importKind==="value")&&(this.sawUnambiguousESM=!0)):(c=this.parseExport(i,t),(c.type==="ExportNamedDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportAllDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(c),c}default:if(this.isAsyncFunction())return n||this.raise(A.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!n&&a)}let l=this.state.value,u=this.parseExpression();return ce(s)&&u.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,l,u,e):this.parseExpressionStatement(i,u,t)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(A.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(e,t,s){return e&&(t.decorators&&t.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(A.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),s&&this.resetStartLocationFromNode(s,t)),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(A.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(A.UnexpectedLeadingDecorator,{at: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,s;if(this.match(10)){let i=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(i,s);let n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&e.expression!==s&&this.raise(A.DecoratorArgumentsOutsideParentheses,{at:n})}else{for(s=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(t);i.object=s,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,s=this.finishNode(i,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"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 s;for(s=0;s<this.state.labels.length;++s){let i=this.state.labels[s];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(t||i.kind==="loop")||e.label&&t))break}if(s===this.state.labels.length){let i=t?"BreakStatement":"ContinueStatement";this.raise(A.IllegalBreakContinue,{at:e,type:i})}}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(kl),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(kl);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(ps),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(e,null);let s=this.isContextual(99),i=this.isContextual(105)&&!this.hasFollowingLineBreak(),n=s&&this.hasFollowingBindingAtom()||i&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||n){let c=this.startNode(),p=this.state.value;this.next(),this.parseVar(c,!0,p);let h=this.finishNode(c,"VariableDeclaration"),f=this.match(58);return f&&i&&this.raise(A.ForInUsing,{at:h}),(f||this.isContextual(101))&&h.declarations.length===1?this.parseForIn(e,h,t):(t!==null&&this.unexpected(t),this.parseFor(e,h))}let a=this.isContextual(95),o=new yi,l=this.parseExpression(!0,o),u=this.isContextual(101);if(u&&(s&&this.raise(A.ForOfLet,{at:l}),t===null&&a&&l.type==="Identifier"&&this.raise(A.ForOfAsync,{at:l})),u||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(l,!0);let c=u?"ForOfStatement":"ForInStatement";return this.checkLVal(l,{in:{type:c}}),this.parseForIn(e,l,t)}else this.checkExpressionErrors(o,!0);return t!==null&&this.unexpected(t),this.parseFor(e,l)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?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.options.allowReturnOutsideFunction&&this.raise(A.IllegalReturn,{at: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(hb),this.scope.enter(ps);let s;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let n=this.match(61);s&&this.finishNode(s,"SwitchCase"),t.push(s=this.startNode()),s.consequent=[],this.next(),n?s.test=this.parseExpression():(i&&this.raise(A.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),i=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(A.NewlineAfterThrow,{at: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"?gh:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:SS}),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(ps)),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(A.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,s=!1){return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(kl),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(A.StrictWith,{at: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,s,i){for(let a of this.state.labels)a.name===t&&this.raise(A.LabelRedeclaration,{at:s,labelName:t});let n=zv(this.state.type)?"loop":this.match(71)?"switch":null;for(let a=this.state.labels.length-1;a>=0;a--){let o=this.state.labels[a];if(o.statementStart===e.start)o.statementStart=this.state.start,o.kind=n;else break}return this.state.labels.push({name:t,kind:n,statementStart:this.state.start}),e.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,s){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,s){let i=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(ps),this.parseBlockBody(i,e,!1,8,s),t&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,i,n){let a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?o:void 0,s,i,n)}parseBlockOrModuleBlockBody(e,t,s,i,n){let a=this.state.strict,o=!1,l=!1;for(;!this.match(i);){let u=s?this.parseModuleItem():this.parseStatementListItem();if(t&&!l){if(this.isValidDirective(u)){let c=this.stmtToDirective(u);t.push(c),!o&&c.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}e.push(u)}n&&n.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,s){let i=this.match(58);return this.next(),i?s!==null&&this.unexpected(s):e.await=s!==null,t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(A.ForInOfLoopInitializer,{at:t,type:i?"ForInStatement":"ForOfStatement"}),t.type==="AssignmentPattern"&&this.raise(A.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")}parseVar(e,t,s,i=!1){let n=e.declarations=[];for(e.kind=s;;){let a=this.startNode();if(this.parseVarId(a,s),a.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!i&&(a.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))?this.raise(A.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):s==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(A.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){t==="using"&&!this.inModule&&this.match(96)&&this.raise(A.AwaitInUsingBinding,{at:this.state.startLoc});let s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:t==="var"?Zn:ds}),e.id=s}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){let s=t&2,i=!!(t&1),n=i&&!(t&4),a=!!(t&8);this.initFunction(e,a),this.match(55)&&(s&&this.raise(A.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),i&&(e.id=this.parseFunctionId(n));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Yt),this.prodParam.enter(oa(a,e.generator)),i||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!s&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||ce(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(US()),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?Zn:ds:Eh,e.id.loc.start)}parseClass(e,t,s){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,s),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,i),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:e},i=[],n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(A.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){i.push(this.parseDecorator());continue}let a=this.startNode();i.length&&(a.decorators=i,this.resetStartLocationFromNode(a,i[0]),i=[]),this.parseClassMember(n,a,s),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(A.DecoratorConstructor,{at:a})}}),this.state.strict=t,this.next(),i.length)throw this.raise(A.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let i=t;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(e,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=t;return i.computed=!1,i.key=s,i.static=!1,e.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(e,t,s){let i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,s,i)}parseClassMemberWithIsStatic(e,t,s,i){let n=t,a=t,o=t,l=t,u=t,c=n,p=n;if(t.static=i,this.parsePropertyNamePrefixOperator(t),this.eat(55)){c.kind="method";let m=this.match(136);if(this.parseClassElementName(c),m){this.pushClassPrivateMethod(e,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(A.ConstructorIsGenerator,{at:n.key}),this.pushClassMethod(e,n,!0,!1,!1,!1);return}let h=ce(this.state.type)&&!this.state.containsEsc,f=this.match(136),g=this.parseClassElementName(t),d=this.state.startLoc;if(this.parsePostMemberNameModifiers(p),this.isClassMethod()){if(c.kind="method",f){this.pushClassPrivateMethod(e,a,!1,!1);return}let m=this.isNonstaticConstructor(n),y=!1;m&&(n.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(A.DuplicateConstructor,{at:g}),m&&this.hasPlugin("typescript")&&t.override&&this.raise(A.OverrideOnConstructor,{at:g}),s.hadConstructor=!0,y=s.hadSuperClass),this.pushClassMethod(e,n,!1,!1,m,y)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(e,l):this.pushClassProperty(e,o);else if(h&&g.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(g);let m=this.eat(55);p.optional&&this.unexpected(d),c.kind="method";let y=this.match(136);this.parseClassElementName(c),this.parsePostMemberNameModifiers(p),y?this.pushClassPrivateMethod(e,a,m,!0):(this.isNonstaticConstructor(n)&&this.raise(A.ConstructorIsAsync,{at:n.key}),this.pushClassMethod(e,n,m,!0,!1,!1))}else if(h&&(g.name==="get"||g.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(g),c.kind=g.name;let m=this.match(136);this.parseClassElementName(n),m?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(A.ConstructorIsAccessor,{at:n.key}),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(h&&g.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(g);let m=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,u,m)}else this.isLineTerminator()?f?this.pushClassPrivateProperty(e,l):this.pushClassProperty(e,o):this.unexpected()}parseClassElementName(e){let{type:t,value:s}=this.state;if((t===130||t===131)&&e.static&&s==="prototype"&&this.raise(A.StaticPrototype,{at:this.state.startLoc}),t===136){s==="constructor"&&this.raise(A.ConstructorClassPrivateField,{at:this.state.startLoc});let i=this.parsePrivateName();return e.key=i,i}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var s;this.scope.enter(Ir|Kn|Hn);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(ms);let n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,e.body.push(this.finishNode(t,"StaticBlock")),(s=t.decorators)!=null&&s.length&&this.raise(A.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")&&this.raise(A.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let s=this.parseClassPrivateProperty(t);e.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),Tl,s.key.loc.start)}pushClassAccessorProperty(e,t,s){if(!s&&!t.computed){let n=t.key;(n.name==="constructor"||n.value==="constructor")&&this.raise(A.ConstructorClassField,{at:n})}let i=this.parseClassAccessorProperty(t);e.body.push(i),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),Tl,i.key.loc.start)}pushClassMethod(e,t,s,i,n,a){e.body.push(this.parseMethod(t,s,i,n,a,"ClassMethod",!0))}pushClassPrivateMethod(e,t,s,i){let n=this.parseMethod(t,s,i,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);let a=n.kind==="get"?n.static?AS:_S:n.kind==="set"?n.static?CS:IS:Tl;this.declareClassPrivateMethodInScope(n,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(Ir|Hn),this.expressionScope.enter(qh()),this.prodParam.enter(ms),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,s,i=wh){if(ce(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,i);else if(s||!t)e.id=null;else throw this.raise(A.MissingClassName,{at:this.state.startLoc})}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let s=this.maybeParseExportDefaultSpecifier(e),i=!s||this.eat(12),n=i&&this.eatExportStar(e),a=n&&this.maybeParseExportNamespaceSpecifier(e),o=i&&(!a||this.eat(12)),l=s||n;if(n&&!a){if(s&&this.unexpected(),t)throw this.raise(A.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}let u=this.maybeParseExportNamedSpecifiers(e);s&&i&&!n&&!u&&this.unexpected(null,5),a&&o&&this.unexpected(null,97);let c;if(l||u){if(c=!1,t)throw this.raise(A.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,l)}else c=this.maybeParseExportDeclaration(e);if(l||u||c){var p;let h=e;if(this.checkExport(h,!0,!1,!!h.source),((p=h.declaration)==null?void 0:p.type)==="ClassDeclaration")this.maybeTakeDecorators(t,h.declaration,h);else if(t)throw this.raise(A.UnsupportedDecoratorExport,{at:e});return this.finishNode(h,"ExportNamedDeclaration")}if(this.eat(65)){let h=e,f=this.parseExportDefaultExpression();if(h.declaration=f,f.type==="ClassDeclaration")this.maybeTakeDecorators(t,f,h);else if(t)throw this.raise(A.UnsupportedDecoratorExport,{at:e});return this.checkExport(h,!0,!0),this.finishNode(h,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!xl.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,1|4);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,1|4|8);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(A.DecoratorBeforeExport,{at: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(A.UnsupportedDefaultExport,{at: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(ce(e)){if(e===95&&!this.state.containsEsc||e===99)return!1;if((e===128||e===127)&&!this.state.containsEsc){let{type:i}=this.lookahead();if(ce(i)&&i!==97||i===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),s=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||ce(this.state.type)&&s)return!0;if(this.match(65)&&s){let i=this.input.charCodeAt(this.nextTokenStartSince(t+4));return i===34||i===39}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let s=this.maybeParseImportAssertions();s&&(e.assertions=s,this.checkJSONModuleImport(e))}else 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(A.DecoratorBeforeExport,{at:this.state.startLoc}),!0):e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,i){if(t){if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;let a=e.declaration;a.type==="Identifier"&&a.name==="from"&&a.end-a.start==4&&!((n=a.extra)!=null&&n.parenthesized)&&this.raise(A.ExportDefaultFromAsIdentifier,{at:a})}}else if(e.specifiers&&e.specifiers.length)for(let a of e.specifiers){let{exported:o}=a,l=o.type==="Identifier"?o.name:o.value;if(this.checkDuplicateExports(a,l),!i&&a.local){let{local:u}=a;u.type!=="Identifier"?this.raise(A.ExportBindingIsString,{at:a,localName:u.value,exportName:l}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){let a=e.declaration.id;if(!a)throw new Error("Assertion failure");this.checkDuplicateExports(e,a.name)}else if(e.declaration.type==="VariableDeclaration")for(let a of e.declaration.declarations)this.checkDeclaration(a.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(A.DuplicateDefaultExport,{at:e}):this.raise(A.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(128),n=this.match(131),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,n,e,i))}return t}parseExportSpecifier(e,t,s,i){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=zS(e.local):e.exported||(e.exported=Qt(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(fb);return t&&this.raise(A.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return e.assertions!=null?e.assertions.some(({key:t,value:s})=>s.value==="json"&&(t.type==="Identifier"?t.name==="type":t.value==="type")):!1}checkImportReflection(e){if(e.module){var t;(e.specifiers.length!==1||e.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(A.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),((t=e.assertions)==null?void 0:t.length)>0&&this.raise(A.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start})}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!=="ExportAllDeclaration"){let{specifiers:t}=e;if(t!=null){let s=t.find(i=>{let n;if(i.type==="ExportSpecifier"?n=i.local:i.type==="ImportSpecifier"&&(n=i.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});s!==void 0&&this.raise(A.ImportJSONBindingNotDefault,{at:s.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let s=this.lookahead(),i=s.type;ce(i)?(i!==97||this.input.charCodeAt(this.nextTokenStartSince(s.end))===102)&&(t=!0):i!==12&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);let i=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),n=i&&this.maybeParseStarImportSpecifier(e);i&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let s=this.maybeParseModuleAttributes();s&&(e.attributes=s)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return ce(this.state.type)}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t,s=ds){return this.checkLVal(e.local,{in:{type:t},binding:s}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let s=this.startNode(),i=this.state.value;if(t.has(i)&&this.raise(A.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i}),t.add(i),this.match(131)?s.key=this.parseStringLiteral(i):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(A.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let e=[],t=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(A.ModuleAttributeDifferentFromType,{at:s.key}),t.has(s.key.name)&&this.raise(A.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(131))throw this.raise(A.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),this.finishNode(s,"ImportAttribute"),e.push(s)}while(this.eat(12));return e}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return this.shouldParseDefaultImport(e)?(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0):!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(A.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let s=this.startNode(),i=this.match(131),n=this.isContextual(128);s.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(s,i,e.importKind==="type"||e.importKind==="typeof",n,void 0);e.specifiers.push(a)}}parseImportSpecifier(e,t,s,i,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:a}=e;if(t)throw this.raise(A.ImportBindingIsString,{at:e,importName:a.value});this.checkReservedWord(a.name,e.loc.start,!0,!0),e.local||(e.local=Qt(a))}return this.finishImportSpecifier(e,"ImportSpecifier",n)}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}},pf=class extends cf{constructor(e,t){e=Fv(e),super(e,t),this.options=e,this.initializeScopes(),this.plugins=mb(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return ra}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};function mb(r){let e=new Map;for(let t of r){let[s,i]=Array.isArray(t)?t:[t,{}];e.has(s)||e.set(s,i||{})}return e}function yb(r,e){var t;if(((t=e)==null?void 0:t.sourceType)==="unambiguous"){e=Object.assign({},e);try{e.sourceType="module";let s=gi(e,r),i=s.parse();if(s.sawUnambiguousESM)return i;if(s.ambiguousScriptDifferentAst)try{return e.sourceType="script",gi(e,r).parse()}catch(n){}else i.program.sourceType="script";return i}catch(s){try{return e.sourceType="script",gi(e,r).parse()}catch(i){}throw s}}else return gi(e,r).parse()}function gb(r,e){let t=gi(e,r);return t.options.strictMode&&(t.state.strict=!0),t.getExpression()}function vb(r){let e={};for(let t of Object.keys(r))e[t]=Wt(r[t]);return e}var Sb=vb(Uv);function gi(r,e){let t=pf;return r!=null&&r.plugins&&(cb(r.plugins),t=bb(r.plugins)),new t(r,e)}var hf={};function bb(r){let e=pb.filter(i=>je(r,i)),t=e.join("/"),s=hf[t];if(!s){s=pf;for(let i of e)s=lf[i](s);hf[t]=s}return s}var Dr=Vn.parse=yb,ff=Vn.parseExpression=gb;Vn.tokTypes=Sb;var Re=r=>r.type===4&&r.isStatic,Et=(r,e)=>r===e||r===Wp(e);function Dl(r){if(Et(r,"Teleport"))return Tr;if(Et(r,"Suspense"))return ts;if(Et(r,"KeepAlive"))return Xs;if(Et(r,"BaseTransition"))return Go}var wb=/^\d|[^\$\w]/,Sr=r=>!wb.test(r),Eb=/[A-Za-z_$\xA0-\uFFFF]/,Pb=/[\.\?\w$\xA0-\uFFFF]/,Tb=/\s+[.[]\s*|\s*[.[]\s+/g,xb=r=>{r=r.trim().replace(Tb,a=>a.trim());let e=0,t=[],s=0,i=0,n=null;for(let a=0;a<r.length;a++){let o=r.charAt(a);switch(e){case 0:if(o==="[")t.push(e),e=1,s++;else if(o==="(")t.push(e),e=2,i++;else if(!(a===0?Eb:Pb).test(o))return!1;break;case 1:o==="'"||o==='"'||o==="`"?(t.push(e),e=3,n=o):o==="["?s++:o==="]"&&(--s||(e=t.pop()));break;case 2:if(o==="'"||o==='"'||o==="`")t.push(e),e=3,n=o;else if(o==="(")i++;else if(o===")"){if(a===r.length-1)return!1;--i||(e=t.pop())}break;case 3:o===n&&(e=t.pop(),n=null);break}}return!s&&!i},df=(r,e)=>{try{let t=ff(r,{plugins:e.expressionPlugins});return(t.type==="TSAsExpression"||t.type==="TSTypeAssertion")&&(t=t.expression),t.type==="MemberExpression"||t.type==="OptionalMemberExpression"||t.type==="Identifier"}catch(t){return!1}},Ml=df;function Rl(r,e,t){let i={source:r.source.slice(e,e+t),start:Mr(r.start,r.source,e),end:r.end};return t!=null&&(i.end=Mr(r.start,r.source,e+t)),i}function Mr(r,e,t=e.length){return vs(qt({},r),e,t)}function vs(r,e,t=e.length){let s=0,i=-1;for(let n=0;n<t;n++)e.charCodeAt(n)===10&&(s++,i=n);return r.offset+=t,r.line+=s,r.column=i===-1?r.column+t:t-i,r}function $l(r,e){if(!r)throw new Error(e||"unexpected compiler condition")}function ke(r,e,t=!1){for(let s=0;s<r.props.length;s++){let i=r.props[s];if(i.type===7&&(t||i.exp)&&(le(e)?i.name===e:e.test(i.name)))return i}}function et(r,e,t=!1,s=!1){for(let i=0;i<r.props.length;i++){let n=r.props[i];if(n.type===6){if(t)continue;if(n.name===e&&(n.value||s))return n}else if(n.name==="bind"&&(n.exp||s)&&Xt(n.arg,e))return n}}function Xt(r,e){return!!(r&&Re(r)&&r.content===e)}function ua(r){return r.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function vi(r){return r.type===5||r.type===2}function Fl(r){return r.type===7&&r.name==="slot"}function Ss(r){return r.type===1&&r.tagType===3}function bs(r){return r.type===1&&r.tagType===2}var Ab=new Set([is,ns]);function mf(r,e=[]){if(r&&!le(r)&&r.type===14){let t=r.callee;if(!le(t)&&Ab.has(t))return mf(r.arguments[0],e.concat(r))}return[r,e]}function Si(r,e,t){let s,i=r.type===13?r.props:r.arguments[2],n=[],a;if(i&&!le(i)&&i.type===14){let o=mf(i);i=o[0],n=o[1],a=n[n.length-1]}if(i==null||le(i))s=Ze([e]);else if(i.type===14){let o=i.arguments[0];!le(o)&&o.type===15?yf(e,o)||o.properties.unshift(e):i.callee===Ln?s=Z(t.helper(xr),[Ze([e]),i]):i.arguments.unshift(Ze([e])),!s&&(s=i)}else i.type===15?(yf(e,i)||i.properties.unshift(e),s=i):(s=Z(t.helper(xr),[Ze([e]),i]),a&&a.callee===ns&&(a=n[n.length-2]));r.type===13?a?a.arguments[0]=s:r.props=s:a?a.arguments[0]=s:r.arguments[2]=s}function yf(r,e){let t=!1;if(r.key.type===4){let s=r.key.content;t=e.properties.some(i=>i.key.type===4&&i.key.content===s)}return t}function bi(r,e){return`_${e}_${r.replace(/[^\w]/g,(t,s)=>t==="-"?"_":r.charCodeAt(s).toString())}`}function tt(r,e){if(!r||Object.keys(e).length===0)return!1;switch(r.type){case 1:for(let t=0;t<r.props.length;t++){let s=r.props[t];if(s.type===7&&(tt(s.arg,e)||tt(s.exp,e)))return!0}return r.children.some(t=>tt(t,e));case 11:return tt(r.source,e)?!0:r.children.some(t=>tt(t,e));case 9:return r.branches.some(t=>tt(t,e));case 10:return tt(r.condition,e)?!0:r.children.some(t=>tt(t,e));case 4:return!r.isStatic&&Sr(r.content)&&!!e[r.content];case 8:return r.children.some(t=>Vt(t)&&tt(t,e));case 5:case 12:return tt(r.content,e);case 2:case 3:return!1;default:return!1}}function gf(r){return r.type===14&&r.callee===Bn?r.arguments[1].returns:r}var Cb={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:r=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${r}.sync\` should be changed to \`v-model:${r}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},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_FILTER:{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 Bl(r,e){let t=e.options?e.options.compatConfig:e.compatConfig,s=t&&t[r];return r==="MODE"?s||3:s}function _b(r,e){let t=Bl("MODE",e),s=Bl(r,e);return t===3?s===!0:s!==!1}function Ib(r,e,t,...s){let i=_b(r,e);return i&&vf(r,e,t,...s),i}function vf(r,e,t,...s){if(Bl(r,e)==="suppress-warning")return;let{message:n,link:a}=Cb[r],o=`(deprecation ${r}) ${typeof n=="function"?n(...s):n}${a?`
11
+ Details: ${a}`:""}`,l=new SyntaxError(o);l.code=r,t&&(l.loc=t),e.onWarn(l)}var Ob=/&(gt|lt|amp|apos|quot);/g,Nb={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Sf={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:En,isPreTag:En,isCustomElement:En,decodeEntities:r=>r.replace(Ob,(e,t)=>Nb[t]),onError:Wo,onWarn:eh,comments:!0};function ca(r,e={}){let t=kb(r,e),s=at(t);return os(Ul(t,0,[]),Pt(t,s))}function kb(r,e){let t=qt({},Sf),s;for(s in e)t[s]=e[s]===void 0?Sf[s]:e[s];return{options:t,column:1,line:1,offset:0,originalSource:r,source:r,inPre:!1,inVPre:!1,onWarn:t.onWarn}}function Ul(r,e,t){let s=ha(t),i=s?s.ns:0,n=[];for(;!qb(r,e,t);){let o=r.source,l;if(e===0||e===1){if(!r.inVPre&&qe(o,r.options.delimiters[0]))l=Ub(r,e);else if(e===0&&o[0]==="<")if(o.length===1)me(r,5,1);else if(o[1]==="!")qe(o,"<!--")?l=Db(r):qe(o,"<!DOCTYPE")?l=wi(r):qe(o,"<![CDATA[")?i!==0?l=Lb(r,t):(me(r,1),l=wi(r)):(me(r,11),l=wi(r));else if(o[1]==="/")if(o.length===2)me(r,5,2);else if(o[2]===">"){me(r,14,2),Ne(r,3);continue}else if(/[a-z]/i.test(o[2])){me(r,23),jl(r,pa.End,s);continue}else me(r,12,2),l=wi(r);else/[a-z]/i.test(o[1])?l=Mb(r,t):o[1]==="?"?(me(r,21,1),l=wi(r)):me(r,12,1)}if(l||(l=jb(r,e)),Ge(l))for(let u=0;u<l.length;u++)bf(n,l[u]);else bf(n,l)}let a=!1;if(e!==2&&e!==1){let o=r.options.whitespace!=="preserve";for(let l=0;l<n.length;l++){let u=n[l];if(u.type===2)if(r.inPre)u.content=u.content.replace(/\r\n/g,`
12
+ `);else if(/[^\t\r\n\f ]/.test(u.content))o&&(u.content=u.content.replace(/[\t\r\n\f ]+/g," "));else{let c=n[l-1],p=n[l+1];!c||!p||o&&(c.type===3&&p.type===3||c.type===3&&p.type===1||c.type===1&&p.type===3||c.type===1&&p.type===1&&/[\r\n]/.test(u.content))?(a=!0,n[l]=null):u.content=" "}else u.type===3&&!r.options.comments&&(a=!0,n[l]=null)}if(r.inPre&&s&&r.options.isPreTag(s.tag)){let l=n[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}}return a?n.filter(Boolean):n}function bf(r,e){if(e.type===2){let t=ha(r);if(t&&t.type===2&&t.loc.end.offset===e.loc.start.offset){t.content+=e.content,t.loc.end=e.loc.end,t.loc.source+=e.loc.source;return}}r.push(e)}function Lb(r,e){Ne(r,9);let t=Ul(r,3,e);return r.source.length===0?me(r,6):Ne(r,3),t}function Db(r){let e=at(r),t,s=/--(\!)?>/.exec(r.source);if(!s)t=r.source.slice(4),Ne(r,r.source.length),me(r,7);else{s.index<=3&&me(r,0),s[1]&&me(r,10),t=r.source.slice(4,s.index);let i=r.source.slice(0,s.index),n=1,a=0;for(;(a=i.indexOf("<!--",n))!==-1;)Ne(r,a-n+1),a+4<i.length&&me(r,16),n=a+1;Ne(r,s.index+s[0].length-n+1)}return{type:3,content:t,loc:Pt(r,e)}}function wi(r){let e=at(r),t=r.source[1]==="?"?1:2,s,i=r.source.indexOf(">");return i===-1?(s=r.source.slice(t),Ne(r,r.source.length)):(s=r.source.slice(t,i),Ne(r,i+1)),{type:3,content:s,loc:Pt(r,e)}}function Mb(r,e){let t=r.inPre,s=r.inVPre,i=ha(e),n=jl(r,pa.Start,i),a=r.inPre&&!t,o=r.inVPre&&!s;if(n.isSelfClosing||r.options.isVoidTag(n.tag))return a&&(r.inPre=!1),o&&(r.inVPre=!1),n;e.push(n);let l=r.options.getTextMode(n,i),u=Ul(r,l,e);if(e.pop(),n.children=u,ql(r.source,n.tag))jl(r,pa.End,i);else if(me(r,24,0,n.loc.start),r.source.length===0&&n.tag.toLowerCase()==="script"){let c=u[0];c&&qe(c.loc.source,"<!--")&&me(r,8)}return n.loc=Pt(r,n.loc.start),a&&(r.inPre=!1),o&&(r.inVPre=!1),n}var pa=(r=>(r[r.Start=0]="Start",r[r.End=1]="End",r))(pa||{}),Rb=De("if,else,else-if,for,slot");function jl(r,e,t){let s=at(r),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(r.source),n=i[1],a=r.options.getNamespace(n,t);Ne(r,i[0].length),Pi(r);let o=at(r),l=r.source;r.options.isPreTag(n)&&(r.inPre=!0);let u=wf(r,e);e===0&&!r.inVPre&&u.some(h=>h.type===7&&h.name==="pre")&&(r.inVPre=!0,qt(r,o),r.source=l,u=wf(r,e).filter(h=>h.name!=="v-pre"));let c=!1;if(r.source.length===0?me(r,9):(c=qe(r.source,"/>"),e===1&&c&&me(r,4),Ne(r,c?2:1)),e===1)return;let p=0;return r.inVPre||(n==="slot"?p=2:n==="template"?u.some(h=>h.type===7&&Rb(h.name))&&(p=3):$b(n,u,r)&&(p=1)),{type:1,ns:a,tag:n,tagType:p,props:u,isSelfClosing:c,children:[],loc:Pt(r,s),codegenNode:void 0}}function $b(r,e,t){let s=t.options;if(s.isCustomElement(r))return!1;if(r==="component"||/^[A-Z]/.test(r)||Dl(r)||s.isBuiltInComponent&&s.isBuiltInComponent(r)||s.isNativeTag&&!s.isNativeTag(r))return!0;for(let i=0;i<e.length;i++){let n=e[i];if(n.type===6){if(n.name==="is"&&n.value&&n.value.content.startsWith("vue:"))return!0}else{if(n.name==="is")return!0;n.name==="bind"&&Xt(n.arg,"is")}}}function wf(r,e){let t=[],s=new Set;for(;r.source.length>0&&!qe(r.source,">")&&!qe(r.source,"/>");){if(qe(r.source,"/")){me(r,22),Ne(r,1),Pi(r);continue}e===1&&me(r,3);let i=Fb(r,s);i.type===6&&i.value&&i.name==="class"&&(i.value.content=i.value.content.replace(/\s+/g," ").trim()),e===0&&t.push(i),/^[^\t\r\n\f />]/.test(r.source)&&me(r,15),Pi(r)}return t}function Fb(r,e){var t;let s=at(r),n=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(r.source)[0];e.has(n)&&me(r,2),e.add(n),n[0]==="="&&me(r,19);{let l=/["'<]/g,u;for(;u=l.exec(n);)me(r,17,u.index)}Ne(r,n.length);let a;/^[\t\r\n\f ]*=/.test(r.source)&&(Pi(r),Ne(r,1),Pi(r),a=Bb(r),a||me(r,13));let o=Pt(r,s);if(!r.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(n)){let l=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(n),u=qe(n,"."),c=l[1]||(u||qe(n,":")?"bind":qe(n,"@")?"on":"slot"),p;if(l[2]){let f=c==="slot",g=n.lastIndexOf(l[2],n.length-(((t=l[3])==null?void 0:t.length)||0)),d=Pt(r,Ef(r,s,g),Ef(r,s,g+l[2].length+(f&&l[3]||"").length)),m=l[2],y=!0;m.startsWith("[")?(y=!1,m.endsWith("]")?m=m.slice(1,m.length-1):(me(r,27),m=m.slice(1))):f&&(m+=l[3]||""),p={type:4,content:m,isStatic:y,constType:y?3:0,loc:d}}if(a&&a.isQuoted){let f=a.loc;f.start.offset++,f.start.column++,f.end=Mr(f.start,a.content),f.source=f.source.slice(1,-1)}let h=l[3]?l[3].slice(1).split("."):[];return u&&h.push("prop"),{type:7,name:c,exp:a&&{type:4,content:a.content,isStatic:!1,constType:0,loc:a.loc},arg:p,modifiers:h,loc:o}}return!r.inVPre&&qe(n,"v-")&&me(r,26),{type:6,name:n,value:a&&{type:2,content:a.content,loc:a.loc},loc:o}}function Bb(r){let e=at(r),t,s=r.source[0],i=s==='"'||s==="'";if(i){Ne(r,1);let n=r.source.indexOf(s);n===-1?t=Ei(r,r.source.length,4):(t=Ei(r,n,4),Ne(r,1))}else{let n=/^[^\t\r\n\f >]+/.exec(r.source);if(!n)return;let a=/["'<=`]/g,o;for(;o=a.exec(n[0]);)me(r,18,o.index);t=Ei(r,n[0].length,4)}return{content:t,isQuoted:i,loc:Pt(r,e)}}function Ub(r,e){let[t,s]=r.options.delimiters,i=r.source.indexOf(s,t.length);if(i===-1){me(r,25);return}let n=at(r);Ne(r,t.length);let a=at(r),o=at(r),l=i-t.length,u=r.source.slice(0,l),c=Ei(r,l,e),p=c.trim(),h=c.indexOf(p);h>0&&vs(a,u,h);let f=l-(c.length-p.length-h);return vs(o,u,f),Ne(r,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Pt(r,a,o)},loc:Pt(r,n)}}function jb(r,e){let t=e===3?["]]>"]:["<",r.options.delimiters[0]],s=r.source.length;for(let a=0;a<t.length;a++){let o=r.source.indexOf(t[a],1);o!==-1&&s>o&&(s=o)}let i=at(r),n=Ei(r,s,e);return{type:2,content:n,loc:Pt(r,i)}}function Ei(r,e,t){let s=r.source.slice(0,e);return Ne(r,e),t===2||t===3||!s.includes("&")?s:r.options.decodeEntities(s,t===4)}function at(r){let{column:e,line:t,offset:s}=r;return{column:e,line:t,offset:s}}function Pt(r,e,t){return t=t||at(r),{start:e,end:t,source:r.originalSource.slice(e.offset,t.offset)}}function ha(r){return r[r.length-1]}function qe(r,e){return r.startsWith(e)}function Ne(r,e){let{source:t}=r;vs(r,t,e),r.source=t.slice(e)}function Pi(r){let e=/^[\t\r\n\f ]+/.exec(r.source);e&&Ne(r,e[0].length)}function Ef(r,e,t){return Mr(e,r.originalSource.slice(e.offset,t),t)}function me(r,e,t,s=at(r)){t&&(s.offset+=t,s.column+=t),r.options.onError(pe(e,{start:s,end:s,source:""}))}function qb(r,e,t){let s=r.source;switch(e){case 0:if(qe(s,"</")){for(let i=t.length-1;i>=0;--i)if(ql(s,t[i].tag))return!0}break;case 1:case 2:{let i=ha(t);if(i&&ql(s,i.tag))return!0;break}case 3:if(qe(s,"]]>"))return!0;break}return!s}function ql(r,e){return qe(r,"</")&&r.slice(2,2+e.length).toLowerCase()===e.toLowerCase()&&/[\t\r\n\f />]/.test(r[2+e.length]||">")}function Vb(r,e){fa(r,e,Pf(r,r.children[0]))}function Pf(r,e){let{children:t}=r;return t.length===1&&e.type===1&&!bs(e)}function fa(r,e,t=!1){let{children:s}=r,i=s.length,n=0;for(let a=0;a<s.length;a++){let o=s[a];if(o.type===1&&o.tagType===0){let l=t?0:ot(o,e);if(l>0){if(l>=2){o.codegenNode.patchFlag=-1+" /* HOISTED */",o.codegenNode=e.hoist(o.codegenNode),n++;continue}}else{let u=o.codegenNode;if(u.type===13){let c=Cf(u);if((!c||c===512||c===1)&&xf(o,e)>=2){let p=Af(o);p&&(u.props=e.hoist(p))}u.dynamicProps&&(u.dynamicProps=e.hoist(u.dynamicProps))}}}if(o.type===1){let l=o.tagType===1;l&&e.scopes.vSlot++,fa(o,e),l&&e.scopes.vSlot--}else if(o.type===11)fa(o,e,o.children.length===1);else if(o.type===9)for(let l=0;l<o.branches.length;l++)fa(o.branches[l],e,o.branches[l].children.length===1)}n&&e.transformHoist&&e.transformHoist(s,e,r),n&&n===i&&r.type===1&&r.tagType===0&&r.codegenNode&&r.codegenNode.type===13&&Ge(r.codegenNode.children)&&(r.codegenNode.children=e.hoist(Ar(r.codegenNode.children)))}function ot(r,e){let{constantCache:t}=e;switch(r.type){case 1:if(r.tagType!==0)return 0;let s=t.get(r);if(s!==void 0)return s;let i=r.codegenNode;if(i.type!==13||i.isBlock&&r.tag!=="svg"&&r.tag!=="foreignObject")return 0;if(Cf(i))return t.set(r,0),0;{let o=3,l=xf(r,e);if(l===0)return t.set(r,0),0;l<o&&(o=l);for(let u=0;u<r.children.length;u++){let c=ot(r.children[u],e);if(c===0)return t.set(r,0),0;c<o&&(o=c)}if(o>1)for(let u=0;u<r.props.length;u++){let c=r.props[u];if(c.type===7&&c.name==="bind"&&c.exp){let p=ot(c.exp,e);if(p===0)return t.set(r,0),0;p<o&&(o=p)}}if(i.isBlock){for(let u=0;u<r.props.length;u++)if(r.props[u].type===7)return t.set(r,0),0;e.removeHelper(fr),e.removeHelper(_r(e.inSSR,i.isComponent)),i.isBlock=!1,e.helper(Cr(e.inSSR,i.isComponent))}return t.set(r,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ot(r.content,e);case 4:return r.constType;case 8:let a=3;for(let o=0;o<r.children.length;o++){let l=r.children[o];if(le(l)||Qr(l))continue;let u=ot(l,e);if(u===0)return 0;u<a&&(a=u)}return a;default:return 0}}var zb=new Set([Nn,kn,is,ns]);function Tf(r,e){if(r.type===14&&!le(r.callee)&&zb.has(r.callee)){let t=r.arguments[0];if(t.type===4)return ot(t,e);if(t.type===14)return Tf(t,e)}return 0}function xf(r,e){let t=3,s=Af(r);if(s&&s.type===15){let{properties:i}=s;for(let n=0;n<i.length;n++){let{key:a,value:o}=i[n],l=ot(a,e);if(l===0)return l;l<t&&(t=l);let u;if(o.type===4?u=ot(o,e):o.type===14?u=Tf(o,e):u=0,u===0)return u;u<t&&(t=u)}}return t}function Af(r){let e=r.codegenNode;if(e.type===13)return e.props}function Cf(r){let e=r.patchFlag;return e?parseInt(e,10):void 0}function Ti(r,{filename:e="",prefixIdentifiers:t=!1,hoistStatic:s=!1,cacheHandlers:i=!1,nodeTransforms:n=[],directiveTransforms:a={},transformHoist:o=null,isBuiltInComponent:l=Up,isCustomElement:u=Up,expressionPlugins:c=[],scopeId:p=null,slotted:h=!0,ssr:f=!1,inSSR:g=!1,ssrCssVars:d="",bindingMetadata:m=lv,inline:y=!1,isTS:E=!1,onError:S=Wo,onWarn:v=eh,compatConfig:b}){let I=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),O={selfName:I&&hr(wt(I[1])),prefixIdentifiers:t,hoistStatic:s,cacheHandlers:i,nodeTransforms:n,directiveTransforms:a,transformHoist:o,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:c,scopeId:p,slotted:h,ssr:f,inSSR:g,ssrCssVars:d,bindingMetadata:m,inline:y,isTS:E,onError:S,onWarn:v,compatConfig:b,root:r,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:r,childIndex:0,inVOnce:!1,helper(T){let C=O.helpers.get(T)||0;return O.helpers.set(T,C+1),T},removeHelper(T){let C=O.helpers.get(T);if(C){let B=C-1;B?O.helpers.set(T,B):O.helpers.delete(T)}},helperString(T){return`_${Xe[O.helper(T)]}`},replaceNode(T){{if(!O.currentNode)throw new Error("Node being replaced is already removed.");if(!O.parent)throw new Error("Cannot replace root node.")}O.parent.children[O.childIndex]=O.currentNode=T},removeNode(T){if(!O.parent)throw new Error("Cannot remove root node.");let C=O.parent.children,B=T?C.indexOf(T):O.currentNode?O.childIndex:-1;if(B<0)throw new Error("node being removed is not a child of current parent");!T||T===O.currentNode?(O.currentNode=null,O.onNodeRemoved()):O.childIndex>B&&(O.childIndex--,O.onNodeRemoved()),O.parent.children.splice(B,1)},onNodeRemoved:()=>{},addIdentifiers(T){le(T)?w(T):T.identifiers?T.identifiers.forEach(w):T.type===4&&w(T.content)},removeIdentifiers(T){le(T)?P(T):T.identifiers?T.identifiers.forEach(P):T.type===4&&P(T.content)},hoist(T){le(T)&&(T=j(T)),O.hoists.push(T);let C=j(`_hoisted_${O.hoists.length}`,!1,T.loc,2);return C.hoisted=T,C},cache(T,C=!1){return sh(O.cached++,T,C)}};function w(T){let{identifiers:C}=O;C[T]===void 0&&(C[T]=0),C[T]++}function P(T){O.identifiers[T]--}return O}function da(r,e){let t=Ti(r,e);ws(r,t),e.hoistStatic&&Vb(r,t),e.ssr||Wb(r,t),r.helpers=new Set([...t.helpers.keys()]),r.components=[...t.components],r.directives=[...t.directives],r.imports=t.imports,r.hoists=t.hoists,r.temps=t.temps,r.cached=t.cached}function Wb(r,e){let{helper:t}=e,{children:s}=r;if(s.length===1){let i=s[0];if(Pf(r,i)&&i.codegenNode){let n=i.codegenNode;n.type===13&&qn(n,e),r.codegenNode=n}else r.codegenNode=i}else if(s.length>1){let i=64,n=Ot[64];s.filter(a=>a.type!==3).length===1&&(i|=2048,n+=`, ${Ot[2048]}`),r.codegenNode=ls(e,t(es),void 0,r.children,i+` /* ${n} */`,void 0,void 0,!0,void 0,!1)}}function Gb(r,e){let t=0,s=()=>{t--};for(;t<r.children.length;t++){let i=r.children[t];le(i)||(e.parent=r,e.childIndex=t,e.onNodeRemoved=s,ws(i,e))}}function ws(r,e){e.currentNode=r;let{nodeTransforms:t}=e,s=[];for(let n=0;n<t.length;n++){let a=t[n](r,e);if(a&&(Ge(a)?s.push(...a):s.push(a)),e.currentNode)r=e.currentNode;else return}switch(r.type){case 3:e.ssr||e.helper(rs);break;case 5:e.ssr||e.helper(ti);break;case 9:for(let n=0;n<r.branches.length;n++)ws(r.branches[n],e);break;case 10:case 11:case 1:case 0:Gb(r,e);break}e.currentNode=r;let i=s.length;for(;i--;)s[i]()}function xi(r,e){let t=le(r)?s=>s===r:s=>r.test(s);return(s,i)=>{if(s.type===1){let{props:n}=s;if(s.tagType===3&&n.some(Fl))return;let a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===7&&t(l.name)){n.splice(o,1),o--;let u=e(s,l,i);u&&a.push(u)}}return a}}}var Es={},Vl={},ma={},zl={},_f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");zl.encode=function(r){if(0<=r&&r<_f.length)return _f[r];throw new TypeError("Must be between 0 and 63: "+r)};zl.decode=function(r){var e=65,t=90,s=97,i=122,n=48,a=57,o=43,l=47,u=26,c=52;return e<=r&&r<=t?r-e:s<=r&&r<=i?r-s+u:n<=r&&r<=a?r-n+c:r==o?62:r==l?63:-1};var If=zl,Wl=5,Of=1<<Wl,Nf=Of-1,kf=Of;function Hb(r){return r<0?(-r<<1)+1:(r<<1)+0}function Kb(r){var e=(r&1)==1,t=r>>1;return e?-t:t}ma.encode=function(e){var t="",s,i=Hb(e);do s=i&Nf,i>>>=Wl,i>0&&(s|=kf),t+=If.encode(s);while(i>0);return t};ma.decode=function(e,t,s){var i=e.length,n=0,a=0,o,l;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=If.decode(e.charCodeAt(t++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(l&kf),l&=Nf,n=n+(l<<a),a+=Wl}while(o);s.value=Kb(n),s.rest=t};var Ps={};(function(r){function e(w,P,T){if(P in w)return w[P];if(arguments.length===3)return T;throw new Error('"'+P+'" is a required argument.')}r.getArg=e;var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function i(w){var P=w.match(t);return P?{scheme:P[1],auth:P[2],host:P[3],port:P[4],path:P[5]}:null}r.urlParse=i;function n(w){var P="";return w.scheme&&(P+=w.scheme+":"),P+="//",w.auth&&(P+=w.auth+"@"),w.host&&(P+=w.host),w.port&&(P+=":"+w.port),w.path&&(P+=w.path),P}r.urlGenerate=n;var a=32;function o(w){var P=[];return function(T){for(var C=0;C<P.length;C++)if(P[C].input===T){var B=P[0];return P[0]=P[C],P[C]=B,P[0].result}var q=w(T);return P.unshift({input:T,result:q}),P.length>a&&P.pop(),q}}var l=o(function(P){var T=P,C=i(P);if(C){if(!C.path)return P;T=C.path}for(var B=r.isAbsolute(T),q=[],Q=0,V=0;;)if(Q=V,V=T.indexOf("/",Q),V===-1){q.push(T.slice(Q));break}else for(q.push(T.slice(Q,V));V<T.length&&T[V]==="/";)V++;for(var J,ae=0,V=q.length-1;V>=0;V--)J=q[V],J==="."?q.splice(V,1):J===".."?ae++:ae>0&&(J===""?(q.splice(V+1,ae),ae=0):(q.splice(V,2),ae--));return T=q.join("/"),T===""&&(T=B?"/":"."),C?(C.path=T,n(C)):T});r.normalize=l;function u(w,P){w===""&&(w="."),P===""&&(P=".");var T=i(P),C=i(w);if(C&&(w=C.path||"/"),T&&!T.scheme)return C&&(T.scheme=C.scheme),n(T);if(T||P.match(s))return P;if(C&&!C.host&&!C.path)return C.host=P,n(C);var B=P.charAt(0)==="/"?P:l(w.replace(/\/+$/,"")+"/"+P);return C?(C.path=B,n(C)):B}r.join=u,r.isAbsolute=function(w){return w.charAt(0)==="/"||t.test(w)};function c(w,P){w===""&&(w="."),w=w.replace(/\/$/,"");for(var T=0;P.indexOf(w+"/")!==0;){var C=w.lastIndexOf("/");if(C<0||(w=w.slice(0,C),w.match(/^([^\/]+:\/)?\/*$/)))return P;++T}return Array(T+1).join("../")+P.substr(w.length+1)}r.relative=c;var p=function(){var w=Object.create(null);return!("__proto__"in w)}();function h(w){return w}function f(w){return d(w)?"$"+w:w}r.toSetString=p?h:f;function g(w){return d(w)?w.slice(1):w}r.fromSetString=p?h:g;function d(w){if(!w)return!1;var P=w.length;if(P<9||w.charCodeAt(P-1)!==95||w.charCodeAt(P-2)!==95||w.charCodeAt(P-3)!==111||w.charCodeAt(P-4)!==116||w.charCodeAt(P-5)!==111||w.charCodeAt(P-6)!==114||w.charCodeAt(P-7)!==112||w.charCodeAt(P-8)!==95||w.charCodeAt(P-9)!==95)return!1;for(var T=P-10;T>=0;T--)if(w.charCodeAt(T)!==36)return!1;return!0}function m(w,P,T){var C=v(w.source,P.source);return C!==0||(C=w.originalLine-P.originalLine,C!==0)||(C=w.originalColumn-P.originalColumn,C!==0||T)||(C=w.generatedColumn-P.generatedColumn,C!==0)||(C=w.generatedLine-P.generatedLine,C!==0)?C:v(w.name,P.name)}r.compareByOriginalPositions=m;function y(w,P,T){var C;return C=w.originalLine-P.originalLine,C!==0||(C=w.originalColumn-P.originalColumn,C!==0||T)||(C=w.generatedColumn-P.generatedColumn,C!==0)||(C=w.generatedLine-P.generatedLine,C!==0)?C:v(w.name,P.name)}r.compareByOriginalPositionsNoSource=y;function E(w,P,T){var C=w.generatedLine-P.generatedLine;return C!==0||(C=w.generatedColumn-P.generatedColumn,C!==0||T)||(C=v(w.source,P.source),C!==0)||(C=w.originalLine-P.originalLine,C!==0)||(C=w.originalColumn-P.originalColumn,C!==0)?C:v(w.name,P.name)}r.compareByGeneratedPositionsDeflated=E;function S(w,P,T){var C=w.generatedColumn-P.generatedColumn;return C!==0||T||(C=v(w.source,P.source),C!==0)||(C=w.originalLine-P.originalLine,C!==0)||(C=w.originalColumn-P.originalColumn,C!==0)?C:v(w.name,P.name)}r.compareByGeneratedPositionsDeflatedNoLine=S;function v(w,P){return w===P?0:w===null?1:P===null?-1:w>P?1:-1}function b(w,P){var T=w.generatedLine-P.generatedLine;return T!==0||(T=w.generatedColumn-P.generatedColumn,T!==0)||(T=v(w.source,P.source),T!==0)||(T=w.originalLine-P.originalLine,T!==0)||(T=w.originalColumn-P.originalColumn,T!==0)?T:v(w.name,P.name)}r.compareByGeneratedPositionsInflated=b;function I(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=I;function O(w,P,T){if(P=P||"",w&&(w[w.length-1]!=="/"&&P[0]!=="/"&&(w+="/"),P=w+P),T){var C=i(T);if(!C)throw new Error("sourceMapURL could not be parsed");if(C.path){var B=C.path.lastIndexOf("/");B>=0&&(C.path=C.path.substring(0,B+1))}P=u(n(C),P)}return l(P)}r.computeSourceURL=O})(Ps);var Gl={},Hl=Ps,Kl=Object.prototype.hasOwnProperty,Rr=typeof Map!="undefined";function Zt(){this._array=[],this._set=Rr?new Map:Object.create(null)}Zt.fromArray=function(e,t){for(var s=new Zt,i=0,n=e.length;i<n;i++)s.add(e[i],t);return s};Zt.prototype.size=function(){return Rr?this._set.size:Object.getOwnPropertyNames(this._set).length};Zt.prototype.add=function(e,t){var s=Rr?e:Hl.toSetString(e),i=Rr?this.has(e):Kl.call(this._set,s),n=this._array.length;(!i||t)&&this._array.push(e),i||(Rr?this._set.set(e,n):this._set[s]=n)};Zt.prototype.has=function(e){if(Rr)return this._set.has(e);var t=Hl.toSetString(e);return Kl.call(this._set,t)};Zt.prototype.indexOf=function(e){if(Rr){var t=this._set.get(e);if(t>=0)return t}else{var s=Hl.toSetString(e);if(Kl.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')};Zt.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Zt.prototype.toArray=function(){return this._array.slice()};Gl.ArraySet=Zt;var Lf={},Df=Ps;function Yb(r,e){var t=r.generatedLine,s=e.generatedLine,i=r.generatedColumn,n=e.generatedColumn;return s>t||s==t&&n>=i||Df.compareByGeneratedPositionsInflated(r,e)<=0}function ya(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}ya.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};ya.prototype.add=function(e){Yb(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};ya.prototype.toArray=function(){return this._sorted||(this._array.sort(Df.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Lf.MappingList=ya;var Ai=ma,Ie=Ps,ga=Gl.ArraySet,Jb=Lf.MappingList;function ft(r){r||(r={}),this._file=Ie.getArg(r,"file",null),this._sourceRoot=Ie.getArg(r,"sourceRoot",null),this._skipValidation=Ie.getArg(r,"skipValidation",!1),this._sources=new ga,this._names=new ga,this._mappings=new Jb,this._sourcesContents=null}ft.prototype._version=3;ft.fromSourceMap=function(e){var t=e.sourceRoot,s=new ft({file:e.file,sourceRoot:t});return e.eachMapping(function(i){var n={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(n.source=i.source,t!=null&&(n.source=Ie.relative(t,n.source)),n.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(n.name=i.name)),s.addMapping(n)}),e.sources.forEach(function(i){var n=i;t!==null&&(n=Ie.relative(t,i)),s._sources.has(n)||s._sources.add(n);var a=e.sourceContentFor(i);a!=null&&s.setSourceContent(i,a)}),s};ft.prototype.addMapping=function(e){var t=Ie.getArg(e,"generated"),s=Ie.getArg(e,"original",null),i=Ie.getArg(e,"source",null),n=Ie.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,s,i,n),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:i,name:n})};ft.prototype.setSourceContent=function(e,t){var s=e;this._sourceRoot!=null&&(s=Ie.relative(this._sourceRoot,s)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ie.toSetString(s)]=t):this._sourcesContents&&(delete this._sourcesContents[Ie.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ft.prototype.applySourceMap=function(e,t,s){var i=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var n=this._sourceRoot;n!=null&&(i=Ie.relative(n,i));var a=new ga,o=new ga;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,s!=null&&(l.source=Ie.join(s,l.source)),n!=null&&(l.source=Ie.relative(n,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var c=l.source;c!=null&&!a.has(c)&&a.add(c);var p=l.name;p!=null&&!o.has(p)&&o.add(p)},this),this._sources=a,this._names=o,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(s!=null&&(l=Ie.join(s,l)),n!=null&&(l=Ie.relative(n,l)),this.setSourceContent(l,u))},this)};ft.prototype._validateMapping=function(e,t,s,i){if(t&&typeof t.line!="number"&&typeof t.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(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!s&&!i)){if(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&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:i}))}};ft.prototype._serializeMappings=function(){for(var e=0,t=1,s=0,i=0,n=0,a=0,o="",l,u,c,p,h=this._mappings.toArray(),f=0,g=h.length;f<g;f++){if(u=h[f],l="",u.generatedLine!==t)for(e=0;u.generatedLine!==t;)l+=";",t++;else if(f>0){if(!Ie.compareByGeneratedPositionsInflated(u,h[f-1]))continue;l+=","}l+=Ai.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),l+=Ai.encode(p-a),a=p,l+=Ai.encode(u.originalLine-1-i),i=u.originalLine-1,l+=Ai.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=Ai.encode(c-n),n=c)),o+=l}return o};ft.prototype._generateSourcesContent=function(e,t){return e.map(function(s){if(!this._sourcesContents)return null;t!=null&&(s=Ie.relative(t,s));var i=Ie.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};ft.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};ft.prototype.toString=function(){return JSON.stringify(this.toJSON())};Vl.SourceMapGenerator=ft;var va={},Mf={};(function(r){r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2;function e(t,s,i,n,a,o){var l=Math.floor((s-t)/2)+t,u=a(i,n[l],!0);return u===0?l:u>0?s-l>1?e(l,s,i,n,a,o):o==r.LEAST_UPPER_BOUND?s<n.length?s:-1:l:l-t>1?e(t,l,i,n,a,o):o==r.LEAST_UPPER_BOUND?l:t<0?-1:t}r.search=function(s,i,n,a){if(i.length===0)return-1;var o=e(-1,i.length,s,i,n,a||r.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&n(i[o],i[o-1],!0)===0;)--o;return o}})(Mf);var Rf={};function Qb(r){function e(i,n,a){var o=i[n];i[n]=i[a],i[a]=o}function t(i,n){return Math.round(i+Math.random()*(n-i))}function s(i,n,a,o){if(a<o){var l=t(a,o),u=a-1;e(i,l,o);for(var c=i[o],p=a;p<o;p++)n(i[p],c,!1)<=0&&(u+=1,e(i,u,p));e(i,u+1,p);var h=u+1;s(i,n,a,h-1),s(i,n,h+1,o)}}return s}function Xb(r){let e=Qb.toString();return new Function(`return ${e}`)()(r)}var $f=new WeakMap;Rf.quickSort=function(r,e,t=0){let s=$f.get(e);s===void 0&&(s=Xb(e),$f.set(e,s)),s(r,e,t,r.length-1)};var H=Ps,Yl=Mf,Ts=Gl.ArraySet,Zb=ma,Ci=Rf.quickSort;function Se(r,e){var t=r;return typeof r=="string"&&(t=H.parseSourceMapInput(r)),t.sections!=null?new Tt(t,e):new $e(t,e)}Se.fromSourceMap=function(r,e){return $e.fromSourceMap(r,e)};Se.prototype._version=3;Se.prototype.__generatedMappings=null;Object.defineProperty(Se.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Se.prototype.__originalMappings=null;Object.defineProperty(Se.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Se.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return s===";"||s===","};Se.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};Se.GENERATED_ORDER=1;Se.ORIGINAL_ORDER=2;Se.GREATEST_LOWER_BOUND=1;Se.LEAST_UPPER_BOUND=2;Se.prototype.eachMapping=function(e,t,s){var i=t||null,n=s||Se.GENERATED_ORDER,a;switch(n){case Se.GENERATED_ORDER:a=this._generatedMappings;break;case Se.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,l=e.bind(i),u=this._names,c=this._sources,p=this._sourceMapURL,h=0,f=a.length;h<f;h++){var g=a[h],d=g.source===null?null:c.at(g.source);d=H.computeSourceURL(o,d,p),l({source:d,generatedLine:g.generatedLine,generatedColumn:g.generatedColumn,originalLine:g.originalLine,originalColumn:g.originalColumn,name:g.name===null?null:u.at(g.name)})}};Se.prototype.allGeneratedPositionsFor=function(e){var t=H.getArg(e,"line"),s={source:H.getArg(e,"source"),originalLine:t,originalColumn:H.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var i=[],n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,Yl.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)i.push({line:H.getArg(a,"generatedLine",null),column:H.getArg(a,"generatedColumn",null),lastColumn:H.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==l;)i.push({line:H.getArg(a,"generatedLine",null),column:H.getArg(a,"generatedColumn",null),lastColumn:H.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return i};va.SourceMapConsumer=Se;function $e(r,e){var t=r;typeof r=="string"&&(t=H.parseSourceMapInput(r));var s=H.getArg(t,"version"),i=H.getArg(t,"sources"),n=H.getArg(t,"names",[]),a=H.getArg(t,"sourceRoot",null),o=H.getArg(t,"sourcesContent",null),l=H.getArg(t,"mappings"),u=H.getArg(t,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=H.normalize(a)),i=i.map(String).map(H.normalize).map(function(c){return a&&H.isAbsolute(a)&&H.isAbsolute(c)?H.relative(a,c):c}),this._names=Ts.fromArray(n.map(String),!0),this._sources=Ts.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return H.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=e,this.file=u}$e.prototype=Object.create(Se.prototype);$e.prototype.consumer=Se;$e.prototype._findSourceIndex=function(r){var e=r;if(this.sourceRoot!=null&&(e=H.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==r)return t;return-1};$e.fromSourceMap=function(e,t){var s=Object.create($e.prototype),i=s._names=Ts.fromArray(e._names.toArray(),!0),n=s._sources=Ts.fromArray(e._sources.toArray(),!0);s.sourceRoot=e._sourceRoot,s.sourcesContent=e._generateSourcesContent(s._sources.toArray(),s.sourceRoot),s.file=e._file,s._sourceMapURL=t,s._absoluteSources=s._sources.toArray().map(function(f){return H.computeSourceURL(s.sourceRoot,f,t)});for(var a=e._mappings.toArray().slice(),o=s.__generatedMappings=[],l=s.__originalMappings=[],u=0,c=a.length;u<c;u++){var p=a[u],h=new Ff;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=n.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=i.indexOf(p.name)),l.push(h)),o.push(h)}return Ci(s.__originalMappings,H.compareByOriginalPositions),s};$e.prototype._version=3;Object.defineProperty($e.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Ff(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var Jl=H.compareByGeneratedPositionsDeflatedNoLine;function Bf(r,e){let t=r.length,s=r.length-e;if(!(s<=1))if(s==2){let i=r[e],n=r[e+1];Jl(i,n)>0&&(r[e]=n,r[e+1]=i)}else if(s<20)for(let i=e;i<t;i++)for(let n=i;n>e;n--){let a=r[n-1],o=r[n];if(Jl(a,o)<=0)break;r[n-1]=o,r[n]=a}else Ci(r,Jl,e)}$e.prototype._parseMappings=function(e,t){var s=1,i=0,n=0,a=0,o=0,l=0,u=e.length,c=0,p={},h=[],f=[],g,d,m,y;let E=0;for(;c<u;)if(e.charAt(c)===";")s++,c++,i=0,Bf(f,E),E=f.length;else if(e.charAt(c)===",")c++;else{for(g=new Ff,g.generatedLine=s,m=c;m<u&&!this._charIsMappingSeparator(e,m);m++);for(e.slice(c,m),d=[];c<m;)Zb.decode(e,c,p),y=p.value,c=p.rest,d.push(y);if(d.length===2)throw new Error("Found a source, but no line and column");if(d.length===3)throw new Error("Found a source and line, but no column");if(g.generatedColumn=i+d[0],i=g.generatedColumn,d.length>1&&(g.source=o+d[1],o+=d[1],g.originalLine=n+d[2],n=g.originalLine,g.originalLine+=1,g.originalColumn=a+d[3],a=g.originalColumn,d.length>4&&(g.name=l+d[4],l+=d[4])),f.push(g),typeof g.originalLine=="number"){let v=g.source;for(;h.length<=v;)h.push(null);h[v]===null&&(h[v]=[]),h[v].push(g)}}Bf(f,E),this.__generatedMappings=f;for(var S=0;S<h.length;S++)h[S]!=null&&Ci(h[S],H.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...h)};$e.prototype._findMapping=function(e,t,s,i,n,a){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Yl.search(e,t,n,a)};$e.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};$e.prototype.originalPositionFor=function(e){var t={generatedLine:H.getArg(e,"line"),generatedColumn:H.getArg(e,"column")},s=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",H.compareByGeneratedPositionsDeflated,H.getArg(e,"bias",Se.GREATEST_LOWER_BOUND));if(s>=0){var i=this._generatedMappings[s];if(i.generatedLine===t.generatedLine){var n=H.getArg(i,"source",null);n!==null&&(n=this._sources.at(n),n=H.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=H.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:H.getArg(i,"originalLine",null),column:H.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};$e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};$e.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var i=e;this.sourceRoot!=null&&(i=H.relative(this.sourceRoot,i));var n;if(this.sourceRoot!=null&&(n=H.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')};$e.prototype.generatedPositionFor=function(e){var t=H.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var s={source:t,originalLine:H.getArg(e,"line"),originalColumn:H.getArg(e,"column")},i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,H.getArg(e,"bias",Se.GREATEST_LOWER_BOUND));if(i>=0){var n=this._originalMappings[i];if(n.source===s.source)return{line:H.getArg(n,"generatedLine",null),column:H.getArg(n,"generatedColumn",null),lastColumn:H.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};va.BasicSourceMapConsumer=$e;function Tt(r,e){var t=r;typeof r=="string"&&(t=H.parseSourceMapInput(r));var s=H.getArg(t,"version"),i=H.getArg(t,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Ts,this._names=new Ts;var n={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=H.getArg(a,"offset"),l=H.getArg(o,"line"),u=H.getArg(o,"column");if(l<n.line||l===n.line&&u<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new Se(H.getArg(a,"map"),e)}})}Tt.prototype=Object.create(Se.prototype);Tt.prototype.constructor=Se;Tt.prototype._version=3;Object.defineProperty(Tt.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)r.push(this._sections[e].consumer.sources[t]);return r}});Tt.prototype.originalPositionFor=function(e){var t={generatedLine:H.getArg(e,"line"),generatedColumn:H.getArg(e,"column")},s=Yl.search(t,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),i=this._sections[s];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Tt.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Tt.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var i=this._sections[s],n=i.consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Tt.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var s=this._sections[t];if(s.consumer._findSourceIndex(H.getArg(e,"source"))!==-1){var i=s.consumer.generatedPositionFor(e);if(i){var n={line:i.line+(s.generatedOffset.generatedLine-1),column:i.column+(s.generatedOffset.generatedLine===i.line?s.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};Tt.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var i=this._sections[s],n=i.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],l=i.consumer._sources.at(o.source);l=H.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;o.name&&(u=i.consumer._names.at(o.name),this._names.add(u),u=this._names.indexOf(u));var c={source:l,generatedLine:o.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(i.generatedOffset.generatedLine===o.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:u};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}Ci(this.__generatedMappings,H.compareByGeneratedPositionsDeflated),Ci(this.__originalMappings,H.compareByOriginalPositions)};va.IndexedSourceMapConsumer=Tt;var Uf={},e1=Vl.SourceMapGenerator,Sa=Ps,t1=/(\r?\n)/,r1=10,xs="$$$isSourceNode$$$";function lt(r,e,t,s,i){this.children=[],this.sourceContents={},this.line=r??null,this.column=e??null,this.source=t??null,this.name=i??null,this[xs]=!0,s!=null&&this.add(s)}lt.fromStringWithSourceMap=function(e,t,s){var i=new lt,n=e.split(t1),a=0,o=function(){var h=g(),f=g()||"";return h+f;function g(){return a<n.length?n[a++]:void 0}},l=1,u=0,c=null;return t.eachMapping(function(h){if(c!==null)if(l<h.generatedLine)p(c,o()),l++,u=0;else{var f=n[a]||"",g=f.substr(0,h.generatedColumn-u);n[a]=f.substr(h.generatedColumn-u),u=h.generatedColumn,p(c,g),c=h;return}for(;l<h.generatedLine;)i.add(o()),l++;if(u<h.generatedColumn){var f=n[a]||"";i.add(f.substr(0,h.generatedColumn)),n[a]=f.substr(h.generatedColumn),u=h.generatedColumn}c=h},this),a<n.length&&(c&&p(c,o()),i.add(n.splice(a).join(""))),t.sources.forEach(function(h){var f=t.sourceContentFor(h);f!=null&&(s!=null&&(h=Sa.join(s,h)),i.setSourceContent(h,f))}),i;function p(h,f){if(h===null||h.source===void 0)i.add(f);else{var g=s?Sa.join(s,h.source):h.source;i.add(new lt(h.originalLine,h.originalColumn,g,f,h.name))}}};lt.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[xs]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};lt.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[xs]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};lt.prototype.walk=function(e){for(var t,s=0,i=this.children.length;s<i;s++)t=this.children[s],t[xs]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};lt.prototype.join=function(e){var t,s,i=this.children.length;if(i>0){for(t=[],s=0;s<i-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this};lt.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[xs]?s.replaceRight(e,t):typeof s=="string"?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this};lt.prototype.setSourceContent=function(e,t){this.sourceContents[Sa.toSetString(e)]=t};lt.prototype.walkSourceContents=function(e){for(var t=0,s=this.children.length;t<s;t++)this.children[t][xs]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,s=i.length;t<s;t++)e(Sa.fromSetString(i[t]),this.sourceContents[i[t]])};lt.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};lt.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},s=new e1(e),i=!1,n=null,a=null,o=null,l=null;return this.walk(function(u,c){t.code+=u,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||l!==c.name)&&s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,a=c.line,o=c.column,l=c.name,i=!0):i&&(s.addMapping({generated:{line:t.line,column:t.column}}),n=null,i=!1);for(var p=0,h=u.length;p<h;p++)u.charCodeAt(p)===r1?(t.line++,t.column=0,p+1===h?(n=null,i=!1):i&&s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++}),this.walkSourceContents(function(u,c){s.setSourceContent(u,c)}),{code:t.code,map:s}};Uf.SourceNode=lt;var Ql=Es.SourceMapGenerator=Vl.SourceMapGenerator,jf=Es.SourceMapConsumer=va.SourceMapConsumer;Es.SourceNode=Uf.SourceNode;var _i="/*#__PURE__*/",ba=r=>`${Xe[r]}: _${Xe[r]}`;function qf(r,{mode:e="function",prefixIdentifiers:t=e==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:n=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:c=!1,isTS:p=!1,inSSR:h=!1}){let f={mode:e,prefixIdentifiers:t,sourceMap:s,filename:i,scopeId:n,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:l,ssrRuntimeModuleName:u,ssr:c,isTS:p,inSSR:h,source:r.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(m){return`_${Xe[m]}`},push(m,y){if(f.code+=m,f.map){if(y){let E;if(y.type===4&&!y.isStatic){let S=y.content.replace(/^_ctx\./,"");S!==y.content&&Sr(S)&&(E=S)}d(y.loc.start,E)}vs(f,m),y&&y.loc!==Ee&&d(y.loc.end)}},indent(){g(++f.indentLevel)},deindent(m=!1){m?--f.indentLevel:g(--f.indentLevel)},newline(){g(f.indentLevel)}};function g(m){f.push(`
13
+ `+" ".repeat(m))}function d(m,y){f.map.addMapping({name:y,source:f.filename,original:{line:m.line,column:m.column-1},generated:{line:f.line,column:f.column-1}})}return s&&(f.map=new Ql,f.map.setSourceContent(i,f.source)),f}function Xl(r,e={}){let t=qf(r,e);e.onContextCreated&&e.onContextCreated(t);let{mode:s,push:i,prefixIdentifiers:n,indent:a,deindent:o,newline:l,scopeId:u,ssr:c}=t,p=Array.from(r.helpers),h=p.length>0,f=!n&&s!=="module",g=u!=null&&s==="module",d=!!e.inline,m=d?qf(r,e):t;s==="module"?i1(r,m,g,d):s1(r,m);let y=c?"ssrRender":"render",E=c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];e.bindingMetadata&&!e.inline&&E.push("$props","$setup","$data","$options");let S=e.isTS?E.map(v=>`${v}: any`).join(","):E.join(", ");if(i(d?`(${S}) => {`:`function ${y}(${S}) {`),a(),f&&(i("with (_ctx) {"),a(),h&&(i(`const { ${p.map(ba).join(", ")} } = _Vue`),i(`
14
+ `),l())),r.components.length&&(Vf(r.components,"component",t),(r.directives.length||r.temps>0)&&l()),r.directives.length&&(Vf(r.directives,"directive",t),r.temps>0&&l()),r.temps>0){i("let ");for(let v=0;v<r.temps;v++)i(`${v>0?", ":""}_temp${v}`)}return(r.components.length||r.directives.length||r.temps)&&(i(`
15
+ `),l()),c||i("return "),r.codegenNode?Pe(r.codegenNode,t):i("null"),f&&(o(),i("}")),o(),i("}"),{ast:r,code:t.code,preamble:d?m.code:"",map:t.map?t.map.toJSON():void 0}}function s1(r,e){let{ssr:t,prefixIdentifiers:s,push:i,newline:n,runtimeModuleName:a,runtimeGlobalName:o,ssrRuntimeModuleName:l}=e,u=t?`require(${JSON.stringify(a)})`:o,c=Array.from(r.helpers);if(c.length>0){if(s)i(`const { ${c.map(ba).join(", ")} } = ${u}
16
+ `);else if(i(`const _Vue = ${u}
17
+ `),r.hoists.length){let p=[Zs,xn,rs,An,Cn].filter(h=>c.includes(h)).map(ba).join(", ");i(`const { ${p} } = _Vue
18
+ `)}}r.ssrHelpers&&r.ssrHelpers.length&&i(`const { ${r.ssrHelpers.map(ba).join(", ")} } = require("${l}")
19
+ `),zf(r.hoists,e),n(),i("return ")}function i1(r,e,t,s){let{push:i,newline:n,optimizeImports:a,runtimeModuleName:o,ssrRuntimeModuleName:l}=e;if(t&&r.hoists.length&&(r.helpers.add(Rn),r.helpers.add($n)),r.helpers.size){let u=Array.from(r.helpers);a?(i(`import { ${u.map(c=>Xe[c]).join(", ")} } from ${JSON.stringify(o)}
20
+ `),i(`
21
+ // Binding optimization for webpack code-split
22
+ const ${u.map(c=>`_${Xe[c]} = ${Xe[c]}`).join(", ")}
23
+ `)):i(`import { ${u.map(c=>`${Xe[c]} as _${Xe[c]}`).join(", ")} } from ${JSON.stringify(o)}
24
+ `)}r.ssrHelpers&&r.ssrHelpers.length&&i(`import { ${r.ssrHelpers.map(u=>`${Xe[u]} as _${Xe[u]}`).join(", ")} } from "${l}"
25
+ `),r.imports.length&&(n1(r.imports,e),n()),zf(r.hoists,e),n(),s||i("export ")}function Vf(r,e,{helper:t,push:s,newline:i,isTS:n}){let a=t(e==="component"?ei:_n);for(let o=0;o<r.length;o++){let l=r[o],u=l.endsWith("__self");u&&(l=l.slice(0,-6)),s(`const ${bi(l,e)} = ${a}(${JSON.stringify(l)}${u?", true":""})${n?"!":""}`),o<r.length-1&&i()}}function zf(r,e){if(!r.length)return;e.pure=!0;let{push:t,newline:s,helper:i,scopeId:n,mode:a}=e,o=n!=null&&a!=="function";s(),o&&(t(`const _withScopeId = n => (${i(Rn)}("${n}"),n=n(),${i($n)}(),n)`),s());for(let l=0;l<r.length;l++){let u=r[l];if(u){let c=o&&u.type===13;t(`const _hoisted_${l+1} = ${c?`${_i} _withScopeId(() => `:""}`),Pe(u,e),c&&t(")"),s()}}e.pure=!1}function n1(r,e){!r.length||r.forEach(t=>{e.push("import "),Pe(t.exp,e),e.push(` from '${t.path}'`),e.newline()})}function a1(r){return le(r)||r.type===4||r.type===2||r.type===5||r.type===8}function wa(r,e){let t=r.length>3||r.some(s=>Ge(s)||!a1(s));e.push("["),t&&e.indent(),As(r,e,t),t&&e.deindent(),e.push("]")}function As(r,e,t=!1,s=!0){let{push:i,newline:n}=e;for(let a=0;a<r.length;a++){let o=r[a];le(o)?i(o):Ge(o)?wa(o,e):Pe(o,e),a<r.length-1&&(t?(s&&i(","),n()):s&&i(", "))}}function Pe(r,e){if(le(r)){e.push(r);return}if(Qr(r)){e.push(e.helper(r));return}switch(r.type){case 1:case 9:case 11:$l(r.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Pe(r.codegenNode,e);break;case 2:o1(r,e);break;case 4:Wf(r,e);break;case 5:l1(r,e);break;case 12:Pe(r.codegenNode,e);break;case 8:Gf(r,e);break;case 3:c1(r,e);break;case 13:p1(r,e);break;case 14:f1(r,e);break;case 15:d1(r,e);break;case 17:m1(r,e);break;case 18:y1(r,e);break;case 19:g1(r,e);break;case 20:v1(r,e);break;case 21:As(r.body,e,!0,!1);break;case 22:S1(r,e);break;case 23:Hf(r,e);break;case 24:b1(r,e);break;case 25:w1(r,e);break;case 26:E1(r,e);break;case 10:break;default:return $l(!1,`unhandled codegen node type: ${r.type}`),r}}function o1(r,e){e.push(JSON.stringify(r.content),r)}function Wf(r,e){let{content:t,isStatic:s}=r;e.push(s?JSON.stringify(t):t,r)}function l1(r,e){let{push:t,helper:s,pure:i}=e;i&&t(_i),t(`${s(ti)}(`),Pe(r.content,e),t(")")}function Gf(r,e){for(let t=0;t<r.children.length;t++){let s=r.children[t];le(s)?e.push(s):Pe(s,e)}}function u1(r,e){let{push:t}=e;if(r.type===8)t("["),Gf(r,e),t("]");else if(r.isStatic){let s=Sr(r.content)?r.content:JSON.stringify(r.content);t(s,r)}else t(`[${r.content}]`,r)}function c1(r,e){let{push:t,helper:s,pure:i}=e;i&&t(_i),t(`${s(rs)}(${JSON.stringify(r.content)})`,r)}function p1(r,e){let{push:t,helper:s,pure:i}=e,{tag:n,props:a,children:o,patchFlag:l,dynamicProps:u,directives:c,isBlock:p,disableTracking:h,isComponent:f}=r;c&&t(s(In)+"("),p&&t(`(${s(fr)}(${h?"true":""}), `),i&&t(_i);let g=p?_r(e.inSSR,f):Cr(e.inSSR,f);t(s(g)+"(",r),As(h1([n,a,o,l,u]),e),t(")"),p&&t(")"),c&&(t(", "),Pe(c,e),t(")"))}function h1(r){let e=r.length;for(;e--&&r[e]==null;);return r.slice(0,e+1).map(t=>t||"null")}function f1(r,e){let{push:t,helper:s,pure:i}=e,n=le(r.callee)?r.callee:s(r.callee);i&&t(_i),t(n+"(",r),As(r.arguments,e),t(")")}function d1(r,e){let{push:t,indent:s,deindent:i,newline:n}=e,{properties:a}=r;if(!a.length){t("{}",r);return}let o=a.length>1||a.some(l=>l.value.type!==4);t(o?"{":"{ "),o&&s();for(let l=0;l<a.length;l++){let{key:u,value:c}=a[l];u1(u,e),t(": "),Pe(c,e),l<a.length-1&&(t(","),n())}o&&i(),t(o?"}":" }")}function m1(r,e){wa(r.elements,e)}function y1(r,e){let{push:t,indent:s,deindent:i}=e,{params:n,returns:a,body:o,newline:l,isSlot:u}=r;u&&t(`_${Xe[Fn]}(`),t("(",r),Ge(n)?As(n,e):n&&Pe(n,e),t(") => "),(l||o)&&(t("{"),s()),a?(l&&t("return "),Ge(a)?wa(a,e):Pe(a,e)):o&&Pe(o,e),(l||o)&&(i(),t("}")),u&&t(")")}function g1(r,e){let{test:t,consequent:s,alternate:i,newline:n}=r,{push:a,indent:o,deindent:l,newline:u}=e;if(t.type===4){let p=!Sr(t.content);p&&a("("),Wf(t,e),p&&a(")")}else a("("),Pe(t,e),a(")");n&&o(),e.indentLevel++,n||a(" "),a("? "),Pe(s,e),e.indentLevel--,n&&u(),n||a(" "),a(": ");let c=i.type===19;c||e.indentLevel++,Pe(i,e),c||e.indentLevel--,n&&l(!0)}function v1(r,e){let{push:t,helper:s,indent:i,deindent:n,newline:a}=e;t(`_cache[${r.index}] || (`),r.isVNode&&(i(),t(`${s(ri)}(-1),`),a()),t(`_cache[${r.index}] = `),Pe(r.value,e),r.isVNode&&(t(","),a(),t(`${s(ri)}(1),`),a(),t(`_cache[${r.index}]`),n()),t(")")}function S1(r,e){let{push:t,indent:s,deindent:i}=e;t("`");let n=r.elements.length,a=n>3;for(let o=0;o<n;o++){let l=r.elements[o];le(l)?t(l.replace(/(`|\$|\\)/g,"\\$1")):(t("${"),a&&s(),Pe(l,e),a&&i(),t("}"))}t("`")}function Hf(r,e){let{push:t,indent:s,deindent:i}=e,{test:n,consequent:a,alternate:o}=r;t("if ("),Pe(n,e),t(") {"),s(),Pe(a,e),i(),t("}"),o&&(t(" else "),o.type===23?Hf(o,e):(t("{"),s(),Pe(o,e),i(),t("}")))}function b1(r,e){Pe(r.left,e),e.push(" = "),Pe(r.right,e)}function w1(r,e){e.push("("),As(r.expressions,e),e.push(")")}function E1({returns:r},e){e.push("return "),Ge(r)?wa(r,e):Pe(r,e)}var Kf=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,s,i){e&&(s!==null?e[t][s]=i:e[t]=i)}remove(e,t,s){e&&(s!==null?e[t].splice(s,1):delete e[t])}},Yf=class extends Kf{constructor(e,t){super();this.enter=e,this.leave=t}visit(e,t,s,i){if(e){if(this.enter){let n=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,s,i),this.replacement&&(e=this.replacement,this.replace(t,s,i,e)),this.should_remove&&this.remove(t,s,i);let l=this.should_skip,u=this.should_remove;if(this.should_skip=n,this.should_remove=a,this.replacement=o,l)return e;if(u)return null}for(let n in e){let a=e[n];if(typeof a=="object")if(Array.isArray(a))for(let o=0;o<a.length;o+=1)a[o]!==null&&typeof a[o].type=="string"&&(this.visit(a[o],e,n,o)||o--);else a!==null&&typeof a.type=="string"&&this.visit(a,e,n,null)}if(this.leave){let n=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,s,i),this.replacement&&(e=this.replacement,this.replace(t,s,i,e)),this.should_remove&&this.remove(t,s,i);let o=this.should_remove;if(this.replacement=n,this.should_remove=a,o)return null}}return e}};function Ii(r,{enter:e,leave:t}){return new Yf(e,t).visit(r,null)}function Oi(r,e,t=!1,s=[],i=Object.create(null)){let n=r.type==="Program"&&r.body[0].type==="ExpressionStatement"&&r.body[0].expression;Ii(r,{enter(a,o){if(o&&s.push(o),o&&o.type.startsWith("TS")&&!Zl.includes(o.type))return this.skip();if(a.type==="Identifier"){let l=!!i[a.name],u=Ea(a,o,s);(t||u&&!l)&&e(a,o,s,u,l)}else a.type==="ObjectProperty"&&o.type==="ObjectPattern"?a.inPattern=!0:dt(a)?Pa(a,l=>Qf(a,l,i)):a.type==="BlockStatement"&&Jf(a,l=>Qf(a,l,i))},leave(a,o){if(o&&s.pop(),a!==n&&a.scopeIds)for(let l of a.scopeIds)i[l]--,i[l]===0&&delete i[l]}})}function Ea(r,e,t){if(!e)return!0;if(r.name==="arguments")return!1;if(P1(r,e))return!0;switch(e.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return Cs(e,t)}return!1}function Cs(r,e){if(r&&(r.type==="ObjectProperty"||r.type==="ArrayPattern")){let t=e.length;for(;t--;){let s=e[t];if(s.type==="AssignmentExpression")return!0;if(s.type!=="ObjectProperty"&&!s.type.endsWith("Pattern"))break}}return!1}function Pa(r,e){for(let t of r.params)for(let s of xt(t))e(s)}function Jf(r,e){for(let t of r.body)if(t.type==="VariableDeclaration"){if(t.declare)continue;for(let s of t.declarations)for(let i of xt(s.id))e(i)}else if(t.type==="FunctionDeclaration"||t.type==="ClassDeclaration"){if(t.declare||!t.id)continue;e(t.id)}}function xt(r,e=[]){switch(r.type){case"Identifier":e.push(r);break;case"MemberExpression":let t=r;for(;t.type==="MemberExpression";)t=t.object;e.push(t);break;case"ObjectPattern":for(let s of r.properties)s.type==="RestElement"?xt(s.argument,e):xt(s.value,e);break;case"ArrayPattern":r.elements.forEach(s=>{s&&xt(s,e)});break;case"RestElement":xt(r.argument,e);break;case"AssignmentPattern":xt(r.left,e);break}return e}function Qf(r,e,t){let{name:s}=e;r.scopeIds&&r.scopeIds.has(s)||(s in t?t[s]++:t[s]=1,(r.scopeIds||(r.scopeIds=new Set)).add(s))}var dt=r=>/Function(?:Expression|Declaration)$|Method$/.test(r.type),_s=r=>r&&(r.type==="ObjectProperty"||r.type==="ObjectMethod")&&!r.computed,Xf=(r,e)=>_s(e)&&e.key===r;function P1(r,e,t){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===r?!!e.computed:e.object===r;case"JSXMemberExpression":return e.object===r;case"VariableDeclarator":return e.init===r;case"ArrowFunctionExpression":return e.body===r;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===r?!!e.computed:!1;case"ObjectProperty":return e.key===r?!!e.computed:!t||t.type!=="ObjectPattern";case"ClassProperty":return e.key===r?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==r;case"ClassDeclaration":case"ClassExpression":return e.superClass===r;case"AssignmentExpression":return e.right===r;case"AssignmentPattern":return e.right===r;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(t==null?void 0:t.source)?!1:e.local===r;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!==r;case"TSEnumMember":return e.id!==r;case"TSPropertySignature":return e.key===r?!!e.computed:!0}return!0}var Zl=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],T1=De("true,false,null,this"),x1=/\w\s*\(|\.[^\d]/,eu=(r,e)=>{if(r.type===5)r.content=Ye(r.content,e);else if(r.type===1)for(let t=0;t<r.props.length;t++){let s=r.props[t];if(s.type===7&&s.name!=="for"){let i=s.exp,n=s.arg;i&&i.type===4&&!(s.name==="on"&&n)&&(s.exp=Ye(i,e,s.name==="slot")),n&&n.type===4&&!n.isStatic&&(s.arg=Ye(n,e))}}};function Ye(r,e,t=!1,s=!1,i=Object.create(e.identifiers)){if(!e.prefixIdentifiers||!r.content.trim())return r;let{inline:n,bindingMetadata:a}=e,o=(y,E,S)=>{let v=Pn(a,y)&&a[y];if(n){let b=E&&E.type==="AssignmentExpression"&&E.left===S,I=E&&E.type==="UpdateExpression"&&E.argument===S,O=E&&Cs(E,f);if(Zf(v)||v==="setup-reactive-const"||i[y])return y;if(v==="setup-ref")return`${y}.value`;if(v==="setup-maybe-ref")return b||I||O?`${y}.value`:`${e.helperString(as)}(${y})`;if(v==="setup-let")if(b){let{right:w,operator:P}=E,T=l.slice(w.start-1,w.end-1),C=Ta(Ye(j(T,!1),e,!1,!1,g));return`${e.helperString(si)}(${y})${e.isTS?` //@ts-ignore
26
+ `:""} ? ${y}.value ${P} ${C} : ${y}`}else if(I){S.start=E.start,S.end=E.end;let{prefix:w,operator:P}=E,T=w?P:"",C=w?"":P;return`${e.helperString(si)}(${y})${e.isTS?` //@ts-ignore
27
+ `:""} ? ${T}${y}.value${C} : ${T}${y}${C}`}else return O?y:`${e.helperString(as)}(${y})`;else{if(v==="props")return Xr(y);if(v==="props-aliased")return Xr(a.__propsAliases[y])}}else{if(v&&v.startsWith("setup")||v==="literal-const")return`$setup.${y}`;if(v==="props-aliased")return`$props['${a.__propsAliases[y]}']`;if(v)return`$${v}.${y}`}return`_ctx.${y}`},l=r.content,u=x1.test(l);if(Sr(l)){let y=e.identifiers[l],E=Gp(l),S=T1(l);return!t&&!y&&!E&&!S?(Zf(a[r.content])&&(r.constType=1),r.content=o(l)):y||(S?r.constType=3:r.constType=2),r}let c,p=s?` ${l} `:`(${l})${t?"=>{}":""}`;try{c=Dr(p,{plugins:e.expressionPlugins}).program}catch(y){return e.onError(pe(45,r.loc,void 0,y.message)),r}let h=[],f=[],g=Object.create(e.identifiers);Oi(c,(y,E,S,v,b)=>{if(Xf(y,E))return;let I=v&&A1(y);I&&!b?(_s(E)&&E.shorthand&&(y.prefix=`${y.name}: `),y.name=o(y.name,E,y),h.push(y)):(!(I&&b)&&!u&&(y.isConstant=!0),h.push(y))},!0,f,g);let d=[];h.sort((y,E)=>y.start-E.start),h.forEach((y,E)=>{let S=y.start-1,v=y.end-1,b=h[E-1],I=l.slice(b?b.end-1:0,S);(I.length||y.prefix)&&d.push(I+(y.prefix||""));let O=l.slice(S,v);d.push(j(y.name,!1,{source:O,start:Mr(r.loc.start,O,S),end:Mr(r.loc.start,O,v)},y.isConstant?3:0)),E===h.length-1&&v<l.length&&d.push(l.slice(v))});let m;return d.length?m=Me(d,r.loc):(m=r,m.constType=u?0:3),m.identifiers=Object.keys(g),m}function A1(r){return!(Gp(r.name)||r.name==="require")}function Ta(r){return le(r)?r:r.type===4?r.content:r.children.map(Ta).join("")}function Zf(r){return r==="setup-const"||r==="literal-const"}var C1=xi(/^(if|else|else-if)$/,(r,e,t)=>tu(r,e,t,(s,i,n)=>{let a=t.parent.children,o=a.indexOf(s),l=0;for(;o-->=0;){let u=a[o];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(n)s.codegenNode=td(i,l,t);else{let u=I1(s.codegenNode);u.alternate=td(i,l+s.branches.length-1,t)}}}));function tu(r,e,t,s){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){let i=e.exp?e.exp.loc:r.loc;t.onError(pe(28,e.loc)),e.exp=j("true",!1,i)}if(t.prefixIdentifiers&&e.exp&&(e.exp=Ye(e.exp,t)),e.name==="if"){let i=ed(r,e),n={type:9,loc:r.loc,branches:[i]};if(t.replaceNode(n),s)return s(n,i,!0)}else{let i=t.parent.children,n=[],a=i.indexOf(r);for(;a-->=-1;){let o=i[a];if(o&&o.type===3){t.removeNode(o),n.unshift(o);continue}if(o&&o.type===2&&!o.content.trim().length){t.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&t.onError(pe(30,r.loc)),t.removeNode();let l=ed(r,e);n.length&&!(t.parent&&t.parent.type===1&&Et(t.parent.tag,"transition"))&&(l.children=[...n,...l.children]);{let c=l.userKey;c&&o.branches.forEach(({userKey:p})=>{_1(p,c)&&t.onError(pe(29,l.userKey.loc))})}o.branches.push(l);let u=s&&s(o,l,!1);ws(l,t),u&&u(),t.currentNode=null}else t.onError(pe(30,r.loc));break}}}function ed(r,e){let t=r.tagType===3;return{type:10,loc:r.loc,condition:e.name==="else"?void 0:e.exp,children:t&&!ke(r,"for")?r.children:[r],userKey:et(r,"key"),isTemplateIf:t}}function td(r,e,t){return r.condition?dr(r.condition,rd(r,e,t),Z(t.helper(rs),['"v-if"',"true"])):rd(r,e,t)}function rd(r,e,t){let{helper:s}=t,i=fe("key",j(`${e}`,!1,Ee,2)),{children:n}=r,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let l=a.codegenNode;return Si(l,i,t),l}else{let l=64,u=Ot[64];return!r.isTemplateIf&&n.filter(c=>c.type!==3).length===1&&(l|=2048,u+=`, ${Ot[2048]}`),ls(t,s(es),Ze([i]),n,l+` /* ${u} */`,void 0,void 0,!0,!1,!1,r.loc)}else{let l=a.codegenNode,u=gf(l);return u.type===13&&qn(u,t),Si(u,i,t),l}}function _1(r,e){if(!r||r.type!==e.type)return!1;if(r.type===6){if(r.value.content!==e.value.content)return!1}else{let t=r.exp,s=e.exp;if(t.type!==s.type||t.type!==4||t.isStatic!==s.isStatic||t.content!==s.content)return!1}return!0}function I1(r){for(;;)if(r.type===19)if(r.alternate.type===19)r=r.alternate;else return r;else r.type===20&&(r=r.value)}var O1=xi("for",(r,e,t)=>{let{helper:s,removeHelper:i}=t;return ru(r,e,t,n=>{let a=Z(s(On),[n.source]),o=Ss(r),l=ke(r,"memo"),u=et(r,"key"),c=u&&(u.type===6?j(u.value.content,!0):u.exp),p=u?fe("key",c):null;o&&(l&&(l.exp=Ye(l.exp,t)),p&&u.type!==6&&(p.value=Ye(p.value,t)));let h=n.source.type===4&&n.source.constType>0,f=h?64:u?128:256;return n.codegenNode=ls(t,s(es),void 0,a,f+` /* ${Ot[f]} */`,void 0,void 0,!0,!h,!1,r.loc),()=>{let g,{children:d}=n;o&&r.children.some(E=>{if(E.type===1){let S=et(E,"key");if(S)return t.onError(pe(33,S.loc)),!0}});let m=d.length!==1||d[0].type!==1,y=bs(r)?r:o&&r.children.length===1&&bs(r.children[0])?r.children[0]:null;if(y?(g=y.codegenNode,o&&p&&Si(g,p,t)):m?g=ls(t,s(es),p?Ze([p]):void 0,r.children,64+` /* ${Ot[64]} */`,void 0,void 0,!0,void 0,!1):(g=d[0].codegenNode,o&&p&&Si(g,p,t),g.isBlock!==!h&&(g.isBlock?(i(fr),i(_r(t.inSSR,g.isComponent))):i(Cr(t.inSSR,g.isComponent))),g.isBlock=!h,g.isBlock?(s(fr),s(_r(t.inSSR,g.isComponent))):s(Cr(t.inSSR,g.isComponent))),l){let E=nt(Ni(n.parseResult,[j("_cached")]));E.body=ii([Me(["const _memo = (",l.exp,")"]),Me(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${t.helperString(Qo)}(_cached, _memo)) return _cached`]),Me(["const _item = ",g]),j("_item.memo = _memo"),j("return _item")]),a.arguments.push(E,j("_cache"),j(String(t.cached++)))}else a.arguments.push(nt(Ni(n.parseResult),g,!0))}})});function ru(r,e,t,s){if(!e.exp){t.onError(pe(31,e.loc));return}let i=su(e.exp,t);if(!i){t.onError(pe(32,e.loc));return}let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=t,{source:l,value:u,key:c,index:p}=i,h={type:11,loc:e.loc,source:l,valueAlias:u,keyAlias:c,objectIndexAlias:p,parseResult:i,children:Ss(r)?r.children:[r]};t.replaceNode(h),o.vFor++,t.prefixIdentifiers&&(u&&n(u),c&&n(c),p&&n(p));let f=s&&s(h);return()=>{o.vFor--,t.prefixIdentifiers&&(u&&a(u),c&&a(c),p&&a(p)),f&&f()}}var N1=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,sd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,k1=/^\(|\)$/g;function su(r,e){let t=r.loc,s=r.content,i=s.match(N1);if(!i)return;let[,n,a]=i,o={source:xa(t,a.trim(),s.indexOf(a,n.length)),value:void 0,key:void 0,index:void 0};e.prefixIdentifiers&&(o.source=Ye(o.source,e));let l=n.trim().replace(k1,"").trim(),u=n.indexOf(l),c=l.match(sd);if(c){l=l.replace(sd,"").trim();let p=c[1].trim(),h;if(p&&(h=s.indexOf(p,u+l.length),o.key=xa(t,p,h),e.prefixIdentifiers&&(o.key=Ye(o.key,e,!0))),c[2]){let f=c[2].trim();f&&(o.index=xa(t,f,s.indexOf(f,o.key?h+p.length:u+l.length)),e.prefixIdentifiers&&(o.index=Ye(o.index,e,!0)))}}return l&&(o.value=xa(t,l,u),e.prefixIdentifiers&&(o.value=Ye(o.value,e,!0))),o}function xa(r,e,t){return j(e,!1,Rl(r,t,e.length))}function Ni({value:r,key:e,index:t},s=[]){return L1([r,e,t,...s])}function L1(r){let e=r.length;for(;e--&&!r[e];);return r.slice(0,e+1).map((t,s)=>t||j("_".repeat(s+1),!1))}var id=j("undefined",!1),iu=(r,e)=>{if(r.type===1&&(r.tagType===1||r.tagType===3)){let t=ke(r,"slot");if(t){let s=t.exp;return e.prefixIdentifiers&&s&&e.addIdentifiers(s),e.scopes.vSlot++,()=>{e.prefixIdentifiers&&s&&e.removeIdentifiers(s),e.scopes.vSlot--}}}},nu=(r,e)=>{let t;if(Ss(r)&&r.props.some(Fl)&&(t=ke(r,"for"))){let s=t.parseResult=su(t.exp,e);if(s){let{value:i,key:n,index:a}=s,{addIdentifiers:o,removeIdentifiers:l}=e;return i&&o(i),n&&o(n),a&&o(a),()=>{i&&l(i),n&&l(n),a&&l(a)}}}},D1=(r,e,t)=>nt(r,e,!1,!0,e.length?e[0].loc:t);function ki(r,e,t=D1){e.helper(Fn);let{children:s,loc:i}=r,n=[],a=[],o=e.scopes.vSlot>0||e.scopes.vFor>0;!e.ssr&&e.prefixIdentifiers&&(o=tt(r,e.identifiers));let l=ke(r,"slot",!0);if(l){let{arg:m,exp:y}=l;m&&!Re(m)&&(o=!0),n.push(fe(m||j("default",!0),t(y,s,i)))}let u=!1,c=!1,p=[],h=new Set,f=0;for(let m=0;m<s.length;m++){let y=s[m],E;if(!Ss(y)||!(E=ke(y,"slot",!0))){y.type!==3&&p.push(y);continue}if(l){e.onError(pe(37,E.loc));break}u=!0;let{children:S,loc:v}=y,{arg:b=j("default",!0),exp:I,loc:O}=E,w;Re(b)?w=b?b.content:"default":o=!0;let P=t(I,S,v),T,C,B;if(T=ke(y,"if"))o=!0,a.push(dr(T.exp,Aa(b,P,f++),id));else if(C=ke(y,/^else(-if)?$/,!0)){let q=m,Q;for(;q--&&(Q=s[q],Q.type===3););if(Q&&Ss(Q)&&ke(Q,"if")){s.splice(m,1),m--;let V=a[a.length-1];for(;V.alternate.type===19;)V=V.alternate;V.alternate=C.exp?dr(C.exp,Aa(b,P,f++),id):Aa(b,P,f++)}else e.onError(pe(30,C.loc))}else if(B=ke(y,"for")){o=!0;let q=B.parseResult||su(B.exp,e);q?a.push(Z(e.helper(On),[q.source,nt(Ni(q),Aa(b,P),!0)])):e.onError(pe(32,B.loc))}else{if(w){if(h.has(w)){e.onError(pe(38,O));continue}h.add(w),w==="default"&&(c=!0)}n.push(fe(b,P))}}if(!l){let m=(y,E)=>{let S=t(y,E,i);return fe("default",S)};u?p.length&&p.some(y=>nd(y))&&(c?e.onError(pe(39,p[0].loc)):n.push(m(void 0,p))):n.push(m(void 0,s))}let g=o?2:Ca(r.children)?3:1,d=Ze(n.concat(fe("_",j(g+` /* ${vv[g]} */`,!1))),i);return a.length&&(d=Z(e.helper(Jo),[d,Ar(a)])),{slots:d,hasDynamicSlots:o}}function Aa(r,e,t){let s=[fe("name",r),fe("fn",e)];return t!=null&&s.push(fe("key",j(String(t),!0))),Ze(s)}function Ca(r){for(let e=0;e<r.length;e++){let t=r[e];switch(t.type){case 1:if(t.tagType===2||Ca(t.children))return!0;break;case 9:if(Ca(t.branches))return!0;break;case 10:case 11:if(Ca(t.children))return!0;break}}return!1}function nd(r){return r.type!==2&&r.type!==12?!0:r.type===2?!!r.content.trim():nd(r.content)}var ad=new WeakMap,od=(r,e)=>function(){if(r=e.currentNode,!(r.type===1&&(r.tagType===0||r.tagType===1)))return;let{tag:s,props:i}=r,n=r.tagType===1,a=n?_a(r,e):`"${s}"`,o=Vt(a)&&a.callee===ss,l,u,c,p=0,h,f,g,d=o||a===Tr||a===ts||!n&&(s==="svg"||s==="foreignObject");if(i.length>0){let m=Is(r,e,void 0,n,o);l=m.props,p=m.patchFlag,f=m.dynamicPropNames;let y=m.directives;g=y&&y.length?Ar(y.map(E=>ou(E,e))):void 0,m.shouldUseBlock&&(d=!0)}if(r.children.length>0)if(a===Xs&&(d=!0,p|=1024,r.children.length>1&&e.onError(pe(46,{start:r.children[0].loc.start,end:r.children[r.children.length-1].loc.end,source:""}))),n&&a!==Tr&&a!==Xs){let{slots:y,hasDynamicSlots:E}=ki(r,e);u=y,E&&(p|=1024)}else if(r.children.length===1&&a!==Tr){let y=r.children[0],E=y.type,S=E===5||E===8;S&&ot(y,e)===0&&(p|=1),S||E===2?u=y:u=r.children}else u=r.children;if(p!==0){if(p<0)c=p+` /* ${Ot[p]} */`;else{let m=Object.keys(Ot).map(Number).filter(y=>y>0&&p&y).map(y=>Ot[y]).join(", ");c=p+` /* ${m} */`}f&&f.length&&(h=R1(f))}r.codegenNode=ls(e,a,l,u,c,h,g,!!d,!1,n,r.loc)};function _a(r,e,t=!1){let{tag:s}=r,i=lu(s),n=et(r,"is");if(n)if(i){let l=n.type===6?n.value&&j(n.value.content,!0):n.exp;if(l)return Z(e.helper(ss),[l])}else n.type===6&&n.value.content.startsWith("vue:")&&(s=n.value.content.slice(4));let a=!i&&ke(r,"is");if(a&&a.exp)return e.onWarn(pe(52,a.loc)),Z(e.helper(ss),[a.exp]);let o=Dl(s)||e.isBuiltInComponent(s);if(o)return t||e.helper(o),o;{let l=au(s,e);if(l)return l;let u=s.indexOf(".");if(u>0){let c=au(s.slice(0,u),e);if(c)return c+s.slice(u)}}return e.selfName&&hr(wt(s))===e.selfName?(e.helper(ei),e.components.add(s+"__self"),bi(s,"component")):(e.helper(ei),e.components.add(s),bi(s,"component"))}function au(r,e){let t=e.bindingMetadata;if(!t||t.__isScriptSetup===!1)return;let s=wt(r),i=hr(s),n=l=>{if(t[r]===l)return r;if(t[s]===l)return s;if(t[i]===l)return i},a=n("setup-const")||n("setup-reactive-const")||n("literal-const");if(a)return e.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return e.inline?`${e.helperString(as)}(${o})`:`$setup[${JSON.stringify(o)}]`}function Is(r,e,t=r.props,s,i,n=!1){let{tag:a,loc:o,children:l}=r,u=[],c=[],p=[],h=l.length>0,f=!1,g=0,d=!1,m=!1,y=!1,E=!1,S=!1,v=!1,b=[],I=P=>{u.length&&(c.push(Ze(ld(u),o)),u=[]),P&&c.push(P)},O=({key:P,value:T})=>{if(Re(P)){let C=P.content,B=jp(C);if(B&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!zp(C)&&(E=!0),B&&zp(C)&&(v=!0),T.type===20||(T.type===4||T.type===8)&&ot(T,e)>0)return;C==="ref"?d=!0:C==="class"?m=!0:C==="style"?y=!0:C!=="key"&&!b.includes(C)&&b.push(C),s&&(C==="class"||C==="style")&&!b.includes(C)&&b.push(C)}else S=!0};for(let P=0;P<t.length;P++){let T=t[P];if(T.type===6){let{loc:C,name:B,value:q}=T,Q=!0;if(B==="ref"&&(d=!0,e.scopes.vFor>0&&u.push(fe(j("ref_for",!0),j("true"))),q&&e.inline)){let V=e.bindingMetadata[q.content];(V==="setup-let"||V==="setup-ref"||V==="setup-maybe-ref")&&(Q=!1,u.push(fe(j("ref_key",!0),j(q.content,!0,q.loc))))}if(B==="is"&&(lu(a)||q&&q.content.startsWith("vue:")||!1))continue;u.push(fe(j(B,!0,Rl(C,0,B.length)),j(q?q.content:"",Q,q?q.loc:C)))}else{let{name:C,arg:B,exp:q,loc:Q}=T,V=C==="bind",J=C==="on";if(C==="slot"){s||e.onError(pe(40,Q));continue}if(C==="once"||C==="memo"||C==="is"||V&&Xt(B,"is")&&(lu(a)||!1)||J&&n)continue;if((V&&Xt(B,"key")||J&&h&&Xt(B,"vue:before-update"))&&(f=!0),V&&Xt(B,"ref")&&e.scopes.vFor>0&&u.push(fe(j("ref_for",!0),j("true"))),!B&&(V||J)){S=!0,q?V?(I(),c.push(q)):I({type:14,loc:Q,callee:e.helper(Ln),arguments:s?[q]:[q,"true"]}):e.onError(pe(V?34:35,Q));continue}let ae=e.directiveTransforms[C];if(ae){let{props:Ae,needRuntime:M}=ae(T,r,e);!n&&Ae.forEach(O),J&&B&&!Re(B)?I(Ze(Ae,o)):u.push(...Ae),M&&(p.push(T),Qr(M)&&ad.set(T,M))}else qo(C)||(p.push(T),h&&(f=!0))}}let w;if(c.length?(I(),c.length>1?w=Z(e.helper(xr),c,o):w=c[0]):u.length&&(w=Ze(ld(u),o)),S?g|=16:(m&&!s&&(g|=2),y&&!s&&(g|=4),b.length&&(g|=8),E&&(g|=32)),!f&&(g===0||g===32)&&(d||v||p.length>0)&&(g|=512),!e.inSSR&&w)switch(w.type){case 15:let P=-1,T=-1,C=!1;for(let Q=0;Q<w.properties.length;Q++){let V=w.properties[Q].key;Re(V)?V.content==="class"?P=Q:V.content==="style"&&(T=Q):V.isHandlerKey||(C=!0)}let B=w.properties[P],q=w.properties[T];C?w=Z(e.helper(is),[w]):(B&&!Re(B.value)&&(B.value=Z(e.helper(Nn),[B.value])),q&&(y||q.value.type===4&&q.value.content.trim()[0]==="["||q.value.type===17)&&(q.value=Z(e.helper(kn),[q.value])));break;case 14:break;default:w=Z(e.helper(is),[Z(e.helper(ns),[w])]);break}return{props:w,directives:p,patchFlag:g,dynamicPropNames:b,shouldUseBlock:f}}function ld(r){let e=new Map,t=[];for(let s=0;s<r.length;s++){let i=r[s];if(i.key.type===8||!i.key.isStatic){t.push(i);continue}let n=i.key.content,a=e.get(n);a?(n==="style"||n==="class"||jp(n))&&M1(a,i):(e.set(n,i),t.push(i))}return t}function M1(r,e){r.value.type===17?r.value.elements.push(e.value):r.value=Ar([r.value,e.value],r.loc)}function ou(r,e){let t=[],s=ad.get(r);if(s)t.push(e.helperString(s));else{let n=au("v-"+r.name,e);n?t.push(n):(e.helper(_n),e.directives.add(r.name),t.push(bi(r.name,"directive")))}let{loc:i}=r;if(r.exp&&t.push(r.exp),r.arg&&(r.exp||t.push("void 0"),t.push(r.arg)),Object.keys(r.modifiers).length){r.arg||(r.exp||t.push("void 0"),t.push("void 0"));let n=j("true",!1,i);t.push(Ze(r.modifiers.map(a=>fe(a,n)),i))}return Ar(t,r.loc)}function R1(r){let e="[";for(let t=0,s=r.length;t<s;t++)e+=JSON.stringify(r[t]),t<s-1&&(e+=", ");return e+"]"}function lu(r){return r==="component"||r==="Component"}var $1=(r,e)=>{if(bs(r)){let{children:t,loc:s}=r,{slotName:i,slotProps:n}=uu(r,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),t.length&&(a[3]=nt([],t,!1,!1,s),o=4),e.scopeId&&!e.slotted&&(o=5),a.splice(o),r.codegenNode=Z(e.helper(Yo),a,s)}};function uu(r,e){let t='"default"',s,i=[];for(let n=0;n<r.props.length;n++){let a=r.props[n];a.type===6?a.value&&(a.name==="name"?t=JSON.stringify(a.value.content):(a.name=wt(a.name),i.push(a))):a.name==="bind"&&Xt(a.arg,"name")?a.exp&&(t=a.exp):(a.name==="bind"&&a.arg&&Re(a.arg)&&(a.arg.content=wt(a.arg.content)),i.push(a))}if(i.length>0){let{props:n,directives:a}=Is(r,e,i,!1,!1);s=n,a.length&&e.onError(pe(36,a[0].loc))}return{slotName:t,slotProps:s}}var F1=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ia=(r,e,t,s)=>{let{loc:i,modifiers:n,arg:a}=r;!r.exp&&!n.length&&t.onError(pe(35,i));let o;if(a.type===4)if(a.isStatic){let p=a.content;p.startsWith("vnode")&&t.onWarn(pe(51,a.loc)),p.startsWith("vue:")&&(p=`vnode-${p.slice(4)}`);let h=e.tagType!==0||p.startsWith("vnode")||!/[A-Z]/.test(p)?yv(wt(p)):`on:${p}`;o=j(h,!0,a.loc)}else o=Me([`${t.helperString(Mn)}(`,a,")"]);else o=a,o.children.unshift(`${t.helperString(Mn)}(`),o.children.push(")");let l=r.exp;l&&!l.content.trim()&&(l=void 0);let u=t.cacheHandlers&&!l&&!t.inVOnce;if(l){let p=Ml(l.content,t),h=!(p||F1.test(l.content)),f=l.content.includes(";");t.prefixIdentifiers&&(h&&t.addIdentifiers("$event"),l=r.exp=Ye(l,t,!1,f),h&&t.removeIdentifiers("$event"),u=t.cacheHandlers&&!t.inVOnce&&!(l.type===4&&l.constType>0)&&!(p&&e.tagType===1)&&!tt(l,t.identifiers),u&&p&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children," && ",...l.children,"(...args)"])),(h||u&&p)&&(l=Me([`${h?t.isTS?"($event: any)":"$event":`${t.isTS?`
28
+ //@ts-ignore
29
+ `:""}(...args)`} => ${f?"{":"("}`,l,f?"}":")"]))}let c={props:[fe(o,l||j("() => {}",!1,i))]};return s&&(c=s(c)),u&&(c.props[0].value=t.cache(c.props[0].value)),c.props.forEach(p=>p.key.isHandlerKey=!0),c},cu=(r,e,t)=>{let{exp:s,modifiers:i,loc:n}=r,a=r.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(a.type===4?a.isStatic?a.content=wt(a.content):a.content=`${t.helperString(Dn)}(${a.content})`:(a.children.unshift(`${t.helperString(Dn)}(`),a.children.push(")"))),t.inSSR||(i.includes("prop")&&ud(a,"."),i.includes("attr")&&ud(a,"^")),!s||s.type===4&&!s.content.trim()?(t.onError(pe(34,n)),{props:[fe(a,j("",!0,n))]}):{props:[fe(a,s)]}},ud=(r,e)=>{r.type===4?r.isStatic?r.content=e+r.content:r.content=`\`${e}\${${r.content}}\``:(r.children.unshift(`'${e}' + (`),r.children.push(")"))},B1=(r,e)=>{if(r.type===0||r.type===1||r.type===11||r.type===10)return()=>{let t=r.children,s,i=!1;for(let n=0;n<t.length;n++){let a=t[n];if(vi(a)){i=!0;for(let o=n+1;o<t.length;o++){let l=t[o];if(vi(l))s||(s=t[n]=Me([a],a.loc)),s.children.push(" + ",l),t.splice(o,1),o--;else{s=void 0;break}}}}if(!(!i||t.length===1&&(r.type===0||r.type===1&&r.tagType===0&&!r.props.find(n=>n.type===7&&!e.directiveTransforms[n.name])&&!0)))for(let n=0;n<t.length;n++){let a=t[n];if(vi(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),!e.ssr&&ot(a,e)===0&&o.push(1+` /* ${Ot[1]} */`),t[n]={type:12,content:a,loc:a.loc,codegenNode:Z(e.helper(An),o)}}}}},cd=new WeakSet,U1=(r,e)=>{if(r.type===1&&ke(r,"once",!0))return cd.has(r)||e.inVOnce||e.inSSR?void 0:(cd.add(r),e.inVOnce=!0,e.helper(ri),()=>{e.inVOnce=!1;let t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))})},Oa=(r,e,t)=>{let{exp:s,arg:i}=r;if(!s)return t.onError(pe(41,r.loc)),Li();let n=s.loc.source,a=s.type===4?s.content:n,o=t.bindingMetadata[n];if(o==="props"||o==="props-aliased")return t.onError(pe(44,s.loc)),Li();let l=t.inline&&(o==="setup-let"||o==="setup-ref"||o==="setup-maybe-ref");if(!a.trim()||!Ml(a,t)&&!l)return t.onError(pe(42,s.loc)),Li();if(t.prefixIdentifiers&&Sr(a)&&t.identifiers[a])return t.onError(pe(43,s.loc)),Li();let u=i||j("modelValue",!0),c=i?Re(i)?`onUpdate:${wt(i.content)}`:Me(['"onUpdate:" + ',i]):"onUpdate:modelValue",p,h=t.isTS?"($event: any)":"$event";if(l)if(o==="setup-ref")p=Me([`${h} => ((`,j(n,!1,s.loc),").value = $event)"]);else{let g=o==="setup-let"?`${n} = $event`:"null";p=Me([`${h} => (${t.helperString(si)}(${n}) ? (`,j(n,!1,s.loc),`).value = $event : ${g})`])}else p=Me([`${h} => ((`,s,") = $event)"]);let f=[fe(u,r.exp),fe(c,p)];if(t.prefixIdentifiers&&!t.inVOnce&&t.cacheHandlers&&!tt(s,t.identifiers)&&(f[1].value=t.cache(f[1].value)),r.modifiers.length&&e.tagType===1){let g=r.modifiers.map(m=>(Sr(m)?m:JSON.stringify(m))+": true").join(", "),d=i?Re(i)?`${i.content}Modifiers`:Me([i,' + "Modifiers"']):"modelModifiers";f.push(fe(d,j(`{ ${g} }`,!1,r.loc,2)))}return Li(f)};function Li(r=[]){return{props:r}}var pd=new WeakSet,j1=(r,e)=>{if(r.type===1){let t=ke(r,"memo");return!t||pd.has(r)?void 0:(pd.add(r),()=>{let s=r.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(r.tagType!==1&&qn(s,e),r.codegenNode=Z(e.helper(Bn),[t.exp,nt(void 0,s),"_cache",String(e.cached++)]))})}};function pu(r){return[[U1,C1,j1,O1,...r?[nu,eu]:[],$1,od,iu,B1],{on:Ia,bind:cu,model:Oa}]}function hd(r,e={}){let t=e.onError||Wo,s=e.mode==="module",i=e.prefixIdentifiers===!0||s;!i&&e.cacheHandlers&&t(pe(49)),e.scopeId&&!s&&t(pe(50));let n=le(r)?ca(r,e):r,[a,o]=pu(i);if(e.isTS){let{expressionPlugins:l}=e;(!l||!l.includes("typescript"))&&(e.expressionPlugins=[...l||[],"typescript"])}return da(n,qt({},e,{prefixIdentifiers:i,nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:qt({},o,e.directiveTransforms||{})})),Xl(n,qt({},e,{prefixIdentifiers:i}))}var Di=()=>({props:[]}),hu=Symbol("vModelRadio"),fu=Symbol("vModelCheckbox"),du=Symbol("vModelText"),mu=Symbol("vModelSelect"),Na=Symbol("vModelDynamic"),yu=Symbol("vOnModifiersGuard"),gu=Symbol("vOnKeysGuard"),vu=Symbol("vShow"),Os=Symbol("Transition"),Mi=Symbol("TransitionGroup");Xo({[hu]:"vModelRadio",[fu]:"vModelCheckbox",[du]:"vModelText",[mu]:"vModelSelect",[Na]:"vModelDynamic",[yu]:"withModifiers",[gu]:"withKeys",[vu]:"vShow",[Os]:"Transition",[Mi]:"TransitionGroup"});var fd={GT:">",gt:">",LT:"<",lt:"<","ac;":"\u223E","af;":"\u2061",AMP:"&",amp:"&","ap;":"\u2248","DD;":"\u2145","dd;":"\u2146",deg:"\xB0","ee;":"\u2147","eg;":"\u2A9A","el;":"\u2A99",ETH:"\xD0",eth:"\xF0","gE;":"\u2267","ge;":"\u2265","Gg;":"\u22D9","gg;":"\u226B","gl;":"\u2277","GT;":">","Gt;":"\u226B","gt;":">","ic;":"\u2063","ii;":"\u2148","Im;":"\u2111","in;":"\u2208","it;":"\u2062","lE;":"\u2266","le;":"\u2264","lg;":"\u2276","Ll;":"\u22D8","ll;":"\u226A","LT;":"<","Lt;":"\u226A","lt;":"<","mp;":"\u2213","Mu;":"\u039C","mu;":"\u03BC","ne;":"\u2260","ni;":"\u220B",not:"\xAC","Nu;":"\u039D","nu;":"\u03BD","Or;":"\u2A54","or;":"\u2228","oS;":"\u24C8","Pi;":"\u03A0","pi;":"\u03C0","pm;":"\xB1","Pr;":"\u2ABB","pr;":"\u227A","Re;":"\u211C",REG:"\xAE",reg:"\xAE","rx;":"\u211E","Sc;":"\u2ABC","sc;":"\u227B",shy:"\xAD",uml:"\xA8","wp;":"\u2118","wr;":"\u2240","Xi;":"\u039E","xi;":"\u03BE",yen:"\xA5","acd;":"\u223F","acE;":"\u223E\u0333","Acy;":"\u0410","acy;":"\u0430","Afr;":"\u{1D504}","afr;":"\u{1D51E}","AMP;":"&","amp;":"&","And;":"\u2A53","and;":"\u2227","ang;":"\u2220","apE;":"\u2A70","ape;":"\u224A","ast;":"*",Auml:"\xC4",auml:"\xE4","Bcy;":"\u0411","bcy;":"\u0431","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bne;":"=\u20E5","bot;":"\u22A5","Cap;":"\u22D2","cap;":"\u2229",cent:"\xA2","Cfr;":"\u212D","cfr;":"\u{1D520}","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB",COPY:"\xA9",copy:"\xA9","Cup;":"\u22D3","cup;":"\u222A","Dcy;":"\u0414","dcy;":"\u0434","deg;":"\xB0","Del;":"\u2207","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","die;":"\xA8","div;":"\xF7","Dot;":"\xA8","dot;":"\u02D9","Ecy;":"\u042D","ecy;":"\u044D","Efr;":"\u{1D508}","efr;":"\u{1D522}","egs;":"\u2A96","ell;":"\u2113","els;":"\u2A95","ENG;":"\u014A","eng;":"\u014B","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0","eth;":"\xF0",Euml:"\xCB",euml:"\xEB","Fcy;":"\u0424","fcy;":"\u0444","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","gap;":"\u2A86","Gcy;":"\u0413","gcy;":"\u0433","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","ges;":"\u2A7E","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","ggg;":"\u22D9","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnE;":"\u2269","gne;":"\u2A88","Hat;":"^","Hfr;":"\u210C","hfr;":"\u{1D525}","Icy;":"\u0418","icy;":"\u0438","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Int;":"\u222C","int;":"\u222B",Iuml:"\xCF",iuml:"\xEF","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","lap;":"\u2A85","lat;":"\u2AAB","Lcy;":"\u041B","lcy;":"\u043B","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","les;":"\u2A7D","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lgE;":"\u2A91","lnE;":"\u2268","lne;":"\u2A87","loz;":"\u25CA","lrm;":"\u200E","Lsh;":"\u21B0","lsh;":"\u21B0",macr:"\xAF","Map;":"\u2905","map;":"\u21A6","Mcy;":"\u041C","mcy;":"\u043C","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","mid;":"\u2223","nap;":"\u2249",nbsp:"\xA0","Ncy;":"\u041D","ncy;":"\u043D","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","nGg;":"\u22D9\u0338","nGt;":"\u226B\u20D2","ngt;":"\u226F","nis;":"\u22FC","niv;":"\u220B","nlE;":"\u2266\u0338","nle;":"\u2270","nLl;":"\u22D8\u0338","nLt;":"\u226A\u20D2","nlt;":"\u226E","Not;":"\u2AEC","not;":"\xAC","npr;":"\u2280","nsc;":"\u2281","num;":"#","Ocy;":"\u041E","ocy;":"\u043E","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogt;":"\u29C1","ohm;":"\u03A9","olt;":"\u29C0","ord;":"\u2A5D",ordf:"\xAA",ordm:"\xBA","orv;":"\u2A5B",Ouml:"\xD6",ouml:"\xF6","par;":"\u2225",para:"\xB6","Pcy;":"\u041F","pcy;":"\u043F","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","piv;":"\u03D6","prE;":"\u2AB3","pre;":"\u2AAF","Psi;":"\u03A8","psi;":"\u03C8","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}",QUOT:'"',quot:'"',"Rcy;":"\u0420","rcy;":"\u0440","REG;":"\xAE","reg;":"\xAE","Rfr;":"\u211C","rfr;":"\u{1D52F}","Rho;":"\u03A1","rho;":"\u03C1","rlm;":"\u200F","Rsh;":"\u21B1","rsh;":"\u21B1","scE;":"\u2AB4","sce;":"\u2AB0","Scy;":"\u0421","scy;":"\u0441",sect:"\xA7","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","shy;":"\xAD","sim;":"\u223C","smt;":"\u2AAA","sol;":"/","squ;":"\u25A1","Sub;":"\u22D0","sub;":"\u2282","Sum;":"\u2211","sum;":"\u2211","Sup;":"\u22D1","sup;":"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3","Tab;":" ","Tau;":"\u03A4","tau;":"\u03C4","Tcy;":"\u0422","tcy;":"\u0442","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","top;":"\u22A4","Ucy;":"\u0423","ucy;":"\u0443","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","uml;":"\xA8",Uuml:"\xDC",uuml:"\xFC","Vcy;":"\u0412","vcy;":"\u0432","Vee;":"\u22C1","vee;":"\u2228","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}",yuml:"\xFF","Zcy;":"\u0417","zcy;":"\u0437","Zfr;":"\u2128","zfr;":"\u{1D537}","zwj;":"\u200D",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6","andd;":"\u2A5C","andv;":"\u2A5A","ange;":"\u29A4","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","apid;":"\u224B","apos;":"'",Aring:"\xC5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Auml;":"\xC4","auml;":"\xE4","Barv;":"\u2AE7","bbrk;":"\u23B5","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","boxH;":"\u2550","boxh;":"\u2500","boxV;":"\u2551","boxv;":"\u2502","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsim;":"\u223D","bsol;":"\\","bull;":"\u2022","bump;":"\u224E","caps;":"\u2229\uFE00","Cdot;":"\u010A","cdot;":"\u010B",cedil:"\xB8","cent;":"\xA2","CHcy;":"\u0427","chcy;":"\u0447","circ;":"\u02C6","cirE;":"\u29C3","cire;":"\u2257","comp;":"\u2201","cong;":"\u2245","Copf;":"\u2102","copf;":"\u{1D554}","COPY;":"\xA9","copy;":"\xA9","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csup;":"\u2AD0","cups;":"\u222A\uFE00","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","dHar;":"\u2965","diam;":"\u22C4","DJcy;":"\u0402","djcy;":"\u0452","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","dtri;":"\u25BF","DZcy;":"\u040F","dzcy;":"\u045F","ecir;":"\u2256",Ecirc:"\xCA",ecirc:"\xEA","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","emsp;":"\u2003","ensp;":"\u2002","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","epsi;":"\u03B5","Escr;":"\u2130","escr;":"\u212F","Esim;":"\u2A73","esim;":"\u2242","Euml;":"\xCB","euml;":"\xEB","euro;":"\u20AC","excl;":"!","flat;":"\u266D","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","fork;":"\u22D4","Fscr;":"\u2131","fscr;":"\u{1D4BB}","Gdot;":"\u0120","gdot;":"\u0121","geqq;":"\u2267","gesl;":"\u22DB\uFE00","GJcy;":"\u0403","gjcy;":"\u0453","gnap;":"\u2A8A","gneq;":"\u2A88","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gtcc;":"\u2AA7","gvnE;":"\u2269\uFE00","half;":"\xBD","hArr;":"\u21D4","harr;":"\u2194","hbar;":"\u210F","Hopf;":"\u210D","hopf;":"\u{1D559}","Hscr;":"\u210B","hscr;":"\u{1D4BD}",Icirc:"\xCE",icirc:"\xEE","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435",iexcl:"\xA1","imof;":"\u22B7","IOcy;":"\u0401","iocy;":"\u0451","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","Iuml;":"\xCF","iuml;":"\xEF","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","Lang;":"\u27EA","lang;":"\u27E8",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","late;":"\u2AAD","lcub;":"{","ldca;":"\u2936","ldsh;":"\u21B2","leqq;":"\u2266","lesg;":"\u22DA\uFE00","lHar;":"\u2962","LJcy;":"\u0409","ljcy;":"\u0459","lnap;":"\u2A89","lneq;":"\u2A87","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","lozf;":"\u29EB","lpar;":"(","Lscr;":"\u2112","lscr;":"\u{1D4C1}","lsim;":"\u2272","lsqb;":"[","ltcc;":"\u2AA6","ltri;":"\u25C3","lvnE;":"\u2268\uFE00","macr;":"\xAF","male;":"\u2642","malt;":"\u2720",micro:"\xB5","mlcp;":"\u2ADB","mldr;":"\u2026","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","Mscr;":"\u2133","mscr;":"\u{1D4C2}","nang;":"\u2220\u20D2","napE;":"\u2A70\u0338","nbsp;":"\xA0","ncap;":"\u2A43","ncup;":"\u2A42","ngeq;":"\u2271","nges;":"\u2A7E\u0338","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nisd;":"\u22FA","NJcy;":"\u040A","njcy;":"\u045A","nldr;":"\u2025","nleq;":"\u2270","nles;":"\u2A7D\u0338","nLtv;":"\u226A\u0338","nmid;":"\u2224","Nopf;":"\u2115","nopf;":"\u{1D55F}","npar;":"\u2226","npre;":"\u2AAF\u0338","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nsim;":"\u2241","nsub;":"\u2284","nsup;":"\u2285","ntgl;":"\u2279","ntlg;":"\u2278","nvap;":"\u224D\u20D2","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","oast;":"\u229B","ocir;":"\u229A",Ocirc:"\xD4",ocirc:"\xF4","odiv;":"\u2A38","odot;":"\u2299","ogon;":"\u02DB","oint;":"\u222E","omid;":"\u29B6","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","ordf;":"\xAA","ordm;":"\xBA","oror;":"\u2A56","Oscr;":"\u{1D4AA}","oscr;":"\u2134","osol;":"\u2298","Ouml;":"\xD6","ouml;":"\xF6","para;":"\xB6","part;":"\u2202","perp;":"\u22A5","phiv;":"\u03D5","plus;":"+","Popf;":"\u2119","popf;":"\u{1D561}",pound:"\xA3","prap;":"\u2AB7","prec;":"\u227A","prnE;":"\u2AB5","prod;":"\u220F","prop;":"\u221D","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","QUOT;":'"',"quot;":'"',"race;":"\u223D\u0331","Rang;":"\u27EB","rang;":"\u27E9",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rcub;":"}","rdca;":"\u2937","rdsh;":"\u21B3","real;":"\u211C","rect;":"\u25AD","rHar;":"\u2964","rhov;":"\u03F1","ring;":"\u02DA","Ropf;":"\u211D","ropf;":"\u{1D563}","rpar;":")","Rscr;":"\u211B","rscr;":"\u{1D4C7}","rsqb;":"]","rtri;":"\u25B9","scap;":"\u2AB8","scnE;":"\u2AB6","sdot;":"\u22C5","sect;":"\xA7","semi;":";","sext;":"\u2736","SHcy;":"\u0428","shcy;":"\u0448","sime;":"\u2243","simg;":"\u2A9E","siml;":"\u2A9D","smid;":"\u2223","smte;":"\u2AAC","solb;":"\u29C4","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spar;":"\u2225","Sqrt;":"\u221A","squf;":"\u25AA","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","Star;":"\u22C6","star;":"\u2606","subE;":"\u2AC5","sube;":"\u2286","succ;":"\u227B","sung;":"\u266A","sup1;":"\xB9","sup2;":"\xB2","sup3;":"\xB3","supE;":"\u2AC6","supe;":"\u2287",szlig:"\xDF","tbrk;":"\u23B4","tdot;":"\u20DB",THORN:"\xDE",thorn:"\xFE",times:"\xD7","tint;":"\u222D","toea;":"\u2928","Topf;":"\u{1D54B}","topf;":"\u{1D565}","tosa;":"\u2929","trie;":"\u225C","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191",Ucirc:"\xDB",ucirc:"\xFB","uHar;":"\u2963","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","Upsi;":"\u03D2","upsi;":"\u03C5","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utri;":"\u25B5","Uuml;":"\xDC","uuml;":"\xFC","vArr;":"\u21D5","varr;":"\u2195","Vbar;":"\u2AEB","vBar;":"\u2AE8","Vert;":"\u2016","vert;":"|","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcup;":"\u22C3","xmap;":"\u27FC","xnis;":"\u22FB","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xvee;":"\u22C1","YAcy;":"\u042F","yacy;":"\u044F","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF","Zdot;":"\u017B","zdot;":"\u017C","Zeta;":"\u0396","zeta;":"\u03B6","ZHcy;":"\u0416","zhcy;":"\u0436","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwnj;":"\u200C",Aacute:"\xC1",aacute:"\xE1","Acirc;":"\xC2","acirc;":"\xE2","acute;":"\xB4","AElig;":"\xC6","aelig;":"\xE6",Agrave:"\xC0",agrave:"\xE0","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","angle;":"\u2220","angrt;":"\u221F","angst;":"\xC5","Aogon;":"\u0104","aogon;":"\u0105","Aring;":"\xC5","aring;":"\xE5","asymp;":"\u2248",Atilde:"\xC3",atilde:"\xE3","awint;":"\u2A11","bcong;":"\u224C","bdquo;":"\u201E","bepsi;":"\u03F6","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","Breve;":"\u02D8","breve;":"\u02D8",brvbar:"\xA6","bsemi;":"\u204F","bsime;":"\u22CD","bsolb;":"\u29C5","bumpE;":"\u2AAE","bumpe;":"\u224F","caret;":"\u2041","caron;":"\u02C7","ccaps;":"\u2A4D",Ccedil:"\xC7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","ccups;":"\u2A4C","cedil;":"\xB8","check;":"\u2713","clubs;":"\u2663","Colon;":"\u2237","colon;":":","comma;":",","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","csube;":"\u2AD1","csupe;":"\u2AD2","ctdot;":"\u22EF","cuepr;":"\u22DE","cuesc;":"\u22DF","cupor;":"\u2A45",curren:"\xA4","cuvee;":"\u22CE","cuwed;":"\u22CF","cwint;":"\u2231","Dashv;":"\u2AE4","dashv;":"\u22A3","dblac;":"\u02DD","ddarr;":"\u21CA","Delta;":"\u0394","delta;":"\u03B4","dharl;":"\u21C3","dharr;":"\u21C2","diams;":"\u2666","disin;":"\u22F2",divide:"\xF7","doteq;":"\u2250","dtdot;":"\u22F1","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F",Eacute:"\xC9",eacute:"\xE9","Ecirc;":"\xCA","ecirc;":"\xEA","eDDot;":"\u2A77","efDot;":"\u2252",Egrave:"\xC8",egrave:"\xE8","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","Eogon;":"\u0118","eogon;":"\u0119","eplus;":"\u2A71","epsiv;":"\u03F5","eqsim;":"\u2242","Equal;":"\u2A75","equiv;":"\u2261","erarr;":"\u2971","erDot;":"\u2253","esdot;":"\u2250","exist;":"\u2203","fflig;":"\uFB00","filig;":"\uFB01","fjlig;":"fj","fllig;":"\uFB02","fltns;":"\u25B1","forkv;":"\u2AD9",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE","frasl;":"\u2044","frown;":"\u2322","Gamma;":"\u0393","gamma;":"\u03B3","Gcirc;":"\u011C","gcirc;":"\u011D","gescc;":"\u2AA9","gimel;":"\u2137","gneqq;":"\u2269","gnsim;":"\u22E7","grave;":"`","gsime;":"\u2A8E","gsiml;":"\u2A90","gtcir;":"\u2A7A","gtdot;":"\u22D7","Hacek;":"\u02C7","harrw;":"\u21AD","Hcirc;":"\u0124","hcirc;":"\u0125","hoarr;":"\u21FF",Iacute:"\xCD",iacute:"\xED","Icirc;":"\xCE","icirc;":"\xEE","iexcl;":"\xA1",Igrave:"\xCC",igrave:"\xEC","iiint;":"\u222D","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","imath;":"\u0131","imped;":"\u01B5","infin;":"\u221E","Iogon;":"\u012E","iogon;":"\u012F","iprod;":"\u2A3C",iquest:"\xBF","isinE;":"\u22F9","isins;":"\u22F4","isinv;":"\u2208","Iukcy;":"\u0406","iukcy;":"\u0456","Jcirc;":"\u0134","jcirc;":"\u0135","jmath;":"\u0237","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","lAarr;":"\u21DA","langd;":"\u2991","laquo;":"\xAB","larrb;":"\u21E4","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrke;":"\u298B","lceil;":"\u2308","ldquo;":"\u201C","lescc;":"\u2AA8","lhard;":"\u21BD","lharu;":"\u21BC","lhblk;":"\u2584","llarr;":"\u21C7","lltri;":"\u25FA","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","lopar;":"\u2985","lrarr;":"\u21C6","lrhar;":"\u21CB","lrtri;":"\u22BF","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsquo;":"\u2018","ltcir;":"\u2A79","ltdot;":"\u22D6","ltrie;":"\u22B4","ltrif;":"\u25C2","mdash;":"\u2014","mDDot;":"\u223A","micro;":"\xB5",middot:"\xB7","minus;":"\u2212","mumap;":"\u22B8","nabla;":"\u2207","napid;":"\u224B\u0338","napos;":"\u0149","natur;":"\u266E","nbump;":"\u224E\u0338","ncong;":"\u2247","ndash;":"\u2013","neArr;":"\u21D7","nearr;":"\u2197","nedot;":"\u2250\u0338","nesim;":"\u2242\u0338","ngeqq;":"\u2267\u0338","ngsim;":"\u2275","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","nlArr;":"\u21CD","nlarr;":"\u219A","nleqq;":"\u2266\u0338","nless;":"\u226E","nlsim;":"\u2274","nltri;":"\u22EA","notin;":"\u2209","notni;":"\u220C","npart;":"\u2202\u0338","nprec;":"\u2280","nrArr;":"\u21CF","nrarr;":"\u219B","nrtri;":"\u22EB","nsime;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsucc;":"\u2281","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289",Ntilde:"\xD1",ntilde:"\xF1","numsp;":"\u2007","nvsim;":"\u223C\u20D2","nwArr;":"\u21D6","nwarr;":"\u2196",Oacute:"\xD3",oacute:"\xF3","Ocirc;":"\xD4","ocirc;":"\xF4","odash;":"\u229D","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF",Ograve:"\xD2",ograve:"\xF2","ohbar;":"\u29B5","olarr;":"\u21BA","olcir;":"\u29BE","oline;":"\u203E","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","operp;":"\u29B9","oplus;":"\u2295","orarr;":"\u21BB","order;":"\u2134",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5","ovbar;":"\u233D","parsl;":"\u2AFD","phone;":"\u260E","plusb;":"\u229E","pluse;":"\u2A72",plusmn:"\xB1","pound;":"\xA3","prcue;":"\u227C","Prime;":"\u2033","prime;":"\u2032","prnap;":"\u2AB9","prsim;":"\u227E","quest;":"?","rAarr;":"\u21DB","radic;":"\u221A","rangd;":"\u2992","range;":"\u29A5","raquo;":"\xBB","rarrb;":"\u21E5","rarrc;":"\u2933","rarrw;":"\u219D","ratio;":"\u2236","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrke;":"\u298C","rceil;":"\u2309","rdquo;":"\u201D","reals;":"\u211D","rhard;":"\u21C1","rharu;":"\u21C0","rlarr;":"\u21C4","rlhar;":"\u21CC","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","rrarr;":"\u21C9","rsquo;":"\u2019","rtrie;":"\u22B5","rtrif;":"\u25B8","sbquo;":"\u201A","sccue;":"\u227D","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scsim;":"\u227F","sdotb;":"\u22A1","sdote;":"\u2A66","seArr;":"\u21D8","searr;":"\u2198","setmn;":"\u2216","sharp;":"\u266F","Sigma;":"\u03A3","sigma;":"\u03C3","simeq;":"\u2243","simgE;":"\u2AA0","simlE;":"\u2A9F","simne;":"\u2246","slarr;":"\u2190","smile;":"\u2323","smtes;":"\u2AAC\uFE00","sqcap;":"\u2293","sqcup;":"\u2294","sqsub;":"\u228F","sqsup;":"\u2290","srarr;":"\u2192","starf;":"\u2605","strns;":"\xAF","subnE;":"\u2ACB","subne;":"\u228A","supnE;":"\u2ACC","supne;":"\u228B","swArr;":"\u21D9","swarr;":"\u2199","szlig;":"\xDF","Theta;":"\u0398","theta;":"\u03B8","thkap;":"\u2248","THORN;":"\xDE","thorn;":"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","times;":"\xD7","TRADE;":"\u2122","trade;":"\u2122","trisb;":"\u29CD","TSHcy;":"\u040B","tshcy;":"\u045B","twixt;":"\u226C",Uacute:"\xDA",uacute:"\xFA","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ucirc;":"\xDB","ucirc;":"\xFB","udarr;":"\u21C5","udhar;":"\u296E",Ugrave:"\xD9",ugrave:"\xF9","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","Union;":"\u22C3","Uogon;":"\u0172","uogon;":"\u0173","uplus;":"\u228E","upsih;":"\u03D2","UpTee;":"\u22A5","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","utdot;":"\u22F0","utrif;":"\u25B4","uuarr;":"\u21C8","varpi;":"\u03D6","vBarv;":"\u2AE9","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","veeeq;":"\u225A","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","vprop;":"\u221D","vrtri;":"\u22B3","Wcirc;":"\u0174","wcirc;":"\u0175","Wedge;":"\u22C0","wedge;":"\u2227","xcirc;":"\u25EF","xdtri;":"\u25BD","xhArr;":"\u27FA","xharr;":"\u27F7","xlArr;":"\u27F8","xlarr;":"\u27F5","xodot;":"\u2A00","xrArr;":"\u27F9","xrarr;":"\u27F6","xutri;":"\u25B3",Yacute:"\xDD",yacute:"\xFD","Ycirc;":"\u0176","ycirc;":"\u0177","Aacute;":"\xC1","aacute;":"\xE1","Abreve;":"\u0102","abreve;":"\u0103","Agrave;":"\xC0","agrave;":"\xE0","andand;":"\u2A55","angmsd;":"\u2221","angsph;":"\u2222","apacir;":"\u2A6F","approx;":"\u2248","Assign;":"\u2254","Atilde;":"\xC3","atilde;":"\xE3","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","becaus;":"\u2235","bernou;":"\u212C","bigcap;":"\u22C2","bigcup;":"\u22C3","bigvee;":"\u22C1","bkarow;":"\u290D","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","bprime;":"\u2035","brvbar;":"\xA6","bullet;":"\u2022","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","capand;":"\u2A44","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7","ccedil;":"\xE7","circeq;":"\u2257","cirmid;":"\u2AEF","Colone;":"\u2A74","colone;":"\u2254","commat;":"@","compfn;":"\u2218","Conint;":"\u222F","conint;":"\u222E","coprod;":"\u2210","copysr;":"\u2117","cularr;":"\u21B6","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","curarr;":"\u21B7","curren;":"\xA4","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Dcaron;":"\u010E","dcaron;":"\u010F","dfisht;":"\u297F","divide;":"\xF7","divonx;":"\u22C7","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","DotDot;":"\u20DC","drcorn;":"\u231F","drcrop;":"\u230C","Dstrok;":"\u0110","dstrok;":"\u0111","Eacute;":"\xC9","eacute;":"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecolon;":"\u2255","Egrave;":"\xC8","egrave;":"\xE8","egsdot;":"\u2A98","elsdot;":"\u2A97","emptyv;":"\u2205","emsp13;":"\u2004","emsp14;":"\u2005","eparsl;":"\u29E3","eqcirc;":"\u2256","equals;":"=","equest;":"\u225F","Exists;":"\u2203","female;":"\u2640","ffilig;":"\uFB03","ffllig;":"\uFB04","ForAll;":"\u2200","forall;":"\u2200","frac12;":"\xBD","frac13;":"\u2153","frac14;":"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","gacute;":"\u01F5","Gammad;":"\u03DC","gammad;":"\u03DD","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","gesdot;":"\u2A80","gesles;":"\u2A94","gtlPar;":"\u2995","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtrsim;":"\u2273","hairsp;":"\u200A","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hearts;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","homtht;":"\u223B","horbar;":"\u2015","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD","iacute;":"\xED","Igrave;":"\xCC","igrave;":"\xEC","iiiint;":"\u2A0C","iinfin;":"\u29DC","incare;":"\u2105","inodot;":"\u0131","intcal;":"\u22BA","iquest;":"\xBF","isinsv;":"\u22F3","Itilde;":"\u0128","itilde;":"\u0129","Jsercy;":"\u0408","jsercy;":"\u0458","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","kgreen;":"\u0138","Lacute;":"\u0139","lacute;":"\u013A","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","langle;":"\u27E8","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrtl;":"\u21A2","lAtail;":"\u291B","latail;":"\u2919","lbrace;":"{","lbrack;":"[","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","ldquor;":"\u201E","lesdot;":"\u2A7F","lesges;":"\u2A93","lfisht;":"\u297C","lfloor;":"\u230A","lharul;":"\u296A","llhard;":"\u296B","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","loplus;":"\u2A2D","lowast;":"\u2217","lowbar;":"_","lparlt;":"\u2993","lrhard;":"\u296D","lsaquo;":"\u2039","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltrPar;":"\u2996","mapsto;":"\u21A6","marker;":"\u25AE","mcomma;":"\u2A29","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7","minusb;":"\u229F","minusd;":"\u2238","mnplus;":"\u2213","models;":"\u22A7","mstpos;":"\u223E","Nacute;":"\u0143","nacute;":"\u0144","nbumpe;":"\u224F\u0338","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","nearhk;":"\u2924","nequiv;":"\u2262","nesear;":"\u2928","nexist;":"\u2204","nltrie;":"\u22EC","notinE;":"\u22F9\u0338","nparsl;":"\u2AFD\u20E5","nprcue;":"\u22E0","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nrtrie;":"\u22ED","nsccue;":"\u22E1","nsimeq;":"\u2244","Ntilde;":"\xD1","ntilde;":"\xF1","numero;":"\u2116","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvHarr;":"\u2904","nvlArr;":"\u2902","nvrArr;":"\u2903","nwarhk;":"\u2923","nwnear;":"\u2927","Oacute;":"\xD3","oacute;":"\xF3","Odblac;":"\u0150","odblac;":"\u0151","odsold;":"\u29BC","Ograve;":"\xD2","ograve;":"\xF2","ominus;":"\u2296","origof;":"\u22B6","Oslash;":"\xD8","oslash;":"\xF8","Otilde;":"\xD5","otilde;":"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","parsim;":"\u2AF3","percnt;":"%","period;":".","permil;":"\u2030","phmmat;":"\u2133","planck;":"\u210F","plankv;":"\u210F","plusdo;":"\u2214","plusdu;":"\u2A25","plusmn;":"\xB1","preceq;":"\u2AAF","primes;":"\u2119","prnsim;":"\u22E8","propto;":"\u221D","prurel;":"\u22B0","puncsp;":"\u2008","qprime;":"\u2057","Racute;":"\u0154","racute;":"\u0155","rangle;":"\u27E9","rarrap;":"\u2975","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rAtail;":"\u291C","ratail;":"\u291A","rbrace;":"}","rbrack;":"]","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rdquor;":"\u201D","rfisht;":"\u297D","rfloor;":"\u230B","rharul;":"\u296C","rmoust;":"\u23B1","roplus;":"\u2A2E","rpargt;":"\u2994","rsaquo;":"\u203A","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","Sacute;":"\u015A","sacute;":"\u015B","Scaron;":"\u0160","scaron;":"\u0161","Scedil;":"\u015E","scedil;":"\u015F","scnsim;":"\u22E9","searhk;":"\u2925","seswar;":"\u2929","sfrown;":"\u2322","SHCHcy;":"\u0429","shchcy;":"\u0449","sigmaf;":"\u03C2","sigmav;":"\u03C2","simdot;":"\u2A6A","smashp;":"\u2A33","SOFTcy;":"\u042C","softcy;":"\u044C","solbar;":"\u233F","spades;":"\u2660","sqcaps;":"\u2293\uFE00","sqcups;":"\u2294\uFE00","sqsube;":"\u2291","sqsupe;":"\u2292","Square;":"\u25A1","square;":"\u25A1","squarf;":"\u25AA","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","subdot;":"\u2ABD","Subset;":"\u22D0","subset;":"\u2282","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succeq;":"\u2AB0","supdot;":"\u2ABE","Supset;":"\u22D1","supset;":"\u2283","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swnwar;":"\u292A","target;":"\u2316","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","telrec;":"\u2315","there4;":"\u2234","thetav;":"\u03D1","thinsp;":"\u2009","thksim;":"\u223C","timesb;":"\u22A0","timesd;":"\u2A30","topbot;":"\u2336","topcir;":"\u2AF1","tprime;":"\u2034","tridot;":"\u25EC","Tstrok;":"\u0166","tstrok;":"\u0167","Uacute;":"\xDA","uacute;":"\xFA","Ubreve;":"\u016C","ubreve;":"\u016D","Udblac;":"\u0170","udblac;":"\u0171","ufisht;":"\u297E","Ugrave;":"\xD9","ugrave;":"\xF9","ulcorn;":"\u231C","ulcrop;":"\u230F","urcorn;":"\u231D","urcrop;":"\u230E","Utilde;":"\u0168","utilde;":"\u0169","vangrt;":"\u299C","varphi;":"\u03D5","varrho;":"\u03F1","Vdashl;":"\u2AE6","veebar;":"\u22BB","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","wedbar;":"\u2A5F","wedgeq;":"\u2259","weierp;":"\u2118","wreath;":"\u2240","xoplus;":"\u2A01","xotime;":"\u2A02","xsqcup;":"\u2A06","xuplus;":"\u2A04","xwedge;":"\u22C0","Yacute;":"\xDD","yacute;":"\xFD","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","zeetrf;":"\u2128","alefsym;":"\u2135","angrtvb;":"\u22BE","angzarr;":"\u237C","asympeq;":"\u224D","backsim;":"\u223D","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","between;":"\u226C","bigcirc;":"\u25EF","bigodot;":"\u2A00","bigstar;":"\u2605","bnequiv;":"\u2261\u20E5","boxplus;":"\u229E","Cayleys;":"\u212D","Cconint;":"\u2230","ccupssm;":"\u2A50","Cedilla;":"\xB8","cemptyv;":"\u29B2","cirscir;":"\u29C2","coloneq;":"\u2254","congdot;":"\u2A6D","cudarrl;":"\u2938","cudarrr;":"\u2935","cularrp;":"\u293D","curarrm;":"\u293C","dbkarow;":"\u290F","ddagger;":"\u2021","ddotseq;":"\u2A77","demptyv;":"\u29B1","Diamond;":"\u22C4","diamond;":"\u22C4","digamma;":"\u03DD","dotplus;":"\u2214","DownTee;":"\u22A4","dwangle;":"\u29A6","Element;":"\u2208","Epsilon;":"\u0395","epsilon;":"\u03B5","eqcolon;":"\u2255","equivDD;":"\u2A78","gesdoto;":"\u2A82","gtquest;":"\u2A7C","gtrless;":"\u2277","harrcir;":"\u2948","Implies;":"\u21D2","intprod;":"\u2A3C","isindot;":"\u22F5","larrbfs;":"\u291F","larrsim;":"\u2973","lbrksld;":"\u298F","lbrkslu;":"\u298D","ldrdhar;":"\u2967","LeftTee;":"\u22A3","lesdoto;":"\u2A81","lessdot;":"\u22D6","lessgtr;":"\u2276","lesssim;":"\u2272","lotimes;":"\u2A34","lozenge;":"\u25CA","ltquest;":"\u2A7B","luruhar;":"\u2966","maltese;":"\u2720","minusdu;":"\u2A2A","napprox;":"\u2249","natural;":"\u266E","nearrow;":"\u2197","NewLine;":`
30
+ `,"nexists;":"\u2204","NoBreak;":"\u2060","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLess;":"\u226E","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","npolint;":"\u2A14","npreceq;":"\u2AAF\u0338","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsubset;":"\u2282\u20D2","nsucceq;":"\u2AB0\u0338","nsupset;":"\u2283\u20D2","nvinfin;":"\u29DE","nvltrie;":"\u22B4\u20D2","nvrtrie;":"\u22B5\u20D2","nwarrow;":"\u2196","olcross;":"\u29BB","Omicron;":"\u039F","omicron;":"\u03BF","orderof;":"\u2134","orslope;":"\u2A57","OverBar;":"\u203E","pertenk;":"\u2031","planckh;":"\u210E","pluscir;":"\u2A22","plussim;":"\u2A26","plustwo;":"\u2A27","precsim;":"\u227E","Product;":"\u220F","quatint;":"\u2A16","questeq;":"\u225F","rarrbfs;":"\u2920","rarrsim;":"\u2974","rbrksld;":"\u298E","rbrkslu;":"\u2990","rdldhar;":"\u2969","realine;":"\u211B","rotimes;":"\u2A35","ruluhar;":"\u2968","searrow;":"\u2198","simplus;":"\u2A24","simrarr;":"\u2972","subedot;":"\u2AC3","submult;":"\u2AC1","subplus;":"\u2ABF","subrarr;":"\u2979","succsim;":"\u227F","supdsub;":"\u2AD8","supedot;":"\u2AC4","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supplus;":"\u2AC0","swarrow;":"\u2199","topfork;":"\u2ADA","triplus;":"\u2A39","tritime;":"\u2A3B","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","Upsilon;":"\u03A5","upsilon;":"\u03C5","uwangle;":"\u29A7","vzigzag;":"\u299A","zigrarr;":"\u21DD","andslope;":"\u2A58","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrtvbd;":"\u299D","approxeq;":"\u224A","awconint;":"\u2233","backcong;":"\u224C","barwedge;":"\u2305","bbrktbrk;":"\u23B6","bigoplus;":"\u2A01","bigsqcup;":"\u2A06","biguplus;":"\u2A04","bigwedge;":"\u22C0","boxminus;":"\u229F","boxtimes;":"\u22A0","bsolhsub;":"\u27C8","capbrcup;":"\u2A49","circledR;":"\xAE","circledS;":"\u24C8","cirfnint;":"\u2A10","clubsuit;":"\u2663","cupbrcap;":"\u2A48","curlyvee;":"\u22CE","cwconint;":"\u2232","DDotrahd;":"\u2911","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","drbkarow;":"\u2910","dzigrarr;":"\u27FF","elinters;":"\u23E7","emptyset;":"\u2205","eqvparsl;":"\u29E5","fpartint;":"\u2A0D","geqslant;":"\u2A7E","gesdotol;":"\u2A84","gnapprox;":"\u2A8A","hksearow;":"\u2925","hkswarow;":"\u2926","imagline;":"\u2110","imagpart;":"\u2111","infintie;":"\u29DD","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","intlarhk;":"\u2A17","laemptyv;":"\u29B4","ldrushar;":"\u294B","leqslant;":"\u2A7D","lesdotor;":"\u2A83","LessLess;":"\u2AA1","llcorner;":"\u231E","lnapprox;":"\u2A89","lrcorner;":"\u231F","lurdshar;":"\u294A","mapstoup;":"\u21A5","multimap;":"\u22B8","naturals;":"\u2115","ncongdot;":"\u2A6D\u0338","NotEqual;":"\u2260","notindot;":"\u22F5\u0338","NotTilde;":"\u2241","otimesas;":"\u2A36","parallel;":"\u2225","PartialD;":"\u2202","plusacir;":"\u2A23","pointint;":"\u2A15","Precedes;":"\u227A","precneqq;":"\u2AB5","precnsim;":"\u22E8","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","raemptyv;":"\u29B3","realpart;":"\u211C","RightTee;":"\u22A2","rppolint;":"\u2A12","rtriltri;":"\u29CE","scpolint;":"\u2A13","setminus;":"\u2216","shortmid;":"\u2223","smeparsl;":"\u29E4","sqsubset;":"\u228F","sqsupset;":"\u2290","subseteq;":"\u2286","Succeeds;":"\u227B","succneqq;":"\u2AB6","succnsim;":"\u22E9","SuchThat;":"\u220B","Superset;":"\u2283","supseteq;":"\u2287","thetasym;":"\u03D1","thicksim;":"\u223C","timesbar;":"\u2A31","triangle;":"\u25B5","triminus;":"\u2A3A","trpezium;":"\u23E2","Uarrocir;":"\u2949","ulcorner;":"\u231C","UnderBar;":"_","urcorner;":"\u231D","varkappa;":"\u03F0","varsigma;":"\u03C2","vartheta;":"\u03D1","backprime;":"\u2035","backsimeq;":"\u22CD","Backslash;":"\u2216","bigotimes;":"\u2A02","CenterDot;":"\xB7","centerdot;":"\xB7","checkmark;":"\u2713","CircleDot;":"\u2299","complexes;":"\u2102","Congruent;":"\u2261","Coproduct;":"\u2210","dotsquare;":"\u22A1","DoubleDot;":"\xA8","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownBreve;":"\u0311","gtrapprox;":"\u2A86","gtreqless;":"\u22DB","gvertneqq;":"\u2269\uFE00","heartsuit;":"\u2665","HumpEqual;":"\u224F","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftFloor;":"\u230A","lesseqgtr;":"\u22DA","LessTilde;":"\u2272","lvertneqq;":"\u2268\uFE00","Mellintrf;":"\u2133","MinusPlus;":"\u2213","ngeqslant;":"\u2A7E\u0338","nleqslant;":"\u2A7D\u0338","NotCupCap;":"\u226D","NotExists;":"\u2204","NotSubset;":"\u2282\u20D2","nparallel;":"\u2226","nshortmid;":"\u2224","nsubseteq;":"\u2288","nsupseteq;":"\u2289","OverBrace;":"\u23DE","pitchfork;":"\u22D4","PlusMinus;":"\xB1","rationals;":"\u211A","spadesuit;":"\u2660","subseteqq;":"\u2AC5","subsetneq;":"\u228A","supseteqq;":"\u2AC6","supsetneq;":"\u228B","Therefore;":"\u2234","therefore;":"\u2234","ThinSpace;":"\u2009","triangleq;":"\u225C","TripleDot;":"\u20DB","UnionPlus;":"\u228E","varpropto;":"\u221D","Bernoullis;":"\u212C","circledast;":"\u229B","CirclePlus;":"\u2295","complement;":"\u2201","curlywedge;":"\u22CF","eqslantgtr;":"\u2A96","EqualTilde;":"\u2242","Fouriertrf;":"\u2131","gtreqqless;":"\u2A8C","ImaginaryI;":"\u2148","Laplacetrf;":"\u2112","LeftVector;":"\u21BC","lessapprox;":"\u2A85","lesseqqgtr;":"\u2A8B","Lleftarrow;":"\u21DA","lmoustache;":"\u23B0","longmapsto;":"\u27FC","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","NotElement;":"\u2209","NotGreater;":"\u226F","nsubseteqq;":"\u2AC5\u0338","nsupseteqq;":"\u2AC6\u0338","precapprox;":"\u2AB7","Proportion;":"\u2237","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightFloor;":"\u230B","rmoustache;":"\u23B1","sqsubseteq;":"\u2291","sqsupseteq;":"\u2292","subsetneqq;":"\u2ACB","succapprox;":"\u2AB8","supsetneqq;":"\u2ACC","ThickSpace;":"\u205F\u200A","TildeEqual;":"\u2243","TildeTilde;":"\u2248","UnderBrace;":"\u23DF","UpArrowBar;":"\u2912","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","varepsilon;":"\u03F5","varnothing;":"\u2205","backepsilon;":"\u03F6","blacksquare;":"\u25AA","circledcirc;":"\u229A","circleddash;":"\u229D","CircleMinus;":"\u2296","CircleTimes;":"\u2297","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","diamondsuit;":"\u2666","eqslantless;":"\u2A95","Equilibrium;":"\u21CC","expectation;":"\u2130","GreaterLess;":"\u2277","LeftCeiling;":"\u2308","LessGreater;":"\u2276","MediumSpace;":"\u205F","NotLessLess;":"\u226A\u0338","NotPrecedes;":"\u2280","NotSucceeds;":"\u2281","NotSuperset;":"\u2283\u20D2","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","OverBracket;":"\u23B4","preccurlyeq;":"\u227C","precnapprox;":"\u2AB9","quaternions;":"\u210D","RightVector;":"\u21C0","Rrightarrow;":"\u21DB","RuleDelayed;":"\u29F4","SmallCircle;":"\u2218","SquareUnion;":"\u2294","straightphi;":"\u03D5","SubsetEqual;":"\u2286","succcurlyeq;":"\u227D","succnapprox;":"\u2ABA","thickapprox;":"\u2248","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","VerticalBar;":"\u2223","blacklozenge;":"\u29EB","DownArrowBar;":"\u2913","DownTeeArrow;":"\u21A7","ExponentialE;":"\u2147","exponentiale;":"\u2147","GreaterEqual;":"\u2265","GreaterTilde;":"\u2273","HilbertSpace;":"\u210B","HumpDownHump;":"\u224E","Intersection;":"\u22C2","LeftArrowBar;":"\u21E4","LeftTeeArrow;":"\u21A4","LeftTriangle;":"\u22B2","LeftUpVector;":"\u21BF","NotCongruent;":"\u2262","NotHumpEqual;":"\u224F\u0338","NotLessEqual;":"\u2270","NotLessTilde;":"\u2274","Proportional;":"\u221D","RightCeiling;":"\u2309","risingdotseq;":"\u2253","RoundImplies;":"\u2970","ShortUpArrow;":"\u2191","SquareSubset;":"\u228F","triangledown;":"\u25BF","triangleleft;":"\u25C3","UnderBracket;":"\u23B5","varsubsetneq;":"\u228A\uFE00","varsupsetneq;":"\u228B\uFE00","VerticalLine;":"|","ApplyFunction;":"\u2061","bigtriangleup;":"\u25B3","blacktriangle;":"\u25B4","DifferentialD;":"\u2146","divideontimes;":"\u22C7","DoubleLeftTee;":"\u2AE4","DoubleUpArrow;":"\u21D1","fallingdotseq;":"\u2252","hookleftarrow;":"\u21A9","leftarrowtail;":"\u21A2","leftharpoonup;":"\u21BC","LeftTeeVector;":"\u295A","LeftVectorBar;":"\u2952","LessFullEqual;":"\u2266","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","looparrowleft;":"\u21AB","measuredangle;":"\u2221","NotEqualTilde;":"\u2242\u0338","NotTildeEqual;":"\u2244","NotTildeTilde;":"\u2249","ntriangleleft;":"\u22EA","Poincareplane;":"\u210C","PrecedesEqual;":"\u2AAF","PrecedesTilde;":"\u227E","RightArrowBar;":"\u21E5","RightTeeArrow;":"\u21A6","RightTriangle;":"\u22B3","RightUpVector;":"\u21BE","shortparallel;":"\u2225","smallsetminus;":"\u2216","SucceedsEqual;":"\u2AB0","SucceedsTilde;":"\u227F","SupersetEqual;":"\u2287","triangleright;":"\u25B9","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneqq;":"\u2ACC\uFE00","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","curvearrowleft;":"\u21B6","DiacriticalDot;":"\u02D9","doublebarwedge;":"\u2306","DoubleRightTee;":"\u22A8","downdownarrows;":"\u21CA","DownLeftVector;":"\u21BD","GreaterGreater;":"\u2AA2","hookrightarrow;":"\u21AA","HorizontalLine;":"\u2500","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","LeftDownVector;":"\u21C3","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftthreetimes;":"\u22CB","LessSlantEqual;":"\u2A7D","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowright;":"\u21AC","LowerLeftArrow;":"\u2199","NestedLessLess;":"\u226A","NotGreaterLess;":"\u2279","NotLessGreater;":"\u2278","NotSubsetEqual;":"\u2288","NotVerticalBar;":"\u2224","nshortparallel;":"\u2226","ntriangleright;":"\u22EB","OpenCurlyQuote;":"\u2018","ReverseElement;":"\u220B","rightarrowtail;":"\u21A3","rightharpoonup;":"\u21C0","RightTeeVector;":"\u295B","RightVectorBar;":"\u2953","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","SquareSuperset;":"\u2290","TildeFullEqual;":"\u2245","trianglelefteq;":"\u22B4","upharpoonright;":"\u21BE","UpperLeftArrow;":"\u2196","ZeroWidthSpace;":"\u200B","bigtriangledown;":"\u25BD","circlearrowleft;":"\u21BA","CloseCurlyQuote;":"\u2019","ContourIntegral;":"\u222E","curvearrowright;":"\u21B7","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","downharpoonleft;":"\u21C3","DownRightVector;":"\u21C1","leftharpoondown;":"\u21BD","leftrightarrows;":"\u21C6","LeftRightVector;":"\u294E","LeftTriangleBar;":"\u29CF","LeftUpTeeVector;":"\u2960","LeftUpVectorBar;":"\u2958","LowerRightArrow;":"\u2198","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","NotGreaterEqual;":"\u2271","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotLeftTriangle;":"\u22EA","NotSquareSubset;":"\u228F\u0338","ntrianglelefteq;":"\u22EC","OverParenthesis;":"\u23DC","RightDownVector;":"\u21C2","rightleftarrows;":"\u21C4","rightsquigarrow;":"\u219D","rightthreetimes;":"\u22CC","ShortRightArrow;":"\u2192","straightepsilon;":"\u03F5","trianglerighteq;":"\u22B5","UpperRightArrow;":"\u2197","vartriangleleft;":"\u22B2","circlearrowright;":"\u21BB","DiacriticalAcute;":"\xB4","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","DoubleRightArrow;":"\u21D2","DownArrowUpArrow;":"\u21F5","downharpoonright;":"\u21C2","EmptySmallSquare;":"\u25FB","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","LeftAngleBracket;":"\u27E8","LeftUpDownVector;":"\u2951","LessEqualGreater;":"\u22DA","NonBreakingSpace;":"\xA0","NotPrecedesEqual;":"\u2AAF\u0338","NotRightTriangle;":"\u22EB","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsTilde;":"\u227F\u0338","NotSupersetEqual;":"\u2289","ntrianglerighteq;":"\u22ED","rightharpoondown;":"\u21C1","rightrightarrows;":"\u21C9","RightTriangleBar;":"\u29D0","RightUpTeeVector;":"\u295C","RightUpVectorBar;":"\u2954","twoheadleftarrow;":"\u219E","UnderParenthesis;":"\u23DD","UpArrowDownArrow;":"\u21C5","vartriangleright;":"\u22B3","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownLeftTeeVector;":"\u295E","DownLeftVectorBar;":"\u2956","FilledSmallSquare;":"\u25FC","GreaterSlantEqual;":"\u2A7E","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVectorBar;":"\u2959","leftrightharpoons;":"\u21CB","LeftTriangleEqual;":"\u22B4","NegativeThinSpace;":"\u200B","NotGreaterGreater;":"\u226B\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotNestedLessLess;":"\u2AA1\u0338","NotReverseElement;":"\u220C","NotSquareSuperset;":"\u2290\u0338","NotTildeFullEqual;":"\u2247","RightAngleBracket;":"\u27E9","rightleftharpoons;":"\u21CC","RightUpDownVector;":"\u294F","SquareSubsetEqual;":"\u2291","twoheadrightarrow;":"\u21A0","VerticalSeparator;":"\u2758","blacktriangleright;":"\u25B8","DownRightTeeVector;":"\u295F","DownRightVectorBar;":"\u2957","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","NegativeThickSpace;":"\u200B","NotLeftTriangleBar;":"\u29CF\u0338","PrecedesSlantEqual;":"\u227C","ReverseEquilibrium;":"\u21CB","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVectorBar;":"\u2955","RightTriangleEqual;":"\u22B5","SquareIntersection;":"\u2293","SucceedsSlantEqual;":"\u227D","DoubleLongLeftArrow;":"\u27F8","DownLeftRightVector;":"\u2950","LeftArrowRightArrow;":"\u21C6","leftrightsquigarrow;":"\u21AD","NegativeMediumSpace;":"\u200B","NotGreaterFullEqual;":"\u2267\u0338","NotRightTriangleBar;":"\u29D0\u0338","RightArrowLeftArrow;":"\u21C4","SquareSupersetEqual;":"\u2292","CapitalDifferentialD;":"\u2145","DoubleLeftRightArrow;":"\u21D4","DoubleLongRightArrow;":"\u27F9","EmptyVerySmallSquare;":"\u25AB","NestedGreaterGreater;":"\u226B","NotDoubleVerticalBar;":"\u2226","NotGreaterSlantEqual;":"\u2A7E\u0338","NotLeftTriangleEqual;":"\u22EC","NotSquareSubsetEqual;":"\u22E2","OpenCurlyDoubleQuote;":"\u201C","ReverseUpEquilibrium;":"\u296F","CloseCurlyDoubleQuote;":"\u201D","DoubleContourIntegral;":"\u222F","FilledVerySmallSquare;":"\u25AA","NegativeVeryThinSpace;":"\u200B","NotPrecedesSlantEqual;":"\u22E0","NotRightTriangleEqual;":"\u22ED","NotSucceedsSlantEqual;":"\u22E1","DiacriticalDoubleAcute;":"\u02DD","NotSquareSupersetEqual;":"\u22E3","NotNestedGreaterGreater;":"\u2AA2\u0338","ClockwiseContourIntegral;":"\u2232","DoubleLongLeftRightArrow;":"\u27FA","CounterClockwiseContourIntegral;":"\u2233"},Su,q1=(r,e)=>{let t=0,s=r.length,i="";function n(a){t+=a,r=r.slice(a)}for(;t<s;){let a=/&(?:#x?)?/i.exec(r);if(!a||t+a.index>=s){let o=s-t;i+=r.slice(0,o),n(o);break}if(i+=r.slice(0,a.index),n(a.index),a[0]==="&"){let o="",l;if(/[0-9a-z]/i.test(r[1])){Su||(Su=Object.keys(fd).reduce((u,c)=>Math.max(u,c.length),0));for(let u=Su;!l&&u>0;--u)o=r.slice(1,1+u),l=fd[o];if(l){let u=o.endsWith(";");e&&!u&&/[=a-z0-9]/i.test(r[o.length+1]||"")?(i+="&"+o,n(1+o.length)):(i+=l,n(1+o.length))}else i+="&"+o,n(1+o.length)}else i+="&",n(1)}else{let o=a[0]==="&#x",u=(o?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(r);if(!u)i+=a[0],n(a[0].length);else{let c=Number.parseInt(u[1],o?16:10);c===0||c>1114111||c>=55296&&c<=57343?c=65533:c>=64976&&c<=65007||(c&65534)==65534||(c>=1&&c<=8||c===11||c>=13&&c<=31||c>=127&&c<=159)&&(c=V1[c]||c),i+=String.fromCodePoint(c),n(u[0].length)}}}return i},V1={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},z1=De("style,iframe,script,noscript",!0),Ns={isVoidTag:Qp,isNativeTag:r=>Cv(r)||_v(r),isPreTag:r=>r==="pre",decodeEntities:q1,isBuiltInComponent:r=>{if(Et(r,"Transition"))return Os;if(Et(r,"TransitionGroup"))return Mi},getNamespace(r,e){let t=e?e.ns:0;if(e&&t===2)if(e.tag==="annotation-xml"){if(r==="svg")return 1;e.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(t=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&r!=="mglyph"&&r!=="malignmark"&&(t=0);else e&&t===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(t=0);if(t===0){if(r==="svg")return 1;if(r==="math")return 2}return t},getTextMode({tag:r,ns:e}){if(e===0){if(r==="textarea"||r==="title")return 1;if(z1(r))return 2}return 0}},bu=r=>{r.type===1&&r.props.forEach((e,t)=>{e.type===6&&e.name==="style"&&e.value&&(r.props[t]={type:7,name:"bind",arg:j("style",!0,e.loc),exp:W1(e.value.content,e.loc),modifiers:[],loc:e.loc})})},W1=(r,e)=>{let t=Yp(r);return j(JSON.stringify(t),!1,e,3)};function Ve(r,e){return pe(r,e,G1)}var G1={[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."},H1=(r,e,t)=>{let{exp:s,loc:i}=r;return s||t.onError(Ve(53,i)),e.children.length&&(t.onError(Ve(54,i)),e.children.length=0),{props:[fe(j("innerHTML",!0,i),s||j("",!0))]}},K1=(r,e,t)=>{let{exp:s,loc:i}=r;return s||t.onError(Ve(55,i)),e.children.length&&(t.onError(Ve(56,i)),e.children.length=0),{props:[fe(j("textContent",!0),s?ot(s,t)>0?s:Z(t.helperString(ti),[s],i):j("",!0))]}},Y1=(r,e,t)=>{let s=Oa(r,e,t);if(!s.props.length||e.tagType===1)return s;r.arg&&t.onError(Ve(58,r.arg.loc));function i(){let o=et(e,"value");o&&t.onError(Ve(60,o.loc))}let{tag:n}=e,a=t.isCustomElement(n);if(n==="input"||n==="textarea"||n==="select"||a){let o=du,l=!1;if(n==="input"||a){let u=et(e,"type");if(u){if(u.type===7)o=Na;else if(u.value)switch(u.value.content){case"radio":o=hu;break;case"checkbox":o=fu;break;case"file":l=!0,t.onError(Ve(59,r.loc));break;default:i();break}}else ua(e)?o=Na:i()}else n==="select"?o=mu:i();l||(s.needRuntime=t.helper(o))}else t.onError(Ve(57,r.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},J1=De("passive,once,capture"),Q1=De("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),X1=De("left,right"),dd=De("onkeyup,onkeydown,onkeypress",!0),Z1=(r,e,t,s)=>{let i=[],n=[],a=[];for(let o=0;o<e.length;o++){let l=e[o];J1(l)?a.push(l):X1(l)?Re(r)?dd(r.content)?i.push(l):n.push(l):(i.push(l),n.push(l)):Q1(l)?n.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:n,eventOptionModifiers:a}},md=(r,e)=>Re(r)&&r.content.toLowerCase()==="onclick"?j(e,!0):r.type!==4?Me(["(",r,`) === "onClick" ? "${e}" : (`,r,")"]):r,ew=(r,e,t)=>Ia(r,e,t,s=>{let{modifiers:i}=r;if(!i.length)return s;let{key:n,value:a}=s.props[0],{keyModifiers:o,nonKeyModifiers:l,eventOptionModifiers:u}=Z1(n,i,t,r.loc);if(l.includes("right")&&(n=md(n,"onContextmenu")),l.includes("middle")&&(n=md(n,"onMouseup")),l.length&&(a=Z(t.helper(yu),[a,JSON.stringify(l)])),o.length&&(!Re(n)||dd(n.content))&&(a=Z(t.helper(gu),[a,JSON.stringify(o)])),u.length){let c=u.map(hr).join("");n=Re(n)?j(`${n.content}${c}`,!0):Me(["(",n,`) + "${c}"`])}return{props:[fe(n,a)]}}),tw=(r,e,t)=>{let{exp:s,loc:i}=r;return s||t.onError(Ve(61,i)),{props:[],needRuntime:t.helper(vu)}},rw=(r,e)=>{if(r.type===1&&r.tagType===1&&e.isBuiltInComponent(r.tag)===Os)return()=>{if(!r.children.length)return;yd(r)&&e.onError(Ve(62,{start:r.children[0].loc.start,end:r.children[r.children.length-1].loc.end,source:""}));let s=r.children[0];if(s.type===1)for(let i of s.props)i.type===7&&i.name==="show"&&r.props.push({type:6,name:"persisted",value:void 0,loc:r.loc})}};function yd(r){let e=r.children=r.children.filter(s=>s.type!==3&&!(s.type===2&&!s.content.trim())),t=e[0];return e.length!==1||t.type===11||t.type===9&&t.branches.some(yd)}var sw=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,iw=(r,e,t)=>{if(e.scopes.vSlot>0)return;let s=0,i=0,n=[],a=l=>{if(s>=20||i>=5){let u=Z(e.helper(Cn),[JSON.stringify(n.map(c=>wu(c,e)).join("")).replace(sw,'" + $1 + "'),String(n.length)]);if(vd(n[0],u,e),n.length>1){for(let p=1;p<n.length;p++)vd(n[p],null,e);let c=n.length-1;return r.splice(l-n.length+1,c),c}}return 0},o=0;for(;o<r.length;o++){let l=r[o];if(nw(l)){let c=l,p=lw(c);if(p){s+=p[0],i+=p[1],n.push(c);continue}}o-=a(o),s=0,i=0,n.length=0}a(o)},nw=r=>(r.type===1&&r.tagType===0||r.type==12)&&r.codegenNode&&r.codegenNode.type===4&&r.codegenNode.hoisted,aw=/^(data|aria)-/,gd=(r,e)=>(e===0?Lv(r):e===1?Dv(r):!1)||aw.test(r),vd=(r,e,t)=>{let s=r.codegenNode.hoisted;t.hoists[t.hoists.indexOf(s)]=e},ow=De("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function lw(r){if(r.type===1&&ow(r.tag))return!1;if(r.type===12)return[1,0];let e=1,t=r.props.length>0?1:0,s=!1,i=()=>(s=!0,!1);function n(a){for(let o=0;o<a.props.length;o++){let l=a.props[o];if(l.type===6&&!gd(l.name,a.ns)||l.type===7&&l.name==="bind"&&(l.arg&&(l.arg.type===8||l.arg.isStatic&&!gd(l.arg.content,a.ns))||l.exp&&(l.exp.type===8||l.exp.constType<3)))return i()}for(let o=0;o<a.children.length;o++){e++;let l=a.children[o];if(l.type===1&&(l.props.length>0&&t++,n(l),s))return!1}return!0}return n(r)?[e,t]:!1}function wu(r,e){if(le(r))return r;if(Qr(r))return"";switch(r.type){case 1:return uw(r,e);case 2:return Nt(r.content);case 3:return`<!--${Nt(r.content)}-->`;case 5:return Nt(zo($r(r.content)));case 8:return Nt($r(r));case 12:return wu(r.content,e);default:return""}}function uw(r,e){let t=`<${r.tag}`,s="";for(let i=0;i<r.props.length;i++){let n=r.props[i];if(n.type===6)t+=` ${n.name}`,n.value&&(t+=`="${Nt(n.value.content)}"`);else if(n.type===7)if(n.name==="bind"){let a=n.exp;if(a.content[0]==="_"){t+=` ${n.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(Xp(n.arg.content)&&a.content==="false")continue;let o=$r(a);if(o!=null){let l=n.arg&&n.arg.content;l==="class"?o=Jp(o):l==="style"&&(o=Pv(Kp(o))),t+=` ${n.arg.content}="${Nt(o)}"`}}else n.name==="html"?s=$r(n.exp):n.name==="text"&&(s=Nt(zo($r(n.exp))))}if(e.scopeId&&(t+=` ${e.scopeId}`),t+=">",s)t+=s;else for(let i=0;i<r.children.length;i++)t+=wu(r.children[i],e);return Qp(r.tag)||(t+=`</${r.tag}>`),t}function $r(r){if(r.type===4)return new Function(`return (${r.content})`)();{let e="";return r.children.forEach(t=>{le(t)||Qr(t)||(t.type===2?e+=t.content:t.type===5?e+=zo($r(t.content)):e+=$r(t))}),e}}var cw=(r,e)=>{r.type===1&&r.tagType===0&&(r.tag==="script"||r.tag==="style")&&(e.onError(Ve(63,r.loc)),e.removeNode())},Eu=[bu,rw],Pu={cloak:Di,html:H1,text:K1,model:Y1,on:ew,show:tw};function pw(r,e={}){return hd(r,qt({},Ns,e,{nodeTransforms:[cw,...Eu,...e.nodeTransforms||[]],directiveTransforms:qt({},Pu,e.directiveTransforms||{}),transformHoist:iw}))}function hw(r,e={}){return ca(r,qt({},Ns,e))}var Sd=Object.freeze({__proto__:null,BASE_TRANSITION:Go,CAMELIZE:Dn,CAPITALIZE:rh,CREATE_BLOCK:Ho,CREATE_COMMENT:rs,CREATE_ELEMENT_BLOCK:Ko,CREATE_ELEMENT_VNODE:xn,CREATE_SLOTS:Jo,CREATE_STATIC:Cn,CREATE_TEXT:An,CREATE_VNODE:Zs,DOMDirectiveTransforms:Pu,DOMNodeTransforms:Eu,FRAGMENT:es,GUARD_REACTIVE_PROPS:ns,IS_MEMO_SAME:Qo,IS_REF:si,KEEP_ALIVE:Xs,MERGE_PROPS:xr,NORMALIZE_CLASS:Nn,NORMALIZE_PROPS:is,NORMALIZE_STYLE:kn,OPEN_BLOCK:fr,POP_SCOPE_ID:$n,PUSH_SCOPE_ID:Rn,RENDER_LIST:On,RENDER_SLOT:Yo,RESOLVE_COMPONENT:ei,RESOLVE_DIRECTIVE:_n,RESOLVE_DYNAMIC_COMPONENT:ss,RESOLVE_FILTER:th,SET_BLOCK_TRACKING:ri,SUSPENSE:ts,TELEPORT:Tr,TO_DISPLAY_STRING:ti,TO_HANDLERS:Ln,TO_HANDLER_KEY:Mn,TRANSITION:Os,TRANSITION_GROUP:Mi,TS_NODE_TYPES:Zl,UNREF:as,V_MODEL_CHECKBOX:fu,V_MODEL_DYNAMIC:Na,V_MODEL_RADIO:hu,V_MODEL_SELECT:mu,V_MODEL_TEXT:du,V_ON_WITH_KEYS:gu,V_ON_WITH_MODIFIERS:yu,V_SHOW:vu,WITH_CTX:Fn,WITH_DIRECTIVES:In,WITH_MEMO:Bn,advancePositionWithClone:Mr,advancePositionWithMutation:vs,assert:$l,baseCompile:hd,baseParse:ca,buildDirectiveArgs:ou,buildProps:Is,buildSlots:ki,checkCompatEnabled:Ib,compile:pw,convertToBlock:qn,createArrayExpression:Ar,createAssignmentExpression:el,createBlockStatement:ii,createCacheExpression:sh,createCallExpression:Z,createCompilerError:pe,createCompoundExpression:Me,createConditionalExpression:dr,createDOMCompilerError:Ve,createForLoopParams:Ni,createFunctionExpression:nt,createIfStatement:jn,createInterpolation:Un,createObjectExpression:Ze,createObjectProperty:fe,createReturnStatement:nh,createRoot:os,createSequenceExpression:ih,createSimpleExpression:j,createStructuralDirectiveTransform:xi,createTemplateLiteral:Zo,createTransformContext:Ti,createVNodeCall:ls,extractIdentifiers:xt,findDir:ke,findProp:et,generate:Xl,generateCodeFrame:Zr,getBaseTransformPreset:pu,getConstantType:ot,getInnerRange:Rl,getMemoedVNodeCall:gf,getVNodeBlockHelper:_r,getVNodeHelper:Cr,hasDynamicKeyVBind:ua,hasScopeRef:tt,helperNameMap:Xe,injectProp:Si,isBuiltInType:Et,isCoreComponent:Dl,isFunctionType:dt,isInDestructureAssignment:Cs,isMemberExpression:Ml,isMemberExpressionBrowser:xb,isMemberExpressionNode:df,isReferencedIdentifier:Ea,isSimpleIdentifier:Sr,isSlotOutlet:bs,isStaticArgOf:Xt,isStaticExp:Re,isStaticProperty:_s,isStaticPropertyKey:Xf,isTemplateNode:Ss,isText:vi,isVSlot:Fl,locStub:Ee,noopDirectiveTransform:Di,parse:hw,parserOptions:Ns,processExpression:Ye,processFor:ru,processIf:tu,processSlotOutlet:uu,registerRuntimeHelpers:Xo,resolveComponentType:_a,stringifyExpression:Ta,toValidAssetId:bi,trackSlotScopes:iu,trackVForSlotScopes:nu,transform:da,transformBind:cu,transformElement:od,transformExpression:eu,transformModel:Oa,transformOn:Ia,transformStyle:bu,traverseNode:ws,walkBlockDeclarations:Jf,walkFunctionParams:Pa,walkIdentifiers:Oi,warnDeprecation:vf});function bd(r,e){for(var t=0,s=r.length-1;s>=0;s--){var i=r[s];i==="."?r.splice(s,1):i===".."?(r.splice(s,1),t++):t&&(r.splice(s,1),t--)}if(e)for(;t--;t)r.unshift("..");return r}var fw=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Tu=function(r){return fw.exec(r).slice(1)};function ka(){for(var r="",e=!1,t=arguments.length-1;t>=-1&&!e;t--){var s=t>=0?arguments[t]:"/";if(typeof s!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!s)continue;r=s+"/"+r,e=s.charAt(0)==="/"}return r=bd(_u(r.split("/"),function(i){return!!i}),!e).join("/"),(e?"/":"")+r||"."}function xu(r){var e=Au(r),t=dw(r,-1)==="/";return r=bd(_u(r.split("/"),function(s){return!!s}),!e).join("/"),!r&&!e&&(r="."),r&&t&&(r+="/"),(e?"/":"")+r}function Au(r){return r.charAt(0)==="/"}function wd(){var r=Array.prototype.slice.call(arguments,0);return xu(_u(r,function(e,t){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Ed(r,e){r=ka(r).substr(1),e=ka(e).substr(1);function t(u){for(var c=0;c<u.length&&u[c]==="";c++);for(var p=u.length-1;p>=0&&u[p]==="";p--);return c>p?[]:u.slice(c,p-c+1)}for(var s=t(r.split("/")),i=t(e.split("/")),n=Math.min(s.length,i.length),a=n,o=0;o<n;o++)if(s[o]!==i[o]){a=o;break}for(var l=[],o=a;o<s.length;o++)l.push("..");return l=l.concat(i.slice(a)),l.join("/")}var Pd="/",Td=":";function xd(r){var e=Tu(r),t=e[0],s=e[1];return!t&&!s?".":(s&&(s=s.substr(0,s.length-1)),t+s)}function Ad(r,e){var t=Tu(r)[2];return e&&t.substr(-1*e.length)===e&&(t=t.substr(0,t.length-e.length)),t}function Cu(r){return Tu(r)[3]}var er={extname:Cu,basename:Ad,dirname:xd,sep:Pd,delimiter:Td,relative:Ed,join:wd,isAbsolute:Au,normalize:xu,resolve:ka};function _u(r,e){if(r.filter)return r.filter(e);for(var t=[],s=0;s<r.length;s++)e(r[s],s,r)&&t.push(r[s]);return t}var dw="ab".substr(-1)==="b"?function(r,e,t){return r.substr(e,t)}:function(r,e,t){return e<0&&(e=r.length+e),r.substr(e,t)},mw=Object.freeze({__proto__:null,basename:Ad,default:er,delimiter:Td,dirname:xd,extname:Cu,isAbsolute:Au,join:wd,normalize:xu,relative:Ed,resolve:ka,sep:Pd}),Fr="Unknown";function Iu(r,e){switch(r.type){case"StringLiteral":case"NumericLiteral":return String(r.value);case"Identifier":if(!e)return r.name}}function Ou(r){return r.filter(e=>!!e).join(", ")}function Cd(r){return r.type.endsWith("Literal")}function Dt(r){return Zl.includes(r.type)?Dt(r.expression):r}function Je(r,e){return!!(r&&e&&r.type==="CallExpression"&&r.callee.type==="Identifier"&&(typeof e=="string"?r.callee.name===e:e(r.callee.name)))}function Nu(r){return r.length>1?`[${r.join(", ")}]`:r[0]}function ku(r){return r.type==="ImportSpecifier"?r.imported.type==="Identifier"?r.imported.name:r.imported.value:r.type==="ImportNamespaceSpecifier"?"*":"default"}function Br(r){return r.type==="Identifier"?r.name:r.type==="StringLiteral"?r.value:null}var yw=(er.posix||er).normalize,gw=/\\/g;function Lu(r){return yw(r.replace(gw,"/"))}var Du=(er.posix||er).join,_d=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Id(r){return _d.test(r)?JSON.stringify(r):r}function vw(r,e){for(;r.length<e;)r="0"+r;return r}function tr(r,e){var t,s,i;if(e.length===0)return r;for(t=0,i=e.length;t<i;t++)s=e.charCodeAt(t),r=(r<<5)-r+s,r|=0;return r<0?r*-2:r}function Sw(r,e,t){return Object.keys(e).sort().reduce(s,r);function s(i,n){return Od(i,e[n],n,t)}}function Od(r,e,t,s){var i=tr(tr(tr(r,t),bw(e)),typeof e);if(e===null)return tr(i,"null");if(e===void 0)return tr(i,"undefined");if(typeof e=="object"||typeof e=="function"){if(s.indexOf(e)!==-1)return tr(i,"[Circular]"+t);s.push(e);var n=Sw(i,e,s);if(!("valueOf"in e)||typeof e.valueOf!="function")return n;try{return tr(n,String(e.valueOf()))}catch(a){return tr(n,"[valueOf exception]"+(a.stack||a.message))}}return tr(i,e.toString())}function bw(r){return Object.prototype.toString.call(r)}function ww(r){return vw(Od(0,r,"",[]).toString(16),8)}var Ew=ww,Pw=Ew,La="useCssVars";function Nd(r,e,t,s=!1){return`{
31
+ ${r.map(i=>`"${s?"--":""}${kd(e,i,t)}": (${i})`).join(`,
32
+ `)}
33
+ }`}function kd(r,e,t){return t?Pw(r+e):`${r}-${e.replace(_d,s=>`\\${s}`)}`}function Ld(r){return r=r.trim(),r[0]==="'"&&r[r.length-1]==="'"||r[0]==='"'&&r[r.length-1]==='"'?r.slice(1,-1):r}var Da=/v-bind\s*\(/g;function Tw(r){let e=[];return r.styles.forEach(t=>{let s,i=t.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;s=Da.exec(i);){let n=s.index+s[0].length,a=Dd(i,n);if(a!==null){let o=Ld(i.slice(n,a));e.includes(o)||e.push(o)}}}),e}function Dd(r,e){let t=0,s=0;for(let i=e;i<r.length;i++){let n=r.charAt(i);switch(t){case 0:if(n==="'")t=1;else if(n==='"')t=2;else if(n==="(")s++;else if(n===")")if(s>0)s--;else return i;break;case 1:n==="'"&&(t=0);break;case 2:n==='"'&&(t=0);break}}return null}var Md=r=>{let{id:e,isProd:t}=r;return{postcssPlugin:"vue-sfc-vars",Declaration(s){let i=s.value;if(Da.test(i)){Da.lastIndex=0;let n="",a=0,o;for(;o=Da.exec(i);){let l=o.index+o[0].length,u=Dd(i,l);if(u!==null){let c=Ld(i.slice(l,u));n+=i.slice(a,o.index)+`var(--${kd(e,c,t)})`,a=u+1}}s.value=n+i.slice(a)}}}};Md.postcss=!0;function Rd(r,e,t,s){let i=Nd(r,t,s),n=j(i,!1),a=Ti(os([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:e.__isScriptSetup===!1?void 0:e}),o=Ye(n,a),l=o.type===4?o.content:o.children.map(u=>typeof u=="string"?u:u.content).join("");return`_${La}(_ctx => (${l}))`}function xw(r,e,t,s,i){return`
34
+ import { ${La} as _${La} } from 'vue'
35
+ const __injectCSSVars__ = () => {
36
+ ${Rd(r,e,t,s)}}
37
+ const __setup__ = ${i}.setup
38
+ ${i}.setup = __setup__
39
+ ? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
40
+ : __injectCSSVars__
41
+ `}function Ma(r=500){return new Map}function $d(r,e){return new RegExp(`[^\\w$_]${r.replace(/\$/g,"\\$")}[^\\w$_]`).test(Aw(e))}var Fd=Ma();function Aw(r){let{content:e,ast:t}=r.template,s=Fd.get(e);if(s)return s;let i="";return da(os([t]),{nodeTransforms:[n=>{if(n.type===1){!Ns.isNativeTag(n.tag)&&!Ns.isBuiltInComponent(n.tag)&&(i+=`,${wt(n.tag)},${hr(wt(n.tag))}`);for(let a=0;a<n.props.length;a++){let o=n.props[a];o.type===7&&(qo(o.name)||(i+=`,v${hr(wt(o.name))}`),o.exp&&(i+=`,${Ra(o.exp.content,o.name)}`))}}else n.type===5&&(i+=`,${Ra(n.content.content)}`)}]}),i+=";",Fd.set(e,i),i}var Cw=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function Ra(r,e){if(/ as\s+\w|<.*>|:/.test(r)){if(e==="slot")r=`(${r})=>{}`;else if(e==="on")r=`()=>{return ${r}}`;else if(e==="for"){let i=r.match(Cw);if(i){let[,n,a]=i;return n=n.trim().replace(/^\(|\)$/g,""),Ra(`(${n})=>{}`)+Ra(a)}}let t="",s=ff(r,{plugins:["typescript"]});return Oi(s,i=>{t+=","+i.name}),t}return _w(r)}function _w(r){return r.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,Iw)}function Iw(r){let e=r.match(/\${[^}]+}/g);return e?e.map(t=>t.slice(2,-1)).join(","):""}var Ow=Object.defineProperty,Bd=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,kw=Object.prototype.propertyIsEnumerable,Ud=(r,e,t)=>e in r?Ow(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Lw=(r,e)=>{for(var t in e||(e={}))Nw.call(e,t)&&Ud(r,t,e[t]);if(Bd)for(var t of Bd(e))kw.call(e,t)&&Ud(r,t,e[t]);return r},jd="anonymous.vue",Mu=Ma();function qd(r,{sourceMap:e=!0,filename:t=jd,sourceRoot:s="",pad:i=!1,ignoreEmpty:n=!0,compiler:a=Sd}={}){let o=r+e+t+s+i+a.parse,l=Mu.get(o);if(l)return l;let u={filename:t,source:r,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:g=>Uw(g,u)},c=[];if(a.parse(r,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:g,props:d},m)=>!m&&g!=="template"||g==="template"&&d.some(y=>y.type===6&&y.name==="lang"&&y.value&&y.value.content&&y.value.content!=="html")?2:0,onError:g=>{c.push(g)}}).children.forEach(g=>{if(g.type===1&&!(n&&g.tag!=="template"&&Bw(g)&&!Fw(g)))switch(g.tag){case"template":if(u.template)c.push(Vd(g));else{let E=u.template=$a(g,r,!1);if(E.ast=g,E.attrs.functional){let S=new 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.");S.loc=g.props.find(v=>v.name==="functional").loc,c.push(S)}}break;case"script":let d=$a(g,r,i),m=!!d.attrs.setup;if(m&&!u.scriptSetup){u.scriptSetup=d;break}if(!m&&!u.script){u.script=d;break}c.push(Vd(g,m));break;case"style":let y=$a(g,r,i);y.attrs.vars&&c.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),u.styles.push(y);break;default:u.customBlocks.push($a(g,r,i));break}}),!u.template&&!u.script&&!u.scriptSetup&&c.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),u.scriptSetup&&(u.scriptSetup.src&&(c.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),u.scriptSetup=null),u.script&&u.script.src&&(c.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),u.script=null)),e){let g=d=>{d&&!d.src&&(d.map=Rw(t,r,d.content,s,!i||d.type==="template"?d.loc.start.line-1:0))};g(u.template),g(u.script),u.styles.forEach(g),u.customBlocks.forEach(g)}u.cssVars=Tw(u);let h=/(?:::v-|:)slotted\(/;u.slotted=u.styles.some(g=>g.scoped&&h.test(g.content));let f={descriptor:u,errors:c};return Mu.set(o,f),f}function Vd(r,e=!1){let t=new SyntaxError(`Single file component can contain only one <${r.tag}${e?" setup":""}> element`);return t.loc=r.loc,t}function $a(r,e,t){let s=r.tag,{start:i,end:n}=r.loc,a="";if(r.children.length)i=r.children[0].loc.start,n=r.children[r.children.length-1].loc.end,a=e.slice(i.offset,n.offset);else{let c=r.loc.source.indexOf("</");c>-1&&(i={line:i.line,column:i.column+c,offset:i.offset+c}),n=Lw({},i)}let o={source:a,start:i,end:n},l={},u={type:s,content:a,loc:o,attrs:l};return t&&(u.content=$w(e,u,t)+u.content),r.props.forEach(c=>{c.type===6&&(l[c.name]=c.value&&c.value.content||!0,c.name==="lang"?u.lang=c.value&&c.value.content:c.name==="src"?u.src=c.value&&c.value.content:s==="style"?c.name==="scoped"?u.scoped=!0:c.name==="module"&&(u.module=l[c.name]):s==="script"&&c.name==="setup"&&(u.setup=l.setup))}),u}var zd=/\r?\n/g,Dw=/^(?:\/\/)?\s*$/,Mw=/./g;function Rw(r,e,t,s,i){let n=new Ql({file:r.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return n.setSourceContent(r,e),t.split(zd).forEach((a,o)=>{if(!Dw.test(a)){let l=o+1+i,u=o+1;for(let c=0;c<a.length;c++)/\s/.test(a[c])||n.addMapping({source:r,original:{line:l,column:c},generated:{line:u,column:c}})}}),JSON.parse(n.toString())}function $w(r,e,t){if(r=r.slice(0,e.loc.start.offset),t==="space")return r.replace(Mw," ");{let s=r.split(zd).length,i=e.type==="script"&&!e.lang?`//
42
+ `:`
43
+ `;return Array(s).join(i)}}function Fw(r){return r.props.some(e=>e.type!==6?!1:e.name==="src")}function Bw(r){for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.type!==2||t.content.trim()!=="")return!1}return!0}function Uw(r,e){if(!e.scriptSetup||e.scriptSetup.lang!=="ts"&&e.scriptSetup.lang!=="tsx")return!1;for(let t in r)if(!r[t].isUsedInTemplate&&$d(t,e))return!0;return!1}var br=typeof window!="undefined"?window:typeof self!="undefined"?self:typeof window!="undefined"?window:{};var Ru=2147483647,Ri=36,Wd=1,$u=26,jw=38,qw=700,Vw=72,zw=128,Ww="-",Gw=/[^\x20-\x7E]/,Hw=/[\x2E\u3002\uFF0E\uFF61]/g,Kw={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Fu=Ri-Wd,ks=Math.floor,Bu=String.fromCharCode;function Gd(r){throw new RangeError(Kw[r])}function Yw(r,e){for(var t=r.length,s=[];t--;)s[t]=e(r[t]);return s}function Jw(r,e){var t=r.split("@"),s="";t.length>1&&(s=t[0]+"@",r=t[1]),r=r.replace(Hw,".");var i=r.split("."),n=Yw(i,e).join(".");return s+n}function Qw(r){for(var e=[],t=0,s=r.length,i,n;t<s;)i=r.charCodeAt(t++),i>=55296&&i<=56319&&t<s?(n=r.charCodeAt(t++),(n&64512)==56320?e.push(((i&1023)<<10)+(n&1023)+65536):(e.push(i),t--)):e.push(i);return e}function Hd(r,e){return r+22+75*(r<26)-((e!=0)<<5)}function Xw(r,e,t){var s=0;for(r=t?ks(r/qw):r>>1,r+=ks(r/e);r>Fu*$u>>1;s+=Ri)r=ks(r/Fu);return ks(s+(Fu+1)*r/(r+jw))}function Zw(r){var e,t,s,i,n,a,o,l,u,c,p,h=[],f,g,d,m;for(r=Qw(r),f=r.length,e=zw,t=0,n=Vw,a=0;a<f;++a)p=r[a],p<128&&h.push(Bu(p));for(s=i=h.length,i&&h.push(Ww);s<f;){for(o=Ru,a=0;a<f;++a)p=r[a],p>=e&&p<o&&(o=p);for(g=s+1,o-e>ks((Ru-t)/g)&&Gd("overflow"),t+=(o-e)*g,e=o,a=0;a<f;++a)if(p=r[a],p<e&&++t>Ru&&Gd("overflow"),p==e){for(l=t,u=Ri;c=u<=n?Wd:u>=n+$u?$u:u-n,!(l<c);u+=Ri)m=l-c,d=Ri-c,h.push(Bu(Hd(c+m%d,0))),l=ks(m/d);h.push(Bu(Hd(l,0))),n=Xw(t,g,s==i),t=0,++s}++t,++e}return h.join("")}function eE(r){return Jw(r,function(e){return Gw.test(e)?"xn--"+Zw(e):e})}var Mt=[],mt=[],tE=typeof Uint8Array!="undefined"?Uint8Array:Array,Uu=!1;function Kd(){Uu=!0;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=r.length;e<t;++e)Mt[e]=r[e],mt[r.charCodeAt(e)]=e;mt["-".charCodeAt(0)]=62,mt["_".charCodeAt(0)]=63}function rE(r){Uu||Kd();var e,t,s,i,n,a,o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");n=r[o-2]==="="?2:r[o-1]==="="?1:0,a=new tE(o*3/4-n),s=n>0?o-4:o;var l=0;for(e=0,t=0;e<s;e+=4,t+=3)i=mt[r.charCodeAt(e)]<<18|mt[r.charCodeAt(e+1)]<<12|mt[r.charCodeAt(e+2)]<<6|mt[r.charCodeAt(e+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=i&255;return n===2?(i=mt[r.charCodeAt(e)]<<2|mt[r.charCodeAt(e+1)]>>4,a[l++]=i&255):n===1&&(i=mt[r.charCodeAt(e)]<<10|mt[r.charCodeAt(e+1)]<<4|mt[r.charCodeAt(e+2)]>>2,a[l++]=i>>8&255,a[l++]=i&255),a}function sE(r){return Mt[r>>18&63]+Mt[r>>12&63]+Mt[r>>6&63]+Mt[r&63]}function iE(r,e,t){for(var s,i=[],n=e;n<t;n+=3)s=(r[n]<<16)+(r[n+1]<<8)+r[n+2],i.push(sE(s));return i.join("")}function Yd(r){Uu||Kd();for(var e,t=r.length,s=t%3,i="",n=[],a=16383,o=0,l=t-s;o<l;o+=a)n.push(iE(r,o,o+a>l?l:o+a));return s===1?(e=r[t-1],i+=Mt[e>>2],i+=Mt[e<<4&63],i+="=="):s===2&&(e=(r[t-2]<<8)+r[t-1],i+=Mt[e>>10],i+=Mt[e>>4&63],i+=Mt[e<<2&63],i+="="),n.push(i),n.join("")}function Fa(r,e,t,s,i){var n,a,o=i*8-s-1,l=(1<<o)-1,u=l>>1,c=-7,p=t?i-1:0,h=t?-1:1,f=r[e+p];for(p+=h,n=f&(1<<-c)-1,f>>=-c,c+=o;c>0;n=n*256+r[e+p],p+=h,c-=8);for(a=n&(1<<-c)-1,n>>=-c,c+=s;c>0;a=a*256+r[e+p],p+=h,c-=8);if(n===0)n=1-u;else{if(n===l)return a?NaN:(f?-1:1)*(1/0);a=a+Math.pow(2,s),n=n-u}return(f?-1:1)*a*Math.pow(2,n-s)}function Jd(r,e,t,s,i,n){var a,o,l,u=n*8-i-1,c=(1<<u)-1,p=c>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=s?0:n-1,g=s?1:-1,d=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+p>=1?e+=h/l:e+=h*Math.pow(2,1-p),e*l>=2&&(a++,l/=2),a+p>=c?(o=0,a=c):a+p>=1?(o=(e*l-1)*Math.pow(2,i),a=a+p):(o=e*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;r[t+f]=o&255,f+=g,o/=256,i-=8);for(a=a<<i|o,u+=i;u>0;r[t+f]=a&255,f+=g,a/=256,u-=8);r[t+f-g]|=d*128}var nE={}.toString,Qd=Array.isArray||function(r){return nE.call(r)=="[object Array]"};var aE=50;$.TYPED_ARRAY_SUPPORT=br.TYPED_ARRAY_SUPPORT!==void 0?br.TYPED_ARRAY_SUPPORT:!0;Ba();function Ba(){return $.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function rr(r,e){if(Ba()<e)throw new RangeError("Invalid typed array length");return $.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e),r.__proto__=$.prototype):(r===null&&(r=new $(e)),r.length=e),r}function $(r,e,t){if(!$.TYPED_ARRAY_SUPPORT&&!(this instanceof $))return new $(r,e,t);if(typeof r=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return ju(this,r)}return Xd(this,r,e,t)}$.poolSize=8192;$._augment=function(r){return r.__proto__=$.prototype,r};function Xd(r,e,t,s){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?uE(r,e,t,s):typeof e=="string"?lE(r,e,t):cE(r,e)}$.from=function(r,e,t){return Xd(null,r,e,t)};$.TYPED_ARRAY_SUPPORT&&($.prototype.__proto__=Uint8Array.prototype,$.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&$[Symbol.species]===$);function Zd(r){if(typeof r!="number")throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function oE(r,e,t,s){return Zd(e),e<=0?rr(r,e):t!==void 0?typeof s=="string"?rr(r,e).fill(t,s):rr(r,e).fill(t):rr(r,e)}$.alloc=function(r,e,t){return oE(null,r,e,t)};function ju(r,e){if(Zd(e),r=rr(r,e<0?0:Vu(e)|0),!$.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)r[t]=0;return r}$.allocUnsafe=function(r){return ju(null,r)};$.allocUnsafeSlow=function(r){return ju(null,r)};function lE(r,e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!$.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var s=em(e,t)|0;r=rr(r,s);var i=r.write(e,t);return i!==s&&(r=r.slice(0,i)),r}function qu(r,e){var t=e.length<0?0:Vu(e.length)|0;r=rr(r,t);for(var s=0;s<t;s+=1)r[s]=e[s]&255;return r}function uE(r,e,t,s){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(s||0))throw new RangeError("'length' is out of bounds");return t===void 0&&s===void 0?e=new Uint8Array(e):s===void 0?e=new Uint8Array(e,t):e=new Uint8Array(e,t,s),$.TYPED_ARRAY_SUPPORT?(r=e,r.__proto__=$.prototype):r=qu(r,e),r}function cE(r,e){if(Rt(e)){var t=Vu(e.length)|0;return r=rr(r,t),r.length===0||e.copy(r,0,0,t),r}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||IE(e.length)?rr(r,0):qu(r,e);if(e.type==="Buffer"&&Qd(e.data))return qu(r,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Vu(r){if(r>=Ba())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ba().toString(16)+" bytes");return r|0}$.isBuffer=OE;function Rt(r){return!!(r!=null&&r._isBuffer)}$.compare=function(e,t){if(!Rt(e)||!Rt(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var s=e.length,i=t.length,n=0,a=Math.min(s,i);n<a;++n)if(e[n]!==t[n]){s=e[n],i=t[n];break}return s<i?-1:i<s?1:0};$.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}};$.concat=function(e,t){if(!Qd(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return $.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<e.length;++s)t+=e[s].length;var i=$.allocUnsafe(t),n=0;for(s=0;s<e.length;++s){var a=e[s];if(!Rt(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,n),n+=a.length}return i};function em(r,e){if(Rt(r))return r.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;typeof r!="string"&&(r=""+r);var t=r.length;if(t===0)return 0;for(var s=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return qa(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return um(r).length;default:if(s)return qa(r).length;e=(""+e).toLowerCase(),s=!0}}$.byteLength=em;function pE(r,e,t){var s=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return wE(this,e,t);case"utf8":case"utf-8":return im(this,e,t);case"ascii":return SE(this,e,t);case"latin1":case"binary":return bE(this,e,t);case"base64":return gE(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return EE(this,e,t);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),s=!0}}$.prototype._isBuffer=!0;function Ur(r,e,t){var s=r[e];r[e]=r[t],r[t]=s}$.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 t=0;t<e;t+=2)Ur(this,t,t+1);return this};$.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 t=0;t<e;t+=4)Ur(this,t,t+3),Ur(this,t+1,t+2);return this};$.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 t=0;t<e;t+=8)Ur(this,t,t+7),Ur(this,t+1,t+6),Ur(this,t+2,t+5),Ur(this,t+3,t+4);return this};$.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?im(this,0,e):pE.apply(this,arguments)};$.prototype.equals=function(e){if(!Rt(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:$.compare(this,e)===0};$.prototype.inspect=function(){var e="",t=aE;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"};$.prototype.compare=function(e,t,s,i,n){if(!Rt(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),s===void 0&&(s=e?e.length:0),i===void 0&&(i=0),n===void 0&&(n=this.length),t<0||s>e.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&t>=s)return 0;if(i>=n)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,i>>>=0,n>>>=0,this===e)return 0;for(var a=n-i,o=s-t,l=Math.min(a,o),u=this.slice(i,n),c=e.slice(t,s),p=0;p<l;++p)if(u[p]!==c[p]){a=u[p],o=c[p];break}return a<o?-1:o<a?1:0};function tm(r,e,t,s,i){if(r.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=$.from(e,s)),Rt(e))return e.length===0?-1:rm(r,e,t,s,i);if(typeof e=="number")return e=e&255,$.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):rm(r,[e],t,s,i);throw new TypeError("val must be string, number or Buffer")}function rm(r,e,t,s,i){var n=1,a=r.length,o=e.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(r.length<2||e.length<2)return-1;n=2,a/=2,o/=2,t/=2}function l(f,g){return n===1?f[g]:f.readUInt16BE(g*n)}var u;if(i){var c=-1;for(u=t;u<a;u++)if(l(r,u)===l(e,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===o)return c*n}else c!==-1&&(u-=u-c),c=-1}else for(t+o>a&&(t=a-o),u=t;u>=0;u--){for(var p=!0,h=0;h<o;h++)if(l(r,u+h)!==l(e,h)){p=!1;break}if(p)return u}return-1}$.prototype.includes=function(e,t,s){return this.indexOf(e,t,s)!==-1};$.prototype.indexOf=function(e,t,s){return tm(this,e,t,s,!0)};$.prototype.lastIndexOf=function(e,t,s){return tm(this,e,t,s,!1)};function hE(r,e,t,s){t=Number(t)||0;var i=r.length-t;s?(s=Number(s),s>i&&(s=i)):s=i;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");s>n/2&&(s=n/2);for(var a=0;a<s;++a){var o=parseInt(e.substr(a*2,2),16);if(isNaN(o))return a;r[t+a]=o}return a}function fE(r,e,t,s){return Va(qa(e,r.length-t),r,t,s)}function sm(r,e,t,s){return Va(CE(e),r,t,s)}function dE(r,e,t,s){return sm(r,e,t,s)}function mE(r,e,t,s){return Va(um(e),r,t,s)}function yE(r,e,t,s){return Va(_E(e,r.length-t),r,t,s)}$.prototype.write=function(e,t,s,i){if(t===void 0)i="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")i=t,s=this.length,t=0;else if(isFinite(t))t=t|0,isFinite(s)?(s=s|0,i===void 0&&(i="utf8")):(i=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n=this.length-t;if((s===void 0||s>n)&&(s=n),e.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return hE(this,e,t,s);case"utf8":case"utf-8":return fE(this,e,t,s);case"ascii":return sm(this,e,t,s);case"latin1":case"binary":return dE(this,e,t,s);case"base64":return mE(this,e,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yE(this,e,t,s);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};$.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function gE(r,e,t){return e===0&&t===r.length?Yd(r):Yd(r.slice(e,t))}function im(r,e,t){t=Math.min(r.length,t);for(var s=[],i=e;i<t;){var n=r[i],a=null,o=n>239?4:n>223?3:n>191?2:1;if(i+o<=t){var l,u,c,p;switch(o){case 1:n<128&&(a=n);break;case 2:l=r[i+1],(l&192)==128&&(p=(n&31)<<6|l&63,p>127&&(a=p));break;case 3:l=r[i+1],u=r[i+2],(l&192)==128&&(u&192)==128&&(p=(n&15)<<12|(l&63)<<6|u&63,p>2047&&(p<55296||p>57343)&&(a=p));break;case 4:l=r[i+1],u=r[i+2],c=r[i+3],(l&192)==128&&(u&192)==128&&(c&192)==128&&(p=(n&15)<<18|(l&63)<<12|(u&63)<<6|c&63,p>65535&&p<1114112&&(a=p))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,s.push(a>>>10&1023|55296),a=56320|a&1023),s.push(a),i+=o}return vE(s)}var nm=4096;function vE(r){var e=r.length;if(e<=nm)return String.fromCharCode.apply(String,r);for(var t="",s=0;s<e;)t+=String.fromCharCode.apply(String,r.slice(s,s+=nm));return t}function SE(r,e,t){var s="";t=Math.min(r.length,t);for(var i=e;i<t;++i)s+=String.fromCharCode(r[i]&127);return s}function bE(r,e,t){var s="";t=Math.min(r.length,t);for(var i=e;i<t;++i)s+=String.fromCharCode(r[i]);return s}function wE(r,e,t){var s=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>s)&&(t=s);for(var i="",n=e;n<t;++n)i+=AE(r[n]);return i}function EE(r,e,t){for(var s=r.slice(e,t),i="",n=0;n<s.length;n+=2)i+=String.fromCharCode(s[n]+s[n+1]*256);return i}$.prototype.slice=function(e,t){var s=this.length;e=~~e,t=t===void 0?s:~~t,e<0?(e+=s,e<0&&(e=0)):e>s&&(e=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<e&&(t=e);var i;if($.TYPED_ARRAY_SUPPORT)i=this.subarray(e,t),i.__proto__=$.prototype;else{var n=t-e;i=new $(n,void 0);for(var a=0;a<n;++a)i[a]=this[a+e]}return i};function Le(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}$.prototype.readUIntLE=function(e,t,s){e=e|0,t=t|0,s||Le(e,t,this.length);for(var i=this[e],n=1,a=0;++a<t&&(n*=256);)i+=this[e+a]*n;return i};$.prototype.readUIntBE=function(e,t,s){e=e|0,t=t|0,s||Le(e,t,this.length);for(var i=this[e+--t],n=1;t>0&&(n*=256);)i+=this[e+--t]*n;return i};$.prototype.readUInt8=function(e,t){return t||Le(e,1,this.length),this[e]};$.prototype.readUInt16LE=function(e,t){return t||Le(e,2,this.length),this[e]|this[e+1]<<8};$.prototype.readUInt16BE=function(e,t){return t||Le(e,2,this.length),this[e]<<8|this[e+1]};$.prototype.readUInt32LE=function(e,t){return t||Le(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};$.prototype.readUInt32BE=function(e,t){return t||Le(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};$.prototype.readIntLE=function(e,t,s){e=e|0,t=t|0,s||Le(e,t,this.length);for(var i=this[e],n=1,a=0;++a<t&&(n*=256);)i+=this[e+a]*n;return n*=128,i>=n&&(i-=Math.pow(2,8*t)),i};$.prototype.readIntBE=function(e,t,s){e=e|0,t=t|0,s||Le(e,t,this.length);for(var i=t,n=1,a=this[e+--i];i>0&&(n*=256);)a+=this[e+--i]*n;return n*=128,a>=n&&(a-=Math.pow(2,8*t)),a};$.prototype.readInt8=function(e,t){return t||Le(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};$.prototype.readInt16LE=function(e,t){t||Le(e,2,this.length);var s=this[e]|this[e+1]<<8;return s&32768?s|4294901760:s};$.prototype.readInt16BE=function(e,t){t||Le(e,2,this.length);var s=this[e+1]|this[e]<<8;return s&32768?s|4294901760:s};$.prototype.readInt32LE=function(e,t){return t||Le(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};$.prototype.readInt32BE=function(e,t){return t||Le(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};$.prototype.readFloatLE=function(e,t){return t||Le(e,4,this.length),Fa(this,e,!0,23,4)};$.prototype.readFloatBE=function(e,t){return t||Le(e,4,this.length),Fa(this,e,!1,23,4)};$.prototype.readDoubleLE=function(e,t){return t||Le(e,8,this.length),Fa(this,e,!0,52,8)};$.prototype.readDoubleBE=function(e,t){return t||Le(e,8,this.length),Fa(this,e,!1,52,8)};function rt(r,e,t,s,i,n){if(!Rt(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<n)throw new RangeError('"value" argument is out of bounds');if(t+s>r.length)throw new RangeError("Index out of range")}$.prototype.writeUIntLE=function(e,t,s,i){if(e=+e,t=t|0,s=s|0,!i){var n=Math.pow(2,8*s)-1;rt(this,e,t,s,n,0)}var a=1,o=0;for(this[t]=e&255;++o<s&&(a*=256);)this[t+o]=e/a&255;return t+s};$.prototype.writeUIntBE=function(e,t,s,i){if(e=+e,t=t|0,s=s|0,!i){var n=Math.pow(2,8*s)-1;rt(this,e,t,s,n,0)}var a=s-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+s};$.prototype.writeUInt8=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,1,255,0),$.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function Ua(r,e,t,s){e<0&&(e=65535+e+1);for(var i=0,n=Math.min(r.length-t,2);i<n;++i)r[t+i]=(e&255<<8*(s?i:1-i))>>>(s?i:1-i)*8}$.prototype.writeUInt16LE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,2,65535,0),$.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Ua(this,e,t,!0),t+2};$.prototype.writeUInt16BE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,2,65535,0),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Ua(this,e,t,!1),t+2};function ja(r,e,t,s){e<0&&(e=4294967295+e+1);for(var i=0,n=Math.min(r.length-t,4);i<n;++i)r[t+i]=e>>>(s?i:3-i)*8&255}$.prototype.writeUInt32LE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,4,4294967295,0),$.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):ja(this,e,t,!0),t+4};$.prototype.writeUInt32BE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,4,4294967295,0),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ja(this,e,t,!1),t+4};$.prototype.writeIntLE=function(e,t,s,i){if(e=+e,t=t|0,!i){var n=Math.pow(2,8*s-1);rt(this,e,t,s,n-1,-n)}var a=0,o=1,l=0;for(this[t]=e&255;++a<s&&(o*=256);)e<0&&l===0&&this[t+a-1]!==0&&(l=1),this[t+a]=(e/o>>0)-l&255;return t+s};$.prototype.writeIntBE=function(e,t,s,i){if(e=+e,t=t|0,!i){var n=Math.pow(2,8*s-1);rt(this,e,t,s,n-1,-n)}var a=s-1,o=1,l=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&l===0&&this[t+a+1]!==0&&(l=1),this[t+a]=(e/o>>0)-l&255;return t+s};$.prototype.writeInt8=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,1,127,-128),$.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1};$.prototype.writeInt16LE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,2,32767,-32768),$.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Ua(this,e,t,!0),t+2};$.prototype.writeInt16BE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,2,32767,-32768),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Ua(this,e,t,!1),t+2};$.prototype.writeInt32LE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,4,2147483647,-2147483648),$.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ja(this,e,t,!0),t+4};$.prototype.writeInt32BE=function(e,t,s){return e=+e,t=t|0,s||rt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ja(this,e,t,!1),t+4};function am(r,e,t,s,i,n){if(t+s>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function om(r,e,t,s,i){return i||am(r,e,t,4),Jd(r,e,t,s,23,4),t+4}$.prototype.writeFloatLE=function(e,t,s){return om(this,e,t,!0,s)};$.prototype.writeFloatBE=function(e,t,s){return om(this,e,t,!1,s)};function lm(r,e,t,s,i){return i||am(r,e,t,8),Jd(r,e,t,s,52,8),t+8}$.prototype.writeDoubleLE=function(e,t,s){return lm(this,e,t,!0,s)};$.prototype.writeDoubleBE=function(e,t,s){return lm(this,e,t,!1,s)};$.prototype.copy=function(e,t,s,i){if(s||(s=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<s&&(i=s),i===s||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-s&&(i=e.length-t+s);var n=i-s,a;if(this===e&&s<t&&t<i)for(a=n-1;a>=0;--a)e[a+t]=this[a+s];else if(n<1e3||!$.TYPED_ARRAY_SUPPORT)for(a=0;a<n;++a)e[a+t]=this[a+s];else Uint8Array.prototype.set.call(e,this.subarray(s,s+n),t);return n};$.prototype.fill=function(e,t,s,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,s=this.length):typeof s=="string"&&(i=s,s=this.length),e.length===1){var n=e.charCodeAt(0);n<256&&(e=n)}if(i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!$.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else typeof e=="number"&&(e=e&255);if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<s;++a)this[a]=e;else{var o=Rt(e)?e:qa(new $(e,i).toString()),l=o.length;for(a=0;a<s-t;++a)this[a+t]=o[a%l]}return this};var PE=/[^+\/0-9A-Za-z-_]/g;function TE(r){if(r=xE(r).replace(PE,""),r.length<2)return"";for(;r.length%4!=0;)r=r+"=";return r}function xE(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}function AE(r){return r<16?"0"+r.toString(16):r.toString(16)}function qa(r,e){e=e||1/0;for(var t,s=r.length,i=null,n=[],a=0;a<s;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&n.push(239,191,189);continue}else if(a+1===s){(e-=3)>-1&&n.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&n.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&n.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;n.push(t)}else if(t<2048){if((e-=2)<0)break;n.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;n.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;n.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return n}function CE(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function _E(r,e){for(var t,s,i,n=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),s=t>>8,i=t%256,n.push(i),n.push(s);return n}function um(r){return rE(TE(r))}function Va(r,e,t,s){for(var i=0;i<s&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function IE(r){return r!==r}function OE(r){return r!=null&&(!!r._isBuffer||cm(r)||NE(r))}function cm(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function NE(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&cm(r.slice(0,0))}function pm(){throw new Error("setTimeout has not been defined")}function hm(){throw new Error("clearTimeout has not been defined")}var wr=pm,Er=hm;typeof br.setTimeout=="function"&&(wr=setTimeout);typeof br.clearTimeout=="function"&&(Er=clearTimeout);function fm(r){if(wr===setTimeout)return setTimeout(r,0);if((wr===pm||!wr)&&setTimeout)return wr=setTimeout,setTimeout(r,0);try{return wr(r,0)}catch(e){try{return wr.call(null,r,0)}catch(t){return wr.call(this,r,0)}}}function kE(r){if(Er===clearTimeout)return clearTimeout(r);if((Er===hm||!Er)&&clearTimeout)return Er=clearTimeout,clearTimeout(r);try{return Er(r)}catch(e){try{return Er.call(null,r)}catch(t){return Er.call(this,r)}}}var sr=[],Ls=!1,jr,za=-1;function LE(){!Ls||!jr||(Ls=!1,jr.length?sr=jr.concat(sr):za=-1,sr.length&&dm())}function dm(){if(!Ls){var r=fm(LE);Ls=!0;for(var e=sr.length;e;){for(jr=sr,sr=[];++za<e;)jr&&jr[za].run();za=-1,e=sr.length}jr=null,Ls=!1,kE(r)}}function DE(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];sr.push(new mm(r,e)),sr.length===1&&!Ls&&fm(dm)}function mm(r,e){this.fun=r,this.array=e}mm.prototype.run=function(){this.fun.apply(null,this.array)};var ME="browser",RE="browser",$E=!0,FE={},BE=[],UE="",jE={},qE={},VE={};function qr(){}var zE=qr,WE=qr,GE=qr,HE=qr,KE=qr,YE=qr,JE=qr;function QE(r){throw new Error("process.binding is not supported")}function XE(){return"/"}function ZE(r){throw new Error("process.chdir is not supported")}function eP(){return 0}var Ds=br.performance||{},tP=Ds.now||Ds.mozNow||Ds.msNow||Ds.oNow||Ds.webkitNow||function(){return new Date().getTime()};function rP(r){var e=tP.call(Ds)*.001,t=Math.floor(e),s=Math.floor(e%1*1e9);return r&&(t=t-r[0],s=s-r[1],s<0&&(t--,s+=1e9)),[t,s]}var sP=new Date;function iP(){var r=new Date,e=r-sP;return e/1e3}var ze={nextTick:DE,title:ME,browser:$E,env:FE,argv:BE,version:UE,versions:jE,on:zE,addListener:WE,once:GE,off:HE,removeListener:KE,removeAllListeners:YE,emit:JE,binding:QE,cwd:XE,chdir:ZE,umask:eP,hrtime:rP,platform:RE,release:qE,config:VE,uptime:iP},zu;typeof Object.create=="function"?zu=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:zu=function(e,t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e};var ym=zu,gm=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),s={},i=0;i<t.length;i++)s[t[i]]=Object.getOwnPropertyDescriptor(e,t[i]);return s},nP=/%[sdj%]/g;function Wa(r){if(!Pr(r)){for(var e=[],t=0;t<arguments.length;t++)e.push($t(arguments[t]));return e.join(" ")}for(var t=1,s=arguments,i=s.length,n=String(r).replace(nP,function(o){if(o==="%%")return"%";if(t>=i)return o;switch(o){case"%s":return String(s[t++]);case"%d":return Number(s[t++]);case"%j":try{return JSON.stringify(s[t++])}catch(l){return"[Circular]"}default:return o}}),a=s[t];t<i;a=s[++t])ir(a)||!nr(a)?n+=" "+a:n+=" "+$t(a);return n}function Wu(r,e){if(Ft(br.process))return function(){return Wu(r,e).apply(this,arguments)};if(ze.noDeprecation===!0)return r;var t=!1;function s(){if(!t){if(ze.throwDeprecation)throw new Error(e);ze.traceDeprecation?console.trace(e):console.error(e),t=!0}return r.apply(this,arguments)}return s}var Ga={},Gu;function vm(r){if(Ft(Gu)&&(Gu=ze.env.NODE_DEBUG||""),r=r.toUpperCase(),!Ga[r])if(new RegExp("\\b"+r+"\\b","i").test(Gu)){var e=0;Ga[r]=function(){var t=Wa.apply(null,arguments);console.error("%s %d: %s",r,e,t)}}else Ga[r]=function(){};return Ga[r]}function $t(r,e){var t={seen:[],stylize:oP};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Ka(e)?t.showHidden=e:e&&ec(t,e),Ft(t.showHidden)&&(t.showHidden=!1),Ft(t.depth)&&(t.depth=2),Ft(t.colors)&&(t.colors=!1),Ft(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=aP),Ha(t,r,t.depth)}$t.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]};$t.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function aP(r,e){var t=$t.styles[e];return t?"["+$t.colors[t][0]+"m"+r+"["+$t.colors[t][1]+"m":r}function oP(r,e){return r}function lP(r){var e={};return r.forEach(function(t,s){e[t]=!0}),e}function Ha(r,e,t){if(r.customInspect&&e&&Bi(e.inspect)&&e.inspect!==$t&&!(e.constructor&&e.constructor.prototype===e)){var s=e.inspect(t,r);return Pr(s)||(s=Ha(r,s,t)),s}var i=uP(r,e);if(i)return i;var n=Object.keys(e),a=lP(n);if(r.showHidden&&(n=Object.getOwnPropertyNames(e)),Fi(e)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return Hu(e);if(n.length===0){if(Bi(e)){var o=e.name?": "+e.name:"";return r.stylize("[Function"+o+"]","special")}if($i(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(Ya(e))return r.stylize(Date.prototype.toString.call(e),"date");if(Fi(e))return Hu(e)}var l="",u=!1,c=["{","}"];if(Yu(e)&&(u=!0,c=["[","]"]),Bi(e)){var p=e.name?": "+e.name:"";l=" [Function"+p+"]"}if($i(e)&&(l=" "+RegExp.prototype.toString.call(e)),Ya(e)&&(l=" "+Date.prototype.toUTCString.call(e)),Fi(e)&&(l=" "+Hu(e)),n.length===0&&(!u||e.length==0))return c[0]+l+c[1];if(t<0)return $i(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special");r.seen.push(e);var h;return u?h=cP(r,e,t,a,n):h=n.map(function(f){return Ku(r,e,t,a,f,u)}),r.seen.pop(),pP(h,l,c)}function uP(r,e){if(Ft(e))return r.stylize("undefined","undefined");if(Pr(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(t,"string")}if(Qu(e))return r.stylize(""+e,"number");if(Ka(e))return r.stylize(""+e,"boolean");if(ir(e))return r.stylize("null","null")}function Hu(r){return"["+Error.prototype.toString.call(r)+"]"}function cP(r,e,t,s,i){for(var n=[],a=0,o=e.length;a<o;++a)Pm(e,String(a))?n.push(Ku(r,e,t,s,String(a),!0)):n.push("");return i.forEach(function(l){l.match(/^\d+$/)||n.push(Ku(r,e,t,s,l,!0))}),n}function Ku(r,e,t,s,i,n){var a,o,l;if(l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},l.get?l.set?o=r.stylize("[Getter/Setter]","special"):o=r.stylize("[Getter]","special"):l.set&&(o=r.stylize("[Setter]","special")),Pm(s,i)||(a="["+i+"]"),o||(r.seen.indexOf(l.value)<0?(ir(t)?o=Ha(r,l.value,null):o=Ha(r,l.value,t-1),o.indexOf(`
44
+ `)>-1&&(n?o=o.split(`
45
+ `).map(function(u){return" "+u}).join(`
46
+ `).substr(2):o=`
47
+ `+o.split(`
48
+ `).map(function(u){return" "+u}).join(`
49
+ `))):o=r.stylize("[Circular]","special")),Ft(a)){if(n&&i.match(/^\d+$/))return o;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=r.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=r.stylize(a,"string"))}return a+": "+o}function pP(r,e,t){var s=r.reduce(function(i,n){return n.indexOf(`
50
+ `)>=0,i+n.replace(/\u001b\[\d\d?m/g,"").length+1},0);return s>60?t[0]+(e===""?"":e+`
51
+ `)+" "+r.join(`,
52
+ `)+" "+t[1]:t[0]+e+" "+r.join(", ")+" "+t[1]}function Yu(r){return Array.isArray(r)}function Ka(r){return typeof r=="boolean"}function ir(r){return r===null}function Ju(r){return r==null}function Qu(r){return typeof r=="number"}function Pr(r){return typeof r=="string"}function Sm(r){return typeof r=="symbol"}function Ft(r){return r===void 0}function $i(r){return nr(r)&&Xu(r)==="[object RegExp]"}function nr(r){return typeof r=="object"&&r!==null}function Ya(r){return nr(r)&&Xu(r)==="[object Date]"}function Fi(r){return nr(r)&&(Xu(r)==="[object Error]"||r instanceof Error)}function Bi(r){return typeof r=="function"}function bm(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||typeof r=="undefined"}function wm(r){return $.isBuffer(r)}function Xu(r){return Object.prototype.toString.call(r)}function Zu(r){return r<10?"0"+r.toString(10):r.toString(10)}var hP=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function fP(){var r=new Date,e=[Zu(r.getHours()),Zu(r.getMinutes()),Zu(r.getSeconds())].join(":");return[r.getDate(),hP[r.getMonth()],e].join(" ")}function Em(){console.log("%s - %s",fP(),Wa.apply(null,arguments))}function ec(r,e){if(!e||!nr(e))return r;for(var t=Object.keys(e),s=t.length;s--;)r[t[s]]=e[t[s]];return r}function Pm(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var Vr=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;function tc(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');if(Vr&&r[Vr]){var e=r[Vr];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Vr,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var t,s,i=new Promise(function(o,l){t=o,s=l}),n=[],a=0;a<arguments.length;a++)n.push(arguments[a]);n.push(function(o,l){o?s(o):t(l)});try{r.apply(this,n)}catch(o){s(o)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),Vr&&Object.defineProperty(e,Vr,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,gm(r))}tc.custom=Vr;function dP(r,e){if(!r){var t=new Error("Promise was rejected with a falsy value");t.reason=r,r=t}return e(r)}function Tm(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);var i=t.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var n=this,a=function(){return i.apply(n,arguments)};r.apply(this,t).then(function(o){ze.nextTick(a.bind(null,null,o))},function(o){ze.nextTick(dP.bind(null,o,a))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),Object.defineProperties(e,gm(r)),e}var mP={inherits:ym,_extend:ec,log:Em,isBuffer:wm,isPrimitive:bm,isFunction:Bi,isError:Fi,isDate:Ya,isObject:nr,isRegExp:$i,isUndefined:Ft,isSymbol:Sm,isString:Pr,isNumber:Qu,isNullOrUndefined:Ju,isNull:ir,isBoolean:Ka,isArray:Yu,inspect:$t,deprecate:Wu,format:Wa,debuglog:vm,promisify:tc,callbackify:Tm},yP=Object.freeze({__proto__:null,_extend:ec,callbackify:Tm,debuglog:vm,default:mP,deprecate:Wu,format:Wa,inherits:ym,inspect:$t,isArray:Yu,isBoolean:Ka,isBuffer:wm,isDate:Ya,isError:Fi,isFunction:Bi,isNull:ir,isNullOrUndefined:Ju,isNumber:Qu,isObject:nr,isPrimitive:bm,isRegExp:$i,isString:Pr,isSymbol:Sm,isUndefined:Ft,log:Em,promisify:tc});function gP(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var xm=Array.isArray||function(r){return Object.prototype.toString.call(r)==="[object Array]"};function Ui(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}}function vP(r,e,t,s){return e=e||"&",t=t||"=",r===null&&(r=void 0),typeof r=="object"?Am(SP(r),function(i){var n=encodeURIComponent(Ui(i))+t;return xm(r[i])?Am(r[i],function(a){return n+encodeURIComponent(Ui(a))}).join(e):n+encodeURIComponent(Ui(r[i]))}).join(e):s?encodeURIComponent(Ui(s))+t+encodeURIComponent(Ui(r)):""}function Am(r,e){if(r.map)return r.map(e);for(var t=[],s=0;s<r.length;s++)t.push(e(r[s],s));return t}var SP=Object.keys||function(r){var e=[];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e};function Cm(r,e,t,s){e=e||"&",t=t||"=";var i={};if(typeof r!="string"||r.length===0)return i;var n=/\+/g;r=r.split(e);var a=1e3;s&&typeof s.maxKeys=="number"&&(a=s.maxKeys);var o=r.length;a>0&&o>a&&(o=a);for(var l=0;l<o;++l){var u=r[l].replace(n,"%20"),c=u.indexOf(t),p,h,f,g;c>=0?(p=u.substr(0,c),h=u.substr(c+1)):(p=u,h=""),f=decodeURIComponent(p),g=decodeURIComponent(h),gP(i,f)?xm(i[f])?i[f].push(g):i[f]=[i[f],g]:i[f]=g}return i}var _m=br.URL,Im=br.URLSearchParams,bP={parse:Rs,resolve:Rm,resolveObject:$m,fileURLToPath:Dm,format:Mm,Url:ut,URL:_m,URLSearchParams:Im};function ut(){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 wP=/^([a-z0-9.+-]+:)/i,EP=/:[0-9]*$/,PP=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,TP=["<",">",'"',"`"," ","\r",`
53
+ `," "],xP=["{","}","|","\\","^","`"].concat(TP),rc=["'"].concat(xP),Om=["%","/","?",";","#"].concat(rc),Nm=["/","?","#"],AP=255,km=/^[+a-z0-9A-Z_-]{0,63}$/,CP=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_P={javascript:!0,"javascript:":!0},sc={javascript:!0,"javascript:":!0},Ms={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Rs(r,e,t){if(r&&nr(r)&&r instanceof ut)return r;var s=new ut;return s.parse(r,e,t),s}ut.prototype.parse=function(r,e,t){return Lm(this,r,e,t)};function Lm(r,e,t,s){if(!Pr(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),n=i!==-1&&i<e.indexOf("#")?"?":"#",a=e.split(n),o=/\\/g;a[0]=a[0].replace(o,"/"),e=a.join(n);var l=e;if(l=l.trim(),!s&&e.split("#").length===1){var u=PP.exec(l);if(u)return r.path=l,r.href=l,r.pathname=u[1],u[2]?(r.search=u[2],t?r.query=Cm(r.search.substr(1)):r.query=r.search.substr(1)):t&&(r.search="",r.query={}),r}var c=wP.exec(l);if(c){c=c[0];var p=c.toLowerCase();r.protocol=p,l=l.substr(c.length)}if(s||c||l.match(/^\/\/[^@\/]+@[^@\/]+/)){var h=l.substr(0,2)==="//";h&&!(c&&sc[c])&&(l=l.substr(2),r.slashes=!0)}var f,g,d,m;if(!sc[c]&&(h||c&&!Ms[c])){var y=-1;for(f=0;f<Nm.length;f++)g=l.indexOf(Nm[f]),g!==-1&&(y===-1||g<y)&&(y=g);var E,S;for(y===-1?S=l.lastIndexOf("@"):S=l.lastIndexOf("@",y),S!==-1&&(E=l.slice(0,S),l=l.slice(S+1),r.auth=decodeURIComponent(E)),y=-1,f=0;f<Om.length;f++)g=l.indexOf(Om[f]),g!==-1&&(y===-1||g<y)&&(y=g);y===-1&&(y=l.length),r.host=l.slice(0,y),l=l.slice(y),Fm(r),r.hostname=r.hostname||"";var v=r.hostname[0]==="["&&r.hostname[r.hostname.length-1]==="]";if(!v){var b=r.hostname.split(/\./);for(f=0,d=b.length;f<d;f++){var I=b[f];if(!!I&&!I.match(km)){for(var O="",w=0,P=I.length;w<P;w++)I.charCodeAt(w)>127?O+="x":O+=I[w];if(!O.match(km)){var T=b.slice(0,f),C=b.slice(f+1),B=I.match(CP);B&&(T.push(B[1]),C.unshift(B[2])),C.length&&(l="/"+C.join(".")+l),r.hostname=T.join(".");break}}}}r.hostname.length>AP?r.hostname="":r.hostname=r.hostname.toLowerCase(),v||(r.hostname=eE(r.hostname)),m=r.port?":"+r.port:"";var q=r.hostname||"";r.host=q+m,r.href+=r.host,v&&(r.hostname=r.hostname.substr(1,r.hostname.length-2),l[0]!=="/"&&(l="/"+l))}if(!_P[p])for(f=0,d=rc.length;f<d;f++){var Q=rc[f];if(l.indexOf(Q)!==-1){var V=encodeURIComponent(Q);V===Q&&(V=escape(Q)),l=l.split(Q).join(V)}}var J=l.indexOf("#");J!==-1&&(r.hash=l.substr(J),l=l.slice(0,J));var ae=l.indexOf("?");if(ae!==-1?(r.search=l.substr(ae),r.query=l.substr(ae+1),t&&(r.query=Cm(r.query)),l=l.slice(0,ae)):t&&(r.search="",r.query={}),l&&(r.pathname=l),Ms[p]&&r.hostname&&!r.pathname&&(r.pathname="/"),r.pathname||r.search){m=r.pathname||"";var Ae=r.search||"";r.path=m+Ae}return r.href=ic(r),r}function Dm(r){if(typeof r=="string")r=new ut().parse(r);else if(!(r instanceof ut))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof r+String(r));if(r.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return IP(r)}function IP(r){let e=r.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let s=e.codePointAt(t+2)|32;if(e[t+1]==="2"&&s===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(e)}function Mm(r){return Pr(r)&&(r=Lm({},r)),ic(r)}function ic(r){var e=r.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=r.protocol||"",s=r.pathname||"",i=r.hash||"",n=!1,a="";r.host?n=e+r.host:r.hostname&&(n=e+(r.hostname.indexOf(":")===-1?r.hostname:"["+this.hostname+"]"),r.port&&(n+=":"+r.port)),r.query&&nr(r.query)&&Object.keys(r.query).length&&(a=vP(r.query));var o=r.search||a&&"?"+a||"";return t&&t.substr(-1)!==":"&&(t+=":"),r.slashes||(!t||Ms[t])&&n!==!1?(n="//"+(n||""),s&&s.charAt(0)!=="/"&&(s="/"+s)):n||(n=""),i&&i.charAt(0)!=="#"&&(i="#"+i),o&&o.charAt(0)!=="?"&&(o="?"+o),s=s.replace(/[?#]/g,function(l){return encodeURIComponent(l)}),o=o.replace("#","%23"),t+n+s+o+i}ut.prototype.format=function(){return ic(this)};function Rm(r,e){return Rs(r,!1,!0).resolve(e)}ut.prototype.resolve=function(r){return this.resolveObject(Rs(r,!1,!0)).format()};function $m(r,e){return r?Rs(r,!1,!0).resolveObject(e):e}ut.prototype.resolveObject=function(r){if(Pr(r)){var e=new ut;e.parse(r,!1,!0),r=e}for(var t=new ut,s=Object.keys(this),i=0;i<s.length;i++){var n=s[i];t[n]=this[n]}if(t.hash=r.hash,r.href==="")return t.href=t.format(),t;if(r.slashes&&!r.protocol){for(var a=Object.keys(r),o=0;o<a.length;o++){var l=a[o];l!=="protocol"&&(t[l]=r[l])}return Ms[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}var u;if(r.protocol&&r.protocol!==t.protocol){if(!Ms[r.protocol]){for(var c=Object.keys(r),p=0;p<c.length;p++){var h=c[p];t[h]=r[h]}return t.href=t.format(),t}if(t.protocol=r.protocol,!r.host&&!sc[r.protocol]){for(u=(r.pathname||"").split("/");u.length&&!(r.host=u.shift()););r.host||(r.host=""),r.hostname||(r.hostname=""),u[0]!==""&&u.unshift(""),u.length<2&&u.unshift(""),t.pathname=u.join("/")}else t.pathname=r.pathname;if(t.search=r.search,t.query=r.query,t.host=r.host||"",t.auth=r.auth,t.hostname=r.hostname||r.host,t.port=r.port,t.pathname||t.search){var f=t.pathname||"",g=t.search||"";t.path=f+g}return t.slashes=t.slashes||r.slashes,t.href=t.format(),t}var d=t.pathname&&t.pathname.charAt(0)==="/",m=r.host||r.pathname&&r.pathname.charAt(0)==="/",y=m||d||t.host&&r.pathname,E=y,S=t.pathname&&t.pathname.split("/")||[],v=t.protocol&&!Ms[t.protocol];u=r.pathname&&r.pathname.split("/")||[],v&&(t.hostname="",t.port=null,t.host&&(S[0]===""?S[0]=t.host:S.unshift(t.host)),t.host="",r.protocol&&(r.hostname=null,r.port=null,r.host&&(u[0]===""?u[0]=r.host:u.unshift(r.host)),r.host=null),y=y&&(u[0]===""||S[0]===""));var b;if(m)t.host=r.host||r.host===""?r.host:t.host,t.hostname=r.hostname||r.hostname===""?r.hostname:t.hostname,t.search=r.search,t.query=r.query,S=u;else if(u.length)S||(S=[]),S.pop(),S=S.concat(u),t.search=r.search,t.query=r.query;else if(!Ju(r.search))return v&&(t.hostname=t.host=S.shift(),b=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1,b&&(t.auth=b.shift(),t.host=t.hostname=b.shift())),t.search=r.search,t.query=r.query,(!ir(t.pathname)||!ir(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!S.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var I=S.slice(-1)[0],O=(t.host||r.host||S.length>1)&&(I==="."||I==="..")||I==="",w=0,P=S.length;P>=0;P--)I=S[P],I==="."?S.splice(P,1):I===".."?(S.splice(P,1),w++):w&&(S.splice(P,1),w--);if(!y&&!E)for(;w--;w)S.unshift("..");y&&S[0]!==""&&(!S[0]||S[0].charAt(0)!=="/")&&S.unshift(""),O&&S.join("/").substr(-1)!=="/"&&S.push("");var T=S[0]===""||S[0]&&S[0].charAt(0)==="/";return v&&(t.hostname=t.host=T?"":S.length?S.shift():"",b=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1,b&&(t.auth=b.shift(),t.host=t.hostname=b.shift())),y=y||t.host&&S.length,y&&!T&&S.unshift(""),S.length?t.pathname=S.join("/"):(t.pathname=null,t.path=null),(!ir(t.pathname)||!ir(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=r.auth||t.auth,t.slashes=t.slashes||r.slashes,t.href=t.format(),t};ut.prototype.parseHost=function(){return Fm(this)};function Fm(r){var e=r.host,t=EP.exec(e);t&&(t=t[0],t!==":"&&(r.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(r.hostname=e)}var OP=Object.freeze({__proto__:null,URL:_m,URLSearchParams:Im,Url:ut,default:bP,fileURLToPath:Dm,format:Mm,parse:Rs,resolve:Rm,resolveObject:$m});function Bm(r){let e=r.charAt(0);return e==="."||e==="~"||e==="@"}var NP=/^(https?:)?\/\//;function Um(r){return NP.test(r)}var kP=/^\s*data:/i;function nc(r){return kP.test(r)}function ac(r){if(r.charAt(0)==="~"){let t=r.charAt(1);r=r.slice(t==="/"?2:1)}return LP(r)}function LP(r){return Rs(le(r)?r:"",!1,!0)}var DP=Object.defineProperty,MP=Object.defineProperties,RP=Object.getOwnPropertyDescriptors,jm=Object.getOwnPropertySymbols,$P=Object.prototype.hasOwnProperty,FP=Object.prototype.propertyIsEnumerable,qm=(r,e,t)=>e in r?DP(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,oc=(r,e)=>{for(var t in e||(e={}))$P.call(e,t)&&qm(r,t,e[t]);if(jm)for(var t of jm(e))FP.call(e,t)&&qm(r,t,e[t]);return r},BP=(r,e)=>MP(r,RP(e)),ji={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},UP=r=>Object.keys(r).some(e=>Ge(r[e]))?BP(oc({},ji),{tags:r}):oc(oc({},ji),r),jP=r=>(e,t)=>Vm(e,t,r),Vm=(r,e,t=ji)=>{if(r.type===1){if(!r.props.length)return;let s=t.tags||ji.tags,i=s[r.tag],n=s["*"];if(!i&&!n)return;let a=(i||[]).concat(n||[]);r.props.forEach((o,l)=>{if(o.type!==6||!a.includes(o.name)||!o.value||Um(o.value.content)||nc(o.value.content)||o.value.content[0]==="#"||!t.includeAbsolute&&!Bm(o.value.content))return;let u=ac(o.value.content);if(t.base&&o.value.content[0]==="."){let p=ac(t.base),h=p.protocol||"",f=p.host?h+"//"+p.host:"",g=p.path||"/";o.value.content=f+(er.posix||er).join(g,u.path+(u.hash||""));return}let c=qP(u.path,u.hash,o.loc,e);r.props[l]={type:7,name:"bind",arg:j(o.name,!0,o.loc),exp:c,modifiers:[],loc:o.loc}})}};function qP(r,e,t,s){if(r){let i,n,a=s.imports.findIndex(c=>c.path===r);if(a>-1?(i=`_imports_${a}`,n=s.imports[a].exp):(i=`_imports_${s.imports.length}`,n=j(i,!1,t,3),s.imports.push({exp:n,path:r})),!e)return n;let o=`${i} + '${e}'`,l=j(o,!1,t,3);if(!s.hoistStatic)return l;let u=s.hoists.findIndex(c=>c&&c.type===4&&!c.isStatic&&c.content===o);return u>-1?j(`_hoisted_${u+1}`,!1,t,3):s.hoist(l)}else return j("''",!1,t,3)}var VP=["img","source"],zP=/( |\\t|\\n|\\f|\\r)+/g,WP=r=>(e,t)=>zm(e,t,r),zm=(r,e,t=ji)=>{r.type===1&&VP.includes(r.tag)&&r.props.length&&r.props.forEach((s,i)=>{if(s.name==="srcset"&&s.type===6){if(!s.value)return;let n=s.value.content;if(!n)return;let a=n.split(",").map(c=>{let[p,h]=c.replace(zP," ").trim().split(" ",2);return{url:p,descriptor:h}});for(let c=0;c<a.length;c++){let{url:p}=a[c];nc(p)&&(a[c+1].url=p+","+a[c+1].url,a.splice(c,1))}let o=c=>!Um(c)&&!nc(c)&&(t.includeAbsolute||Bm(c));if(!a.some(({url:c})=>o(c)))return;if(t.base){let c=t.base,p=[],h=!1;if(a.forEach(f=>{let{url:g,descriptor:d}=f;d=d?` ${d}`:"",g[0]==="."?(f.url=(er.posix||er).join(c,g),p.push(f.url+d)):o(g)?h=!0:p.push(g+d)}),!h){s.value.content=p.join(", ");return}}let l=Me([],s.loc);a.forEach(({url:c,descriptor:p},h)=>{if(o(c)){let{path:g}=ac(c),d;if(g){let m=e.imports.findIndex(y=>y.path===g);m>-1?d=j(`_imports_${m}`,!1,s.loc,3):(d=j(`_imports_${e.imports.length}`,!1,s.loc,3),e.imports.push({exp:d,path:g})),l.children.push(d)}}else{let g=j(`"${c}"`,!1,s.loc,3);l.children.push(g)}let f=a.length-1>h;p&&f?l.children.push(` + ' ${p}, ' + `):p?l.children.push(` + ' ${p}'`):f&&l.children.push(" + ', ' + ")});let u=l;e.hoistStatic&&(u=e.hoist(l),u.constType=3),r.props[i]={type:7,name:"bind",arg:j("srcset",!0,s.loc),exp:u,modifiers:[],loc:s.loc}}})},lc=Symbol("ssrInterpolate"),Wm=Symbol("ssrRenderVNode"),Gm=Symbol("ssrRenderComponent"),Hm=Symbol("ssrRenderSlot"),Km=Symbol("ssrRenderSlotInner"),Ym=Symbol("ssrRenderClass"),Jm=Symbol("ssrRenderStyle"),uc=Symbol("ssrRenderAttrs"),Qm=Symbol("ssrRenderAttr"),Xm=Symbol("ssrRenderDynamicAttr"),Zm=Symbol("ssrRenderList"),ey=Symbol("ssrIncludeBooleanAttr"),cc=Symbol("ssrLooseEqual"),ty=Symbol("ssrLooseContain"),ry=Symbol("ssrRenderDynamicModel"),sy=Symbol("ssrGetDynamicModelProps"),iy=Symbol("ssrRenderTeleport"),ny=Symbol("ssrRenderSuspense"),ay=Symbol("ssrGetDirectiveProps"),pc={[lc]:"ssrInterpolate",[Wm]:"ssrRenderVNode",[Gm]:"ssrRenderComponent",[Hm]:"ssrRenderSlot",[Km]:"ssrRenderSlotInner",[Ym]:"ssrRenderClass",[Jm]:"ssrRenderStyle",[uc]:"ssrRenderAttrs",[Qm]:"ssrRenderAttr",[Xm]:"ssrRenderDynamicAttr",[Zm]:"ssrRenderList",[ey]:"ssrIncludeBooleanAttr",[cc]:"ssrLooseEqual",[ty]:"ssrLooseContain",[ry]:"ssrRenderDynamicModel",[sy]:"ssrGetDynamicModelProps",[iy]:"ssrRenderTeleport",[ny]:"ssrRenderSuspense",[ay]:"ssrGetDirectiveProps"};Xo(pc);var GP=xi(/^(if|else|else-if)$/,tu);function HP(r,e,t=!1){let[s]=r.branches,i=jn(s.condition,oy(s,e,t));e.pushStatement(i);let n=i;for(let a=1;a<r.branches.length;a++){let o=r.branches[a],l=oy(o,e,t);o.condition?n=n.alternate=jn(o.condition,l):n.alternate=l}n.alternate||(n.alternate=ii([Z("_push",["`<!---->`"])]))}function oy(r,e,t=!1){let{children:s}=r,i=!t&&(s.length!==1||s[0].type!==1)&&!(s.length===1&&s[0].type===11);return $s(r,e,i)}var KP=xi("for",ru);function YP(r,e,t=!1){let s=!t&&(r.children.length!==1||r.children[0].type!==1),i=nt(Ni(r.parseResult));i.body=$s(r,e,s),t||e.pushStringPart("<!--[-->"),e.pushStatement(Z(e.helper(Zm),[r.source,i])),t||e.pushStringPart("<!--]-->")}var JP=(r,e)=>{if(bs(r)){let{slotName:t,slotProps:s}=uu(r,e),i=["_ctx.$slots",t,s||"{}","null","_push","_parent"];e.scopeId&&e.slotted!==!1&&i.push(`"${e.scopeId}-s"`);let n=Hm,a=e.parent;a&&a.type===1&&a.tagType===1&&_a(a,e,!0)===Os&&a.children.filter(o=>o.type===1).length===1&&(n=Km,e.scopeId&&e.slotted!==!1||i.push("null"),i.push("true")),r.ssrCodegenNode=Z(e.helper(n),i)}};function QP(r,e){let t=r.ssrCodegenNode;if(r.children.length){let s=nt([]);s.body=$s(r,e),t.arguments[3]=s}if(e.withSlotScopeId){let s=t.arguments[6];t.arguments[6]=s?`${s} + _scopeId`:"_scopeId"}e.pushStatement(r.ssrCodegenNode)}function qi(r,e){return pe(r,e,XP)}var XP={[65]:"Unsafe attribute name for SSR.",[66]:"Missing the 'to' prop on teleport element.",[67]:"Invalid AST node during SSR transform."};function ZP(r,e){let t=et(r,"to");if(!t){e.onError(qi(66,r.loc));return}let s;if(t.type===6?s=t.value&&j(t.value.content,!0):s=t.exp,!s){e.onError(qi(66,t.loc));return}let i=et(r,"disabled",!1,!0),n=i?i.type===6?"true":i.exp||"false":"false",a=nt(["_push"],void 0,!0,!1,r.loc);a.body=$s(r,e),e.pushStatement(Z(e.helper(iy),["_push",a,s,n,"_parent"]))}var ly=new WeakMap;function eT(r,e){return()=>{if(r.children.length){let t={slotsExp:null,wipSlots:[]};ly.set(r,t),t.slotsExp=ki(r,e,(s,i,n)=>{let a=nt([],void 0,!0,!1,n);return t.wipSlots.push({fn:a,children:i}),a}).slots}}}function tT(r,e){let t=ly.get(r);if(!t)return;let{slotsExp:s,wipSlots:i}=t;for(let n=0;n<i.length;n++){let a=i[n];a.fn.body=$s(a,e)}e.pushStatement(Z(e.helper(ny),["_push",s]))}var Ja=new WeakMap,rT=(r,e)=>{if(!(r.type!==1||r.tagType!==0))return function(){let s=[`<${r.tag}`],i=r.tag==="textarea"||r.tag.indexOf("-")>0,n=ua(r),a=r.props.some(p=>p.type===7&&!qo(p.name)),o=n||a;if(o){let{props:p,directives:h}=Is(r,e,r.props,!1,!1,!0);if(p||h.length){let f=hc(p,h,e),g=Z(e.helper(uc),[f]);if(r.tag==="textarea"){let d=r.children[0];if(!d||d.type!==5){let m=`_temp${e.temps++}`;g.arguments=[el(j(m,!1),f)],Ja.set(r,Z(e.helper(lc),[dr(j(`"value" in ${m}`,!1),j(`${m}.value`,!1),j(d?d.content:"",!0),!1)]))}}else if(r.tag==="input"){let d=aT(r);if(d){let m=`_temp${e.temps++}`,y=j(m,!1);g.arguments=[ih([el(y,f),Z(e.helper(xr),[y,Z(e.helper(sy),[y,d.exp])])])]}}i&&g.arguments.push(`"${r.tag}"`),s.push(g)}}let l,u,c;for(let p=0;p<r.props.length;p++){let h=r.props[p];if(!(r.tag==="input"&&sT(h))){if(h.type===7){if(h.name==="html"&&h.exp)Ja.set(r,h.exp);else if(h.name==="text"&&h.exp)r.children=[Un(h.exp,h.loc)];else if(h.name==="slot")e.onError(pe(40,h.loc));else if(iT(r,h)&&h.exp)o||(r.children=[Un(h.exp,h.loc)]);else if(!o&&h.name!=="on"){let f=e.directiveTransforms[h.name];if(f){let{props:g,ssrTagParts:d}=f(h,r,e);d&&s.push(...d);for(let m=0;m<g.length;m++){let{key:y,value:E}=g[m];if(Re(y)){let S=y.content;if(S==="key"||S==="ref")continue;S==="class"?s.push(' class="',l=Z(e.helper(Ym),[E]),'"'):S==="style"?c?uy(c,E):s.push(' style="',c=Z(e.helper(Jm),[E]),'"'):(S=r.tag.indexOf("-")>0?S:kv[S]||S.toLowerCase(),Xp(S)?s.push(dr(Z(e.helper(ey),[E]),j(" "+S,!0),j("",!0),!1)):Nv(S)?s.push(Z(e.helper(Qm),[y,E])):e.onError(qi(65,y.loc)))}else{let S=[y,E];i&&S.push(`"${r.tag}"`),s.push(Z(e.helper(Xm),S))}}}}}else if(r.tag==="textarea"&&h.name==="value"&&h.value)Ja.set(r,Nt(h.value.content));else if(!o){if(h.name==="key"||h.name==="ref")continue;h.name==="class"&&h.value&&(u=JSON.stringify(h.value.content)),s.push(` ${h.name}`+(h.value?`="${Nt(h.value.content)}"`:""))}}}l&&u&&(uy(l,u),nT(s,"class")),e.scopeId&&s.push(` ${e.scopeId}`),r.ssrCodegenNode=Zo(s)}};function hc(r,e,t){let s=[];if(r&&(r.type===14?s=r.arguments:s.push(r)),e.length)for(let i of e)s.push(Z(t.helper(ay),["_ctx",...ou(i,t).elements]));return s.length>1?Z(t.helper(xr),s):s[0]}function sT(r){return r.type===7?r.name==="bind"&&r.arg&&Re(r.arg)&&(r.arg.content==="true-value"||r.arg.content==="false-value"):r.name==="true-value"||r.name==="false-value"}function iT(r,e){return!!(r.tag==="textarea"&&e.name==="bind"&&Xt(e.arg,"value"))}function uy(r,e){let t=r.arguments[0];t.type===17?t.elements.push(e):r.arguments[0]=Ar([t,e])}function nT(r,e){let t=new RegExp(`^ ${e}=".+"$`),s=r.findIndex(i=>typeof i=="string"&&t.test(i));s>-1&&r.splice(s,1)}function aT(r){return r.props.find(e=>e.type===7&&e.name==="model"&&e.exp)}function oT(r,e){let t=e.options.isVoidTag||En,s=r.ssrCodegenNode.elements;for(let n=0;n<s.length;n++)e.pushStringPart(s[n]);e.withSlotScopeId&&e.pushStringPart(j("_scopeId",!1)),e.pushStringPart(">");let i=Ja.get(r);i?e.pushStringPart(i):r.children.length&&Wr(r,e),t(r.tag)||e.pushStringPart(`</${r.tag}>`)}var cy=new WeakMap;function lT(r,e){return()=>{let t=et(r,"tag");if(t){let s=r.props.filter(o=>o!==t),{props:i,directives:n}=Is(r,e,s,!0,!1,!0),a=null;(i||n.length)&&(a=Z(e.helper(uc),[hc(i,n,e)])),cy.set(r,{tag:t,propsExp:a})}}}function uT(r,e){let t=cy.get(r);if(t){let{tag:s,propsExp:i}=t;s.type===7?(e.pushStringPart("<"),e.pushStringPart(s.exp),i&&e.pushStringPart(i),e.pushStringPart(">"),Wr(r,e,!1,!0),e.pushStringPart("</"),e.pushStringPart(s.exp),e.pushStringPart(">")):(e.pushStringPart(`<${s.value.content}`),i&&e.pushStringPart(i),e.pushStringPart(">"),Wr(r,e,!1,!0),e.pushStringPart(`</${s.value.content}>`))}else Wr(r,e,!0,!0)}var cT=Object.defineProperty,pT=Object.defineProperties,hT=Object.getOwnPropertyDescriptors,py=Object.getOwnPropertySymbols,fT=Object.prototype.hasOwnProperty,dT=Object.prototype.propertyIsEnumerable,hy=(r,e,t)=>e in r?cT(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,zr=(r,e)=>{for(var t in e||(e={}))fT.call(e,t)&&hy(r,t,e[t]);if(py)for(var t of py(e))dT.call(e,t)&&hy(r,t,e[t]);return r},mT=(r,e)=>pT(r,hT(e)),fy=new WeakMap,dy=Symbol(),my=new WeakMap,yT=(r,e)=>{if(r.type!==1||r.tagType!==1)return;let t=_a(r,e,!0),s=Vt(t)&&t.callee===ss;if(my.set(r,t),Qr(t))return t===ts?eT(r,e):t===Mi?lT(r,e):void 0;let i=[],n=fc(r);return function(){n.children.length&&ki(n,e,(p,h)=>(i.push(ET(p,h,e)),nt(void 0)));let o="null";if(r.props.length){let{props:p,directives:h}=Is(r,e,void 0,!0,s);(p||h.length)&&(o=hc(p,h,e))}let l=[];fy.set(r,l);let u=(p,h,f)=>{let g=p&&Ta(p)||"_",d=nt([g,"_push","_parent","_scopeId"],void 0,!0,!0,f);return l.push({type:dy,fn:d,children:h,vnodeBranch:i[l.length]}),d},c=r.children.length?ki(r,e,u).slots:"null";typeof t!="string"?r.ssrCodegenNode=Z(e.helper(Wm),["_push",Z(e.helper(Zs),[t,o,c]),"_parent"]):r.ssrCodegenNode=Z(e.helper(Gm),[t,o,c,"_parent"])}};function gT(r,e,t){let s=my.get(r);if(r.ssrCodegenNode){let i=fy.get(r)||[];for(let n=0;n<i.length;n++){let{fn:a,vnodeBranch:o}=i[n];a.body=jn(j("_push",!1),$s(i[n],e,!1,!0),o)}e.withSlotScopeId&&r.ssrCodegenNode.arguments.push("_scopeId"),typeof s=="string"?e.pushStatement(Z("_push",[r.ssrCodegenNode])):e.pushStatement(r.ssrCodegenNode)}else{if(s===Tr)return ZP(r,e);if(s===ts)return tT(r,e);if(s===Mi)return uT(r,e);t.type===dy&&e.pushStringPart(""),s===Os&&(r.children=r.children.filter(i=>i.type!==3)),Wr(r,e)}}var yy=new WeakMap,[vT,ST]=pu(!0),bT=[...vT,...Eu],wT=zr(zr({},ST),Pu);function ET(r,e,t){let s=yy.get(t.root),i=mT(zr({},s),{nodeTransforms:[...bT,...s.nodeTransforms||[]],directiveTransforms:zr(zr({},wT),s.directiveTransforms||{})});return PT({type:1,ns:0,tag:"template",tagType:3,isSelfClosing:!1,props:[{type:7,name:"slot",exp:r,arg:void 0,modifiers:[],loc:Ee}],children:e,loc:Ee,codegenNode:void 0},i,t),nh(e)}function PT(r,e,t){let s=os([r]),i=Ti(s,e);i.ssr=!1,i.scopes=zr({},t.scopes),i.identifiers=zr({},t.identifiers),i.imports=t.imports,ws(s,i),["helpers","components","directives"].forEach(n=>{i[n].forEach((a,o)=>{if(n==="helpers"){let l=t.helpers.get(o);l===void 0?t.helpers.set(o,a):t.helpers.set(o,a+l)}else t[n].add(a)})})}function fc(r){if(Ge(r))return r.map(fc);if(Vt(r)){let e={};for(let t in r)e[t]=fc(r[t]);return e}else return r}function TT(r,e){let t=gy(r,e);if(e.ssrCssVars){let i=Ti(os([]),e),n=Ye(j(e.ssrCssVars,!1),i);t.body.push(Me(["const _cssVars = { style: ",n,"}"])),Array.from(i.helpers.keys()).forEach(a=>{r.helpers.add(a)})}let s=r.children.length>1&&r.children.some(i=>!vi(i));Wr(r,t,s),r.codegenNode=ii(t.body),r.ssrHelpers=Array.from(new Set([...Array.from(r.helpers).filter(i=>i in pc),...t.helpers])),r.helpers=new Set(Array.from(r.helpers).filter(i=>!(i in pc)))}function gy(r,e,t=new Set,s=!1){let i=[],n=null;return{root:r,options:e,body:i,helpers:t,withSlotScopeId:s,onError:e.onError||(a=>{throw a}),helper(a){return t.add(a),a},pushStringPart(a){if(!n){let u=Z("_push");i.push(u),n=Zo([]),u.arguments.push(n)}let o=n.elements,l=o[o.length-1];le(a)&&le(l)?o[o.length-1]+=a:o.push(a)},pushStatement(a){n=null,i.push(a)}}}function xT(r,e=r.withSlotScopeId){return gy(r.root,r.options,r.helpers,e)}function Wr(r,e,t=!1,s=!1){t&&e.pushStringPart("<!--[-->");let{children:i}=r;for(let n=0;n<i.length;n++){let a=i[n];switch(a.type){case 1:switch(a.tagType){case 0:oT(a,e);break;case 1:gT(a,e,r);break;case 2:QP(a,e);break;case 3:break;default:return e.onError(qi(67,a.loc)),a}break;case 2:e.pushStringPart(Nt(a.content));break;case 3:e.pushStringPart(`<!--${a.content}-->`);break;case 5:e.pushStringPart(Z(e.helper(lc),[a.content]));break;case 9:HP(a,e,s);break;case 11:YP(a,e,s);break;case 10:break;case 12:case 8:break;default:return e.onError(qi(67,a.loc)),a}}t&&e.pushStringPart("<!--]-->")}function $s(r,e,t=!1,s=e.withSlotScopeId){let i=xT(e,s);return Wr(r,i,t),ii(i.body)}var AT=(r,e,t)=>{let s=r.exp;function i(){let n=et(e,"value");n&&t.onError(Ve(60,n.loc))}if(e.tagType===0){let n={props:[]},a=[fe("value",s)];if(e.tag==="input"){let o=et(e,"type");if(o){let l=CT(e);if(o.type===7)n.ssrTagParts=[Z(t.helper(ry),[o.exp,s,l])];else if(o.value)switch(o.value.content){case"radio":n.props=[fe("checked",Z(t.helper(cc),[s,l]))];break;case"checkbox":let u=et(e,"true-value");if(u){let c=u.type===6?JSON.stringify(u.value.content):u.exp;n.props=[fe("checked",Z(t.helper(cc),[s,c]))]}else n.props=[fe("checked",dr(Z("Array.isArray",[s]),Z(t.helper(ty),[s,l]),s))];break;case"file":t.onError(Ve(59,r.loc));break;default:i(),n.props=a;break}}else ua(e)||(i(),n.props=a)}else e.tag==="textarea"?(i(),e.children=[Un(s,s.loc)]):e.tag==="select"||t.onError(Ve(57,r.loc));return n}else return Oa(r,e,t)};function CT(r){let e=et(r,"value");return e?e.type===7?e.exp:j(e.value.content,!0):j("null",!1)}var _T=(r,e,t)=>(r.exp||t.onError(Ve(61)),{props:[fe("style",dr(r.exp,j("null",!1),Ze([fe("display",j("none",!0))]),!1))]}),dc=r=>r.children.filter(e=>e.type!==3),mc=r=>dc(r).length===1,IT=(r,e)=>{if(r.type===0&&(e.identifiers._attrs=1),r.type===1&&r.tagType===1&&(Et(r.tag,"Transition")||Et(r.tag,"KeepAlive"))){let s=dc(e.root);if(s.length===1&&s[0]===r){mc(r)&&yc(r.children[0]);return}}let t=e.parent;if(!(!t||t.type!==0))if(r.type===10&&mc(r)){let s=!1;for(let i of dc(t))if(i.type===9||i.type===1&&ke(i,"if")){if(s)return;s=!0}else if(!s||!(i.type===1&&ke(i,/else/,!0)))return;yc(r.children[0])}else mc(t)&&yc(r)};function yc(r){r.type===1&&(r.tagType===0||r.tagType===1)&&!ke(r,"for")&&r.props.push({type:7,name:"bind",arg:void 0,exp:j("_attrs",!1),modifiers:[],loc:Ee})}var OT=(r,e)=>{if(!e.ssrCssVars)return;r.type===0&&(e.identifiers._cssVars=1);let t=e.parent;if(!(!t||t.type!==0))if(r.type===10)for(let s of r.children)Qa(s);else Qa(r)};function Qa(r){if(r.type===1&&(r.tagType===0||r.tagType===1)&&!ke(r,"for"))if(Et(r.tag,"Suspense"))for(let e of r.children)e.type===1&&e.tagType===3?e.children.forEach(Qa):Qa(e);else r.props.push({type:7,name:"bind",arg:void 0,exp:j("_cssVars",!1),modifiers:[],loc:Ee})}var NT=Object.defineProperty,kT=Object.defineProperties,LT=Object.getOwnPropertyDescriptors,vy=Object.getOwnPropertySymbols,DT=Object.prototype.hasOwnProperty,MT=Object.prototype.propertyIsEnumerable,Sy=(r,e,t)=>e in r?NT(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Xa=(r,e)=>{for(var t in e||(e={}))DT.call(e,t)&&Sy(r,t,e[t]);if(vy)for(var t of vy(e))MT.call(e,t)&&Sy(r,t,e[t]);return r},by=(r,e)=>kT(r,LT(e));function RT(r,e={}){e=by(Xa(Xa({},e),Ns),{ssr:!0,inSSR:!0,scopeId:e.mode==="function"?null:e.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});let t=ca(r,e);return yy.set(t,e),da(t,by(Xa({},e),{hoistStatic:!1,nodeTransforms:[GP,KP,nu,eu,JP,IT,OT,rT,yT,iu,bu,...e.nodeTransforms||[]],directiveTransforms:Xa({bind:cu,on:Ia,model:AT,show:_T,cloak:Di,once:Di,memo:Di},e.directiveTransforms||{})})),TT(t,e),Xl(t,e)}var $T=Object.freeze({__proto__:null,compile:RT}),FT={},BT=Object.freeze({__proto__:null,default:FT}),UT=ni(BT),gc=ni(mw),jT=ni(yP),wy={};function Gr(r){!(typeof process!="undefined"&&!0)&&!0&&!wy[r]&&(wy[r]=!0,vc(r))}function vc(r){console.warn(`[@vue/compiler-sfc] ${r}
54
+ `)}var qT=Object.defineProperty,VT=Object.defineProperties,zT=Object.getOwnPropertyDescriptors,Ey=Object.getOwnPropertySymbols,WT=Object.prototype.hasOwnProperty,GT=Object.prototype.propertyIsEnumerable,Py=(r,e,t)=>e in r?qT(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Sc=(r,e)=>{for(var t in e||(e={}))WT.call(e,t)&&Py(r,t,e[t]);if(Ey)for(var t of Ey(e))GT.call(e,t)&&Py(r,t,e[t]);return r},Ty=(r,e)=>VT(r,zT(e));function HT({source:r,filename:e,preprocessOptions:t},s){let i="",n=null;if(s.render(r,Sc({filename:e},t),(a,o)=>{a&&(n=a),i=o}),n)throw n;return i}function xy(r){let{preprocessLang:e,preprocessCustomRequire:t}=r;if(e&&!t)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 }.");let s=e?t?t(e):void 0:!1;if(s)try{return Ay(Ty(Sc({},r),{source:HT(r,s)}))}catch(i){return{code:"export default function render() {}",source:r.source,tips:[],errors:[i]}}else return e?{code:"export default function render() {}",source:r.source,tips:[`Component ${r.filename} uses lang ${e} for template. Please install the language preprocessor.`],errors:[`Component ${r.filename} uses lang ${e} for template, however it is not installed.`]}:Ay(r)}function Ay({filename:r,id:e,scoped:t,slotted:s,inMap:i,source:n,ssr:a=!1,ssrCssVars:o,isProd:l=!1,compiler:u=a?$T:Sd,compilerOptions:c={},transformAssetUrls:p}){let h=[],f=[],g=[];if(Vt(p)){let I=UP(p);g=[jP(I),WP(I)]}else p!==!1&&(g=[Vm,zm]);a&&!o&&Gr("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option.`."),e||(Gr("compileTemplate now requires the `id` option.`."),e="");let d=e.replace(/^data-v-/,""),m=`data-v-${d}`,{code:y,ast:E,preamble:S,map:v}=u.compile(n,Ty(Sc({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:a&&o&&o.length?Nd(o,d,l,!0):"",scopeId:t?m:void 0,slotted:s,sourceMap:!0},c),{nodeTransforms:g.concat(c.nodeTransforms||[]),filename:r,onError:I=>h.push(I),onWarn:I=>f.push(I)}));i&&(v&&(v=KT(i,v)),h.length&&YT(h,n,i));let b=f.map(I=>{let O=I.message;return I.loc&&(O+=`
55
+ ${Zr(n,I.loc.start.offset,I.loc.end.offset)}`),O});return{code:y,ast:E,preamble:S,source:n,errors:h,tips:b,map:v}}function KT(r,e){if(!r)return e;if(!e)return r;let t=new jf(r),s=new jf(e),i=new Ql;s.eachMapping(a=>{if(a.originalLine==null)return;let o=t.originalPositionFor({line:a.originalLine,column:a.originalColumn});o.source!=null&&i.addMapping({generated:{line:a.generatedLine,column:a.generatedColumn},original:{line:o.line,column:a.originalColumn},source:o.source,name:o.name})});let n=i;return t.sources.forEach(a=>{n._sources.add(a);let o=t.sourceContentFor(a);o!=null&&i.setSourceContent(a,o)}),n._sourceRoot=r.sourceRoot,n._file=r.file,n.toJSON()}function YT(r,e,t){let s=t.sourcesContent[0],i=s.indexOf(e),n=s.slice(0,i).split(/\r?\n/).length-1;r.forEach(a=>{a.loc&&(a.loc.start.line+=n,a.loc.start.offset+=i,a.loc.end!==a.loc.start&&(a.loc.end.line+=n,a.loc.end.offset+=i))})}var Vi={},JT={get exports(){return Vi},set exports(r){Vi=r}};function Cy(){return!1}function _y(){throw new Error("tty.ReadStream is not implemented")}function Iy(){throw new Error("tty.ReadStream is not implemented")}var QT={isatty:Cy,ReadStream:_y,WriteStream:Iy},XT=Object.freeze({__proto__:null,ReadStream:_y,WriteStream:Iy,default:QT,isatty:Cy}),ZT=ni(XT),ex=ZT,tx=!("NO_COLOR"in{}||ze.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||ze.argv.includes("--color")||!1||ex.isatty(1)&&ze.env.TERM!=="dumb"||"CI"in{}),Te=(r,e,t=r)=>s=>{let i=""+s,n=i.indexOf(e,r.length);return~n?r+Oy(i,e,t,n)+e:r+i+e},Oy=(r,e,t,s)=>{let i=r.substring(0,s)+t,n=r.substring(s+e.length),a=n.indexOf(e);return~a?i+Oy(n,e,t,a):i+n},Ny=(r=tx)=>({isColorSupported:r,reset:r?e=>`${e}`:String,bold:r?Te("","",""):String,dim:r?Te("","",""):String,italic:r?Te("",""):String,underline:r?Te("",""):String,inverse:r?Te("",""):String,hidden:r?Te("",""):String,strikethrough:r?Te("",""):String,black:r?Te("",""):String,red:r?Te("",""):String,green:r?Te("",""):String,yellow:r?Te("",""):String,blue:r?Te("",""):String,magenta:r?Te("",""):String,cyan:r?Te("",""):String,white:r?Te("",""):String,gray:r?Te("",""):String,bgBlack:r?Te("",""):String,bgRed:r?Te("",""):String,bgGreen:r?Te("",""):String,bgYellow:r?Te("",""):String,bgBlue:r?Te("",""):String,bgMagenta:r?Te("",""):String,bgCyan:r?Te("",""):String,bgWhite:r?Te("",""):String});JT.exports=Ny();Vi.createColors=Ny;var bc="'".charCodeAt(0),ky='"'.charCodeAt(0),Za="\\".charCodeAt(0),Ly="/".charCodeAt(0),eo=`
56
+ `.charCodeAt(0),zi=" ".charCodeAt(0),to="\f".charCodeAt(0),ro=" ".charCodeAt(0),so="\r".charCodeAt(0),rx="[".charCodeAt(0),sx="]".charCodeAt(0),ix="(".charCodeAt(0),nx=")".charCodeAt(0),ax="{".charCodeAt(0),ox="}".charCodeAt(0),lx=";".charCodeAt(0),ux="*".charCodeAt(0),cx=":".charCodeAt(0),px="@".charCodeAt(0),io=/[\t\n\f\r "#'()/;[\\\]{}]/g,no=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,hx=/.[\n"'(/\\]/,Dy=/[\da-f]/i,My=function(e,t={}){let s=e.css.valueOf(),i=t.ignoreErrors,n,a,o,l,u,c,p,h,f,g,d=s.length,m=0,y=[],E=[];function S(){return m}function v(w){throw e.error("Unclosed "+w,m)}function b(){return E.length===0&&m>=d}function I(w){if(E.length)return E.pop();if(m>=d)return;let P=w?w.ignoreUnclosed:!1;switch(n=s.charCodeAt(m),n){case eo:case zi:case ro:case so:case to:{a=m;do a+=1,n=s.charCodeAt(a);while(n===zi||n===eo||n===ro||n===so||n===to);g=["space",s.slice(m,a)],m=a-1;break}case rx:case sx:case ax:case ox:case cx:case lx:case nx:{let T=String.fromCharCode(n);g=[T,T,m];break}case ix:{if(h=y.length?y.pop()[1]:"",f=s.charCodeAt(m+1),h==="url"&&f!==bc&&f!==ky&&f!==zi&&f!==eo&&f!==ro&&f!==to&&f!==so){a=m;do{if(c=!1,a=s.indexOf(")",a+1),a===-1)if(i||P){a=m;break}else v("bracket");for(p=a;s.charCodeAt(p-1)===Za;)p-=1,c=!c}while(c);g=["brackets",s.slice(m,a+1),m,a],m=a}else a=s.indexOf(")",m+1),l=s.slice(m,a+1),a===-1||hx.test(l)?g=["(","(",m]:(g=["brackets",l,m,a],m=a);break}case bc:case ky:{o=n===bc?"'":'"',a=m;do{if(c=!1,a=s.indexOf(o,a+1),a===-1)if(i||P){a=m+1;break}else v("string");for(p=a;s.charCodeAt(p-1)===Za;)p-=1,c=!c}while(c);g=["string",s.slice(m,a+1),m,a],m=a;break}case px:{io.lastIndex=m+1,io.test(s),io.lastIndex===0?a=s.length-1:a=io.lastIndex-2,g=["at-word",s.slice(m,a+1),m,a],m=a;break}case Za:{for(a=m,u=!0;s.charCodeAt(a+1)===Za;)a+=1,u=!u;if(n=s.charCodeAt(a+1),u&&n!==Ly&&n!==zi&&n!==eo&&n!==ro&&n!==so&&n!==to&&(a+=1,Dy.test(s.charAt(a)))){for(;Dy.test(s.charAt(a+1));)a+=1;s.charCodeAt(a+1)===zi&&(a+=1)}g=["word",s.slice(m,a+1),m,a],m=a;break}default:{n===Ly&&s.charCodeAt(m+1)===ux?(a=s.indexOf("*/",m+2)+1,a===0&&(i||P?a=s.length:v("comment")),g=["comment",s.slice(m,a+1),m,a],m=a):(no.lastIndex=m+1,no.test(s),no.lastIndex===0?a=s.length-1:a=no.lastIndex-2,g=["word",s.slice(m,a+1),m,a],y.push(g),m=a);break}}return m++,g}function O(w){E.push(w)}return{back:O,nextToken:I,endOfFile:b,position:S}},Qe=Vi,fx=My,Ry;function dx(r){Ry=r}var mx={brackets:Qe.cyan,"at-word":Qe.cyan,comment:Qe.gray,string:Qe.green,class:Qe.yellow,hash:Qe.magenta,call:Qe.cyan,"(":Qe.cyan,")":Qe.cyan,"{":Qe.yellow,"}":Qe.yellow,"[":Qe.yellow,"]":Qe.yellow,":":Qe.yellow,";":Qe.yellow};function yx([r,e],t){if(r==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!t.endOfFile()){let s=t.nextToken();if(t.back(s),s[0]==="brackets"||s[0]==="(")return"call"}return r}function $y(r){let e=fx(new Ry(r),{ignoreErrors:!0}),t="";for(;!e.endOfFile();){let s=e.nextToken(),i=mx[yx(s,e)];i?t+=s[1].split(/\r?\n/).map(n=>i(n)).join(`
57
+ `):t+=s[1]}return t}$y.registerInput=dx;var Fy=$y,By=Vi,Uy=Fy,wc=class jy extends Error{constructor(e,t,s,i,n,a){super(e);this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),i&&(this.source=i),a&&(this.plugin=a),typeof t!="undefined"&&typeof s!="undefined"&&(typeof t=="number"?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,jy)}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(e){if(!this.source)return"";let t=this.source;e==null&&(e=By.isColorSupported),Uy&&e&&(t=Uy(t));let s=t.split(/\r?\n/),i=Math.max(this.line-3,0),n=Math.min(this.line+2,s.length),a=String(n).length,o,l;if(e){let{bold:u,red:c,gray:p}=By.createColors(!0);o=h=>u(c(h)),l=h=>p(h)}else o=l=u=>u;return s.slice(i,n).map((u,c)=>{let p=i+1+c,h=" "+(" "+p).slice(-a)+" | ";if(p===this.line){let f=l(h.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+l(h)+u+`
58
+ `+f+o("^")}return" "+l(h)+u}).join(`
59
+ `)}toString(){let e=this.showSourceCode();return e&&(e=`
60
+
61
+ `+e+`
62
+ `),this.name+": "+this.message+e}},Ec=wc;wc.default=wc;var Wi={};Wi.isClean=Symbol("isClean");Wi.my=Symbol("my");var qy={colon:": ",indent:" ",beforeDecl:`
63
+ `,beforeRule:`
64
+ `,beforeOpen:" ",beforeClose:`
65
+ `,beforeComment:`
66
+ `,after:`
67
+ `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function gx(r){return r[0].toUpperCase()+r.slice(1)}var Pc=class{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon"),i=e.prop+s+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),t&&(i+=";"),this.builder(i,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let s="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!="undefined"?s+=e.raws.afterName:i&&(s+=" "),e.nodes)this.block(e,s+i);else{let n=(e.raws.between||"")+(t?";":"");this.builder(s+i+n,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let s=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let n=e.nodes[i],a=this.raw(n,"before");a&&this.builder(a),this.stringify(n,t!==i||s)}}block(e,t){let s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}raw(e,t,s){let i;if(s||(s=t),t&&(i=e.raws[t],typeof i!="undefined"))return i;let n=e.parent;if(s==="before"&&(!n||n.type==="root"&&n.first===e||n&&n.type==="document"))return"";if(!n)return qy[s];let a=e.root();if(a.rawCache||(a.rawCache={}),typeof a.rawCache[s]!="undefined")return a.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(e,s);{let o="raw"+gx(s);this[o]?i=this[o](a,e):a.walk(l=>{if(i=l.raws[t],typeof i!="undefined")return!1})}return typeof i=="undefined"&&(i=qy[s]),a.rawCache[s]=i,i}rawSemicolon(e){let t;return e.walk(s=>{if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(t=s.raws.semicolon,typeof t!="undefined"))return!1}),t}rawEmptyBody(e){let t;return e.walk(s=>{if(s.nodes&&s.nodes.length===0&&(t=s.raws.after,typeof t!="undefined"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(s=>{let i=s.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof s.raws.before!="undefined"){let n=s.raws.before.split(`
68
+ `);return t=n[n.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let s;return e.walkComments(i=>{if(typeof i.raws.before!="undefined")return s=i.raws.before,s.includes(`
69
+ `)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s=="undefined"?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(e,t){let s;return e.walkDecls(i=>{if(typeof i.raws.before!="undefined")return s=i.raws.before,s.includes(`
70
+ `)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s=="undefined"?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeRule(e){let t;return e.walk(s=>{if(s.nodes&&(s.parent!==e||e.first!==s)&&typeof s.raws.before!="undefined")return t=s.raws.before,t.includes(`
71
+ `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(s=>{if(s.nodes&&s.nodes.length>0&&typeof s.raws.after!="undefined")return t=s.raws.after,t.includes(`
72
+ `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(s=>{if(s.type!=="decl"&&(t=s.raws.between,typeof t!="undefined"))return!1}),t}rawColon(e){let t;return e.walkDecls(s=>{if(typeof s.raws.between!="undefined")return t=s.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let s;e.type==="decl"?s=this.raw(e,null,"beforeDecl"):e.type==="comment"?s=this.raw(e,null,"beforeComment"):t==="before"?s=this.raw(e,null,"beforeRule"):s=this.raw(e,null,"beforeClose");let i=e.parent,n=0;for(;i&&i.type!=="root";)n+=1,i=i.parent;if(s.includes(`
73
+ `)){let a=this.raw(e,null,"indent");if(a.length)for(let o=0;o<n;o++)s+=a}return s}rawValue(e,t){let s=e[t],i=e.raws[t];return i&&i.value===s?i.raw:s}},Vy=Pc;Pc.default=Pc;var vx=Vy;function Tc(r,e){new vx(e).stringify(r)}var ao=Tc;Tc.default=Tc;var{isClean:oo,my:Sx}=Wi,bx=Ec,wx=Vy,Ex=ao;function xc(r,e){let t=new r.constructor;for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s)||s==="proxyCache")continue;let i=r[s],n=typeof i;s==="parent"&&n==="object"?e&&(t[s]=e):s==="source"?t[s]=i:Array.isArray(i)?t[s]=i.map(a=>xc(a,t)):(n==="object"&&i!==null&&(i=xc(i)),t[s]=i)}return t}var Ac=class{constructor(e={}){this.raws={},this[oo]=!1,this[Sx]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let s of e[t])typeof s.clone=="function"?this.append(s.clone()):this.append(s)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:s,end:i}=this.rangeBy(t);return this.source.input.error(e,{line:s.line,column:s.column},{line:i.line,column:i.column},t)}return new bx(e)}warn(e,t,s){let i={node:this};for(let n in s)i[n]=s[n];return e.warn(t,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=Ex){e.stringify&&(e=e.stringify);let t="";return e(this,s=>{t+=s}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=xc(this);for(let s in e)t[s]=e[s];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,s=!1;for(let i of e)i===this?s=!0:s?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);s||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,t){return new wx().raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let s={},i=t==null;t=t||new Map;let n=0;for(let a in this){if(!Object.prototype.hasOwnProperty.call(this,a)||a==="parent"||a==="proxyCache")continue;let o=this[a];if(Array.isArray(o))s[a]=o.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,t):l);else if(typeof o=="object"&&o.toJSON)s[a]=o.toJSON(null,t);else if(a==="source"){let l=t.get(o.input);l==null&&(l=n,t.set(o.input,n),n++),s[a]={inputId:l,start:o.start,end:o.end}}else s[a]=o}return i&&(s.inputs=[...t.keys()].map(a=>a.toJSON())),s}positionInside(e){let t=this.toString(),s=this.source.start.column,i=this.source.start.line;for(let n=0;n<e;n++)t[n]===`
74
+ `?(s=1,i+=1):s+=1;return{line:i,column:s}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let s=this.toString().indexOf(e.word);s!==-1&&(t=this.positionInside(s))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},s=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(t=this.positionInside(i),s=this.positionInside(i+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?s={line:e.end.line,column:e.end.column}:e.endIndex?s=this.positionInside(e.endIndex):e.index&&(s=this.positionInside(e.index+1));return(s.line<t.line||s.line===t.line&&s.column<=t.column)&&(s={line:t.line,column:t.column+1}),{start:t,end:s}}getProxyProcessor(){return{set(e,t,s){return e[t]===s||(e[t]=s,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0},get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}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}markDirty(){if(this[oo]){this[oo]=!1;let e=this;for(;e=e.parent;)e[oo]=!1}}get proxyOf(){return this}},lo=Ac;Ac.default=Ac;var Px=lo,Cc=class extends Px{constructor(e){e&&typeof e.value!="undefined"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}},uo=Cc;Cc.default=Cc;var zy=ni(OP),Tx="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",xx=(r,e=21)=>(t=e)=>{let s="",i=t;for(;i--;)s+=r[Math.random()*r.length|0];return s},Ax=(r=21)=>{let e="",t=r;for(;t--;)e+=Tx[Math.random()*64|0];return e},Cx={nanoid:Ax,customAlphabet:xx},{SourceMapConsumer:Wy,SourceMapGenerator:Gy}=Es,{existsSync:_x,readFileSync:Ix}=UT,{dirname:_c,join:Ox}=gc;function Nx(r){return $?$.from(r,"base64").toString():window.atob(r)}var Ic=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let s=t.map?t.map.prev:void 0,i=this.loadMap(t.from,s);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=_c(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Wy(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return e?e.substr(0,t.length)===t:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let s=e.lastIndexOf(t.pop()),i=e.indexOf("*/",s);s>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(s,i)))}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,s=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(i.test(e)||n.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||s.test(e))return Nx(e.substr(RegExp.lastMatch.length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}loadFile(e){if(this.root=_c(e),_x(e))return this.mapFile=e,Ix(e,"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 s=t(e);if(s){let i=this.loadFile(s);if(!i)throw new Error("Unable to load previous source map: "+s.toString());return i}}else{if(t instanceof Wy)return Gy.fromSourceMap(t).toString();if(t instanceof Gy)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let s=this.annotation;return e&&(s=Ox(_c(e),s)),this.loadFile(s)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}},Hy=Ic;Ic.default=Ic;var{SourceMapConsumer:kx,SourceMapGenerator:Lx}=Es,{fileURLToPath:Ky,pathToFileURL:co}=zy,{resolve:Oc,isAbsolute:Nc}=gc,{nanoid:Dx}=Cx,kc=Fy,Yy=Ec,Mx=Hy,Lc=Symbol("fromOffsetCache"),Rx=Boolean(kx&&Lx),Jy=Boolean(Oc&&Nc),po=class{constructor(e,t={}){if(e===null||typeof e=="undefined"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Jy||/^\w+:\/\//.test(t.from)||Nc(t.from)?this.file=t.from:this.file=Oc(t.from)),Jy&&Rx){let s=new Mx(this.css,t);if(s.text){this.map=s;let i=s.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+Dx(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,s;if(this[Lc])s=this[Lc];else{let n=this.css.split(`
75
+ `);s=new Array(n.length);let a=0;for(let o=0,l=n.length;o<l;o++)s[o]=a,a+=n[o].length+1;this[Lc]=s}t=s[s.length-1];let i=0;if(e>=t)i=s.length-1;else{let n=s.length-2,a;for(;i<n;)if(a=i+(n-i>>1),e<s[a])n=a-1;else if(e>=s[a+1])i=a+1;else{i=a;break}}return{line:i+1,col:e-s[i]+1}}error(e,t,s,i={}){let n,a,o;if(t&&typeof t=="object"){let u=t,c=s;if(typeof u.offset=="number"){let p=this.fromOffset(u.offset);t=p.line,s=p.col}else t=u.line,s=u.column;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);a=p.line,o=p.col}else a=c.line,o=c.column}else if(!s){let u=this.fromOffset(t);t=u.line,s=u.col}let l=this.origin(t,s,a,o);return l?n=new Yy(e,l.endLine===void 0?l.line:{line:l.line,column:l.column},l.endLine===void 0?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,i.plugin):n=new Yy(e,a===void 0?t:{line:t,column:s},a===void 0?s:{line:a,column:o},this.css,this.file,i.plugin),n.input={line:t,column:s,endLine:a,endColumn:o,source:this.css},this.file&&(co&&(n.input.url=co(this.file).toString()),n.input.file=this.file),n}origin(e,t,s,i){if(!this.map)return!1;let n=this.map.consumer(),a=n.originalPositionFor({line:e,column:t});if(!a.source)return!1;let o;typeof s=="number"&&(o=n.originalPositionFor({line:s,column:i}));let l;Nc(a.source)?l=co(a.source):l=new URL(a.source,this.map.consumer().sourceRoot||co(this.map.mapFile));let u={url:l.toString(),line:a.line,column:a.column,endLine:o&&o.line,endColumn:o&&o.column};if(l.protocol==="file:")if(Ky)u.file=Ky(l);else throw new Error("file: protocol is not available in this PostCSS build");let c=n.sourceContentFor(a.source);return c&&(u.source=c),u}mapResolve(e){return/^\w+:\/\//.test(e)?e:Oc(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}},ho=po;po.default=po;kc&&kc.registerInput&&kc.registerInput(po);var{SourceMapConsumer:Qy,SourceMapGenerator:fo}=Es,{dirname:mo,resolve:Xy,relative:Zy,sep:eg}=gc,{pathToFileURL:tg}=zy,$x=ho,Fx=Boolean(Qy&&fo),Bx=Boolean(mo&&Xy&&Zy&&eg),Ux=class{constructor(e,t,s,i){this.stringify=e,this.mapOpts=s.map||{},this.root=t,this.opts=s,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}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 $x(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e!="undefined"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}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.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let s=t.source.input.from;if(s&&!e[s]){e[s]=!0;let i=this.usesFileUrls?this.toFileUrl(s):this.toUrl(this.path(s));this.map.setSourceContent(i,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),s=e.root||mo(e.file),i;this.mapOpts.sourcesContent===!1?(i=new Qy(e.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=e.consumer(),this.map.applySourceMap(i,t,this.toUrl(this.path(s)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}toBase64(e){return $?$.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
76
+ `;this.css.includes(`\r
77
+ `)&&(t=`\r
78
+ `),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=fo.fromSourceMap(e)}else this.map=new fo({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});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]}path(e){if(e.indexOf("<")===0||/^\w+:\/\//.test(e)||this.mapOpts.absolute)return e;let t=this.opts.to?mo(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(t=mo(Xy(t,this.mapOpts.annotation))),e=Zy(t,e),e}toUrl(e){return eg==="\\"&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(tg)return tg(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}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))}generateString(){this.css="",this.map=new fo({file:this.outputFile()});let e=1,t=1,s="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}},n,a;this.stringify(this.root,(o,l,u)=>{if(this.css+=o,l&&u!=="end"&&(i.generated.line=e,i.generated.column=t-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=s,i.original.line=1,i.original.column=0,this.map.addMapping(i))),n=o.match(/\n/g),n?(e+=n.length,a=o.lastIndexOf(`
79
+ `),t=o.length-a):t+=o.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=e,i.generated.column=t-2,this.map.addMapping(i)):(i.source=s,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=t-1,this.map.addMapping(i)))}})}generate(){if(this.clearAnnotation(),Bx&&Fx&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}},rg=Ux,jx=lo,Dc=class extends jx{constructor(e){super(e);this.type="comment"}},yo=Dc;Dc.default=Dc;var{isClean:sg,my:ig}=Wi,ng=uo,ag=yo,qx=lo,og,Mc,Rc,lg;function ug(r){return r.map(e=>(e.nodes&&(e.nodes=ug(e.nodes)),delete e.source,e))}function cg(r){if(r[sg]=!1,r.proxyOf.nodes)for(let e of r.proxyOf.nodes)cg(e)}var ar=class pg extends qx{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),s,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(s=this.indexes[t],i=e(this.proxyOf.nodes[s],s),i!==!1);)this.indexes[t]+=1;return delete this.indexes[t],i}walk(e){return this.each((t,s)=>{let i;try{i=e(t,s)}catch(n){throw t.addToError(n)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((s,i)=>{if(s.type==="decl"&&e.test(s.prop))return t(s,i)}):this.walk((s,i)=>{if(s.type==="decl"&&s.prop===e)return t(s,i)}):(t=e,this.walk((s,i)=>{if(s.type==="decl")return t(s,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((s,i)=>{if(s.type==="rule"&&e.test(s.selector))return t(s,i)}):this.walk((s,i)=>{if(s.type==="rule"&&s.selector===e)return t(s,i)}):(t=e,this.walk((s,i)=>{if(s.type==="rule")return t(s,i)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((s,i)=>{if(s.type==="atrule"&&e.test(s.name))return t(s,i)}):this.walk((s,i)=>{if(s.type==="atrule"&&s.name===e)return t(s,i)}):(t=e,this.walk((s,i)=>{if(s.type==="atrule")return t(s,i)}))}walkComments(e){return this.walk((t,s)=>{if(t.type==="comment")return e(t,s)})}append(...e){for(let t of e){let s=this.normalize(t,this.last);for(let i of s)this.proxyOf.nodes.push(i)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let s=this.normalize(t,this.first,"prepend").reverse();for(let i of s)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+s.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let s=this.index(e),i=s===0?"prepend":!1,n=this.normalize(t,this.proxyOf.nodes[s],i).reverse();s=this.index(e);for(let o of n)this.proxyOf.nodes.splice(s,0,o);let a;for(let o in this.indexes)a=this.indexes[o],s<=a&&(this.indexes[o]=a+n.length);return this.markDirty(),this}insertAfter(e,t){let s=this.index(e),i=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let a of i)this.proxyOf.nodes.splice(s+1,0,a);let n;for(let a in this.indexes)n=this.indexes[a],s<n&&(this.indexes[a]=n+i.length);return 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 s in this.indexes)t=this.indexes[s],t>=e&&(this.indexes[s]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,s){return s||(s=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,s))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}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]}normalize(e,t){if(typeof e=="string")e=ug(og(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value=="undefined")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new ng(e)]}else if(e.selector)e=[new Mc(e)];else if(e.name)e=[new Rc(e)];else if(e.text)e=[new ag(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[ig]||pg.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[sg]&&cg(i),typeof i.raws.before=="undefined"&&t&&typeof t.raws.before!="undefined"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}getProxyProcessor(){return{set(e,t,s){return e[t]===s||(e[t]=s,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0},get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...s)=>e[t](...s.map(i=>typeof i=="function"?(n,a)=>i(n.toProxy(),a):i)):t==="every"||t==="some"?s=>e[t]((i,...n)=>s(i.toProxy(),...n)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(s=>s.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};ar.registerParse=r=>{og=r};ar.registerRule=r=>{Mc=r};ar.registerAtRule=r=>{Rc=r};ar.registerRoot=r=>{lg=r};var Hr=ar;ar.default=ar;ar.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,Rc.prototype):r.type==="rule"?Object.setPrototypeOf(r,Mc.prototype):r.type==="decl"?Object.setPrototypeOf(r,ng.prototype):r.type==="comment"?Object.setPrototypeOf(r,ag.prototype):r.type==="root"&&Object.setPrototypeOf(r,lg.prototype),r[ig]=!0,r.nodes&&r.nodes.forEach(e=>{ar.rebuild(e)})};var Vx=Hr,hg,fg,Gi=class extends Vx{constructor(e){super({type:"document",...e});this.nodes||(this.nodes=[])}toResult(e={}){return new hg(new fg,this,e).stringify()}};Gi.registerLazyResult=r=>{hg=r};Gi.registerProcessor=r=>{fg=r};var $c=Gi;Gi.default=Gi;var dg={},mg=function(e){dg[e]||(dg[e]=!0,typeof console!="undefined"&&console.warn&&console.warn(e))},Fc=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let s=t.node.rangeBy(t);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in t)this[s]=t[s]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}},yg=Fc;Fc.default=Fc;var zx=yg,Bc=class{constructor(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let s=new zx(e,t);return this.messages.push(s),s}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}},Uc=Bc;Bc.default=Bc;var gg=Hr,go=class extends gg{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)}},jc=go;go.default=go;gg.registerAtRule(go);var vg=Hr,Sg,bg,Fs=class extends vg{constructor(e){super(e);this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let s=this.index(e);return!t&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(e)}normalize(e,t,s){let i=super.normalize(e);if(t){if(s==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let n of i)n.raws.before=t.raws.before}return i}toResult(e={}){return new Sg(new bg,this,e).stringify()}};Fs.registerLazyResult=r=>{Sg=r};Fs.registerProcessor=r=>{bg=r};var Hi=Fs;Fs.default=Fs;vg.registerRoot(Fs);var Ki={split(r,e,t){let s=[],i="",n=!1,a=0,o=!1,l="",u=!1;for(let c of r)u?u=!1:c==="\\"?u=!0:o?c===l&&(o=!1):c==='"'||c==="'"?(o=!0,l=c):c==="("?a+=1:c===")"?a>0&&(a-=1):a===0&&e.includes(c)&&(n=!0),n?(i!==""&&s.push(i.trim()),i="",n=!1):i+=c;return(t||i!=="")&&s.push(i.trim()),s},space(r){let e=[" ",`
80
+ `," "];return Ki.split(r,e)},comma(r){return Ki.split(r,[","],!0)}},wg=Ki;Ki.default=Ki;var Eg=Hr,Wx=wg,vo=class extends Eg{constructor(e){super(e);this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Wx.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}},qc=vo;vo.default=vo;Eg.registerRule(vo);var Gx=uo,Hx=My,Kx=yo,Yx=jc,Jx=Hi,Pg=qc,Tg={empty:!0,space:!0};function Qx(r){for(let e=r.length-1;e>=0;e--){let t=r[e],s=t[3]||t[2];if(s)return s}}var Xx=class{constructor(e){this.input=e,this.root=new Jx,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=Hx(this.input)}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()}comment(e){let t=new Kx;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let i=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=i[2],t.raws.left=i[1],t.raws.right=i[3]}}emptyRule(e){let t=new Pg;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,s=null,i=!1,n=null,a=[],o=e[1].startsWith("--"),l=[],u=e;for(;u;){if(s=u[0],l.push(u),s==="("||s==="[")n||(n=u),a.push(s==="("?")":"]");else if(o&&i&&s==="{")n||(n=u),a.push("}");else if(a.length===0)if(s===";")if(i){this.decl(l,o);return}else break;else if(s==="{"){this.rule(l);return}else if(s==="}"){this.tokenizer.back(l.pop()),t=!0;break}else s===":"&&(i=!0);else s===a[a.length-1]&&(a.pop(),a.length===0&&(n=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(n),t&&i){if(!o)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,o)}else this.unknownWord(l)}rule(e){e.pop();let t=new Pg;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let s=new Gx;this.init(s,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),s.source.end=this.getPosition(i[3]||i[2]||Qx(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),s.raws.before+=e.shift()[1];for(s.source.start=this.getPosition(e[0][2]),s.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;s.prop+=e.shift()[1]}s.raws.between="";let n;for(;e.length;)if(n=e.shift(),n[0]===":"){s.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),s.raws.between+=n[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let a=[],o;for(;e.length&&(o=e[0][0],!(o!=="space"&&o!=="comment"));)a.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(n=e[u],n[1].toLowerCase()==="!important"){s.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(s.raws.important=c);break}else if(n[1].toLowerCase()==="important"){let c=e.slice(0),p="";for(let h=u;h>0;h--){let f=c[h][0];if(p.trim().indexOf("!")===0&&f!=="space")break;p=c.pop()[1]+p}p.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=p,e=c)}if(n[0]!=="space"&&n[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(s.raws.between+=a.map(u=>u[1]).join(""),a=[]),this.raw(s,"value",a.concat(e),t),s.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t=new Yx;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let s,i,n,a=!1,o=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),s=e[0],s==="("||s==="["?u.push(s==="("?")":"]"):s==="{"&&u.length>0?u.push("}"):s===u[u.length-1]&&u.pop(),u.length===0)if(s===";"){t.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(s==="{"){o=!0;break}else if(s==="}"){if(l.length>0){for(n=l.length-1,i=l[n];i&&i[0]==="space";)i=l[--n];i&&(t.source.end=this.getPosition(i[3]||i[2]))}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(t.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(t,"params",l),a&&(e=l[l.length-1],t.source.end=this.getPosition(e[3]||e[2]),this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],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=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}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="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,t,s,i){let n,a,o=s.length,l="",u=!0,c,p;for(let h=0;h<o;h+=1)n=s[h],a=n[0],a==="space"&&h===o-1&&!i?u=!1:a==="comment"?(p=s[h-1]?s[h-1][0]:"empty",c=s[h+1]?s[h+1][0]:"empty",!Tg[p]&&!Tg[c]?l.slice(-1)===","?u=!1:l+=n[1]:u=!1):l+=n[1];if(!u){let h=s.reduce((f,g)=>f+g[1],"");e.raws[t]={value:l,raw:h}}e[t]=l}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)s+=e.shift()[1];return s}spacesFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],t==="space");)s=e.pop()[1]+s;return s}stringFrom(e,t){let s="";for(let i=t;i<e.length;i++)s+=e[i][1];return e.splice(t,e.length-t),s}colon(e){let t=0,s,i,n;for(let[a,o]of e.entries()){if(s=o,i=s[0],i==="("&&(t+=1),i===")"&&(t-=1),t===0&&i===":")if(!n)this.doubleColon(s);else{if(n[0]==="word"&&n[1]==="progid")continue;return a}n=s}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let s=0,i;for(let n=t-1;n>=0&&(i=e[n],!(i[0]!=="space"&&(s+=1,s===2)));n--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}},Zx=Xx,eA=Hr,tA=Zx,rA=ho;function So(r,e){let t=new rA(r,e),s=new tA(t);try{s.parse()}catch(i){throw ze.env.NODE_ENV!=="production"&&i.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?i.message+=`
81
+ You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?i.message+=`
82
+ You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(i.message+=`
83
+ You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return s.root}var Vc=So;So.default=So;eA.registerParse(So);var{isClean:Bt,my:sA}=Wi,iA=rg,nA=ao,aA=Hr,oA=$c,lA=mg,xg=Uc,uA=Vc,cA=Hi,pA={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},hA={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},fA={postcssPlugin:!0,prepare:!0,Once:!0},Bs=0;function Yi(r){return typeof r=="object"&&typeof r.then=="function"}function Ag(r){let e=!1,t=pA[r.type];return r.type==="decl"?e=r.prop.toLowerCase():r.type==="atrule"&&(e=r.name.toLowerCase()),e&&r.append?[t,t+"-"+e,Bs,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:r.append?[t,Bs,t+"Exit"]:[t,t+"Exit"]}function Cg(r){let e;return r.type==="document"?e=["Document",Bs,"DocumentExit"]:r.type==="root"?e=["Root",Bs,"RootExit"]:e=Ag(r),{node:r,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function zc(r){return r[Bt]=!1,r.nodes&&r.nodes.forEach(e=>zc(e)),r}var Wc={},Us=class _g{constructor(e,t,s){this.stringified=!1,this.processed=!1;let i;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))i=zc(t);else if(t instanceof _g||t instanceof xg)i=zc(t.root),t.map&&(typeof s.map=="undefined"&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=t.map);else{let n=uA;s.syntax&&(n=s.syntax.parse),s.parser&&(n=s.parser),n.parse&&(n=n.parse);try{i=n(t,s)}catch(a){this.processed=!0,this.error=a}i&&!i[sA]&&aA.rebuild(i)}this.result=new xg(e,i,s),this.helpers={...Wc,result:this.result,postcss:Wc},this.plugins=this.processor.plugins.map(n=>typeof n=="object"&&n.prepare?{...n,...n.prepare(this.result)}:n)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return ze.env.NODE_ENV!=="production"&&("from"in this.opts||lA("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)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}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){let t=this.runOnRoot(e);if(Yi(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Bt];)e[Bt]=!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}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=nA;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new iA(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(e){e[Bt]=!0;let t=Ag(e);for(let s of t)if(s===Bs)e.nodes&&e.each(i=>{i[Bt]||this.walkSync(i)});else{let i=this.listeners[s];if(i&&this.visitSync(i,e.toProxy()))return}}visitSync(e,t){for(let[s,i]of e){this.result.lastPlugin=s;let n;try{n=i(t,this.helpers)}catch(a){throw this.handleError(a,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(Yi(n))throw this.getAsyncError()}}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(s=>e.Once(s,this.helpers));return Yi(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(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=s.postcssPlugin,e.setMessage();else if(s.postcssVersion&&ze.env.NODE_ENV!=="production"){let i=s.postcssPlugin,n=s.postcssVersion,a=this.result.processor.version,o=n.split("."),l=a.split(".");(o[0]!==l[0]||parseInt(o[1])>parseInt(l[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+a+", but "+i+" uses "+n+". Perhaps this is the source of the error below.")}}catch(i){console&&console.error&&console.error(i)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],s=this.runOnRoot(t);if(Yi(s))try{await s}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Bt];){e[Bt]=!0;let t=[Cg(e)];for(;t.length>0;){let s=this.visitTick(t);if(Yi(s))try{await s}catch(i){let n=t[t.length-1].node;throw this.handleError(i,n)}}}if(this.listeners.OnceExit)for(let[t,s]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let i=e.nodes.map(n=>s(n,this.helpers));await Promise.all(i)}else await s(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(t,s,i)=>{this.listeners[s]||(this.listeners[s]=[]),this.listeners[s].push([t,i])};for(let t of this.plugins)if(typeof t=="object")for(let s in t){if(!hA[s]&&/^[A-Z]/.test(s))throw new Error(`Unknown event ${s} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!fA[s])if(typeof t[s]=="object")for(let i in t[s])i==="*"?e(t,s,t[s][i]):e(t,s+"-"+i.toLowerCase(),t[s][i]);else typeof t[s]=="function"&&e(t,s,t[s])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:s,visitors:i}=t;if(s.type!=="root"&&s.type!=="document"&&!s.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[a,o]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return o(s.toProxy(),this.helpers)}catch(l){throw this.handleError(l,s)}}if(t.iterator!==0){let a=t.iterator,o;for(;o=s.nodes[s.indexes[a]];)if(s.indexes[a]+=1,!o[Bt]){o[Bt]=!0,e.push(Cg(o));return}t.iterator=0,delete s.indexes[a]}let n=t.events;for(;t.eventIndex<n.length;){let a=n[t.eventIndex];if(t.eventIndex+=1,a===Bs){s.nodes&&s.nodes.length&&(s[Bt]=!0,t.iterator=s.getIterator());return}else if(this.listeners[a]){t.visitors=this.listeners[a];return}}e.pop()}};Us.registerPostcss=r=>{Wc=r};var Ig=Us;Us.default=Us;cA.registerLazyResult(Us);oA.registerLazyResult(Us);var dA=rg,mA=ao,yA=mg,gA=Vc,vA=Uc,Gc=class{constructor(e,t,s){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=s,this._map=void 0;let i,n=mA;this.result=new vA(this._processor,i,this._opts),this.result.css=t;let a=this;Object.defineProperty(this.result,"root",{get(){return a.root}});let o=new dA(n,i,this._opts,t);if(o.isMap()){let[l,u]=o.generate();l&&(this.result.css=l),u&&(this.result.map=u)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=gA;try{e=t(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return ze.env.NODE_ENV!=="production"&&("from"in this._opts||yA("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)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}},SA=Gc;Gc.default=Gc;var bA=SA,wA=Ig,EA=$c,PA=Hi,Ji=class{constructor(e=[]){this.version="8.4.21",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return this.plugins.length===0&&typeof t.parser=="undefined"&&typeof t.stringifier=="undefined"&&typeof t.syntax=="undefined"?new bA(this,e,t):new wA(this,e,t)}normalize(e){let t=[];for(let s of e)if(s.postcss===!0?s=s():s.postcss&&(s=s.postcss),typeof s=="object"&&Array.isArray(s.plugins))t=t.concat(s.plugins);else if(typeof s=="object"&&s.postcssPlugin)t.push(s);else if(typeof s=="function")t.push(s);else if(typeof s=="object"&&(s.parse||s.stringify)){if(ze.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(s+" is not a PostCSS plugin");return t}},TA=Ji;Ji.default=Ji;PA.registerProcessor(Ji);EA.registerProcessor(Ji);var xA=uo,AA=Hy,CA=yo,_A=jc,IA=ho,OA=Hi,NA=qc;function Qi(r,e){if(Array.isArray(r))return r.map(i=>Qi(i));let{inputs:t,...s}=r;if(t){e=[];for(let i of t){let n={...i,__proto__:IA.prototype};n.map&&(n.map={...n.map,__proto__:AA.prototype}),e.push(n)}}if(s.nodes&&(s.nodes=r.nodes.map(i=>Qi(i,e))),s.source){let{inputId:i,...n}=s.source;s.source=n,i!=null&&(s.source.input=e[i])}if(s.type==="root")return new OA(s);if(s.type==="decl")return new xA(s);if(s.type==="rule")return new NA(s);if(s.type==="comment")return new CA(s);if(s.type==="atrule")return new _A(s);throw new Error("Unknown node type: "+r.type)}var kA=Qi;Qi.default=Qi;var LA=Ec,Og=uo,DA=Ig,MA=Hr,Hc=TA,RA=ao,$A=kA,Ng=$c,FA=yg,kg=yo,Lg=jc,BA=Uc,UA=ho,jA=Vc,qA=wg,Dg=qc,Mg=Hi,VA=lo;function ye(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Hc(r)}ye.plugin=function(e,t){let s=!1;function i(...a){console&&console.warn&&!s&&(s=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
84
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ze.env.LANG&&ze.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
85
+ https://www.w3ctech.com/topic/2226`));let o=t(...a);return o.postcssPlugin=e,o.postcssVersion=new Hc().version,o}let n;return Object.defineProperty(i,"postcss",{get(){return n||(n=i()),n}}),i.process=function(a,o,l){return ye([i(l)]).process(a,o)},i};ye.stringify=RA;ye.parse=jA;ye.fromJSON=$A;ye.list=qA;ye.comment=r=>new kg(r);ye.atRule=r=>new Lg(r);ye.decl=r=>new Og(r);ye.rule=r=>new Dg(r);ye.root=r=>new Mg(r);ye.document=r=>new Ng(r);ye.CssSyntaxError=LA;ye.Declaration=Og;ye.Container=MA;ye.Processor=Hc;ye.Document=Ng;ye.Comment=kg;ye.Warning=FA;ye.AtRule=Lg;ye.Result=BA;ye.Input=UA;ye.Rule=Dg;ye.Root=Mg;ye.Node=VA;DA.registerPostcss(ye);var zA=ye;ye.default=ye;var be=zA;be.stringify;be.fromJSON;be.plugin;be.parse;be.list;be.document;be.comment;be.atRule;be.rule;be.decl;be.root;be.CssSyntaxError;be.Declaration;be.Container;be.Processor;be.Document;be.Comment;be.Warning;be.AtRule;be.Result;be.Input;be.Rule;be.Root;be.Node;var Rg=()=>({postcssPlugin:"vue-sfc-trim",Once(r){r.walk(({type:e,raws:t})=>{(e==="rule"||e==="atrule")&&(t.before&&(t.before=`
86
+ `),"after"in t&&t.after&&(t.after=`
87
+ `))})}});Rg.postcss=!0;var WA=Rg,bo={},GA={get exports(){return bo},set exports(r){bo=r}},wo={},HA={get exports(){return wo},set exports(r){wo=r}},Eo={},KA={get exports(){return Eo},set exports(r){Eo=r}},Xi={},YA={get exports(){return Xi},set exports(r){Xi=r}},js={},JA={get exports(){return js},set exports(r){js=r}},At={},QA={get exports(){return At},set exports(r){At=r}},ct={},Zi={},XA={get exports(){return Zi},set exports(r){Zi=r}};(function(r,e){e.__esModule=!0,e.default=i;function t(n){for(var a=n.toLowerCase(),o="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),p=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!p)break;o+=a[u]}if(o.length!==0){var h=parseInt(o,16),f=h>=55296&&h<=57343;return f||h===0||h>1114111?["\uFFFD",o.length+(l?1:0)]:[String.fromCodePoint(h),o.length+(l?1:0)]}}var s=/\\/;function i(n){var a=s.test(n);if(!a)return n;for(var o="",l=0;l<n.length;l++){if(n[l]==="\\"){var u=t(n.slice(l+1,l+7));if(u!==void 0){o+=u[0],l+=u[1];continue}if(n[l+1]==="\\"){o+="\\",l++;continue}n.length===l+1&&(o+=n[l]);continue}o+=n[l]}return o}r.exports=e.default})(XA,Zi);var Po={},ZA={get exports(){return Po},set exports(r){Po=r}};(function(r,e){e.__esModule=!0,e.default=t;function t(s){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];for(;n.length>0;){var o=n.shift();if(!s[o])return;s=s[o]}return s}r.exports=e.default})(ZA,Po);var To={},eC={get exports(){return To},set exports(r){To=r}};(function(r,e){e.__esModule=!0,e.default=t;function t(s){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];for(;n.length>0;){var o=n.shift();s[o]||(s[o]={}),s=s[o]}}r.exports=e.default})(eC,To);var xo={},tC={get exports(){return xo},set exports(r){xo=r}};(function(r,e){e.__esModule=!0,e.default=t;function t(s){for(var i="",n=s.indexOf("/*"),a=0;n>=0;){i=i+s.slice(a,n);var o=s.indexOf("*/",n+2);if(o<0)return i;a=o+2,n=s.indexOf("/*",a)}return i=i+s.slice(a),i}r.exports=e.default})(tC,xo);ct.__esModule=!0;ct.stripComments=ct.ensureObject=ct.getProp=ct.unesc=void 0;var rC=Ao(Zi);ct.unesc=rC.default;var sC=Ao(Po);ct.getProp=sC.default;var iC=Ao(To);ct.ensureObject=iC.default;var nC=Ao(xo);ct.stripComments=nC.default;function Ao(r){return r&&r.__esModule?r:{default:r}}(function(r,e){e.__esModule=!0,e.default=void 0;var t=ct;function s(o,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(o,c.key,c)}}function i(o,l,u){return l&&s(o.prototype,l),u&&s(o,u),o}var n=function o(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var p in l)if(!!l.hasOwnProperty(p)){var h=l[p],f=typeof h;p==="parent"&&f==="object"?u&&(c[p]=u):h instanceof Array?c[p]=h.map(function(g){return o(g,c)}):c[p]=o(h,c)}return c},a=function(){function o(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=o.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var c in arguments)this.parent.insertBefore(this,arguments[c]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(c){c===void 0&&(c={});var p=n(this);for(var h in c)p[h]=c[h];return p},l.appendToPropertyAndEscape=function(c,p,h){this.raws||(this.raws={});var f=this[c],g=this.raws[c];this[c]=f+p,g||h!==p?this.raws[c]=(g||f)+h:delete this.raws[c]},l.setPropertyAndEscape=function(c,p,h){this.raws||(this.raws={}),this[c]=p,this.raws[c]=h},l.setPropertyWithoutEscape=function(c,p){this[c]=p,this.raws&&delete this.raws[c]},l.isAtPosition=function(c,p){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>c||this.source.end.line<c||this.source.start.line===c&&this.source.start.column>p||this.source.end.line===c&&this.source.end.column<p)},l.stringifyProperty=function(c){return this.raws&&this.raws[c]||this[c]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(o,[{key:"rawSpaceBefore",get:function(){var c=this.raws&&this.raws.spaces&&this.raws.spaces.before;return c===void 0&&(c=this.spaces&&this.spaces.before),c||""},set:function(c){(0,t.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=c}},{key:"rawSpaceAfter",get:function(){var c=this.raws&&this.raws.spaces&&this.raws.spaces.after;return c===void 0&&(c=this.spaces.after),c||""},set:function(c){(0,t.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=c}}]),o}();e.default=a,r.exports=e.default})(QA,At);var ie={};ie.__esModule=!0;ie.UNIVERSAL=ie.ATTRIBUTE=ie.CLASS=ie.COMBINATOR=ie.COMMENT=ie.ID=ie.NESTING=ie.PSEUDO=ie.ROOT=ie.SELECTOR=ie.STRING=ie.TAG=void 0;var aC="tag";ie.TAG=aC;var oC="string";ie.STRING=oC;var lC="selector";ie.SELECTOR=lC;var uC="root";ie.ROOT=uC;var cC="pseudo";ie.PSEUDO=cC;var pC="nesting";ie.NESTING=pC;var hC="id";ie.ID=hC;var fC="comment";ie.COMMENT=fC;var dC="combinator";ie.COMBINATOR=dC;var mC="class";ie.CLASS=mC;var yC="attribute";ie.ATTRIBUTE=yC;var gC="universal";ie.UNIVERSAL=gC;(function(r,e){e.__esModule=!0,e.default=void 0;var t=a(At),s=n(ie);function i(){if(typeof WeakMap!="function")return null;var d=new WeakMap;return i=function(){return d},d}function n(d){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=i();if(m&&m.has(d))return m.get(d);var y={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in d)if(Object.prototype.hasOwnProperty.call(d,S)){var v=E?Object.getOwnPropertyDescriptor(d,S):null;v&&(v.get||v.set)?Object.defineProperty(y,S,v):y[S]=d[S]}return y.default=d,m&&m.set(d,y),y}function a(d){return d&&d.__esModule?d:{default:d}}function o(d,m){var y;if(typeof Symbol=="undefined"||d[Symbol.iterator]==null){if(Array.isArray(d)||(y=l(d))||m&&d&&typeof d.length=="number"){y&&(d=y);var E=0;return function(){return E>=d.length?{done:!0}:{done:!1,value:d[E++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
88
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return y=d[Symbol.iterator](),y.next.bind(y)}function l(d,m){if(!!d){if(typeof d=="string")return u(d,m);var y=Object.prototype.toString.call(d).slice(8,-1);if(y==="Object"&&d.constructor&&(y=d.constructor.name),y==="Map"||y==="Set")return Array.from(d);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return u(d,m)}}function u(d,m){(m==null||m>d.length)&&(m=d.length);for(var y=0,E=new Array(m);y<m;y++)E[y]=d[y];return E}function c(d,m){for(var y=0;y<m.length;y++){var E=m[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(d,E.key,E)}}function p(d,m,y){return m&&c(d.prototype,m),y&&c(d,y),d}function h(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,f(d,m)}function f(d,m){return f=Object.setPrototypeOf||function(E,S){return E.__proto__=S,E},f(d,m)}var g=function(d){h(m,d);function m(E){var S;return S=d.call(this,E)||this,S.nodes||(S.nodes=[]),S}var y=m.prototype;return y.append=function(S){return S.parent=this,this.nodes.push(S),this},y.prepend=function(S){return S.parent=this,this.nodes.unshift(S),this},y.at=function(S){return this.nodes[S]},y.index=function(S){return typeof S=="number"?S:this.nodes.indexOf(S)},y.removeChild=function(S){S=this.index(S),this.at(S).parent=void 0,this.nodes.splice(S,1);var v;for(var b in this.indexes)v=this.indexes[b],v>=S&&(this.indexes[b]=v-1);return this},y.removeAll=function(){for(var S=o(this.nodes),v;!(v=S()).done;){var b=v.value;b.parent=void 0}return this.nodes=[],this},y.empty=function(){return this.removeAll()},y.insertAfter=function(S,v){v.parent=this;var b=this.index(S);this.nodes.splice(b+1,0,v),v.parent=this;var I;for(var O in this.indexes)I=this.indexes[O],b<=I&&(this.indexes[O]=I+1);return this},y.insertBefore=function(S,v){v.parent=this;var b=this.index(S);this.nodes.splice(b,0,v),v.parent=this;var I;for(var O in this.indexes)I=this.indexes[O],I<=b&&(this.indexes[O]=I+1);return this},y._findChildAtPosition=function(S,v){var b=void 0;return this.each(function(I){if(I.atPosition){var O=I.atPosition(S,v);if(O)return b=O,!1}else if(I.isAtPosition(S,v))return b=I,!1}),b},y.atPosition=function(S,v){if(this.isAtPosition(S,v))return this._findChildAtPosition(S,v)||this},y._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))},y.each=function(S){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var v=this.lastEach;if(this.indexes[v]=0,!!this.length){for(var b,I;this.indexes[v]<this.length&&(b=this.indexes[v],I=S(this.at(b),b),I!==!1);)this.indexes[v]+=1;if(delete this.indexes[v],I===!1)return!1}},y.walk=function(S){return this.each(function(v,b){var I=S(v,b);if(I!==!1&&v.length&&(I=v.walk(S)),I===!1)return!1})},y.walkAttributes=function(S){var v=this;return this.walk(function(b){if(b.type===s.ATTRIBUTE)return S.call(v,b)})},y.walkClasses=function(S){var v=this;return this.walk(function(b){if(b.type===s.CLASS)return S.call(v,b)})},y.walkCombinators=function(S){var v=this;return this.walk(function(b){if(b.type===s.COMBINATOR)return S.call(v,b)})},y.walkComments=function(S){var v=this;return this.walk(function(b){if(b.type===s.COMMENT)return S.call(v,b)})},y.walkIds=function(S){var v=this;return this.walk(function(b){if(b.type===s.ID)return S.call(v,b)})},y.walkNesting=function(S){var v=this;return this.walk(function(b){if(b.type===s.NESTING)return S.call(v,b)})},y.walkPseudos=function(S){var v=this;return this.walk(function(b){if(b.type===s.PSEUDO)return S.call(v,b)})},y.walkTags=function(S){var v=this;return this.walk(function(b){if(b.type===s.TAG)return S.call(v,b)})},y.walkUniversals=function(S){var v=this;return this.walk(function(b){if(b.type===s.UNIVERSAL)return S.call(v,b)})},y.split=function(S){var v=this,b=[];return this.reduce(function(I,O,w){var P=S.call(v,O);return b.push(O),P?(I.push(b),b=[]):w===v.length-1&&I.push(b),I},[])},y.map=function(S){return this.nodes.map(S)},y.reduce=function(S,v){return this.nodes.reduce(S,v)},y.every=function(S){return this.nodes.every(S)},y.some=function(S){return this.nodes.some(S)},y.filter=function(S){return this.nodes.filter(S)},y.sort=function(S){return this.nodes.sort(S)},y.toString=function(){return this.map(String).join("")},p(m,[{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}}]),m}(t.default);e.default=g,r.exports=e.default})(JA,js);(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(js),s=ie;function i(c){return c&&c.__esModule?c:{default:c}}function n(c,p){for(var h=0;h<p.length;h++){var f=p[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(c,f.key,f)}}function a(c,p,h){return p&&n(c.prototype,p),h&&n(c,h),c}function o(c,p){c.prototype=Object.create(p.prototype),c.prototype.constructor=c,l(c,p)}function l(c,p){return l=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},l(c,p)}var u=function(c){o(p,c);function p(f){var g;return g=c.call(this,f)||this,g.type=s.ROOT,g}var h=p.prototype;return h.toString=function(){var g=this.reduce(function(d,m){return d.push(String(m)),d},[]).join(",");return this.trailingComma?g+",":g},h.error=function(g,d){return this._error?this._error(g,d):new Error(g)},a(p,[{key:"errorGenerator",set:function(g){this._error=g}}]),p}(t.default);e.default=u,r.exports=e.default})(YA,Xi);var en={},vC={get exports(){return en},set exports(r){en=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(js),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.SELECTOR,p}return u}(t.default);e.default=o,r.exports=e.default})(vC,en);var tn={},SC={get exports(){return tn},set exports(r){tn=r}};var bC={},wC=bC.hasOwnProperty,EC=function(e,t){if(!e)return t;var s={};for(var i in t)s[i]=wC.call(e,i)?e[i]:t[i];return s},PC=/[ -,\.\/:-@\[-\^`\{-~]/,TC=/[ -,\.\/:-@\[\]\^`\{-~]/,xC=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Kc=function r(e,t){t=EC(t,r.options),t.quotes!="single"&&t.quotes!="double"&&(t.quotes="single");for(var s=t.quotes=="double"?'"':"'",i=t.isIdentifier,n=e.charAt(0),a="",o=0,l=e.length;o<l;){var u=e.charAt(o++),c=u.charCodeAt(),p=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&o<l){var h=e.charCodeAt(o++);(h&64512)==56320?c=((c&1023)<<10)+(h&1023)+65536:o--}p="\\"+c.toString(16).toUpperCase()+" "}else t.escapeEverything?PC.test(u)?p="\\"+u:p="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(u)?p="\\"+c.toString(16).toUpperCase()+" ":u=="\\"||!i&&(u=='"'&&s==u||u=="'"&&s==u)||i&&TC.test(u)?p="\\"+u:p=u;a+=p}return i&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(n)&&(a="\\3"+n+" "+a.slice(1))),a=a.replace(xC,function(f,g,d){return g&&g.length%2?f:(g||"")+d}),!i&&t.wrap?s+a+s:a};Kc.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Kc.version="3.0.0";var Yc=Kc;(function(r,e){e.__esModule=!0,e.default=void 0;var t=a(Yc),s=ct,i=a(At),n=ie;function a(h){return h&&h.__esModule?h:{default:h}}function o(h,f){for(var g=0;g<f.length;g++){var d=f[g];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(h,d.key,d)}}function l(h,f,g){return f&&o(h.prototype,f),g&&o(h,g),h}function u(h,f){h.prototype=Object.create(f.prototype),h.prototype.constructor=h,c(h,f)}function c(h,f){return c=Object.setPrototypeOf||function(d,m){return d.__proto__=m,d},c(h,f)}var p=function(h){u(f,h);function f(d){var m;return m=h.call(this,d)||this,m.type=n.CLASS,m._constructed=!0,m}var g=f.prototype;return g.valueToString=function(){return"."+h.prototype.valueToString.call(this)},l(f,[{key:"value",get:function(){return this._value},set:function(m){if(this._constructed){var y=(0,t.default)(m,{isIdentifier:!0});y!==m?((0,s.ensureObject)(this,"raws"),this.raws.value=y):this.raws&&delete this.raws.value}this._value=m}}]),f}(i.default);e.default=p,r.exports=e.default})(SC,tn);var rn={},AC={get exports(){return rn},set exports(r){rn=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(At),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.COMMENT,p}return u}(t.default);e.default=o,r.exports=e.default})(AC,rn);var sn={},CC={get exports(){return sn},set exports(r){sn=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(At),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(p){var h;return h=l.call(this,p)||this,h.type=s.ID,h}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u}(t.default);e.default=o,r.exports=e.default})(CC,sn);var nn={},_C={get exports(){return nn},set exports(r){nn=r}},qs={},IC={get exports(){return qs},set exports(r){qs=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=n(Yc),s=ct,i=n(At);function n(p){return p&&p.__esModule?p:{default:p}}function a(p,h){for(var f=0;f<h.length;f++){var g=h[f];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(p,g.key,g)}}function o(p,h,f){return h&&a(p.prototype,h),f&&a(p,f),p}function l(p,h){p.prototype=Object.create(h.prototype),p.prototype.constructor=p,u(p,h)}function u(p,h){return u=Object.setPrototypeOf||function(g,d){return g.__proto__=d,g},u(p,h)}var c=function(p){l(h,p);function h(){return p.apply(this,arguments)||this}var f=h.prototype;return f.qualifiedName=function(d){return this.namespace?this.namespaceString+"|"+d:d},f.valueToString=function(){return this.qualifiedName(p.prototype.valueToString.call(this))},o(h,[{key:"namespace",get:function(){return this._namespace},set:function(d){if(d===!0||d==="*"||d==="&"){this._namespace=d,this.raws&&delete this.raws.namespace;return}var m=(0,t.default)(d,{isIdentifier:!0});this._namespace=d,m!==d?((0,s.ensureObject)(this,"raws"),this.raws.namespace=m):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(d){this.namespace=d}},{key:"namespaceString",get:function(){if(this.namespace){var d=this.stringifyProperty("namespace");return d===!0?"":d}else return""}}]),h}(i.default);e.default=c,r.exports=e.default})(IC,qs);(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(qs),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.TAG,p}return u}(t.default);e.default=o,r.exports=e.default})(_C,nn);var an={},OC={get exports(){return an},set exports(r){an=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(At),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.STRING,p}return u}(t.default);e.default=o,r.exports=e.default})(OC,an);var on={},NC={get exports(){return on},set exports(r){on=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(js),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(p){var h;return h=l.call(this,p)||this,h.type=s.PSEUDO,h}var c=u.prototype;return c.toString=function(){var h=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),h,this.rawSpaceAfter].join("")},u}(t.default);e.default=o,r.exports=e.default})(NC,on);var Jc={},kC=jT.deprecate;(function(r){r.__esModule=!0,r.unescapeValue=m,r.default=void 0;var e=a(Yc),t=a(Zi),s=a(qs),i=ie,n;function a(b){return b&&b.__esModule?b:{default:b}}function o(b,I){for(var O=0;O<I.length;O++){var w=I[O];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(b,w.key,w)}}function l(b,I,O){return I&&o(b.prototype,I),O&&o(b,O),b}function u(b,I){b.prototype=Object.create(I.prototype),b.prototype.constructor=b,c(b,I)}function c(b,I){return c=Object.setPrototypeOf||function(w,P){return w.__proto__=P,w},c(b,I)}var p=kC,h=/^('|")([^]*)\1$/,f=p(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),g=p(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),d=p(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function m(b){var I=!1,O=null,w=b,P=w.match(h);return P&&(O=P[1],w=P[2]),w=(0,t.default)(w),w!==b&&(I=!0),{deprecatedUsage:I,unescaped:w,quoteMark:O}}function y(b){if(b.quoteMark!==void 0||b.value===void 0)return b;d();var I=m(b.value),O=I.quoteMark,w=I.unescaped;return b.raws||(b.raws={}),b.raws.value===void 0&&(b.raws.value=b.value),b.value=w,b.quoteMark=O,b}var E=function(b){u(I,b);function I(w){var P;return w===void 0&&(w={}),P=b.call(this,y(w))||this,P.type=i.ATTRIBUTE,P.raws=P.raws||{},Object.defineProperty(P.raws,"unquoted",{get:p(function(){return P.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:p(function(){return P.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),P._constructed=!0,P}var O=I.prototype;return O.getQuotedValue=function(P){P===void 0&&(P={});var T=this._determineQuoteMark(P),C=S[T],B=(0,e.default)(this._value,C);return B},O._determineQuoteMark=function(P){return P.smart?this.smartQuoteMark(P):this.preferredQuoteMark(P)},O.setValue=function(P,T){T===void 0&&(T={}),this._value=P,this._quoteMark=this._determineQuoteMark(T),this._syncRawValue()},O.smartQuoteMark=function(P){var T=this.value,C=T.replace(/[^']/g,"").length,B=T.replace(/[^"]/g,"").length;if(C+B===0){var q=(0,e.default)(T,{isIdentifier:!0});if(q===T)return I.NO_QUOTE;var Q=this.preferredQuoteMark(P);if(Q===I.NO_QUOTE){var V=this.quoteMark||P.quoteMark||I.DOUBLE_QUOTE,J=S[V],ae=(0,e.default)(T,J);if(ae.length<q.length)return V}return Q}else return B===C?this.preferredQuoteMark(P):B<C?I.DOUBLE_QUOTE:I.SINGLE_QUOTE},O.preferredQuoteMark=function(P){var T=P.preferCurrentQuoteMark?this.quoteMark:P.quoteMark;return T===void 0&&(T=P.preferCurrentQuoteMark?P.quoteMark:this.quoteMark),T===void 0&&(T=I.DOUBLE_QUOTE),T},O._syncRawValue=function(){var P=(0,e.default)(this._value,S[this.quoteMark]);P===this._value?this.raws&&delete this.raws.value:this.raws.value=P},O._handleEscapes=function(P,T){if(this._constructed){var C=(0,e.default)(T,{isIdentifier:!0});C!==T?this.raws[P]=C:delete this.raws[P]}},O._spacesFor=function(P){var T={before:"",after:""},C=this.spaces[P]||{},B=this.raws.spaces&&this.raws.spaces[P]||{};return Object.assign(T,C,B)},O._stringFor=function(P,T,C){T===void 0&&(T=P),C===void 0&&(C=v);var B=this._spacesFor(T);return C(this.stringifyProperty(P),B)},O.offsetOf=function(P){var T=1,C=this._spacesFor("attribute");if(T+=C.before.length,P==="namespace"||P==="ns")return this.namespace?T:-1;if(P==="attributeNS"||(T+=this.namespaceString.length,this.namespace&&(T+=1),P==="attribute"))return T;T+=this.stringifyProperty("attribute").length,T+=C.after.length;var B=this._spacesFor("operator");T+=B.before.length;var q=this.stringifyProperty("operator");if(P==="operator")return q?T:-1;T+=q.length,T+=B.after.length;var Q=this._spacesFor("value");T+=Q.before.length;var V=this.stringifyProperty("value");if(P==="value")return V?T:-1;T+=V.length,T+=Q.after.length;var J=this._spacesFor("insensitive");return T+=J.before.length,P==="insensitive"&&this.insensitive?T:-1},O.toString=function(){var P=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(C,B){return C.length>0&&!P.quoted&&B.before.length===0&&!(P.spaces.value&&P.spaces.value.after)&&(B.before=" "),v(C,B)}))),T.push("]"),T.push(this.rawSpaceAfter),T.join("")},l(I,[{key:"quoted",get:function(){var P=this.quoteMark;return P==="'"||P==='"'},set:function(P){g()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(P){if(!this._constructed){this._quoteMark=P;return}this._quoteMark!==P&&(this._quoteMark=P,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(P){if(this._constructed){var T=m(P),C=T.deprecatedUsage,B=T.unescaped,q=T.quoteMark;if(C&&f(),B===this._value&&q===this._quoteMark)return;this._value=B,this._quoteMark=q,this._syncRawValue()}else this._value=P}},{key:"insensitive",get:function(){return this._insensitive},set:function(P){P||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=P}},{key:"attribute",get:function(){return this._attribute},set:function(P){this._handleEscapes("attribute",P),this._attribute=P}}]),I}(s.default);r.default=E,E.NO_QUOTE=null,E.SINGLE_QUOTE="'",E.DOUBLE_QUOTE='"';var S=(n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},n[null]={isIdentifier:!0},n);function v(b,I){return""+I.before+b+I.after}})(Jc);var ln={},LC={get exports(){return ln},set exports(r){ln=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(qs),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.UNIVERSAL,p.value="*",p}return u}(t.default);e.default=o,r.exports=e.default})(LC,ln);var un={},DC={get exports(){return un},set exports(r){un=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(At),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.COMBINATOR,p}return u}(t.default);e.default=o,r.exports=e.default})(DC,un);var cn={},MC={get exports(){return cn},set exports(r){cn=r}};(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(At),s=ie;function i(l){return l&&l.__esModule?l:{default:l}}function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(p,h){return p.__proto__=h,p},a(l,u)}var o=function(l){n(u,l);function u(c){var p;return p=l.call(this,c)||this,p.type=s.NESTING,p.value="&",p}return u}(t.default);e.default=o,r.exports=e.default})(MC,cn);var Co={},RC={get exports(){return Co},set exports(r){Co=r}};(function(r,e){e.__esModule=!0,e.default=t;function t(s){return s.sort(function(i,n){return i-n})}r.exports=e.default})(RC,Co);var $g={},G={};G.__esModule=!0;G.combinator=G.word=G.comment=G.str=G.tab=G.newline=G.feed=G.cr=G.backslash=G.bang=G.slash=G.doubleQuote=G.singleQuote=G.space=G.greaterThan=G.pipe=G.equals=G.plus=G.caret=G.tilde=G.dollar=G.closeSquare=G.openSquare=G.closeParenthesis=G.openParenthesis=G.semicolon=G.colon=G.comma=G.at=G.asterisk=G.ampersand=void 0;var $C=38;G.ampersand=$C;var FC=42;G.asterisk=FC;var BC=64;G.at=BC;var UC=44;G.comma=UC;var jC=58;G.colon=jC;var qC=59;G.semicolon=qC;var VC=40;G.openParenthesis=VC;var zC=41;G.closeParenthesis=zC;var WC=91;G.openSquare=WC;var GC=93;G.closeSquare=GC;var HC=36;G.dollar=HC;var KC=126;G.tilde=KC;var YC=94;G.caret=YC;var JC=43;G.plus=JC;var QC=61;G.equals=QC;var XC=124;G.pipe=XC;var ZC=62;G.greaterThan=ZC;var e_=32;G.space=e_;var Fg=39;G.singleQuote=Fg;var t_=34;G.doubleQuote=t_;var r_=47;G.slash=r_;var s_=33;G.bang=s_;var i_=92;G.backslash=i_;var n_=13;G.cr=n_;var a_=12;G.feed=a_;var o_=10;G.newline=o_;var l_=9;G.tab=l_;var u_=Fg;G.str=u_;var c_=-1;G.comment=c_;var p_=-2;G.word=p_;var h_=-3;G.combinator=h_;(function(r){r.__esModule=!0,r.default=g,r.FIELDS=void 0;var e=n(G),t,s;function i(){if(typeof WeakMap!="function")return null;var d=new WeakMap;return i=function(){return d},d}function n(d){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=i();if(m&&m.has(d))return m.get(d);var y={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in d)if(Object.prototype.hasOwnProperty.call(d,S)){var v=E?Object.getOwnPropertyDescriptor(d,S):null;v&&(v.get||v.set)?Object.defineProperty(y,S,v):y[S]=d[S]}return y.default=d,m&&m.set(d,y),y}for(var a=(t={},t[e.tab]=!0,t[e.newline]=!0,t[e.cr]=!0,t[e.feed]=!0,t),o=(s={},s[e.space]=!0,s[e.tab]=!0,s[e.newline]=!0,s[e.cr]=!0,s[e.feed]=!0,s[e.ampersand]=!0,s[e.asterisk]=!0,s[e.bang]=!0,s[e.comma]=!0,s[e.colon]=!0,s[e.semicolon]=!0,s[e.openParenthesis]=!0,s[e.closeParenthesis]=!0,s[e.openSquare]=!0,s[e.closeSquare]=!0,s[e.singleQuote]=!0,s[e.doubleQuote]=!0,s[e.plus]=!0,s[e.pipe]=!0,s[e.tilde]=!0,s[e.greaterThan]=!0,s[e.equals]=!0,s[e.dollar]=!0,s[e.caret]=!0,s[e.slash]=!0,s),l={},u="0123456789abcdefABCDEF",c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;function p(d,m){var y=m,E;do{if(E=d.charCodeAt(y),o[E])return y-1;E===e.backslash?y=h(d,y)+1:y++}while(y<d.length);return y-1}function h(d,m){var y=m,E=d.charCodeAt(y+1);if(!a[E])if(l[E]){var S=0;do y++,S++,E=d.charCodeAt(y+1);while(l[E]&&S<6);S<6&&E===e.space&&y++}else y++;return y}var f={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};r.FIELDS=f;function g(d){var m=[],y=d.css.valueOf(),E=y,S=E.length,v=-1,b=1,I=0,O=0,w,P,T,C,B,q,Q,V,J,ae,Ae,M,R;function k(x,L){if(d.safe)y+=L,J=y.length-1;else throw d.error("Unclosed "+x,b,I-v,I)}for(;I<S;){switch(w=y.charCodeAt(I),w===e.newline&&(v=I,b+=1),w){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:J=I;do J+=1,w=y.charCodeAt(J),w===e.newline&&(v=J,b+=1);while(w===e.space||w===e.newline||w===e.tab||w===e.cr||w===e.feed);R=e.space,C=b,T=J-v-1,O=J;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:J=I;do J+=1,w=y.charCodeAt(J);while(w===e.plus||w===e.greaterThan||w===e.tilde||w===e.pipe);R=e.combinator,C=b,T=I-v,O=J;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:J=I,R=w,C=b,T=I-v,O=J+1;break;case e.singleQuote:case e.doubleQuote:M=w===e.singleQuote?"'":'"',J=I;do for(B=!1,J=y.indexOf(M,J+1),J===-1&&k("quote",M),q=J;y.charCodeAt(q-1)===e.backslash;)q-=1,B=!B;while(B);R=e.str,C=b,T=I-v,O=J+1;break;default:w===e.slash&&y.charCodeAt(I+1)===e.asterisk?(J=y.indexOf("*/",I+2)+1,J===0&&k("comment","*/"),P=y.slice(I,J+1),V=P.split(`
89
+ `),Q=V.length-1,Q>0?(ae=b+Q,Ae=J-V[Q].length):(ae=b,Ae=v),R=e.comment,b=ae,C=ae,T=J-Ae):w===e.slash?(J=I,R=w,C=b,T=I-v,O=J+1):(J=p(y,I),R=e.word,C=b,T=J-v),O=J+1;break}m.push([R,b,I-v,C,T,I,O]),Ae&&(v=Ae,Ae=null),I=O}return m}})($g);(function(r,e){e.__esModule=!0,e.default=void 0;var t=O(Xi),s=O(en),i=O(tn),n=O(rn),a=O(sn),o=O(nn),l=O(an),u=O(on),c=I(Jc),p=O(ln),h=O(un),f=O(cn),g=O(Co),d=I($g),m=I(G),y=I(ie),E=ct,S,v;function b(){if(typeof WeakMap!="function")return null;var k=new WeakMap;return b=function(){return k},k}function I(k){if(k&&k.__esModule)return k;if(k===null||typeof k!="object"&&typeof k!="function")return{default:k};var x=b();if(x&&x.has(k))return x.get(k);var L={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in k)if(Object.prototype.hasOwnProperty.call(k,N)){var F=_?Object.getOwnPropertyDescriptor(k,N):null;F&&(F.get||F.set)?Object.defineProperty(L,N,F):L[N]=k[N]}return L.default=k,x&&x.set(k,L),L}function O(k){return k&&k.__esModule?k:{default:k}}function w(k,x){for(var L=0;L<x.length;L++){var _=x[L];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(k,_.key,_)}}function P(k,x,L){return x&&w(k.prototype,x),L&&w(k,L),k}var T=(S={},S[m.space]=!0,S[m.cr]=!0,S[m.feed]=!0,S[m.newline]=!0,S[m.tab]=!0,S),C=Object.assign({},T,(v={},v[m.comment]=!0,v));function B(k){return{line:k[d.FIELDS.START_LINE],column:k[d.FIELDS.START_COL]}}function q(k){return{line:k[d.FIELDS.END_LINE],column:k[d.FIELDS.END_COL]}}function Q(k,x,L,_){return{start:{line:k,column:x},end:{line:L,column:_}}}function V(k){return Q(k[d.FIELDS.START_LINE],k[d.FIELDS.START_COL],k[d.FIELDS.END_LINE],k[d.FIELDS.END_COL])}function J(k,x){if(!!k)return Q(k[d.FIELDS.START_LINE],k[d.FIELDS.START_COL],x[d.FIELDS.END_LINE],x[d.FIELDS.END_COL])}function ae(k,x){var L=k[x];if(typeof L=="string")return L.indexOf("\\")!==-1&&((0,E.ensureObject)(k,"raws"),k[x]=(0,E.unesc)(L),k.raws[x]===void 0&&(k.raws[x]=L)),k}function Ae(k,x){for(var L=-1,_=[];(L=k.indexOf(x,L+1))!==-1;)_.push(L);return _}function M(){var k=Array.prototype.concat.apply([],arguments);return k.filter(function(x,L){return L===k.indexOf(x)})}var R=function(){function k(L,_){_===void 0&&(_={}),this.rule=L,this.options=Object.assign({lossy:!1,safe:!1},_),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,d.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var N=J(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new t.default({source:N}),this.root.errorGenerator=this._errorGenerator();var F=new s.default({source:{start:{line:1,column:1}}});this.root.append(F),this.current=F,this.loop()}var x=k.prototype;return x._errorGenerator=function(){var _=this;return function(N,F){return typeof _.rule=="string"?new Error(N):_.rule.error(N,F)}},x.attribute=function(){var _=[],N=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[d.FIELDS.TYPE]!==m.closeSquare;)_.push(this.currToken),this.position++;if(this.currToken[d.FIELDS.TYPE]!==m.closeSquare)return this.expected("closing square bracket",this.currToken[d.FIELDS.START_POS]);var F=_.length,D={source:Q(N[1],N[2],this.currToken[3],this.currToken[4]),sourceIndex:N[d.FIELDS.START_POS]};if(F===1&&!~[m.word].indexOf(_[0][d.FIELDS.TYPE]))return this.expected("attribute",_[0][d.FIELDS.START_POS]);for(var z=0,te="",re="",ee=null,de=!1;z<F;){var _e=_[z],se=this.content(_e),Ce=_[z+1];switch(_e[d.FIELDS.TYPE]){case m.space:if(de=!0,this.options.lossy)break;if(ee){(0,E.ensureObject)(D,"spaces",ee);var jt=D.spaces[ee].after||"";D.spaces[ee].after=jt+se;var It=(0,E.getProp)(D,"raws","spaces",ee,"after")||null;It&&(D.raws.spaces[ee].after=It+se)}else te=te+se,re=re+se;break;case m.asterisk:if(Ce[d.FIELDS.TYPE]===m.equals)D.operator=se,ee="operator";else if((!D.namespace||ee==="namespace"&&!de)&&Ce){te&&((0,E.ensureObject)(D,"spaces","attribute"),D.spaces.attribute.before=te,te=""),re&&((0,E.ensureObject)(D,"raws","spaces","attribute"),D.raws.spaces.attribute.before=te,re=""),D.namespace=(D.namespace||"")+se;var it=(0,E.getProp)(D,"raws","namespace")||null;it&&(D.raws.namespace+=se),ee="namespace"}de=!1;break;case m.dollar:if(ee==="value"){var Ue=(0,E.getProp)(D,"raws","value");D.value+="$",Ue&&(D.raws.value=Ue+"$");break}case m.caret:Ce[d.FIELDS.TYPE]===m.equals&&(D.operator=se,ee="operator"),de=!1;break;case m.combinator:if(se==="~"&&Ce[d.FIELDS.TYPE]===m.equals&&(D.operator=se,ee="operator"),se!=="|"){de=!1;break}Ce[d.FIELDS.TYPE]===m.equals?(D.operator=se,ee="operator"):!D.namespace&&!D.attribute&&(D.namespace=!0),de=!1;break;case m.word:if(Ce&&this.content(Ce)==="|"&&_[z+2]&&_[z+2][d.FIELDS.TYPE]!==m.equals&&!D.operator&&!D.namespace)D.namespace=se,ee="namespace";else if(!D.attribute||ee==="attribute"&&!de){te&&((0,E.ensureObject)(D,"spaces","attribute"),D.spaces.attribute.before=te,te=""),re&&((0,E.ensureObject)(D,"raws","spaces","attribute"),D.raws.spaces.attribute.before=re,re=""),D.attribute=(D.attribute||"")+se;var St=(0,E.getProp)(D,"raws","attribute")||null;St&&(D.raws.attribute+=se),ee="attribute"}else if(!D.value&&D.value!==""||ee==="value"&&!(de||D.quoteMark)){var bt=(0,E.unesc)(se),pr=(0,E.getProp)(D,"raws","value")||"",Sn=D.value||"";D.value=Sn+bt,D.quoteMark=null,(bt!==se||pr)&&((0,E.ensureObject)(D,"raws"),D.raws.value=(pr||Sn)+se),ee="value"}else{var bn=se==="i"||se==="I";(D.value||D.value==="")&&(D.quoteMark||de)?(D.insensitive=bn,(!bn||se==="I")&&((0,E.ensureObject)(D,"raws"),D.raws.insensitiveFlag=se),ee="insensitive",te&&((0,E.ensureObject)(D,"spaces","insensitive"),D.spaces.insensitive.before=te,te=""),re&&((0,E.ensureObject)(D,"raws","spaces","insensitive"),D.raws.spaces.insensitive.before=re,re="")):(D.value||D.value==="")&&(ee="value",D.value+=se,D.raws.value&&(D.raws.value+=se))}de=!1;break;case m.str:if(!D.attribute||!D.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:_e[d.FIELDS.START_POS]});var Qs=(0,c.unescapeValue)(se),tv=Qs.unescaped,rv=Qs.quoteMark;D.value=tv,D.quoteMark=rv,ee="value",(0,E.ensureObject)(D,"raws"),D.raws.value=se,de=!1;break;case m.equals:if(!D.attribute)return this.expected("attribute",_e[d.FIELDS.START_POS],se);if(D.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:_e[d.FIELDS.START_POS]});D.operator=D.operator?D.operator+se:se,ee="operator",de=!1;break;case m.comment:if(ee)if(de||Ce&&Ce[d.FIELDS.TYPE]===m.space||ee==="insensitive"){var sv=(0,E.getProp)(D,"spaces",ee,"after")||"",iv=(0,E.getProp)(D,"raws","spaces",ee,"after")||sv;(0,E.ensureObject)(D,"raws","spaces",ee),D.raws.spaces[ee].after=iv+se}else{var nv=D[ee]||"",av=(0,E.getProp)(D,"raws",ee)||nv;(0,E.ensureObject)(D,"raws"),D.raws[ee]=av+se}else re=re+se;break;default:return this.error('Unexpected "'+se+'" found.',{index:_e[d.FIELDS.START_POS]})}z++}ae(D,"attribute"),ae(D,"namespace"),this.newNode(new c.default(D)),this.position++},x.parseWhitespaceEquivalentTokens=function(_){_<0&&(_=this.tokens.length);var N=this.position,F=[],D="",z=void 0;do if(T[this.currToken[d.FIELDS.TYPE]])this.options.lossy||(D+=this.content());else if(this.currToken[d.FIELDS.TYPE]===m.comment){var te={};D&&(te.before=D,D=""),z=new n.default({value:this.content(),source:V(this.currToken),sourceIndex:this.currToken[d.FIELDS.START_POS],spaces:te}),F.push(z)}while(++this.position<_);if(D){if(z)z.spaces.after=D;else if(!this.options.lossy){var re=this.tokens[N],ee=this.tokens[this.position-1];F.push(new l.default({value:"",source:Q(re[d.FIELDS.START_LINE],re[d.FIELDS.START_COL],ee[d.FIELDS.END_LINE],ee[d.FIELDS.END_COL]),sourceIndex:re[d.FIELDS.START_POS],spaces:{before:D,after:""}}))}}return F},x.convertWhitespaceNodesToSpace=function(_,N){var F=this;N===void 0&&(N=!1);var D="",z="";_.forEach(function(re){var ee=F.lossySpace(re.spaces.before,N),de=F.lossySpace(re.rawSpaceBefore,N);D+=ee+F.lossySpace(re.spaces.after,N&&ee.length===0),z+=ee+re.value+F.lossySpace(re.rawSpaceAfter,N&&de.length===0)}),z===D&&(z=void 0);var te={space:D,rawSpace:z};return te},x.isNamedCombinator=function(_){return _===void 0&&(_=this.position),this.tokens[_+0]&&this.tokens[_+0][d.FIELDS.TYPE]===m.slash&&this.tokens[_+1]&&this.tokens[_+1][d.FIELDS.TYPE]===m.word&&this.tokens[_+2]&&this.tokens[_+2][d.FIELDS.TYPE]===m.slash},x.namedCombinator=function(){if(this.isNamedCombinator()){var _=this.content(this.tokens[this.position+1]),N=(0,E.unesc)(_).toLowerCase(),F={};N!==_&&(F.value="/"+_+"/");var D=new h.default({value:"/"+N+"/",source:Q(this.currToken[d.FIELDS.START_LINE],this.currToken[d.FIELDS.START_COL],this.tokens[this.position+2][d.FIELDS.END_LINE],this.tokens[this.position+2][d.FIELDS.END_COL]),sourceIndex:this.currToken[d.FIELDS.START_POS],raws:F});return this.position=this.position+3,D}else this.unexpected()},x.combinator=function(){var _=this;if(this.content()==="|")return this.namespace();var N=this.locateNextMeaningfulToken(this.position);if(N<0||this.tokens[N][d.FIELDS.TYPE]===m.comma){var F=this.parseWhitespaceEquivalentTokens(N);if(F.length>0){var D=this.current.last;if(D){var z=this.convertWhitespaceNodesToSpace(F),te=z.space,re=z.rawSpace;re!==void 0&&(D.rawSpaceAfter+=re),D.spaces.after+=te}else F.forEach(function(pr){return _.newNode(pr)})}return}var ee=this.currToken,de=void 0;N>this.position&&(de=this.parseWhitespaceEquivalentTokens(N));var _e;if(this.isNamedCombinator()?_e=this.namedCombinator():this.currToken[d.FIELDS.TYPE]===m.combinator?(_e=new h.default({value:this.content(),source:V(this.currToken),sourceIndex:this.currToken[d.FIELDS.START_POS]}),this.position++):T[this.currToken[d.FIELDS.TYPE]]||de||this.unexpected(),_e){if(de){var se=this.convertWhitespaceNodesToSpace(de),Ce=se.space,jt=se.rawSpace;_e.spaces.before=Ce,_e.rawSpaceBefore=jt}}else{var It=this.convertWhitespaceNodesToSpace(de,!0),it=It.space,Ue=It.rawSpace;Ue||(Ue=it);var St={},bt={spaces:{}};it.endsWith(" ")&&Ue.endsWith(" ")?(St.before=it.slice(0,it.length-1),bt.spaces.before=Ue.slice(0,Ue.length-1)):it.startsWith(" ")&&Ue.startsWith(" ")?(St.after=it.slice(1),bt.spaces.after=Ue.slice(1)):bt.value=Ue,_e=new h.default({value:" ",source:J(ee,this.tokens[this.position-1]),sourceIndex:ee[d.FIELDS.START_POS],spaces:St,raws:bt})}return this.currToken&&this.currToken[d.FIELDS.TYPE]===m.space&&(_e.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(_e)},x.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var _=new s.default({source:{start:B(this.tokens[this.position+1])}});this.current.parent.append(_),this.current=_,this.position++},x.comment=function(){var _=this.currToken;this.newNode(new n.default({value:this.content(),source:V(_),sourceIndex:_[d.FIELDS.START_POS]})),this.position++},x.error=function(_,N){throw this.root.error(_,N)},x.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[d.FIELDS.START_POS]})},x.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[d.FIELDS.START_POS])},x.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[d.FIELDS.START_POS])},x.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[d.FIELDS.START_POS])},x.namespace=function(){var _=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[d.FIELDS.TYPE]===m.word)return this.position++,this.word(_);if(this.nextToken[d.FIELDS.TYPE]===m.asterisk)return this.position++,this.universal(_)},x.nesting=function(){if(this.nextToken){var _=this.content(this.nextToken);if(_==="|"){this.position++;return}}var N=this.currToken;this.newNode(new f.default({value:this.content(),source:V(N),sourceIndex:N[d.FIELDS.START_POS]})),this.position++},x.parentheses=function(){var _=this.current.last,N=1;if(this.position++,_&&_.type===y.PSEUDO){var F=new s.default({source:{start:B(this.tokens[this.position-1])}}),D=this.current;for(_.append(F),this.current=F;this.position<this.tokens.length&&N;)this.currToken[d.FIELDS.TYPE]===m.openParenthesis&&N++,this.currToken[d.FIELDS.TYPE]===m.closeParenthesis&&N--,N?this.parse():(this.current.source.end=q(this.currToken),this.current.parent.source.end=q(this.currToken),this.position++);this.current=D}else{for(var z=this.currToken,te="(",re;this.position<this.tokens.length&&N;)this.currToken[d.FIELDS.TYPE]===m.openParenthesis&&N++,this.currToken[d.FIELDS.TYPE]===m.closeParenthesis&&N--,re=this.currToken,te+=this.parseParenthesisToken(this.currToken),this.position++;_?_.appendToPropertyAndEscape("value",te,te):this.newNode(new l.default({value:te,source:Q(z[d.FIELDS.START_LINE],z[d.FIELDS.START_COL],re[d.FIELDS.END_LINE],re[d.FIELDS.END_COL]),sourceIndex:z[d.FIELDS.START_POS]}))}if(N)return this.expected("closing parenthesis",this.currToken[d.FIELDS.START_POS])},x.pseudo=function(){for(var _=this,N="",F=this.currToken;this.currToken&&this.currToken[d.FIELDS.TYPE]===m.colon;)N+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[d.FIELDS.TYPE]===m.word)this.splitWord(!1,function(D,z){N+=D,_.newNode(new u.default({value:N,source:J(F,_.currToken),sourceIndex:F[d.FIELDS.START_POS]})),z>1&&_.nextToken&&_.nextToken[d.FIELDS.TYPE]===m.openParenthesis&&_.error("Misplaced parenthesis.",{index:_.nextToken[d.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[d.FIELDS.START_POS])},x.space=function(){var _=this.content();this.position===0||this.prevToken[d.FIELDS.TYPE]===m.comma||this.prevToken[d.FIELDS.TYPE]===m.openParenthesis||this.current.nodes.every(function(N){return N.type==="comment"})?(this.spaces=this.optionalSpace(_),this.position++):this.position===this.tokens.length-1||this.nextToken[d.FIELDS.TYPE]===m.comma||this.nextToken[d.FIELDS.TYPE]===m.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(_),this.position++):this.combinator()},x.string=function(){var _=this.currToken;this.newNode(new l.default({value:this.content(),source:V(_),sourceIndex:_[d.FIELDS.START_POS]})),this.position++},x.universal=function(_){var N=this.nextToken;if(N&&this.content(N)==="|")return this.position++,this.namespace();var F=this.currToken;this.newNode(new p.default({value:this.content(),source:V(F),sourceIndex:F[d.FIELDS.START_POS]}),_),this.position++},x.splitWord=function(_,N){for(var F=this,D=this.nextToken,z=this.content();D&&~[m.dollar,m.caret,m.equals,m.word].indexOf(D[d.FIELDS.TYPE]);){this.position++;var te=this.content();if(z+=te,te.lastIndexOf("\\")===te.length-1){var re=this.nextToken;re&&re[d.FIELDS.TYPE]===m.space&&(z+=this.requiredSpace(this.content(re)),this.position++)}D=this.nextToken}var ee=Ae(z,".").filter(function(Ce){var jt=z[Ce-1]==="\\",It=/^\d+\.\d+%$/.test(z);return!jt&&!It}),de=Ae(z,"#").filter(function(Ce){return z[Ce-1]!=="\\"}),_e=Ae(z,"#{");_e.length&&(de=de.filter(function(Ce){return!~_e.indexOf(Ce)}));var se=(0,g.default)(M([0].concat(ee,de)));se.forEach(function(Ce,jt){var It=se[jt+1]||z.length,it=z.slice(Ce,It);if(jt===0&&N)return N.call(F,it,se.length);var Ue,St=F.currToken,bt=St[d.FIELDS.START_POS]+se[jt],pr=Q(St[1],St[2]+Ce,St[3],St[2]+(It-1));if(~ee.indexOf(Ce)){var Sn={value:it.slice(1),source:pr,sourceIndex:bt};Ue=new i.default(ae(Sn,"value"))}else if(~de.indexOf(Ce)){var bn={value:it.slice(1),source:pr,sourceIndex:bt};Ue=new a.default(ae(bn,"value"))}else{var Qs={value:it,source:pr,sourceIndex:bt};ae(Qs,"value"),Ue=new o.default(Qs)}F.newNode(Ue,_),_=null}),this.position++},x.word=function(_){var N=this.nextToken;return N&&this.content(N)==="|"?(this.position++,this.namespace()):this.splitWord(_)},x.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},x.parse=function(_){switch(this.currToken[d.FIELDS.TYPE]){case m.space:this.space();break;case m.comment:this.comment();break;case m.openParenthesis:this.parentheses();break;case m.closeParenthesis:_&&this.missingParenthesis();break;case m.openSquare:this.attribute();break;case m.dollar:case m.caret:case m.equals:case m.word:this.word();break;case m.colon:this.pseudo();break;case m.comma:this.comma();break;case m.asterisk:this.universal();break;case m.ampersand:this.nesting();break;case m.slash:case m.combinator:this.combinator();break;case m.str:this.string();break;case m.closeSquare:this.missingSquareBracket();case m.semicolon:this.missingBackslash();default:this.unexpected()}},x.expected=function(_,N,F){if(Array.isArray(_)){var D=_.pop();_=_.join(", ")+" or "+D}var z=/^[aeiou]/.test(_[0])?"an":"a";return F?this.error("Expected "+z+" "+_+', found "'+F+'" instead.',{index:N}):this.error("Expected "+z+" "+_+".",{index:N})},x.requiredSpace=function(_){return this.options.lossy?" ":_},x.optionalSpace=function(_){return this.options.lossy?"":_},x.lossySpace=function(_,N){return this.options.lossy?N?" ":"":_},x.parseParenthesisToken=function(_){var N=this.content(_);return _[d.FIELDS.TYPE]===m.space?this.requiredSpace(N):N},x.newNode=function(_,N){return N&&(/^ +$/.test(N)&&(this.options.lossy||(this.spaces=(this.spaces||"")+N),N=!0),_.namespace=N,ae(_,"namespace")),this.spaces&&(_.spaces.before=this.spaces,this.spaces=""),this.current.append(_)},x.content=function(_){return _===void 0&&(_=this.currToken),this.css.slice(_[d.FIELDS.START_POS],_[d.FIELDS.END_POS])},x.locateNextMeaningfulToken=function(_){_===void 0&&(_=this.position+1);for(var N=_;N<this.tokens.length;)if(C[this.tokens[N][d.FIELDS.TYPE]]){N++;continue}else return N;return-1},P(k,[{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]}}]),k}();e.default=R,r.exports=e.default})(KA,Eo);(function(r,e){e.__esModule=!0,e.default=void 0;var t=s(Eo);function s(n){return n&&n.__esModule?n:{default:n}}var i=function(){function n(o,l){this.func=o||function(){},this.funcRes=null,this.options=l}var a=n.prototype;return a._shouldUpdateSelector=function(l,u){u===void 0&&(u={});var c=Object.assign({},this.options,u);return c.updateSelector===!1?!1:typeof l!="string"},a._isLossy=function(l){l===void 0&&(l={});var u=Object.assign({},this.options,l);return u.lossless===!1},a._root=function(l,u){u===void 0&&(u={});var c=new t.default(l,this._parseOptions(u));return c.root},a._parseOptions=function(l){return{lossy:this._isLossy(l)}},a._run=function(l,u){var c=this;return u===void 0&&(u={}),new Promise(function(p,h){try{var f=c._root(l,u);Promise.resolve(c.func(f)).then(function(g){var d=void 0;return c._shouldUpdateSelector(l,u)&&(d=f.toString(),l.selector=d),{transform:g,root:f,string:d}}).then(p,h)}catch(g){h(g);return}})},a._runSync=function(l,u){u===void 0&&(u={});var c=this._root(l,u),p=this.func(c);if(p&&typeof p.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var h=void 0;return u.updateSelector&&typeof l!="string"&&(h=c.toString(),l.selector=h),{transform:p,root:c,string:h}},a.ast=function(l,u){return this._run(l,u).then(function(c){return c.root})},a.astSync=function(l,u){return this._runSync(l,u).root},a.transform=function(l,u){return this._run(l,u).then(function(c){return c.transform})},a.transformSync=function(l,u){return this._runSync(l,u).transform},a.process=function(l,u){return this._run(l,u).then(function(c){return c.string||c.root.toString()})},a.processSync=function(l,u){var c=this._runSync(l,u);return c.string||c.root.toString()},n}();e.default=i,r.exports=e.default})(HA,wo);var Bg={},ve={};ve.__esModule=!0;ve.universal=ve.tag=ve.string=ve.selector=ve.root=ve.pseudo=ve.nesting=ve.id=ve.comment=ve.combinator=ve.className=ve.attribute=void 0;var f_=yt(Jc),d_=yt(tn),m_=yt(un),y_=yt(rn),g_=yt(sn),v_=yt(cn),S_=yt(on),b_=yt(Xi),w_=yt(en),E_=yt(an),P_=yt(nn),T_=yt(ln);function yt(r){return r&&r.__esModule?r:{default:r}}var x_=function(e){return new f_.default(e)};ve.attribute=x_;var A_=function(e){return new d_.default(e)};ve.className=A_;var C_=function(e){return new m_.default(e)};ve.combinator=C_;var __=function(e){return new y_.default(e)};ve.comment=__;var I_=function(e){return new g_.default(e)};ve.id=I_;var O_=function(e){return new v_.default(e)};ve.nesting=O_;var N_=function(e){return new S_.default(e)};ve.pseudo=N_;var k_=function(e){return new b_.default(e)};ve.root=k_;var L_=function(e){return new w_.default(e)};ve.selector=L_;var D_=function(e){return new E_.default(e)};ve.string=D_;var M_=function(e){return new P_.default(e)};ve.tag=M_;var R_=function(e){return new T_.default(e)};ve.universal=R_;var he={};he.__esModule=!0;he.isNode=Qc;he.isPseudoElement=qg;he.isPseudoClass=H_;he.isContainer=K_;he.isNamespace=Y_;he.isUniversal=he.isTag=he.isString=he.isSelector=he.isRoot=he.isPseudo=he.isNesting=he.isIdentifier=he.isComment=he.isCombinator=he.isClassName=he.isAttribute=void 0;var xe=ie,st,$_=(st={},st[xe.ATTRIBUTE]=!0,st[xe.CLASS]=!0,st[xe.COMBINATOR]=!0,st[xe.COMMENT]=!0,st[xe.ID]=!0,st[xe.NESTING]=!0,st[xe.PSEUDO]=!0,st[xe.ROOT]=!0,st[xe.SELECTOR]=!0,st[xe.STRING]=!0,st[xe.TAG]=!0,st[xe.UNIVERSAL]=!0,st);function Qc(r){return typeof r=="object"&&$_[r.type]}function gt(r,e){return Qc(e)&&e.type===r}var Ug=gt.bind(null,xe.ATTRIBUTE);he.isAttribute=Ug;var F_=gt.bind(null,xe.CLASS);he.isClassName=F_;var B_=gt.bind(null,xe.COMBINATOR);he.isCombinator=B_;var U_=gt.bind(null,xe.COMMENT);he.isComment=U_;var j_=gt.bind(null,xe.ID);he.isIdentifier=j_;var q_=gt.bind(null,xe.NESTING);he.isNesting=q_;var Xc=gt.bind(null,xe.PSEUDO);he.isPseudo=Xc;var V_=gt.bind(null,xe.ROOT);he.isRoot=V_;var z_=gt.bind(null,xe.SELECTOR);he.isSelector=z_;var W_=gt.bind(null,xe.STRING);he.isString=W_;var jg=gt.bind(null,xe.TAG);he.isTag=jg;var G_=gt.bind(null,xe.UNIVERSAL);he.isUniversal=G_;function qg(r){return Xc(r)&&r.value&&(r.value.startsWith("::")||r.value.toLowerCase()===":before"||r.value.toLowerCase()===":after"||r.value.toLowerCase()===":first-letter"||r.value.toLowerCase()===":first-line")}function H_(r){return Xc(r)&&!qg(r)}function K_(r){return!!(Qc(r)&&r.walk)}function Y_(r){return Ug(r)||jg(r)}(function(r){r.__esModule=!0;var e=ie;Object.keys(e).forEach(function(i){i==="default"||i==="__esModule"||i in r&&r[i]===e[i]||(r[i]=e[i])});var t=ve;Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in r&&r[i]===t[i]||(r[i]=t[i])});var s=he;Object.keys(s).forEach(function(i){i==="default"||i==="__esModule"||i in r&&r[i]===s[i]||(r[i]=s[i])})})(Bg);(function(r,e){e.__esModule=!0,e.default=void 0;var t=a(wo),s=n(Bg);function i(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return i=function(){return u},u}function n(u){if(u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var c=i();if(c&&c.has(u))return c.get(u);var p={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in u)if(Object.prototype.hasOwnProperty.call(u,f)){var g=h?Object.getOwnPropertyDescriptor(u,f):null;g&&(g.get||g.set)?Object.defineProperty(p,f,g):p[f]=u[f]}return p.default=u,c&&c.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var o=function(c){return new t.default(c)};Object.assign(o,s),delete o.__esModule;var l=o;e.default=l,r.exports=e.default})(GA,bo);var Zc=$v(bo),J_=/^(-\w+-)?animation-name$/,Q_=/^(-\w+-)?animation$/,Vg=(r="")=>{let e=Object.create(null),t=r.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(s){X_(r,s)},AtRule(s){/-?keyframes$/.test(s.name)&&!s.params.endsWith(`-${t}`)&&(e[s.params]=s.params=s.params+"-"+t)},OnceExit(s){Object.keys(e).length&&s.walkDecls(i=>{J_.test(i.prop)&&(i.value=i.value.split(",").map(n=>e[n.trim()]||n.trim()).join(",")),Q_.test(i.prop)&&(i.value=i.value.split(",").map(n=>{let a=n.trim().split(/\s+/),o=a.findIndex(l=>e[l]);return o!==-1?(a.splice(o,1,e[a[o]]),a.join(" ")):n}).join(","))})}}},zg=new WeakSet;function X_(r,e){zg.has(e)||e.parent&&e.parent.type==="atrule"&&/-?keyframes$/.test(e.parent.name)||(zg.add(e),e.selector=Zc(t=>{t.each(s=>{Wg(r,s,t)})}).processSync(e.selector))}function Wg(r,e,t,s=!1){let i=null,n=!0;if(e.each(a=>{if(a.type==="combinator"&&(a.value===">>>"||a.value==="/deep/"))return a.value=" ",a.spaces.before=a.spaces.after="",vc("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(a.nodes.length){let l=a;a.nodes[0].each(c=>{e.insertAfter(l,c),l=c});let u=e.at(e.index(a)-1);(!u||!Gg(u))&&e.insertAfter(a,Zc.combinator({value:" "})),e.removeChild(a)}else{vc("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");let l=e.at(e.index(a)-1);l&&Gg(l)&&e.removeChild(l),e.removeChild(a)}return!1}if(o===":slotted"||o==="::v-slotted"){Wg(r,a.nodes[0],t,!0);let l=a;return a.nodes[0].each(u=>{e.insertAfter(l,u),l=u}),e.removeChild(a),n=!1,!1}if(o===":global"||o==="::v-global")return t.insertAfter(e,a.nodes[0]),t.removeChild(e),!1}a.type!=="pseudo"&&a.type!=="combinator"&&(i=a)}),i?i.spaces.after="":e.first.spaces.before="",n){let a=s?r+"-s":r;e.insertAfter(i,Zc.attribute({attribute:a,value:a,raws:{},quoteMark:'"'}))}}function Gg(r){return r.type==="combinator"&&/^\s+$/.test(r.value)}Vg.postcss=!0;var Z_=Vg,_o={},ep={},Io={},tp={},Hg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");tp.encode=function(r){if(0<=r&&r<Hg.length)return Hg[r];throw new TypeError("Must be between 0 and 63: "+r)};tp.decode=function(r){var e=65,t=90,s=97,i=122,n=48,a=57,o=43,l=47,u=26,c=52;return e<=r&&r<=t?r-e:s<=r&&r<=i?r-s+u:n<=r&&r<=a?r-n+c:r==o?62:r==l?63:-1};var Kg=tp,rp=5,Yg=1<<rp,Jg=Yg-1,Qg=Yg;function eI(r){return r<0?(-r<<1)+1:(r<<1)+0}function tI(r){var e=(r&1)==1,t=r>>1;return e?-t:t}Io.encode=function(e){var t="",s,i=eI(e);do s=i&Jg,i>>>=rp,i>0&&(s|=Qg),t+=Kg.encode(s);while(i>0);return t};Io.decode=function(e,t,s){var i=e.length,n=0,a=0,o,l;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Kg.decode(e.charCodeAt(t++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(l&Qg),l&=Jg,n=n+(l<<a),a+=rp}while(o);s.value=tI(n),s.rest=t};var Vs={};(function(r){function e(v,b,I){if(b in v)return v[b];if(arguments.length===3)return I;throw new Error('"'+b+'" is a required argument.')}r.getArg=e;var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function i(v){var b=v.match(t);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}r.urlParse=i;function n(v){var b="";return v.scheme&&(b+=v.scheme+":"),b+="//",v.auth&&(b+=v.auth+"@"),v.host&&(b+=v.host),v.port&&(b+=":"+v.port),v.path&&(b+=v.path),b}r.urlGenerate=n;function a(v){var b=v,I=i(v);if(I){if(!I.path)return v;b=I.path}for(var O=r.isAbsolute(b),w=b.split(/\/+/),P,T=0,C=w.length-1;C>=0;C--)P=w[C],P==="."?w.splice(C,1):P===".."?T++:T>0&&(P===""?(w.splice(C+1,T),T=0):(w.splice(C,2),T--));return b=w.join("/"),b===""&&(b=O?"/":"."),I?(I.path=b,n(I)):b}r.normalize=a;function o(v,b){v===""&&(v="."),b===""&&(b=".");var I=i(b),O=i(v);if(O&&(v=O.path||"/"),I&&!I.scheme)return O&&(I.scheme=O.scheme),n(I);if(I||b.match(s))return b;if(O&&!O.host&&!O.path)return O.host=b,n(O);var w=b.charAt(0)==="/"?b:a(v.replace(/\/+$/,"")+"/"+b);return O?(O.path=w,n(O)):w}r.join=o,r.isAbsolute=function(v){return v.charAt(0)==="/"||t.test(v)};function l(v,b){v===""&&(v="."),v=v.replace(/\/$/,"");for(var I=0;b.indexOf(v+"/")!==0;){var O=v.lastIndexOf("/");if(O<0||(v=v.slice(0,O),v.match(/^([^\/]+:\/)?\/*$/)))return b;++I}return Array(I+1).join("../")+b.substr(v.length+1)}r.relative=l;var u=function(){var v=Object.create(null);return!("__proto__"in v)}();function c(v){return v}function p(v){return f(v)?"$"+v:v}r.toSetString=u?c:p;function h(v){return f(v)?v.slice(1):v}r.fromSetString=u?c:h;function f(v){if(!v)return!1;var b=v.length;if(b<9||v.charCodeAt(b-1)!==95||v.charCodeAt(b-2)!==95||v.charCodeAt(b-3)!==111||v.charCodeAt(b-4)!==116||v.charCodeAt(b-5)!==111||v.charCodeAt(b-6)!==114||v.charCodeAt(b-7)!==112||v.charCodeAt(b-8)!==95||v.charCodeAt(b-9)!==95)return!1;for(var I=b-10;I>=0;I--)if(v.charCodeAt(I)!==36)return!1;return!0}function g(v,b,I){var O=m(v.source,b.source);return O!==0||(O=v.originalLine-b.originalLine,O!==0)||(O=v.originalColumn-b.originalColumn,O!==0||I)||(O=v.generatedColumn-b.generatedColumn,O!==0)||(O=v.generatedLine-b.generatedLine,O!==0)?O:m(v.name,b.name)}r.compareByOriginalPositions=g;function d(v,b,I){var O=v.generatedLine-b.generatedLine;return O!==0||(O=v.generatedColumn-b.generatedColumn,O!==0||I)||(O=m(v.source,b.source),O!==0)||(O=v.originalLine-b.originalLine,O!==0)||(O=v.originalColumn-b.originalColumn,O!==0)?O:m(v.name,b.name)}r.compareByGeneratedPositionsDeflated=d;function m(v,b){return v===b?0:v===null?1:b===null?-1:v>b?1:-1}function y(v,b){var I=v.generatedLine-b.generatedLine;return I!==0||(I=v.generatedColumn-b.generatedColumn,I!==0)||(I=m(v.source,b.source),I!==0)||(I=v.originalLine-b.originalLine,I!==0)||(I=v.originalColumn-b.originalColumn,I!==0)?I:m(v.name,b.name)}r.compareByGeneratedPositionsInflated=y;function E(v){return JSON.parse(v.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=E;function S(v,b,I){if(b=b||"",v&&(v[v.length-1]!=="/"&&b[0]!=="/"&&(v+="/"),b=v+b),I){var O=i(I);if(!O)throw new Error("sourceMapURL could not be parsed");if(O.path){var w=O.path.lastIndexOf("/");w>=0&&(O.path=O.path.substring(0,w+1))}b=o(n(O),b)}return a(b)}r.computeSourceURL=S})(Vs);var sp={},ip=Vs,np=Object.prototype.hasOwnProperty,Kr=typeof Map!="undefined";function or(){this._array=[],this._set=Kr?new Map:Object.create(null)}or.fromArray=function(e,t){for(var s=new or,i=0,n=e.length;i<n;i++)s.add(e[i],t);return s};or.prototype.size=function(){return Kr?this._set.size:Object.getOwnPropertyNames(this._set).length};or.prototype.add=function(e,t){var s=Kr?e:ip.toSetString(e),i=Kr?this.has(e):np.call(this._set,s),n=this._array.length;(!i||t)&&this._array.push(e),i||(Kr?this._set.set(e,n):this._set[s]=n)};or.prototype.has=function(e){if(Kr)return this._set.has(e);var t=ip.toSetString(e);return np.call(this._set,t)};or.prototype.indexOf=function(e){if(Kr){var t=this._set.get(e);if(t>=0)return t}else{var s=ip.toSetString(e);if(np.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')};or.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};or.prototype.toArray=function(){return this._array.slice()};sp.ArraySet=or;var Xg={},Zg=Vs;function rI(r,e){var t=r.generatedLine,s=e.generatedLine,i=r.generatedColumn,n=e.generatedColumn;return s>t||s==t&&n>=i||Zg.compareByGeneratedPositionsInflated(r,e)<=0}function Oo(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Oo.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};Oo.prototype.add=function(e){rI(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Oo.prototype.toArray=function(){return this._sorted||(this._array.sort(Zg.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Xg.MappingList=Oo;var pn=Io,Oe=Vs,No=sp.ArraySet,sI=Xg.MappingList;function vt(r){r||(r={}),this._file=Oe.getArg(r,"file",null),this._sourceRoot=Oe.getArg(r,"sourceRoot",null),this._skipValidation=Oe.getArg(r,"skipValidation",!1),this._sources=new No,this._names=new No,this._mappings=new sI,this._sourcesContents=null}vt.prototype._version=3;vt.fromSourceMap=function(e){var t=e.sourceRoot,s=new vt({file:e.file,sourceRoot:t});return e.eachMapping(function(i){var n={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(n.source=i.source,t!=null&&(n.source=Oe.relative(t,n.source)),n.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(n.name=i.name)),s.addMapping(n)}),e.sources.forEach(function(i){var n=i;t!==null&&(n=Oe.relative(t,i)),s._sources.has(n)||s._sources.add(n);var a=e.sourceContentFor(i);a!=null&&s.setSourceContent(i,a)}),s};vt.prototype.addMapping=function(e){var t=Oe.getArg(e,"generated"),s=Oe.getArg(e,"original",null),i=Oe.getArg(e,"source",null),n=Oe.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,s,i,n),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:i,name:n})};vt.prototype.setSourceContent=function(e,t){var s=e;this._sourceRoot!=null&&(s=Oe.relative(this._sourceRoot,s)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Oe.toSetString(s)]=t):this._sourcesContents&&(delete this._sourcesContents[Oe.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};vt.prototype.applySourceMap=function(e,t,s){var i=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var n=this._sourceRoot;n!=null&&(i=Oe.relative(n,i));var a=new No,o=new No;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,s!=null&&(l.source=Oe.join(s,l.source)),n!=null&&(l.source=Oe.relative(n,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var c=l.source;c!=null&&!a.has(c)&&a.add(c);var p=l.name;p!=null&&!o.has(p)&&o.add(p)},this),this._sources=a,this._names=o,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(s!=null&&(l=Oe.join(s,l)),n!=null&&(l=Oe.relative(n,l)),this.setSourceContent(l,u))},this)};vt.prototype._validateMapping=function(e,t,s,i){if(t&&typeof t.line!="number"&&typeof t.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(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!s&&!i)){if(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&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:i}))}};vt.prototype._serializeMappings=function(){for(var e=0,t=1,s=0,i=0,n=0,a=0,o="",l,u,c,p,h=this._mappings.toArray(),f=0,g=h.length;f<g;f++){if(u=h[f],l="",u.generatedLine!==t)for(e=0;u.generatedLine!==t;)l+=";",t++;else if(f>0){if(!Oe.compareByGeneratedPositionsInflated(u,h[f-1]))continue;l+=","}l+=pn.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),l+=pn.encode(p-a),a=p,l+=pn.encode(u.originalLine-1-i),i=u.originalLine-1,l+=pn.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=pn.encode(c-n),n=c)),o+=l}return o};vt.prototype._generateSourcesContent=function(e,t){return e.map(function(s){if(!this._sourcesContents)return null;t!=null&&(s=Oe.relative(t,s));var i=Oe.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};vt.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};vt.prototype.toString=function(){return JSON.stringify(this.toJSON())};ep.SourceMapGenerator=vt;var ko={},e0={};(function(r){r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2;function e(t,s,i,n,a,o){var l=Math.floor((s-t)/2)+t,u=a(i,n[l],!0);return u===0?l:u>0?s-l>1?e(l,s,i,n,a,o):o==r.LEAST_UPPER_BOUND?s<n.length?s:-1:l:l-t>1?e(t,l,i,n,a,o):o==r.LEAST_UPPER_BOUND?l:t<0?-1:t}r.search=function(s,i,n,a){if(i.length===0)return-1;var o=e(-1,i.length,s,i,n,a||r.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&n(i[o],i[o-1],!0)===0;)--o;return o}})(e0);var t0={};function ap(r,e,t){var s=r[e];r[e]=r[t],r[t]=s}function iI(r,e){return Math.round(r+Math.random()*(e-r))}function op(r,e,t,s){if(t<s){var i=iI(t,s),n=t-1;ap(r,i,s);for(var a=r[s],o=t;o<s;o++)e(r[o],a)<=0&&(n+=1,ap(r,n,o));ap(r,n+1,o);var l=n+1;op(r,e,t,l-1),op(r,e,l+1,s)}}t0.quickSort=function(r,e){op(r,e,0,r.length-1)};var K=Vs,lp=e0,zs=sp.ArraySet,nI=Io,hn=t0.quickSort;function we(r,e){var t=r;return typeof r=="string"&&(t=K.parseSourceMapInput(r)),t.sections!=null?new Ct(t,e):new Fe(t,e)}we.fromSourceMap=function(r,e){return Fe.fromSourceMap(r,e)};we.prototype._version=3;we.prototype.__generatedMappings=null;Object.defineProperty(we.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});we.prototype.__originalMappings=null;Object.defineProperty(we.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});we.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return s===";"||s===","};we.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};we.GENERATED_ORDER=1;we.ORIGINAL_ORDER=2;we.GREATEST_LOWER_BOUND=1;we.LEAST_UPPER_BOUND=2;we.prototype.eachMapping=function(e,t,s){var i=t||null,n=s||we.GENERATED_ORDER,a;switch(n){case we.GENERATED_ORDER:a=this._generatedMappings;break;case we.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=K.computeSourceURL(o,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,i)};we.prototype.allGeneratedPositionsFor=function(e){var t=K.getArg(e,"line"),s={source:K.getArg(e,"source"),originalLine:t,originalColumn:K.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var i=[],n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",K.compareByOriginalPositions,lp.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)i.push({line:K.getArg(a,"generatedLine",null),column:K.getArg(a,"generatedColumn",null),lastColumn:K.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==l;)i.push({line:K.getArg(a,"generatedLine",null),column:K.getArg(a,"generatedColumn",null),lastColumn:K.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return i};ko.SourceMapConsumer=we;function Fe(r,e){var t=r;typeof r=="string"&&(t=K.parseSourceMapInput(r));var s=K.getArg(t,"version"),i=K.getArg(t,"sources"),n=K.getArg(t,"names",[]),a=K.getArg(t,"sourceRoot",null),o=K.getArg(t,"sourcesContent",null),l=K.getArg(t,"mappings"),u=K.getArg(t,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=K.normalize(a)),i=i.map(String).map(K.normalize).map(function(c){return a&&K.isAbsolute(a)&&K.isAbsolute(c)?K.relative(a,c):c}),this._names=zs.fromArray(n.map(String),!0),this._sources=zs.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return K.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=e,this.file=u}Fe.prototype=Object.create(we.prototype);Fe.prototype.consumer=we;Fe.prototype._findSourceIndex=function(r){var e=r;if(this.sourceRoot!=null&&(e=K.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==r)return t;return-1};Fe.fromSourceMap=function(e,t){var s=Object.create(Fe.prototype),i=s._names=zs.fromArray(e._names.toArray(),!0),n=s._sources=zs.fromArray(e._sources.toArray(),!0);s.sourceRoot=e._sourceRoot,s.sourcesContent=e._generateSourcesContent(s._sources.toArray(),s.sourceRoot),s.file=e._file,s._sourceMapURL=t,s._absoluteSources=s._sources.toArray().map(function(f){return K.computeSourceURL(s.sourceRoot,f,t)});for(var a=e._mappings.toArray().slice(),o=s.__generatedMappings=[],l=s.__originalMappings=[],u=0,c=a.length;u<c;u++){var p=a[u],h=new r0;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=n.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=i.indexOf(p.name)),l.push(h)),o.push(h)}return hn(s.__originalMappings,K.compareByOriginalPositions),s};Fe.prototype._version=3;Object.defineProperty(Fe.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function r0(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Fe.prototype._parseMappings=function(e,t){for(var s=1,i=0,n=0,a=0,o=0,l=0,u=e.length,c=0,p={},h={},f=[],g=[],d,m,y,E,S;c<u;)if(e.charAt(c)===";")s++,c++,i=0;else if(e.charAt(c)===",")c++;else{for(d=new r0,d.generatedLine=s,E=c;E<u&&!this._charIsMappingSeparator(e,E);E++);if(m=e.slice(c,E),y=p[m],y)c+=m.length;else{for(y=[];c<E;)nI.decode(e,c,h),S=h.value,c=h.rest,y.push(S);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");p[m]=y}d.generatedColumn=i+y[0],i=d.generatedColumn,y.length>1&&(d.source=o+y[1],o+=y[1],d.originalLine=n+y[2],n=d.originalLine,d.originalLine+=1,d.originalColumn=a+y[3],a=d.originalColumn,y.length>4&&(d.name=l+y[4],l+=y[4])),g.push(d),typeof d.originalLine=="number"&&f.push(d)}hn(g,K.compareByGeneratedPositionsDeflated),this.__generatedMappings=g,hn(f,K.compareByOriginalPositions),this.__originalMappings=f};Fe.prototype._findMapping=function(e,t,s,i,n,a){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return lp.search(e,t,n,a)};Fe.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};Fe.prototype.originalPositionFor=function(e){var t={generatedLine:K.getArg(e,"line"),generatedColumn:K.getArg(e,"column")},s=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",K.compareByGeneratedPositionsDeflated,K.getArg(e,"bias",we.GREATEST_LOWER_BOUND));if(s>=0){var i=this._generatedMappings[s];if(i.generatedLine===t.generatedLine){var n=K.getArg(i,"source",null);n!==null&&(n=this._sources.at(n),n=K.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=K.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:K.getArg(i,"originalLine",null),column:K.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};Fe.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Fe.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var i=e;this.sourceRoot!=null&&(i=K.relative(this.sourceRoot,i));var n;if(this.sourceRoot!=null&&(n=K.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Fe.prototype.generatedPositionFor=function(e){var t=K.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var s={source:t,originalLine:K.getArg(e,"line"),originalColumn:K.getArg(e,"column")},i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",K.compareByOriginalPositions,K.getArg(e,"bias",we.GREATEST_LOWER_BOUND));if(i>=0){var n=this._originalMappings[i];if(n.source===s.source)return{line:K.getArg(n,"generatedLine",null),column:K.getArg(n,"generatedColumn",null),lastColumn:K.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};ko.BasicSourceMapConsumer=Fe;function Ct(r,e){var t=r;typeof r=="string"&&(t=K.parseSourceMapInput(r));var s=K.getArg(t,"version"),i=K.getArg(t,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new zs,this._names=new zs;var n={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=K.getArg(a,"offset"),l=K.getArg(o,"line"),u=K.getArg(o,"column");if(l<n.line||l===n.line&&u<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new we(K.getArg(a,"map"),e)}})}Ct.prototype=Object.create(we.prototype);Ct.prototype.constructor=we;Ct.prototype._version=3;Object.defineProperty(Ct.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)r.push(this._sections[e].consumer.sources[t]);return r}});Ct.prototype.originalPositionFor=function(e){var t={generatedLine:K.getArg(e,"line"),generatedColumn:K.getArg(e,"column")},s=lp.search(t,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),i=this._sections[s];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Ct.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Ct.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var i=this._sections[s],n=i.consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Ct.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var s=this._sections[t];if(s.consumer._findSourceIndex(K.getArg(e,"source"))!==-1){var i=s.consumer.generatedPositionFor(e);if(i){var n={line:i.line+(s.generatedOffset.generatedLine-1),column:i.column+(s.generatedOffset.generatedLine===i.line?s.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};Ct.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var i=this._sections[s],n=i.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],l=i.consumer._sources.at(o.source);l=K.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;o.name&&(u=i.consumer._names.at(o.name),this._names.add(u),u=this._names.indexOf(u));var c={source:l,generatedLine:o.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(i.generatedOffset.generatedLine===o.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:u};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}hn(this.__generatedMappings,K.compareByGeneratedPositionsDeflated),hn(this.__originalMappings,K.compareByOriginalPositions)};ko.IndexedSourceMapConsumer=Ct;var s0={},aI=ep.SourceMapGenerator,Lo=Vs,oI=/(\r?\n)/,lI=10,Ws="$$$isSourceNode$$$";function pt(r,e,t,s,i){this.children=[],this.sourceContents={},this.line=r??null,this.column=e??null,this.source=t??null,this.name=i??null,this[Ws]=!0,s!=null&&this.add(s)}pt.fromStringWithSourceMap=function(e,t,s){var i=new pt,n=e.split(oI),a=0,o=function(){var h=g(),f=g()||"";return h+f;function g(){return a<n.length?n[a++]:void 0}},l=1,u=0,c=null;return t.eachMapping(function(h){if(c!==null)if(l<h.generatedLine)p(c,o()),l++,u=0;else{var f=n[a]||"",g=f.substr(0,h.generatedColumn-u);n[a]=f.substr(h.generatedColumn-u),u=h.generatedColumn,p(c,g),c=h;return}for(;l<h.generatedLine;)i.add(o()),l++;if(u<h.generatedColumn){var f=n[a]||"";i.add(f.substr(0,h.generatedColumn)),n[a]=f.substr(h.generatedColumn),u=h.generatedColumn}c=h},this),a<n.length&&(c&&p(c,o()),i.add(n.splice(a).join(""))),t.sources.forEach(function(h){var f=t.sourceContentFor(h);f!=null&&(s!=null&&(h=Lo.join(s,h)),i.setSourceContent(h,f))}),i;function p(h,f){if(h===null||h.source===void 0)i.add(f);else{var g=s?Lo.join(s,h.source):h.source;i.add(new pt(h.originalLine,h.originalColumn,g,f,h.name))}}};pt.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[Ws]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};pt.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[Ws]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};pt.prototype.walk=function(e){for(var t,s=0,i=this.children.length;s<i;s++)t=this.children[s],t[Ws]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};pt.prototype.join=function(e){var t,s,i=this.children.length;if(i>0){for(t=[],s=0;s<i-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this};pt.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[Ws]?s.replaceRight(e,t):typeof s=="string"?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this};pt.prototype.setSourceContent=function(e,t){this.sourceContents[Lo.toSetString(e)]=t};pt.prototype.walkSourceContents=function(e){for(var t=0,s=this.children.length;t<s;t++)this.children[t][Ws]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,s=i.length;t<s;t++)e(Lo.fromSetString(i[t]),this.sourceContents[i[t]])};pt.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};pt.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},s=new aI(e),i=!1,n=null,a=null,o=null,l=null;return this.walk(function(u,c){t.code+=u,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||l!==c.name)&&s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,a=c.line,o=c.column,l=c.name,i=!0):i&&(s.addMapping({generated:{line:t.line,column:t.column}}),n=null,i=!1);for(var p=0,h=u.length;p<h;p++)u.charCodeAt(p)===lI?(t.line++,t.column=0,p+1===h?(n=null,i=!1):i&&s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++}),this.walkSourceContents(function(u,c){s.setSourceContent(u,c)}),{code:t.code,map:s}};s0.SourceNode=pt;_o.SourceMapGenerator=ep.SourceMapGenerator;_o.SourceMapConsumer=ko.SourceMapConsumer;_o.SourceNode=s0.SourceNode;var i0=_o,n0=i0.SourceMapConsumer,uI=i0.SourceMapGenerator,cI=pI;function pI(r,e){if(!r)return e;if(!e)return r;var t=new n0(r),s=new n0(e),i=new uI;s.eachMapping(function(a){if(a.originalLine!=null){var o=t.originalPositionFor({line:a.originalLine,column:a.originalColumn});o.source!=null&&i.addMapping({original:{line:o.line,column:o.column},generated:{line:a.generatedLine,column:a.generatedColumn},source:o.source,name:o.name})}});var n=[t,s];return n.forEach(function(a){a.sources.forEach(function(o){i._sources.add(o);var l=a.sourceContentFor(o);l!=null&&i.setSourceContent(o,l)})}),i._sourceRoot=r.sourceRoot,i._file=r.file,JSON.parse(i.toString())}var up=cI,hI=Object.defineProperty,fI=Object.defineProperties,dI=Object.getOwnPropertyDescriptors,a0=Object.getOwnPropertySymbols,mI=Object.prototype.hasOwnProperty,yI=Object.prototype.propertyIsEnumerable,o0=(r,e,t)=>e in r?hI(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,cp=(r,e)=>{for(var t in e||(e={}))mI.call(e,t)&&o0(r,t,e[t]);if(a0)for(var t of a0(e))yI.call(e,t)&&o0(r,t,e[t]);return r},pp=(r,e)=>fI(r,dI(e)),l0=(r,e,t,s=wn)=>{let i=s("sass"),n=pp(cp({},t),{data:c0(r,t.filename,t.additionalData),file:t.filename,outFile:t.filename,sourceMap:!!e});try{let a=i.renderSync(n),o=a.stats.includedFiles;return e?{code:a.css.toString(),map:up(e,JSON.parse(a.map.toString())),errors:[],dependencies:o}:{code:a.css.toString(),errors:[],dependencies:o}}catch(a){return{code:"",errors:[a],dependencies:[]}}},gI=(r,e,t,s)=>l0(r,e,pp(cp({},t),{indentedSyntax:!0}),s),vI=(r,e,t,s=wn)=>{let i=s("less"),n,a=null;if(i.render(c0(r,t.filename,t.additionalData),pp(cp({},t),{syncImport:!0}),(l,u)=>{a=l,n=u}),a)return{code:"",errors:[a],dependencies:[]};let o=n.imports;return e?{code:n.css.toString(),map:up(e,n.map),errors:[],dependencies:o}:{code:n.css.toString(),errors:[],dependencies:o}},u0=(r,e,t,s=wn)=>{let i=s("stylus");try{let n=i(r);Object.keys(t).forEach(l=>n.set(l,t[l])),e&&n.set("sourcemap",{inline:!1,comment:!1});let a=n.render(),o=n.deps();return e?{code:a,map:up(e,n.sourcemap),errors:[],dependencies:o}:{code:a,errors:[],dependencies:o}}catch(n){return{code:"",errors:[n],dependencies:[]}}};function c0(r,e,t){return t?qp(t)?t(r,e):t+r:r}var SI={less:vI,sass:gI,scss:l0,styl:u0,stylus:u0},bI=Object.defineProperty,wI=Object.defineProperties,EI=Object.getOwnPropertyDescriptors,p0=Object.getOwnPropertySymbols,PI=Object.prototype.hasOwnProperty,TI=Object.prototype.propertyIsEnumerable,h0=(r,e,t)=>e in r?bI(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Do=(r,e)=>{for(var t in e||(e={}))PI.call(e,t)&&h0(r,t,e[t]);if(p0)for(var t of p0(e))TI.call(e,t)&&h0(r,t,e[t]);return r},hp=(r,e)=>wI(r,EI(e));function xI(r){return f0(hp(Do({},r),{isAsync:!1}))}function AI(r){return f0(hp(Do({},r),{isAsync:!0}))}function f0(r){let{filename:e,id:t,scoped:s=!1,trim:i=!0,isProd:n=!1,modules:a=!1,modulesOptions:o={},preprocessLang:l,postcssOptions:u,postcssPlugins:c}=r,p=l&&SI[l],h=p&&CI(r,p),f=h?h.map:r.inMap||r.map,g=h?h.code:r.source,d=t.replace(/^data-v-/,""),m=`data-v-${d}`,y=(c||[]).slice();y.unshift(Md({id:d,isProd:n})),i&&y.push(WA()),s&&y.push(Z_(m));let E;if(a)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");let S=hp(Do({},u),{to:e,from:e});f&&(S.map={inline:!1,annotation:!1,prev:f});let v,b,I,O=new Set(h?h.dependencies:[]);O.delete(e);let w=[];h&&h.errors.length&&w.push(...h.errors);let P=T=>(T.forEach(C=>{C.type==="dependency"&&O.add(C.file)}),O);try{if(v=be(y).process(g,S),r.isAsync)return v.then(T=>({code:T.css||"",map:T.map&&T.map.toJSON(),errors:w,modules:E,rawResult:T,dependencies:P(T.messages)})).catch(T=>({code:"",map:void 0,errors:[...w,T],rawResult:void 0,dependencies:O}));P(v.messages),b=v.css,I=v.map}catch(T){w.push(T)}return{code:b||"",map:I&&I.toJSON(),errors:w,rawResult:v,dependencies:O}}function CI(r,e){if(!r.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(r.source,r.inMap||r.map,Do({filename:r.filename},r.preprocessOptions),r.preprocessCustomRequire)}var _I=",".charCodeAt(0),II=";".charCodeAt(0),d0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m0=new Uint8Array(64),OI=new Uint8Array(128);for(let r=0;r<d0.length;r++){let e=d0.charCodeAt(r);m0[r]=e,OI[e]=r}var fp=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(r){return Buffer.from(r.buffer,r.byteOffset,r.byteLength).toString()}}:{decode(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r[t]);return e}};function NI(r){let e=new Int32Array(5),t=1024*16,s=t-36,i=new Uint8Array(t),n=i.subarray(0,s),a=0,o="";for(let l=0;l<r.length;l++){let u=r[l];if(l>0&&(a===t&&(o+=fp.decode(i),a=0),i[a++]=II),u.length!==0){e[0]=0;for(let c=0;c<u.length;c++){let p=u[c];a>s&&(o+=fp.decode(n),i.copyWithin(0,s,a),a-=s),c>0&&(i[a++]=_I),a=fn(i,a,e,p,0),p.length!==1&&(a=fn(i,a,e,p,1),a=fn(i,a,e,p,2),a=fn(i,a,e,p,3),p.length!==4&&(a=fn(i,a,e,p,4)))}}}return o+fp.decode(i.subarray(0,a))}function fn(r,e,t,s,i){let n=s[i],a=n-t[i];t[i]=n,a=a<0?-a<<1|1:a<<1;do{let o=a&31;a>>>=5,a>0&&(o|=32),r[e++]=m0[o]}while(a>0);return e}var dn=class{constructor(e){this.bits=e instanceof dn?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},Gs=class{constructor(e,t,s){this.start=e,this.end=t,this.original=s,this.intro="",this.outro="",this.content=s,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(){let e=new Gs(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 t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,s){return this.content=e,s||(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}split(e){let t=e-this.start,s=this.original.slice(0,t),i=this.original.slice(t);this.original=s;let n=new Gs(e,this.end,i);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=s,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n}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),!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)return t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function kI(){return typeof window!="undefined"&&typeof window.btoa=="function"?r=>window.btoa(unescape(encodeURIComponent(r))):typeof Buffer=="function"?r=>Buffer.from(r,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var LI=kI(),y0=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=NI(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,"+LI(this.toString())}};function DI(r){let e=r.split(`
90
+ `),t=e.filter(n=>/^\t+/.test(n)),s=e.filter(n=>/^ {2,}/.test(n));if(t.length===0&&s.length===0)return null;if(t.length>=s.length)return" ";let i=s.reduce((n,a)=>{let o=/^ +/.exec(a)[0].length;return Math.min(o,n)},1/0);return new Array(i+1).join(" ")}function MI(r,e){let t=r.split(/[/\\]/),s=e.split(/[/\\]/);for(t.pop();t[0]===s[0];)t.shift(),s.shift();if(t.length){let i=t.length;for(;i--;)t[i]=".."}return t.concat(s).join("/")}var RI=Object.prototype.toString;function $I(r){return RI.call(r)==="[object Object]"}function g0(r){let e=r.split(`
91
+ `),t=[];for(let s=0,i=0;s<e.length;s++)t.push(i),i+=e[s].length+1;return function(i){let n=0,a=t.length;for(;n<a;){let u=n+a>>1;i<t[u]?a=u:n=u+1}let o=n-1,l=i-t[o];return{line:o,column:l}}}var v0=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,s,i){if(t.length){let n=[this.generatedCodeColumn,e,s.line,s.column];i>=0&&n.push(i),this.rawSegments.push(n)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null}addUneditedChunk(e,t,s,i,n){let a=t.start,o=!0;for(;a<t.end;)(this.hires||o||n.has(a))&&this.rawSegments.push([this.generatedCodeColumn,e,i.line,i.column]),s[a]===`
92
+ `?(i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(i.column+=1,this.generatedCodeColumn+=1,o=!1),a+=1;this.pending=null}advance(e){if(!e)return;let t=e.split(`
93
+ `);if(t.length>1){for(let s=0;s<t.length-1;s++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}},mn=`
94
+ `,Hs={insertLeft:!1,insertRight:!1,storeName:!1},lr=class{constructor(e,t={}){let s=new Gs(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:s},lastChunk:{writable:!0,value:s},lastSearchedChunk:{writable:!0,value:s},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 dn},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList}}),this.byStart[0]=s,this.byEnd[e.length]=s}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);let s=this.byEnd[e];return s?s.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);let s=this.byStart[e];return s?s.appendRight(t):this.outro+=t,this}clone(){let e=new lr(this.original,{filename:this.filename}),t=this.firstChunk,s=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[s.start]=s,e.byEnd[s.end]=s;let i=t.next,n=i&&i.clone();n&&(s.next=n,n.previous=s,s=n),t=i}return e.lastChunk=s,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new dn(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let t=0,s=Object.keys(this.storedNames),i=new v0(e.hires),n=g0(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(a=>{let o=n(a.start);a.intro.length&&i.advance(a.intro),a.edited?i.addEdit(t,a.content,o,a.storeName?s.indexOf(a.original):-1):i.addUneditedChunk(t,a,this.original,o,this.sourcemapLocations),a.outro.length&&i.advance(a.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?MI(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:s,mappings:i.raw,x_google_ignoreList:this.ignoreList?[t]:void 0}}generateMap(e){return new y0(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=DI(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,t){let s=/^[^\r\n]/gm;if($I(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;t=t||{};let i={};t.exclude&&(typeof t.exclude[0]=="number"?[t.exclude]:t.exclude).forEach(c=>{for(let p=c[0];p<c[1];p+=1)i[p]=!0});let n=t.indentStart!==!1,a=u=>n?`${e}${u}`:(n=!0,u);this.intro=this.intro.replace(s,a);let o=0,l=this.firstChunk;for(;l;){let u=l.end;if(l.edited)i[o]||(l.content=l.content.replace(s,a),l.content.length&&(n=l.content[l.content.length-1]===`
95
+ `));else for(o=l.start;o<u;){if(!i[o]){let c=this.original[o];c===`
96
+ `?n=!0:c!=="\r"&&n&&(n=!1,o===l.start||(this._splitChunk(l,o),l=l.next),l.prependRight(e))}o+=1}o=l.end,l=l.next}return this.outro=this.outro.replace(s,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return Hs.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Hs.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return Hs.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Hs.insertRight=!0),this.prependRight(e,t)}move(e,t,s){if(s>=e&&s<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(s);let i=this.byStart[e],n=this.byEnd[t],a=i.previous,o=n.next,l=this.byStart[s];if(!l&&n===this.lastChunk)return this;let u=l?l.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=i),l&&(l.previous=n),i.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=u,n.next=l||null,u||(this.firstChunk=i),l||(this.lastChunk=n),this}overwrite(e,t,s,i){return i=i||{},this.update(e,t,s,{...i,overwrite:!i.contentOnly})}update(e,t,s,i){if(typeof s!="string")throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(t),i===!0&&(Hs.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Hs.storeName=!0),i={storeName:!0});let n=i!==void 0?i.storeName:!1,a=i!==void 0?i.overwrite:!1;if(n){let u=this.original.slice(e,t);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],l=this.byEnd[t];if(o){let u=o;for(;u!==l;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}o.edit(s,n,!a)}else{let u=new Gs(e,t,"").edit(s,n);l.next=u,u.previous=l}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);let s=this.byEnd[e];return s?s.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);let s=this.byStart[e];return s?s.prependRight(t):this.outro=t+this.outro,this}remove(e,t){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 new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let s=this.byStart[e];for(;s;)s.intro="",s.outro="",s.edit(""),s=t>s.end?this.byStart[s.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(mn);if(e!==-1)return this.outro.substr(e+1);let t=this.outro,s=this.lastChunk;do{if(s.outro.length>0){if(e=s.outro.lastIndexOf(mn),e!==-1)return s.outro.substr(e+1)+t;t=s.outro+t}if(s.content.length>0){if(e=s.content.lastIndexOf(mn),e!==-1)return s.content.substr(e+1)+t;t=s.content+t}if(s.intro.length>0){if(e=s.intro.lastIndexOf(mn),e!==-1)return s.intro.substr(e+1)+t;t=s.intro+t}}while(s=s.previous);return e=this.intro.lastIndexOf(mn),e!==-1?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;let s="",i=this.firstChunk;for(;i&&(i.start>e||i.end<=e);){if(i.start<t&&i.end>=t)return s;i=i.next}if(i&&i.edited&&i.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let n=i;for(;i;){i.intro&&(n!==i||i.start===e)&&(s+=i.intro);let a=i.start<t&&i.end>=t;if(a&&i.edited&&i.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);let o=n===i?e-i.start:0,l=a?i.content.length+t-i.end:i.content.length;if(s+=i.content.slice(o,l),i.outro&&(!a||i.end===t)&&(s+=i.outro),a)break;i=i.next}return s}snip(e,t){let s=this.clone();return s.remove(0,e),s.remove(t,s.original.length),s}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,s=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=s?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){let i=g0(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${e.original}")`)}let s=e.split(t);return this.byEnd[t]=e,this.byStart[t]=s,this.byEnd[s.end]=s,e===this.lastChunk&&(this.lastChunk=s),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=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let s=this.lastChunk;do{let i=s.end,n=s.trimEnd(t);if(s.end!==i&&(this.lastChunk===s&&(this.lastChunk=s.next),this.byEnd[s.end]=s,this.byStart[s.next.start]=s.next,this.byEnd[s.next.end]=s.next),n)return!0;s=s.previous}while(s);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let s=this.firstChunk;do{let i=s.end,n=s.trimStart(t);if(s.end!==i&&(s===this.lastChunk&&(this.lastChunk=s.next),this.byEnd[s.end]=s,this.byStart[s.next.start]=s.next,this.byEnd[s.next.end]=s.next),n)return!0;s=s.next}while(s);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function s(n,a){return typeof t=="string"?t.replace(/\$(\$|&|\d+)/g,(o,l)=>l==="$"?"$":l==="&"?n[0]:+l<n.length?n[+l]:`$${l}`):t(...n,n.index,a,n.groups)}function i(n,a){let o,l=[];for(;o=n.exec(a);)l.push(o);return l}if(e.global)i(e,this.original).forEach(a=>{a.index!=null&&this.overwrite(a.index,a.index+a[0].length,s(a,this.original))});else{let n=this.original.match(e);n&&n.index!=null&&this.overwrite(n.index,n.index+n[0].length,s(n,this.original))}return this}_replaceString(e,t){let{original:s}=this,i=s.indexOf(e);return i!==-1&&this.overwrite(i,i+e.length,t),this}replace(e,t){return typeof e=="string"?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){let{original:s}=this,i=e.length;for(let n=s.indexOf(e);n!==-1;n=s.indexOf(e,n+i))this.overwrite(n,n+i,t);return this}replaceAll(e,t){if(typeof e=="string")return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}},FI=Object.defineProperty,BI=Object.defineProperties,UI=Object.getOwnPropertyDescriptors,S0=Object.getOwnPropertySymbols,jI=Object.prototype.hasOwnProperty,qI=Object.prototype.propertyIsEnumerable,b0=(r,e,t)=>e in r?FI(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,VI=(r,e)=>{for(var t in e||(e={}))jI.call(e,t)&&b0(r,t,e[t]);if(S0)for(var t of S0(e))qI.call(e,t)&&b0(r,t,e[t]);return r},zI=(r,e)=>BI(r,UI(e)),dp="$",mp="$$",w0="vue/macros",WI=["ref","computed","shallowRef","toRef","customRef"],GI=/[^\w]\$(?:\$|ref|computed|shallowRef)?\s*(\(|\<)/;function Mo(r){return GI.test(r)}function HI(r,{filename:e,sourceMap:t,parserPlugins:s,importHelpersFrom:i="vue"}={}){let n=s||[];e&&(/\.tsx?$/.test(e)&&n.push("typescript"),e.endsWith("x")&&n.push("jsx"));let a=Dr(r,{sourceType:"module",plugins:n}),o=new lr(r),l=yn(a.program,o,0);return l.importedHelpers.length&&o.prepend(`import { ${l.importedHelpers.map(u=>`${u} as _${u}`).join(", ")} } from '${i}'
97
+ `),zI(VI({},l),{code:o.toString(),map:t?o.generateMap({source:e,hires:!0,includeContent:!0}):null})}function yn(r,e,t=0,s,i){KI();let n=Object.create(null);for(let M of r.body)M.type==="ImportDeclaration"&&m(M);let a,o;for(let{local:M,imported:R,source:k,specifier:x}of Object.values(n))k===w0&&(R===mp?o=M:R===dp?a=M:R!==M&&E("macro imports for ref-creating methods do not support aliasing.",x));!a&&!n[dp]&&(a=dp),!o&&!n[mp]&&(o=mp);let l=new Set,u={},c=[u],p=u,h,f=new WeakSet,g=[],d=Object.create(null);if(s)for(let M of s)u[M]={};if(i)for(let M in i){let{local:R,isConst:k}=i[M];u[R]={isProp:!0,isConst:!!k},d[R]=M}function m(M){let R=M.source.value;R===w0&&e.remove(M.start+t,M.end+t);for(let k of M.specifiers){let x=k.local.name,L=k.type==="ImportSpecifier"&&k.imported.type==="Identifier"&&k.imported.name||"default";n[x]={source:R,local:x,imported:L,specifier:k}}}function y(M){return!a||p[a]!==void 0?!1:M===a?a:M[0]==="$"&&WI.includes(M.slice(1))?M:!1}function E(M,R){let k=new Error(M);throw k.node=R,k}function S(M){return l.add(M),`_${M}`}function v(M,R){f.add(M),p?p[M.name]=R||!1:E("registerBinding called without active scope, something is wrong.",M)}let b=(M,R=!1)=>v(M,{isConst:R}),I=0;function O(){return`__$temp_${++I}`}function w(M){return e.original.slice(M.start+t,M.end+t)}function P(M,R=!1){for(let k of M.body)if(k.type==="VariableDeclaration")T(k,R);else if(k.type==="FunctionDeclaration"||k.type==="ClassDeclaration"){if(k.declare||!k.id)continue;v(k.id)}else(k.type==="ForOfStatement"||k.type==="ForInStatement")&&k.left.type==="VariableDeclaration"?T(k.left):k.type==="ExportNamedDeclaration"&&k.declaration&&k.declaration.type==="VariableDeclaration"?T(k.declaration,R):k.type==="LabeledStatement"&&k.body.type==="VariableDeclaration"&&T(k.body,R)}function T(M,R=!1){if(!M.declare)for(let k of M.declarations){let x,L=k.init&&k.init.type==="CallExpression"&&k.init.callee.type==="Identifier";if(L&&(x=y(k.init.callee.name)))C(x,k.id,k.init,M.kind==="const");else{let _=R&&L&&k.init.callee.name==="defineProps";for(let N of xt(k.id))_?f.add(N):v(N)}}}function C(M,R,k,x){f.add(k.callee),M===a?(e.remove(k.callee.start+t,k.callee.end+t),R.type==="Identifier"?b(R,x):R.type==="ObjectPattern"?B(R,k,x):R.type==="ArrayPattern"&&q(R,k,x)):R.type==="Identifier"?(b(R,x),e.overwrite(k.start+t,k.start+M.length+t,S(M.slice(1)))):E(`${M}() cannot be used with destructure patterns.`,k)}function B(M,R,k,x,L=[]){x||(x=O(),e.overwrite(M.start+t,M.end+t,x));let _;for(let N of M.properties){let F,D;if(N.type==="ObjectProperty"?N.key.start===N.value.start?(_=N.key,N.value.type==="Identifier"?f.add(N.value):N.value.type==="AssignmentPattern"&&N.value.left.type==="Identifier"&&(f.add(N.value.left),D=N.value.right)):(F=N.computed?N.key:N.key.name,N.value.type==="Identifier"?_=N.value:N.value.type==="ObjectPattern"?B(N.value,R,k,x,[...L,F]):N.value.type==="ArrayPattern"?q(N.value,R,k,x,[...L,F]):N.value.type==="AssignmentPattern"&&(N.value.left.type==="Identifier"?(_=N.value.left,D=N.value.right):N.value.left.type==="ObjectPattern"?B(N.value.left,R,k,x,[...L,[F,N.value.right]]):N.value.left.type==="ArrayPattern"&&q(N.value.left,R,k,x,[...L,[F,N.value.right]]))):E("reactivity destructure does not support rest elements.",N),_){b(_,k);let z=Q(x,L),te=le(F)?`'${F}'`:F?w(F):`'${_.name}'`,re=D?`, ${w(D)}`:"";e.appendLeft(R.end+t,`,
98
+ ${_.name} = ${S("toRef")}(${z}, ${te}${re})`)}}_&&e.appendLeft(R.end+t,";")}function q(M,R,k,x,L=[]){x||(x=O(),e.overwrite(M.start+t,M.end+t,x));let _;for(let N=0;N<M.elements.length;N++){let F=M.elements[N];if(!F)continue;let D;if(F.type==="Identifier"?_=F:F.type==="AssignmentPattern"?(_=F.left,D=F.right):F.type==="RestElement"?E("reactivity destructure does not support rest elements.",F):F.type==="ObjectPattern"?B(F,R,k,x,[...L,N]):F.type==="ArrayPattern"&&q(F,R,k,x,[...L,N]),_){b(_,k);let z=Q(x,L),te=D?`, ${w(D)}`:"";e.appendLeft(R.end+t,`,
99
+ ${_.name} = ${S("toRef")}(${z}, ${N}${te})`)}}_&&e.appendLeft(R.end+t,";")}function Q(M,R){if(R.length)for(let k of R)Ge(k)?M=`(${M}${V(k[0])} || ${w(k[1])})`:M+=V(k);return M}function V(M){return typeof M=="number"?`[${M}]`:typeof M=="string"?`.${M}`:w(M)}function J(M,R,k,x){if(Pn(M,R.name)){let L=M[R.name];if(L){L.isConst&&(k.type==="AssignmentExpression"&&R===k.left||k.type==="UpdateExpression")&&E("Assignment to constant variable.",R);let{isProp:_}=L;_s(k)&&k.shorthand?(!k.inPattern||Cs(k,x))&&(_?h?(Ae(R),e.appendLeft(R.end+t,`: __props_${d[R.name]}`)):e.appendLeft(R.end+t,`: ${Xr(d[R.name])}`):e.appendLeft(R.end+t,`: ${R.name}.value`)):_?h?(Ae(R),e.overwrite(R.start+t,R.end+t,`__props_${d[R.name]}`)):e.overwrite(R.start+t,R.end+t,Xr(d[R.name])):e.appendLeft(R.end+t,".value")}return!0}return!1}let ae={};function Ae(M){if(!ae.hasOwnProperty(M.name)){ae[M.name]=!0;let R=d[M.name];e.prependRight(t,`const __props_${R} = ${S("toRef")}(__props, '${R}');
100
+ `)}}return P(r,!0),Ii(r,{enter(M,R){if(R&&g.push(R),dt(M)){c.push(p={}),Pa(M,v),M.body.type==="BlockStatement"&&P(M.body);return}if(M.type==="CatchClause"){c.push(p={}),M.param&&M.param.type==="Identifier"&&v(M.param),P(M.body);return}if(M.type==="BlockStatement"&&!dt(R)){c.push(p={}),P(M);return}if(R&&R.type.startsWith("TS")&&R.type!=="TSAsExpression"&&R.type!=="TSNonNullExpression"&&R.type!=="TSTypeAssertion")return this.skip();if(M.type==="Identifier"){let k=u[M.name];if(!(h&&(!k||!k.isProp))&&Ea(M,R,g)&&!f.has(M)){let x=c.length;for(;x--;)if(J(c[x],M,R,g))return}}if(M.type==="CallExpression"&&M.callee.type==="Identifier"){let k=M.callee.name,x=y(k);if(x&&(!R||R.type!=="VariableDeclarator"))return E(`${x} can only be used as the initializer of a variable declaration.`,M);if(o&&p[o]===void 0&&k===o&&(h=M,e.remove(M.callee.start+t,M.callee.end+t),(R==null?void 0:R.type)==="ExpressionStatement")){let L=(M.leadingComments?M.leadingComments[0].start:M.start)+t;for(;L--;){let _=e.original.charAt(L);if(_===`
101
+ `){e.prependRight(M.start+t,";");break}else if(!/\s/.test(_))break}}}},leave(M,R){R&&g.pop(),(M.type==="BlockStatement"&&!dt(R)||dt(M))&&(c.pop(),p=c[c.length-1]||null),M===h&&(h=void 0)}}),{rootRefs:Object.keys(u).filter(M=>{let R=u[M];return R&&!R.isProp}),importedHelpers:[...l]}}var E0={};function KI(){typeof window=="undefined"&&YI(`Reactivity Transform was an experimental feature and has now been deprecated. It will be removed from Vue core in 3.4. If you intend to continue using it, switch to https://vue-macros.sxzz.moe/features/reactivity-transform.html.
102
+ See reason for deprecation here: https://github.com/vuejs/rfcs/discussions/369#discussioncomment-5059028`)}function YI(r){!(typeof process!="undefined"&&!0)&&!0&&!E0[r]&&(E0[r]=!0,JI(r))}function JI(r){console.warn(`[@vue/reactivity-transform] ${r}
103
+ `)}function P0(r){for(let e of r)if(e.type==="ExportDefaultDeclaration"&&e.declaration.type==="ObjectExpression")return QI(e.declaration);return{}}function QI(r){let e={};Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!1});for(let t of r.properties)if(t.type==="ObjectProperty"&&!t.computed&&t.key.type==="Identifier"){if(t.key.name==="props")for(let s of gp(t.value))e[s]="props";else if(t.key.name==="inject")for(let s of gp(t.value))e[s]="options";else if(t.value.type==="ObjectExpression"&&(t.key.name==="computed"||t.key.name==="methods"))for(let s of yp(t.value))e[s]="options"}else if(t.type==="ObjectMethod"&&t.key.type==="Identifier"&&(t.key.name==="setup"||t.key.name==="data")){for(let s of t.body.body)if(s.type==="ReturnStatement"&&s.argument&&s.argument.type==="ObjectExpression")for(let i of yp(s.argument))e[i]=t.key.name==="setup"?"setup-maybe-ref":"data"}return e}function yp(r){let e=[];for(let t of r.properties){if(t.type==="SpreadElement")continue;let s=Iu(t.key,t.computed);s&&e.push(String(s))}return e}function XI(r){let e=[];for(let t of r.elements)t&&t.type==="StringLiteral"&&e.push(t.value);return e}function gp(r){return r.type==="ArrayExpression"?XI(r):r.type==="ObjectExpression"?yp(r):[]}function ZI(r,e,t){let s=Dr(r,{sourceType:"module",plugins:t}).program.body,i=new lr(r);return vp(s,i,e),i.toString()}function vp(r,e,t){if(!eO(r)){e.append(`
104
+ const ${t} = {}`);return}r.forEach(s=>{if(s.type==="ExportDefaultDeclaration")if(s.declaration.type==="ClassDeclaration"){let i=s.declaration.decorators&&s.declaration.decorators.length>0?s.declaration.decorators[s.declaration.decorators.length-1].end:s.start;e.overwrite(i,s.declaration.id.start," class "),e.append(`
105
+ const ${t} = ${s.declaration.id.name}`)}else e.overwrite(s.start,s.declaration.start,`const ${t} = `);else if(s.type==="ExportNamedDeclaration"){for(let i of s.specifiers)if(i.type==="ExportSpecifier"&&i.exported.type==="Identifier"&&i.exported.name==="default"){if(s.source)if(i.local.name==="default"){e.prepend(`import { default as __VUE_DEFAULT__ } from '${s.source.value}'
106
+ `);let a=Sp(e,i.local.end,s.end);e.remove(i.start,a),e.append(`
107
+ const ${t} = __VUE_DEFAULT__`);continue}else{e.prepend(`import { ${e.slice(i.local.start,i.local.end)} as __VUE_DEFAULT__ } from '${s.source.value}'
108
+ `);let a=Sp(e,i.exported.end,s.end);e.remove(i.start,a),e.append(`
109
+ const ${t} = __VUE_DEFAULT__`);continue}let n=Sp(e,i.end,s.end);e.remove(i.start,n),e.append(`
110
+ const ${t} = ${i.local.name}`)}}})}function eO(r){for(let e of r){if(e.type==="ExportDefaultDeclaration")return!0;if(e.type==="ExportNamedDeclaration"&&e.specifiers.some(t=>t.exported.name==="default"))return!0}return!1}function Sp(r,e,t){let s=!1,i=e;for(;e<t;)if(/\s/.test(r.slice(e,e+1)))e++;else if(r.slice(e,e+1)===","){e++,s=!0;break}else if(r.slice(e,e+1)==="}")break;return s?e:i}var tO=Object.defineProperty,rO=Object.defineProperties,sO=Object.getOwnPropertyDescriptors,T0=Object.getOwnPropertySymbols,iO=Object.prototype.hasOwnProperty,nO=Object.prototype.propertyIsEnumerable,x0=(r,e,t)=>e in r?tO(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,aO=(r,e)=>{for(var t in e||(e={}))iO.call(e,t)&&x0(r,t,e[t]);if(T0)for(var t of T0(e))nO.call(e,t)&&x0(r,t,e[t]);return r},oO=(r,e)=>rO(r,sO(e)),Ks="__default__";function lO(r,e){let t=r.descriptor.script;if(t.lang&&!r.isJS&&!r.isTS)return t;try{let s=t.content,i=t.map,n=r.scriptAst,a=P0(n.body),{source:o,filename:l,cssVars:u}=r.descriptor,{sourceMap:c,genDefaultAs:p,isProd:h}=r.options;if(r.options.reactivityTransform&&Mo(s)){let f=new lr(o),g=t.loc.start.offset,d=t.loc.end.offset,{importedHelpers:m}=yn(n,f,g);m.length&&f.prepend(`import { ${m.map(y=>`${y} as _${y}`).join(", ")} } from 'vue'
111
+ `),f.remove(0,g),f.remove(d,o.length),s=f.toString(),c!==!1&&(i=f.generateMap({source:l,hires:!0,includeContent:!0}))}if(u.length||p){let f=p||Ks,g=new lr(s);vp(n.body,g,f),s=g.toString(),u.length&&(s+=xw(u,a,e,!!h,f)),p||(s+=`
112
+ export default ${f}`)}return oO(aO({},t),{content:s,map:i,bindings:a,scriptAst:n.body})}catch(s){return t}}var A0,C0,_0=class{constructor(e,t){this.descriptor=e,this.options=t,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new lr(this.source),this.startOffset=(A0=this.descriptor.scriptSetup)==null?void 0:A0.loc.start.offset,this.endOffset=(C0=this.descriptor.scriptSetup)==null?void 0:C0.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={},this.bindingMetadata={},this.helperImports=new Set;let{script:s,scriptSetup:i}=e,n=s&&s.lang,a=i&&i.lang;this.isJS=n==="js"||n==="jsx"||a==="js"||a==="jsx",this.isTS=n==="ts"||n==="tsx"||a==="ts"||a==="tsx";let o=bp(n||a,t.babelParserPlugins);function l(u,c){try{return Dr(u,{plugins:o,sourceType:"module"}).program}catch(p){throw p.message=`[vue/compiler-sfc] ${p.message}
113
+
114
+ ${e.filename}
115
+ ${Zr(e.source,p.pos+c,p.pos+c+1)}`,p}}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)}error(e,t,s){let i=s?s.offset:this.startOffset;throw new Error(`[@vue/compiler-sfc] ${e}
116
+
117
+ ${(s||this.descriptor).filename}
118
+ ${Zr((s||this.descriptor).source,t.start+i,t.end+i)}`)}};function bp(r,e,t=!1){let s=[];return r==="jsx"||r==="tsx"?s.push("jsx"):e&&(e=e.filter(i=>i!=="jsx")),(r==="ts"||r==="tsx")&&(s.push(["typescript",{dts:t}]),s.includes("decorators")||s.push("decorators-legacy")),e&&s.push(...e),s}var uO=Object.defineProperty,cO=Object.defineProperties,pO=Object.getOwnPropertyDescriptors,I0=Object.getOwnPropertySymbols,hO=Object.prototype.hasOwnProperty,fO=Object.prototype.propertyIsEnumerable,O0=(r,e,t)=>e in r?uO(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,wp=(r,e)=>{for(var t in e||(e={}))hO.call(e,t)&&O0(r,t,e[t]);if(I0)for(var t of I0(e))fO.call(e,t)&&O0(r,t,e[t]);return r},Ep=(r,e)=>cO(r,pO(e)),Ro=class{constructor(e,t,s=0,i=Object.create(null),n=Object.create(null),a=Object.create(null)){this.filename=e,this.source=t,this.offset=s,this.imports=i,this.types=n,this.declares=a,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}};function We(r,e,t){return e._resolvedElements?e._resolvedElements:e._resolvedElements=dO(r,e,e._ownerScope||t||Fo(r))}function dO(r,e,t){var s,i;switch(e.type){case"TSTypeLiteral":return N0(r,e.members,t);case"TSInterfaceDeclaration":return mO(r,e,t);case"TSTypeAliasDeclaration":case"TSParenthesizedType":return We(r,e.typeAnnotation,t);case"TSFunctionType":return{props:{},calls:[e]};case"TSUnionType":case"TSIntersectionType":return k0(e.types.map(n=>We(r,n,t)),e.type);case"TSMappedType":return yO(r,e,t);case"TSIndexedAccessType":{let n=L0(r,e,t);return k0(n.map(a=>We(r,a,a._ownerScope)),"TSUnionType")}case"TSExpressionWithTypeArguments":case"TSTypeReference":{let n=xp(e);if((n==="ExtractPropTypes"||n==="ExtractPublicPropTypes")&&e.typeParameters&&((s=t.imports[n])==null?void 0:s.source)==="vue")return U0(We(r,e.typeParameters.params[0],t),t);let a=Ut(r,e,t);if(a)return We(r,a,a._ownerScope);if(typeof n=="string"){if(gO.has(n))return vO(r,e,n,t);if(n==="ReturnType"&&e.typeParameters){let o=kO(r,e.typeParameters.params[0],t);if(o)return We(r,o,t)}}return r.error("Unresolvable type reference or unsupported built-in utility type",e,t)}case"TSImportType":{if(Br(e.argument)==="vue"&&((i=e.qualifier)==null?void 0:i.type)==="Identifier"&&e.qualifier.name==="ExtractPropTypes"&&e.typeParameters)return U0(We(r,e.typeParameters.params[0],t),t);let n=$o(r,e.argument,t,e.argument.value),a=Ut(r,e,n);if(a)return We(r,a,a._ownerScope)}case"TSTypeQuery":{let n=Ut(r,e,t);if(n)return We(r,n,n._ownerScope)}}return r.error(`Unresolvable type: ${e.type}`,e,t)}function N0(r,e,t=Fo(r)){let s={props:{}};for(let i of e)if(i.type==="TSPropertySignature"||i.type==="TSMethodSignature"){i._ownerScope=t;let n=Br(i.key);if(n&&!i.computed)s.props[n]=i;else if(i.key.type==="TemplateLiteral")for(let a of Pp(r,i.key,t))s.props[a]=i;else r.error("Unsupported computed key in type referenced by a macro",i.key,t)}else i.type==="TSCallSignatureDeclaration"&&(s.calls||(s.calls=[])).push(i);return s}function k0(r,e){if(r.length===1)return r[0];let t={props:{}},{props:s}=t;for(let{props:i,calls:n}of r){for(let a in i)Pn(s,a)?s[a]=gn(s[a].key,{type:e,types:[s[a],i[a]]},s[a]._ownerScope,s[a].optional||i[a].optional):s[a]=i[a];n&&(t.calls||(t.calls=[])).push(...n)}return t}function gn(r,e,t,s){return{type:"TSPropertySignature",key:r,kind:"get",optional:s,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:e},_ownerScope:t}}function mO(r,e,t){let s=N0(r,e.body.body,e._ownerScope);if(e.extends){for(let i of e.extends)if(!(i.leadingComments&&i.leadingComments.some(n=>n.value.includes("@vue-ignore"))))try{let{props:n}=We(r,i,t);for(let a in n)Pn(s.props,a)||(s.props[a]=n[a])}catch(n){r.error(`Failed to resolve extends base type.
119
+ If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
120
+
121
+ interface Props extends /* @vue-ignore */ Base {}
122
+
123
+ Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,i)}}return s}function yO(r,e,t){let s={props:{}},i=ur(r,e.typeParameter.constraint,t);for(let n of i)s.props[n]=gn({type:"Identifier",name:n},e.typeAnnotation,t,!!e.optional);return s}function L0(r,e,t){var s,i;if(e.indexType.type==="TSNumberKeyword")return D0(r,e.objectType,t);let{indexType:n,objectType:a}=e,o=[],l,u;n.type==="TSStringKeyword"?(u=We(r,a,t),l=Object.keys(u.props)):(l=ur(r,n,t),u=We(r,a,t));for(let c of l){let p=(i=(s=u.props[c])==null?void 0:s.typeAnnotation)==null?void 0:i.typeAnnotation;p&&(p._ownerScope=u.props[c]._ownerScope,o.push(p))}return o}function D0(r,e,t){if(e.type==="TSArrayType")return[e.elementType];if(e.type==="TSTupleType")return e.elementTypes.map(s=>s.type==="TSNamedTupleMember"?s.elementType:s);if(e.type==="TSTypeReference"){if(xp(e)==="Array"&&e.typeParameters)return e.typeParameters.params;{let s=Ut(r,e,t);if(s)return D0(r,s,t)}}return r.error("Failed to resolve element type from target type",e,t)}function ur(r,e,t){switch(e.type){case"StringLiteral":return[e.value];case"TSLiteralType":return ur(r,e.literal,t);case"TSUnionType":return e.types.map(s=>ur(r,s,t)).flat();case"TemplateLiteral":return Pp(r,e,t);case"TSTypeReference":{let s=Ut(r,e,t);if(s)return ur(r,s,t);if(e.typeName.type==="Identifier"){let i=(n=0)=>ur(r,e.typeParameters.params[n],t);switch(e.typeName.name){case"Extract":return i(1);case"Exclude":{let n=i(1);return i().filter(a=>!n.includes(a))}case"Uppercase":return i().map(n=>n.toUpperCase());case"Lowercase":return i().map(n=>n.toLowerCase());case"Capitalize":return i().map(hr);case"Uncapitalize":return i().map(n=>n[0].toLowerCase()+n.slice(1));default:r.error("Unsupported type when resolving index type",e.typeName,t)}}}}return r.error("Failed to resolve index type into finite keys",e,t)}function Pp(r,e,t){if(!e.expressions.length)return[e.quasis[0].value.raw];let s=[],i=e.expressions[0],n=e.quasis[0],a=n?n.value.raw:"",o=ur(r,i,t),l=Pp(r,Ep(wp({},e),{expressions:e.expressions.slice(1),quasis:n?e.quasis.slice(1):e.quasis}),t);for(let u of o)for(let c of l)s.push(a+u+c);return s}var gO=new Set(["Partial","Required","Readonly","Pick","Omit"]);function vO(r,e,t,s){let i=We(r,e.typeParameters.params[0],s);switch(t){case"Partial":{let o={props:{},calls:i.calls};return Object.keys(i.props).forEach(l=>{o.props[l]=Ep(wp({},i.props[l]),{optional:!0})}),o}case"Required":{let o={props:{},calls:i.calls};return Object.keys(i.props).forEach(l=>{o.props[l]=Ep(wp({},i.props[l]),{optional:!1})}),o}case"Readonly":return i;case"Pick":{let o=ur(r,e.typeParameters.params[1],s),l={props:{},calls:i.calls};for(let u of o)l.props[u]=i.props[u];return l}case"Omit":let n=ur(r,e.typeParameters.params[1],s),a={props:{},calls:i.calls};for(let o in i.props)n.includes(o)||(a.props[o]=i.props[o]);return a}}function Ut(r,e,t,s,i=!1){return e._resolvedReference?e._resolvedReference:e._resolvedReference=Tp(r,t||Fo(r),s||xp(e),e,i)}function Tp(r,e,t,s,i){if(typeof t=="string"){if(e.imports[t])return wO(r,s,t,e);{let n=s.type==="TSTypeQuery"?i?e.exportedDeclares:e.declares:i?e.exportedTypes:e.types;if(n[t])return n[t];{let a=SO(r);if(a)for(let o of a){let l=s.type==="TSTypeQuery"?o.declares:o.types;if(l[t])return(r.deps||(r.deps=new Set)).add(o.filename),l[t]}}}}else{let n=Tp(r,e,t[0],s,i);if(n&&(n.type!=="TSModuleDeclaration"&&(n=n._ns),n)){let a=CO(r,n,n._ownerScope||e);return Tp(r,a,t.length>2?t.slice(1):t[t.length-1],s,!n.declare)}}}function xp(r){let e=r.type==="TSTypeReference"?r.typeName:r.type==="TSExpressionWithTypeArguments"?r.expression:r.type==="TSImportType"?r.qualifier:r.exprName;return(e==null?void 0:e.type)==="Identifier"?e.name:(e==null?void 0:e.type)==="TSQualifiedName"?M0(e):"default"}function M0(r){return r.type==="Identifier"?[r.name]:[...M0(r.left),r.right.name]}function SO(r){if(r.options.globalTypeFiles){if(!Cp(r))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return r.options.globalTypeFiles.map(t=>$0(r,Lu(t),!0))}}var Ap;function bO(r){Ap=r}function Cp(r){if(r.fs)return r.fs;let e=r.options.fs||Ap.sys;if(!!e)return r.fs={fileExists(t){return t.endsWith(".vue.ts")&&(t=t.replace(/\.ts$/,"")),e.fileExists(t)},readFile(t){return t.endsWith(".vue.ts")&&(t=t.replace(/\.ts$/,"")),e.readFile(t)}}}function wO(r,e,t,s){let{source:i,imported:n}=s.imports[t],a=$o(r,e,s,i);return Ut(r,e,a,n,!0)}function $o(r,e,t,s){let i=Cp(r);if(!i)return r.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",e,t);let n=t.resolvedImportSources[s];if(!n){if(s.startsWith(".")){let a=Du(t.filename,"..",s);n=EO(a,i)}else r.error("Type import from non-relative sources is not supported in the browser build.",e,t),Ap||r.error(`Failed to resolve import source ${JSON.stringify(s)}. typescript is required as a peer dep for vue in order to support resolving types from module imports.`,e,t),n=TO(t.filename);n&&(n=t.resolvedImportSources[s]=Lu(n))}return n?((r.deps||(r.deps=new Set)).add(n),$0(r,n)):r.error(`Failed to resolve import source ${JSON.stringify(s)}.`,e,t)}function EO(r,e){r=r.replace(/\.js$/,"");let t=s=>{if(e.fileExists(s))return s};return t(r)||t(r+".ts")||t(r+".d.ts")||t(Du(r,"index.ts"))||t(Du(r,"index.d.ts"))}var R0=Ma(),PO=new Map;function TO(r,e,t){}var _p=Ma();function xO(r){r=Lu(r),_p.delete(r),R0.delete(r);let e=PO.get(r);e&&R0.delete(e)}function $0(r,e,t=!1){let s=_p.get(e);if(s)return s;let n=Cp(r).readFile(e)||"",a=AO(e,n,r.options.babelParserPlugins),o=new Ro(e,n,0,B0(a));return Ip(r,a,o,t),_p.set(e,o),o}function AO(r,e,t){let s=Cu(r);if(s===".ts"||s===".tsx")return Dr(e,{plugins:bp(s.slice(1),t,r.endsWith(".d.ts")),sourceType:"module"}).program.body;if(s===".vue"){let{descriptor:{script:i,scriptSetup:n}}=qd(e);if(!i&&!n)return[];let a=i?i.loc.start.offset:1/0,o=n?n.loc.start.offset:1/0,l=a<o?i:n,u=a<o?n:i,c=" ".repeat(Math.min(a,o))+l.content;u&&(c+=" ".repeat(u.loc.start.offset-i.loc.end.offset)+u.content);let p=(i==null?void 0:i.lang)||(n==null?void 0:n.lang);return Dr(c,{plugins:bp(p,t),sourceType:"module"}).program.body}return[]}function Fo(r){if(r.scope)return r.scope;let e="ast"in r?r.ast:r.scriptAst?[...r.scriptAst.body,...r.scriptSetupAst.body]:r.scriptSetupAst.body,t=new Ro(r.filename,r.source,"startOffset"in r?r.startOffset:0,"userImports"in r?Object.create(r.userImports):B0(e));return Ip(r,e,t),r.scope=t}function CO(r,e,t){if(e._resolvedChildScope)return e._resolvedChildScope;let s=new Ro(t.filename,t.source,t.offset,Object.create(t.imports),Object.create(t.types),Object.create(t.declares));if(e.body.type==="TSModuleDeclaration"){let i=e.body;i._ownerScope=s;let n=Br(i.id);s.types[n]=s.exportedTypes[n]=i}else Ip(r,e.body.body,s);return e._resolvedChildScope=s}var _O=/^Import|^Export/;function Ip(r,e,t,s=!1){let{types:i,declares:n,exportedTypes:a,exportedDeclares:o,imports:l}=t,u=s?!e.some(c=>_O.test(c.type)):!1;for(let c of e)if(s){if(u)c.declare&&Yr(c,i,n);else if(c.type==="TSModuleDeclaration"&&c.global)for(let p of c.body.body)Yr(p,i,n)}else Yr(c,i,n);if(!s)for(let c of e)if(c.type==="ExportNamedDeclaration"){if(c.declaration)Yr(c.declaration,i,n),Yr(c.declaration,a,o);else for(let p of c.specifiers)if(p.type==="ExportSpecifier"){let h=p.local.name,f=Br(p.exported);c.source?(l[h]={source:c.source.value,imported:h},a[f]={type:"TSTypeReference",typeName:{type:"Identifier",name:h},_ownerScope:t}):i[h]&&(a[f]=i[h])}}else if(c.type==="ExportAllDeclaration"){let p=$o(r,c.source,t,c.source.value);Object.assign(t.exportedTypes,p.exportedTypes)}else c.type==="ExportDefaultDeclaration"&&c.declaration&&(c.declaration.type!=="Identifier"?(Yr(c.declaration,i,n,"default"),Yr(c.declaration,a,o,"default")):i[c.declaration.name]&&(a.default=i[c.declaration.name]));for(let c of Object.keys(i)){let p=i[c];p._ownerScope=t,p._ns&&(p._ns._ownerScope=t)}for(let c of Object.keys(n))n[c]._ownerScope=t}function Yr(r,e,t,s){switch(r.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{let i=s||Br(r.id),n=e[i];if(n){if(r.type==="TSModuleDeclaration"){n.type==="TSModuleDeclaration"?Op(n,r):F0(n,r);break}if(n.type==="TSModuleDeclaration"){e[i]=r,F0(r,n);break}if(n.type!==r.type)break;r.type==="TSInterfaceDeclaration"?n.body.body.push(...r.body.body):n.members.push(...r.members)}else e[i]=r;break}case"ClassDeclaration":e[s||Br(r.id)]=r;break;case"TSTypeAliasDeclaration":e[r.id.name]=r.typeAnnotation;break;case"TSDeclareFunction":r.id&&(t[r.id.name]=r);break;case"VariableDeclaration":{if(r.declare)for(let i of r.declarations)i.id.type==="Identifier"&&i.id.typeAnnotation&&(t[i.id.name]=i.id.typeAnnotation.typeAnnotation);break}}}function Op(r,e){let t=r.body,s=e.body;t.type==="TSModuleDeclaration"?s.type==="TSModuleDeclaration"?Op(t,s):s.body.push({type:"ExportNamedDeclaration",declaration:t,exportKind:"type",specifiers:[]}):s.type==="TSModuleDeclaration"?t.body.push({type:"ExportNamedDeclaration",declaration:s,exportKind:"type",specifiers:[]}):t.body.push(...s.body)}function F0(r,e){r._ns?Op(r._ns,e):r._ns=e}function B0(r){let e=Object.create(null);for(let t of r)IO(t,e);return e}function IO(r,e){if(r.type==="ImportDeclaration")for(let t of r.specifiers)e[t.local.name]={imported:ku(t),source:r.source.value}}function ht(r,e,t=e._ownerScope||Fo(r)){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":{let s=new Set,i=e.type==="TSTypeLiteral"?e.members:e.body.body;for(let n of i)n.type==="TSCallSignatureDeclaration"||n.type==="TSConstructSignatureDeclaration"?s.add("Function"):s.add("Object");return s.size?Array.from(s):["Object"]}case"TSPropertySignature":if(e.typeAnnotation)return ht(r,e.typeAnnotation.typeAnnotation,t);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[Fr]}case"TSTypeReference":{let s=Ut(r,e,t);if(s)return ht(r,s,s._ownerScope);if(e.typeName.type==="Identifier")switch(e.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":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":return["Array"];case"NonNullable":if(e.typeParameters&&e.typeParameters.params[0])return ht(r,e.typeParameters.params[0],t).filter(i=>i!=="null");break;case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return ht(r,e.typeParameters.params[1],t);break;case"Exclude":case"OmitThisParameter":if(e.typeParameters&&e.typeParameters.params[0])return ht(r,e.typeParameters.params[0],t);break}break}case"TSParenthesizedType":return ht(r,e.typeAnnotation,t);case"TSUnionType":return Np(r,e.types,t);case"TSIntersectionType":return Np(r,e.types,t).filter(s=>s!==Fr);case"TSEnumDeclaration":return OO(e);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{let s=L0(r,e,t);return Np(r,s,t)}case"ClassDeclaration":return["Object"];case"TSImportType":{let s=$o(r,e.argument,t,e.argument.value),i=Ut(r,e,s);if(i)return ht(r,i,i._ownerScope);break}case"TSTypeQuery":{let s=e.exprName;if(s.type==="Identifier"){let i=t.declares[s.name];if(i)return ht(r,i,i._ownerScope)}break}}}catch(s){}return[Fr]}function Np(r,e,t){return e.length===1?ht(r,e[0],t):[...new Set([].concat(...e.map(s=>ht(r,s,t))))]}function OO(r){let e=new Set;for(let t of r.members)if(t.initializer)switch(t.initializer.type){case"StringLiteral":e.add("String");break;case"NumericLiteral":e.add("Number");break}return e.size?[...e]:["Number"]}function U0({props:r},e){let t={props:{}};for(let s in r){let i=r[s];t.props[s]=kp(i.key,i.typeAnnotation.typeAnnotation,e)}return t}function kp(r,e,t,s=!0,i=!0){if(i&&e.type==="TSTypeLiteral"){let n=j0(e,"type");if(n){let a=j0(e,"required"),o=a&&a.type==="TSLiteralType"&&a.literal.type==="BooleanLiteral"?!a.literal.value:!0;return kp(r,n,t,o,!1)}}else if(e.type==="TSTypeReference"&&e.typeName.type==="Identifier"){if(e.typeName.name.endsWith("Constructor"))return gn(r,NO(e.typeName.name),t,s);if(e.typeName.name==="PropType"&&e.typeParameters)return gn(r,e.typeParameters.params[0],t,s)}if((e.type==="TSTypeReference"||e.type==="TSImportType")&&e.typeParameters)for(let n of e.typeParameters.params){let a=kp(r,n,t,s);if(a)return a}return gn(r,{type:"TSNullKeyword"},t,s)}function NO(r){let e=r.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 j0(r,e){let t=r.members.find(s=>s.type==="TSPropertySignature"&&!s.computed&&Br(s.key)===e&&s.typeAnnotation);return t&&t.typeAnnotation.typeAnnotation}function kO(r,e,t){var s;let i=e;if((e.type==="TSTypeReference"||e.type==="TSTypeQuery"||e.type==="TSImportType")&&(i=Ut(r,e,t)),!!i){if(i.type==="TSFunctionType")return(s=i.typeAnnotation)==null?void 0:s.typeAnnotation;if(i.type==="TSDeclareFunction")return i.returnType}}function q0(r,e,t){if(e.type==="TSTypeReference"){let i=Ut(r,e,t);i&&(e=i)}let s;return e.type==="TSUnionType"?s=e.types.flatMap(i=>q0(r,i,t)):s=[e],s}var V0="defineModel";function z0(r,e,t){if(!r.options.defineModel||!Je(e,V0))return!1;Gr(`This project is using defineModel(), which is an experimental feature. It may receive breaking changes or be removed in the future, so use at your own risk.
124
+ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/503.`),r.hasDefineModelCall=!0;let s=e.typeParameters&&e.typeParameters.params[0]||void 0,i,n,a=e.arguments[0]&&Dt(e.arguments[0]);a&&a.type==="StringLiteral"?(i=a.value,n=e.arguments[1]):(i="modelValue",n=a),r.modelDecls[i]&&r.error(`duplicate model name ${JSON.stringify(i)}`,e);let o=n&&r.getString(n);r.modelDecls[i]={type:s,options:o,identifier:t&&t.type==="Identifier"?t.name:void 0},r.bindingMetadata[i]="props";let l="";if(n)if(n.type==="ObjectExpression"){let u=n.properties.find(c=>c.type==="ObjectProperty"&&(c.key.type==="Identifier"&&c.key.name==="local"||c.key.type==="StringLiteral"&&c.key.value==="local"));if(u)l=`{ ${r.getString(u)} }`;else for(let c of n.properties)if(c.type==="SpreadElement"||c.computed){l=o;break}}else l=o;return r.s.overwrite(r.startOffset+e.start,r.startOffset+e.end,`${r.helper("useModel")}(__props, ${JSON.stringify(i)}${l?`, ${l}`:""})`),!0}function LO(r){if(!r.hasDefineModelCall)return;let e=!!r.options.isProd,t="";for(let[s,{type:i,options:n}]of Object.entries(r.modelDecls)){let a=!1,o=i&&ht(r,i);if(o){let p=o.includes(Fr);o=o.filter(h=>h===Fr?!1:e?h==="Boolean"||h==="Function"&&n:!0),a=!e&&p&&o.length>0}let l=o&&o.length>0&&Nu(o)||void 0,u=Ou([l&&`type: ${l}`,a&&"skipCheck: true"]),c;l&&n?c=r.isTS?`{ ${u}, ...${n} }`:`Object.assign({ ${u} }, ${n})`:c=n||(l?`{ ${u} }`:"{}"),t+=`
125
+ ${JSON.stringify(s)}: ${c},`}return`{${t}
126
+ }`}var Be="defineProps",Ys="withDefaults";function Lp(r,e,t){if(!Je(e,Be))return DO(r,e,t);if(r.hasDefinePropsCall&&r.error(`duplicate ${Be}() call`,e),r.hasDefinePropsCall=!0,r.propsRuntimeDecl=e.arguments[0],r.propsRuntimeDecl)for(let s of gp(r.propsRuntimeDecl))s in r.bindingMetadata||(r.bindingMetadata[s]="props");return e.typeParameters&&(r.propsRuntimeDecl&&r.error(`${Be}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,e),r.propsTypeDecl=e.typeParameters.params[0]),t&&(t.type==="ObjectPattern"?jO(r,t):r.propsIdentifier=r.getString(t)),!0}function DO(r,e,t){return Je(e,Ys)?(Lp(r,e.arguments[0],t)?(r.propsRuntimeDecl&&r.error(`${Ys} can only be used with type-based ${Be} declaration.`,e),r.propsDestructureDecl&&r.error(`${Ys}() is unnecessary when using destructure with ${Be}().
127
+ Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...).`,e.callee),r.propsRuntimeDefaults=e.arguments[1],r.propsRuntimeDefaults||r.error(`The 2nd argument of ${Ys} is required.`,e)):r.error(`${Ys}' first argument must be a ${Be} call.`,e.arguments[0]||e),!0):!1}function MO(r){let e;if(r.propsRuntimeDecl){if(e=r.getString(r.propsRuntimeDecl).trim(),r.propsDestructureDecl){let s=[];for(let i in r.propsDestructuredBindings){let n=W0(r,i),a=Id(i);n&&s.push(`${a}: ${n.valueString}${n.needSkipFactory?`, __skip_${a}: true`:""}`)}s.length&&(e=`${r.helper("mergeDefaults")}(${e}, {
128
+ ${s.join(`,
129
+ `)}
130
+ })`)}}else r.propsTypeDecl&&(e=RO(r));let t=LO(r);return e&&t?`${r.helper("mergeModels")}(${e}, ${t})`:t||e}function RO(r){let e=$O(r,r.propsTypeDecl);if(!e.length)return;let t=[],s=BO(r);for(let n of e)t.push(FO(r,n,s)),n.key in r.bindingMetadata||(r.bindingMetadata[n.key]="props");let i=`{
131
+ ${t.join(`,
132
+ `)}
133
+ }`;return r.propsRuntimeDefaults&&!s&&(i=`${r.helper("mergeDefaults")}(${i}, ${r.getString(r.propsRuntimeDefaults)})`),i}function $O(r,e){let t=[],s=We(r,e);for(let i in s.props){let n=s.props[i],a=ht(r,n),o=!1;a.includes(Fr)&&(a.includes("Boolean")||a.includes("Function")?(a=a.filter(l=>l!==Fr),o=!0):a=["null"]),t.push({key:i,required:!n.optional,type:a||["null"],skipCheck:o})}return t}function FO(r,{key:e,required:t,type:s,skipCheck:i},n){let a,o=W0(r,e,s);if(o)a=`default: ${o.valueString}${o.needSkipFactory?", skipFactory: true":""}`;else if(n){let u=r.propsRuntimeDefaults.properties.find(c=>c.type==="SpreadElement"?!1:Iu(c.key,c.computed)===e);u&&(u.type==="ObjectProperty"?a=`default: ${r.getString(u.value)}`:a=`${u.async?"async ":""}${u.kind!=="method"?`${u.kind} `:""}default() ${r.getString(u.body)}`)}let l=Id(e);return r.options.isProd?s.some(u=>u==="Boolean"||(!n||a)&&u==="Function")?`${l}: { ${Ou([`type: ${Nu(s)}`,a])} }`:`${l}: ${a?`{ ${a} }`:"{}"}`:`${l}: { ${Ou([`type: ${Nu(s)}`,`required: ${t}`,i&&"skipCheck: true",a])} }`}function BO(r){return!!(r.propsRuntimeDefaults&&r.propsRuntimeDefaults.type==="ObjectExpression"&&r.propsRuntimeDefaults.properties.every(e=>e.type!=="SpreadElement"&&(!e.computed||e.key.type.endsWith("Literal"))))}function W0(r,e,t){let s=r.propsDestructuredBindings[e],i=s&&s.default;if(i){let n=r.getString(i),a=Dt(i);if(t&&t.length&&!t.includes("null")){let u=UO(a);u&&!t.includes(u)&&r.error(`Default value of prop "${e}" does not match declared type.`,a)}let o=!t&&(dt(a)||a.type==="Identifier");return{valueString:!o&&!Cd(a)&&!(t==null?void 0:t.includes("Function"))?`() => (${n})`:n,needSkipFactory:o}}}function UO(r){switch(r.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 jO(r,e){if(!r.options.propsDestructure&&!r.options.reactivityTransform){r.propsIdentifier=r.getString(e);return}Gr(`This project is using reactive props destructure, which is an experimental feature. It may receive breaking changes or be removed in the future, so use at your own risk.
134
+ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502.`),r.propsDestructureDecl=e;let t=(s,i,n)=>{r.propsDestructuredBindings[s]={local:i,default:n},i!==s&&(r.bindingMetadata[i]="props-aliased",(r.bindingMetadata.__propsAliases||(r.bindingMetadata.__propsAliases={}))[i]=s)};for(let s of e.properties)if(s.type==="ObjectProperty"){let i=Iu(s.key,s.computed);if(i||r.error(`${Be}() destructure cannot use computed key.`,s.key),s.value.type==="AssignmentPattern"){let{left:n,right:a}=s.value;n.type!=="Identifier"&&r.error(`${Be}() destructure does not support nested patterns.`,n),t(i,n.name,a)}else s.value.type==="Identifier"?t(i,s.value.name):r.error(`${Be}() destructure does not support nested patterns.`,s.value)}else r.propsDestructureRestId=s.argument.name,r.bindingMetadata[r.propsDestructureRestId]="setup-reactive-const"}function qO(r,e){if(!r.options.propsDestructure&&!r.options.reactivityTransform)return;let t={},s=[t],i=t,n=new WeakSet,a=[],o=Object.create(null);for(let m in r.propsDestructuredBindings){let{local:y}=r.propsDestructuredBindings[m];t[y]=!0,o[y]=m}function l(){s.push(i=Object.create(i))}function u(){s.pop(),i=s[s.length-1]||null}function c(m){n.add(m),i?i[m.name]=!1:r.error("registerBinding called without active scope, something is wrong.",m)}function p(m,y=!1){for(let E of m.body)if(E.type==="VariableDeclaration")h(E,y);else if(E.type==="FunctionDeclaration"||E.type==="ClassDeclaration"){if(E.declare||!E.id)continue;c(E.id)}else(E.type==="ForOfStatement"||E.type==="ForInStatement")&&E.left.type==="VariableDeclaration"?h(E.left):E.type==="ExportNamedDeclaration"&&E.declaration&&E.declaration.type==="VariableDeclaration"?h(E.declaration,y):E.type==="LabeledStatement"&&E.body.type==="VariableDeclaration"&&h(E.body,y)}function h(m,y=!1){if(!m.declare)for(let E of m.declarations){let S=y&&E.init&&Je(Dt(E.init),"defineProps");for(let v of xt(E.id))S?n.add(v):c(v)}}function f(m,y,E){(y.type==="AssignmentExpression"&&m===y.left||y.type==="UpdateExpression")&&r.error("Cannot assign to destructured props as they are readonly.",m),_s(y)&&y.shorthand?(!y.inPattern||Cs(y,E))&&r.s.appendLeft(m.end+r.startOffset,`: ${Xr(o[m.name])}`):r.s.overwrite(m.start+r.startOffset,m.end+r.startOffset,Xr(o[m.name]))}function g(m,y,E=y){if(Je(m,E)){let S=Dt(m.arguments[0]);S.type==="Identifier"&&i[S.name]&&r.error(`"${S.name}" is a destructured prop and should not be passed directly to ${y}(). Pass a getter () => ${S.name} instead.`,S)}}let d=r.scriptSetupAst;p(d,!0),Ii(d,{enter(m,y){if(y&&a.push(y),y&&y.type.startsWith("TS")&&y.type!=="TSAsExpression"&&y.type!=="TSNonNullExpression"&&y.type!=="TSTypeAssertion")return this.skip();if(g(m,"watch",e.watch),g(m,"toRef",e.toRef),dt(m)){l(),Pa(m,c),m.body.type==="BlockStatement"&&p(m.body);return}if(m.type==="CatchClause"){l(),m.param&&m.param.type==="Identifier"&&c(m.param),p(m.body);return}if(m.type==="BlockStatement"&&!dt(y)){l(),p(m);return}m.type==="Identifier"&&Ea(m,y,a)&&!n.has(m)&&i[m.name]&&f(m,y,a)},leave(m,y){y&&a.pop(),(m.type==="BlockStatement"&&!dt(y)||dt(m))&&u()}})}var Jr="defineEmits";function G0(r,e,t){return Je(e,Jr)?(r.hasDefineEmitCall&&r.error(`duplicate ${Jr}() call`,e),r.hasDefineEmitCall=!0,r.emitsRuntimeDecl=e.arguments[0],e.typeParameters&&(r.emitsRuntimeDecl&&r.error(`${Jr}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,e),r.emitsTypeDecl=e.typeParameters.params[0]),t&&(r.emitIdentifier=t.type==="Identifier"?t.name:r.getString(t)),!0):!1}function VO(r){let e="";if(r.emitsRuntimeDecl)e=r.getString(r.emitsRuntimeDecl).trim();else if(r.emitsTypeDecl){let t=zO(r);e=t.size?`[${Array.from(t).map(s=>JSON.stringify(s)).join(", ")}]`:""}if(r.hasDefineModelCall){let t=`[${Object.keys(r.modelDecls).map(s=>JSON.stringify(`update:${s}`)).join(", ")}]`;e=e?`${r.helper("mergeModels")}(${e}, ${t})`:t}return e}function zO(r){let e=new Set,t=r.emitsTypeDecl;if(t.type==="TSFunctionType")return H0(r,t.parameters[0],e),e;let{props:s,calls:i}=We(r,t),n=!1;for(let a in s)e.add(a),n=!0;if(i){n&&r.error("defineEmits() type cannot mixed call signature and property syntax.",t);for(let a of i)H0(r,a.parameters[0],e)}return e}function H0(r,e,t){if(e.type==="Identifier"&&e.typeAnnotation&&e.typeAnnotation.type==="TSTypeAnnotation"){let s=q0(r,e.typeAnnotation.typeAnnotation);for(let i of s)i.type==="TSLiteralType"&&i.literal.type!=="UnaryExpression"&&i.literal.type!=="TemplateLiteral"&&t.add(String(i.literal.value))}}var Bo="defineExpose";function WO(r,e){return Je(e,Bo)?(r.hasDefineExposeCall&&r.error(`duplicate ${Bo}() call`,e),r.hasDefineExposeCall=!0,!0):!1}var Uo="defineSlots";function K0(r,e,t){return Je(e,Uo)?(r.hasDefineSlotsCall&&r.error(`duplicate ${Uo}() call`,e),r.hasDefineSlotsCall=!0,e.arguments.length>0&&r.error(`${Uo}() cannot accept arguments`,e),t&&r.s.overwrite(r.startOffset+e.start,r.startOffset+e.end,`${r.helper("useSlots")}()`),!0):!1}var cr="defineOptions";function Y0(r,e){if(!Je(e,cr))return!1;if(r.hasDefineOptionsCall&&r.error(`duplicate ${cr}() call`,e),e.typeParameters&&r.error(`${cr}() cannot accept type arguments`,e),!e.arguments[0])return!0;r.hasDefineOptionsCall=!0,r.optionsRuntimeDecl=Dt(e.arguments[0]);let t,s,i,n;if(r.optionsRuntimeDecl.type==="ObjectExpression")for(let a of r.optionsRuntimeDecl.properties)(a.type==="ObjectProperty"||a.type==="ObjectMethod")&&a.key.type==="Identifier"&&(a.key.name==="props"&&(t=a),a.key.name==="emits"&&(s=a),a.key.name==="expose"&&(i=a),a.key.name==="slots"&&(n=a));return t&&r.error(`${cr}() cannot be used to declare props. Use ${Be}() instead.`,t),s&&r.error(`${cr}() cannot be used to declare emits. Use ${Jr}() instead.`,s),i&&r.error(`${cr}() cannot be used to declare expose. Use ${Bo}() instead.`,i),n&&r.error(`${cr}() cannot be used to declare slots. Use ${Uo}() instead.`,n),!0}function GO(r,e,t,s){let i=e.argument.extra&&e.argument.extra.parenthesized?e.argument.extra.parenStart:e.argument.start,n=r.startOffset,a=r.descriptor.source.slice(i+n,e.argument.end+n),o=/\bawait\b/.test(a);r.s.overwrite(e.start+n,i+n,`${t?";":""}(
135
+ ([__temp,__restore] = ${r.helper("withAsyncContext")}(${o?"async ":""}() => `),r.s.appendLeft(e.end+n,`)),
136
+ ${s?"":"__temp = "}await __temp,
137
+ __restore()${s?"":`,
138
+ __temp`}
139
+ )`)}var HO=Object.defineProperty,KO=Object.defineProperties,YO=Object.getOwnPropertyDescriptors,J0=Object.getOwnPropertySymbols,JO=Object.prototype.hasOwnProperty,QO=Object.prototype.propertyIsEnumerable,Q0=(r,e,t)=>e in r?HO(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,vn=(r,e)=>{for(var t in e||(e={}))JO.call(e,t)&&Q0(r,t,e[t]);if(J0)for(var t of J0(e))QO.call(e,t)&&Q0(r,t,e[t]);return r},Dp=(r,e)=>KO(r,YO(e));function XO(r,e){var t;e.id||Gr("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");let s=new _0(r,e),{script:i,scriptSetup:n,source:a,filename:o}=r,l=e.hoistStatic!==!1&&!i,u=e.id?e.id.replace(/^data-v-/,""):"",c=i&&i.lang,p=n&&n.lang,h=!!e.reactivityTransform,f;if(!n){if(!i)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");return lO(s,u)}if(i&&c!==p)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(p&&!s.isJS&&!s.isTS)return n;let g=Object.create(null),d=Object.create(null),m,y=!1,E=!1,S=s.startOffset,v=s.endOffset,b=i&&i.loc.start.offset,I=i&&i.loc.end.offset;function O(x){let L=x.start+S,_=x.end+S;for(x.trailingComments&&x.trailingComments.length>0&&(_=x.trailingComments[x.trailingComments.length-1].end+S);_<=a.length&&/\s/.test(a.charAt(_));)_++;s.s.move(L,_,0)}function w(x,L,_,N,F,D){let z=D;D&&s.isTS&&r.template&&!r.template.src&&!r.template.lang&&(z=$d(L,r)),s.userImports[L]={isType:N,imported:_,local:L,source:x,isFromSetup:F,isUsedInTemplate:z}}function P(x,L){!x||Oi(x,_=>{let N=d[_.name];N&&N!=="literal-const"&&s.error(`\`${L}()\` 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.`,_)})}let T=s.scriptAst,C=s.scriptSetupAst;if(T){for(let x of T.body)if(x.type==="ImportDeclaration")for(let L of x.specifiers){let _=ku(L);w(x.source.value,L.local.name,_,x.importKind==="type"||L.type==="ImportSpecifier"&&L.importKind==="type",!1,!e.inlineTemplate)}}for(let x of C.body)if(x.type==="ImportDeclaration"){O(x);let L=0,_=N=>{let F=N>L;L++;let D=x.specifiers[N],z=x.specifiers[N+1];s.s.remove(F?x.specifiers[N-1].end+S:D.start+S,z&&!F?z.start+S:D.end+S)};for(let N=0;N<x.specifiers.length;N++){let F=x.specifiers[N],D=F.local.name,z=ku(F),te=x.source.value,re=s.userImports[D];te==="vue"&&(z===Be||z===Jr||z===Bo)?(Gr(`\`${z}\` is a compiler macro and no longer needs to be imported.`),_(N)):re?re.source===te&&re.imported===z?_(N):s.error("different imports aliased to same local name.",F):w(te,D,z,x.importKind==="type"||F.type==="ImportSpecifier"&&F.importKind==="type",!0,!e.inlineTemplate)}x.specifiers.length&&L===x.specifiers.length&&s.s.remove(x.start+S,x.end+S)}let B={};for(let x in s.userImports){let{source:L,imported:_,local:N}=s.userImports[x];L==="vue"&&(B[_]=N)}if(i&&T){for(let x of T.body)if(x.type==="ExportDefaultDeclaration"){m=x;let L;if(m.declaration.type==="ObjectExpression"?L=m.declaration.properties:m.declaration.type==="CallExpression"&&m.declaration.arguments[0]&&m.declaration.arguments[0].type==="ObjectExpression"&&(L=m.declaration.arguments[0].properties),L)for(let F of L)F.type==="ObjectProperty"&&F.key.type==="Identifier"&&F.key.name==="name"&&(s.hasDefaultExportName=!0),(F.type==="ObjectMethod"||F.type==="ObjectProperty")&&F.key.type==="Identifier"&&F.key.name==="render"&&(s.hasDefaultExportRender=!0);let _=x.start+b,N=x.declaration.start+b;s.s.overwrite(_,N,`const ${Ks} = `)}else if(x.type==="ExportNamedDeclaration"){let L=x.specifiers.find(_=>_.exported.type==="Identifier"&&_.exported.name==="default");L&&(m=x,x.specifiers.length>1?s.s.remove(L.start+b,L.end+b):s.s.remove(x.start+b,x.end+b),x.source?s.s.prepend(`import { ${L.local.name} as ${Ks} } from '${x.source.value}'
140
+ `):s.s.appendLeft(I,`
141
+ const ${Ks} = ${L.local.name}
142
+ `)),x.declaration&&Mp("script",x.declaration,g,B,l)}else(x.type==="VariableDeclaration"||x.type==="FunctionDeclaration"||x.type==="ClassDeclaration"||x.type==="TSEnumDeclaration")&&!x.declare&&Mp("script",x,g,B,l);if(h&&Mo(i.content)){let{rootRefs:x,importedHelpers:L}=yn(T,s.s,b);f=x;for(let _ of L)s.helperImports.add(_)}b>S&&(/\n$/.test(i.content.trim())||s.s.appendLeft(I,`
143
+ `),s.s.move(b,I,0))}for(let x of C.body){if(x.type==="ExpressionStatement"){let _=Dt(x.expression);if(Lp(s,_)||G0(s,_)||Y0(s,_)||K0(s,_))s.s.remove(x.start+S,x.end+S);else if(WO(s,_)){let N=_.callee;s.s.overwrite(N.start+S,N.end+S,"__expose")}else z0(s,_)}if(x.type==="VariableDeclaration"&&!x.declare){let _=x.declarations.length,N=_,F;for(let D=0;D<_;D++){let z=x.declarations[D],te=z.init&&Dt(z.init);if(te){Y0(s,te)&&s.error(`${cr}() has no returning value, it cannot be assigned.`,x);let re=Lp(s,te,z.id),ee=!re&&G0(s,te,z.id);if(!ee&&(K0(s,te,z.id)||z0(s,te,z.id)),re||ee)if(N===1)s.s.remove(x.start+S,x.end+S);else{let de=z.start+S,_e=z.end+S;D===_-1?de=x.declarations[F].end+S:_e=x.declarations[D+1].start+S,s.s.remove(de,_e),N--}else F=D}}}let L=!1;if((x.type==="VariableDeclaration"||x.type==="FunctionDeclaration"||x.type==="ClassDeclaration"||x.type==="TSEnumDeclaration")&&!x.declare&&(L=Mp("scriptSetup",x,d,B,l)),l&&L&&O(x),x.type==="VariableDeclaration"&&!x.declare||x.type.endsWith("Statement")){let _=[C.body];Ii(x,{enter(N,F){if(dt(N)&&this.skip(),N.type==="BlockStatement"&&_.push(N.body),N.type==="AwaitExpression"){y=!0;let z=_[_.length-1].some((te,re)=>(_.length===1||re>0)&&te.type==="ExpressionStatement"&&te.start===N.start);GO(s,N,z,F.type==="ExpressionStatement")}},exit(N){N.type==="BlockStatement"&&_.pop()}})}(x.type==="ExportNamedDeclaration"&&x.exportKind!=="type"||x.type==="ExportAllDeclaration"||x.type==="ExportDefaultDeclaration")&&s.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.",x),s.isTS&&(x.type.startsWith("TS")||x.type==="ExportNamedDeclaration"&&x.exportKind==="type"||x.type==="VariableDeclaration"&&x.declare)&&x.type!=="TSEnumDeclaration"&&O(x)}if(s.propsDestructureDecl&&qO(s,B),h&&(f||Mo(n.content))){let{rootRefs:x,importedHelpers:L}=yn(C,s.s,S,f);f=f?[...f,...x]:x;for(let _ of L)s.helperImports.add(_)}P(s.propsRuntimeDecl,Be),P(s.propsRuntimeDefaults,Be),P(s.propsDestructureDecl,Be),P(s.emitsRuntimeDecl,Jr),P(s.optionsRuntimeDecl,cr),i?S<b?(s.s.remove(0,S),s.s.remove(v,b),s.s.remove(I,a.length)):(s.s.remove(0,b),s.s.remove(I,S),s.s.remove(v,a.length)):(s.s.remove(0,S),s.s.remove(v,a.length)),T&&Object.assign(s.bindingMetadata,P0(T.body));for(let[x,{isType:L,imported:_,source:N}]of Object.entries(s.userImports))L||(s.bindingMetadata[x]=_==="*"||_==="default"&&N.endsWith(".vue")||N==="vue"?"setup-const":"setup-maybe-ref");for(let x in g)s.bindingMetadata[x]=g[x];for(let x in d)s.bindingMetadata[x]=d[x];if(f)for(let x of f)s.bindingMetadata[x]="setup-ref";r.cssVars.length&&!(e.inlineTemplate&&((t=e.templateOptions)==null?void 0:t.ssr))&&(s.helperImports.add(La),s.helperImports.add("unref"),s.s.prependLeft(S,`
144
+ ${Rd(r.cssVars,s.bindingMetadata,u,!!e.isProd)}
145
+ `));let q="__props";if(s.propsTypeDecl&&(q+=": any"),s.propsIdentifier&&s.s.prependLeft(S,`
146
+ const ${s.propsIdentifier} = __props;
147
+ `),s.propsDestructureRestId&&s.s.prependLeft(S,`
148
+ const ${s.propsDestructureRestId} = ${s.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(s.propsDestructuredBindings))});
149
+ `),y){let x=s.isTS?": any":"";s.s.prependLeft(S,`
150
+ let __temp${x}, __restore${x}
151
+ `)}let Q=s.hasDefineExposeCall||!e.inlineTemplate?["expose: __expose"]:[];s.emitIdentifier&&Q.push(s.emitIdentifier==="emit"?"emit":`emit: ${s.emitIdentifier}`),Q.length&&(q+=`, { ${Q.join(", ")} }`);let V;if(!e.inlineTemplate||!r.template&&s.hasDefaultExportRender){let x=vn(vn({},g),d);for(let L in s.userImports)!s.userImports[L].isType&&s.userImports[L].isUsedInTemplate&&(x[L]=!0);V="{ ";for(let L in x)if(x[L]===!0&&s.userImports[L].source!=="vue"&&!s.userImports[L].source.endsWith(".vue"))V+=`get ${L}() { return ${L} }, `;else if(s.bindingMetadata[L]==="setup-let"){let _=L==="v"?"_v":"v";V+=`get ${L}() { return ${L} }, set ${L}(${_}) { ${L} = ${_} }, `}else V+=`${L}, `;V=V.replace(/, $/,"")+" }"}else if(r.template&&!r.template.src){e.templateOptions&&e.templateOptions.ssr&&(E=!0);let{code:x,ast:L,preamble:_,tips:N,errors:F}=xy(Dp(vn({filename:o,source:r.template.content,inMap:r.template.map},e.templateOptions),{id:u,scoped:r.styles.some(z=>z.scoped),isProd:e.isProd,ssrCssVars:r.cssVars,compilerOptions:Dp(vn({},e.templateOptions&&e.templateOptions.compilerOptions),{inline:!0,isTS:s.isTS,bindingMetadata:s.bindingMetadata})}));N.length&&N.forEach(Gr);let D=F[0];if(typeof D=="string")throw new Error(D);if(D)throw D.loc&&(D.message+=`
152
+
153
+ `+r.filename+`
154
+ `+Zr(a,D.loc.start.offset,D.loc.end.offset)+`
155
+ `),D;_&&s.s.prepend(_),L&&L.helpers.has(as)&&s.helperImports.delete("unref"),V=x}else V="() => {}";e.inlineTemplate?s.s.appendRight(v,`
156
+ return ${V}
157
+ }
158
+
159
+ `):s.s.appendRight(v,`
160
+ const __returned__ = ${V}
161
+ Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
162
+ return __returned__
163
+ }
164
+
165
+ `);let J=e.genDefaultAs?`const ${e.genDefaultAs} =`:"export default",ae="";if(!s.hasDefaultExportName&&o&&o!==jd){let x=o.match(/([^/\\]+)\.\w+$/);x&&(ae+=`
166
+ __name: '${x[1]}',`)}E&&(ae+=`
167
+ __ssrInlineRender: true,`);let Ae=MO(s);Ae&&(ae+=`
168
+ props: ${Ae},`);let M=VO(s);M&&(ae+=`
169
+ emits: ${M},`);let R="";s.optionsRuntimeDecl&&(R=n.content.slice(s.optionsRuntimeDecl.start,s.optionsRuntimeDecl.end).trim());let k=s.hasDefineExposeCall||e.inlineTemplate?"":` __expose();
170
+ `;if(s.isTS){let x=(m?`
171
+ ...${Ks},`:"")+(R?`
172
+ ...${R},`:"");s.s.prependLeft(S,`
173
+ ${J} /*#__PURE__*/${s.helper("defineComponent")}({${x}${ae}
174
+ ${y?"async ":""}setup(${q}) {
175
+ ${k}`),s.s.appendRight(v,"})")}else m||R?(s.s.prependLeft(S,`
176
+ ${J} /*#__PURE__*/Object.assign(${m?`${Ks}, `:""}${R?`${R}, `:""}{${ae}
177
+ ${y?"async ":""}setup(${q}) {
178
+ ${k}`),s.s.appendRight(v,"})")):(s.s.prependLeft(S,`
179
+ ${J} {${ae}
180
+ ${y?"async ":""}setup(${q}) {
181
+ ${k}`),s.s.appendRight(v,"}"));return s.helperImports.size>0&&s.s.prepend(`import { ${[...s.helperImports].map(x=>`${x} as _${x}`).join(", ")} } from 'vue'
182
+ `),s.s.trim(),Dp(vn({},n),{bindings:s.bindingMetadata,imports:s.userImports,content:s.s.toString(),map:e.sourceMap!==!1?s.s.generateMap({source:o,hires:!0,includeContent:!0}):void 0,scriptAst:T==null?void 0:T.body,scriptSetupAst:C==null?void 0:C.body,deps:s.deps?[...s.deps]:void 0})}function Js(r,e,t){r[e.name]=t}function Mp(r,e,t,s,i){let n=!1;if(e.type==="VariableDeclaration"){let a=e.kind==="const";n=a&&e.declarations.every(o=>o.id.type==="Identifier"&&_t(o.init));for(let{id:o,init:l}of e.declarations){let u=l&&Dt(l),c=!!(a&&Je(u,p=>p===Be||p===Jr||p===Ys));if(o.type==="Identifier"){let p,h=s.reactive;(i||r==="script")&&(n||a&&_t(u))?p="literal-const":Je(u,h)?p=a?"setup-reactive-const":"setup-let":c||a&&ev(u,h)?p=Je(u,Be)?"setup-reactive-const":"setup-const":a?Je(u,f=>f===s.ref||f===s.computed||f===s.shallowRef||f===s.customRef||f===s.toRef||f===V0)?p="setup-ref":p="setup-maybe-ref":p="setup-let",Js(t,o,p)}else{if(Je(u,Be))continue;o.type==="ObjectPattern"?X0(o,t,a,c):o.type==="ArrayPattern"&&Z0(o,t,a,c)}}}else e.type==="TSEnumDeclaration"?(n=e.members.every(a=>!a.initializer||_t(a.initializer)),t[e.id.name]=n?"literal-const":"setup-const"):(e.type==="FunctionDeclaration"||e.type==="ClassDeclaration")&&(t[e.id.name]="setup-const");return n}function X0(r,e,t,s=!1){for(let i of r.properties)if(i.type==="ObjectProperty")if(i.key.type==="Identifier"&&i.key===i.value){let n=s?"setup-const":t?"setup-maybe-ref":"setup-let";Js(e,i.key,n)}else Rp(i.value,e,t,s);else{let n=t?"setup-const":"setup-let";Js(e,i.argument,n)}}function Z0(r,e,t,s=!1){for(let i of r.elements)i&&Rp(i,e,t,s)}function Rp(r,e,t,s=!1){if(r.type==="Identifier")Js(e,r,s?"setup-const":t?"setup-maybe-ref":"setup-let");else if(r.type==="RestElement"){let i=t?"setup-const":"setup-let";Js(e,r.argument,i)}else if(r.type==="ObjectPattern")X0(r,e,t);else if(r.type==="ArrayPattern")Z0(r,e,t);else if(r.type==="AssignmentPattern")if(r.left.type==="Identifier"){let i=s?"setup-const":t?"setup-maybe-ref":"setup-let";Js(e,r.left,i)}else Rp(r.left,e,t)}function ev(r,e){if(Je(r,e))return!0;switch(r.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return ev(r.expressions[r.expressions.length-1],e);default:return!!Cd(r)}}function _t(r){switch(r=Dt(r),r.type){case"UnaryExpression":return _t(r.argument);case"LogicalExpression":case"BinaryExpression":return _t(r.left)&&_t(r.right);case"ConditionalExpression":return _t(r.test)&&_t(r.consequent)&&_t(r.alternate);case"SequenceExpression":case"TemplateLiteral":return r.expressions.every(e=>_t(e));case"ParenthesizedExpression":return _t(r.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}var ZO="3.3.4",eN=Ii;return tN;})();
183
+ /*!
184
+ * The buffer module from node.js, for the browser.
185
+ *
186
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
187
+ * @license MIT
188
+ */
189
+ /*! https://mths.be/cssesc v3.0.0 by @mathias */
190
+ /*! https://mths.be/punycode v1.4.1 by @mathias */