@skaldapp/runtime 3.4.6 → 3.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +1 -1
- package/dist/assets/ajv-CsmIXRur.js +8 -0
- package/dist/assets/compiler-sfc-NBc-UVgb.js +172 -0
- package/dist/assets/{es-module-shims-2.8.1.js → es-module-shims-2.8.2.js} +141 -140
- package/dist/assets/{esprima-Xpg5-5hF.js → esprima-D51ZrOTQ.js} +2 -2
- package/dist/assets/index-DBedd2td.js +127 -0
- package/dist/assets/{katex-C0WNcJVG.js → katex-D7TCrkvT.js} +6 -6
- package/dist/assets/{markdown-ew0isFvs.js → markdown-BUPhMiJ2.js} +3 -3
- package/dist/assets/{sucrase-qAFuHT5W.js → sucrase-h5FT47O2.js} +4 -4
- package/dist/assets/unocss-CorWKaFq.js +424 -0
- package/dist/assets/vue-router.esm-browser.prod-5.2.0.js +6 -0
- package/dist/assets/vue.esm-browser.prod-3.5.40.js +13 -0
- package/dist/index.html +12 -11
- package/package.json +20 -20
- package/dist/assets/index-BuHbj0cP.js +0 -126
- package/dist/assets/unocss-B8sMP4xi.js +0 -424
- package/dist/assets/vue-4mstUQjK.js +0 -172
- package/dist/assets/vue-router.esm-browser.prod-5.1.0.js +0 -6
- package/dist/assets/vue.esm-browser.prod-3.5.39.js +0 -13
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-DAXXjFlN.js";import{i as t}from"./markdown-ew0isFvs.js";import{computed as n,customRef as r,getCurrentScope as i,initDirectivesForSSR as a,isRef as o,nextTick as s,onScopeDispose as c,reactive as l,readonly as u,ref as d,shallowReadonly as f,shallowRef as p,ssrUtils as m,toRef as h,toValue as g,unref as _,watch as v}from"vue";function y(e,t){return i()?(c(e,t),!0):!1}function b(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return y(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}var x=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var S=()=>{};function C(...e){if(e.length!==1)return h(...e);let t=e[0];return typeof t==`function`?u(r(()=>({get:t,set:S}))):d(t)}function w(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(i,e,n):setTimeout(r,e)})}function T(e,...t){return t.some(t=>t in e)}function E(e){return o(e)?l(new Proxy({},{get(t,n,r){return _(Reflect.get(e.value,n,r))},set(t,n,r){return o(e.value[n])&&!o(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):l(e)}function ee(e,t=!1){function n(n,{flush:r=`sync`,deep:i=!1,timeout:a,throwOnTimeout:o}={}){let c=null,l=[new Promise(a=>{c=v(e,e=>{n(e)!==t&&(c?c():s(()=>c?.()),a(e))},{flush:r,deep:i,immediate:!0})})];return a!=null&&l.push(w(a,o).then(()=>g(e)).finally(()=>c?.())),Promise.race(l)}function r(r,i){if(!o(r))return n(e=>e===r,i);let{flush:a=`sync`,deep:c=!1,timeout:l,throwOnTimeout:u}=i??{},d=null,f=[new Promise(n=>{d=v([e,r],([e,r])=>{t!==(e===r)&&(d?d():s(()=>d?.()),n(e))},{flush:a,deep:c,immediate:!0})})];return l!=null&&f.push(w(l,u).then(()=>g(e)).finally(()=>(d?.(),g(e)))),Promise.race(f)}function i(e){return n(e=>!!e,e)}function a(e){return r(null,e)}function c(e){return r(void 0,e)}function l(e){return n(Number.isNaN,e)}function u(e,t){return n(t=>{let n=Array.from(t);return n.includes(e)||n.includes(g(e))},t)}function d(e){return f(1,e)}function f(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}return Array.isArray(g(e))?{toMatch:n,toContains:u,changed:d,changedTimes:f,get not(){return ee(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:i,toBeNull:a,toBeNaN:l,toBeUndefined:c,changed:d,changedTimes:f,get not(){return ee(e,!t)}}}function D(e){return ee(e)}function O(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=p(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},g(t))}return r&&(a.value=!0,x&&l()),y(c),{isPending:f(a),start:l,stop:c}}var k=x?window:void 0;x&&window.document,x&&window.navigator,x&&window.location;var A={json:`application/json`,text:`text/plain`};function te(e){return e&&T(e,`immediate`,`refetch`,`initialData`,`timeout`,`beforeFetch`,`afterFetch`,`onFetchError`,`fetch`,`updateDataOnError`)}function ne(e){return typeof Headers<`u`&&e instanceof Headers?Object.fromEntries(e.entries()):e}function re(e,...t){let r=typeof AbortController==`function`,i={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1},s={method:`GET`,type:`text`,payload:void 0};t.length>0&&(te(t[0])?a={...a,...t[0]}:i=t[0]),t.length>1&&te(t[1])&&(a={...a,...t[1]});let{fetch:c=k?.fetch??globalThis?.fetch,initialData:l,timeout:u}=a,d=b(),m=b(),h=b(),_=p(!1),y=p(!1),x=p(!1),S=p(null),w=p(null),T=p(null),E=p(l||null),ee=n(()=>r&&y.value),re,ie,j=e=>{r&&(re?.abort(e),re=new AbortController,re.signal.onabort=()=>x.value=!0,i={...i,signal:re.signal})},M=e=>{y.value=e,_.value=!e};u&&(ie=O(j,u,{immediate:!1}));let N=0,ae=async(t=!1)=>{j(),M(!0),T.value=null,S.value=null,x.value=!1,N+=1;let n=N,r={method:s.method,headers:{}},o=g(s.payload);if(o){let e=ne(r.headers),t=Object.getPrototypeOf(o);!s.payloadType&&o&&(t===Object.prototype||Array.isArray(t))&&!(o instanceof FormData)&&(s.payloadType=`json`),s.payloadType&&(e[`Content-Type`]=A[s.payloadType]??s.payloadType),r.body=s.payloadType===`json`?JSON.stringify(o):o}let u=!1,f={url:g(e),options:{...r,...i},cancel:()=>{u=!0}};if(a.beforeFetch&&Object.assign(f,await a.beforeFetch(f)),u||!c)return M(!1),Promise.resolve(null);let p=null;return ie&&ie.start(),c(f.url,{...r,...f.options,headers:{...ne(r.headers),...ne(f.options?.headers)}}).then(async e=>{if(w.value=e,S.value=e.status,p=await e.clone()[s.type](),!e.ok)throw E.value=l||null,Error(e.statusText);return a.afterFetch&&({data:p}=await a.afterFetch({data:p,response:e,context:f,execute:ae})),E.value=p,d.trigger(e),e}).catch(async e=>{let n=e.message||e.name;if(a.onFetchError&&({error:n,data:p}=await a.onFetchError({data:p,error:e,response:w.value,context:f,execute:ae})),T.value=n,a.updateDataOnError&&(E.value=p),m.trigger(e),t)throw e;return null}).finally(()=>{n===N&&M(!1),ie&&ie.stop(),h.trigger(null)})},P=C(a.refetch);v([P,C(e)],([e])=>e&&ae(),{deep:!0});let oe={isFinished:f(_),isFetching:f(y),statusCode:S,response:w,error:T,data:E,canAbort:ee,aborted:x,abort:j,execute:ae,onFetchResponse:d.on,onFetchError:m.on,onFetchFinally:h.on,get:se(`GET`),put:se(`PUT`),post:se(`POST`),delete:se(`DELETE`),patch:se(`PATCH`),head:se(`HEAD`),options:se(`OPTIONS`),json:F(`json`),text:F(`text`),blob:F(`blob`),arrayBuffer:F(`arrayBuffer`),formData:F(`formData`)};function se(e){return(t,n)=>{if(!y.value)return s.method=e,s.payload=t,s.payloadType=n,o(s.payload)&&v([P,C(s.payload)],([e])=>e&&ae(),{deep:!0}),{...oe,then(e,t){return ce().then(e,t)}}}}function ce(){return new Promise((e,t)=>{D(_).toBe(!0).then(()=>e(oe)).catch(t)})}function F(e){return()=>{if(!y.value)return s.type=e,{...oe,then(e,t){return ce().then(e,t)}}}}return a.immediate&&Promise.resolve().then(()=>ae()),{...oe,then(e,t){return ce().then(e,t)}}}var ie=t();function j(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var M=Object.freeze({}),N=()=>{},ae=()=>!1,P=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),oe=Object.assign,se=Object.prototype.hasOwnProperty,ce=(e,t)=>se.call(e,t),F=Array.isArray,le=e=>he(e)===`[object Map]`,ue=e=>he(e)===`[object Set]`,de=e=>typeof e==`function`,I=e=>typeof e==`string`,fe=e=>typeof e==`symbol`,pe=e=>typeof e==`object`&&!!e,me=Object.prototype.toString,he=e=>me.call(e),ge=e=>he(e)===`[object Object]`,_e=j(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ve=j(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),ye=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},be=/-\w/g,xe=ye(e=>e.replace(be,e=>e.slice(1).toUpperCase())),Se=/\B([A-Z])/g,Ce=ye(e=>e.replace(Se,`-$1`).toLowerCase()),we=ye(e=>e.charAt(0).toUpperCase()+e.slice(1)),Te=ye(e=>e?`on${we(e)}`:``),Ee=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function De(e){return Ee.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function Oe(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}var ke={1:`TEXT`,2:`CLASS`,4:`STYLE`,8:`PROPS`,16:`FULL_PROPS`,32:`NEED_HYDRATION`,64:`STABLE_FRAGMENT`,128:`KEYED_FRAGMENT`,256:`UNKEYED_FRAGMENT`,512:`NEED_PATCH`,1024:`DYNAMIC_SLOTS`,2048:`DEV_ROOT_FRAGMENT`,[-1]:`CACHED`,[-2]:`BAIL`},Ae={1:`STABLE`,2:`DYNAMIC`,3:`FORWARDED`},je=j(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`),Me=2;function Ne(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return``;let r=e.split(/(\r?\n)/),i=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let a=0,o=[];for(let e=0;e<r.length;e++)if(a+=r[e].length+(i[e]&&i[e].length||0),a>=t){for(let s=e-Me;s<=e+Me||n>a;s++){if(s<0||s>=r.length)continue;let c=s+1;o.push(`${c}${` `.repeat(Math.max(3-String(c).length,0))}| ${r[s]}`);let l=r[s].length,u=i[s]&&i[s].length||0;if(s===e){let e=t-(a-(l+u)),r=Math.max(1,n>a?l-e:n-t);o.push(` | `+` `.repeat(e)+`^`.repeat(r))}else if(s>e){if(n>a){let e=Math.max(Math.min(n-a,l),1);o.push(` | `+`^`.repeat(e))}a+=l+u}}break}return o.join(`
|
|
2
|
-
`)}function Pe(e){if(F(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=I(r)?Re(r):Pe(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(I(e)||pe(e))return e}var Fe=/;(?![^(]*\))/g,Ie=/:([^]+)/,Le=/\/\*[^]*?\*\//g;function Re(e){let t={};return e.replace(Le,``).split(Fe).forEach(e=>{if(e){let n=e.split(Ie);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ze(e){if(!e)return``;if(I(e))return e;let t=``;for(let n in e){let r=e[n];if(I(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:Ce(n);t+=`${e}:${r};`}}return t}function Be(e){let t=``;if(I(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){let r=Be(e[n]);r&&(t+=r+` `)}else if(pe(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var Ve=`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`,He=`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`,Ue=`annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics`,We=`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`,Ge=j(Ve),Ke=j(He),qe=j(Ue),Je=j(We),L=j(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`),Ye=/[>/="'\u0009\u000a\u000c\u0020]/,Xe={};function Ze(e){if(Xe.hasOwnProperty(e))return Xe[e];let t=Ye.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Xe[e]=!t}var Qe={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`},$e=j(`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`),et=j(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`),tt=j(`accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`),nt=/["'&<>]/;function rt(e){let t=``+e,n=nt.exec(t);if(!n)return t;let r=``,i,a,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i=`"`;break;case 38:i=`&`;break;case 39:i=`'`;break;case 60:i=`<`;break;case 62:i=`>`;break;default:continue}o!==a&&(r+=t.slice(o,a)),o=a+1,r+=i}return o===a?r:r+t.slice(o,a)}var it=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function at(e,t){return e.replace(it,e=>t?e===`"`?`\\\\\\"`:`\\\\${e}`:`\\${e}`)}var ot=e=>!!(e&&e.__v_isRef===!0),st=e=>I(e)?e:e==null?``:F(e)||pe(e)&&(e.toString===me||!de(e.toString))?ot(e)?st(e.value):JSON.stringify(e,ct,2):String(e),ct=(e,t)=>ot(t)?ct(e,t.value):le(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[lt(t,r)+` =>`]=n,e),{})}:ue(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>lt(e))}:fe(t)?lt(t):pe(t)&&!F(t)&&!ge(t)?String(t):t,lt=(e,t=``)=>fe(e)?`Symbol(${e.description??t})`:e,ut=Symbol(`Fragment`),dt=Symbol(`Teleport`),ft=Symbol(`Suspense`),pt=Symbol(`KeepAlive`),mt=Symbol(`BaseTransition`),ht=Symbol(`openBlock`),gt=Symbol(`createBlock`),_t=Symbol(`createElementBlock`),vt=Symbol(`createVNode`),yt=Symbol(`createElementVNode`),bt=Symbol(`createCommentVNode`),xt=Symbol(`createTextVNode`),St=Symbol(`createStaticVNode`),Ct=Symbol(`resolveComponent`),wt=Symbol(`resolveDynamicComponent`),Tt=Symbol(`resolveDirective`),Et=Symbol(`resolveFilter`),Dt=Symbol(`withDirectives`),Ot=Symbol(`renderList`),kt=Symbol(`renderSlot`),At=Symbol(`createSlots`),jt=Symbol(`toDisplayString`),Mt=Symbol(`mergeProps`),Nt=Symbol(`normalizeClass`),Pt=Symbol(`normalizeStyle`),Ft=Symbol(`normalizeProps`),It=Symbol(`guardReactiveProps`),Lt=Symbol(`toHandlers`),Rt=Symbol(`camelize`),zt=Symbol(`capitalize`),Bt=Symbol(`toHandlerKey`),Vt=Symbol(`setBlockTracking`),Ht=Symbol(`pushScopeId`),Ut=Symbol(`popScopeId`),Wt=Symbol(`withCtx`),Gt=Symbol(`unref`),Kt=Symbol(`isRef`),qt=Symbol(`withMemo`),Jt=Symbol(`isMemoSame`),Yt={[ut]:`Fragment`,[dt]:`Teleport`,[ft]:`Suspense`,[pt]:`KeepAlive`,[mt]:`BaseTransition`,[ht]:`openBlock`,[gt]:`createBlock`,[_t]:`createElementBlock`,[vt]:`createVNode`,[yt]:`createElementVNode`,[bt]:`createCommentVNode`,[xt]:`createTextVNode`,[St]:`createStaticVNode`,[Ct]:`resolveComponent`,[wt]:`resolveDynamicComponent`,[Tt]:`resolveDirective`,[Et]:`resolveFilter`,[Dt]:`withDirectives`,[Ot]:`renderList`,[kt]:`renderSlot`,[At]:`createSlots`,[jt]:`toDisplayString`,[Mt]:`mergeProps`,[Nt]:`normalizeClass`,[Pt]:`normalizeStyle`,[Ft]:`normalizeProps`,[It]:`guardReactiveProps`,[Lt]:`toHandlers`,[Rt]:`camelize`,[zt]:`capitalize`,[Bt]:`toHandlerKey`,[Vt]:`setBlockTracking`,[Ht]:`pushScopeId`,[Ut]:`popScopeId`,[Wt]:`withCtx`,[Gt]:`unref`,[Kt]:`isRef`,[qt]:`withMemo`,[Jt]:`isMemoSame`};function Xt(e){Object.getOwnPropertySymbols(e).forEach(t=>{Yt[t]=e[t]})}var Zt={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},Qt={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},$t={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},en={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},R={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function tn(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:R}}function nn(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=R){return e&&(s?(e.helper(ht),e.helper(vn(e.inSSR,l))):e.helper(_n(e.inSSR,l)),o&&e.helper(Dt)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function rn(e,t=R){return{type:17,loc:t,elements:e}}function an(e,t=R){return{type:15,loc:t,properties:e}}function z(e,t){return{type:16,loc:R,key:I(e)?B(e,!0):e,value:t}}function B(e,t=!1,n=R,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function on(e,t){return{type:5,loc:t,content:I(e)?B(e,!1,t):e}}function sn(e,t=R){return{type:8,loc:t,children:e}}function V(e,t=[],n=R){return{type:14,loc:n,callee:e,arguments:t}}function cn(e,t=void 0,n=!1,r=!1,i=R){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function ln(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:R}}function un(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:R}}function dn(e){return{type:21,body:e,loc:R}}function fn(e){return{type:22,elements:e,loc:R}}function pn(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:R}}function mn(e,t){return{type:24,left:e,right:t,loc:R}}function hn(e){return{type:25,expressions:e,loc:R}}function gn(e){return{type:26,returns:e,loc:R}}function _n(e,t){return e||t?vt:yt}function vn(e,t){return e||t?gt:_t}function yn(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(_n(r,e.isComponent)),t(ht),t(vn(r,e.isComponent)))}var bn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),xn=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function Sn(e){return e>=55296&&e<=57343||e>1114111?65533:bn.get(e)??e}var Cn=typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{},wn=[],Tn=[],En=typeof Uint8Array<`u`?Uint8Array:Array,Dn=!1;function On(){Dn=!0;for(var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,t=0,n=e.length;t<n;++t)wn[t]=e[t],Tn[e.charCodeAt(t)]=t;Tn[45]=62,Tn[95]=63}function kn(e){Dn||On();var t,n,r,i,a,o,s=e.length;if(s%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);a=e[s-2]===`=`?2:+(e[s-1]===`=`),o=new En(s*3/4-a),r=a>0?s-4:s;var c=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Tn[e.charCodeAt(t)]<<18|Tn[e.charCodeAt(t+1)]<<12|Tn[e.charCodeAt(t+2)]<<6|Tn[e.charCodeAt(t+3)],o[c++]=i>>16&255,o[c++]=i>>8&255,o[c++]=i&255;return a===2?(i=Tn[e.charCodeAt(t)]<<2|Tn[e.charCodeAt(t+1)]>>4,o[c++]=i&255):a===1&&(i=Tn[e.charCodeAt(t)]<<10|Tn[e.charCodeAt(t+1)]<<4|Tn[e.charCodeAt(t+2)]>>2,o[c++]=i>>8&255,o[c++]=i&255),o}function An(e){return wn[e>>18&63]+wn[e>>12&63]+wn[e>>6&63]+wn[e&63]}function jn(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(An(r));return i.join(``)}function Mn(e){Dn||On();for(var t,n=e.length,r=n%3,i=``,a=[],o=16383,s=0,c=n-r;s<c;s+=o)a.push(jn(e,s,s+o>c?c:s+o));return r===1?(t=e[n-1],i+=wn[t>>2],i+=wn[t<<4&63],i+=`==`):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=wn[t>>10],i+=wn[t>>4&63],i+=wn[t<<2&63],i+=`=`),a.push(i),a.join(``)}function Nn(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)}function Pn(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128}var Fn={}.toString,In=Array.isArray||function(e){return Fn.call(e)==`[object Array]`},Ln=50;H.TYPED_ARRAY_SUPPORT=Cn.TYPED_ARRAY_SUPPORT===void 0?!0:Cn.TYPED_ARRAY_SUPPORT,Rn();function Rn(){return H.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function zn(e,t){if(Rn()<t)throw RangeError(`Invalid typed array length`);return H.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=H.prototype):(e===null&&(e=new H(t)),e.length=t),e}function H(e,t,n){if(!H.TYPED_ARRAY_SUPPORT&&!(this instanceof H))return new H(e,t,n);if(typeof e==`number`){if(typeof t==`string`)throw Error(`If encoding is specified then the first argument must be a string`);return Un(this,e)}return Bn(this,e,t,n)}H.poolSize=8192,H._augment=function(e){return e.__proto__=H.prototype,e};function Bn(e,t,n,r){if(typeof t==`number`)throw TypeError(`"value" argument must not be a number`);return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer?Kn(e,t,n,r):typeof t==`string`?Wn(e,t,n):qn(e,t)}H.from=function(e,t,n){return Bn(null,e,t,n)},H.TYPED_ARRAY_SUPPORT&&(H.prototype.__proto__=Uint8Array.prototype,H.__proto__=Uint8Array,typeof Symbol<`u`&&Symbol.species&&H[Symbol.species]);function Vn(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be a number`);if(e<0)throw RangeError(`"size" argument must not be negative`)}function Hn(e,t,n,r){return Vn(t),t<=0||n===void 0?zn(e,t):typeof r==`string`?zn(e,t).fill(n,r):zn(e,t).fill(n)}H.alloc=function(e,t,n){return Hn(null,e,t,n)};function Un(e,t){if(Vn(t),e=zn(e,t<0?0:Jn(t)|0),!H.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}H.allocUnsafe=function(e){return Un(null,e)},H.allocUnsafeSlow=function(e){return Un(null,e)};function Wn(e,t,n){if((typeof n!=`string`||n===``)&&(n=`utf8`),!H.isEncoding(n))throw TypeError(`"encoding" must be a valid string encoding`);var r=Xn(t,n)|0;e=zn(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function Gn(e,t){var n=t.length<0?0:Jn(t.length)|0;e=zn(e,n);for(var r=0;r<n;r+=1)e[r]=t[r]&255;return e}function Kn(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw RangeError(`'offset' is out of bounds`);if(t.byteLength<n+(r||0))throw RangeError(`'length' is out of bounds`);return t=n===void 0&&r===void 0?new Uint8Array(t):r===void 0?new Uint8Array(t,n):new Uint8Array(t,n,r),H.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=H.prototype):e=Gn(e,t),e}function qn(e,t){if(Yn(t)){var n=Jn(t.length)|0;return e=zn(e,n),e.length===0||t.copy(e,0,0,n),e}if(t){if(typeof ArrayBuffer<`u`&&t.buffer instanceof ArrayBuffer||`length`in t)return typeof t.length!=`number`||jr(t.length)?zn(e,0):Gn(e,t);if(t.type===`Buffer`&&In(t.data))return Gn(e,t.data)}throw TypeError(`First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.`)}function Jn(e){if(e>=Rn())throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+Rn().toString(16)+` bytes`);return e|0}H.isBuffer=Mr;function Yn(e){return!!(e!=null&&e._isBuffer)}H.compare=function(e,t){if(!Yn(e)||!Yn(t))throw TypeError(`Arguments must be Buffers`);if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},H.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},H.concat=function(e,t){if(!In(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return H.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=H.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!Yn(a))throw TypeError(`"list" argument must be an Array of Buffers`);a.copy(r,i),i+=a.length}return r};function Xn(e,t){if(Yn(e))return e.length;if(typeof ArrayBuffer<`u`&&typeof ArrayBuffer.isView==`function`&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!=`string`&&(e=``+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:case void 0:return Er(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return kr(e).length;default:if(r)return Er(e).length;t=(``+t).toLowerCase(),r=!0}}H.byteLength=Xn;function Zn(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return pr(this,t,n);case`utf8`:case`utf-8`:return cr(this,t,n);case`ascii`:return dr(this,t,n);case`latin1`:case`binary`:return fr(this,t,n);case`base64`:return sr(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return mr(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}H.prototype._isBuffer=!0;function Qn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}H.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(var t=0;t<e;t+=2)Qn(this,t,t+1);return this},H.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(var t=0;t<e;t+=4)Qn(this,t,t+3),Qn(this,t+1,t+2);return this},H.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(var t=0;t<e;t+=8)Qn(this,t,t+7),Qn(this,t+1,t+6),Qn(this,t+2,t+5),Qn(this,t+3,t+4);return this},H.prototype.toString=function(){var e=this.length|0;return e===0?``:arguments.length===0?cr(this,0,e):Zn.apply(this,arguments)},H.prototype.equals=function(e){if(!Yn(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:H.compare(this,e)===0},H.prototype.inspect=function(){var e=``,t=Ln;return this.length>0&&(e=this.toString(`hex`,0,t).match(/.{2}/g).join(` `),this.length>t&&(e+=` ... `)),`<Buffer `+e+`>`},H.prototype.compare=function(e,t,n,r,i){if(!Yn(e))throw TypeError(`Argument must be a Buffer`);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),u=0;u<s;++u)if(c[u]!==l[u]){a=c[u],o=l[u];break}return a<o?-1:+(o<a)};function $n(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=H.from(t,r)),Yn(t))return t.length===0?-1:er(e,t,n,r,i);if(typeof t==`number`)return t&=255,H.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):er(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function er(e,t,n,r,i){var a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}var l;if(i){var u=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===s)return u*a}else u!==-1&&(l-=l-u),u=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){for(var d=!0,f=0;f<s;f++)if(c(e,l+f)!==c(t,f)){d=!1;break}if(d)return l}return-1}H.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},H.prototype.indexOf=function(e,t,n){return $n(this,e,t,n,!0)},H.prototype.lastIndexOf=function(e,t,n){return $n(this,e,t,n,!1)};function tr(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var a=t.length;if(a%2!=0)throw TypeError(`Invalid hex string`);r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(o*2,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function nr(e,t,n,r){return Ar(Er(t,e.length-n),e,n,r)}function rr(e,t,n,r){return Ar(Dr(t),e,n,r)}function ir(e,t,n,r){return rr(e,t,n,r)}function ar(e,t,n,r){return Ar(kr(t),e,n,r)}function or(e,t,n,r){return Ar(Or(t,e.length-n),e,n,r)}H.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t|=0,isFinite(n)?(n|=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;for(var a=!1;;)switch(r){case`hex`:return tr(this,e,t,n);case`utf8`:case`utf-8`:return nr(this,e,t,n);case`ascii`:return rr(this,e,t,n);case`latin1`:case`binary`:return ir(this,e,t,n);case`base64`:return ar(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return or(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},H.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function sr(e,t,n){return t===0&&n===e.length?Mn(e):Mn(e.slice(t,n))}function cr(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a=e[i],o=null,s=a>239?4:a>223?3:a>191?2:1;if(i+s<=n){var c,l,u,d;switch(s){case 1:a<128&&(o=a);break;case 2:c=e[i+1],(c&192)==128&&(d=(a&31)<<6|c&63,d>127&&(o=d));break;case 3:c=e[i+1],l=e[i+2],(c&192)==128&&(l&192)==128&&(d=(a&15)<<12|(c&63)<<6|l&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:c=e[i+1],l=e[i+2],u=e[i+3],(c&192)==128&&(l&192)==128&&(u&192)==128&&(d=(a&15)<<18|(c&63)<<12|(l&63)<<6|u&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),i+=s}return ur(r)}var lr=4096;function ur(e){var t=e.length;if(t<=lr)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=lr));return n}function dr(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function fr(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function pr(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i=``,a=t;a<n;++a)i+=Tr(e[a]);return i}function mr(e,t,n){for(var r=e.slice(t,n),i=``,a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+r[a+1]*256);return i}H.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var r;if(H.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=H.prototype;else{var i=t-e;r=new H(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r};function hr(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}H.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||hr(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},H.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||hr(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},H.prototype.readUInt8=function(e,t){return t||hr(e,1,this.length),this[e]},H.prototype.readUInt16LE=function(e,t){return t||hr(e,2,this.length),this[e]|this[e+1]<<8},H.prototype.readUInt16BE=function(e,t){return t||hr(e,2,this.length),this[e]<<8|this[e+1]},H.prototype.readUInt32LE=function(e,t){return t||hr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},H.prototype.readUInt32BE=function(e,t){return t||hr(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},H.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||hr(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},H.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||hr(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},H.prototype.readInt8=function(e,t){return t||hr(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},H.prototype.readInt16LE=function(e,t){t||hr(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},H.prototype.readInt16BE=function(e,t){t||hr(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},H.prototype.readInt32LE=function(e,t){return t||hr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},H.prototype.readInt32BE=function(e,t){return t||hr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},H.prototype.readFloatLE=function(e,t){return t||hr(e,4,this.length),Nn(this,e,!0,23,4)},H.prototype.readFloatBE=function(e,t){return t||hr(e,4,this.length),Nn(this,e,!1,23,4)},H.prototype.readDoubleLE=function(e,t){return t||hr(e,8,this.length),Nn(this,e,!0,52,8)},H.prototype.readDoubleBE=function(e,t){return t||hr(e,8,this.length),Nn(this,e,!1,52,8)};function gr(e,t,n,r,i,a){if(!Yn(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}H.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;gr(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=e&255;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},H.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;gr(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},H.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,1,255,0),H.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function _r(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>(r?i:1-i)*8}H.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,2,65535,0),H.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):_r(this,e,t,!0),t+2},H.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,2,65535,0),H.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):_r(this,e,t,!1),t+2};function vr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>(r?i:3-i)*8&255}H.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,4,4294967295,0),H.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):vr(this,e,t,!0),t+4},H.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,4,4294967295,0),H.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):vr(this,e,t,!1),t+4},H.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);gr(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=e&255;++a<n&&(o*=256);)e<0&&s===0&&this[t+a-1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},H.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);gr(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&s===0&&this[t+a+1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},H.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,1,127,-128),H.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1},H.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,2,32767,-32768),H.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):_r(this,e,t,!0),t+2},H.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,2,32767,-32768),H.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):_r(this,e,t,!1),t+2},H.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,4,2147483647,-2147483648),H.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):vr(this,e,t,!0),t+4},H.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||gr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),H.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):vr(this,e,t,!1),t+4};function yr(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function br(e,t,n,r,i){return i||yr(e,t,n,4),Pn(e,t,n,r,23,4),n+4}H.prototype.writeFloatLE=function(e,t,n){return br(this,e,t,!0,n)},H.prototype.writeFloatBE=function(e,t,n){return br(this,e,t,!1,n)};function xr(e,t,n,r,i){return i||yr(e,t,n,8),Pn(e,t,n,r,52,8),n+8}H.prototype.writeDoubleLE=function(e,t,n){return xr(this,e,t,!0,n)},H.prototype.writeDoubleBE=function(e,t,n){return xr(this,e,t,!1,n)},H.prototype.copy=function(e,t,n,r){if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`sourceStart out of bounds`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n,a;if(this===e&&n<t&&t<r)for(a=i-1;a>=0;--a)e[a+t]=this[a+n];else if(i<1e3||!H.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},H.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),e.length===1){var i=e.charCodeAt(0);i<256&&(e=i)}if(r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!H.isEncoding(r))throw TypeError(`Unknown encoding: `+r)}else typeof e==`number`&&(e&=255);if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;var a;if(typeof e==`number`)for(a=t;a<n;++a)this[a]=e;else{var o=Yn(e)?e:Er(new H(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var Sr=/[^+\/0-9A-Za-z-_]/g;function Cr(e){if(e=wr(e).replace(Sr,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function wr(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function Tr(e){return e<16?`0`+e.toString(16):e.toString(16)}function Er(e,t){t||=1/0;for(var n,r=e.length,i=null,a=[],o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function Dr(e){for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function Or(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function kr(e){return kn(Cr(e))}function Ar(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function jr(e){return e!==e}function Mr(e){return e!=null&&(!!e._isBuffer||Nr(e)||Pr(e))}function Nr(e){return!!e.constructor&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}function Pr(e){return typeof e.readFloatLE==`function`&&typeof e.slice==`function`&&Nr(e.slice(0,0))}function Fr(e){let t=typeof atob==`function`?atob(e):typeof H.from==`function`?H.from(e,`base64`).toString(`binary`):new H(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}var Ir=Fr(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg`),Lr;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Lr||={});var U;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(U||={});var Rr=32;function zr(e){return e>=U.ZERO&&e<=U.NINE}function Br(e){return e>=U.UPPER_A&&e<=U.UPPER_F||e>=U.LOWER_A&&e<=U.LOWER_F}function Vr(e){return e>=U.UPPER_A&&e<=U.UPPER_Z||e>=U.LOWER_A&&e<=U.LOWER_Z||zr(e)}function Hr(e){return e===U.EQUALS||Vr(e)}var Ur;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Ur||={});var Wr;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Wr||={});var Gr=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Ur.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wr.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Ur.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Ur.EntityStart:return e.charCodeAt(t)===U.NUM?(this.state=Ur.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Ur.NamedEntity,this.stateNamedEntity(e,t));case Ur.NumericStart:return this.stateNumericStart(e,t);case Ur.NumericDecimal:return this.stateNumericDecimal(e,t);case Ur.NumericHex:return this.stateNumericHex(e,t);case Ur.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Rr)===U.LOWER_X?(this.state=Ur.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Ur.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(zr(n)||Br(n)){let e=n<=U.NINE?n-U.ZERO:(n|Rr)-U.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(zr(n))this.result=this.result*10+(n-U.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===U.SEMI)this.consumed+=1;else if(this.decodeMode===Wr.Strict)return 0;return this.emitCodePoint(Sn(this.result),this.consumed),this.errors&&(e!==U.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Lr.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&Lr.FLAG13)!==0){let a=(r&Lr.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&Lr.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&Lr.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===U.SEMI&&i!==0&&(r&Lr.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=qr(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Wr.Attribute&&(i===0||Hr(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Lr.VALUE_LENGTH)>>14,i!==0){if(a===U.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Wr.Strict&&(r&Lr.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Lr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(Lr.VALUE_LENGTH|Lr.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Ur.NamedEntity:return this.result!==0&&(this.decodeMode!==Wr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ur.NumericDecimal:return this.emitNumericEntity(0,2);case Ur.NumericHex:return this.emitNumericEntity(0,3);case Ur.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ur.EntityStart:return 0}}};function Kr(e){let t=``,n=new Gr(e,e=>t+=xn(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function qr(e,t,n,r){let i=(t&Lr.BRANCH_LENGTH)>>7,a=t&Lr.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}var Jr=Kr(Ir);function Yr(e,t=Wr.Legacy){return Jr(e,t)}var Xr=new Uint8Array([123,123]),Zr=new Uint8Array([125,125]);function Qr(e){return e>=97&&e<=122||e>=65&&e<=90}function $r(e){return e===32||e===10||e===9||e===12||e===13}function ei(e){return e===47||e===62||$r(e)}function ti(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}var ni={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},ri=class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Xr,this.delimiterClose=Zr,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new Gr(Ir,(e,t)=>this.emitCodePoint(e,t))}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Xr,this.delimiterClose=Zr}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){let r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let t=r-1;t>=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?ei(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||$r(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===ni.TitleEnd||this.currentSequence===ni.TextareaEnd&&!this.inSFCRoot?e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===ni.Cdata[this.sequenceIndex]?++this.sequenceIndex===ni.Cdata.length&&(this.state=28,this.currentSequence=ni.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===ni.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):Qr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){ei(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(ei(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(ti(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){$r(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=Qr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||$r(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):$r(e)||(e===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):$r(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||ei(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):(e===34||e===39||e===60)&&this.cbs.onerr(17,this.index)}stateInDirName(e){e===61||ei(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||ei(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||ei(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||ei(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):$r(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):$r(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){e===t?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11):e===38&&this.startEntity()}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){$r(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):e===34||e===39||e===60||e===61||e===96?this.cbs.onerr(18,this.index):e===38&&this.startEntity()}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=ni.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===ni.ScriptEnd[3]?this.startSpecial(ni.ScriptEnd,4):e===ni.StyleEnd[3]?this.startSpecial(ni.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===ni.TitleEnd[3]?this.startSpecial(ni.TitleEnd,4):e===ni.TextareaEnd[3]?this.startSpecial(ni.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?Wr.Legacy:Wr.Attribute)}stateInEntity(){{let e=this.entityDecoder.write(this.buffer,this.index);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();break}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.state===33&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===ni.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(xn(e),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(xn(e),this.entityStart,this.sectionStart))}},ii={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},ai={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_OBJECT_ORDER:{message:`v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-bind.html`},COMPILER_V_ON_NATIVE:{message:`.native modifier for v-on has been removed as is no longer necessary.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:`v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`},COMPILER_NATIVE_TEMPLATE:{message:`<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`},COMPILER_INLINE_TEMPLATE:{message:`"inline-template" has been removed in Vue 3.`,link:`https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`},COMPILER_FILTERS:{message:`filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,link:`https://v3-migration.vuejs.org/breaking-changes/filters.html`}};function oi(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function si(e,t){let n=oi(`MODE`,t),r=oi(e,t);return n===3?r===!0:r!==!1}function ci(e,t,n,...r){let i=si(e,t);return i&&li(e,t,n,...r),i}function li(e,t,n,...r){if(oi(e,t)===`suppress-warning`)return;let{message:i,link:a}=ai[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
|
|
3
|
-
Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function ui(e){throw e}function di(e){console.warn(`[Vue warn] ${e.message}`)}function W(e,t,n,r){let i=(n||pi)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}var fi={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:`ABRUPT_CLOSING_OF_EMPTY_COMMENT`,CDATA_IN_HTML_CONTENT:1,1:`CDATA_IN_HTML_CONTENT`,DUPLICATE_ATTRIBUTE:2,2:`DUPLICATE_ATTRIBUTE`,END_TAG_WITH_ATTRIBUTES:3,3:`END_TAG_WITH_ATTRIBUTES`,END_TAG_WITH_TRAILING_SOLIDUS:4,4:`END_TAG_WITH_TRAILING_SOLIDUS`,EOF_BEFORE_TAG_NAME:5,5:`EOF_BEFORE_TAG_NAME`,EOF_IN_CDATA:6,6:`EOF_IN_CDATA`,EOF_IN_COMMENT:7,7:`EOF_IN_COMMENT`,EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:`EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT`,EOF_IN_TAG:9,9:`EOF_IN_TAG`,INCORRECTLY_CLOSED_COMMENT:10,10:`INCORRECTLY_CLOSED_COMMENT`,INCORRECTLY_OPENED_COMMENT:11,11:`INCORRECTLY_OPENED_COMMENT`,INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:`INVALID_FIRST_CHARACTER_OF_TAG_NAME`,MISSING_ATTRIBUTE_VALUE:13,13:`MISSING_ATTRIBUTE_VALUE`,MISSING_END_TAG_NAME:14,14:`MISSING_END_TAG_NAME`,MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:`MISSING_WHITESPACE_BETWEEN_ATTRIBUTES`,NESTED_COMMENT:16,16:`NESTED_COMMENT`,UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:`UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME`,UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:`UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE`,UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:`UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME`,UNEXPECTED_NULL_CHARACTER:20,20:`UNEXPECTED_NULL_CHARACTER`,UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:`UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME`,UNEXPECTED_SOLIDUS_IN_TAG:22,22:`UNEXPECTED_SOLIDUS_IN_TAG`,X_INVALID_END_TAG:23,23:`X_INVALID_END_TAG`,X_MISSING_END_TAG:24,24:`X_MISSING_END_TAG`,X_MISSING_INTERPOLATION_END:25,25:`X_MISSING_INTERPOLATION_END`,X_MISSING_DIRECTIVE_NAME:26,26:`X_MISSING_DIRECTIVE_NAME`,X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:`X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END`,X_V_IF_NO_EXPRESSION:28,28:`X_V_IF_NO_EXPRESSION`,X_V_IF_SAME_KEY:29,29:`X_V_IF_SAME_KEY`,X_V_ELSE_NO_ADJACENT_IF:30,30:`X_V_ELSE_NO_ADJACENT_IF`,X_V_FOR_NO_EXPRESSION:31,31:`X_V_FOR_NO_EXPRESSION`,X_V_FOR_MALFORMED_EXPRESSION:32,32:`X_V_FOR_MALFORMED_EXPRESSION`,X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:`X_V_FOR_TEMPLATE_KEY_PLACEMENT`,X_V_BIND_NO_EXPRESSION:34,34:`X_V_BIND_NO_EXPRESSION`,X_V_ON_NO_EXPRESSION:35,35:`X_V_ON_NO_EXPRESSION`,X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:`X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET`,X_V_SLOT_MIXED_SLOT_USAGE:37,37:`X_V_SLOT_MIXED_SLOT_USAGE`,X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:`X_V_SLOT_DUPLICATE_SLOT_NAMES`,X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:`X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN`,X_V_SLOT_MISPLACED:40,40:`X_V_SLOT_MISPLACED`,X_V_MODEL_NO_EXPRESSION:41,41:`X_V_MODEL_NO_EXPRESSION`,X_V_MODEL_MALFORMED_EXPRESSION:42,42:`X_V_MODEL_MALFORMED_EXPRESSION`,X_V_MODEL_ON_SCOPE_VARIABLE:43,43:`X_V_MODEL_ON_SCOPE_VARIABLE`,X_V_MODEL_ON_PROPS:44,44:`X_V_MODEL_ON_PROPS`,X_V_MODEL_ON_CONST:45,45:`X_V_MODEL_ON_CONST`,X_INVALID_EXPRESSION:46,46:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:47,47:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:48,48:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:49,49:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:50,50:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:51,51:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:52,52:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:54,54:`__EXTEND_POINT__`},pi={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '<' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,53:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
4
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`v-model cannot be used on a const binding because it is not writable.`,46:`Error parsing JavaScript expression: `,47:`<KeepAlive> expects exactly one child component.`,52:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,48:`"prefixIdentifiers" option is not supported in this build of compiler.`,49:`ES module mode is not supported in this build of compiler.`,50:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,51:`"scopeId" option is only supported in module mode.`,54:``};function mi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function hi(e){if(Object.prototype.hasOwnProperty.call(e,`__esModule`))return e;var t=e.default;if(typeof t==`function`){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var gi={},_i;function vi(){if(_i)return gi;_i=1,Object.defineProperty(gi,"__esModule",{value:!0});function e(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}class t{constructor(e,t,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=n}}class n{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function r(e,n){let{line:r,column:i,index:a}=e;return new t(r,i+n,a+n)}let i=`BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED`;var a={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:i},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:i}};let o={ArrayPattern:`array destructuring pattern`,AssignmentExpression:`assignment expression`,AssignmentPattern:`assignment expression`,ArrowFunctionExpression:`arrow function expression`,ConditionalExpression:`conditional expression`,CatchClause:`catch clause`,ForOfStatement:`for-of statement`,ForInStatement:`for-in statement`,ForStatement:`for-loop`,FormalParameters:`function parameter list`,Identifier:`identifier`,ImportSpecifier:`import specifier`,ImportDefaultSpecifier:`import default specifier`,ImportNamespaceSpecifier:`import namespace specifier`,ObjectPattern:`object destructuring pattern`,ParenthesizedExpression:`parenthesized expression`,RestElement:`rest element`,UpdateExpression:{true:`prefix operation`,false:`postfix operation`},VariableDeclarator:`variable declaration`,YieldExpression:`yield expression`},s=e=>e.type===`UpdateExpression`?o.UpdateExpression[`${e.prefix}`]:o[e.type];var c={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:`'arguments' is only allowed in functions and class methods.`,AsyncFunctionInSingleStatementContext:`Async functions can only be declared at the top level or inside a block.`,AwaitBindingIdentifier:`Can not use 'await' as identifier inside an async function.`,AwaitBindingIdentifierInStaticBlock:`Can not use 'await' as identifier inside a static block.`,AwaitExpressionFormalParameter:`'await' is not allowed in async function parameters.`,AwaitUsingNotInAsyncContext:`'await using' is only allowed within async functions and at the top levels of modules.`,AwaitNotInAsyncContext:`'await' is only allowed within async functions and at the top levels of modules.`,BadGetterArity:`A 'get' accessor must not have any formal parameters.`,BadSetterArity:`A 'set' accessor must have exactly one formal parameter.`,BadSetterRestParameter:`A 'set' accessor function argument must not be a rest parameter.`,ConstructorClassField:`Classes may not have a field named 'constructor'.`,ConstructorClassPrivateField:`Classes may not have a private field named '#constructor'.`,ConstructorIsAccessor:`Class constructor may not be an accessor.`,ConstructorIsAsync:`Constructor can't be an async function.`,ConstructorIsGenerator:`Constructor can't be a generator.`,DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:`Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.`,DecoratorBeforeExport:`Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.`,DecoratorsBeforeAfterExport:`Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.`,DecoratorConstructor:`Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?`,DecoratorExportClass:`Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.`,DecoratorSemicolon:`Decorators must not be followed by a semicolon.`,DecoratorStaticBlock:`Decorators can't be used with a static block.`,DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:`Deleting a private field is not allowed.`,DestructureNamedImport:`ES2015 named imports do not destructure. Use another statement for destructuring after the import.`,DuplicateConstructor:`Duplicate constructor in the same class.`,DuplicateDefaultExport:`Only one default export allowed per module.`,DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:`Redefinition of __proto__ property.`,DuplicateRegExpFlags:`Duplicate regular expression flag.`,ElementAfterRest:`Rest element must be last element.`,EscapedCharNotAnIdentifier:`Invalid Unicode escape.`,ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:`'from' is not allowed as an identifier after 'export default'.`,ForInOfLoopInitializer:({type:e})=>`'${e===`ForInStatement`?`for-in`:`for-of`}' loop variable declaration may not have an initializer.`,ForInUsing:`For-in loop may not start with 'using' declaration.`,ForOfAsync:`The left-hand side of a for-of loop may not be 'async'.`,ForOfLet:`The left-hand side of a for-of loop may not start with 'let'.`,GeneratorInSingleStatementContext:`Generators can only be declared at the top level or inside a block.`,IllegalBreakContinue:({type:e})=>`Unsyntactic ${e===`BreakStatement`?`break`:`continue`}.`,IllegalLanguageModeDirective:`Illegal 'use strict' directive in function with non-simple parameter list.`,IllegalReturn:`'return' outside of function.`,ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:`Cannot use new with import(...).`,ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:`The 'u' and 'v' regular expression flags cannot be enabled at the same time.`,InvalidBigIntLiteral:`Invalid BigIntLiteral.`,InvalidCodePoint:`Code point out of bounds.`,InvalidCoverDiscardElement:`'void' must be followed by an expression when not used in a binding position.`,InvalidCoverInitializedName:`Invalid shorthand property initializer.`,InvalidDecimal:`Invalid decimal.`,InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:`Bad character escape sequence.`,InvalidEscapeSequenceTemplate:`Invalid escape sequence in template.`,InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${s(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${s(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${s(e)}.`,InvalidNumber:`Invalid number.`,InvalidOrMissingExponent:`Floating-point numbers require a valid exponent after the 'e'.`,InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:`Invalid parenthesized assignment pattern.`,InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:`Binding member expression.`,InvalidRecordProperty:`Only properties and spread elements are allowed in record definitions.`,InvalidRestAssignmentPattern:`Invalid rest operator's argument.`,LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:`'let' is disallowed as a lexically bound name.`,LineTerminatorBeforeArrow:`No line break is allowed before '=>'.`,MalformedRegExpFlags:`Invalid regular expression flag.`,MissingClassName:`A class name is required.`,MissingEqInAssignment:`Only '=' operator can be used for specifying default value.`,MissingSemicolon:`Missing semicolon.`,MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(e=>JSON.stringify(e)).join(`, `)}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(e=>JSON.stringify(e)).join(`, `)}.`,MissingUnicodeEscape:`Expecting Unicode escape sequence \\uXXXX.`,MixingCoalesceWithLogical:`Nullish coalescing operator(??) requires parens when mixing with logical operators.`,ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:`Only string literals are allowed as module attribute values.`,ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:`Multiple default clauses.`,NewlineAfterThrow:`Illegal newline after throw.`,NoCatchOrFinally:`Missing catch or finally clause.`,NumberIdentifier:`Identifier directly after number.`,NumericSeparatorInEscapeSequence:`Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.`,ObsoleteAwaitStar:`'await*' has been removed from the async functions proposal. Use Promise.all() instead.`,OptionalChainingNoNew:`Constructors in/after an Optional Chain are not allowed.`,OptionalChainingNoTemplate:`Tagged Template Literals are not allowed in optionalChain.`,OverrideOnConstructor:`'override' modifier cannot appear on a constructor declaration.`,ParamDupe:`Argument name clash.`,PatternHasAccessor:`Object pattern can't contain getter or setter.`,PatternHasMethod:`Object pattern can't contain methods.`,PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:`Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,RecordExpressionBarIncorrectStartSyntaxType:`Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,RecordExpressionHashIncorrectStartSyntaxType:`Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.`,RecordNoProto:`'__proto__' is not allowed in Record expressions.`,RestTrailingComma:`Unexpected trailing comma after rest element.`,SloppyFunction:`In non-strict mode code, functions can only be declared at top level or inside a block.`,SloppyFunctionAnnexB:`In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.`,SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:`Classes may not have static property named prototype.`,SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:`Private fields can't be accessed on super.`,TrailingDecorator:`Decorators must be attached to a class element.`,TupleExpressionBarIncorrectEndSyntaxType:`Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,TupleExpressionBarIncorrectStartSyntaxType:`Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,TupleExpressionHashIncorrectStartSyntaxType:`Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.`,UnexpectedArgumentPlaceholder:`Unexpected argument placeholder.`,UnexpectedAwaitAfterPipelineBody:`Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.`,UnexpectedDigitAfterHash:`Unexpected digit after hash token.`,UnexpectedImportExport:`'import' and 'export' may only appear at the top level.`,UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:`Leading decorators must be attached to a class declaration.`,UnexpectedLexicalDeclaration:`Lexical declaration cannot appear in a single-statement context.`,UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:`A numeric separator is only allowed between two digits.`,UnexpectedPrivateField:`Unexpected private name.`,UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:`'super' is only allowed in object methods and classes.`,UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:``}${e?`, expected "${e}"`:``}`,UnexpectedTokenUnaryExponentiation:`Illegal expression. Wrap left hand side or entire exponentiation in parentheses.`,UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:`Unexpected void binding.`,UnsupportedBind:`Binding should be performed on object property.`,UnsupportedDecoratorExport:`A decorated export must export a class declaration.`,UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:`Decorators cannot be used to decorate parameters.`,UnsupportedPropertyDecorator:`Decorators cannot be used to decorate object literal properties.`,UnsupportedSuper:`'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).`,UnterminatedComment:`Unterminated comment.`,UnterminatedRegExp:`Unterminated regular expression.`,UnterminatedString:`Unterminated string constant.`,UnterminatedTemplate:`Unterminated template.`,UsingDeclarationExport:`Using declaration cannot be exported.`,UsingDeclarationHasBindingPattern:`Using declaration cannot have destructuring patterns.`,VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:`A void binding may not have an initializer.`,YieldBindingIdentifier:`Can not use 'yield' as identifier inside a generator.`,YieldInParameter:`Yield expression is not allowed in formal parameters.`,YieldNotInGeneratorFunction:`'yield' is only allowed within generator functions.`,ZeroDigitNumericSeparator:`Numeric separator can not be used after leading 0.`},l={StrictDelete:`Deleting local variable in strict mode.`,StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:`In strict mode code, functions can only be declared at top level or inside a block.`,StrictNumericEscape:`The only valid numeric escape in strict mode is '\\0'.`,StrictOctalLiteral:`Legacy octal literals are not allowed in strict mode.`,StrictWith:`'with' in strict mode.`},u={ParseExpressionEmptyInput:`Unexpected parseExpression() input: The input is empty or contains only comments.`,ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`};let d=new Set([`ArrowFunctionExpression`,`AssignmentExpression`,`ConditionalExpression`,`YieldExpression`]);var f=Object.assign({PipeBodyIsTighter:`Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.`,PipeTopicRequiresHackPipes:`Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.`,PipeTopicUnbound:`Topic reference is unbound; it must be inside a pipe body.`,PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:`Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.`,PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${s({type:e})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:`Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.`,PipelineBodySequenceExpression:`Pipeline body may not be a comma-separated sequence expression.`,PipelineHeadSequenceExpression:`Pipeline head should not be a comma-separated sequence expression.`,PipelineTopicUnused:`Pipeline is in topic style but does not use topic reference.`,PrimaryTopicNotAllowed:`Topic reference was used in a lexical context without topic binding.`,PrimaryTopicRequiresSmartPipeline:`Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.`});let p=[`message`];function m(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:n})}function h({toMessage:e,code:n,reasonCode:r,syntaxPlugin:i}){let a=r===`MissingPlugin`||r===`MissingOneOfPlugins`,o={AccessorCannotDeclareThisParameter:`AccesorCannotDeclareThisParameter`,AccessorCannotHaveTypeParameters:`AccesorCannotHaveTypeParameters`,ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:`ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference`,SetAccessorCannotHaveOptionalParameter:`SetAccesorCannotHaveOptionalParameter`,SetAccessorCannotHaveRestParameter:`SetAccesorCannotHaveRestParameter`,SetAccessorCannotHaveReturnType:`SetAccesorCannotHaveReturnType`};return o[r]&&(r=o[r]),function o(s,c){let l=SyntaxError();return l.code=n,l.reasonCode=r,l.loc=s,l.pos=s.index,l.syntaxPlugin=i,a&&(l.missingPlugin=c.missingPlugin),m(l,`clone`,function(e={}){let{line:n,column:r,index:i}=e.loc??s;return o(new t(n,r,i),Object.assign({},c,e.details))}),m(l,`details`,c),Object.defineProperty(l,"message",{configurable:!0,get(){let t=`${e(c)} (${s.line}:${s.column})`;return this.message=t,t},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),l}}function g(t,n){if(Array.isArray(t))return e=>g(e,t[0]);let r={};for(let i of Object.keys(t)){let a=t[i],o=typeof a==`string`?{message:()=>a}:typeof a==`function`?{message:a}:a,{message:s}=o,c=e(o,p);r[i]=h(Object.assign({code:`BABEL_PARSER_SYNTAX_ERROR`,reasonCode:i,toMessage:typeof s==`string`?()=>s:s},n?{syntaxPlugin:n}:{},c))}return r}let _=Object.assign({},g(a),g(c),g(l),g(u),g`pipelineOperator`(f));function v(){return{sourceType:`script`,sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function y(e){let t=v();if(e==null)return t;if(e.annexB!=null&&e.annexB!==!1)throw Error("The `annexB` option can only be set to `false`.");for(let n of Object.keys(t))e[n]!=null&&(t[n]=e[n]);if(t.startLine===1)e.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:e.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((e.startColumn==null||e.startIndex==null)&&e.startIndex!=null)throw Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(t.sourceType===`commonjs`){if(e.allowAwaitOutsideFunction!=null)throw Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(e.allowReturnOutsideFunction!=null)throw Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(e.allowNewTargetOutsideFunction!=null)throw Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}let{defineProperty:b}=Object,x=(e,t)=>{e&&b(e,t,{enumerable:!1,value:e[t]})};function S(e){return x(e.loc.start,`index`),x(e.loc.end,`index`),e}var C=e=>class extends e{parse(){let e=S(super.parse());return this.optionFlags&256&&(e.tokens=e.tokens.map(S)),e}parseRegExpLiteral({pattern:e,flags:t}){let n=null;try{n=new RegExp(e,t)}catch{}let r=this.estreeParseLiteral(n);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let n=this.estreeParseLiteral(t);return n.bigint=String(n.value||e),n}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,`Literal`)}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}estreeParseChainExpression(e,t){let n=this.startNodeAtNode(e);return n.expression=e,this.finishNodeAt(n,`ChainExpression`,t)}directiveToStmt(e){let t=e.value;delete e.value,this.castNodeTo(t,`Literal`),t.raw=t.extra.raw,t.value=t.extra.expressionValue;let n=this.castNodeTo(e,`ExpressionStatement`);return n.expression=t,n.directive=t.extra.rawValue,delete t.extra,n}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){let{start:t,end:n,loc:r,range:i,raw:a,value:o}=e,s=Object.create(e.constructor.prototype);return s.type=`Literal`,s.start=t,s.end=n,s.loc=r,s.range=i,s.raw=a,s.value=o,s}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type===`ExpressionStatement`&&e.expression.type===`Literal`&&typeof e.expression.value==`string`&&!((t=e.expression.extra)!=null&&t.parenthesized)}parseBlockBody(e,t,n,r,i){super.parseBlockBody(e,t,n,r,i),e.body=e.directives.map(e=>this.directiveToStmt(e)).concat(e.body),delete e.directives}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption(`estree`,`classFeatures`)?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,this.castNodeTo(e,`PrivateIdentifier`)}isPrivateName(e){return this.getPluginOption(`estree`,`classFeatures`)?e.type===`PrivateIdentifier`:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption(`estree`,`classFeatures`)?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let n=super.parseLiteral(e,t);return n.raw=n.extra.raw,delete n.extra,n}parseFunctionBody(e,t,n=!1){super.parseFunctionBody(e,t,n),e.expression=e.body.type!==`BlockStatement`}parseMethod(e,t,n,r,i,a,o=!1){let s=this.startNode();s.kind=e.kind,s=super.parseMethod(s,t,n,r,i,a,o),delete s.kind;let{typeParameters:c}=e;return c&&(delete e.typeParameters,s.typeParameters=c,this.resetStartLocationFromNode(s,c)),e.value=this.castNodeTo(s,`FunctionExpression`),a===`ClassPrivateMethod`&&(e.computed=!1),a===`ObjectMethod`?(e.kind===`method`&&(e.kind=`init`),e.shorthand=!1,this.finishNode(e,`Property`)):this.finishNode(e,`MethodDefinition`)}nameIsConstructor(e){return e.type===`Literal`?e.value===`constructor`:super.nameIsConstructor(e)}parseClassProperty(...e){let t=super.parseClassProperty(...e);return this.getPluginOption(`estree`,`classFeatures`)&&this.castNodeTo(t,`PropertyDefinition`),t}parseClassPrivateProperty(...e){let t=super.parseClassPrivateProperty(...e);return this.getPluginOption(`estree`,`classFeatures`)?(this.castNodeTo(t,`PropertyDefinition`),t.computed=!1,t):t}parseClassAccessorProperty(e){let t=super.parseClassAccessorProperty(e);return this.getPluginOption(`estree`,`classFeatures`)&&(t.abstract&&this.hasPlugin(`typescript`)?(delete t.abstract,this.castNodeTo(t,`TSAbstractAccessorProperty`)):this.castNodeTo(t,`AccessorProperty`)),t}parseObjectProperty(e,t,n,r){let i=super.parseObjectProperty(e,t,n,r);return i&&(i.kind=`init`,this.castNodeTo(i,`Property`)),i}finishObjectProperty(e){return e.kind=`init`,this.finishNode(e,`Property`)}isValidLVal(e,t,n,r){return e===`Property`?`value`:super.isValidLVal(e,t,n,r)}isAssignable(e,t){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(e!=null&&this.isObjectProperty(e)){let{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,n){e.type===`Property`&&(e.kind===`get`||e.kind===`set`)?this.raise(_.PatternHasAccessor,e.key):e.type===`Property`&&e.method?this.raise(_.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,n)}finishCallExpression(e,t){let n=super.finishCallExpression(e,t);return n.callee.type===`Import`?(this.castNodeTo(n,`ImportExpression`),n.source=n.arguments[0],n.options=n.arguments[1]??null,n.attributes=n.arguments[1]??null,delete n.arguments,delete n.callee):n.type===`OptionalCallExpression`?this.castNodeTo(n,`CallExpression`):n.optional=!1,n}toReferencedArguments(e){e.type!==`ImportExpression`&&super.toReferencedArguments(e)}parseExport(e,t){let n=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case`ExportAllDeclaration`:r.exported=null;break;case`ExportNamedDeclaration`:r.specifiers.length===1&&r.specifiers[0].type===`ExportNamespaceSpecifier`&&(this.castNodeTo(r,`ExportAllDeclaration`),r.exported=r.specifiers[0].exported,delete r.specifiers);case`ExportDefaultDeclaration`:{let{declaration:e}=r;e?.type===`ClassDeclaration`&&e.decorators?.length>0&&e.start===r.start&&this.resetStartLocation(r,n)}break}return r}stopParseSubscript(e,t){let n=super.stopParseSubscript(e,t);return t.optionalChainMember?this.estreeParseChainExpression(n,e.loc.end):n}parseMember(e,t,n,r,i){let a=super.parseMember(e,t,n,r,i);return a.type===`OptionalMemberExpression`?this.castNodeTo(a,`MemberExpression`):a.optional=!1,a}isOptionalMemberExpression(e){return e.type===`ChainExpression`?e.expression.type===`MemberExpression`:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type===`ChainExpression`&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type===`Property`&&e.kind===`init`&&!e.method}isObjectMethod(e){return e.type===`Property`&&(e.method||e.kind===`get`||e.kind===`set`)}castNodeTo(e,t){let n=super.castNodeTo(e,t);return this.fillOptionalPropertiesForTSESLint(n),n}cloneIdentifier(e){let t=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(t),t}cloneStringLiteral(e){return e.type===`Literal`?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,t,n){return S(super.finishNodeAt(e,t,n))}finishNode(e,t){let n=super.finishNode(e,t);return this.fillOptionalPropertiesForTSESLint(n),n}resetStartLocation(e,t){super.resetStartLocation(e,t),S(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),S(e)}};class w{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}let T={brace:new w(`{`),j_oTag:new w(`<tag`),j_cTag:new w(`</tag`),j_expr:new w(`<tag>...</tag>`,!0)};T.template=new w("`",!0);class E{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop==null?null:t.binop,this.updateContext=null}}let ee=new Map;function D(e,t={}){t.keyword=e;let n=M(e,t);return ee.set(e,n),n}function O(e,t){return M(e,{beforeExpr:!0,binop:t})}let k=-1,A=[],te=[],ne=[],re=[],ie=[],j=[];function M(e,t={}){return++k,te.push(e),ne.push(t.binop??-1),re.push(t.beforeExpr??!1),ie.push(t.startsExpr??!1),j.push(t.prefix??!1),A.push(new E(e,t)),k}function N(e,t={}){return++k,ee.set(e,k),te.push(e),ne.push(t.binop??-1),re.push(t.beforeExpr??!1),ie.push(t.startsExpr??!1),j.push(t.prefix??!1),A.push(new E(`name`,t)),k}let ae={bracketL:M(`[`,{beforeExpr:!0,startsExpr:!0}),bracketHashL:M(`#[`,{beforeExpr:!0,startsExpr:!0}),bracketBarL:M(`[|`,{beforeExpr:!0,startsExpr:!0}),bracketR:M(`]`),bracketBarR:M(`|]`),braceL:M(`{`,{beforeExpr:!0,startsExpr:!0}),braceBarL:M(`{|`,{beforeExpr:!0,startsExpr:!0}),braceHashL:M(`#{`,{beforeExpr:!0,startsExpr:!0}),braceR:M(`}`),braceBarR:M(`|}`),parenL:M(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:M(`)`),comma:M(`,`,{beforeExpr:!0}),semi:M(`;`,{beforeExpr:!0}),colon:M(`:`,{beforeExpr:!0}),doubleColon:M(`::`,{beforeExpr:!0}),dot:M(`.`),question:M(`?`,{beforeExpr:!0}),questionDot:M(`?.`),arrow:M(`=>`,{beforeExpr:!0}),template:M(`template`),ellipsis:M(`...`,{beforeExpr:!0}),backQuote:M("`",{startsExpr:!0}),dollarBraceL:M("${",{beforeExpr:!0,startsExpr:!0}),templateTail:M("...`",{startsExpr:!0}),templateNonTail:M("...${",{beforeExpr:!0,startsExpr:!0}),at:M(`@`),hash:M(`#`,{startsExpr:!0}),interpreterDirective:M(`#!...`),eq:M(`=`,{beforeExpr:!0,isAssign:!0}),assign:M(`_=`,{beforeExpr:!0,isAssign:!0}),slashAssign:M(`_=`,{beforeExpr:!0,isAssign:!0}),xorAssign:M(`_=`,{beforeExpr:!0,isAssign:!0}),moduloAssign:M(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:M(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),bang:M(`!`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:M(`~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:M(`^^`,{startsExpr:!0}),doubleAt:M(`@@`,{startsExpr:!0}),pipeline:O(`|>`,0),nullishCoalescing:O(`??`,1),logicalOR:O(`||`,1),logicalAND:O(`&&`,2),bitwiseOR:O(`|`,3),bitwiseXOR:O(`^`,4),bitwiseAND:O(`&`,5),equality:O(`==/!=/===/!==`,6),lt:O(`</>/<=/>=`,7),gt:O(`</>/<=/>=`,7),relational:O(`</>/<=/>=`,7),bitShift:O(`<</>>/>>>`,8),bitShiftL:O(`<</>>/>>>`,8),bitShiftR:O(`<</>>/>>>`,8),plusMin:M(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:M(`%`,{binop:10,startsExpr:!0}),star:M(`*`,{binop:10}),slash:O(`/`,10),exponent:M(`**`,{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:D(`in`,{beforeExpr:!0,binop:7}),_instanceof:D(`instanceof`,{beforeExpr:!0,binop:7}),_break:D(`break`),_case:D(`case`,{beforeExpr:!0}),_catch:D(`catch`),_continue:D(`continue`),_debugger:D(`debugger`),_default:D(`default`,{beforeExpr:!0}),_else:D(`else`,{beforeExpr:!0}),_finally:D(`finally`),_function:D(`function`,{startsExpr:!0}),_if:D(`if`),_return:D(`return`,{beforeExpr:!0}),_switch:D(`switch`),_throw:D(`throw`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:D(`try`),_var:D(`var`),_const:D(`const`),_with:D(`with`),_new:D(`new`,{beforeExpr:!0,startsExpr:!0}),_this:D(`this`,{startsExpr:!0}),_super:D(`super`,{startsExpr:!0}),_class:D(`class`,{startsExpr:!0}),_extends:D(`extends`,{beforeExpr:!0}),_export:D(`export`),_import:D(`import`,{startsExpr:!0}),_null:D(`null`,{startsExpr:!0}),_true:D(`true`,{startsExpr:!0}),_false:D(`false`,{startsExpr:!0}),_typeof:D(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:D(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:D(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:D(`do`,{isLoop:!0,beforeExpr:!0}),_for:D(`for`,{isLoop:!0}),_while:D(`while`,{isLoop:!0}),_as:N(`as`,{startsExpr:!0}),_assert:N(`assert`,{startsExpr:!0}),_async:N(`async`,{startsExpr:!0}),_await:N(`await`,{startsExpr:!0}),_defer:N(`defer`,{startsExpr:!0}),_from:N(`from`,{startsExpr:!0}),_get:N(`get`,{startsExpr:!0}),_let:N(`let`,{startsExpr:!0}),_meta:N(`meta`,{startsExpr:!0}),_of:N(`of`,{startsExpr:!0}),_sent:N(`sent`,{startsExpr:!0}),_set:N(`set`,{startsExpr:!0}),_source:N(`source`,{startsExpr:!0}),_static:N(`static`,{startsExpr:!0}),_using:N(`using`,{startsExpr:!0}),_yield:N(`yield`,{startsExpr:!0}),_asserts:N(`asserts`,{startsExpr:!0}),_checks:N(`checks`,{startsExpr:!0}),_exports:N(`exports`,{startsExpr:!0}),_global:N(`global`,{startsExpr:!0}),_implements:N(`implements`,{startsExpr:!0}),_intrinsic:N(`intrinsic`,{startsExpr:!0}),_infer:N(`infer`,{startsExpr:!0}),_is:N(`is`,{startsExpr:!0}),_mixins:N(`mixins`,{startsExpr:!0}),_proto:N(`proto`,{startsExpr:!0}),_require:N(`require`,{startsExpr:!0}),_satisfies:N(`satisfies`,{startsExpr:!0}),_keyof:N(`keyof`,{startsExpr:!0}),_readonly:N(`readonly`,{startsExpr:!0}),_unique:N(`unique`,{startsExpr:!0}),_abstract:N(`abstract`,{startsExpr:!0}),_declare:N(`declare`,{startsExpr:!0}),_enum:N(`enum`,{startsExpr:!0}),_module:N(`module`,{startsExpr:!0}),_namespace:N(`namespace`,{startsExpr:!0}),_interface:N(`interface`,{startsExpr:!0}),_type:N(`type`,{startsExpr:!0}),_opaque:N(`opaque`,{startsExpr:!0}),name:M(`name`,{startsExpr:!0}),placeholder:M(`%%`,{startsExpr:!0}),string:M(`string`,{startsExpr:!0}),num:M(`num`,{startsExpr:!0}),bigint:M(`bigint`,{startsExpr:!0}),decimal:M(`decimal`,{startsExpr:!0}),regexp:M(`regexp`,{startsExpr:!0}),privateName:M(`#name`,{startsExpr:!0}),eof:M(`eof`),jsxName:M(`jsxName`),jsxText:M(`jsxText`,{beforeExpr:!0}),jsxTagStart:M(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:M(`jsxTagEnd`)};function P(e){return e>=93&&e<=133}function oe(e){return e<=92}function se(e){return e>=58&&e<=133}function ce(e){return e>=58&&e<=137}function F(e){return re[e]}function le(e){return ie[e]}function ue(e){return e>=29&&e<=33}function de(e){return e>=129&&e<=131}function I(e){return e>=90&&e<=92}function fe(e){return e>=58&&e<=92}function pe(e){return e>=39&&e<=59}function me(e){return e===34}function he(e){return j[e]}function ge(e){return e>=121&&e<=123}function _e(e){return e>=124&&e<=130}function ve(e){return te[e]}function ye(e){return ne[e]}function be(e){return e===57}function xe(e){return e>=24&&e<=25}function Se(e){return A[e]}A[8].updateContext=e=>{e.pop()},A[5].updateContext=A[7].updateContext=A[23].updateContext=e=>{e.push(T.brace)},A[22].updateContext=e=>{e[e.length-1]===T.template?e.pop():e.push(T.template)},A[143].updateContext=e=>{e.push(T.j_expr,T.j_oTag)};let Ce=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,we=`·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,Te=RegExp(`[`+Ce+`]`),Ee=RegExp(`[`+Ce+we+`]`);Ce=we=null;let De=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Oe=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function ke(e,t){let n=65536;for(let r=0,i=t.length;r<i;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function Ae(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Te.test(String.fromCharCode(e)):ke(e,De)}function je(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):ke(e,De)||ke(e,Oe)}let Me={keyword:`break.case.catch.continue.debugger.default.do.else.finally.for.function.if.return.switch.throw.try.var.const.while.with.new.this.super.class.extends.export.import.null.true.false.in.instanceof.typeof.void.delete`.split(`.`),strict:[`implements`,`interface`,`let`,`package`,`private`,`protected`,`public`,`static`,`yield`],strictBind:[`eval`,`arguments`]},Ne=new Set(Me.keyword),Pe=new Set(Me.strict),Fe=new Set(Me.strictBind);function Ie(e,t){return t&&e===`await`||e===`enum`}function Le(e,t){return Ie(e,t)||Pe.has(e)}function Re(e){return Fe.has(e)}function ze(e,t){return Le(e,t)||Re(e)}function Be(e){return Ne.has(e)}function Ve(e,t,n){return e===64&&t===64&&Ae(n)}let He=new Set(`break.case.catch.continue.debugger.default.do.else.finally.for.function.if.return.switch.throw.try.var.const.while.with.new.this.super.class.extends.export.import.null.true.false.in.instanceof.typeof.void.delete.implements.interface.let.package.private.protected.public.static.yield.eval.arguments.enum.await`.split(`.`));function Ue(e){return He.has(e)}class We{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName=``,this.flags=e}}class Ge{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&64)>0&&(e&2)==0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&128)return!0;if(t&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new We(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&130||!this.parser.inModule&&e.flags&1)}declareName(e,t,n){let r=this.currentScope();if(t&8||t&16){this.checkRedeclarationInScope(r,e,t,n);let i=r.names.get(e)||0;t&16?i|=4:(r.firstLexicalName||=e,i|=2),r.names.set(e,i),t&8&&this.maybeExportDefined(r,e)}else if(t&4)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,n),r.names.set(e,(r.names.get(e)||0)|1),this.maybeExportDefined(r,e),!(r.flags&1667));--i);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&1&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,n,r){this.isRedeclaredInScope(e,t,n)&&this.parser.raise(_.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,n){if(!(n&1))return!1;if(n&8)return e.names.has(t);let r=e.names.get(t)||0;return n&16?(r&2)>0||!this.treatFunctionsAsVarInScope(e)&&(r&1)>0:(r&2)>0&&!(e.flags&8&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(r&4)>0}checkLocalExport(e){let{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&1667)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&1731&&!(t&4))return t}}}class Ke extends We{constructor(...e){super(...e),this.declareFunctions=new Set}}class qe extends Ge{createScope(e){return new Ke(e)}declareName(e,t,n){let r=this.currentScope();if(t&2048){this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e),r.declareFunctions.add(e);return}super.declareName(e,t,n)}isRedeclaredInScope(e,t,n){if(super.isRedeclaredInScope(e,t,n))return!0;if(n&2048&&!e.declareFunctions.has(t)){let n=e.names.get(t);return(n&4)>0||(n&2)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}let Je=new Set([`_`,`any`,`bool`,`boolean`,`empty`,`extends`,`false`,`interface`,`mixed`,`null`,`number`,`static`,`string`,`true`,`typeof`,`void`]),L=g`flow`({AmbiguousConditionalArrow:`Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.`,AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:n})=>`Enum \`${e}\` has type \`${n}\`, so the initializer of \`${t}\` needs to be a ${n} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:n})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${n}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:`Explicit inexact syntax cannot appear inside an explicit exact object type.`,InexactInsideNonObject:`Explicit inexact syntax cannot appear in class or interface definitions.`,InexactVariance:`Explicit inexact syntax cannot have variance.`,InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:`Type parameter declaration needs a default, since a preceding type parameter declaration has a default.`,NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:`Cannot have a flow comment inside another flow comment.`,PatternIsOptional:Object.assign({message:`A binding pattern parameter cannot be optional in an implementation signature.`},{reasonCode:`OptionalBindingPattern`}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:`Spread properties cannot have variance.`,ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:`The type cast expression is expected to be wrapped with parenthesis.`,UnexpectedExplicitInexactInObject:`Explicit inexact syntax must appear at the end of an inexact object.`,UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:`Spread operator cannot appear in class or interface definitions.`,UnexpectedSubtractionOperand:`Unexpected token, expected "number" or "bigint".`,UnexpectedTokenAfterTypeParameter:`Expected an arrow function after this type parameter declaration.`,UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:`Only declares and type imports are allowed inside declare module.`,UnterminatedFlowComment:`Unterminated flow-comment.`});function Ye(e){return e.type===`DeclareExportAllDeclaration`||e.type===`DeclareExportDeclaration`&&(!e.declaration||e.declaration.type!==`TypeAlias`&&e.declaration.type!==`InterfaceDeclaration`)}function Xe(e){return e.importKind===`type`||e.importKind===`typeof`}let Ze={const:`declare export var`,let:`declare export var`,type:`export type`,interface:`export interface`};function Qe(e,t){let n=[],r=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?n:r).push(e[i]);return[n,r]}let $e=/\*?\s*@((?:no)?flow)\b/;var et=e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return qe}shouldParseTypes(){return this.getPluginOption(`flow`,`all`)||this.flowPragma===`flow`}finishToken(e,t){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(this.flowPragma===void 0){let t=$e.exec(e.value);if(t)if(t[1]===`flow`)this.flowPragma=`flow`;else if(t[1]===`noflow`)this.flowPragma=`noflow`;else throw Error(`Unexpected flow pragma`)}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let n=this.flowParseType();return this.state.inType=t,n}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(L.UnexpectedSpaceBetweenModuloChecks,t),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,`DeclaredPredicate`)):this.finishNode(e,`InferredPredicate`)}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,n=null;return this.match(54)?(this.state.inType=e,n=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(n=this.flowParsePredicate())),[t,n]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,`DeclareClass`)}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),n=this.startNode(),r=this.startNode();this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return n.params=i.params,n.rest=i.rest,n.this=i._this,this.expect(11),[n.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(n,`FunctionTypeAnnotation`),t.typeAnnotation=this.finishNode(r,`TypeAnnotation`),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,`DeclareFunction`)}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(L.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,`DeclareVariable`)}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),n=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(L.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),n.push(super.parseImport(e))):(this.expectContextual(125,L.UnsupportedStatementInDeclareModule),n.push(this.flowParseDeclare(e,!0)))}this.scope.exit(),this.expect(8),this.finishNode(t,`BlockStatement`);let r=null,i=!1;return n.forEach(e=>{Ye(e)?(r===`CommonJS`&&this.raise(L.AmbiguousDeclareModuleKind,e),r=`ES`):e.type===`DeclareModuleExports`&&(i&&this.raise(L.DuplicateDeclareModuleExports,e),r===`ES`&&this.raise(L.AmbiguousDeclareModuleKind,e),r=`CommonJS`,i=!0)}),e.kind=r||`CommonJS`,this.finishNode(e,`DeclareModule`)}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,`DeclareExportDeclaration`);if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){let e=this.state.value;throw this.raise(L.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:Ze[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,`DeclareExportDeclaration`);if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type===`ExportNamedDeclaration`?(e.default=!1,delete e.exportKind,this.castNodeTo(e,`DeclareExportDeclaration`)):this.castNodeTo(e,`DeclareExportAllDeclaration`);throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,`DeclareModuleExports`)}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return this.castNodeTo(t,`DeclareTypeAlias`),t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return this.castNodeTo(t,`DeclareOpaqueType`),t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,`DeclareInterface`)}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,`InterfaceExtends`)}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,`InterfaceDeclaration`)}checkNotUnderscore(e){e===`_`&&this.raise(L.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,n){Je.has(e)&&this.raise(n?L.AssignReservedType:L.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifierName(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifierName(e)}flowParseRestrictedIdentifier(e,t){let n=this.startNode(),r=this.flowParseRestrictedIdentifierName(e,t);return this.createIdentifier(n,r)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,`TypeAlias`)}flowParseOpaqueType(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,`OpaqueType`)}flowParseTypeParameterBound(){if(this.match(14)||this.isContextual(81)){let e=this.startNode();return this.next(),e.typeAnnotation=this.flowParseType(),this.finishNode(e,`TypeAnnotation`)}}flowParseTypeParameter(e=!1){let t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance();return n.name=this.flowParseRestrictedIdentifierName(),n.variance=r,n.bound=this.flowParseTypeParameterBound(),this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(L.MissingTypeParamDefault,t),this.finishNode(n,`TypeParameter`)}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let n=!1;do{let e=this.flowParseTypeParameter(n);t.params.push(e),e.default&&(n=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,`TypeParameterDeclaration`)}flowInTopLevelContext(e){if(this.curContext()!==T.brace){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let t=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=t}),this.state.inType=t,!this.state.inType&&this.curContext()===T.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,`TypeParameterInstantiation`)}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return null;let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,`TypeParameterInstantiation`)}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,`InterfaceTypeAnnotation`)}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,n){return e.static=t,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.finishNode(e,`ObjectTypeIndexer`)}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,`ObjectTypeInternalSlot`)}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,`FunctionTypeAnnotation`)}flowParseObjectTypeCallProperty(e,t){let n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.finishNode(e,`ObjectTypeCallProperty`)}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:n,allowProto:r,allowInexact:i}){let a=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let s,c,l=!1;for(t&&this.match(6)?(this.expect(6),s=9,c=!0):(this.expect(5),s=8,c=!1),o.exact=c;!this.match(s);){let t=!1,a=null,s=null,u=this.startNode();if(r&&this.isContextual(118)){let t=this.lookahead();t.type!==14&&t.type!==17&&(this.next(),a=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let e=this.lookahead();e.type!==14&&e.type!==17&&(this.next(),t=!0)}let d=this.flowParseVariance();if(this.eat(0))a!=null&&this.unexpected(a),this.eat(0)?(d&&this.unexpected(d.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))):o.indexers.push(this.flowParseObjectTypeIndexer(u,t,d));else if(this.match(10)||this.match(47))a!=null&&this.unexpected(a),d&&this.unexpected(d.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(u,t));else{let e=`init`;(this.isContextual(99)||this.isContextual(104))&&ce(this.lookahead().type)&&(e=this.state.value,this.next());let r=this.flowParseObjectTypeProperty(u,t,a,d,e,n,i??!c);r===null?(l=!0,s=this.state.lastTokStartLoc):o.properties.push(r)}this.flowObjectTypeSemicolon(),s&&!this.match(8)&&!this.match(9)&&this.raise(L.UnexpectedExplicitInexactInObject,s)}this.expect(s),n&&(o.inexact=l);let u=this.finishNode(o,`ObjectTypeAnnotation`);return this.state.inType=a,u}flowParseObjectTypeProperty(e,t,n,r,i,a,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?o||this.raise(L.InexactInsideExact,this.state.lastTokStartLoc):this.raise(L.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(L.InexactVariance,r),null):(a||this.raise(L.UnexpectedSpreadType,this.state.lastTokStartLoc),n!=null&&this.unexpected(n),r&&this.raise(L.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,`ObjectTypeSpreadProperty`));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=n!=null,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,n!=null&&this.unexpected(n),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(i===`get`||i===`set`)&&this.flowCheckGetterSetterParams(e),!a&&e.key.name===`constructor`&&e.value.this&&this.raise(L.ThisParamBannedInConstructor,e.value.this)):(i!==`init`&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=o,this.finishNode(e,`ObjectTypeProperty`)}}flowCheckGetterSetterParams(e){let t=e.kind===`get`?0:1,n=e.value.params.length+ +!!e.value.rest;e.value.this&&this.raise(e.kind===`get`?L.GetterMayNotHaveThisParam:L.SetterMayNotHaveThisParam,e.value.this),n!==t&&this.raise(e.kind===`get`?_.BadGetterArity:_.BadSetterArity,e),e.kind===`set`&&e.value.rest&&this.raise(_.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){e??=this.state.startLoc;let n=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=n,t.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(t,`QualifiedTypeIdentifier`)}return n}flowParseGenericType(e,t){let n=this.startNodeAt(e);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,`GenericTypeAnnotation`)}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,`TypeofTypeAnnotation`)}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,`TupleTypeAnnotation`)}flowParseFunctionTypeParam(e){let t=null,n=!1,r=null,i=this.startNode(),a=this.lookahead(),o=this.state.type===78;return a.type===14||a.type===17?(o&&!e&&this.raise(L.ThisParamMustBeFirst,i),t=this.parseIdentifier(o),this.eat(17)&&(n=!0,o&&this.raise(L.ThisParamMayNotBeOptional,i)),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),i.name=t,i.optional=n,i.typeAnnotation=r,this.finishNode(i,`FunctionTypeParam`)}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,`FunctionTypeParam`)}flowParseFunctionTypeParams(e=[]){let t=null,n=null;for(this.match(78)&&(n=this.flowParseFunctionTypeParam(!0),n.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:n}}flowIdentToTypeAnnotation(e,t,n){switch(n.name){case`any`:return this.finishNode(t,`AnyTypeAnnotation`);case`bool`:case`boolean`:return this.finishNode(t,`BooleanTypeAnnotation`);case`mixed`:return this.finishNode(t,`MixedTypeAnnotation`);case`empty`:return this.finishNode(t,`EmptyTypeAnnotation`);case`number`:return this.finishNode(t,`NumberTypeAnnotation`);case`string`:return this.finishNode(t,`StringTypeAnnotation`);case`symbol`:return this.finishNode(t,`SymbolTypeAnnotation`);default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,n)}}flowParsePrimaryType(){let e=this.state.startLoc,t=this.startNode(),n,r,i=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=a,r;case 47:{let e=this.startNode();return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),n=this.flowParseFunctionTypeParams(),e.params=n.params,e.rest=n.rest,e.this=n._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),this.finishNode(e,`FunctionTypeAnnotation`)}case 10:{let e=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(P(this.state.type)||this.match(78)){let e=this.lookahead().type;i=e!==17&&e!==14}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),r;this.eat(12)}return n=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),e.params=n.params,e.rest=n.rest,e.this=n._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,`FunctionTypeAnnotation`)}case 134:return this.parseLiteral(this.state.value,`StringLiteralTypeAnnotation`);case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,`BooleanLiteralTypeAnnotation`);case 53:if(this.state.value===`-`){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,`NumberLiteralTypeAnnotation`,t);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,`BigIntLiteralTypeAnnotation`,t);throw this.raise(L.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();case 135:return this.parseLiteral(this.state.value,`NumberLiteralTypeAnnotation`);case 136:return this.parseLiteral(this.state.value,`BigIntLiteralTypeAnnotation`);case 88:return this.next(),this.finishNode(t,`VoidTypeAnnotation`);case 84:return this.next(),this.finishNode(t,`NullLiteralTypeAnnotation`);case 78:return this.next(),this.finishNode(t,`ThisTypeAnnotation`);case 55:return this.next(),this.finishNode(t,`ExistsTypeAnnotation`);case 87:return this.flowParseTypeofType();default:if(fe(this.state.type)){let e=ve(this.state.type);return this.next(),super.createIdentifier(t,e)}else if(P(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let r=this.startNodeAt(e),i=this.eat(18);n||=i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,`ArrayTypeAnnotation`)):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),n?(r.optional=i,t=this.finishNode(r,`OptionalIndexedAccessType`)):t=this.finishNode(r,`IndexedAccessType`))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,`NullableTypeAnnotation`)):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,`FunctionTypeAnnotation`)}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?t:this.finishNode(e,`IntersectionTypeAnnotation`)}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?t:this.finishNode(e,`UnionTypeAnnotation`)}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value===`_`){let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}else return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,`TypeAnnotation`)}flowParseTypeAnnotatableIdentifier(){let e=this.startNode(),t=this.parseIdentifierName();return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),this.createIdentifier(e,t)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value===`+`?e.kind=`plus`:e.kind=`minus`,this.next(),this.finishNode(e,`Variance`)):e}parseFunctionBody(e,t,n=!1){if(t){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,n));return}super.parseFunctionBody(e,!1,n)}parseFunctionBodyAndFinish(e,t,n=!1){if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,`TypeAnnotation`):null}return super.parseFunctionBodyAndFinish(e,t,n)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(se(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(t)&&(this.flowPragma=null),t}parseExpressionStatement(e,t,n){if(t.type===`Identifier`){if(t.name===`declare`){if(this.match(80)||P(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(P(this.state.type)){if(t.name===`interface`)return this.flowParseInterface(e);if(t.name===`type`)return this.flowParseTypeAlias(e);if(t.name===`opaque`)return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,t,n)}shouldParseExportDeclaration(){let{type:e}=this.state;return e===126||de(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||de(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41)return this.setOptionalParametersError(n),e}this.expect(17);let r=this.state.clone(),i=this.state.noArrowAt,a=this.startNodeAt(t),{consequent:o,failed:s}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(s||l.length>0){let e=[...i];if(l.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:s}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}s&&c.length>1&&this.raise(L.AmbiguousConditionalArrow,r.startLoc),s&&c.length===1&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,{consequent:o,failed:s}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,`ConditionalExpression`)}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let n=[e],r=[];for(;n.length!==0;){let e=n.pop();e.type===`ArrowFunctionExpression`&&e.body.type!==`BlockStatement`?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),n.push(e.body)):e.type===`ConditionalExpression`&&(n.push(e.consequent),n.push(e.alternate))}return t?(r.forEach(e=>this.finishArrowValidation(e)),[r,[]]):Qe(r,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){this.toAssignableList(e.params,e.extra?.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let n;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),n=t(),this.state.noArrowParamsConversionAt.pop()):n=t(),n}parseParenItem(e,t){let n=super.parseParenItem(e,t);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){let e=this.startNodeAt(t);return e.expression=n,e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,`TypeCastExpression`)}return n}assertModuleNodeAllowed(e){e.type===`ImportDeclaration`&&(e.importKind===`type`||e.importKind===`typeof`)||e.type===`ExportNamedDeclaration`&&e.exportKind===`type`||e.type===`ExportAllDeclaration`&&e.exportKind===`type`||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}else if(this.isContextual(131)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}else if(this.isContextual(129)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.flowParseInterface(t)}else if(this.isContextual(126)){e.exportKind=`value`;let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind=`type`,this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,n=super.maybeParseExportNamespaceSpecifier(e);return n&&e.exportKind===`type`&&this.unexpected(t),n}parseClassId(e,t,n){super.parseClassId(e,t,n),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,n){let{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,n),t.declare&&(t.type!==`ClassProperty`&&t.type!==`ClassPrivateProperty`&&t.type!==`PropertyDefinition`?this.raise(L.DeclareClassElement,r):t.value&&this.raise(L.DeclareClassFieldInitializer,t.value))}isIterator(e){return e===`iterator`||e===`asyncIterator`}readIterator(){let e=super.readWord1(),t=`@@`+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(_.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);e===123&&t===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?t===46?this.finishOp(18,2):this.finishOp(17,1):Ve(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,t){return e.type===`TypeCastExpression`?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){!t&&e.type===`AssignmentExpression`&&e.left.type===`TypeCastExpression`&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,n){for(let t=0;t<e.length;t++){let n=e[t];n?.type===`TypeCastExpression`&&(e[t]=this.typeCastToParameter(n))}super.toAssignableList(e,t,n)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var n;let i=e[r];i&&i.type===`TypeCastExpression`&&!((n=i.extra)!=null&&n.parenthesized)&&(e.length>1||!t)&&this.raise(L.TypeCastInPattern,i.typeAnnotation)}return e}parseArrayLike(e,t,n){let r=super.parseArrayLike(e,t,n);return n!=null&&!this.state.maybeInArrowParameters&&this.toReferencedList(r.elements),r}isValidLVal(e,t,n,r){return e===`TypeCastExpression`||super.isValidLVal(e,t,n,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,n,r,i,a){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,n,r,i,a),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(L.ThisParamBannedInConstructor,t)}else if(t.type===`MethodDefinition`&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(L.ThisParamBannedInConstructor,t)}}pushClassPrivateMethod(e,t,n,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,n,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,`ClassImplements`))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let n=t[0];this.isThisParam(n)&&e.kind===`get`?this.raise(L.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(L.SetterMayNotHaveThisParam,n)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,n,r,i,a,o){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let s;this.match(47)&&!a&&(s=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(e,t,n,r,i,a,o);return s&&((c.value||c).typeParameters=s),c}parseFunctionParamType(e){return this.eat(17)&&(e.type!==`Identifier`&&this.raise(L.PatternIsOptional,e),this.isThisParam(e)&&this.raise(L.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(L.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(L.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let n=super.parseMaybeDefault(e,t);return n.type===`AssignmentPattern`&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(L.TypeBeforeInitializer,n.typeAnnotation),n}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(L.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,n){t.local=Xe(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;let t=this.lookaheadCharCode();return t===123||t===42}return!e&&this.isContextual(87)}applyImportPhase(e,t,n,r){if(super.applyImportPhase(e,t,n,r),t){if(!n&&this.match(65))return;e.exportKind=n===`type`?n:`value`}else n===`type`&&this.match(55)&&this.unexpected(),e.importKind=n===`type`||n===`typeof`?n:`value`}parseImportSpecifier(e,t,n,r,i){let a=e.imported,o=null;a.type===`Identifier`&&(a.name===`type`?o=`type`:a.name===`typeof`&&(o=`typeof`));let s=!1;if(this.isContextual(93)&&!this.isLookaheadContextual(`as`)){let t=this.parseIdentifier(!0);o!==null&&!se(this.state.type)?(e.imported=t,e.importKind=o,e.local=this.cloneIdentifier(t)):(e.imported=a,e.importKind=null,e.local=this.parseIdentifier())}else{if(o!==null&&se(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(_.ImportBindingIsString,e,{importName:a.value});e.imported=a,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(s=!0,e.local=this.cloneIdentifier(e.imported))}let c=Xe(e);return n&&c&&this.raise(L.ImportTypeShorthandOnlyInPureImport,e),(n||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),s&&!n&&!c&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,`ImportSpecifier`)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){let n=e.kind;n!==`get`&&n!==`set`&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var n;let r=null,i;if(this.hasPlugin(`jsx`)&&(this.match(143)||this.match(47))){if(r=this.state.clone(),i=this.tryParse(()=>super.parseMaybeAssign(e,t),r),!i.error)return i.node;let{context:n}=this.state,a=n[n.length-1];(a===T.j_oTag||a===T.j_expr)&&n.pop()}if((n=i)!=null&&n.error||this.match(47)){var a,o;r||=this.state.clone();let n,s=this.tryParse(r=>{var i;n=this.flowParseTypeParameterDeclaration();let a=this.forwardNoArrowParamsConversionAt(n,()=>{let r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,n),r});(i=a.extra)!=null&&i.parenthesized&&r();let o=this.maybeUnwrapTypeCastExpression(a);return o.type!==`ArrowFunctionExpression`&&r(),o.typeParameters=n,this.resetStartLocationFromNode(o,n),a},r),c=null;if(s.node&&this.maybeUnwrapTypeCastExpression(s.node).type===`ArrowFunctionExpression`){if(!s.error&&!s.aborted)return s.node.async&&this.raise(L.UnexpectedTypeParameterBeforeAsyncArrowFunction,n),s.node;c=s.node}if((a=i)!=null&&a.node)return this.state=i.failState,i.node;if(c)return this.state=s.failState,c;throw(o=i)!=null&&o.thrown?i.error:s.thrown?s.error:this.raise(L.UnexpectedTokenAfterTypeParameter,n)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,`TypeAnnotation`):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,n,r=!0){if(!(n&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(L.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,n,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,t,n){if(e.type===`Identifier`&&e.name===`async`&&this.state.noArrowAt.includes(t.index)){this.next();let n=this.startNodeAt(t);n.callee=e,n.arguments=super.parseCallExpressionArguments(),e=this.finishNode(n,`CallExpression`)}else if(e.type===`Identifier`&&e.name===`async`&&this.match(47)){let r=this.state.clone(),i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t)||e(),r);if(!i.error&&!i.aborted)return i.node;let a=this.tryParse(()=>super.parseSubscripts(e,t,n),r);if(a.node&&!a.error)return a.node;if(i.node)return this.state=i.failState,i.node;if(a.node)return this.state=a.failState,a.node;throw i.error||a.error}return super.parseSubscripts(e,t,n)}parseSubscript(e,t,n,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,n)return r.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),i.arguments=this.parseCallExpressionArguments(),i.optional=!0,this.finishCallExpression(i,!0)}else if(!n&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let n=this.startNodeAt(t);n.callee=e;let i=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){let n=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(L.UnterminatedFlowComment,this.state.curPosition()),n}skipBlockComment(){if(this.hasPlugin(`flowComments`)&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(L.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?`*-/`:`*/`)}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let n=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return n===58&&r===58?t+2:this.input.slice(t+e,t+e+12)===`flow-include`?t+12:n===58&&r!==58?t:!1}hasFlowCommentCompletion(){if(this.input.indexOf(`*/`,this.state.pos)===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:n}){this.raise(L.EnumBooleanMemberNotInitialized,e,{memberName:n,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?t.explicitType===`symbol`?L.EnumInvalidMemberInitializerSymbolType:L.EnumInvalidMemberInitializerPrimaryType:L.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(L.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(L.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let n=this.parseNumericLiteral(this.state.value);return t()?{type:`number`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}case 134:{let n=this.parseStringLiteral(this.state.value);return t()?{type:`string`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}case 85:case 86:{let n=this.parseBooleanLiteral(this.match(85));return t()?{type:`boolean`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}default:return{type:`invalid`,loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:`none`,loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,n){let{explicitType:r}=t;r!==null&&r!==n&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){let n=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},i=!1;for(;!this.match(8);){if(this.eat(21)){i=!0;break}let a=this.startNode(),{id:o,init:s}=this.flowEnumMemberRaw(),c=o.name;if(c===``)continue;/^[a-z]/.test(c)&&this.raise(L.EnumInvalidMemberName,o,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),n.has(c)&&this.raise(L.EnumDuplicateMemberName,o,{memberName:c,enumName:e}),n.add(c);let l={enumName:e,explicitType:t,memberName:c};switch(a.id=o,s.type){case`boolean`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`boolean`),a.init=s.value,r.booleanMembers.push(this.finishNode(a,`EnumBooleanMember`));break;case`number`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`number`),a.init=s.value,r.numberMembers.push(this.finishNode(a,`EnumNumberMember`));break;case`string`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`string`),a.init=s.value,r.stringMembers.push(this.finishNode(a,`EnumStringMember`));break;case`invalid`:throw this.flowEnumErrorInvalidMemberInitializer(s.loc,l);case`none`:switch(t){case`boolean`:this.flowEnumErrorBooleanMemberNotInitialized(s.loc,l);break;case`number`:this.flowEnumErrorNumberMemberNotInitialized(s.loc,l);break;default:r.defaultedMembers.push(this.finishNode(a,`EnumDefaultedMember`))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:n}){if(e.length===0)return t;if(t.length===0)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:n});return t}else{for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(e,{enumName:n});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!P(this.state.type))throw this.raise(L.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:t}=this.state;return this.next(),t!==`boolean`&&t!==`number`&&t!==`string`&&t!==`symbol`&&this.raise(L.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){let n=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:n});this.expect(5);let{members:a,hasUnknownMembers:o}=this.flowEnumMembers({enumName:n,explicitType:i});switch(e.hasUnknownMembers=o,i){case`boolean`:return e.explicitType=!0,e.members=a.booleanMembers,this.expect(8),this.finishNode(e,`EnumBooleanBody`);case`number`:return e.explicitType=!0,e.members=a.numberMembers,this.expect(8),this.finishNode(e,`EnumNumberBody`);case`string`:return e.explicitType=!0,e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,`EnumStringBody`);case`symbol`:return e.members=a.defaultedMembers,this.expect(8),this.finishNode(e,`EnumSymbolBody`);default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,`EnumStringBody`));e.explicitType=!1;let i=a.booleanMembers.length,o=a.numberMembers.length,s=a.stringMembers.length,c=a.defaultedMembers.length;if(!i&&!o&&!s&&!c)return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,`EnumStringBody`);if(!o&&!s&&i>=c){for(let e of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=a.booleanMembers,this.expect(8),this.finishNode(e,`EnumBooleanBody`)}else if(!i&&!s&&o>=c){for(let e of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=a.numberMembers,this.expect(8),this.finishNode(e,`EnumNumberBody`)}else return this.raise(L.EnumInconsistentMemberValues,r,{enumName:n}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,`EnumDeclaration`)}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return!1}reScan_lt_gt(){let{type:e}=this.state;e===47?(--this.state.pos,this.readToken_lt()):e===48&&(--this.state.pos,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type===`TypeCastExpression`?e.expression:e}};let tt={__proto__:null,quot:`"`,amp:`&`,apos:`'`,lt:`<`,gt:`>`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:``,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,fnof:`ƒ`,circ:`ˆ`,tilde:`˜`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,ensp:` `,emsp:` `,thinsp:` `,zwnj:``,zwj:``,lrm:``,rlm:``,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,bull:`•`,hellip:`…`,permil:`‰`,prime:`′`,Prime:`″`,lsaquo:`‹`,rsaquo:`›`,oline:`‾`,frasl:`⁄`,euro:`€`,image:`ℑ`,weierp:`℘`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`},nt=RegExp(`\\r\\n|[\\r\\n\\u2028\\u2029]`,`g`);function rt(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function it(e,t,n){for(let r=t;r<n;r++)if(rt(e.charCodeAt(r)))return!0;return!1}let at=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ot=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function st(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}let ct=g`jsx`({AttributeIsEmpty:`JSX attributes must only be assigned a non-empty expression.`,MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:`Expected corresponding JSX closing tag for <>.`,UnexpectedSequenceExpression:`Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?`,UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:`JSX value should be either an expression or a quoted JSX text.`,UnterminatedJsxContent:`Unterminated JSX contents.`,UnwrappedAdjacentJSXElements:`Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?`});function lt(e){return e?e.type===`JSXOpeningFragment`||e.type===`JSXClosingFragment`:!1}function ut(e){if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return ut(e.object)+`.`+ut(e.property);throw Error(`Node had unexpected type: `+e.type)}var dt=e=>class extends e{jsxReadToken(){let e=``,t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ct.UnterminatedJsxContent,this.state.startLoc);let n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:if(this.state.pos===this.state.start){n===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(n);return}e+=this.input.slice(t,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:rt(n)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t=this.input.charCodeAt(this.state.pos),n;return++this.state.pos,t===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,n=e?`
|
|
5
|
-
`:`\r
|
|
6
|
-
`):n=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,n}jsxReadString(e){let t=``,n=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(_.UnterminatedString,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):rt(r)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}t+=this.input.slice(n,this.state.pos++),this.finishToken(134,t)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;this.codePointAtPos(this.state.pos)===120&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,`bail`);if(t!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(t)}else{let t=0,n=!1;for(;t++<10&&this.state.pos<this.length&&!(n=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(n){let t=this.input.slice(e,this.state.pos),n=tt[t];if(++this.state.pos,n)return n}}return this.state.pos=e,`&`}jsxReadWord(){let e,t=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(je(e)||e===45);this.finishToken(141,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(141)?e.name=this.state.value:fe(this.state.type)?e.name=ve(this.state.type):this.unexpected(),this.next(),this.finishNode(e,`JSXIdentifier`)}jsxParseNamespacedName(){let e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;let n=this.startNodeAt(e);return n.namespace=t,n.name=this.jsxParseIdentifier(),this.finishNode(n,`JSXNamespacedName`)}jsxParseElementName(){let e=this.state.startLoc,t=this.jsxParseNamespacedName();if(t.type===`JSXNamespacedName`)return t;for(;this.eat(16);){let n=this.startNodeAt(e);n.object=t,n.property=this.jsxParseIdentifier(),t=this.finishNode(n,`JSXMemberExpression`)}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(T.brace),this.next(),e=this.jsxParseExpressionContainer(e,T.j_oTag),e.expression.type===`JSXEmptyExpression`&&this.raise(ct.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(ct.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,`JSXEmptyExpression`,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(T.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXSpreadChild`)}jsxParseExpressionContainer(e,t){return this.match(8)?e.expression=this.jsxParseEmptyExpression():e.expression=this.parseExpression(),this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXExpressionContainer`)}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(T.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(T.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXSpreadAttribute`)):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,`JSXAttribute`))}jsxParseOpeningElementAt(e){let t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,`JSXOpeningFragment`):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(144);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,`JSXOpeningElement`)}jsxParseClosingElementAt(e){let t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,`JSXClosingFragment`):(t.name=this.jsxParseElementName(),this.expect(144),this.finishNode(t,`JSXClosingElement`))}jsxParseElementAt(e){let t=this.startNodeAt(e),n=[],r=this.jsxParseOpeningElementAt(e),i=null;if(!r.selfClosing){contents:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){i=this.jsxParseClosingElementAt(e);break contents}n.push(this.jsxParseElementAt(e));break;case 142:n.push(this.parseLiteral(this.state.value,`JSXText`));break;case 5:{let e=this.startNode();this.setContext(T.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,T.j_expr));break}default:this.unexpected()}lt(r)&&!lt(i)&&i!==null?this.raise(ct.MissingClosingTagFragment,i):(!lt(r)&<(i)||!lt(r)&&!lt(i)&&ut(i.name)!==ut(r.name))&&this.raise(ct.MissingClosingTagElement,i,{openingTagName:ut(r.name)})}if(lt(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=n,this.match(47))throw this.raise(ct.UnwrappedAdjacentJSXElements,this.state.startLoc);return lt(r)?this.finishNode(t,`JSXFragment`):this.finishNode(t,`JSXElement`)}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t===T.j_expr){this.jsxReadToken();return}if(t===T.j_oTag||t===T.j_cTag){if(Ae(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&t===T.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){let{context:t,type:n}=this.state;if(n===56&&e===143)t.splice(-2,2,T.j_cTag),this.state.canStartJSXElement=!1;else if(n===143)t.push(T.j_oTag);else if(n===144){let n=t[t.length-1];n===T.j_oTag&&e===56||n===T.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===T.j_expr):(this.setContext(T.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=F(n)}};class ft extends We{constructor(...e){super(...e),this.tsNames=new Map}}class pt extends Ge{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new ft(e)}enter(e){e===1024&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e===1024&&this.importsStack.pop(),e}hasImport(e,t){let n=this.importsStack.length;if(this.importsStack[n-1].has(e))return!0;if(!t&&n>1){for(let t=0;t<n-1;t++)if(this.importsStack[t].has(e))return!0}return!1}declareName(e,t,n){if(t&4096){this.hasImport(e,!0)&&this.parser.raise(_.VarRedeclaration,n,{identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let r=this.currentScope(),i=r.tsNames.get(e)||0;if(t&1024){this.maybeExportDefined(r,e),r.tsNames.set(e,i|16);return}super.declareName(e,t,n),t&2&&(t&1||(this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e)),i|=1),t&256&&(i|=2),t&512&&(i|=4),t&128&&(i|=8),i&&r.tsNames.set(e,i)}isRedeclaredInScope(e,t,n){let r=e.tsNames.get(t);return(r&2)>0?n&256?!!(n&512)!=(r&4)>0:!0:n&128&&(r&8)>0?e.names.get(t)&2?!!(n&1):!1:n&2&&(r&1)>0?!0:super.isRedeclaredInScope(e,t,n)}checkLocalExport(e){let{name:t}=e;if(this.hasImport(t))return;let n=this.scopeStack.length;for(let e=n-1;e>=0;e--){let n=this.scopeStack[e].tsNames.get(t);if((n&1)>0||(n&16)>0)return}super.checkLocalExport(e)}}class mt{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function ht(e,t){return(e?2:0)|!!t}class gt{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if(typeof e==`string`)return this.plugins.has(e);{let[t,n]=e;if(!this.hasPlugin(t))return!1;let r=this.plugins.get(t);for(let e of Object.keys(n))if(r?.[e]!==n[e])return!1;return!0}}getPluginOption(e,t){return this.plugins.get(e)?.[t]}}function _t(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function vt(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function yt(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function bt(e,t,n){let r=null,i=t.length;for(;r===null&&i>0;)r=t[--i];r===null||r.start>n.start?yt(e,n.comments):_t(r,n.comments)}class xt extends gt{addComment(e){this.filename&&(e.loc.filename=this.filename);let{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){let{commentStack:t}=this.state,n=t.length;if(n===0)return;let r=n-1,i=t[r];i.start===e.end&&(i.leadingNode=e,r--);let{start:a}=e;for(;r>=0;r--){let n=t[r],i=n.end;if(i>a)n.containingNode=e,this.finalizeComment(n),t.splice(r,1);else{i===a&&(n.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&_t(e.leadingNode,t),e.trailingNode!==null&&vt(e.trailingNode,t);else{let n=e.containingNode,r=e.start;if(this.input.charCodeAt(this.offsetToSourcePos(r)-1)===44)switch(n.type){case`ObjectExpression`:case`ObjectPattern`:bt(n,n.properties,e);break;case`CallExpression`:case`NewExpression`:case`OptionalCallExpression`:bt(n,n.arguments,e);break;case`ImportExpression`:bt(n,[n.source,n.options??null],e);break;case`FunctionDeclaration`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`ObjectMethod`:case`ClassMethod`:case`ClassPrivateMethod`:case`TSTypeParameterDeclaration`:bt(n,n.params,e);break;case`ArrayExpression`:case`ArrayPattern`:bt(n,n.elements,e);break;case`ExportNamedDeclaration`:case`ImportDeclaration`:bt(n,n.specifiers,e);break;case`TSEnumDeclaration`:bt(n,n.members,e);break;case`TSEnumBody`:bt(n,n.members,e);break;case`TSInterfaceBody`:bt(n,n.body,e);break;default:if(n.type===`RecordExpression`){bt(n,n.properties,e);break}if(n.type===`TupleExpression`){bt(n,n.elements,e);break}yt(n,t)}else yt(n,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:n}=t;if(n===0)return;let r=t[n-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,n){let{commentStack:r}=this.state,i=r.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let i=r[a],o=i.end;if(i.start===n)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}}class St{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[T.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:n,startIndex:r,startLine:i,startColumn:a}){this.strict=e===!1?!1:e===!0?!0:n===`module`,this.startIndex=r,this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new t(i,a,r)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new t(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let e=new St;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var Ct=function(e){return e>=48&&e<=57};let wt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Tt={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Et(e,t,n,r,i,a){let o=n,s=r,c=i,l=``,u=null,d=n,{length:f}=t;for(;;){if(n>=f){a.unterminated(o,s,c),l+=t.slice(d,n);break}let p=t.charCodeAt(n);if(Dt(e,p,t,n)){l+=t.slice(d,n);break}if(p===92){l+=t.slice(d,n);let o=Ot(t,n,r,i,e===`template`,a);o.ch===null&&!u?u={pos:n,lineStart:r,curLine:i}:l+=o.ch,{pos:n,lineStart:r,curLine:i}=o,d=n}else p===8232||p===8233?(++n,++i,r=n):p===10||p===13?e===`template`?(l+=t.slice(d,n)+`
|
|
7
|
-
`,++n,p===13&&t.charCodeAt(n)===10&&++n,++i,d=r=n):a.unterminated(o,s,c):++n}return{pos:n,str:l,firstInvalidLoc:u,lineStart:r,curLine:i,containsInvalid:!!u}}function Dt(e,t,n,r){return e===`template`?t===96||t===36&&n.charCodeAt(r+1)===123:t===(e===`double`?34:39)}function Ot(e,t,n,r,i,a){let o=!i;t++;let s=e=>({pos:t,ch:e,lineStart:n,curLine:r}),c=e.charCodeAt(t++);switch(c){case 110:return s(`
|
|
8
|
-
`);case 114:return s(`\r`);case 120:{let i;return{code:i,pos:t}=kt(e,t,n,r,2,!1,o,a),s(i===null?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=jt(e,t,n,r,o,a),s(i===null?null:String.fromCodePoint(i))}case 116:return s(` `);case 98:return s(`\b`);case 118:return s(`\v`);case 102:return s(`\f`);case 13:e.charCodeAt(t)===10&&++t;case 10:n=t,++r;case 8232:case 8233:return s(``);case 56:case 57:if(i)return s(null);a.strictNumericEscape(t-1,n,r);default:if(c>=48&&c<=55){let o=t-1,c=/^[0-7]+/.exec(e.slice(o,t+2))[0],l=parseInt(c,8);l>255&&(c=c.slice(0,-1),l=parseInt(c,8)),t+=c.length-1;let u=e.charCodeAt(t);if(c!==`0`||u===56||u===57){if(i)return s(null);a.strictNumericEscape(o,n,r)}return s(String.fromCharCode(l))}return s(String.fromCharCode(c))}}function kt(e,t,n,r,i,a,o,s){let c=t,l;return{n:l,pos:t}=At(e,t,n,r,16,i,a,!1,s,!o),l===null&&(o?s.invalidEscapeSequence(c,n,r):t=c-1),{code:l,pos:t}}function At(e,t,n,r,i,a,o,s,c,l){let u=t,d=i===16?wt.hex:wt.decBinOct,f=i===16?Tt.hex:i===10?Tt.dec:i===8?Tt.oct:Tt.bin,p=!1,m=0;for(let u=0,h=a??1/0;u<h;++u){let a=e.charCodeAt(t),u;if(a===95&&s!==`bail`){let i=e.charCodeAt(t-1),a=e.charCodeAt(t+1);if(!s){if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,n,r)}else if(Number.isNaN(a)||!f(a)||d.has(i)||d.has(a)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,n,r)}++t;continue}if(u=a>=97?a-97+10:a>=65?a-65+10:Ct(a)?a-48:1/0,u>=i){if(u<=9&&l)return{n:null,pos:t};if(u<=9&&c.invalidDigit(t,n,r,i))u=0;else if(o)u=0,p=!0;else break}++t,m=m*i+u}return t===u||a!=null&&t-u!==a||p?{n:null,pos:t}:{n:m,pos:t}}function jt(e,t,n,r,i,a){let o=e.charCodeAt(t),s;if(o===123){if(++t,{code:s,pos:t}=kt(e,t,n,r,e.indexOf(`}`,t)-t,!0,i,a),++t,s!==null&&s>1114111)if(i)a.invalidCodePoint(t,n,r);else return{code:null,pos:t}}else({code:s,pos:t}=kt(e,t,n,r,4,!1,i,a));return{code:s,pos:t}}function Mt(e,n,r){return new t(r,e-n,e)}let Nt=new Set([103,109,115,105,121,117,100,118]);class Pt{constructor(e){let t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new n(e.startLoc,e.endLoc)}}class Ft extends xt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,n,r)=>this.optionFlags&2048?(this.raise(_.InvalidDigit,Mt(e,t,n),{radix:r}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(_.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(_.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(_.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(_.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,n)=>{this.recordStrictModeErrors(_.StrictNumericEscape,Mt(e,t,n))},unterminated:(e,t,n)=>{throw this.raise(_.UnterminatedString,Mt(e-1,t,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(_.StrictNumericEscape),unterminated:(e,t,n)=>{throw this.raise(_.UnterminatedTemplate,Mt(e,t,n))}}),this.state=new St,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new Pt(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return at.lastIndex=e,at.test(this.input)?at.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return ot.lastIndex=e,ot.test(this.input)?ot.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)==55296&&++e<this.input.length){let n=this.input.charCodeAt(e);(n&64512)==56320&&(t=65536+((t&1023)<<10)+(n&1023))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([e,t])=>this.raise(e,t)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,i=this.input.indexOf(e,r+2);if(i===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition());for(this.state.pos=i+e.length,nt.lastIndex=r+2;nt.test(this.input)&&nt.lastIndex<=i;)++this.state.curLine,this.state.lineStart=nt.lastIndex;if(this.isLookahead)return;let a={type:`CommentBlock`,value:this.input.slice(r+2,i),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(i+e.length),loc:new n(t,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(a),a}skipLineComment(e){let t=this.state.pos,r;this.isLookahead||(r=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!rt(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let a=this.state.pos,o={type:`CommentLine`,value:this.input.slice(t+e,a),start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(a),loc:new n(r,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipSpace(){let e=this.state.pos,t=this.optionFlags&4096?[]:null;loop:for(;this.state.pos<this.length;){let n=this.input.charCodeAt(this.state.pos);switch(n){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let e=this.skipBlockComment(`*/`);e!==void 0&&(this.addComment(e),t?.push(e));break}case 47:{let e=this.skipLineComment(2);e!==void 0&&(this.addComment(e),t?.push(e));break}default:break loop}break;default:if(st(n))++this.state.pos;else if(n===45&&!this.inModule&&this.optionFlags&8192){let n=this.state.pos;if(this.input.charCodeAt(n+1)===45&&this.input.charCodeAt(n+2)===62&&(e===0||this.state.lineStart>e)){let e=this.skipLineComment(3);e!==void 0&&(this.addComment(e),t?.push(e))}else break loop}else if(n===60&&!this.inModule&&this.optionFlags&8192){let e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){let e=this.skipLineComment(4);e!==void 0&&(this.addComment(e),t?.push(e))}else break loop}else break loop}}if(t?.length>0){let n=this.state.pos,r={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(n),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(n)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(_.UnexpectedDigitAfterHash,this.state.curPosition());if(t===123||t===91&&this.hasPlugin(`recordAndTuple`)){if(this.expectPlugin(`recordAndTuple`),this.getPluginOption(`recordAndTuple`,`syntaxType`)===`bar`)throw this.raise(t===123?_.RecordExpressionHashIncorrectStartSyntaxType:_.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else Ae(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!rt(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let n=this.input.slice(t+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(e){let t=e===42?55:54,n=1,r=this.input.charCodeAt(this.state.pos+1);e===42&&r===42&&(n++,r=this.input.charCodeAt(this.state.pos+2),t=57),r===61&&!this.state.inType&&(n++,t=e===37?33:30),this.finishOp(t,n)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(e===124?41:42,2);return}if(e===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin(`recordAndTuple`)&&t===125){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin(`recordAndTuple`)&&t===93){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);e===61&&!this.state.inType?this.finishOp(32,2):e===94&&this.hasPlugin([`pipelineOperator`,{proposal:`hack`,topicToken:`^^`}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin([`pipelineOperator`,{proposal:`hack`,topicToken:`@@`}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(34,2);return}t===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===62){let t=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+t)===61){this.finishOp(30,t+1);return}this.finishOp(52,t);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&t===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);e===63?t===61?this.finishOp(30,3):this.finishOp(40,2):e===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin(`recordAndTuple`)&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin(`recordAndTuple`)&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(_.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin(`functionBind`)&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Ae(e)){this.readWord(e);return}}throw this.raise(_.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,t){let n=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,n)}readRegexp(){let e=this.state.startLoc,t=this.state.start+1,n,i,{pos:a}=this.state;for(;;++a){if(a>=this.length)throw this.raise(_.UnterminatedRegExp,r(e,1));let t=this.input.charCodeAt(a);if(rt(t))throw this.raise(_.UnterminatedRegExp,r(e,1));if(n)n=!1;else{if(t===91)i=!0;else if(t===93&&i)i=!1;else if(t===47&&!i)break;n=t===92}}let o=this.input.slice(t,a);++a;let s=``,c=()=>r(e,a+2-t);for(;a<this.length;){let e=this.codePointAtPos(a),t=String.fromCharCode(e);if(Nt.has(e))e===118?s.includes(`u`)&&this.raise(_.IncompatibleRegExpUVFlags,c()):e===117&&s.includes(`v`)&&this.raise(_.IncompatibleRegExpUVFlags,c()),s.includes(t)&&this.raise(_.DuplicateRegExpFlags,c());else if(je(e)||e===92)this.raise(_.MalformedRegExpFlags,c());else break;++a,s+=t}this.state.pos=a,this.finishToken(138,{pattern:o,flags:s})}readInt(e,t,n=!1,r=!0){let{n:i,pos:a}=At(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,n,r,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(e){let t=this.state.pos,n=this.state.curPosition(),i=!1;this.state.pos+=2;let a=this.readInt(e);a??this.raise(_.InvalidDigit,r(n,2),{radix:e});let o=this.input.charCodeAt(this.state.pos);if(o===110)++this.state.pos,i=!0;else if(o===109)throw this.raise(_.InvalidDecimal,n);if(Ae(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,this.state.curPosition());if(i){let e=this.input.slice(t,this.state.pos).replace(/[_n]/g,``);this.finishToken(136,e);return}this.finishToken(135,a)}readNumber(e){let t=this.state.pos,n=this.state.curPosition(),i=!1,a=!1,o=!1,s=!1;!e&&this.readInt(10)===null&&this.raise(_.InvalidNumber,this.state.curPosition());let c=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(c){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(_.StrictOctalLiteral,n),!this.state.strict){let t=e.indexOf(`_`);t>0&&this.raise(_.ZeroDigitNumericSeparator,r(n,t))}s=c&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!s&&(++this.state.pos,this.readInt(10),i=!0,l=this.input.charCodeAt(this.state.pos)),(l===69||l===101)&&!s&&(l=this.input.charCodeAt(++this.state.pos),(l===43||l===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(_.InvalidOrMissingExponent,n),i=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),l===110&&((i||c)&&this.raise(_.InvalidBigIntLiteral,n),++this.state.pos,a=!0),l===109){this.expectPlugin(`decimal`,this.state.curPosition()),(o||c)&&this.raise(_.InvalidDecimal,n),++this.state.pos;var u=!0}if(Ae(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,this.state.curPosition());let d=this.input.slice(t,this.state.pos).replace(/[_mn]/g,``);if(a){this.finishToken(136,d);return}if(u){this.finishToken(137,d);return}let f=s?parseInt(d,8):parseFloat(d);this.finishToken(135,f)}readCodePoint(e){let{code:t,pos:n}=jt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=n,t}readString(e){let{str:t,pos:n,curLine:r,lineStart:i}=Et(e===34?`double`:`single`,this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(134,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:n,firstInvalidLoc:r,pos:i,curLine:a,lineStart:o}=Et(`template`,this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=o,this.state.curLine=a,r&&(this.state.firstInvalidTemplateEscapePos=new t(r.curLine,r.pos-r.lineStart,this.sourceToOffsetPos(r.pos))),this.input.codePointAt(i)===96?this.finishToken(24,r?null:e+n+"`"):(this.state.pos++,this.finishToken(25,r?null:e+n+"${"))}recordStrictModeErrors(e,t){let n=t.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,t):this.state.strictErrors.set(n,[e,t])}readWord1(e){this.state.containsEsc=!1;let t=``,n=this.state.pos,r=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(je(e))this.state.pos+=e<=65535?1:2;else if(e===92){this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===n?Ae:je;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(_.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;let a=this.readCodePoint(!0);a!==null&&(i(a)||this.raise(_.EscapedCharNotAnIdentifier,e),t+=String.fromCodePoint(a)),r=this.state.pos}else break}return t+this.input.slice(r,this.state.pos)}readWord(e){let t=this.readWord1(e),n=ee.get(t);n===void 0?this.finishToken(132,t):this.finishToken(n,ve(n))}checkKeywordEscapes(){let{type:e}=this.state;fe(e)&&this.state.containsEsc&&this.raise(_.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:ve(e)})}raise(e,n,r={}){let i=e(n instanceof t?n:n.loc.start,r);if(!(this.optionFlags&2048))throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,n,r={}){let i=n instanceof t?n:n.loc.start,a=i.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){let n=o[t];if(n.loc.index===a)return o[t]=e(i,r);if(n.loc.index<a)break}return this.raise(e,n,r)}updateContext(e){}unexpected(e,t){throw this.raise(_.UnexpectedToken,e??this.state.startLoc,{expected:t?ve(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(_.MissingPlugin,t??this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(_.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,n,r)=>{this.raise(e,Mt(t,n,r))}}}class It{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Lt{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 It)}exit(){let e=this.stack.pop(),t=this.current();for(let[n,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(n)||t.undefinedPrivateNames.set(n,r):this.parser.raise(_.InvalidPrivateFieldResolution,r,{identifierName:n})}declarePrivateName(e,t,n){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:a}=this.current(),o=r.has(e);if(t&3){let n=o&&i.get(e);if(n){let r=n&4,a=t&4;o=(n&3)==(t&3)||r!==a,o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(_.PrivateNameRedeclaration,n,{identifierName:e}),r.add(e),a.delete(e)}usePrivateName(e,t){let n;for(n of this.stack)if(n.privateNames.has(e))return;n?n.undefinedPrivateNames.set(e,t):this.parser.raise(_.InvalidPrivateFieldResolution,t,{identifierName:e})}}class Rt{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class zt extends Rt{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let n=t.index;this.declarationErrors.set(n,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Bt{constructor(e){this.parser=void 0,this.stack=[new Rt],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let n=t.loc.start,{stack:r}=this,i=r.length-1,a=r[i];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(e,n);else return;a=r[--i]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,t){let{stack:n}=this,r=n[n.length-1],i=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,i);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(e,i);else return}recordAsyncArrowParametersError(e){let{stack:t}=this,n=t.length-1,r=t[n];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(_.AwaitBindingIdentifier,e),r=t[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(([t,n])=>{this.parser.raise(t,n);let r=e.length-2,i=e[r];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(n.index),i=e[--r]})}}function Vt(){return new Rt(3)}function Ht(){return new zt(1)}function Ut(){return new zt(2)}function Wt(){return new Rt}class Gt extends Ft{addExtra(e,t,n,r=!0){if(!e)return;let{extra:i}=e;i??(i={},e.extra=i),r?i[t]=n:Object.defineProperty(i,t,{enumerable:r,value:n})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){if(this.input.startsWith(t,e)){let n=this.input.charCodeAt(e+t.length);return!(je(n)||(n&64512)==55296)}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return it(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return it(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(_.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){let n={node:null};try{let r=e((e=null)=>{throw n.node=e,n});if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let r=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:r};if(e===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:a,voidPatternLoc:o}=e,s=!!n||!!r||!!a||!!i||!!o;if(!t)return s;n!=null&&this.raise(_.InvalidCoverInitializedName,n),r!=null&&this.raise(_.DuplicateProto,r),i!=null&&this.raise(_.UnexpectedPrivateField,i),a!=null&&this.unexpected(a),o!=null&&this.raise(_.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return ce(this.state.type)}isPrivateName(e){return e.type===`PrivateName`}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type===`MemberExpression`||e.type===`OptionalMemberExpression`)&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type===`ObjectProperty`}isObjectMethod(e){return e.type===`ObjectMethod`}initializeScopes(e=this.options.sourceType===`module`){let t=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=e;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,e);let o=this.prodParam;this.prodParam=new mt;let s=this.classScope;this.classScope=new Lt(this);let c=this.expressionScope;return this.expressionScope=new Bt(this),()=>{this.state.labels=t,this.exportedIdentifiers=n,this.inModule=r,this.scope=i,this.prodParam=o,this.classScope=s,this.expressionScope=c}}enterInitialScopes(){let e=0;(this.inModule||this.optionFlags&1)&&(e|=2),this.optionFlags&32&&(e|=1);let t=!this.inModule&&this.options.sourceType===`commonjs`;(t||this.optionFlags&2)&&(e|=4),this.prodParam.enter(e);let n=t?514:1;this.optionFlags&4&&(n|=512),this.scope.enter(n)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;t!==null&&this.expectPlugin(`destructuringPrivate`,t)}}class Kt{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class qt{constructor(e,t,r){this.type=``,this.start=t,this.end=0,this.loc=new n(r),e?.optionFlags&128&&(this.range=[t,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}}let Jt=qt.prototype;Jt.__clone=function(){let e=new qt(void 0,this.start,this.loc.start),t=Object.keys(this);for(let n=0,r=t.length;n<r;n++){let r=t[n];r!==`leadingComments`&&r!==`trailingComments`&&r!==`innerComments`&&(e[r]=this[r])}return e};class Yt extends Gt{startNode(){let e=this.state.startLoc;return new qt(this,e.index,e)}startNodeAt(e){return new qt(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,n){return e.type=t,e.end=n.index,e.loc.end=n,this.optionFlags&128&&(e.range[1]=n.index),this.optionFlags&4096&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.optionFlags&128&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,this.optionFlags&128&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}castNodeTo(e,t){return e.type=t,e}cloneIdentifier(e){let{type:t,start:n,end:r,loc:i,range:a,name:o}=e,s=Object.create(Jt);return s.type=t,s.start=n,s.end=r,s.loc=i,s.range=a,s.name=o,e.extra&&(s.extra=e.extra),s}cloneStringLiteral(e){let{type:t,start:n,end:r,loc:i,range:a,extra:o}=e,s=Object.create(Jt);return s.type=t,s.start=n,s.end=r,s.loc=i,s.range=a,s.extra=o,s.value=e.value,s}}let Xt=e=>e.type===`ParenthesizedExpression`?Xt(e.expression):e;class Zt extends Yt{toAssignable(e,t=!1){var n;let r;switch((e.type===`ParenthesizedExpression`||(n=e.extra)!=null&&n.parenthesized)&&(r=Xt(e),t?r.type===`Identifier`?this.expressionScope.recordArrowParameterBindingError(_.InvalidParenthesizedAssignment,e):r.type!==`CallExpression`&&r.type!==`MemberExpression`&&!this.isOptionalMemberExpression(r)&&this.raise(_.InvalidParenthesizedAssignment,e):this.raise(_.InvalidParenthesizedAssignment,e)),e.type){case`Identifier`:case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:case`VoidPattern`:break;case`ObjectExpression`:this.castNodeTo(e,`ObjectPattern`);for(let n=0,r=e.properties.length,a=r-1;n<r;n++){var i;let r=e.properties[n],o=n===a;this.toAssignableObjectExpressionProp(r,o,t),o&&r.type===`RestElement`&&(i=e.extra)!=null&&i.trailingCommaLoc&&this.raise(_.RestTrailingComma,e.extra.trailingCommaLoc)}break;case`ObjectProperty`:{let{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t);break}case`SpreadElement`:throw Error(`Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.`);case`ArrayExpression`:this.castNodeTo(e,`ArrayPattern`),this.toAssignableList(e.elements,e.extra?.trailingCommaLoc,t);break;case`AssignmentExpression`:e.operator!==`=`&&this.raise(_.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,`AssignmentPattern`),delete e.operator,e.left.type===`VoidPattern`&&this.raise(_.VoidPatternInitializer,e.left),this.toAssignable(e.left,t);break;case`ParenthesizedExpression`:this.toAssignable(r,t);break}}toAssignableObjectExpressionProp(e,t,n){if(e.type===`ObjectMethod`)this.raise(e.kind===`get`||e.kind===`set`?_.PatternHasAccessor:_.PatternHasMethod,e.key);else if(e.type===`SpreadElement`){this.castNodeTo(e,`RestElement`);let r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,n),t||this.raise(_.RestTrailingComma,e)}else this.toAssignable(e,n)}toAssignableList(e,t,n){let r=e.length-1;for(let i=0;i<=r;i++){let a=e[i];a&&(this.toAssignableListItem(e,i,n),a.type===`RestElement`&&(i<r?this.raise(_.RestTrailingComma,a):t&&this.raise(_.RestTrailingComma,t)))}}toAssignableListItem(e,t,n){let r=e[t];if(r.type===`SpreadElement`){this.castNodeTo(r,`RestElement`);let e=r.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,n)}else this.toAssignable(r,n)}isAssignable(e,t){switch(e.type){case`Identifier`:case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:case`VoidPattern`:return!0;case`ObjectExpression`:{let t=e.properties.length-1;return e.properties.every((e,n)=>e.type!==`ObjectMethod`&&(n===t||e.type!==`SpreadElement`)&&this.isAssignable(e))}case`ObjectProperty`:return this.isAssignable(e.value);case`SpreadElement`:return this.isAssignable(e.argument);case`ArrayExpression`:return e.elements.every(e=>e===null||this.isAssignable(e));case`AssignmentExpression`:return e.operator===`=`;case`ParenthesizedExpression`:return this.isAssignable(e.expression);case`MemberExpression`:case`OptionalMemberExpression`:return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)t?.type===`ArrayExpression`&&this.toReferencedListDeep(t.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,`SpreadElement`)}parseRestBinding(){let e=this.startNode();this.next();let t=this.parseBindingAtom();return t.type===`VoidPattern`&&this.raise(_.UnexpectedVoidPattern,t),e.argument=t,this.finishNode(e,`RestElement`)}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,`ArrayPattern`)}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,t,n){let r=n&1,i=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else if(this.eat(e))break;else if(this.match(21)){let r=this.parseRestBinding();if((this.hasPlugin(`flow`)||n&2)&&(r=this.parseFunctionParamType(r)),i.push(r),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];if(n&2)for(this.match(26)&&this.hasPlugin(`decorators`)&&this.raise(_.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());i.push(this.parseBindingElement(n,e))}return i}parseBindingRestProperty(e){return this.next(),this.hasPlugin(`discardBinding`)&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(_.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,`RestElement`)}parseBindingProperty(){let{type:e,startLoc:t}=this.state;if(e===21)return this.parseBindingRestProperty(this.startNode());let n=this.startNode();return e===139?(this.expectPlugin(`destructuringPrivate`,t),this.classScope.usePrivateName(this.state.value,t),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,t,!1,!1,!0,!1)}parseBindingElement(e,t){let n=this.parseMaybeDefault();return(this.hasPlugin(`flow`)||e&2)&&this.parseFunctionParamType(n),t.length&&(n.decorators=t,this.resetStartLocationFromNode(n,t[0])),this.parseMaybeDefault(n.loc.start,n)}parseFunctionParamType(e){return e}parseMaybeDefault(e,t){if(e??=this.state.startLoc,t??=this.parseBindingAtom(),!this.eat(29))return t;let n=this.startNodeAt(e);return t.type===`VoidPattern`&&this.raise(_.VoidPatternInitializer,t),n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,`AssignmentPattern`)}isValidLVal(e,t,n,r){switch(e){case`AssignmentPattern`:return`left`;case`RestElement`:return`argument`;case`ObjectProperty`:return`value`;case`ParenthesizedExpression`:return`expression`;case`ArrayPattern`:return`elements`;case`ObjectPattern`:return`properties`;case`VoidPattern`:return!0;case`CallExpression`:if(!t&&!this.state.strict&&this.optionFlags&8192)return!0}return!1}isOptionalMemberExpression(e){return e.type===`OptionalMemberExpression`}checkLVal(e,t,n=64,r=!1,i=!1,a=!1,o=!1){var s;let c=e.type;if(this.isObjectMethod(e))return;let l=this.isOptionalMemberExpression(e);if(l||c===`MemberExpression`){l&&(this.expectPlugin(`optionalChainingAssign`,e.loc.start),t.type!==`AssignmentExpression`&&this.raise(_.InvalidLhsOptionalChaining,e,{ancestor:t})),n!==64&&this.raise(_.InvalidPropertyBindingPattern,e);return}if(c===`Identifier`){this.checkIdentifier(e,n,i);let{name:t}=e;r&&(r.has(t)?this.raise(_.ParamDupe,e):r.add(t));return}else c===`VoidPattern`&&t.type===`CatchClause`&&this.raise(_.VoidPatternCatchClauseParam,e);let u=Xt(e);o||=u.type===`CallExpression`&&(u.callee.type===`Import`||u.callee.type===`Super`);let d=this.isValidLVal(c,o,!(a||(s=e.extra)!=null&&s.parenthesized)&&t.type===`AssignmentExpression`,n);if(d===!0)return;if(d===!1){let r=n===64?_.InvalidLhs:_.InvalidLhsBinding;this.raise(r,e,{ancestor:t});return}let f,p;typeof d==`string`?(f=d,p=c===`ParenthesizedExpression`):[f,p]=d;let m=c===`ArrayPattern`||c===`ObjectPattern`?{type:c}:t,h=e[f];if(Array.isArray(h))for(let e of h)e&&this.checkLVal(e,m,n,r,i,p,!0);else h&&this.checkLVal(h,m,n,r,i,p,o)}checkIdentifier(e,t,n=!1){this.state.strict&&(n?ze(e.name,this.inModule):Re(e.name))&&(t===64?this.raise(_.StrictEvalArguments,e,{referenceName:e.name}):this.raise(_.StrictEvalArgumentsBinding,e,{bindingName:e.name})),t&8192&&e.name===`let`&&this.raise(_.LetInLexicalBinding,e),t&64||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case`ParenthesizedExpression`:this.checkToRestConversion(e.expression,t);break;case`Identifier`:case`MemberExpression`:break;case`ArrayExpression`:case`ObjectExpression`:if(t)break;default:this.raise(_.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?_.RestTrailingComma:_.ElementAfterRest,this.state.startLoc),!0):!1}}let Qt=/in(?:stanceof)?|as|satisfies/y;function $t(e){if(e==null)throw Error(`Unexpected ${e} value.`);return e}function en(e){if(!e)throw Error(`Assert fail`)}let R=g`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:`An 'accessor' property cannot be declared optional.`,AccessorCannotDeclareThisParameter:`'get' and 'set' accessors cannot declare 'this' parameters.`,AccessorCannotHaveTypeParameters:`An accessor cannot have type parameters.`,ClassMethodHasDeclare:`Class methods cannot have the 'declare' modifier.`,ClassMethodHasReadonly:`Class methods cannot have the 'readonly' modifier.`,ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:`A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.`,ConstructorHasTypeParameters:`Type parameters cannot appear on a constructor declaration.`,DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:`Initializers are not allowed in ambient contexts.`,DeclareFunctionHasImplementation:`An implementation cannot be declared in ambient contexts.`,DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen: '${e}'.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:`Type argument list cannot be empty.`,EmptyTypeParameters:`Type parameter list cannot be empty.`,ExpectedAmbientAfterExportDeclare:`'export declare' must be followed by an ambient declaration.`,ImportAliasHasImportType:`An import alias can not use 'import type'.`,ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:`Index signatures cannot have the 'abstract' modifier.`,IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:`Index signatures cannot have the 'declare' modifier.`,IndexSignatureHasOverride:`'override' modifier cannot appear on an index signature.`,IndexSignatureHasStatic:`Index signatures cannot have the 'static' modifier.`,InitializerNotAllowedInAmbientContext:`Initializers are not allowed in ambient contexts.`,InvalidHeritageClauseType:({token:e})=>`'${e}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:e=>`'${e}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:e=>`'${e}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:`Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.`,InvalidTupleMemberLabel:`Tuple members must be labeled with a simple identifier.`,MissingInterfaceName:`'interface' declarations must be followed by an identifier.`,NonAbstractClassHasAbstractMethod:`Abstract methods can only appear within an abstract class.`,NonClassMethodPropertyHasAbstractModifier:`'abstract' modifier can only appear on a class, method, or property declaration.`,OptionalTypeBeforeRequired:`A required element cannot follow an optional element.`,OverrideNotInSubClass:`This member cannot have an 'override' modifier because its containing class does not extend another class.`,PatternIsOptional:`A binding pattern parameter cannot be optional in an implementation signature.`,PrivateElementHasAbstract:`Private elements cannot have the 'abstract' modifier.`,PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:`'readonly' modifier can only appear on a property declaration or index signature.`,ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:`A 'set' accessor cannot have an optional parameter.`,SetAccessorCannotHaveRestParameter:`A 'set' accessor cannot have rest parameter.`,SetAccessorCannotHaveReturnType:`A 'set' accessor cannot have a return type annotation.`,SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:`Static class blocks cannot have any modifier.`,TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:`A type-only import can specify a default import or named bindings, but not both.`,TypeModifierIsUsedInTypeExports:`The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.`,TypeModifierIsUsedInTypeImports:`The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.`,UnexpectedParameterModifier:`A parameter property is only allowed in a constructor implementation.`,UnexpectedReadonly:`'readonly' type modifier is only permitted on array and tuple literal types.`,UnexpectedTypeAnnotation:`Did not expect a type annotation here.`,UnexpectedTypeCastInParameter:`Unexpected type cast in parameter position.`,UnsupportedImportTypeArgument:`Argument in a type import must be a string literal.`,UnsupportedParameterPropertyKind:`A parameter property may not be declared using a binding pattern.`,UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,UsingDeclarationInAmbientContext:e=>`'${e}' declarations are not allowed in ambient contexts.`});function tn(e){switch(e){case`any`:return`TSAnyKeyword`;case`boolean`:return`TSBooleanKeyword`;case`bigint`:return`TSBigIntKeyword`;case`never`:return`TSNeverKeyword`;case`number`:return`TSNumberKeyword`;case`object`:return`TSObjectKeyword`;case`string`:return`TSStringKeyword`;case`symbol`:return`TSSymbolKeyword`;case`undefined`:return`TSUndefinedKeyword`;case`unknown`:return`TSUnknownKeyword`;default:return}}function nn(e){return e===`private`||e===`public`||e===`protected`}function rn(e){return e===`in`||e===`out`}var an=e=>class extends e{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`],disallowedModifiers:[`const`,`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:R.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:[`const`],disallowedModifiers:[`in`,`out`],errorTemplate:R.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`,`const`],disallowedModifiers:[`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:R.InvalidModifierOnTypeParameter})}getScopeHandler(){return pt}tsIsIdentifier(){return P(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,t,n){if(!P(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let r=this.state.value;if(e.includes(r)){if(n&&this.match(106)||t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:n,errorTemplate:r=R.InvalidModifierOnTypeMember},i){let a=(e,t,n,r)=>{t===n&&i[r]&&this.raise(R.InvalidModifiersOrder,e,{orderedModifiers:[n,r]})},o=(e,t,n,r)=>{(i[n]&&t===r||i[r]&&t===n)&&this.raise(R.IncompatibleModifiers,e,{modifiers:[n,r]})};for(;;){let{startLoc:s}=this.state,c=this.tsParseModifier(e.concat(t??[]),n,i.static);if(!c)break;nn(c)?i.accessibility?this.raise(R.DuplicateAccessibilityModifier,s,{modifier:c}):(a(s,c,c,`override`),a(s,c,c,`static`),a(s,c,c,`readonly`),i.accessibility=c):rn(c)?(i[c]&&this.raise(R.DuplicateModifier,s,{modifier:c}),i[c]=!0,a(s,c,`in`,`out`)):(hasOwnProperty.call(i,c)?this.raise(R.DuplicateModifier,s,{modifier:c}):(a(s,c,`static`,`readonly`),a(s,c,`static`,`override`),a(s,c,`override`,`readonly`),a(s,c,`abstract`,`override`),o(s,c,`declare`,`override`),o(s,c,`static`,`abstract`)),i[c]=!0),t!=null&&t.includes(c)&&this.raise(r,s,{modifier:c})}}tsIsListTerminator(e){switch(e){case`EnumMembers`:case`TypeMembers`:return this.match(8);case`HeritageClauseElement`:return this.match(5);case`TupleElementTypes`:return this.match(3);case`TypeParametersOrArguments`:return this.match(48)}}tsParseList(e,t){let n=[];for(;!this.tsIsListTerminator(e);)n.push(t());return n}tsParseDelimitedList(e,t,n){return $t(this.tsParseDelimitedListWorker(e,t,!0,n))}tsParseDelimitedListWorker(e,t,n,r){let i=[],a=-1;for(;!this.tsIsListTerminator(e);){a=-1;let r=t();if(r==null)return;if(i.push(r),this.eat(12)){a=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;n&&this.expect(12);return}return r&&(r.value=a),i}tsParseBracketedList(e,t,n,r,i){r||(n?this.expect(0):this.expect(47));let a=this.tsParseDelimitedList(e,t,i);return n?this.expect(3):this.expect(48),a}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(R.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSImportType`)}tsParseImportTypeOptions(){let e=this.startNode();this.expect(5);let t=this.startNode();return this.isContextual(76)?(t.method=!1,t.key=this.parseIdentifier(!0),t.computed=!1,t.shorthand=!1):this.unexpected(null,76),this.expect(14),t.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(t)],this.eat(12),this.expect(8),this.finishNode(e,`ObjectExpression`)}tsParseImportTypeWithPropertyValue(){let e=this.startNode(),t=[];for(this.expect(5);!this.match(8);){let e=this.state.type;P(e)||e===134?t.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=t,this.next(),this.finishNode(e,`ObjectExpression`)}tsParseEntityName(e){let t;if(e&1&&this.match(78))if(e&2)t=this.parseIdentifier(!0);else{let e=this.startNode();this.next(),t=this.finishNode(e,`ThisExpression`)}else t=this.parseIdentifier(!!(e&1));for(;this.eat(16);){let n=this.startNodeAtNode(t);n.left=t,n.right=this.parseIdentifier(!!(e&1)),t=this.finishNode(n,`TSQualifiedName`)}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSTypeReference`)}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,`TSTypePredicate`)}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,`TSThisType`)}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSTypeQuery`)}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,`TSTypeParameter`)}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let n={value:-1};return t.params=this.tsParseBracketedList(`TypeParametersOrArguments`,this.tsParseTypeParameter.bind(this,e),!1,!0,n),t.params.length===0&&this.raise(R.EmptyTypeParameters,t),n.value!==-1&&this.addExtra(t,`trailingComma`,n.value),this.finishNode(t,`TSTypeParameterDeclaration`)}tsFillSignature(e,t){let n=e===19;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(n||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let t of e){let{type:e}=t;(e===`AssignmentPattern`||e===`TSParameterProperty`)&&this.raise(R.UnsupportedSignatureParameterKind,t,{type:e})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),P(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,`TSIndexSignature`)}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){t&&this.raise(R.ReadonlyForMethodSignature,e);let n=e;n.kind&&this.match(47)&&this.raise(R.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let r=`parameters`,i=`typeAnnotation`;if(n.kind===`get`)n[r].length>0&&(this.raise(_.BadGetterArity,this.state.curPosition()),this.isThisParam(n[r][0])&&this.raise(R.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind===`set`){if(n[r].length!==1)this.raise(_.BadSetterArity,this.state.curPosition());else{let e=n[r][0];this.isThisParam(e)&&this.raise(R.AccessorCannotDeclareThisParameter,this.state.curPosition()),e.type===`Identifier`&&e.optional&&this.raise(R.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),e.type===`RestElement`&&this.raise(R.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n[i]&&this.raise(R.SetAccessorCannotHaveReturnType,n[i])}else n.kind=`method`;return this.finishNode(n,`TSMethodSignature`)}else{let n=e;t&&(n.readonly=!0);let r=this.tsTryParseTypeAnnotation();return r&&(n.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(n,`TSPropertySignature`)}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember(`TSCallSignatureDeclaration`,e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember(`TSConstructSignatureDeclaration`,e):(e.key=this.createIdentifier(t,`new`),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:[`readonly`],disallowedModifiers:[`declare`,`abstract`,`private`,`protected`,`public`,`static`,`override`]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&e.key.type===`Identifier`&&(e.key.name===`get`||e.key.name===`set`)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,`TSTypeLiteral`)}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList(`TypeMembers`,this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,`TSTypeParameter`),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,`TSMappedType`)}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList(`TupleElementTypes`,this.tsParseTupleElementType.bind(this),!0,!1);let t=!1;return e.elementTypes.forEach(e=>{let{type:n}=e;t&&n!==`TSRestType`&&n!==`TSOptionalType`&&!(n===`TSNamedTupleMember`&&e.optional)&&this.raise(R.OptionalTypeBeforeRequired,e),t||=n===`TSNamedTupleMember`&&e.optional||n===`TSOptionalType`}),this.finishNode(e,`TSTupleType`)}tsParseTupleElementType(){let e=this.state.startLoc,t=this.eat(21),{startLoc:n}=this.state,r,i,a,o,s=se(this.state.type)?this.lookaheadCharCode():null;if(s===58)r=!0,a=!1,i=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(s===63){a=!0;let e=this.state.value,t=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(r=!0,i=this.createIdentifier(this.startNodeAt(n),e),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=t,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),r=this.eat(14);if(r){let e;i?(e=this.startNodeAt(n),e.optional=a,e.label=i,e.elementType=o,this.eat(17)&&(e.optional=!0,this.raise(R.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAt(n),e.optional=a,this.raise(R.InvalidTupleMemberLabel,o),e.label=o,e.elementType=this.tsParseType()),o=this.finishNode(e,`TSNamedTupleMember`)}else if(a){let e=this.startNodeAt(n);e.typeAnnotation=o,o=this.finishNode(e,`TSOptionalType`)}if(t){let t=this.startNodeAt(e);t.typeAnnotation=o,o=this.finishNode(t,`TSRestType`)}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,`TSParenthesizedType`)}tsParseFunctionOrConstructorType(e,t){let n=this.startNode();return e===`TSConstructorType`&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,n)),this.finishNode(n,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,`TSLiteralType`)}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,`TSLiteralType`)}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value===`-`){let e=this.startNode(),t=this.lookahead();return t.type!==135&&t.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,`TSLiteralType`)}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(P(e)||e===88||e===84){let t=e===88?`TSVoidKeyword`:e===84?`TSNullKeyword`:tn(this.state.value);if(t!==void 0&&this.lookaheadCharCode()!==46){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:e}=this.state,t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let n=this.startNodeAt(e);n.elementType=t,this.expect(3),t=this.finishNode(n,`TSArrayType`)}else{let n=this.startNodeAt(e);n.objectType=t,n.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(n,`TSIndexedAccessType`)}return t}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),t===`readonly`&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,`TSTypeOperator`)}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case`TSTupleType`:case`TSArrayType`:return;default:this.raise(R.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(t,`TSTypeParameter`),this.finishNode(e,`TSInferType`)}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return ge(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,t,n){let r=this.startNode(),i=this.eat(n),a=[];do a.push(t());while(this.eat(n));return a.length===1&&!i?a[0]:(r.types=a,this.finishNode(r,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(`TSIntersectionType`,this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(`TSUnionType`,this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(P(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let t=this.startNode();this.expect(e);let n=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return e.type===`TSThisType`?(n.parameterName=e,n.asserts=!0,n.typeAnnotation=null,e=this.finishNode(n,`TSTypePredicate`)):(this.resetStartLocationFromNode(e,n),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,`TSTypeAnnotation`)}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(n.parameterName=this.parseIdentifier(),n.asserts=r,n.typeAnnotation=null,t.typeAnnotation=this.finishNode(n,`TSTypePredicate`),this.finishNode(t,`TSTypeAnnotation`)):this.tsParseTypeAnnotation(!1,t);let a=this.tsParseTypeAnnotation(!1);return n.parameterName=i,n.typeAnnotation=a,n.asserts=r,t.typeAnnotation=this.finishNode(n,`TSTypePredicate`),this.finishNode(t,`TSTypeAnnotation`)})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!P(this.state.type)&&!this.match(78)?!1:(e&&this.raise(_.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:`asserts`}),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,`TSTypeAnnotation`)}tsParseType(){en(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(t,`TSConditionalType`)}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual(`new`)}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType(`TSFunctionType`):this.match(77)?this.tsParseFunctionOrConstructorType(`TSConstructorType`):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType(`TSConstructorType`,!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption(`typescript`,`disallowAmbiguousJSXLike`)&&this.raise(R.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,`TSTypeAssertion`)}tsParseHeritageClause(e){let t=this.state.startLoc,n=this.tsParseDelimitedList(`HeritageClauseElement`,()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(3),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSExpressionWithTypeArguments`)});return n.length||this.raise(R.EmptyHeritageClauseType,t,{token:e}),n}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),P(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(R.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause(`extends`));let n=this.startNode();return n.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(n,`TSInterfaceBody`),this.finishNode(e,`TSInterfaceDeclaration`)}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let e=this.startNode();return this.next(),this.finishNode(e,`TSIntrinsicKeyword`)}return this.tsParseType()}),this.semicolon(),this.finishNode(e,`TSTypeAliasDeclaration`)}tsInTopLevelContext(e){if(this.curContext()!==T.brace){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}else return e()}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,`TSEnumMember`)}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList(`EnumMembers`,this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,`TSEnumDeclaration`)}tsParseEnumBody(){let e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList(`EnumMembers`,this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,`TSEnumBody`)}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,`TSModuleBlock`)}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,`TSModuleDeclaration`)}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind=`global`,e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind=`module`,e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,`TSModuleDeclaration`)}tsParseImportEqualsDeclaration(e,t,n){e.isExport=n||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let r=this.tsParseModuleReference();return e.importKind===`type`&&r.type!==`TSExternalModuleReference`&&this.raise(R.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,`TSImportEqualsDeclaration`)}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,`TSExternalModuleReference`)}tsLookAhead(e){let t=this.state.clone(),n=e();return this.state=t,n}tsTryParseAndCatch(e){let t=this.tryParse(t=>e()||t());if(!(t.aborted||!t.node))return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),n=e();if(n!==void 0&&n!==!1)return n;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t=this.state.type;return this.tsInAmbientContext(()=>{switch(t){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual(`enum`)?(e.declare=!0,this.parseVarStatement(e,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(R.InvalidModifierOnUsingDeclaration,this.state.startLoc,`declare`),e.declare=!0,this.parseVarStatement(e,`using`,!0);break;case 96:if(this.isAwaitUsing())return this.raise(R.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,`declare`),e.declare=!0,this.next(),this.parseVarStatement(e,`await using`,!0);break;case 129:{let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(P(t))return this.tsParseDeclaration(e,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(e,t,n,r){switch(t){case 124:if(this.tsCheckLineTerminator(n)&&(this.match(80)||P(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case 127:if(this.tsCheckLineTerminator(n)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(P(this.state.type))return e.kind=`module`,this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(n)&&P(this.state.type))return e.kind=`namespace`,this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(n)&&P(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let n=this.tsTryParseAndCatch(()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t});if(this.state.maybeInArrowParameters=t,n)return super.parseArrowExpression(n,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList(`TypeParametersOrArguments`,this.tsParseType.bind(this))))),e.params.length===0?this.raise(R.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===T.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,`TSTypeParameterInstantiation`)}tsIsDeclarationStart(){return _e(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(e,t){let n=t.length?t[0].loc.start:this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:[`public`,`private`,`protected`,`override`,`readonly`]},r);let i=r.accessibility,a=r.override,o=r.readonly;!(e&4)&&(i||o||a)&&this.raise(R.UnexpectedParameterModifier,n);let s=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(s);let c=this.parseMaybeDefault(s.loc.start,s);if(i||o||a){let e=this.startNodeAt(n);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),a&&(e.override=a),c.type!==`Identifier`&&c.type!==`AssignmentPattern`&&this.raise(R.UnsupportedParameterPropertyKind,e),e.parameter=c,this.finishNode(e,`TSParameterProperty`)}return t.length&&(s.decorators=t),c}isSimpleParameter(e){return e.type===`TSParameterProperty`&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)t.type!==`Identifier`&&t.optional&&!this.state.isAmbientContext&&this.raise(R.PatternIsOptional,t)}setArrowFunctionParameters(e,t,n){super.setArrowFunctionParameters(e,t,n),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,n=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=t===`FunctionDeclaration`?`TSDeclareFunction`:t===`ClassMethod`||t===`ClassPrivateMethod`?`TSDeclareMethod`:void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r===`TSDeclareFunction`&&this.state.isAmbientContext&&(this.raise(R.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,n):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,n))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{e?.type===`TSTypeCastExpression`&&this.raise(R.UnexpectedTypeAnnotation,e.typeAnnotation)})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,n){let r=super.parseArrayLike(e,t,n);return r.type===`ArrayExpression`&&this.tsCheckForInvalidTypeCasts(r.elements),r}parseSubscript(e,t,n,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(t);return n.expression=e,this.finishNode(n,`TSNonNullExpression`)}let i=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(n)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let a,o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return r.stop=!0,e}let o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10)){a=this.state.curPosition();return}if(xe(this.state.type)){let n=super.parseTaggedTemplateExpression(e,t,r);return n.typeParameters=o,n}if(!n&&this.eat(10)){let n=this.startNodeAt(t);return n.callee=e,n.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(n.arguments),n.typeParameters=o,r.optionalChainMember&&(n.optional=i),this.finishCallExpression(n,r.optionalChainMember)}let s=this.state.type;if(s===48||s===52||s!==10&&s!==93&&s!==120&&le(s)&&!this.hasPrecedingLineBreak())return;let c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,`TSInstantiationExpression`)});if(a&&this.unexpected(a,10),o)return o.type===`TSInstantiationExpression`&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(R.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(o.expression=super.stopParseSubscript(e,r))),o}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:n}=e;n.type===`TSInstantiationExpression`&&!((t=n.extra)!=null&&t.parenthesized)&&(e.typeParameters=n.typeParameters,e.callee=n.expression)}parseExprOp(e,t,n){let r;if(ye(58)>n&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(_.UnexpectedKeyword,this.state.startLoc,{keyword:`const`}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(i,r?`TSSatisfiesExpression`:`TSAsExpression`),this.reScan_lt_gt(),this.parseExprOp(i,t,n)}return super.parseExprOp(e,t,n)}checkReservedWord(e,t,n,r){this.state.isAmbientContext||super.checkReservedWord(e,t,n,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(R.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let t=this.lookaheadCharCode();return e?t===123||t===42:t!==61}return!e&&this.isContextual(87)}applyImportPhase(e,t,n,r){super.applyImportPhase(e,t,n,r),t?e.exportKind=n===`type`?`type`:`value`:e.importKind=n===`type`||n===`typeof`?n:`value`}parseImport(e){if(this.match(134))return e.importKind=`value`,super.parseImport(e);let t;if(P(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind=`value`,this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let n=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,n);t=super.parseImportSpecifiersAndAfter(e,n)}else t=super.parseImport(e);return t.importKind===`type`&&t.specifiers.length>1&&t.specifiers[0].type===`ImportDefaultSpecifier`&&this.raise(R.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){let t=e;this.next();let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(t,!1):t.importKind=`value`,this.tsParseImportEqualsDeclaration(t,n,!0)}else if(this.eat(29)){let t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,`TSExportAssignment`)}else if(this.eatContextual(93)){let t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,`TSNamespaceExportDeclaration`)}else return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual(`class`)}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,n=!1){let{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,n||r);if(!r)return i;if(!e.declare&&(t===`using`||t===`await using`))return this.raiseOverwrite(R.UsingDeclarationInAmbientContext,e,t),i;for(let{id:e,init:n}of i.declarations)n&&(t===`var`||t===`let`||e.typeAnnotation?this.raise(R.InitializerNotAllowedInAmbientContext,n):B(n,this.hasPlugin(`estree`))||this.raise(R.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,n));return i}parseStatementContent(e,t){if(!this.state.containsEsc)switch(this.state.type){case 75:if(this.isLookaheadContextual(`enum`)){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}break;case 124:case 125:if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){let e=this.state.type,n=this.startNode();this.next();let r=e===125?this.tsTryParseDeclare(n):this.tsParseAbstractDeclaration(n,t);return r?(e===125&&(r.declare=!0),r):(n.expression=this.createIdentifier(this.startNodeAt(n.loc.start),e===125?`declare`:`abstract`),this.semicolon(!1),this.finishNode(n,`ExpressionStatement`))}break;case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:if(this.lookaheadCharCode()===123){let e=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(e)}break;case 129:{let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e;break}case 127:if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){let e=this.startNode();return this.next(),this.tsParseDeclaration(e,127,!1,t)}break;case 128:if(this.nextTokenIsIdentifierOnSameLine()){let e=this.startNode();return this.next(),this.tsParseDeclaration(e,128,!1,t)}break;case 130:if(this.nextTokenIsIdentifierOnSameLine()){let e=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(e)}break}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier([`public`,`protected`,`private`])}tsHasSomeModifiers(e,t){return t.some(t=>nn(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,t,n){let r=[`declare`,`private`,`public`,`protected`,`override`,`abstract`,`readonly`,`static`];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:[`in`,`out`],stopOnStartOfClassStaticBlock:!0,errorTemplate:R.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(R.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,n,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,n,r){let i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i),t.abstract&&this.raise(R.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(R.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(R.IndexSignatureHasDeclare,t),t.override&&this.raise(R.IndexSignatureHasOverride,t);return}!this.state.inAbstractClass&&t.abstract&&this.raise(R.NonAbstractClassHasAbstractMethod,t),t.override&&(n.hadSuperClass||this.raise(R.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,n,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(R.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(R.ClassMethodHasDeclare,e)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,t,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41)return this.setOptionalParametersError(n),e}return super.parseConditional(e,t,n)}parseParenItem(e,t){let n=super.parseParenItem(e,t);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,`TSTypeCastExpression`)}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let t=this.state.startLoc,n=this.eatContextual(125);if(n&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(R.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let r=P(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?((r.type===`TSInterfaceDeclaration`||r.type===`TSTypeAliasDeclaration`||n)&&(e.exportKind=`type`),n&&r.type!==`TSImportEqualsDeclaration`&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,n,r){if((!t||n)&&this.isContextual(113))return;super.parseClassId(e,t,n,e.declare?1024:8331);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(R.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:t}=e;this.raise(R.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:t.type===`Identifier`&&!e.computed?t.name:`[${this.input.slice(this.offsetToSourcePos(t.start),this.offsetToSourcePos(t.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(R.PrivateElementHasAbstract,e),e.accessibility&&this.raise(R.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(R.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,n,r,i,a){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(R.ConstructorHasTypeParameters,o);let{declare:s=!1,kind:c}=t;s&&(c===`get`||c===`set`)&&this.raise(R.DeclareAccessor,t,{kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,n,r,i,a)}pushClassPrivateMethod(e,t,n,r){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,n,r)}declareClassPrivateMethodInScope(e,t){e.type!==`TSDeclareMethod`&&(e.type===`MethodDefinition`&&e.value.body==null||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass)if(e.superClass.type===`TSInstantiationExpression`){let t=e.superClass,n=t.expression;this.takeSurroundingComments(n,n.start,n.end);let r=t.typeParameters;this.takeSurroundingComments(r,r.start,r.end),e.superClass=n,e.superTypeParameters=r}else(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression());this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause(`implements`))}parseObjPropValue(e,t,n,r,i,a,o){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);return s&&(e.typeParameters=s),super.parseObjPropValue(e,t,n,r,i,a,o)}parseFunctionParams(e,t){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(e.typeParameters=n),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),e.id.type===`Identifier`&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let n=this.tsTryParseTypeAnnotation();n&&(e.id.typeAnnotation=n,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var n,r,i;let a,o,s;if(this.hasPlugin(`jsx`)&&(this.match(143)||this.match(47))){if(a=this.state.clone(),o=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!o.error)return o.node;let{context:n}=this.state,r=n[n.length-1];(r===T.j_oTag||r===T.j_expr)&&n.pop()}if(!((n=o)!=null&&n.error)&&!this.match(47))return super.parseMaybeAssign(e,t);(!a||a===this.state)&&(a=this.state.clone());let c,l=this.tryParse(n=>{var r;c=this.tsParseTypeParameters(this.tsParseConstModifier);let i=super.parseMaybeAssign(e,t);return(i.type!==`ArrowFunctionExpression`||(r=i.extra)!=null&&r.parenthesized)&&n(),c?.params.length!==0&&this.resetStartLocationFromNode(i,c),i.typeParameters=c,i},a);if(!l.error&&!l.aborted)return c&&this.reportReservedArrowTypeParam(c),l.node;if(!o&&(en(!this.hasPlugin(`jsx`)),s=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!s.error))return s.node;if((r=o)!=null&&r.node)return this.state=o.failState,o.node;if(l.node)return this.state=l.failState,c&&this.reportReservedArrowTypeParam(c),l.node;if((i=s)!=null&&i.node)return this.state=s.failState,s.node;throw o?.error||l.error||s?.error}reportReservedArrowTypeParam(e){var t;e.params.length===1&&!e.params[0].constraint&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption(`typescript`,`disallowAmbiguousJSXLike`)&&this.raise(R.ReservedArrowTypeParam,e)}parseMaybeUnary(e,t){return!this.hasPlugin(`jsx`)&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);let t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case`TSTypeCastExpression`:return this.isAssignable(e.expression,t);case`TSParameterProperty`:return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case`ParenthesizedExpression`:this.toAssignableParenthesizedExpression(e,t);break;case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`TSTypeAssertion`:t?this.expressionScope.recordArrowParameterBindingError(R.UnexpectedTypeCastInParameter,e):this.raise(R.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,t);break;case`AssignmentExpression`:!t&&e.left.type===`TSTypeCastExpression`&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`TSTypeAssertion`:case`ParenthesizedExpression`:this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSTypeAssertion`:case`TSNonNullExpression`:this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,n,r){switch(e){case`TSTypeCastExpression`:return!0;case`TSParameterProperty`:return`parameter`;case`TSNonNullExpression`:return`expression`;case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSTypeAssertion`:return(r!==64||!n)&&[`expression`,!0];default:return super.isValidLVal(e,t,n,r)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,t){if(this.match(47)||this.match(51)){let n=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e,t);return r.typeParameters=n,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,t)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let n=super.parseMaybeDefault(e,t);return n.type===`AssignmentPattern`&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(R.TypeAnnotationAfterAssign,n.typeAnnotation),n}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;e===47?(--this.state.pos,this.readToken_lt()):e===48&&(--this.state.pos,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableListItem(e,t,n){let r=e[t];r.type===`TSTypeCastExpression`&&(e[t]=this.typeCastToParameter(r)),super.toAssignableListItem(e,t,n)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(e=>this.isAssignable(e,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:t,strict:n}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=t,this.state.strict=n}}parseClass(e,t,n){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,n)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(e.abstract=!0,this.raise(R.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e));throw this.unexpected(null,80)}parseMethod(e,t,n,r,i,a,o){let s=super.parseMethod(e,t,n,r,i,a,o);if((s.abstract||s.type===`TSAbstractMethodDefinition`)&&(this.hasPlugin(`estree`)?s.value:s).body){let{key:e}=s;this.raise(R.AbstractMethodHasImplementation,s,{methodName:e.type===`Identifier`&&!s.computed?e.name:`[${this.input.slice(this.offsetToSourcePos(e.start),this.offsetToSourcePos(e.end))}]`})}return s}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption(`typescript`,`dts`)}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,n,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,n),this.finishNode(e,`ExportSpecifier`)):(e.exportKind=`value`,super.parseExportSpecifier(e,t,n,r))}parseImportSpecifier(e,t,n,r,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,n),this.finishNode(e,`ImportSpecifier`)):(e.importKind=`value`,super.parseImportSpecifier(e,t,n,r,n?4098:4096))}parseTypeOnlyImportExportSpecifier(e,t,n){let r=t?`imported`:`local`,i=t?`local`:`exported`,a=e[r],o,s=!1,c=!0,l=a.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let n=this.parseIdentifier();se(this.state.type)?(s=!0,a=e,o=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(o=n,c=!1)}else se(this.state.type)?(c=!1,o=t?this.parseIdentifier():this.parseModuleExportName()):(s=!0,a=e)}else se(this.state.type)&&(s=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());s&&n&&this.raise(t?R.TypeModifierIsUsedInTypeImports:R.TypeModifierIsUsedInTypeExports,l),e[r]=a,e[i]=o;let u=t?`importKind`:`exportKind`;e[u]=s?`type`:`value`,c&&this.eatContextual(93)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=this.cloneIdentifier(e[r])),t&&this.checkIdentifier(e[i],s?4098:4096)}fillOptionalPropertiesForTSESLint(e){switch(e.type){case`ExpressionStatement`:e.directive??=void 0;return;case`RestElement`:e.value=void 0;case`Identifier`:case`ArrayPattern`:case`AssignmentPattern`:case`ObjectPattern`:e.decorators??=[],e.optional??=!1,e.typeAnnotation??=void 0;return;case`TSParameterProperty`:e.accessibility??=void 0,e.decorators??=[],e.override??=!1,e.readonly??=!1,e.static??=!1;return;case`TSEmptyBodyFunctionExpression`:e.body=null;case`TSDeclareFunction`:case`FunctionDeclaration`:case`FunctionExpression`:case`ClassMethod`:case`ClassPrivateMethod`:e.declare??=!1,e.returnType??=void 0,e.typeParameters??=void 0;return;case`Property`:e.optional??=!1;return;case`TSMethodSignature`:case`TSPropertySignature`:e.optional??=!1;case`TSIndexSignature`:e.accessibility??=void 0,e.readonly??=!1,e.static??=!1;return;case`TSAbstractPropertyDefinition`:case`PropertyDefinition`:case`TSAbstractAccessorProperty`:case`AccessorProperty`:e.declare??=!1,e.definite??=!1,e.readonly??=!1,e.typeAnnotation??=void 0;case`TSAbstractMethodDefinition`:case`MethodDefinition`:e.accessibility??=void 0,e.decorators??=[],e.override??=!1,e.optional??=!1;return;case`ClassExpression`:e.id??=null;case`ClassDeclaration`:e.abstract??=!1,e.declare??=!1,e.decorators??=[],e.implements??=[],e.superTypeArguments??=void 0,e.typeParameters??=void 0;return;case`TSTypeAliasDeclaration`:case`VariableDeclaration`:e.declare??=!1;return;case`VariableDeclarator`:e.definite??=!1;return;case`TSEnumDeclaration`:e.const??=!1,e.declare??=!1;return;case`TSEnumMember`:e.computed??=!1;return;case`TSImportType`:e.qualifier??=null,e.options??=null;return;case`TSInterfaceDeclaration`:e.declare??=!1,e.extends??=[];return;case`TSMappedType`:e.optional??=!1,e.readonly??=void 0;return;case`TSModuleDeclaration`:e.declare??=!1,e.global??=e.kind===`global`;return;case`TSTypeParameter`:e.const??=!1,e.in??=!1,e.out??=!1;return}}chStartsBindingIdentifierAndNotRelationalOperator(e,t){if(Ae(e)){if(Qt.lastIndex=t,Qt.test(this.input)){let e=this.codePointAtPos(Qt.lastIndex);if(!je(e)&&e!==92)return!1}return!0}else if(e===92)return!0;else return!1}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifierAndNotRelationalOperator(t,e)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)||t===34||t===39}};function z(e){if(e.type!==`MemberExpression`)return!1;let{computed:t,property:n}=e;return t&&n.type!==`StringLiteral`&&(n.type!==`TemplateLiteral`||n.expressions.length>0)?!1:V(e.object)}function B(e,t){var n;let{type:r}=e;if((n=e.extra)!=null&&n.parenthesized)return!1;if(t){if(r===`Literal`){let{value:t}=e;if(typeof t==`string`||typeof t==`boolean`)return!0}}else if(r===`StringLiteral`||r===`BooleanLiteral`)return!0;return!!(on(e,t)||sn(e,t)||r===`TemplateLiteral`&&e.expressions.length===0||z(e))}function on(e,t){return t?e.type===`Literal`&&(typeof e.value==`number`||`bigint`in e):e.type===`NumericLiteral`||e.type===`BigIntLiteral`}function sn(e,t){if(e.type===`UnaryExpression`){let{operator:n,argument:r}=e;if(n===`-`&&on(r,t))return!0}return!1}function V(e){return e.type===`Identifier`?!0:e.type!==`MemberExpression`||e.computed?!1:V(e.object)}let cn=g`placeholders`({ClassNameIsRequired:`A class name is required.`,UnexpectedSpace:`Unexpected space in placeholder.`});var ln=e=>class extends e{parsePlaceholder(e){if(this.match(133)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let n=e;return(!n.expectedNode||!n.type)&&(n=this.finishNode(n,`Placeholder`)),n.expectedNode=t,n}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder(`Expression`)||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder(`Identifier`)||super.parseIdentifier(e)}checkReservedWord(e,t,n,r){e!==void 0&&super.checkReservedWord(e,t,n,r)}cloneIdentifier(e){let t=super.cloneIdentifier(e);return t.type===`Placeholder`&&(t.expectedNode=e.expectedNode),t}cloneStringLiteral(e){return e.type===`Placeholder`?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder(`Pattern`)||super.parseBindingAtom()}isValidLVal(e,t,n,r){return e===`Placeholder`||super.isValidLVal(e,t,n,r)}toAssignable(e,t){e&&e.type===`Placeholder`&&e.expectedNode===`Expression`?e.expectedNode=`Pattern`:super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t))return!0;let n=this.nextTokenStart();return this.input.charCodeAt(n)===37&&this.input.charCodeAt(n+1)===37}verifyBreakContinue(e,t){e.label?.type!==`Placeholder`&&super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var n;if(t.type!==`Placeholder`||(n=t.extra)!=null&&n.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){let n=e;return n.label=this.finishPlaceholder(t,`Identifier`),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,`LabeledStatement`)}this.semicolon();let r=e;return r.name=t.name,this.finishPlaceholder(r,`Statement`)}parseBlock(e,t,n){return this.parsePlaceholder(`BlockStatement`)||super.parseBlock(e,t,n)}parseFunctionId(e){return this.parsePlaceholder(`Identifier`)||super.parseFunctionId(e)}parseClass(e,t,n){let r=t?`ClassDeclaration`:`ClassExpression`;this.next();let i=this.state.strict,a=this.parsePlaceholder(`Identifier`);if(a)if(this.match(81)||this.match(133)||this.match(5))e.id=a;else if(n||!t)return e.id=null,e.body=this.finishPlaceholder(a,`ClassBody`),this.finishNode(e,r);else throw this.raise(cn.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(e,t,n);return super.parseClassSuper(e),e.body=this.parsePlaceholder(`ClassBody`)||super.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e,t){let n=this.parsePlaceholder(`Identifier`);if(!n)return super.parseExport(e,t);let r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(n,`Declaration`),this.finishNode(r,`ExportNamedDeclaration`);this.expectPlugin(`exportDefaultFrom`);let i=this.startNode();return i.exported=n,r.specifiers=[this.finishNode(i,`ExportDefaultSpecifier`)],super.parseExport(r,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,`from`)&&this.input.startsWith(ve(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var n;return(n=e.specifiers)!=null&&n.length?!0:super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){let{specifiers:t}=e;t!=null&&t.length&&(e.specifiers=t.filter(e=>e.exported.type===`Placeholder`)),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder(`Identifier`);if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(t,`StringLiteral`),this.semicolon(),this.finishNode(e,`ImportDeclaration`);let n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishNode(n,`ImportDefaultSpecifier`)),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,`ImportDeclaration`)}parseImportSource(){return this.parsePlaceholder(`StringLiteral`)||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(cn.UnexpectedSpace,this.state.lastTokEndLoc)}},un=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),P(this.state.type)){let e=this.parseIdentifierName(),n=this.createIdentifier(t,e);if(this.castNodeTo(n,`V8IntrinsicIdentifier`),this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};let dn=[`minimal`,`fsharp`,`hack`,`smart`],fn=[`^^`,`@@`,`^`,`%`,`#`];function pn(e){if(e.has(`decorators`)){if(e.has(`decorators-legacy`))throw Error(`Cannot use the decorators and decorators-legacy plugin together`);let t=e.get(`decorators`).decoratorsBeforeExport;if(t!=null&&typeof t!=`boolean`)throw Error(`'decoratorsBeforeExport' must be a boolean, if specified.`);let n=e.get(`decorators`).allowCallParenthesized;if(n!=null&&typeof n!=`boolean`)throw Error(`'allowCallParenthesized' must be a boolean.`)}if(e.has(`flow`)&&e.has(`typescript`))throw Error(`Cannot combine flow and typescript plugins.`);if(e.has(`placeholders`)&&e.has(`v8intrinsic`))throw Error(`Cannot combine placeholders and v8intrinsic plugins.`);if(e.has(`pipelineOperator`)){let t=e.get(`pipelineOperator`).proposal;if(!dn.includes(t)){let e=dn.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}if(t===`hack`){if(e.has(`placeholders`))throw Error(`Cannot combine placeholders plugin and Hack-style pipes.`);if(e.has(`v8intrinsic`))throw Error(`Cannot combine v8intrinsic plugin and Hack-style pipes.`);let t=e.get(`pipelineOperator`).topicToken;if(!fn.includes(t)){let e=fn.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t===`#`&&e.get(`recordAndTuple`)?.syntaxType===`hash`)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify([`recordAndTuple`,e.get(`recordAndTuple`)])}\`.`)}else if(t===`smart`&&e.get(`recordAndTuple`)?.syntaxType===`hash`)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify([`recordAndTuple`,e.get(`recordAndTuple`)])}\`.`)}if(e.has(`moduleAttributes`)){if(e.has(`deprecatedImportAssert`)||e.has(`importAssertions`))throw Error(`Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.`);if(e.get(`moduleAttributes`).version!==`may-2020`)throw Error(`The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.`)}if(e.has(`importAssertions`)&&e.has(`deprecatedImportAssert`))throw Error(`Cannot combine importAssertions and deprecatedImportAssert plugins.`);if(e.has(`deprecatedImportAssert`)||e.has(`importAttributes`)&&e.get(`importAttributes`).deprecatedAssertSyntax&&e.set(`deprecatedImportAssert`,{}),e.has(`recordAndTuple`)){let t=e.get(`recordAndTuple`).syntaxType;if(t!=null){let e=[`hash`,`bar`];if(!e.includes(t))throw Error(`The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: `+e.map(e=>`'${e}'`).join(`, `))}}if(e.has(`asyncDoExpressions`)&&!e.has(`doExpressions`)){let e=Error(`'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.`);throw e.missingPlugins=`doExpressions`,e}if(e.has(`optionalChainingAssign`)&&e.get(`optionalChainingAssign`).version!==`2023-07`)throw Error(`The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.`);if(e.has(`discardBinding`)&&e.get(`discardBinding`).syntaxType!==`void`)throw Error(`The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.`)}let mn={estree:C,jsx:dt,flow:et,typescript:an,v8intrinsic:un,placeholders:ln},hn=Object.keys(mn);class gn extends Zt{checkProto(e,t,n,r){if(e.type===`SpreadElement`||this.isObjectMethod(e)||e.computed||e.shorthand)return n;let i=e.key;return(i.type===`Identifier`?i.name:i.value)===`__proto__`?t?(this.raise(_.RecordNoProto,i),!0):(n&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=i.loc.start):this.raise(_.DuplicateProto,i)),!0):n}shouldExitDescending(e,t){return e.type===`ArrowFunctionExpression`&&this.offsetToSourcePos(e.start)===t}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(_.ParseExpressionEmptyInput,this.state.startLoc);let e=this.parseExpression();if(!this.match(140))throw this.raise(_.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.optionFlags&256&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){let t=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let r=this.startNodeAt(t);for(r.expressions=[n];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,`SequenceExpression`)}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,t){let n=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let e=this.parseYield(n);return t&&(e=t.call(this,e,n)),e}let i;e?i=!1:(e=new Kt,i=!0);let{type:a}=this.state;(a===10||P(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,n)),ue(this.state.type)){let t=this.startNodeAt(n),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(o,!0),t.left=o;let r=n.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),e.voidPatternLoc!=null&&e.voidPatternLoc.index>=r&&(e.voidPatternLoc=null)}else t.left=o;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(t,`AssignmentExpression`),void 0,void 0,void 0,void 0,r===`||=`||r===`&&=`||r===`??=`),t}else i&&this.checkExpressionErrors(e,!0);if(r){let{type:e}=this.state;if((this.hasPlugin(`v8intrinsic`)?le(e):le(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(_.YieldNotInGeneratorFunction,n),this.parseYield(n)}return o}parseMaybeConditional(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,n)?r:this.parseConditional(r,t,e)}parseConditional(e,t,n){if(this.eat(17)){let n=this.startNodeAt(t);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,`ConditionalExpression`)}return e}parseMaybeUnaryOrPrivate(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,n)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,n){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(n>=ye(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(_.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let r=this.state.type;if(pe(r)&&(this.prodParam.hasIn||!this.match(58))){let i=ye(r);if(i>n){if(r===39){if(this.expectPlugin(`pipelineOperator`),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let a=this.startNodeAt(t);a.left=e,a.operator=this.state.value;let o=r===41||r===42,s=r===40;if(s&&(i=ye(42)),this.next(),r===39&&this.hasPlugin([`pipelineOperator`,{proposal:`minimal`}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(_.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,i);let c=this.finishNode(a,o||s?`LogicalExpression`:`BinaryExpression`),l=this.state.type;if(s&&(l===41||l===42)||o&&l===40)throw this.raise(_.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,n)}}return e}parseExprOpRightExpr(e,t){let n=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption(`pipelineOperator`,`proposal`)){case`hack`:return this.withTopicBindingContext(()=>this.parseHackPipeBody());case`fsharp`:return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}if(this.getPluginOption(`pipelineOperator`,`proposal`)===`smart`)return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(_.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),n)});default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,be(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,n=this.parseMaybeAssign();return d.has(n.type)&&!((e=n.extra)!=null&&e.parenthesized)&&this.raise(_.PipeUnparenthesizedBody,t,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipeTopicUnused,t),n}checkExponentialAfterUnary(e){this.match(57)&&this.raise(_.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){let n=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();let e=this.parseAwait(n);return t||this.checkExponentialAfterUnary(e),e}let i=this.match(34),a=this.startNode();if(he(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin(`throwExpressions`);let n=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&n){let e=a.argument;e.type===`Identifier`?this.raise(_.StrictDelete,a):this.hasPropertyAsPrivateName(e)&&this.raise(_.DeletePrivateField,a)}if(!i)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,`UnaryExpression`)}let o=this.parseUpdate(a,i,e);if(r){let{type:e}=this.state;if((this.hasPlugin(`v8intrinsic`)?le(e):le(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(_.AwaitNotInAsyncContext,n),this.parseAwait(n)}return o}parseUpdate(e,t,n){if(t){let t=e;return this.checkLVal(t.argument,this.finishNode(t,`UpdateExpression`)),e}let r=this.state.startLoc,i=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return i;for(;me(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(e,`UpdateExpression`))}return i}parseExprSubscripts(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,n)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,n){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,t,n,r),r.maybeAsyncArrow=!1;while(!r.stop);return e}parseSubscript(e,t,n,r){let{type:i}=this.state;if(!n&&i===15)return this.parseBind(e,t,n,r);if(xe(i))return this.parseTaggedTemplateExpression(e,t,r);let a=!1;if(i===18){if(n&&(this.raise(_.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(e,r);r.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(e,t,r,n,a):this.stopParseSubscript(e,r)}}stopParseSubscript(e,t){return t.stop=!0,e}parseMember(e,t,n,r,i){let a=this.startNodeAt(t);return a.object=e,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(e.type===`Super`&&this.raise(_.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=i,this.finishNode(a,`OptionalMemberExpression`)):this.finishNode(a,`MemberExpression`)}parseBind(e,t,n,r){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,`BindExpression`),t,n)}parseCoverCallAndAsyncArrowHead(e,t,n,r){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:s,optionalChainMember:c}=n;s&&(this.expressionScope.enter(Ut()),a=new Kt),c&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments():o.arguments=this.parseCallExpressionArguments(e.type!==`Super`,o,a);let l=this.finishCallExpression(o,c);return s&&this.shouldParseAsyncArrow()&&!r?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(s&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,n){let r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(_.OptionalChainingNoTemplate,t),this.finishNode(r,`TaggedTemplateExpression`)}atPossibleAsyncArrow(e){return e.type===`Identifier`&&e.name===`async`&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type===`Import`)if(e.arguments.length===0||e.arguments.length>2)this.raise(_.ImportCallArity,e);else for(let t of e.arguments)t.type===`SpreadElement`&&this.raise(_.ImportCallSpreadArgument,t);return this.finishNode(e,t?`OptionalCallExpression`:`CallExpression`)}parseCallExpressionArguments(e,t,n){let r=[],i=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(i)i=!1;else if(this.expect(12),this.match(11)){t&&this.addTrailingCommaExtraToNode(t),this.next();break}r.push(this.parseExprListItem(11,!1,n,e))}return this.state.inFSharpPipelineDirectBody=a,r}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,t.extra?.trailingCommaLoc),t.innerComments&&yt(e,t.innerComments),t.callee.trailingComments&&yt(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,n=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(t):this.match(10)?this.optionFlags&512?this.parseImportCall(t):this.finishNode(t,`Import`):(this.raise(_.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,`Import`));case 78:return t=this.startNode(),this.next(),this.finishNode(t,`ThisExpression`);case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 0:return this.parseArrayLike(3,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if(e.type===`MemberExpression`)return this.finishNode(t,`BindExpression`);throw this.raise(_.UnsupportedBind,e)}case 139:return this.raise(_.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,`%`);case 32:return this.parseTopicReferenceThenEqualsSign(44,`^`);case 37:case 38:return this.parseTopicReference(`hack`);case 44:case 54:case 27:{let e=this.getPluginOption(`pipelineOperator`,`proposal`);if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{let e=this.input.codePointAt(this.nextTokenStart());throw Ae(e)||e===62?this.expectOnePlugin([`jsx`,`flow`,`typescript`]):this.unexpected()}default:if(r===137)return this.parseDecimalLiteral(this.state.value);if(r===2||r===1)return this.parseArrayLike(this.state.type===2?4:3,!0);if(r===6||r===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(P(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,n=this.parseIdentifier();if(!t&&n.name===`async`&&!this.canInsertSemicolon()){let{type:t}=this.state;if(t===68)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(P(t))return e&&this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(t===90)return this.resetPreviousNodeTrailingComments(n),this.parseDo(this.startNodeAtNode(n),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(n),[n],!1)):n}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let n=this.getPluginOption(`pipelineOperator`,`proposal`);if(n)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=r(this.state.endLoc,-1),this.parseTopicReference(n);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),n=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,n,e,r)}finishTopicReference(e,t,n,r){if(this.testTopicReferenceConfiguration(n,t,r))return n===`hack`?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(_.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,`TopicReference`)):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(_.PrimaryTopicNotAllowed,t),this.registerTopicReference(),this.finishNode(e,`PipelinePrimaryTopicReference`));throw this.raise(_.PipeTopicUnconfiguredToken,t,{token:ve(r)})}testTopicReferenceConfiguration(e,t,n){switch(e){case`hack`:return this.hasPlugin([`pipelineOperator`,{topicToken:ve(n)}]);case`smart`:return n===27;default:throw this.raise(_.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(ht(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(_.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin(`doExpressions`),t&&this.expectPlugin(`asyncDoExpressions`),e.async=t,this.next();let n=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=n,this.finishNode(e,`DoExpression`)}parseSuper(){let e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?this.optionFlags&16||this.raise(_.SuperNotAllowed,e):this.scope.allowSuper||this.optionFlags&16||this.raise(_.UnexpectedSuper,e),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(_.UnsupportedSuper,e),this.finishNode(e,`Super`)}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(r(this.state.startLoc,1)),n=this.state.value;return this.next(),e.id=this.createIdentifier(t,n),this.finishNode(e,`PrivateName`)}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),`function`);return this.next(),this.match(103)?this.expectPlugin(`functionSent`):this.hasPlugin(`functionSent`)||this.unexpected(),this.parseMetaProperty(e,t,`sent`)}return this.parseFunction(e)}parseMetaProperty(e,t,n){e.meta=t;let r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==n||r)&&this.raise(_.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:n}),this.finishNode(e,`MetaProperty`)}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){let t=this.isContextual(105);return this.expectPlugin(t?`sourcePhaseImports`:`deferredImportEvaluation`),this.next(),e.phase=t?`source`:`defer`,this.parseImportCall(e)}else{let t=this.createIdentifierAt(this.startNodeAtNode(e),`import`,this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(_.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,`meta`)}}parseLiteralAtNode(e,t,n){return this.addExtra(n,`rawValue`,e),this.addExtra(n,`raw`,this.input.slice(this.offsetToSourcePos(n.start),this.state.end)),n.value=e,this.next(),this.finishNode(n,t)}parseLiteral(e,t){let n=this.startNode();return this.parseLiteralAtNode(e,t,n)}parseStringLiteral(e){return this.parseLiteral(e,`StringLiteral`)}parseNumericLiteral(e){return this.parseLiteral(e,`NumericLiteral`)}parseBigIntLiteral(e){return this.parseLiteral(e,`BigIntLiteral`)}parseDecimalLiteral(e){return this.parseLiteral(e,`DecimalLiteral`)}parseRegExpLiteral(e){let t=this.startNode();return this.addExtra(t,`raw`,this.input.slice(this.offsetToSourcePos(t.start),this.state.end)),t.pattern=e.pattern,t.flags=e.flags,this.next(),this.finishNode(t,`RegExpLiteral`)}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,`BooleanLiteral`)}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,`NullLiteral`)}parseParenAndDistinguishExpression(e){let t=this.state.startLoc,n;this.next(),this.expressionScope.enter(Ht());let r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],s=new Kt,c=!0,l,u;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,s.optionalParametersLoc===null?null:s.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(l=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,s,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let f=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),l&&this.unexpected(l),this.checkExpressionErrors(s,!0),this.toReferencedListDeep(o,!0),o.length>1?(n=this.startNodeAt(a),n.expressions=o,this.finishNode(n,`SequenceExpression`),this.resetEndLocation(n,d)):n=o[0],this.wrapParenthesis(t,n))}wrapParenthesis(e,t){if(!(this.optionFlags&1024))return this.addExtra(t,`parenthesized`,!0),this.addExtra(t,`parenStart`,e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let n=this.startNodeAt(e);return n.expression=t,this.finishNode(n,`ParenthesizedExpression`)}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),`new`);this.next();let n=this.parseMetaProperty(e,t,`target`);return this.scope.allowNewTarget||this.raise(_.UnexpectedNewTarget,n),n}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,`NewExpression`)}parseNewCallee(e){let t=this.match(83),n=this.parseNoCallExpr();e.callee=n,t&&(n.type===`Import`||n.type===`ImportExpression`)&&this.raise(_.ImportCallNotNewExpression,n)}parseTemplateElement(e){let{start:t,startLoc:n,end:i,value:a}=this.state,o=t+1,s=this.startNodeAt(r(n,1));a===null&&(e||this.raise(_.InvalidEscapeSequenceTemplate,r(this.state.firstInvalidTemplateEscapePos,1)));let c=this.match(24),l=c?-1:-2,u=i+l;s.value={raw:this.input.slice(o,u).replace(/\r\n?/g,`
|
|
9
|
-
`),cooked:a===null?null:a.slice(1,l)},s.tail=c,this.next();let d=this.finishNode(s,`TemplateElement`);return this.resetEndLocation(d,r(this.state.lastTokEndLoc,l)),d}parseTemplate(e){let t=this.startNode(),n=this.parseTemplateElement(e),r=[n],i=[];for(;!n.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(n=this.parseTemplateElement(e));return t.expressions=i,t.quasis=r,this.finishNode(t,`TemplateLiteral`)}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,n,r){n&&this.expectPlugin(`recordAndTuple`);let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,o=!0,s=this.startNode();for(s.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(s);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),a=this.checkProto(i,n,a,r)),n&&!this.isObjectProperty(i)&&i.type!==`SpreadElement`&&this.raise(_.InvalidRecordProperty,i),i.shorthand&&this.addExtra(i,`shorthand`,!0),s.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c=`ObjectExpression`;return t?c=`ObjectPattern`:n&&(c=`RecordExpression`),this.finishNode(s,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,`trailingComma`,this.state.lastTokStartLoc.index),this.addExtra(e,`trailingCommaLoc`,this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type===`Identifier`&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin(`decorators`)&&this.raise(_.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());let n=this.startNode(),r=!1,i=!1,a;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let s=this.state.containsEsc;if(this.parsePropertyName(n,e),!o&&!s&&this.maybeAsyncOrAccessorProp(n)){let{key:e}=n,t=e.name;t===`async`&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(e),o=this.eat(55),this.parsePropertyName(n)),(t===`get`||t===`set`)&&(i=!0,this.resetPreviousNodeTrailingComments(e),n.kind=t,this.match(55)&&(o=!0,this.raise(_.AccessorIsGenerator,this.state.curPosition(),{kind:t}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,a,o,r,!1,i,e)}getGetterSetterExpectedParamCount(e){return e.kind===`get`?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){let t=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==t&&this.raise(e.kind===`get`?_.BadGetterArity:_.BadSetterArity,e),e.kind===`set`&&n[n.length-1]?.type===`RestElement`&&this.raise(_.BadSetterRestParameter,e)}parseObjectMethod(e,t,n,r,i){if(i){let n=this.parseMethod(e,t,!1,!1,!1,`ObjectMethod`);return this.checkGetterSetterParams(n),n}if(n||t||this.match(10))return r&&this.unexpected(),e.kind=`method`,e.method=!0,this.parseMethod(e,t,n,!1,!1,`ObjectMethod`)}parseObjectProperty(e,t,n,r){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,r),this.finishObjectProperty(e);if(!e.computed&&e.key.type===`Identifier`){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(29)){let n=this.state.startLoc;r==null?this.raise(_.InvalidCoverInitializedName,n):r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,`ObjectProperty`)}parseObjPropValue(e,t,n,r,i,a,o){let s=this.parseObjectMethod(e,n,r,i,a)||this.parseObjectProperty(e,t,i,o);return s||this.unexpected(),s}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:n,value:r}=this.state,i;if(se(n))i=this.parseIdentifier(!0);else switch(n){case 135:i=this.parseNumericLiteral(r);break;case 134:i=this.parseStringLiteral(r);break;case 136:i=this.parseBigIntLiteral(r);break;case 139:{let e=this.state.startLoc;t==null?this.raise(_.UnexpectedPrivateField,e):t.privateKeyLoc===null&&(t.privateKeyLoc=e),i=this.parsePrivateName();break}default:if(n===137){i=this.parseDecimalLiteral(r);break}this.unexpected()}e.key=i,n!==139&&(e.computed=!1)}}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,n,r,i,a,o=!1){this.initFunction(e,n),e.generator=t,this.scope.enter(530|(o?576:0)|(i?32:0)),this.prodParam.enter(ht(n,e.generator)),this.parseFunctionParams(e,r);let s=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),s}parseArrayLike(e,t,n){t&&this.expectPlugin(`recordAndTuple`);let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!t,n,i),this.state.inFSharpPipelineDirectBody=r,this.finishNode(i,t?`TupleExpression`:`ArrayExpression`)}parseArrowExpression(e,t,n,r){this.scope.enter(518);let i=ht(n,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,n);let a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,`ArrowFunctionExpression`)}setArrowFunctionParameters(e,t,n){this.toAssignableList(t,n,!1),e.params=t}parseFunctionBodyAndFinish(e,t,n=!1){return this.parseFunctionBody(e,!1,n),this.finishNode(e,t)}parseFunctionBody(e,t,n=!1){let r=t&&!this.match(5);if(this.expressionScope.enter(Wt()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let r=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),e.body=this.parseBlock(!0,!1,i=>{let a=!this.isSimpleParamList(e.params);i&&a&&this.raise(_.IllegalLanguageModeDirective,(e.kind===`method`||e.kind===`constructor`)&&e.key?e.key.loc.end:e);let o=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!n&&!a,t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)}),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return e.type===`Identifier`}isSimpleParamList(e){for(let t=0,n=e.length;t<n;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,n,r=!0){let i=!t&&new Set,a={type:`FormalParameters`};for(let t of e.params)this.checkLVal(t,a,5,i,r)}parseExprList(e,t,n,r){let i=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(e,t,n))}return i}parseExprListItem(e,t,n,r){let i;if(this.match(12))t||this.raise(_.UnexpectedToken,this.state.curPosition(),{unexpected:`,`}),i=null;else if(this.match(21)){let e=this.state.startLoc;i=this.parseParenItem(this.parseSpread(n),e)}else if(this.match(17)){this.expectPlugin(`partialApplication`),r||this.raise(_.UnexpectedArgumentPlaceholder,this.state.startLoc);let e=this.startNode();this.next(),i=this.finishNode(e,`ArgumentPlaceholder`)}else i=this.parseMaybeAssignAllowInOrVoidPattern(e,n,this.parseParenItem);return i}parseIdentifier(e){let t=this.startNode(),n=this.parseIdentifierName(e);return this.createIdentifier(t,n)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,`Identifier`)}createIdentifierAt(e,t,n){return e.name=t,e.loc.identifierName=t,this.finishNodeAt(e,`Identifier`,n)}parseIdentifierName(e){let t,{startLoc:n,type:r}=this.state;se(r)?t=this.state.value:this.unexpected();let i=oe(r);return e?i&&this.replaceToken(132):this.checkReservedWord(t,n,i,!1),this.next(),t}checkReservedWord(e,t,n,r){if(!(e.length>10)&&Ue(e)){if(n&&Be(e)){this.raise(_.UnexpectedKeyword,t,{keyword:e});return}if((this.state.strict?r?ze:Le:Ie)(e,this.inModule)){this.raise(_.UnexpectedReservedWord,t,{reservedWord:e});return}else if(e===`yield`){if(this.prodParam.hasYield){this.raise(_.YieldBindingIdentifier,t);return}}else if(e===`await`){if(this.prodParam.hasAwait){this.raise(_.AwaitBindingIdentifier,t);return}if(this.scope.inStaticBlock){this.raise(_.AwaitBindingIdentifierInStaticBlock,t);return}this.expressionScope.recordAsyncArrowParametersError(t)}else if(e===`arguments`&&this.scope.inClassAndNotInNonArrowFunction){this.raise(_.ArgumentsInClass,t);return}}}recordAwaitIfAllowed(){let e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(_.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(_.ObsoleteAwaitStar,t),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,`AwaitExpression`)}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===53||e===10||e===0||xe(e)||e===102&&!this.state.containsEsc||e===138||e===56||this.hasPlugin(`v8intrinsic`)&&e===54}parseYield(e){let t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(_.YieldInParameter,t);let n=!1,r=null;if(!this.hasPrecedingLineBreak())switch(n=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!n)break;default:r=this.parseMaybeAssign()}return t.delegate=n,t.argument=r,this.finishNode(t,`YieldExpression`)}parseImportCall(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(_.ImportCallArity,e)}}return this.expect(11),this.finishNode(e,`ImportExpression`)}checkPipelineAtInfixOperator(e,t){this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])&&e.type===`SequenceExpression`&&this.raise(_.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let n=this.startNodeAt(t);return n.callee=e,this.finishNode(n,`PipelineBareFunction`)}else{let n=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),n.expression=e,this.finishNode(n,`PipelineTopicExpression`)}}isSimpleReference(e){switch(e.type){case`MemberExpression`:return!e.computed&&this.isSimpleReference(e.object);case`Identifier`:return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(_.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipelineTopicUnused,e)}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else return e()}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(t|8);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(t&-9);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=n,r}parseModuleExpression(){this.expectPlugin(`moduleBlocks`);let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let n=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,`module`)}finally{n()}return this.finishNode(e,`ModuleExpression`)}parseVoidPattern(e){this.expectPlugin(`discardBinding`);let t=this.startNode();return e!=null&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,`VoidPattern`)}parseMaybeAssignAllowInOrVoidPattern(e,t,n){if(t!=null&&this.match(88)){let n=this.lookaheadCharCode();if(n===44||n===(e===3?93:e===8?125:41)||n===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,n)}parsePropertyNamePrefixOperator(e){}}let _n={kind:1},vn={kind:2},yn=/[\uD800-\uDFFF]/u,bn=/in(?:stanceof)?/y;function xn(e,t,n){for(let i=0;i<e.length;i++){let a=e[i],{type:o}=a;if(typeof o==`number`){if(o===139){let{loc:t,start:n,value:o,end:s}=a,c=n+1,l=r(t.start,1);e.splice(i,1,new Pt({type:Se(27),value:`#`,start:n,end:c,startLoc:t.start,endLoc:l}),new Pt({type:Se(132),value:o,start:c,end:s,startLoc:l,endLoc:t.end})),i++;continue}if(xe(o)){let{loc:s,start:c,value:l,end:u}=a,d=c+1,f=r(s.start,1),p;p=t.charCodeAt(c-n)===96?new Pt({type:Se(22),value:"`",start:c,end:d,startLoc:s.start,endLoc:f}):new Pt({type:Se(8),value:`}`,start:c,end:d,startLoc:s.start,endLoc:f});let m,h,g,_;o===24?(h=u-1,g=r(s.end,-1),m=l===null?null:l.slice(1,-1),_=new Pt({type:Se(22),value:"`",start:h,end:u,startLoc:g,endLoc:s.end})):(h=u-2,g=r(s.end,-2),m=l===null?null:l.slice(1,-2),_=new Pt({type:Se(23),value:"${",start:h,end:u,startLoc:g,endLoc:s.end})),e.splice(i,1,p,new Pt({type:Se(20),value:m,start:d,end:h,startLoc:f,endLoc:g}),_),i+=2;continue}a.type=Se(o)}}return e}class Sn extends gn{parseTopLevel(e,t){return e.program=this.parseProgram(t,140,this.options.sourceType===`module`?`module`:`script`),e.comments=this.comments,this.optionFlags&256&&(e.tokens=xn(this.tokens,this.input,this.startIndex)),this.finishNode(e,`File`)}parseProgram(e,t,n){if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(_.ModuleExportUndefined,t,{localName:e});this.addExtra(e,`topLevelAwait`,this.state.hasTopLevelAwait)}let i;return i=t===140?this.finishNode(e,`Program`):this.finishNodeAt(e,`Program`,r(this.state.startLoc,-1)),i}stmtToDirective(e){let t=this.castNodeTo(e,`Directive`),n=this.castNodeTo(e.expression,`DirectiveLiteral`),r=n.value,i=this.input.slice(this.offsetToSourcePos(n.start),this.offsetToSourcePos(n.end)),a=n.value=i.slice(1,-1);return this.addExtra(n,`raw`,i),this.addExtra(n,`rawValue`,a),this.addExtra(n,`expressionValue`,r),t.value=n,delete e.expression,t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,`InterpreterDirective`)}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){return this.isContextual(107)?this.nextTokenIsIdentifierOnSameLine():!1}isForUsing(){if(!this.isContextual(107))return!1;let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);if(this.isUnparsedContextual(e,`of`)){let t=this.lookaheadCharCodeSince(e+2);if(t!==61&&t!==58&&t!==59)return!1}return!!(this.chStartsBindingIdentifier(t,e)||this.isUnparsedContextual(e,`void`))}nextTokenIsIdentifierOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}isAwaitUsing(){if(!this.isContextual(96))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,`using`)){e=this.nextTokenInLineStartSince(e+5);let t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return!0}return!1}chStartsBindingIdentifier(e,t){if(Ae(e)){if(bn.lastIndex=t,bn.test(this.input)){let e=this.codePointAtPos(bn.lastIndex);if(!je(e)&&e!==92)return!1}return!0}else if(e===92)return!0;else return!1}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifierOrBrace(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return t===123||this.chStartsBindingIdentifier(t,e)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let n=this.state.type,r=this.startNode(),i=!!(e&2),a=!!(e&4),o=e&1;switch(n){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?_.StrictFunction:this.options.annexB?_.SloppyFunctionAnnexB:_.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(_.AwaitUsingNotInAsyncContext,r):this.raise(_.UnexpectedLexicalDeclaration,r):this.raise(_.UnexpectedUsingDeclaration,r),this.next(),this.parseVarStatement(r,`await using`);break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?i||this.raise(_.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(_.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,`using`);case 100:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(t!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&t!==123))break}case 75:i||this.raise(_.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let e=this.lookaheadCharCode();if(e===40||e===46)break}case 82:{!(this.optionFlags&8)&&!o&&this.raise(_.UnexpectedImportExport,this.state.startLoc),this.next();let e;return e=n===83?this.parseImport(r):this.parseExport(r,t),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(_.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let s=this.state.value,c=this.parseExpression();return P(n)&&c.type===`Identifier`&&this.eat(14)?this.parseLabeledStatement(r,s,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){!(this.optionFlags&8)&&!this.inModule&&this.raise(_.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return this.hasPlugin(`decorators-legacy`)?!0:this.hasPlugin(`decorators`)&&this.getPluginOption(`decorators`,`decoratorsBeforeExport`)!==!1}maybeTakeDecorators(e,t,n){if(e){var r;(r=t.decorators)!=null&&r.length?(typeof this.getPluginOption(`decorators`,`decoratorsBeforeExport`)!=`boolean`&&this.raise(_.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),n&&this.resetStartLocationFromNode(n,t)}return t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do t.push(this.parseDecorator());while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(_.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(_.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin([`decorators`,`decorators-legacy`]);let e=this.startNode();if(this.next(),this.hasPlugin(`decorators`)){let t=this.state.startLoc,n;if(this.match(10)){let t=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(t,n);let r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(n,t),this.getPluginOption(`decorators`,`allowCallParenthesized`)===!1&&e.expression!==n&&this.raise(_.DecoratorArgumentsOutsideParentheses,r)}else{for(n=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(t);e.object=n,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,n=this.finishNode(e,`MemberExpression`)}e.expression=this.parseMaybeDecoratorArguments(n,t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,`Decorator`)}parseMaybeDecoratorArguments(e,t){if(this.eat(10)){let n=this.startNodeAt(t);return n.callee=e,n.arguments=this.parseCallExpressionArguments(),this.toReferencedList(n.arguments),this.finishNode(n,`CallExpression`)}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?`BreakStatement`:`ContinueStatement`)}verifyBreakContinue(e,t){let n;for(n=0;n<this.state.labels.length;++n){let r=this.state.labels[n];if((e.label==null||r.name===e.label.name)&&(r.kind!=null&&(t||r.kind===1)||e.label&&t))break}if(n===this.state.labels.length){let n=t?`BreakStatement`:`ContinueStatement`;this.raise(_.IllegalBreakContinue,e,{type:n})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,`DebuggerStatement`)}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(_n),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,`DoWhileStatement`)}parseForStatement(e){this.next(),this.state.labels.push(_n);let t=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(t=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(e,null);let n=this.isContextual(100);{let r=this.isAwaitUsing(),i=r||this.isForUsing(),a=n&&this.hasFollowingBindingAtom()||i;if(this.match(74)||this.match(75)||a){let n=this.startNode(),a;r?(a=`await using`,this.recordAwaitIfAllowed()||this.raise(_.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):a=this.state.value,this.next(),this.parseVar(n,!0,a);let o=this.finishNode(n,`VariableDeclaration`),s=this.match(58);return s&&i&&this.raise(_.ForInUsing,o),(s||this.isContextual(102))&&o.declarations.length===1?this.parseForIn(e,o,t):(t!==null&&this.unexpected(t),this.parseFor(e,o))}}let r=this.isContextual(95),i=new Kt,a=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(n&&this.raise(_.ForOfLet,a),t===null&&r&&a.type===`Identifier`&&this.raise(_.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(a,!0);let n=o?`ForOfStatement`:`ForInStatement`;return this.checkLVal(a,{type:n}),this.parseForIn(e,a,t)}else this.checkExpressionErrors(i,!0);return t!==null&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,n){return this.next(),this.parseFunction(e,1|(n?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,`IfStatement`)}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(_.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,`ReturnStatement`)}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t=e.cases=[];this.expect(5),this.state.labels.push(vn),this.scope.enter(256);let n;for(let e;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);n&&this.finishNode(n,`SwitchCase`),t.push(n=this.startNode()),n.consequent=[],this.next(),r?n.test=this.parseExpression():(e&&this.raise(_.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),e=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,`SwitchCase`),this.next(),this.state.labels.pop(),this.finishNode(e,`SwitchStatement`)}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(_.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,`ThrowStatement`)}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&e.type===`Identifier`?8:0),this.checkLVal(e,{type:`CatchClause`},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,`CatchClause`)}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(_.NoCatchOrFinally,e),this.finishNode(e,`TryStatement`)}parseVarStatement(e,t,n=!1){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,`VariableDeclaration`)}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(_n),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,`WhileStatement`)}parseWithStatement(e){return this.state.strict&&this.raise(_.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,`WithStatement`)}parseEmptyStatement(e){return this.next(),this.finishNode(e,`EmptyStatement`)}parseLabeledStatement(e,t,n,r){for(let e of this.state.labels)e.name===t&&this.raise(_.LabelRedeclaration,n,{labelName:t});let i=I(this.state.type)?1:this.match(71)?2:null;for(let t=this.state.labels.length-1;t>=0;t--){let n=this.state.labels[t];if(n.statementStart===e.start)n.statementStart=this.sourceToOffsetPos(this.state.start),n.kind=i;else break}return this.state.labels.push({name:t,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=n,this.finishNode(e,`LabeledStatement`)}parseExpressionStatement(e,t,n){return e.expression=t,this.semicolon(),this.finishNode(e,`ExpressionStatement`)}parseBlock(e=!1,t=!0,n){let r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,n),t&&this.scope.exit(),this.finishNode(r,`BlockStatement`)}isValidDirective(e){return e.type===`ExpressionStatement`&&e.expression.type===`StringLiteral`&&!e.expression.extra.parenthesized}parseBlockBody(e,t,n,r,i){let a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?o:void 0,n,r,i)}parseBlockOrModuleBlockBody(e,t,n,r,i){let a=this.state.strict,o=!1,s=!1;for(;!this.match(r);){let r=n?this.parseModuleItem():this.parseStatementListItem();if(t&&!s){if(this.isValidDirective(r)){let e=this.stmtToDirective(r);t.push(e),!o&&e.value.value===`use strict`&&(o=!0,this.setStrict(!0));continue}s=!0,this.state.strictErrors.clear()}e.push(r)}i?.call(this,o),a||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,`ForStatement`)}parseForIn(e,t,n){let r=this.match(58);return this.next(),r?n!==null&&this.unexpected(n):e.await=n!==null,t.type===`VariableDeclaration`&&t.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||t.kind!==`var`||t.declarations[0].id.type!==`Identifier`)&&this.raise(_.ForInOfLoopInitializer,t,{type:r?`ForInStatement`:`ForOfStatement`}),t.type===`AssignmentPattern`&&this.raise(_.InvalidLhs,t,{ancestor:{type:`ForStatement`}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?`ForInStatement`:`ForOfStatement`)}parseVar(e,t,n,r=!1){let i=e.declarations=[];for(e.kind=n;;){let e=this.startNode();if(this.parseVarId(e,n),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,e.init===null&&!r&&(e.id.type!==`Identifier`&&!(t&&(this.match(58)||this.isContextual(102)))?this.raise(_.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:`destructuring`}):(n===`const`||n===`using`||n===`await using`)&&!(this.match(58)||this.isContextual(102))&&this.raise(_.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:n})),i.push(this.finishNode(e,`VariableDeclarator`)),!this.eat(12))break}return e}parseVarId(e,t){let n=this.parseBindingAtom();t===`using`||t===`await using`?(n.type===`ArrayPattern`||n.type===`ObjectPattern`)&&this.raise(_.UsingDeclarationHasBindingPattern,n.loc.start):n.type===`VoidPattern`&&this.raise(_.UnexpectedVoidPattern,n.loc.start),this.checkLVal(n,{type:`VariableDeclarator`},t===`var`?5:8201),e.id=n}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){let n=t&2,r=!!(t&1),i=r&&!(t&4),a=!!(t&8);this.initFunction(e,a),this.match(55)&&(n&&this.raise(_.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(ht(a,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?`FunctionDeclaration`:`FunctionExpression`)}),this.prodParam.exit(),this.scope.exit(),r&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||P(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(Vt()),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,n){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,n),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?`ClassDeclaration`:`ClassExpression`)}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return e.type===`Identifier`&&e.name===`constructor`||e.type===`StringLiteral`&&e.value===`constructor`}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,t){this.classScope.enter();let n={hadConstructor:!1,hadSuperClass:e},r=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(_.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}let e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(i,e,n),e.kind===`constructor`&&e.decorators&&e.decorators.length>0&&this.raise(_.DecoratorConstructor,e)}}),this.state.strict=t,this.next(),r.length)throw this.raise(_.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,`ClassBody`)}parseClassMemberFromModifier(e,t){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let r=t;return r.kind=`method`,r.computed=!1,r.key=n,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=t;return r.computed=!1,r.key=n,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(e,t,n){let r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,n,r)}parseClassMemberWithIsStatic(e,t,n,r){let i=t,a=t,o=t,s=t,c=t,l=i,u=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind=`method`;let t=this.match(139);if(this.parseClassElementName(l),this.parsePostMemberNameModifiers(l),t){this.pushClassPrivateMethod(e,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsGenerator,i.key),this.pushClassMethod(e,i,!0,!1,!1,!1);return}let d=!this.state.containsEsc&&P(this.state.type),f=this.parseClassElementName(t),p=d?f.name:null,m=this.isPrivateName(f),h=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind=`method`,m){this.pushClassPrivateMethod(e,a,!1,!1);return}let r=this.isNonstaticConstructor(i),o=!1;r&&(i.kind=`constructor`,n.hadConstructor&&!this.hasPlugin(`typescript`)&&this.raise(_.DuplicateConstructor,f),r&&this.hasPlugin(`typescript`)&&t.override&&this.raise(_.OverrideOnConstructor,f),n.hadConstructor=!0,o=n.hadSuperClass),this.pushClassMethod(e,i,!1,!1,r,o)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o);else if(p===`async`&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);let t=this.eat(55);u.optional&&this.unexpected(h),l.kind=`method`;let n=this.match(139);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),n?this.pushClassPrivateMethod(e,a,t,!0):(this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsAsync,i.key),this.pushClassMethod(e,i,t,!0,!1,!1))}else if((p===`get`||p===`set`)&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f),l.kind=p;let t=this.match(139);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(p===`accessor`&&!this.isLineTerminator()){this.expectPlugin(`decoratorAutoAccessors`),this.resetPreviousNodeTrailingComments(f);let t=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?m?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o):this.unexpected()}parseClassElementName(e){let{type:t,value:n}=this.state;if((t===132||t===134)&&e.static&&n===`prototype`&&this.raise(_.StaticPrototype,this.state.startLoc),t===139){n===`constructor`&&this.raise(_.ConstructorClassPrivateField,this.state.startLoc);let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,t){var n;this.scope.enter(720);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,`StaticBlock`)),(n=t.decorators)!=null&&n.length&&this.raise(_.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(_.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let n=this.parseClassPrivateProperty(t);e.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassAccessorProperty(e,t,n){!n&&!t.computed&&this.nameIsConstructor(t.key)&&this.raise(_.ConstructorClassField,t.key);let r=this.parseClassAccessorProperty(t);e.body.push(r),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,n,r,i,a){e.body.push(this.parseMethod(t,n,r,i,a,`ClassMethod`,!0))}pushClassPrivateMethod(e,t,n,r){let i=this.parseMethod(t,n,r,!1,!1,`ClassPrivateMethod`,!0);e.body.push(i);let a=i.kind===`get`?i.static?6:2:i.kind===`set`?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassPrivateProperty`)}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassProperty`)}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassAccessorProperty`)}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(Wt()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,n,r=8331){if(P(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else if(n||!t)e.id=null;else throw this.raise(_.MissingClassName,this.state.startLoc)}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let n=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,n),i=!r||this.eat(12),a=i&&this.eatExportStar(e),o=a&&this.maybeParseExportNamespaceSpecifier(e),s=i&&(!o||this.eat(12)),c=r||a;if(a&&!o){if(r&&this.unexpected(),t)throw this.raise(_.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,`ExportAllDeclaration`)}let l=this.maybeParseExportNamedSpecifiers(e);r&&i&&!a&&!l&&this.unexpected(null,5),o&&s&&this.unexpected(null,98);let u;if(c||l){if(u=!1,t)throw this.raise(_.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else u=this.maybeParseExportDeclaration(e);if(c||l||u){let n=e;if(this.checkExport(n,!0,!1,!!n.source),n.declaration?.type===`ClassDeclaration`)this.maybeTakeDecorators(t,n.declaration,n);else if(t)throw this.raise(_.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(n,`ExportNamedDeclaration`)}if(this.eat(65)){let n=e,r=this.parseExportDefaultExpression();if(n.declaration=r,r.type===`ClassDeclaration`)this.maybeTakeDecorators(t,r,n);else if(t)throw this.raise(_.UnsupportedDecoratorExport,e);return this.checkExport(n,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(n,`ExportDefaultDeclaration`)}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin(`exportDefaultFrom`,t?.loc.start);let n=t||this.parseIdentifier(!0),r=this.startNodeAtNode(n);return r.exported=n,e.specifiers=[this.finishNode(r,`ExportDefaultSpecifier`)],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var t;(t=e).specifiers??(t.specifiers=[]);let n=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),n.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(n,`ExportNamespaceSpecifier`)),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){let t=e;t.specifiers||=[];let n=t.exportKind===`type`;return t.specifiers.push(...this.parseExportSpecifiers(n)),t.source=null,this.hasPlugin(`importAssertions`)?t.assertions=[]:t.attributes=[],t.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin(`importAssertions`)?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,`function`)}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin(`decorators`)&&this.getPluginOption(`decorators`,`decoratorsBeforeExport`)===!0&&this.raise(_.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(_.UnsupportedDefaultExport,this.state.startLoc);let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(P(e)){if(e===95&&!this.state.containsEsc||e===100)return!1;if((e===130||e===129)&&!this.state.containsEsc){let e=this.nextTokenStart(),t=this.input.charCodeAt(e);if(t===123||this.chStartsBindingIdentifier(t,e)&&!this.input.startsWith(`from`,e))return this.expectOnePlugin([`flow`,`typescript`]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),n=this.isUnparsedContextual(t,`from`);if(this.input.charCodeAt(t)===44||P(this.state.type)&&n)return!0;if(this.match(65)&&n){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return!1}parseExportFrom(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return e===26&&(this.expectOnePlugin([`decorators`,`decorators-legacy`]),this.hasPlugin(`decorators`))?(this.getPluginOption(`decorators`,`decoratorsBeforeExport`)===!0&&this.raise(_.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(_.UsingDeclarationExport,this.state.startLoc),!0):e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,n,r){if(t){var i;if(n){if(this.checkDuplicateExports(e,`default`),this.hasPlugin(`exportDefaultFrom`)){var a;let t=e.declaration;t.type===`Identifier`&&t.name===`from`&&t.end-t.start===4&&!((a=t.extra)!=null&&a.parenthesized)&&this.raise(_.ExportDefaultFromAsIdentifier,t)}}else if((i=e.specifiers)!=null&&i.length)for(let t of e.specifiers){let{exported:e}=t,n=e.type===`Identifier`?e.name:e.value;if(this.checkDuplicateExports(t,n),!r&&t.local){let{local:e}=t;e.type===`Identifier`?(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e)):this.raise(_.ExportBindingIsString,t,{localName:e.value,exportName:n})}}else if(e.declaration){let t=e.declaration;if(t.type===`FunctionDeclaration`||t.type===`ClassDeclaration`){let{id:n}=t;if(!n)throw Error(`Assertion failure`);this.checkDuplicateExports(e,n.name)}else if(t.type===`VariableDeclaration`)for(let e of t.declarations)this.checkDeclaration(e.id)}}}checkDeclaration(e){if(e.type===`Identifier`)this.checkDuplicateExports(e,e.name);else if(e.type===`ObjectPattern`)for(let t of e.properties)this.checkDeclaration(t);else if(e.type===`ArrayPattern`)for(let t of e.elements)t&&this.checkDeclaration(t);else e.type===`ObjectProperty`?this.checkDeclaration(e.value):e.type===`RestElement`?this.checkDeclaration(e.argument):e.type===`AssignmentPattern`&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(_.DuplicateDefaultExport,e):this.raise(_.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(130),i=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,r))}return t}parseExportSpecifier(e,t,n,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=this.cloneStringLiteral(e.local):e.exported||=this.cloneIdentifier(e.local),this.finishNode(e,`ExportSpecifier`)}parseModuleExportName(){if(this.match(134)){let e=this.parseStringLiteral(this.state.value),t=yn.exec(e.value);return t&&this.raise(_.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return e.assertions==null?!1:e.assertions.some(({key:e,value:t})=>t.value===`json`&&(e.type===`Identifier`?e.name===`type`:e.value===`type`))}checkImportReflection(e){let{specifiers:t}=e,n=t.length===1?t[0].type:null;e.phase===`source`?n!==`ImportDefaultSpecifier`&&this.raise(_.SourcePhaseImportRequiresDefault,t[0].loc.start):e.phase===`defer`?n!==`ImportNamespaceSpecifier`&&this.raise(_.DeferImportRequiresNamespace,t[0].loc.start):e.module&&(n!==`ImportDefaultSpecifier`&&this.raise(_.ImportReflectionNotBinding,t[0].loc.start),e.assertions?.length>0&&this.raise(_.ImportReflectionHasAssertion,t[0].loc.start))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!==`ExportAllDeclaration`){let{specifiers:t}=e;if(t!=null){let e=t.find(e=>{let t;if(e.type===`ExportSpecifier`?t=e.local:e.type===`ImportSpecifier`&&(t=e.imported),t!==void 0)return t.type===`Identifier`?t.name!=="default":t.value!=="default"});e!==void 0&&this.raise(_.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return e?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(e,t,n,r){t||(n===`module`?(this.expectPlugin(`importReflection`,r),e.module=!0):this.hasPlugin(`importReflection`)&&(e.module=!1),n===`source`?(this.expectPlugin(`sourcePhaseImports`,r),e.phase=`source`):n===`defer`?(this.expectPlugin(`deferredImportEvaluation`,r),e.phase=`defer`):this.hasPlugin(`sourcePhaseImports`)&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;let n=this.startNode(),r=this.parseIdentifierName(!0),{type:i}=this.state;return(se(i)?i!==98||this.lookaheadCharCode()===102:i!==12)?(this.applyImportPhase(e,t,r,n.loc.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(n,r))}isPrecedingIdImportPhase(e){let{type:t}=this.state;return P(t)?t!==98||this.lookaheadCharCode()===102:t!==12}parseImport(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];let n=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=n&&this.maybeParseStarImportSpecifier(e);return n&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return e.specifiers??=[],e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,`ImportDeclaration`)}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,n){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}finishImportSpecifier(e,t,n=8201){return this.checkLVal(e.local,{type:t},n),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);let e=[],t=new Set;do{if(this.match(8))break;let n=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(_.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(134)?n.key=this.parseStringLiteral(r):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(_.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,`ImportAttribute`))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){let e=[],t=new Set;do{let n=this.startNode();if(n.key=this.parseIdentifier(!0),n.key.name!==`type`&&this.raise(_.ModuleAttributeDifferentFromType,n.key),t.has(n.key.name)&&this.raise(_.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),t.add(n.key.name),this.expect(14),!this.match(134))throw this.raise(_.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,`ImportAttribute`))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t;var n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin(`moduleAttributes`)?(t=this.parseModuleAttributes(),this.addExtra(e,`deprecatedWithLegacySyntax`,!0)):t=this.parseImportAttributes(),n=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin(`deprecatedImportAssert`)&&!this.hasPlugin(`importAssertions`)&&this.raise(_.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin(`importAssertions`)||this.addExtra(e,`deprecatedAssertSyntax`,!0),this.next(),t=this.parseImportAttributes()):t=[];!n&&this.hasPlugin(`importAssertions`)?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){let n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishImportSpecifier(n,`ImportDefaultSpecifier`)),!0}else if(se(this.state.type))return this.parseImportSpecifierLocal(e,this.startNode(),`ImportDefaultSpecifier`),!0;return!1}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,`ImportNamespaceSpecifier`),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(_.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let n=this.startNode(),r=this.match(134),i=this.isContextual(130);n.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(n,r,e.importKind===`type`||e.importKind===`typeof`,i,void 0);e.specifiers.push(a)}}parseImportSpecifier(e,t,n,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:n}=e;if(t)throw this.raise(_.ImportBindingIsString,e,{importName:n.value});this.checkReservedWord(n.name,e.loc.start,!0,!0),e.local||=this.cloneIdentifier(n)}return this.finishImportSpecifier(e,`ImportSpecifier`,i)}isThisParam(e){return e.type===`Identifier`&&e.name===`this`}}class Cn extends Sn{constructor(e,t,n){let r=y(e);super(r,t),this.options=r,this.initializeScopes(),this.plugins=n,this.filename=r.sourceFilename,this.startIndex=r.startIndex;let i=0;r.allowAwaitOutsideFunction&&(i|=1),r.allowReturnOutsideFunction&&(i|=2),r.allowImportExportEverywhere&&(i|=8),r.allowSuperOutsideMethod&&(i|=16),r.allowUndeclaredExports&&(i|=64),r.allowNewTargetOutsideFunction&&(i|=4),r.allowYieldOutsideFunction&&(i|=32),r.ranges&&(i|=128),r.tokens&&(i|=256),r.createImportExpressions&&(i|=512),r.createParenthesizedExpressions&&(i|=1024),r.errorRecovery&&(i|=2048),r.attachComment&&(i|=4096),r.annexB&&(i|=8192),this.optionFlags=i}getScopeHandler(){return Ge}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();this.nextToken(),e.errors=null;let n=this.parseTopLevel(e,t);return n.errors=this.state.errors,n.comments.length=this.state.commentsLen,n}}function wn(e,t){if(t?.sourceType===`unambiguous`){t=Object.assign({},t);try{t.sourceType=`module`;let n=On(t,e),r=n.parse();if(n.sawUnambiguousESM)return r;if(n.ambiguousScriptDifferentAst)try{return t.sourceType=`script`,On(t,e).parse()}catch{}else r.program.sourceType=`script`;return r}catch(n){try{return t.sourceType=`script`,On(t,e).parse()}catch{}throw n}}else return On(t,e).parse()}function Tn(e,t){let n=On(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function En(e){let t={};for(let n of Object.keys(e))t[n]=Se(e[n]);return t}let Dn=En(ae);function On(e,t){let n=Cn,r=new Map;if(e!=null&&e.plugins){for(let t of e.plugins){let e,n;typeof t==`string`?e=t:[e,n]=t,r.has(e)||r.set(e,n||{})}pn(r),n=An(r)}return new n(e,t,r)}let kn=new Map;function An(e){let t=[];for(let n of hn)e.has(n)&&t.push(n);let n=t.join(`|`),r=kn.get(n);if(!r){r=Cn;for(let e of t)r=mn[e](r);kn.set(n,r)}return r}return gi.parse=wn,gi.parseExpression=Tn,gi.tokTypes=Dn,gi}var yi=vi(),bi=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,n,r){e&&(n===null?e[t]=r:e[t][n]=r)}remove(e,t,n){e&&(n===null?delete e[t]:e[t].splice(n,1))}},xi=class extends bi{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,n,r){if(e){if(this.enter){let i=this.should_skip,a=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let s=this.should_skip,c=this.should_remove;if(this.should_skip=i,this.should_remove=a,this.replacement=o,s)return e;if(c)return null}for(let t in e){let n=e[t];if(typeof n==`object`)if(Array.isArray(n))for(let r=0;r<n.length;r+=1)n[r]!==null&&typeof n[r].type==`string`&&(this.visit(n[r],e,t,r)||r--);else n!==null&&typeof n.type==`string`&&this.visit(n,e,t,null)}if(this.leave){let i=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let o=this.should_remove;if(this.replacement=i,this.should_remove=a,o)return null}}return e}};function Si(e,{enter:t,leave:n}){return new xi(t,n).visit(e,null)}function Ci(e,t,n=!1,r=[],i=Object.create(null)){let a=e.type===`Program`?e.body[0].type===`ExpressionStatement`&&e.body[0].expression:e;Si(e,{enter(e,a){if(a&&r.push(a),a&&a.type.startsWith(`TS`)&&!zi.includes(a.type))return this.skip();if(e.type===`Identifier`){let o=!!i[e.name],s=wi(e,a,r);(n||s&&!o)&&t(e,a,r,s,o)}else if(e.type===`ObjectProperty`&&a?.type===`ObjectPattern`)e.inPattern=!0;else if(Fi(e))e.scopeIds?e.scopeIds.forEach(e=>Ni(e,i)):Di(e,t=>Pi(e,t,i));else if(e.type===`BlockStatement`)e.scopeIds?e.scopeIds.forEach(e=>Ni(e,i)):Oi(e,t=>Pi(e,t,i));else if(e.type===`SwitchStatement`)e.scopeIds?e.scopeIds.forEach(e=>Ni(e,i)):ji(e,!1,t=>Pi(e,t,i));else if(e.type===`CatchClause`&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>Ni(e,i));else for(let t of Mi(e.param))Pi(e,t,i);else ki(e)&&(e.scopeIds?e.scopeIds.forEach(e=>Ni(e,i)):Ai(e,!1,t=>Pi(e,t,i)))},leave(e,t){if(t&&r.pop(),e!==a&&e.scopeIds)for(let t of e.scopeIds)i[t]--,i[t]===0&&delete i[t]}})}function wi(e,t,n){if(!t)return!0;if(e.name===`arguments`)return!1;if(Ri(e,t,n[n.length-2]))return!0;switch(t.type){case`AssignmentExpression`:case`AssignmentPattern`:return!0;case`ObjectProperty`:return t.key!==e&&Ti(t,n);case`ArrayPattern`:return Ti(t,n)}return!1}function Ti(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function Ei(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function Di(e,t){for(let n of e.params)for(let e of Mi(n))t(e)}function Oi(e,t){let n=e.type===`SwitchCase`?e.consequent:e.body;for(let e of n)if(e.type===`VariableDeclaration`){if(e.declare)continue;for(let n of e.declarations)for(let e of Mi(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else ki(e)?Ai(e,!0,t):e.type===`SwitchStatement`&&ji(e,!0,t)}function ki(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function Ai(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of Mi(e.id))n(t)}function ji(e,t,n){for(let r of e.cases){for(let e of r.consequent)if(e.type===`VariableDeclaration`&&(e.kind===`var`?t:!t))for(let t of e.declarations)for(let e of Mi(t.id))n(e);Oi(r,n)}}function Mi(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?Mi(n.argument,t):Mi(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&Mi(e,t)});break;case`RestElement`:Mi(e.argument,t);break;case`AssignmentPattern`:Mi(e.left,t);break}return t}function Ni(e,t){e in t?t[e]++:t[e]=1}function Pi(e,t,n){let{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(Ni(r,n),(e.scopeIds||=new Set).add(r))}var Fi=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ii=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,Li=(e,t)=>Ii(t)&&t.key===e;function Ri(e,t,n){switch(t.type){case`MemberExpression`:case`OptionalMemberExpression`:return t.property===e?!!t.computed:t.object===e;case`JSXMemberExpression`:return t.object===e;case`VariableDeclarator`:return t.init===e;case`ArrowFunctionExpression`:return t.body===e;case`PrivateName`:return!1;case`ClassMethod`:case`ClassPrivateMethod`:case`ObjectMethod`:return t.key===e?!!t.computed:!1;case`ObjectProperty`:return t.key===e?!!t.computed:!n||n.type!==`ObjectPattern`;case`ClassProperty`:return t.key===e?!!t.computed:!0;case`ClassPrivateProperty`:return t.key!==e;case`ClassDeclaration`:case`ClassExpression`:return t.superClass===e;case`AssignmentExpression`:return t.right===e;case`AssignmentPattern`:return t.right===e;case`LabeledStatement`:return!1;case`CatchClause`:return!1;case`RestElement`:return!1;case`BreakStatement`:case`ContinueStatement`:return!1;case`FunctionDeclaration`:case`FunctionExpression`:return!1;case`ExportNamespaceSpecifier`:case`ExportDefaultSpecifier`:return!1;case`ExportSpecifier`:return n?.source?!1:t.local===e;case`ImportDefaultSpecifier`:case`ImportNamespaceSpecifier`:case`ImportSpecifier`:return!1;case`ImportAttribute`:return!1;case`JSXAttribute`:return!1;case`ObjectPattern`:case`ArrayPattern`:return!1;case`MetaProperty`:return!1;case`ObjectTypeProperty`:return t.key!==e;case`TSEnumMember`:return t.id!==e;case`TSPropertySignature`:return t.key===e?!!t.computed:!0}return!0}var zi=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`];function Bi(e){return zi.includes(e.type)?Bi(e.expression):e}var Vi=e=>e.type===4&&e.isStatic;function Hi(e){switch(e){case`Teleport`:case`teleport`:return dt;case`Suspense`:case`suspense`:return ft;case`KeepAlive`:case`keep-alive`:return pt;case`BaseTransition`:case`base-transition`:return mt}}var Ui=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Wi=e=>!Ui.test(e),Gi=/[A-Za-z_$\xA0-\uFFFF]/,Ki=/[\.\?\w$\xA0-\uFFFF]/,qi=/\s+[.[]\s*|\s*[.[]\s+/g,Ji=e=>e.type===4?e.content:e.loc.source,Yi=e=>{let t=Ji(e).trim().replace(qi,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?Gi:Ki).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},Xi=(e,t)=>{try{let n=e.ast||yi.parseExpression(Ji(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n=Bi(n),n.type===`MemberExpression`||n.type===`OptionalMemberExpression`||n.type===`Identifier`&&n.name!==`undefined`}catch{return!1}},Zi=Xi,Qi=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,$i=e=>Qi.test(Ji(e)),ea=(e,t)=>{try{let n=e.ast||yi.parseExpression(Ji(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n.type===`Program`&&(n=n.body[0],n.type===`ExpressionStatement`&&(n=n.expression)),n=Bi(n),n.type===`FunctionExpression`||n.type===`ArrowFunctionExpression`}catch{return!1}},ta=ea;function na(e,t,n=t.length){return ra({offset:e.offset,line:e.line,column:e.column},t,n)}function ra(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function ia(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function G(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(I(t)?i.name===t:t.test(i.name)))return i}}function aa(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&oa(a.arg,t))return a}}function oa(e,t){return!!(e&&Vi(e)&&e.content===t)}function sa(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function ca(e){return e.type===5||e.type===2}function la(e){return e.type===7&&e.name===`pre`}function ua(e){return e.type===7&&e.name===`slot`}function da(e){return e.type===1&&e.tagType===3}function fa(e){return e.type===1&&e.tagType===2}var pa=new Set([Ft,It]);function ma(e,t=[]){if(e&&!I(e)&&e.type===14){let n=e.callee;if(!I(n)&&pa.has(n))return ma(e.arguments[0],t.concat(e))}return[e,t]}function ha(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!I(i)&&i.type===14){let e=ma(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||I(i))r=an([t]);else if(i.type===14){let e=i.arguments[0];!I(e)&&e.type===15?ga(t,e)||e.properties.unshift(t):i.callee===Lt?r=V(n.helper(Mt),[an([t]),i]):i.arguments.unshift(an([t])),!r&&(r=i)}else i.type===15?(ga(t,i)||i.properties.unshift(t),r=i):(r=V(n.helper(Mt),[an([t]),i]),o&&o.callee===It&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function ga(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function _a(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function va(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(va(r.arg,t)||va(r.exp,t)))return!0}return e.children.some(e=>va(e,t));case 11:return va(e.source,t)?!0:e.children.some(e=>va(e,t));case 9:return e.branches.some(e=>va(e,t));case 10:return va(e.condition,t)?!0:e.children.some(e=>va(e,t));case 4:return!e.isStatic&&Wi(e.content)&&!!t[e.content];case 8:return e.children.some(e=>pe(e)&&va(e,t));case 5:case 12:return va(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function ya(e){return e.type===14&&e.callee===qt?e.arguments[1].returns:e}var ba=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function xa(e){for(let t=0;t<e.length;t++)if(!$r(e.charCodeAt(t)))return!1;return!0}function Sa(e){return e.type===2&&xa(e.content)||e.type===12&&Sa(e.content)}function Ca(e){return e.type===3||Sa(e)}var wa={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:ae,isPreTag:ae,isIgnoreNewlineTag:ae,isCustomElement:ae,onError:ui,onWarn:di,comments:!0,prefixIdentifiers:!1},K=wa,Ta=null,Ea=``,Da=null,q=null,Oa=``,ka=-1,Aa=-1,ja=0,Ma=!1,Na=null,J=[],Y=new ri(J,{onerr:ro,ontext(e,t){za(La(e,t),e,t)},ontextentity(e,t,n){za(e,t,n)},oninterpolation(e,t){if(Ma)return za(La(e,t),e,t);let n=e+Y.delimiterOpen.length,r=t-Y.delimiterClose.length;for(;$r(Ea.charCodeAt(n));)n++;for(;$r(Ea.charCodeAt(r-1));)r--;let i=La(n,r);i.includes(`&`)&&(i=Yr(i)),Za({type:5,content:no(i,!1,Qa(n,r)),loc:Qa(e,t)})},onopentagname(e,t){let n=La(e,t);Da={type:1,tag:n,ns:K.getNamespace(n,J[0],K.ns),tagType:0,props:[],children:[],loc:Qa(e-1,t),codegenNode:void 0}},onopentagend(e){Ra(e)},onclosetag(e,t){let n=La(e,t);if(!K.isVoidTag(n)){let r=!1;for(let e=0;e<J.length;e++)if(J[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&ro(24,J[0].loc.start.offset);for(let n=0;n<=e;n++)Ba(J.shift(),t,n<e);break}r||ro(23,Ha(e,60))}},onselfclosingtag(e){let t=Da.tag;Da.isSelfClosing=!0,Ra(e),J[0]&&J[0].tag===t&&Ba(J.shift(),e)},onattribname(e,t){q={type:6,name:La(e,t),nameLoc:Qa(e,t),value:void 0,loc:Qa(e)}},ondirname(e,t){let n=La(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!Ma&&r===``&&ro(26,e),Ma||r===``)q={type:6,name:n,nameLoc:Qa(e,t),value:void 0,loc:Qa(e)};else if(q={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[B(`prop`)]:[],loc:Qa(e)},r===`pre`){Ma=Y.inVPre=!0,Na=Da;let e=Da.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=to(e[t]))}},ondirarg(e,t){if(e===t)return;let n=La(e,t);if(Ma&&!la(q))q.name+=n,eo(q.nameLoc,t);else{let r=n[0]!==`[`;q.arg=no(r?n:n.slice(1,-1),r,Qa(e,t),r?3:0)}},ondirmodifier(e,t){let n=La(e,t);if(Ma&&!la(q))q.name+=`.`+n,eo(q.nameLoc,t);else if(q.name===`slot`){let e=q.arg;e&&(e.content+=`.`+n,eo(e.loc,t))}else{let r=B(n,!0,Qa(e,t));q.modifiers.push(r)}},onattribdata(e,t){Oa+=La(e,t),ka<0&&(ka=e),Aa=t},onattribentity(e,t,n){Oa+=e,ka<0&&(ka=t),Aa=n},onattribnameend(e){let t=q.loc.start.offset,n=La(t,e);q.type===7&&(q.rawName=n),Da.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&ro(2,t)},onattribend(e,t){if(Da&&q){if(eo(q.loc,t),e!==0)if(q.type===6)q.name===`class`&&(Oa=Xa(Oa).trim()),e===1&&!Oa&&ro(13,t),q.value={type:2,content:Oa,loc:e===1?Qa(ka,Aa):Qa(ka-1,Aa+1)},Y.inSFCRoot&&Da.tag===`template`&&q.name===`lang`&&Oa&&Oa!==`html`&&Y.enterRCDATA(ti(`</template`),0);else{let e=0;q.name===`for`?e=3:q.name===`slot`?e=1:q.name===`on`&&Oa.includes(`;`)&&(e=2),q.exp=no(Oa,!1,Qa(ka,Aa),0,e),q.name===`for`&&(q.forParseResult=Ia(q.exp))}(q.type!==7||q.name!==`pre`)&&Da.props.push(q)}Oa=``,ka=Aa=-1},oncomment(e,t){K.comments&&Za({type:3,content:La(e,t),loc:Qa(e-4,t+3)})},onend(){let e=Ea.length;if(Y.state!==1)switch(Y.state){case 5:case 8:ro(5,e);break;case 3:case 4:ro(25,Y.sectionStart);break;case 28:Y.currentSequence===ni.CdataEnd?ro(6,e):ro(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:ro(9,e);break}for(let t=0;t<J.length;t++)Ba(J[t],e-1),ro(24,J[t].loc.start.offset)},oncdata(e,t){(J[0]?J[0].ns:K.ns)===0?ro(1,e-9):za(La(e,t),e,t)},onprocessinginstruction(e){(J[0]?J[0].ns:K.ns)===0&&ro(21,e-1)}}),Pa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fa=/^\(|\)$/g;function Ia(e){let t=e.loc,n=e.content,r=n.match(ba);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return no(e,!1,Qa(i,i+e.length),0,+!!r)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(Fa,``).trim(),l=i.indexOf(c),u=c.match(Pa);if(u){c=c.replace(Pa,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function La(e,t){return Ea.slice(e,t)}function Ra(e){Y.inSFCRoot&&(Da.innerLoc=Qa(e+1,e+1)),Za(Da);let{tag:t,ns:n}=Da;n===0&&K.isPreTag(t)&&ja++,K.isVoidTag(t)?Ba(Da,e):(J.unshift(Da),(n===1||n===2)&&(Y.inXML=!0)),Da=null}function za(e,t,n){let r=J[0]||Ta,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,eo(i.loc,n)):r.children.push({type:2,content:e,loc:Qa(t,n)})}function Ba(e,t,n=!1){n?eo(e.loc,Ha(t,60)):eo(e.loc,Va(t,62)+1),Y.inSFCRoot&&(e.children.length?e.innerLoc.end=oe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=oe({},e.innerLoc.start),e.innerLoc.source=La(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(Ma||(r===`slot`?e.tagType=2:Wa(e)?e.tagType=3:Ga(e)&&(e.tagType=1)),Y.inRCDATA||(e.children=Ja(a)),i===0&&K.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&K.isPreTag(r)&&ja--,Na===e&&(Ma=Y.inVPre=!1,Na=null),Y.inXML&&(J[0]?J[0].ns:K.ns)===0&&(Y.inXML=!1)}function Va(e,t){let n=e;for(;Ea.charCodeAt(n)!==t&&n<Ea.length-1;)n++;return n}function Ha(e,t){let n=e;for(;Ea.charCodeAt(n)!==t&&n>=0;)n--;return n}var Ua=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function Wa({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&Ua.has(t[e].name))return!0}return!1}function Ga({tag:e,props:t}){if(K.isCustomElement(e))return!1;if(e===`component`||Ka(e.charCodeAt(0))||Hi(e)||K.isBuiltInComponent&&K.isBuiltInComponent(e)||K.isNativeTag&&!K.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6&&n.name===`is`&&n.value&&n.value.content.startsWith(`vue:`))return!0}return!1}function Ka(e){return e>64&&e<91}var qa=/\r\n/g;function Ja(e){let t=K.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(ja)i.content=i.content.replace(qa,`
|
|
10
|
-
`);else if(xa(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&Ya(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=Xa(i.content))}return n?e.filter(Boolean):e}function Ya(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Xa(e){let t=``,n=!1;for(let r=0;r<e.length;r++)$r(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function Za(e){(J[0]||Ta).children.push(e)}function Qa(e,t){return{start:Y.getPos(e),end:t==null?t:Y.getPos(t),source:t==null?t:La(e,t)}}function $a(e){return Qa(e.start.offset,e.end.offset)}function eo(e,t){e.end=Y.getPos(t),e.source=La(e.start.offset,t)}function to(e){let t={type:6,name:e.rawName,nameLoc:Qa(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function no(e,t=!1,n,r=0,i=0){let a=B(e,t,n,r);if(!t&&K.prefixIdentifiers&&i!==3&&e.trim()){if(Wi(e))return a.ast=null,a;try{let t=K.expressionPlugins,n={plugins:t?[...t,`typescript`]:[`typescript`]};i===2?a.ast=yi.parse(` ${e} `,n).program:i===1?a.ast=yi.parseExpression(`(${e})=>{}`,n):a.ast=yi.parseExpression(`(${e})`,n)}catch(e){a.ast=!1,ro(46,n.start.offset,e.message)}}return a}function ro(e,t,n){K.onError(W(e,Qa(t,t),void 0,n))}function io(){Y.reset(),Da=null,q=null,Oa=``,ka=-1,Aa=-1,J.length=0}function ao(e,t){if(io(),Ea=e,K=oe({},wa),t){let e;for(e in t)t[e]!=null&&(K[e]=t[e])}K.decodeEntities&&console.warn(`[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds.`),Y.mode=K.parseMode===`html`?1:K.parseMode===`sfc`?2:0,Y.inXML=K.ns===1||K.ns===2;let n=t&&t.delimiters;n&&(Y.delimiterOpen=ti(n[0]),Y.delimiterClose=ti(n[1]));let r=Ta=tn([],e);return Y.parse(Ea),r.loc=Qa(0,e.length),r.children=Ja(r.children),Ta=null,r}function oo(e,t){co(e,void 0,t,!!so(e))}function so(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!fa(t[0])?t[0]:null}function co(e,t,n,r=!1,i=!1){let{children:a}=e,o=[];for(let t=0;t<a.length;t++){let s=a[t];if(s.type===1&&s.tagType===0){let e=r?0:lo(s,n);if(e>0){if(e>=2){s.codegenNode.patchFlag=-1,o.push(s);continue}}else{let e=s.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&po(s,n)>=2){let t=mo(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&=n.hoist(e.dynamicProps)}}}else if(s.type===12&&(r?0:lo(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1 /* ${ke[-1]} */`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,co(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)co(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)co(s.branches[t],e,n,s.branches[t].children.length===1,i)}let s=!1;if(o.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&F(e.codegenNode.children))e.codegenNode.children=c(rn(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!F(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=l(e.codegenNode,`default`);t&&(t.returns=c(rn(t.returns)),s=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!F(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=G(e,`slot`,!0),r=n&&n.arg&&l(t.codegenNode,n.arg);r&&(r.returns=c(rn(r.returns)),s=!0)}}if(!s)for(let e of o)e.codegenNode=n.cache(e.codegenNode);function c(e){let t=n.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!F(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}o.length&&n.transformHoist&&n.transformHoist(a,n,e)}function lo(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=po(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=lo(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=lo(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(ht),t.removeHelper(vn(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(_n(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return lo(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(I(r)||fe(r))continue;let i=lo(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}var uo=new Set([Nt,Pt,Ft,It]);function fo(e,t){if(e.type===14&&!I(e.callee)&&uo.has(e.callee)){let n=e.arguments[0];if(n.type===4)return lo(n,t);if(n.type===14)return fo(n,t)}return 0}function po(e,t){let n=3,r=mo(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=lo(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?lo(a,t):a.type===14?fo(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function mo(e){let t=e.codegenNode;if(t.type===13)return t.props}function ho(e,{filename:t=``,prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:s={},transformHoist:c=null,isBuiltInComponent:l=N,isCustomElement:u=N,expressionPlugins:d=[],scopeId:f=null,slotted:p=!0,ssr:m=!1,inSSR:h=!1,ssrCssVars:g=``,bindingMetadata:_=M,inline:v=!1,isTS:y=!1,onError:b=ui,onWarn:x=di,compatConfig:S}){let C=t.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),w={filename:t,selfName:C&&we(xe(C[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:a,nodeTransforms:o,directiveTransforms:s,transformHoist:c,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:p,ssr:m,inSSR:h,ssrCssVars:g,bindingMetadata:_,inline:v,isTS:y,onError:b,onWarn:x,compatConfig:S,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=w.helpers.get(e)||0;return w.helpers.set(e,t+1),e},removeHelper(e){let t=w.helpers.get(e);if(t){let n=t-1;n?w.helpers.set(e,n):w.helpers.delete(e)}},helperString(e){return`_${Yt[w.helper(e)]}`},replaceNode(e){if(!w.currentNode)throw Error(`Node being replaced is already removed.`);if(!w.parent)throw Error(`Cannot replace root node.`);w.parent.children[w.childIndex]=w.currentNode=e},removeNode(e){if(!w.parent)throw Error(`Cannot remove root node.`);let t=w.parent.children,n=e?t.indexOf(e):w.currentNode?w.childIndex:-1;if(n<0)throw Error(`node being removed is not a child of current parent`);!e||e===w.currentNode?(w.currentNode=null,w.onNodeRemoved()):w.childIndex>n&&(w.childIndex--,w.onNodeRemoved()),w.parent.children.splice(n,1)},onNodeRemoved:N,addIdentifiers(e){I(e)?T(e):e.identifiers?e.identifiers.forEach(T):e.type===4&&T(e.content)},removeIdentifiers(e){I(e)?E(e):e.identifiers?e.identifiers.forEach(E):e.type===4&&E(e.content)},hoist(e){I(e)&&(e=B(e)),w.hoists.push(e);let t=B(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=un(w.cached.length,e,t,n);return w.cached.push(r),r}};function T(e){let{identifiers:t}=w;t[e]===void 0&&(t[e]=0),t[e]++}function E(e){w.identifiers[e]--}return w}function go(e,t){let n=ho(e,t);yo(e,n),t.hoistStatic&&oo(e,n),t.ssr||_o(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0}function _o(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=so(e);if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&&yn(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let i=64;r.filter(e=>e.type!==3).length===1&&(i|=2048),e.codegenNode=nn(t,n(ut),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function vo(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];I(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,yo(i,t))}}function yo(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let a=n[i](e,t);if(a&&(F(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(bt);break;case 5:t.ssr||t.helper(jt);break;case 9:for(let n=0;n<e.branches.length;n++)yo(e.branches[n],t);break;case 10:case 11:case 1:case 0:vo(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function bo(e,t){let n=I(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(ua))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}var xo={},So={},Co={},wo={},To;function Eo(){if(To)return wo;To=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return wo.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},wo.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1},wo}var Do;function Oo(){if(Do)return Co;Do=1;var e=Eo(),t=5,n=1<<t,r=n-1,i=n;function a(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var t=(e&1)==1,n=e>>1;return t?-n:n}return Co.encode=function(n){var o=``,s,c=a(n);do s=c&r,c>>>=t,c>0&&(s|=i),o+=e.encode(s);while(c>0);return o},Co.decode=function(n,a,s){var c=n.length,l=0,u=0,d,f;do{if(a>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=e.decode(n.charCodeAt(a++)),f===-1)throw Error(`Invalid base64 digit: `+n.charAt(a-1));d=!!(f&i),f&=r,l+=f<<u,u+=t}while(d);s.value=o(l),s.rest=a},Co}var ko={},Ao;function jo(){return Ao?ko:(Ao=1,(function(e){function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;)if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}else for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++;for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function S(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=S;function C(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=C})(ko),ko)}var Mo={},No;function Po(){if(No)return Mo;No=1;var e=jo(),t=Object.prototype.hasOwnProperty,n=typeof Map<`u`;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,i){var a=n?r:e.toSetString(r),o=n?this.has(r):t.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(r),o||(n?this._set.set(r,s):this._set[a]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var i=e.toSetString(r);return t.call(this._set,i)},r.prototype.indexOf=function(r){if(n){var i=this._set.get(r);if(i>=0)return i}else{var a=e.toSetString(r);if(t.call(this._set,a))return this._set[a]}throw Error(`"`+r+`" is not in the set.`)},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},r.prototype.toArray=function(){return this._array.slice()},Mo.ArraySet=r,Mo}var Fo={},Io;function Lo(){if(Io)return Fo;Io=1;var e=jo();function t(t,n){var r=t.generatedLine,i=n.generatedLine,a=t.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||e.compareByGeneratedPositionsInflated(t,n)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||=(this._array.sort(e.compareByGeneratedPositionsInflated),!0),this._array},Fo.MappingList=n,Fo}var Ro;function zo(){if(Ro)return So;Ro=1;var e=Oo(),t=jo(),n=Po().ArraySet,r=Lo().MappingList;function i(e){e||={},this._file=t.getArg(e,`file`,null),this._sourceRoot=t.getArg(e,`sourceRoot`,null),this._skipValidation=t.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=t.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e,n){var r=e.sourceRoot,a=new i(Object.assign(n||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(n.source=e.source,r!=null&&(n.source=t.relative(r,n.source)),n.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(n.name=e.name)),a.addMapping(n)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=t.relative(r,n)),a._sources.has(i)||a._sources.add(i);var o=e.sourceContentFor(n);o!=null&&a.setSourceContent(n,o)}),a},i.prototype.addMapping=function(e){var n=t.getArg(e,`generated`),r=t.getArg(e,`original`,null),i=t.getArg(e,`source`,null),a=t.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(n,r,i,a)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},i.prototype.setSourceContent=function(e,n){var r=e;this._sourceRoot!=null&&(r=t.relative(this._sourceRoot,r)),n==null?this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[t.toSetString(r)]=n)},i.prototype.applySourceMap=function(e,r,i){var a=r;if(r==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=t.relative(o,a));var s=new n,c=new n;this._mappings.unsortedForEach(function(n){if(n.source===a&&n.originalLine!=null){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});r.source!=null&&(n.source=r.source,i!=null&&(n.source=t.join(i,n.source)),o!=null&&(n.source=t.relative(o,n.source)),n.originalLine=r.line,n.originalColumn=r.column,r.name!=null&&(n.name=r.name))}var l=n.source;l!=null&&!s.has(l)&&s.add(l);var u=n.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(n){var r=e.sourceContentFor(n);r!=null&&(i!=null&&(n=t.join(i,n)),o!=null&&(n=t.relative(o,n)),this.setSourceContent(n,r))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`;if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},i.prototype._serializeMappings=function(){for(var n=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(n=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!t.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=e.encode(u.generatedColumn-n),n=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=e.encode(f-s),s=f,l+=e.encode(u.originalLine-1-a),a=u.originalLine-1,l+=e.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=e.encode(d-o),o=d)),c+=l}return c},i.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;n!=null&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},So.SourceMapGenerator=i,So}var Bo={},Vo={},Ho;function Uo(){return Ho?Vo:(Ho=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})(Vo),Vo)}var Wo={},Go;function Ko(){if(Go)return Wo;Go=1;function e(e){function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l,!1)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}return r}function t(t){let n=e.toString();return Function(`return ${n}`)()(t)}let n=new WeakMap;return Wo.quickSort=function(e,r,i=0){let a=n.get(r);a===void 0&&(a=t(r),n.set(r,a)),a(e,r,i,e.length-1)},Wo}var qo;function Jo(){if(qo)return Bo;qo=1;var e=jo(),t=Uo(),n=Po().ArraySet,r=Oo(),i=Ko().quickSort;function a(t,n){var r=t;return typeof t==`string`&&(r=e.parseSourceMapInput(t)),r.sections==null?new o(r,n):new u(r,n)}a.fromSourceMap=function(e,t){return o.fromSourceMap(e,t)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},a.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(t,n,r){var i=n||null,o=r||a.GENERATED_ORDER,s;switch(o){case a.GENERATED_ORDER:s=this._generatedMappings;break;case a.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}for(var c=this.sourceRoot,l=t.bind(i),u=this._names,d=this._sources,f=this._sourceMapURL,p=0,m=s.length;p<m;p++){var h=s[p],g=h.source===null?null:d.at(h.source);g!==null&&(g=e.computeSourceURL(c,g,f)),l({source:g,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:u.at(h.name)})}},a.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,`line`),i={source:e.getArg(n,`source`),originalLine:r,originalColumn:e.getArg(n,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(n.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},Bo.SourceMapConsumer=a;function o(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var a=e.getArg(i,`version`),o=e.getArg(i,`sources`),s=e.getArg(i,`names`,[]),c=e.getArg(i,`sourceRoot`,null),l=e.getArg(i,`sourcesContent`,null),u=e.getArg(i,`mappings`),d=e.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=e.normalize(c),o=o.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=r,this.file=d}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(t){var n=t;if(this.sourceRoot!=null&&(n=e.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1},o.fromSourceMap=function(t,r){var a=Object.create(o.prototype),c=a._names=n.fromArray(t._names.toArray(),!0),l=a._sources=n.fromArray(t._sources.toArray(),!0);a.sourceRoot=t._sourceRoot,a.sourcesContent=t._generateSourcesContent(a._sources.toArray(),a.sourceRoot),a.file=t._file,a._sourceMapURL=r,a._absoluteSources=a._sources.toArray().map(function(t){return e.computeSourceURL(a.sourceRoot,t,r)});for(var u=t._mappings.toArray().slice(),d=a.__generatedMappings=[],f=a.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new s;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=c.indexOf(h.name)),f.push(g)),d.push(g)}return i(a.__originalMappings,e.compareByOriginalPositions),a},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let c=e.compareByGeneratedPositionsDeflatedNoLine;function l(e,t){let n=e.length,r=e.length-t;if(!(r<=1))if(r==2){let n=e[t],r=e[t+1];c(n,r)>0&&(e[t]=r,e[t+1]=n)}else if(r<20)for(let r=t;r<n;r++)for(let n=r;n>t;n--){let t=e[n-1],r=e[n];if(c(t,r)<=0)break;e[n-1]=r,e[n]=t}else i(e,c,t)}o.prototype._parseMappings=function(t,n){var a=1,o=0,c=0,u=0,d=0,f=0,p=t.length,m=0,h={},g=[],_=[],v,y,b,x;let S=0;for(;m<p;)if(t.charAt(m)===`;`)a++,m++,o=0,l(_,S),S=_.length;else if(t.charAt(m)===`,`)m++;else{for(v=new s,v.generatedLine=a,b=m;b<p&&!this._charIsMappingSeparator(t,b);b++);for(t.slice(m,b),y=[];m<b;)r.decode(t,m,h),x=h.value,m=h.rest,y.push(x);if(y.length===2)throw Error(`Found a source, but no line and column`);if(y.length===3)throw Error(`Found a source and line, but no column`);if(v.generatedColumn=o+y[0],o=v.generatedColumn,y.length>1&&(v.source=d+y[1],d+=y[1],v.originalLine=c+y[2],c=v.originalLine,v.originalLine+=1,v.originalColumn=u+y[3],u=v.originalColumn,y.length>4&&(v.name=f+y[4],f+=y[4])),_.push(v),typeof v.originalLine==`number`){let e=v.source;for(;g.length<=e;)g.push(null);g[e]===null&&(g[e]=[]),g[e].push(v)}}l(_,S),this.__generatedMappings=_;for(var C=0;C<g.length;C++)g[C]!=null&&i(g[C],e.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)},o.prototype._findMapping=function(e,n,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return t.search(e,n,a,o)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,`line`),generatedColumn:e.getArg(t,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,e.compareByGeneratedPositionsDeflated,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var o=e.getArg(i,`source`,null);o!==null&&(o=this._sources.at(o),o=e.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=e.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:o,line:e.getArg(i,`originalLine`,null),column:e.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},o.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i=t;this.sourceRoot!=null&&(i=e.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},o.prototype.generatedPositionFor=function(t){var n=e.getArg(t,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,`line`),originalColumn:e.getArg(t,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:e.getArg(o,`generatedLine`,null),column:e.getArg(o,`generatedColumn`,null),lastColumn:e.getArg(o,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},Bo.BasicSourceMapConsumer=o;function u(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var o=e.getArg(i,`version`),s=e.getArg(i,`sections`);if(o!=this._version)throw Error(`Unsupported version: `+o);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw Error(`Support for url field in sections not implemented.`);var n=e.getArg(t,`offset`),i=e.getArg(n,`line`),o=e.getArg(n,`column`);if(i<c.line||i===c.line&&o<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new a(e.getArg(t,`map`),r)}})}return u.prototype=Object.create(a.prototype),u.prototype.constructor=a,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),u.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,`line`),generatedColumn:e.getArg(n,`column`)},i=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r||r===``)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},u.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(e.getArg(t,`source`))!==-1){var i=r.consumer.generatedPositionFor(t);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},u.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var a=this._sections[r],o=a.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=a.consumer._sources.at(c.source);l!==null&&(l=e.computeSourceURL(a.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=a.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(a.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(a.generatedOffset.generatedLine===c.generatedLine?a.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},Bo.IndexedSourceMapConsumer=u,Bo}var Yo={},Xo;function Zo(){if(Xo)return Yo;Xo=1;var e=zo().SourceMapGenerator,t=jo(),n=/(\r?\n)/,r=10,i=`$$$isSourceNode$$$`;function a(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=a??null,this[i]=!0,r!=null&&this.add(r)}return a.fromStringWithSourceMap=function(e,r,i){var o=new a,s=e.split(n),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return r.eachMapping(function(e){if(f!==null)if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}for(;u<e.generatedLine;)o.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;o.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),o.add(s.splice(c).join(``))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);n!=null&&(i!=null&&(e=t.join(i,e)),o.setSourceContent(e,n))}),o;function p(e,n){if(e===null||e.source===void 0)o.add(n);else{var r=i?t.join(i,e.source):e.source;o.add(new a(e.originalLine,e.originalColumn,r,n,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[i]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[i]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[i]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},a.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},a.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},a.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;n<r;n++)this.children[n][i]&&this.children[n].walkSourceContents(e);for(var a=Object.keys(this.sourceContents),n=0,r=a.length;n<r;n++)e(t.fromSetString(a[n]),this.sourceContents[a[n]])},a.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},a.prototype.toStringWithSourceMap=function(t){var n={code:``,line:1,column:0},i=new e(t),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(i.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===r?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){i.setSourceContent(e,t)}),{code:n.code,map:i}},Yo.SourceNode=a,Yo}var Qo;function $o(){return Qo?xo:(Qo=1,xo.SourceMapGenerator=zo().SourceMapGenerator,xo.SourceMapConsumer=Jo().SourceMapConsumer,xo.SourceNode=Zo().SourceNode,xo)}var es=$o(),ts=`/*@__PURE__*/`,ns=e=>`${Yt[e]}: _${Yt[e]}`;function rs(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:s=`Vue`,runtimeModuleName:c=`vue`,ssrRuntimeModuleName:l=`vue/server-renderer`,ssr:u=!1,isTS:d=!1,inSSR:f=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:f,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${Yt[e]}`},push(e,t=-2,n){if(p.code+=e,p.map){if(n){let e;if(n.type===4&&!n.isStatic){let t=n.content.replace(/^_ctx\./,``);t!==n.content&&Wi(t)&&(e=t)}n.loc.source&&h(n.loc.start,e)}t===-3?ra(p,e):(p.offset+=e.length,t===-2?p.column+=e.length:(t===-1&&(t=e.length-1),p.line++,p.column=e.length-t)),n&&n.loc!==R&&n.loc.source&&h(n.loc.end)}},indent(){m(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:m(--p.indentLevel)},newline(){m(p.indentLevel)}};function m(e){p.push(`
|
|
11
|
-
`+` `.repeat(e),0)}function h(e,t=null){let{_names:n,_mappings:r}=p.map;t!==null&&!n.has(t)&&n.add(t),r.add({originalLine:e.line,originalColumn:e.column-1,generatedLine:p.line,generatedColumn:p.column-1,source:i,name:t})}return r&&(p.map=new es.SourceMapGenerator,p.map.setSourceContent(i,p.source),p.map._sources.add(i)),p}function is(e,t={}){let n=rs(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`,m=l!=null&&r===`module`,h=!!t.inline,g=h?rs(e,t):n;r===`module`?os(e,g,m,h):as(e,g);let _=u?`ssrRender`:`render`,v=u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`];t.bindingMetadata&&!t.inline&&v.push(`$props`,`$setup`,`$data`,`$options`);let y=t.isTS?v.map(e=>`${e}: any`).join(`,`):v.join(`, `);if(i(h?`(${y}) => {`:`function ${_}(${y}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(ns).join(`, `)} } = _Vue
|
|
12
|
-
`,-1),c())),e.components.length&&(ss(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(ss(e.directives,`directive`,n),e.temps>0&&c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
13
|
-
`,0),c()),u||i(`return `),e.codegenNode?X(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:h?g.code:``,map:n.map?n.map.toJSON():void 0}}function as(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=n?`require(${JSON.stringify(o)})`:s,u=Array.from(e.helpers);u.length>0&&(r?i(`const { ${u.map(ns).join(`, `)} } = ${l}
|
|
14
|
-
`,-1):(i(`const _Vue = ${l}
|
|
15
|
-
`,-1),e.hoists.length&&i(`const { ${[vt,yt,bt,xt,St].filter(e=>u.includes(e)).map(ns).join(`, `)} } = _Vue
|
|
16
|
-
`,-1))),e.ssrHelpers&&e.ssrHelpers.length&&i(`const { ${e.ssrHelpers.map(ns).join(`, `)} } = require("${c}")
|
|
17
|
-
`,-1),cs(e.hoists,t),a(),i(`return `)}function os(e,t,n,r){let{push:i,newline:a,optimizeImports:o,runtimeModuleName:s,ssrRuntimeModuleName:c}=t;if(e.helpers.size){let t=Array.from(e.helpers);o?(i(`import { ${t.map(e=>Yt[e]).join(`, `)} } from ${JSON.stringify(s)}
|
|
18
|
-
`,-1),i(`
|
|
19
|
-
// Binding optimization for webpack code-split
|
|
20
|
-
const ${t.map(e=>`_${Yt[e]} = ${Yt[e]}`).join(`, `)}
|
|
21
|
-
`,-1)):i(`import { ${t.map(e=>`${Yt[e]} as _${Yt[e]}`).join(`, `)} } from ${JSON.stringify(s)}
|
|
22
|
-
`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`import { ${e.ssrHelpers.map(e=>`${Yt[e]} as _${Yt[e]}`).join(`, `)} } from "${c}"
|
|
23
|
-
`,-1),e.imports.length&&(ls(e.imports,t),a()),cs(e.hoists,t),a(),r||i(`export `)}function ss(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`component`?Ct:Tt);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${_a(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function cs(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),X(a,t),r())}t.pure=!1}function ls(e,t){e.length&&e.forEach(e=>{t.push(`import `),X(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}function us(e){return I(e)||e.type===4||e.type===2||e.type===5||e.type===8}function ds(e,t){let n=e.length>3||e.some(e=>F(e)||!us(e));t.push(`[`),n&&t.indent(),fs(e,t,n),n&&t.deindent(),t.push(`]`)}function fs(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];I(s)?i(s,-3):F(s)?ds(s,t):X(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function X(e,t){if(I(e)){t.push(e,-3);return}if(fe(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:ia(e.codegenNode!=null,`Codegen node is missing for element/if/for node. Apply appropriate transforms first.`),X(e.codegenNode,t);break;case 2:ps(e,t);break;case 4:ms(e,t);break;case 5:hs(e,t);break;case 12:X(e.codegenNode,t);break;case 8:gs(e,t);break;case 3:vs(e,t);break;case 13:ys(e,t);break;case 14:xs(e,t);break;case 15:Ss(e,t);break;case 17:Cs(e,t);break;case 18:ws(e,t);break;case 19:Ts(e,t);break;case 20:Es(e,t);break;case 21:fs(e.body,t,!0,!1);break;case 22:Ds(e,t);break;case 23:Os(e,t);break;case 24:ks(e,t);break;case 25:As(e,t);break;case 26:js(e,t);break;case 10:break;default:return ia(!1,`unhandled codegen node type: ${e.type}`),e}}function ps(e,t){t.push(JSON.stringify(e.content),-3,e)}function ms(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function hs(e,t){let{push:n,helper:r,pure:i}=t;i&&n(ts),n(`${r(jt)}(`),X(e.content,t),n(`)`)}function gs(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];I(r)?t.push(r,-3):X(r,t)}}function _s(e,t){let{push:n}=t;e.type===8?(n(`[`),gs(e,t),n(`]`)):e.isStatic?n(Wi(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function vs(e,t){let{push:n,helper:r,pure:i}=t;i&&n(ts),n(`${r(bt)}(${JSON.stringify(e.content)})`,-3,e)}function ys(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=c<0?c+` /* ${ke[c]} */`:c+` /* ${Object.keys(ke).map(Number).filter(e=>e>0&&c&e).map(e=>ke[e]).join(`, `)} */`),u&&n(r(Dt)+`(`),d&&n(`(${r(ht)}(${f?`true`:``}), `),i&&n(ts),n(r(d?vn(t.inSSR,p):_n(t.inSSR,p))+`(`,-2,e),fs(bs([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),X(u,t),n(`)`))}function bs(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function xs(e,t){let{push:n,helper:r,pure:i}=t,a=I(e.callee)?e.callee:r(e.callee);i&&n(ts),n(a+`(`,-2,e),fs(e.arguments,t),n(`)`)}function Ss(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||o.some(e=>e.value.type!==4);n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];_s(r,t),n(`: `),X(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Cs(e,t){ds(e.elements,t)}function ws(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${Yt[Wt]}(`),n(`(`,-2,e),F(a)?fs(a,t):a&&X(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),F(o)?ds(o,t):X(o,t)):s&&X(s,t),(c||s)&&(i(),n(`}`)),l&&n(`)`)}function Ts(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Wi(n.content);e&&o(`(`),ms(n,t),e&&o(`)`)}else o(`(`),X(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),X(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,X(i,t),u||t.indentLevel--,a&&c(!0)}function Es(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(Vt)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),X(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(Vt)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function Ds(e,t){let{push:n,indent:r,deindent:i}=t;n("`");let a=e.elements.length,o=a>3;for(let s=0;s<a;s++){let a=e.elements[s];I(a)?n(a.replace(/(`|\$|\\)/g,`\\$1`),-3):(n("${"),o&&r(),X(a,t),o&&i(),n(`}`))}n("`")}function Os(e,t){let{push:n,indent:r,deindent:i}=t,{test:a,consequent:o,alternate:s}=e;n(`if (`),X(a,t),n(`) {`),r(),X(o,t),i(),n(`}`),s&&(n(` else `),s.type===23?Os(s,t):(n(`{`),r(),X(s,t),i(),n(`}`)))}function ks(e,t){X(e.left,t),t.push(` = `),X(e.right,t)}function As(e,t){t.push(`(`),fs(e.expressions,t),t.push(`)`)}function js({returns:e},t){t.push(`return `),F(e)?ds(e,t):X(e,t)}var Ms=j(`true,false,null,this`),Ns=(e,t)=>{if(e.type===5)e.content=Ps(e.content,t);else if(e.type===1){let n=G(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let r=i.exp,a=i.arg;r&&r.type===4&&!(i.name===`on`&&a)&&!(n&&t.vForMemoKeyedNodes.has(e)&&a&&a.type===4&&a.content===`key`)&&(i.exp=Ps(r,t,i.name===`slot`)),a&&a.type===4&&!a.isStatic&&(i.arg=Ps(a,t))}}}};function Ps(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;let{inline:a,bindingMetadata:o}=t,s=(e,n,r)=>{let s=ce(o,e)&&o[e];if(a){let a=n&&n.type===`AssignmentExpression`&&n.left===r,l=n&&n.type===`UpdateExpression`&&n.argument===r,u=n&&Ti(n,d),p=n&&Ei(d),m=e=>{let n=`${t.helperString(Gt)}(${e})`;return p?`(${n})`:n};if(Ls(s)||s===`setup-reactive-const`||i[e])return e;if(s===`setup-ref`)return`${e}.value`;if(s===`setup-maybe-ref`)return a||l||u?`${e}.value`:m(e);if(s===`setup-let`)if(a){let{right:r,operator:i}=n,a=Is(Ps(B(c.slice(r.start-1,r.end-1),!1),t,!1,!1,f));return`${t.helperString(Kt)}(${e})${t.isTS?` //@ts-ignore
|
|
24
|
-
`:``} ? ${e}.value ${i} ${a} : ${e}`}else if(l){r.start=n.start,r.end=n.end;let{prefix:i,operator:a}=n,o=i?a:``,s=i?``:a;return`${t.helperString(Kt)}(${e})${t.isTS?` //@ts-ignore
|
|
25
|
-
`:``} ? ${o}${e}.value${s} : ${o}${e}${s}`}else if(u)return e;else return m(e);else if(s===`props`)return De(e);else if(s===`props-aliased`)return De(o.__propsAliases[e])}else if(s&&s.startsWith(`setup`)||s===`literal-const`)return`$setup.${e}`;else if(s===`props-aliased`)return`$props['${o.__propsAliases[e]}']`;else if(s)return`$${s}.${e}`;return`_ctx.${e}`},c=e.content,l=e.ast;if(l===!1)return e;if(l===null||!l&&Wi(c)){let r=t.identifiers[c],i=je(c),a=Ms(c);return!n&&!r&&!a&&(!i||o[c])?(Ls(o[c])&&(e.constType=1),e.content=s(c)):r||(a?e.constType=3:e.constType=2),e}if(!l){let i=r?` ${c} `:`(${c})${n?`=>{}`:``}`;try{l=yi.parseExpression(i,{sourceType:`module`,plugins:t.expressionPlugins})}catch(n){return t.onError(W(46,e.loc,void 0,n.message)),e}}let u=[],d=[],f=Object.create(t.identifiers);Ci(l,(e,t,n,r,i)=>{if(Li(e,t))return;let a=r&&Fs(e);a&&!i?(Ii(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=s(e.name,t,e),u.push(e)):(!(a&&i)&&(!t||t.type!==`CallExpression`&&t.type!==`NewExpression`&&t.type!==`MemberExpression`)&&(e.isConstant=!0),u.push(e))},!0,d,f);let p=[];u.sort((e,t)=>e.start-t.start),u.forEach((t,n)=>{let r=t.start-1,i=t.end-1,a=u[n-1],o=c.slice(a?a.end-1:0,r);(o.length||t.prefix)&&p.push(o+(t.prefix||``));let s=c.slice(r,i);p.push(B(t.name,!1,{start:na(e.loc.start,s,r),end:na(e.loc.start,s,i),source:s},t.isConstant?3:0)),n===u.length-1&&i<c.length&&p.push(c.slice(i))});let m;return p.length?(m=sn(p,e.loc),m.ast=l):(m=e,m.constType=3),m.identifiers=Object.keys(f),m}function Fs(e){return!(je(e.name)||e.name===`require`)}function Is(e){return I(e)?e:e.type===4?e.content:e.children.map(Is).join(``)}function Ls(e){return e===`setup-const`||e===`literal-const`}var Rs=bo(/^(?:if|else|else-if)$/,(e,t,n)=>zs(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=Vs(t,o,n);else{let r=Ws(e.codegenNode);r.alternate=Vs(t,o+e.branches.length-1,n)}}}));function zs(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(W(28,t.loc)),t.exp=B(`true`,!1,r)}if(n.prefixIdentifiers&&t.exp&&(t.exp=Ps(t.exp,n)),t.name===`if`){let i=Bs(e,t),a={type:9,loc:$a(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=[],o=i.indexOf(e);for(;o-->=-1;){let s=i[o];if(s&&Ca(s)){n.removeNode(s),s.type===3&&a.unshift(s);continue}if(s&&s.type===9){(t.name===`else-if`||t.name===`else`)&&s.branches[s.branches.length-1].condition===void 0&&n.onError(W(30,e.loc)),n.removeNode();let i=Bs(e,t);a.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag===`transition`||n.parent.tag===`Transition`))&&(i.children=[...a,...i.children]);{let e=i.userKey;e&&s.branches.forEach(({userKey:t})=>{Us(t,e)&&n.onError(W(29,i.userKey.loc))})}s.branches.push(i);let o=r&&r(s,i,!1);yo(i,n),o&&o(),n.currentNode=null}else n.onError(W(30,e.loc));break}}}function Bs(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!G(e,`for`)?e.children:[e],userKey:aa(e,`key`),isTemplateIf:n}}function Vs(e,t,n){return e.condition?ln(e.condition,Hs(e,t,n),V(n.helper(bt),[`"v-if"`,`true`])):Hs(e,t,n)}function Hs(e,t,n){let{helper:r}=n,i=z(`key`,B(`${t}`,!1,R,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return ha(e,i,n),e}else{let t=64;return!e.isTemplateIf&&a.filter(e=>e.type!==3).length===1&&(t|=2048),nn(n,r(ut),an([i]),a,t,void 0,void 0,!0,!1,!1,e.loc)}else{let e=o.codegenNode,t=ya(e);return t.type===13&&yn(t,n),ha(t,i,n),e}}function Us(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{let n=e.exp,r=t.exp;if(n.type!==r.type||n.type!==4||n.isStatic!==r.isStatic||n.content!==r.content)return!1}return!0}function Ws(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}var Gs=bo(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return Ks(e,t,n,t=>{let a=V(r(Ot),[t.source]),o=da(e),s=G(e,`memo`),c=aa(e,`key`,!1,!0),l=c&&c.type===7,u=c&&(c.type===6?c.value?B(c.value.content,!0):void 0:c.exp),d=u?z(`key`,u):null;o&&s&&(s.exp=Ps(s.exp,n)),(o||s)&&d&&l&&(u=c.exp=d.value=Ps(d.value,n),s&&n.vForMemoKeyedNodes.add(e));let f=t.source.type===4&&t.source.constType>0,p=f?64:c?128:256;return t.codegenNode=nn(n,r(ut),void 0,a,p,void 0,void 0,!0,!f,!1,e.loc),()=>{let c,{children:l}=t;o&&e.children.some(e=>{if(e.type===1){let t=aa(e,`key`);if(t)return n.onError(W(33,t.loc)),!0}});let p=l.length!==1||l[0].type!==1,m=fa(e)?e:o&&e.children.length===1&&fa(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&d&&ha(c,d,n)):p?c=nn(n,r(ut),d?an([d]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=l[0].codegenNode,o&&d&&ha(c,d,n),c.isBlock!==!f&&(c.isBlock?(i(ht),i(vn(n.inSSR,c.isComponent))):i(_n(n.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(ht),r(vn(n.inSSR,c.isComponent))):r(_n(n.inSSR,c.isComponent))),s){let e=cn(Js(t.parseResult,[B(`_cached`)]));e.body=dn([sn([`const _memo = (`,s.exp,`)`]),sn([`if (_cached && _cached.el`,...u?[` && _cached.key === `,u]:[],` && ${n.helperString(Jt)}(_cached, _memo)) return _cached`]),sn([`const _item = `,c]),B(`_item.memo = _memo`),B(`return _item`)]),a.arguments.push(e,B(`_cache`),B(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(cn(Js(t.parseResult),c,!0))}})});function Ks(e,t,n,r){if(!t.exp){n.onError(W(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(W(32,t.loc));return}qs(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:da(e)?e.children:[e]};n.replaceNode(f),s.vFor++,n.prefixIdentifiers&&(l&&a(l),u&&a(u),d&&a(d));let p=r&&r(f);return()=>{s.vFor--,n.prefixIdentifiers&&(l&&o(l),u&&o(u),d&&o(d)),p&&p()}}function qs(e,t){e.finalized||=(t.prefixIdentifiers&&(e.source=Ps(e.source,t),e.key&&=Ps(e.key,t,!0),e.index&&=Ps(e.index,t,!0),e.value&&=Ps(e.value,t,!0)),!0)}function Js({value:e,key:t,index:n},r=[]){return Ys([e,t,n,...r])}function Ys(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||B(`_`.repeat(t+1),!1))}var Xs=B(`undefined`,!1),Zs=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=G(e,`slot`);if(n){let e=n.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},Qs=(e,t)=>{let n;if(da(e)&&e.props.some(ua)&&(n=G(e,`for`))){let e=n.forParseResult;if(e){qs(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},$s=(e,t,n,r)=>cn(e,n,!1,!0,n.length?n[0].loc:r);function ec(e,t,n=$s){t.helper(Wt);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(s=e.props.some(e=>ua(e)&&(va(e.arg,t.identifiers)||va(e.exp,t.identifiers)))||r.some(e=>va(e,t.identifiers)));let c=G(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!Vi(e)&&(s=!0),a.push(z(e||B(`default`,!0),n(t,void 0,r,i)))}let l=!1,u=!1,d=[],f=new Set,p=0;for(let e=0;e<r.length;e++){let i=r[e],m;if(!da(i)||!(m=G(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(W(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=B(`default`,!0),exp:v,loc:y}=m,b;Vi(_)?b=_?_.content:`default`:s=!0;let x=G(i,`for`),S=n(v,x,h,g),C,w;if(C=G(i,`if`))s=!0,o.push(ln(C.exp,tc(_,S,p++),Xs));else if(w=G(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],Ca(i)););if(i&&da(i)&&G(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?ln(w.exp,tc(_,S,p++),Xs):tc(_,S,p++)}else t.onError(W(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(qs(e,t),o.push(V(t.helper(Ot),[e.source,cn(Js(e),tc(_,S),!0)]))):t.onError(W(32,x.loc))}else{if(b){if(f.has(b)){t.onError(W(38,y));continue}f.add(b),b==="default"&&(u=!0)}a.push(z(_,S))}}if(!c){let e=(e,t)=>z(`default`,n(e,void 0,t,i));l?d.length&&!d.every(Sa)&&(u?t.onError(W(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:nc(e.children)?3:1,h=an(a.concat(z(`_`,B(m+` /* ${Ae[m]} */`,!1))),i);return o.length&&(h=V(t.helper(At),[h,rn(o)])),{slots:h,hasDynamicSlots:s}}function tc(e,t,n){let r=[z(`name`,e),z(`fn`,t)];return n!=null&&r.push(z(`key`,B(String(n),!0))),an(r)}function nc(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||nc(n.children))return!0;break;case 9:if(nc(n.branches))return!0;break;case 10:case 11:if(nc(n.children))return!0;break}}return!1}var rc=new WeakMap,ic=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?ac(e,t):`"${n}"`,o=pe(a)&&a.callee===wt,s,c,l=0,u,d,f,p=o||a===dt||a===ft||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=sc(e,t,void 0,i,o);s=n.props,l=n.patchFlag,d=n.dynamicPropNames;let r=n.directives;f=r&&r.length?rn(r.map(e=>uc(e,t))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(a===pt&&(p=!0,l|=1024,e.children.length>1&&t.onError(W(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}))),i&&a!==dt&&a!==pt){let{slots:n,hasDynamicSlots:r}=ec(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==dt){let n=e.children[0],r=n.type,i=r===5||r===8;i&&lo(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;d&&d.length&&(u=dc(d)),e.codegenNode=nn(t,a,s,c,l===0?void 0:l,u,f,!!p,!1,i,e.loc)};function ac(e,t,n=!1){let{tag:r}=e,i=fc(r),a=aa(e,`is`,!1,!0);if(a)if(i){let e;if(a.type===6?e=a.value&&B(a.value.content,!0):(e=a.exp,e||=(e=B(`is`,!1,a.arg.loc),a.exp=Ps(e,t))),e)return V(t.helper(wt),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=Hi(r)||t.isBuiltInComponent(r);if(o)return n||t.helper(o),o;{let e=oc(r,t);if(e)return e;let n=r.indexOf(`.`);if(n>0){let e=oc(r.slice(0,n),t);if(e)return e+r.slice(n)}}return t.selfName&&we(xe(r))===t.selfName?(t.helper(Ct),t.components.add(r+`__self`),_a(r,`component`)):(t.helper(Ct),t.components.add(r),_a(r,`component`))}function oc(e,t){let n=t.bindingMetadata;if(!n||n.__isScriptSetup===!1)return;let r=xe(e),i=we(r),a=t=>{if(n[e]===t)return e;if(n[r]===t)return r;if(n[i]===t)return i},o=a(`setup-const`)||a(`setup-reactive-const`)||a(`literal-const`);if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;let s=a(`setup-let`)||a(`setup-ref`)||a(`setup-maybe-ref`);if(s)return t.inline?`${t.helperString(Gt)}(${s})`:`$setup[${JSON.stringify(s)}]`;let c=a(`props`);if(c)return`${t.helperString(Gt)}(${t.inline?`__props`:`$props`}[${JSON.stringify(c)}])`}function sc(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:s,children:c}=e,l=[],u=[],d=[],f=c.length>0,p=!1,m=0,h=!1,g=!1,_=!1,v=!1,y=!1,b=!1,x=[],S=e=>{l.length&&(u.push(an(cc(l),s)),l=[]),e&&u.push(e)},C=()=>{t.scopes.vFor>0&&l.push(z(B(`ref_for`,!0),B(`true`)))},w=({key:e,value:n})=>{if(Vi(e)){let a=e.content,o=P(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!_e(a)&&(v=!0),o&&_e(a)&&(b=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&lo(n,t)>0)return;a===`ref`?h=!0:a===`class`?g=!0:a===`style`?_=!0:a!==`key`&&!x.includes(a)&&x.push(a),r&&(a===`class`||a===`style`)&&!x.includes(a)&&x.push(a)}else y=!0};for(let i=0;i<n.length;i++){let c=n[i];if(c.type===6){let{loc:e,name:n,nameLoc:r,value:i}=c,a=!0;if(n===`ref`&&(h=!0,C(),i&&t.inline)){let e=t.bindingMetadata[i.content];(e===`setup-let`||e===`setup-ref`||e===`setup-maybe-ref`)&&(a=!1,l.push(z(B(`ref_key`,!0),B(i.content,!0,i.loc))))}if(n===`is`&&(fc(o)||i&&i.content.startsWith(`vue:`)))continue;l.push(z(B(n,!0,r),B(i?i.content:``,a,i?i.loc:e)))}else{let{name:n,arg:i,exp:h,loc:g,modifiers:_}=c,v=n===`bind`,b=n===`on`;if(n===`slot`){r||t.onError(W(40,g));continue}if(n===`once`||n===`memo`||n===`is`||v&&oa(i,`is`)&&fc(o)||b&&a)continue;if((v&&oa(i,`key`)||b&&f&&oa(i,`vue:before-update`))&&(p=!0),v&&oa(i,`ref`)&&C(),!i&&(v||b)){y=!0,h?v?(C(),S(),u.push(h)):S({type:14,loc:g,callee:t.helper(Lt),arguments:r?[h]:[h,`true`]}):t.onError(W(v?34:35,g));continue}v&&_.some(e=>e.content===`prop`)&&(m|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(c,e,t);!a&&n.forEach(w),b&&i&&!Vi(i)?S(an(n,s)):l.push(...n),r&&(d.push(c),fe(r)&&rc.set(c,r))}else ve(n)||(d.push(c),f&&(p=!0))}}let T;if(u.length?(S(),T=u.length>1?V(t.helper(Mt),u,s):u[0]):l.length&&(T=an(cc(l),s)),y?m|=16:(g&&!r&&(m|=2),_&&!r&&(m|=4),x.length&&(m|=8),v&&(m|=32)),!p&&(m===0||m===32)&&(h||b||d.length>0)&&(m|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<T.properties.length;t++){let i=T.properties[t].key;Vi(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=T.properties[e],a=T.properties[n];r?T=V(t.helper(Ft),[T]):(i&&!Vi(i.value)&&(i.value=V(t.helper(Nt),[i.value])),a&&(_||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=V(t.helper(Pt),[a.value])));break;case 14:break;default:T=V(t.helper(Ft),[V(t.helper(It),[T])]);break}return{props:T,directives:d,patchFlag:m,dynamicPropNames:x,shouldUseBlock:p}}function cc(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let a=i.key.content,o=t.get(a);o?(a===`style`||a===`class`||P(a))&&lc(o,i):(t.set(a,i),n.push(i))}return n}function lc(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=rn([e.value,t.value],e.loc)}function uc(e,t){let n=[],r=rc.get(e);if(r)n.push(t.helperString(r));else{let r=oc(`v-`+e.name,t);r?n.push(r):(t.helper(Tt),t.directives.add(e.name),n.push(_a(e.name,`directive`)))}let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=B(`true`,!1,i);n.push(an(e.modifiers.map(e=>z(e,t)),i))}return rn(n,e.loc)}function dc(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function fc(e){return e===`component`||e===`Component`}var pc=(e,t)=>{if(fa(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=mc(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=cn([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=V(t.helper(kt),o,r)}};function mc(e,t){let n=`"default"`,r,i=[];for(let r=0;r<e.props.length;r++){let a=e.props[r];a.type===6?a.value&&(a.name===`name`?n=JSON.stringify(a.value.content):(a.name=xe(a.name),i.push(a))):a.name===`bind`&&oa(a.arg,`name`)?a.exp?n=a.exp:a.arg&&a.arg.type===4&&(n=a.exp=B(xe(a.arg.content),!1,a.arg.loc),n=a.exp=Ps(a.exp,t)):(a.name===`bind`&&a.arg&&Vi(a.arg)&&(a.arg.content=xe(a.arg.content)),i.push(a))}if(i.length>0){let{props:n,directives:a}=sc(e,t,i,!1,!1);r=n,a.length&&t.onError(W(36,a[0].loc))}return{slotName:n,slotProps:r}}var hc=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(W(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vnode`)&&n.onError(W(52,o.loc)),e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=B(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?Te(xe(e)):`on:${e}`,!0,o.loc)}else s=sn([`${n.helperString(Bt)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString(Bt)}(`),s.children.push(`)`);let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){let r=Zi(c,n),i=!(r||ta(c,n)),a=c.content.includes(`;`);n.prefixIdentifiers&&(i&&n.addIdentifiers(`$event`),c=e.exp=Ps(c,n,!1,a),i&&n.removeIdentifiers(`$event`),l=n.cacheHandlers&&!n.inVOnce&&!(c.type===4&&c.constType>0)&&!(r&&t.tagType===1)&&!va(c,n.identifiers),l&&r&&(c.type===4?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children,` && `,...c.children,`(...args)`])),(i||l&&r)&&(c=sn([`${i?n.isTS?`($event: any)`:`$event`:`${n.isTS?`
|
|
26
|
-
//@ts-ignore
|
|
27
|
-
`:``}(...args)`} => ${a?`{`:`(`}`,c,a?`}`:`)`]))}let u={props:[z(s,c||B(`() => {}`,!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},gc=(e,t,n)=>{let{modifiers:r,loc:i}=e,a=e.arg,{exp:o}=e;return o&&o.type===4&&!o.content.trim()?(n.onError(W(34,i)),{props:[z(a,B(``,!0,i))]}):(a.type===4?a.isStatic||(a.content=a.content?`${a.content} || ""`:`""`):(a.children.unshift(`(`),a.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(a.type===4?a.isStatic?a.content=xe(a.content):a.content=`${n.helperString(Rt)}(${a.content})`:(a.children.unshift(`${n.helperString(Rt)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&_c(a,`.`),r.some(e=>e.content===`attr`)&&_c(a,`^`)),{props:[z(a,o)]})},_c=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},vc=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(ca(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(ca(a))r||=n[e]=sn([t],t.loc),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name]))))for(let e=0;e<n.length;e++){let r=n[e];if(ca(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&lo(r,t)===0&&i.push(`1 /* ${ke[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:V(t.helper(xt),i)}}}}},yc=new WeakSet,bc=(e,t)=>{if(e.type===1&&G(e,`once`,!0))return yc.has(e)||t.inVOnce||t.inSSR?void 0:(yc.add(e),t.inVOnce=!0,t.helper(Vt),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&=t.cache(e.codegenNode,!0,!0)})},xc=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(W(41,e.loc)),Sc();let a=r.loc.source.trim(),o=r.type===4?r.content:a,s=n.bindingMetadata[a];if(s===`props`||s===`props-aliased`)return n.onError(W(44,r.loc)),Sc();if(s===`literal-const`||s===`setup-const`)return n.onError(W(45,r.loc)),Sc();let c=n.inline&&(s===`setup-let`||s===`setup-ref`||s===`setup-maybe-ref`);if(!o.trim()||!Zi(r,n)&&!c)return n.onError(W(42,r.loc)),Sc();if(n.prefixIdentifiers&&Wi(o)&&n.identifiers[o])return n.onError(W(43,r.loc)),Sc();let l=i||B(`modelValue`,!0),u=i?Vi(i)?`onUpdate:${xe(i.content)}`:sn([`"onUpdate:" + `,i]):`onUpdate:modelValue`,d,f=n.isTS?`($event: any)`:`$event`;if(c)if(s===`setup-ref`)d=sn([`${f} => ((`,B(a,!1,r.loc),`).value = $event)`]);else{let e=s===`setup-let`?`${a} = $event`:`null`;d=sn([`${f} => (${n.helperString(Kt)}(${a}) ? (`,B(a,!1,r.loc),`).value = $event : ${e})`])}else d=sn([`${f} => ((`,r,`) = $event)`]);let p=[z(l,e.exp),z(u,d)];if(n.prefixIdentifiers&&!n.inVOnce&&n.cacheHandlers&&!va(r,n.identifiers)&&(p[1].value=n.cache(p[1].value)),e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(Wi(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?Vi(i)?`${i.content}Modifiers`:sn([i,` + "Modifiers"`]):`modelModifiers`;p.push(z(n,B(`{ ${t} }`,!1,e.loc,2)))}return Sc(p)};function Sc(e=[]){return{props:e}}var Cc=new WeakSet,wc=(e,t)=>{if(e.type===1){let n=G(e,`memo`);return!n||Cc.has(e)||t.inSSR?void 0:(Cc.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&yn(r,t),e.codegenNode=V(t.helper(qt),[n.exp,cn(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},Tc=(e,t)=>{if(e.type===1){for(let n of e.props)if(n.type===7&&n.name===`bind`&&!n.exp&&n.arg){let e=n.arg;if(e.type!==4||!e.isStatic)t.onError(W(53,e.loc)),n.exp=B(``,!0,e.loc);else{let t=xe(e.content);(Gi.test(t[0])||t[0]===`-`)&&(n.exp=B(t,!1,e.loc))}}}};function Ec(e){return[[Tc,bc,Rs,wc,Gs,...e?[Qs,Ns]:[],pc,ic,Zs,vc],{on:hc,bind:gc,model:xc}]}function Dc(e,t={}){let n=t.onError||ui,r=t.mode===`module`,i=t.prefixIdentifiers===!0||r;!i&&t.cacheHandlers&&n(W(50)),t.scopeId&&!r&&n(W(51));let a=oe({},t,{prefixIdentifiers:i}),o=I(e)?ao(e,a):e,[s,c]=Ec(i);if(t.isTS){let{expressionPlugins:e}=t;(!e||!e.includes(`typescript`))&&(t.expressionPlugins=[...e||[],`typescript`])}return go(o,oe({},a,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:oe({},c,t.directiveTransforms||{})})),is(o,a)}var Oc={DATA:`data`,PROPS:`props`,PROPS_ALIASED:`props-aliased`,SETUP_LET:`setup-let`,SETUP_CONST:`setup-const`,SETUP_REACTIVE_CONST:`setup-reactive-const`,SETUP_MAYBE_REF:`setup-maybe-ref`,SETUP_REF:`setup-ref`,OPTIONS:`options`,LITERAL_CONST:`literal-const`},kc=()=>({props:[]}),Ac=Symbol(`vModelRadio`),jc=Symbol(`vModelCheckbox`),Mc=Symbol(`vModelText`),Nc=Symbol(`vModelSelect`),Pc=Symbol(`vModelDynamic`),Fc=Symbol(`vOnModifiersGuard`),Ic=Symbol(`vOnKeysGuard`),Lc=Symbol(`vShow`),Rc=Symbol(`Transition`),zc=Symbol(`TransitionGroup`);Xt({[Ac]:`vModelRadio`,[jc]:`vModelCheckbox`,[Mc]:`vModelText`,[Nc]:`vModelSelect`,[Pc]:`vModelDynamic`,[Fc]:`withModifiers`,[Ic]:`withKeys`,[Lc]:`vShow`,[Rc]:`Transition`,[zc]:`TransitionGroup`});var Bc={parseMode:`html`,isVoidTag:Je,isNativeTag:e=>Ge(e)||Ke(e)||qe(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:void 0,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return Rc;if(e===`TransitionGroup`||e===`transition-group`)return zc},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(e===`svg`)return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(e===`svg`)return 1;if(e===`math`)return 2}return r}},Vc=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:B(`style`,!0,t.loc),exp:Hc(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Hc=(e,t)=>{let n=Re(e);return B(JSON.stringify(n),!1,t,3)};function Uc(e,t){return W(e,t,Gc)}var Wc={X_V_HTML_NO_EXPRESSION:54,54:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:55,55:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:56,56:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:57,57:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:58,58:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:59,59:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:61,61:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:62,62:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVALID_CHILDREN:63,63:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:64,64:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:65,65:`__EXTEND_POINT__`},Gc={54:`v-html is missing expression.`,55:`v-html will override element children.`,56:`v-text is missing expression.`,57:`v-text will override element children.`,58:`v-model can only be used on <input>, <textarea> and <select> elements.`,59:`v-model argument is not supported on plain elements.`,60:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,61:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,62:`v-show is missing expression.`,63:`<Transition> expects exactly one child element or component.`,64:`Tags with side effect (<script> and <style>) are ignored in client component templates.`},Kc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Uc(54,i)),t.children.length&&(n.onError(Uc(55,i)),t.children.length=0),{props:[z(B(`innerHTML`,!0,i),r||B(``,!0))]}},qc=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Uc(56,i)),t.children.length&&(n.onError(Uc(57,i)),t.children.length=0),{props:[z(B(`textContent`,!0),r?lo(r,n)>0?r:V(n.helperString(jt),[r],i):B(``,!0))]}},Jc=(e,t,n)=>{let r=xc(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Uc(59,e.arg.loc));function i(){let e=G(t,`bind`);e&&oa(e.arg,`value`)&&n.onError(Uc(61,e.loc))}let{tag:a}=t,o=n.isCustomElement(a);if(a===`input`||a===`textarea`||a===`select`||o){let s=Mc,c=!1;if(a===`input`||o){let r=aa(t,`type`);if(r){if(r.type===7)s=Pc;else if(r.value)switch(r.value.content){case`radio`:s=Ac;break;case`checkbox`:s=jc;break;case`file`:c=!0,n.onError(Uc(60,e.loc));break;default:i();break}}else sa(t)?s=Pc:i()}else a===`select`?s=Nc:i();c||(r.needRuntime=n.helper(s))}else n.onError(Uc(58,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},Yc=j(`passive,once,capture`),Xc=j(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),Zc=j(`left,right`),Qc=j(`onkeyup,onkeydown,onkeypress`),$c=(e,t,n,r)=>{let i=[],a=[],o=[];for(let n=0;n<t.length;n++){let r=t[n].content;Yc(r)?o.push(r):Zc(r)?Vi(e)?Qc(e.content.toLowerCase())?i.push(r):a.push(r):(i.push(r),a.push(r)):Xc(r)?a.push(r):i.push(r)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},el=(e,t)=>Vi(e)&&e.content.toLowerCase()===`onclick`?B(t,!0):e.type===4?e:sn([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),tl=(e,t,n)=>hc(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0],{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:c}=$c(i,r,n,e.loc);if(s.includes(`right`)&&(i=el(i,`onContextmenu`)),s.includes(`middle`)&&(i=el(i,`onMouseup`)),s.length&&(a=V(n.helper(Fc),[a,JSON.stringify(s)])),o.length&&(!Vi(i)||Qc(i.content.toLowerCase()))&&(a=V(n.helper(Ic),[a,JSON.stringify(o)])),c.length){let e=c.map(we).join(``);i=Vi(i)?B(`${i.content}${e}`,!0):sn([`(`,i,`) + "${e}"`])}return{props:[z(i,a)]}}),nl=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Uc(62,i)),{props:[],needRuntime:n.helper(Lc)}},rl=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Rc)return()=>{if(!e.children.length)return;il(e)&&t.onError(Uc(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}));let n=e.children[0];if(n.type===1)for(let t of n.props)t.type===7&&t.name===`show`&&e.props.push({type:6,name:`persisted`,nameLoc:e.loc,value:void 0,loc:e.loc})}};function il(e){let t=e.children=e.children.filter(e=>!Ca(e)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(il)}var al=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,ol=(e,t,n)=>{if(t.scopes.vSlot>0)return;let r=n.type===1&&n.codegenNode&&n.codegenNode.type===13&&n.codegenNode.children&&!F(n.codegenNode.children)&&n.codegenNode.children.type===20,i=0,a=0,o=[],s=n=>{if(i>=20||a>=5){let i=V(t.helper(St),[JSON.stringify(o.map(e=>fl(e,t)).join(``)).replace(al,`" + $1 + "`),String(o.length)]),a=o.length-1;if(r)e.splice(n-o.length,o.length,i);else if(o[0].codegenNode.value=i,o.length>1){e.splice(n-o.length+1,a);let r=t.cached.indexOf(o[o.length-1].codegenNode);if(r>-1){for(let e=r;e<t.cached.length;e++){let n=t.cached[e];n&&(n.index-=a)}t.cached.splice(r-a+1,a)}}return a}return 0},c=0;for(;c<e.length;c++){let t=e[c];if(r||sl(t)){let e=dl(t);if(e){i+=e[0],a+=e[1],o.push(t);continue}}c-=s(c),i=0,a=0,o.length=0}s(c)},sl=e=>{if((e.type===1&&e.tagType===0||e.type===12)&&e.codegenNode&&e.codegenNode.type===20)return e.codegenNode},cl=/^(?:data|aria)-/,ll=(e,t)=>(t===0?$e(e):t===1?et(e):t===2?tt(e):!1)||cl.test(e),ul=j(`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`);function dl(e){if(e.type===1&&ul(e.tag)||e.type===1&&G(e,`once`,!0))return!1;if(e.type===12)return[1,0];let t=1,n=+(e.props.length>0),r=!1,i=()=>(r=!0,!1);function a(e){let o=e.tag===`option`&&e.ns===0;for(let t=0;t<e.props.length;t++){let n=e.props[t];if(n.type===6&&!ll(n.name,e.ns)||n.type===7&&n.name===`bind`&&(n.arg&&(n.arg.type===8||n.arg.isStatic&&!ll(n.arg.content,e.ns))||n.exp&&(n.exp.type===8||n.exp.constType<3)||o&&oa(n.arg,`value`)&&n.exp&&!n.exp.isStatic))return i()}for(let i=0;i<e.children.length;i++){t++;let o=e.children[i];if(o.type===1&&(o.props.length>0&&n++,a(o),r))return!1}return!0}return a(e)?[t,n]:!1}function fl(e,t){if(I(e))return e;if(fe(e))return``;switch(e.type){case 1:return pl(e,t);case 2:return rt(e.content);case 3:return`<!--${rt(e.content)}-->`;case 5:return rt(st(ml(e.content)));case 8:return rt(ml(e));case 12:return fl(e.content,t);default:return``}}function pl(e,t){let n=`<${e.tag}`,r=``;for(let t=0;t<e.props.length;t++){let i=e.props[t];if(i.type===6)n+=` ${i.name}`,i.value&&(n+=`="${rt(i.value.content)}"`);else if(i.type===7)if(i.name===`bind`){let e=i.exp;if(e.content[0]===`_`){n+=` ${i.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(L(i.arg.content)&&e.content===`false`)continue;let t=ml(e);if(t!=null){let e=i.arg&&i.arg.content;e===`class`?t=Be(t):e===`style`&&(t=ze(Pe(t))),n+=` ${i.arg.content}="${rt(t)}"`}}else i.name===`html`?r=ml(i.exp):i.name===`text`&&(r=rt(st(ml(i.exp))))}if(t.scopeId&&(n+=` ${t.scopeId}`),n+=`>`,r)n+=r;else for(let r=0;r<e.children.length;r++)n+=fl(e.children[r],t);return Je(e.tag)||(n+=`</${e.tag}>`),n}function ml(e){if(e.type===4)return Function(`return (${e.content})`)();{let t=``;return e.children.forEach(e=>{I(e)||fe(e)||(e.type===2?t+=e.content:e.type===5?t+=st(ml(e.content)):t+=ml(e))}),t}}var hl=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&(t.onError(Uc(64,e.loc)),t.removeNode())};function gl(e,t){return e===`template`?!0:e in yl?yl[e].has(t):t in bl?bl[t].has(e):!(e in xl&&xl[e].has(t)||t in Sl&&Sl[t].has(e))}var _l=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),vl=new Set([]),yl={head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`,`hr`]),table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),script:vl,iframe:vl,option:vl,textarea:vl,style:vl,title:vl},bl={html:vl,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},xl={p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},Sl={a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:_l,h2:_l,h3:_l,h4:_l,h5:_l,h6:_l},Cl=[Vc,rl,(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!gl(t.parent.tag,e.tag)){let n=SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}}],wl={cloak:kc,html:Kc,text:qc,model:Jc,on:tl,show:nl};function Tl(e,t={}){return Dc(e,oe({},Bc,t,{nodeTransforms:[hl,...Cl,...t.nodeTransforms||[]],directiveTransforms:oe({},wl,t.directiveTransforms||{}),transformHoist:ol}))}function El(e,t={}){return ao(e,oe({},Bc,t))}var Dl=Object.freeze({__proto__:null,BASE_TRANSITION:mt,BindingTypes:Oc,CAMELIZE:Rt,CAPITALIZE:zt,CREATE_BLOCK:gt,CREATE_COMMENT:bt,CREATE_ELEMENT_BLOCK:_t,CREATE_ELEMENT_VNODE:yt,CREATE_SLOTS:At,CREATE_STATIC:St,CREATE_TEXT:xt,CREATE_VNODE:vt,CompilerDeprecationTypes:ii,ConstantTypes:en,DOMDirectiveTransforms:wl,DOMErrorCodes:Wc,DOMErrorMessages:Gc,DOMNodeTransforms:Cl,ElementTypes:$t,ErrorCodes:fi,FRAGMENT:ut,GUARD_REACTIVE_PROPS:It,IS_MEMO_SAME:Jt,IS_REF:Kt,KEEP_ALIVE:pt,MERGE_PROPS:Mt,NORMALIZE_CLASS:Nt,NORMALIZE_PROPS:Ft,NORMALIZE_STYLE:Pt,Namespaces:Zt,NodeTypes:Qt,OPEN_BLOCK:ht,POP_SCOPE_ID:Ut,PUSH_SCOPE_ID:Ht,RENDER_LIST:Ot,RENDER_SLOT:kt,RESOLVE_COMPONENT:Ct,RESOLVE_DIRECTIVE:Tt,RESOLVE_DYNAMIC_COMPONENT:wt,RESOLVE_FILTER:Et,SET_BLOCK_TRACKING:Vt,SUSPENSE:ft,TELEPORT:dt,TO_DISPLAY_STRING:jt,TO_HANDLERS:Lt,TO_HANDLER_KEY:Bt,TRANSITION:Rc,TRANSITION_GROUP:zc,TS_NODE_TYPES:zi,UNREF:Gt,V_MODEL_CHECKBOX:jc,V_MODEL_DYNAMIC:Pc,V_MODEL_RADIO:Ac,V_MODEL_SELECT:Nc,V_MODEL_TEXT:Mc,V_ON_WITH_KEYS:Ic,V_ON_WITH_MODIFIERS:Fc,V_SHOW:Lc,WITH_CTX:Wt,WITH_DIRECTIVES:Dt,WITH_MEMO:qt,advancePositionWithClone:na,advancePositionWithMutation:ra,assert:ia,baseCompile:Dc,baseParse:ao,buildDirectiveArgs:uc,buildProps:sc,buildSlots:ec,checkCompatEnabled:ci,compile:Tl,convertToBlock:yn,createArrayExpression:rn,createAssignmentExpression:mn,createBlockStatement:dn,createCacheExpression:un,createCallExpression:V,createCompilerError:W,createCompoundExpression:sn,createConditionalExpression:ln,createDOMCompilerError:Uc,createForLoopParams:Js,createFunctionExpression:cn,createIfStatement:pn,createInterpolation:on,createObjectExpression:an,createObjectProperty:z,createReturnStatement:gn,createRoot:tn,createSequenceExpression:hn,createSimpleExpression:B,createStructuralDirectiveTransform:bo,createTemplateLiteral:fn,createTransformContext:ho,createVNodeCall:nn,errorMessages:pi,extractIdentifiers:Mi,findDir:G,findProp:aa,forAliasRE:ba,generate:is,generateCodeFrame:Ne,getBaseTransformPreset:Ec,getConstantType:lo,getMemoedVNodeCall:ya,getVNodeBlockHelper:vn,getVNodeHelper:_n,hasDynamicKeyVBind:sa,hasScopeRef:va,helperNameMap:Yt,injectProp:ha,isAllWhitespace:xa,isCommentOrWhitespace:Ca,isCoreComponent:Hi,isFnExpression:ta,isFnExpressionBrowser:$i,isFnExpressionNode:ea,isFunctionType:Fi,isInDestructureAssignment:Ti,isInNewExpression:Ei,isMemberExpression:Zi,isMemberExpressionBrowser:Yi,isMemberExpressionNode:Xi,isReferencedIdentifier:wi,isSimpleIdentifier:Wi,isSlotOutlet:fa,isStaticArgOf:oa,isStaticExp:Vi,isStaticProperty:Ii,isStaticPropertyKey:Li,isTemplateNode:da,isText:ca,isVPre:la,isVSlot:ua,isWhitespaceText:Sa,locStub:R,noopDirectiveTransform:kc,parse:El,parserOptions:Bc,processExpression:Ps,processFor:Ks,processIf:zs,processSlotOutlet:mc,registerRuntimeHelpers:Xt,resolveComponentType:ac,stringifyExpression:Is,toValidAssetId:_a,trackSlotScopes:Zs,trackVForSlotScopes:Qs,transform:go,transformBind:gc,transformElement:ic,transformExpression:Ns,transformModel:xc,transformOn:hc,transformStyle:Vc,transformVBindShorthand:Tc,traverseNode:yo,unwrapTSNode:Bi,validFirstIdentCharRE:Gi,walkBlockDeclarations:Oi,walkFunctionParams:Di,walkIdentifiers:Ci,warnDeprecation:li}),Ol,kl;function Al(){if(kl)return Ol;kl=1;function e(e,t){for(;e.length<t;)e=`0`+e;return e}function t(e,t){var n,r,i;if(t.length===0)return e;for(n=0,i=t.length;n<i;n++)r=t.charCodeAt(n),e=(e<<5)-e+r,e|=0;return e<0?e*-2:e}function n(e,t,n){return Object.keys(t).sort().reduce(i,e);function i(e,i){return r(e,t[i],i,n)}}function r(e,r,a,o){var s=t(t(t(e,a),i(r)),typeof r);if(r===null)return t(s,`null`);if(r===void 0)return t(s,`undefined`);if(typeof r==`object`||typeof r==`function`){if(o.indexOf(r)!==-1)return t(s,`[Circular]`+a);o.push(r);var c=n(s,r,o);if(!(`valueOf`in r)||typeof r.valueOf!=`function`)return c;try{return t(c,String(r.valueOf()))}catch(e){return t(c,`[valueOf exception]`+(e.stack||e.message))}}return t(s,r.toString())}function i(e){return Object.prototype.toString.call(e)}function a(t){return e(r(0,t,``,[]).toString(16),8)}return Ol=a,Ol}var jl=mi(Al()),Ml=`useCssVars`;function Nl(e,t,n,r=!1){return`{
|
|
28
|
-
${e.map(e=>`"${r?`:--`:``}${Pl(t,e,n,r)}": (${e})`).join(`,
|
|
29
|
-
`)}
|
|
30
|
-
}`}function Pl(e,t,n,r=!1){return n?jl(e+t).replace(/^\d/,e=>`v${e}`):`${e}-${at(t,r)}`}function Fl(e){return e=e.trim(),e[0]===`'`&&e[e.length-1]===`'`||e[0]===`"`&&e[e.length-1]===`"`?e.slice(1,-1):e}var Il=/v-bind\s*\(/g;function Ll(e){let t=[];return e.styles.forEach(e=>{let n,r=e.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,``);for(;n=Il.exec(r);){let e=n.index+n[0].length,i=Rl(r,e);if(i!==null){let n=Fl(r.slice(e,i));t.includes(n)||t.push(n)}}}),t}function Rl(e,t){let n=0,r=0;for(let i=t;i<e.length;i++){let t=e.charAt(i);switch(n){case 0:if(t===`'`)n=1;else if(t===`"`)n=2;else if(t===`(`)r++;else if(t===`)`)if(r>0)r--;else return i;break;case 1:t===`'`&&(n=0);break;case 2:t===`"`&&(n=0);break}}return null}var zl=e=>{let{id:t,isProd:n}=e;return{postcssPlugin:`vue-sfc-vars`,Declaration(e){let r=e.value;if(Il.test(r)){Il.lastIndex=0;let i=``,a=0,o;for(;o=Il.exec(r);){let e=o.index+o[0].length,s=Rl(r,e);if(s!==null){let c=Fl(r.slice(e,s));i+=r.slice(a,o.index)+`var(--${Pl(t,c,n)})`,a=s+1}}e.value=i+r.slice(a)}}}};zl.postcss=!0;function Bl(e,t,n,r){let i=Ps(B(Nl(e,n,r),!1),ho(tn([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:t.__isScriptSetup===!1?void 0:t}));return`_${Ml}(_ctx => (${i.type===4?i.content:i.children.map(e=>typeof e==`string`?e:e.content).join(``)}))`}function Vl(e,t,n,r,i){return`
|
|
31
|
-
import { ${Ml} as _${Ml} } from 'vue'
|
|
32
|
-
const __injectCSSVars__ = () => {
|
|
33
|
-
${Bl(e,t,n,r)}}
|
|
34
|
-
const __setup__ = ${i}.setup
|
|
35
|
-
${i}.setup = __setup__
|
|
36
|
-
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
|
|
37
|
-
: __injectCSSVars__
|
|
38
|
-
`}function Hl(){throw Error(`setTimeout has not been defined`)}function Ul(){throw Error(`clearTimeout has not been defined`)}var Wl=Hl,Gl=Ul;typeof Cn.setTimeout==`function`&&(Wl=setTimeout),typeof Cn.clearTimeout==`function`&&(Gl=clearTimeout);function Kl(e){if(Wl===setTimeout)return setTimeout(e,0);if((Wl===Hl||!Wl)&&setTimeout)return Wl=setTimeout,setTimeout(e,0);try{return Wl(e,0)}catch{try{return Wl.call(null,e,0)}catch{return Wl.call(this,e,0)}}}function ql(e){if(Gl===clearTimeout)return clearTimeout(e);if((Gl===Ul||!Gl)&&clearTimeout)return Gl=clearTimeout,clearTimeout(e);try{return Gl(e)}catch{try{return Gl.call(null,e)}catch{return Gl.call(this,e)}}}var Jl=[],Yl=!1,Xl,Zl=-1;function Ql(){!Yl||!Xl||(Yl=!1,Xl.length?Jl=Xl.concat(Jl):Zl=-1,Jl.length&&$l())}function $l(){if(!Yl){var e=Kl(Ql);Yl=!0;for(var t=Jl.length;t;){for(Xl=Jl,Jl=[];++Zl<t;)Xl&&Xl[Zl].run();Zl=-1,t=Jl.length}Xl=null,Yl=!1,ql(e)}}function eu(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Jl.push(new tu(e,t)),Jl.length===1&&!Yl&&Kl($l)}function tu(e,t){this.fun=e,this.array=t}tu.prototype.run=function(){this.fun.apply(null,this.array)};var nu=`browser`,ru=`browser`,iu=!0,au={},ou=[],su=``,cu={},lu={},uu={};function du(){}var fu=du,pu=du,mu=du,hu=du,gu=du,_u=du,vu=du;function yu(e){throw Error(`process.binding is not supported`)}function bu(){return`/`}function xu(e){throw Error(`process.chdir is not supported`)}function Su(){return 0}var Cu=Cn.performance||{},wu=Cu.now||Cu.mozNow||Cu.msNow||Cu.oNow||Cu.webkitNow||function(){return new Date().getTime()};function Tu(e){var t=wu.call(Cu)*.001,n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}var Eu=new Date;function Du(){return(new Date-Eu)/1e3}var Ou={nextTick:eu,title:nu,browser:iu,env:au,argv:ou,version:su,versions:cu,on:fu,addListener:pu,once:mu,off:hu,removeListener:gu,removeAllListeners:_u,emit:vu,binding:yu,cwd:bu,chdir:xu,umask:Su,hrtime:Tu,platform:ru,release:lu,config:uu,uptime:Du};function ku(e=500){return new Map}function Au(e,t){return Nu(t).has(e)}var ju=ku();function Mu(e){return Pu(e,!1).vModelIds}function Nu(e){return Pu(e).usedIds}function Pu(e,t=!0){let{content:n,ast:r}=e.template,i=ju.get(n);if(i&&(!t||i.usedIds))return i;let a=t?new Set:void 0,o=new Set;r.children.forEach(s);function s(e){switch(e.type){case 1:let t=e.tag;t.includes(`.`)&&(t=t.split(`.`)[0].trim()),!Bc.isNativeTag(t)&&!Bc.isBuiltInComponent(t)&&a&&(a.add(xe(t)),a.add(we(xe(t))));for(let t=0;t<e.props.length;t++){let n=e.props[t];if(n.type===7){if(a&&(ve(n.name)||a.add(`v${we(xe(n.name))}`)),n.name===`model`){let e=n.exp;if(e&&e.type===4){let t=e.content.trim();Wi(t)&&t!==`undefined`&&o.add(t)}}a&&n.arg&&!n.arg.isStatic&&Fu(a,n.arg),a&&(n.name===`for`?Fu(a,n.forParseResult.source):n.exp?Fu(a,n.exp):n.name===`bind`&&!n.exp&&a.add(xe(n.arg.content)))}a&&n.type===6&&n.name===`ref`&&n.value?.content&&a.add(n.value.content)}e.children.forEach(s);break;case 5:a&&Fu(a,e.content);break}}let c={usedIds:a,vModelIds:o};return ju.set(n,c),c}function Fu(e,t){t.ast?Ci(t.ast,t=>e.add(t.name)):t.ast===null&&e.add(t.content)}var Iu=Object.defineProperty,Lu=Object.defineProperties,Ru=Object.getOwnPropertyDescriptors,zu=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,Vu=Object.prototype.propertyIsEnumerable,Hu=(e,t,n)=>t in e?Iu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uu=(e,t)=>{for(var n in t||={})Bu.call(t,n)&&Hu(e,n,t[n]);if(zu)for(var n of zu(t))Vu.call(t,n)&&Hu(e,n,t[n]);return e},Wu=(e,t)=>Lu(e,Ru(t)),Gu=`anonymous.vue`,Ku=ku();function qu(e,t={}){let n=Oe(e,Wu(Uu({},t),{compiler:{parse:t.compiler?.parse}})),r=Ku.get(n);if(r)return r;let{sourceMap:i=!0,filename:a=Gu,sourceRoot:o=``,pad:s=!1,ignoreEmpty:c=!0,compiler:l=Dl,templateParseOptions:u={}}=t,d={filename:a,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>rd(e,d)},f=[];l.parse(e,Wu(Uu({parseMode:`sfc`,prefixIdentifiers:!0},u),{onError:e=>{f.push(e)}})).children.forEach(t=>{if(t.type===1&&!(c&&t.tag!==`template`&&nd(t)&&!td(t)))switch(t.tag){case`template`:if(d.template)f.push(Ju(t));else{let n=d.template=Yu(t,e,!1);if(n.attrs.src||(n.ast=tn(t.children,e)),n.attrs.functional){let e=SyntaxError(`<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.`);e.loc=t.props.find(e=>e.type===6&&e.name===`functional`).loc,f.push(e)}}break;case`script`:let n=Yu(t,e,s),r=!!n.attrs.setup;if(r&&!d.scriptSetup){d.scriptSetup=n;break}if(!r&&!d.script){d.script=n;break}f.push(Ju(t,r));break;case`style`:let i=Yu(t,e,s);i.attrs.vars&&f.push(SyntaxError(`<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231`)),d.styles.push(i);break;default:d.customBlocks.push(Yu(t,e,s));break}}),!d.template&&!d.script&&!d.scriptSetup&&f.push(SyntaxError(`At least one <template> or <script> is required in a single file component. ${d.filename}`)),d.scriptSetup&&(d.scriptSetup.src&&(f.push(SyntaxError(`<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.`)),d.scriptSetup=null),d.script&&d.script.src&&(f.push(SyntaxError(`<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.`)),d.script=null));let p=0;if(d.template&&(d.template.lang===`pug`||d.template.lang===`jade`)&&([d.template.content,p]=id(d.template.content)),i){let t=(t,n=0)=>{t&&!t.src&&(t.map=$u(a,e,t.content,o,!s||t.type===`template`?t.loc.start.line-1:0,n))};t(d.template,p),t(d.script),d.styles.forEach(e=>t(e)),d.customBlocks.forEach(e=>t(e))}d.cssVars=Ll(d);let m=/(?:::v-|:)slotted\(/;d.slotted=d.styles.some(e=>e.scoped&&m.test(e.content));let h={descriptor:d,errors:f};return Ku.set(n,h),h}function Ju(e,t=!1){let n=SyntaxError(`Single file component can contain only one <${e.tag}${t?` setup`:``}> element`);return n.loc=e.loc,n}function Yu(e,t,n){let r=e.tag,i=e.innerLoc,a={},o={type:r,content:t.slice(i.start.offset,i.end.offset),loc:i,attrs:a};return n&&(o.content=ed(t,o,n)+o.content),e.props.forEach(e=>{if(e.type===6){let t=e.name;a[t]=e.value&&e.value.content||!0,t===`lang`?o.lang=e.value&&e.value.content:t===`src`?o.src=e.value&&e.value.content:r===`style`?t===`scoped`?o.scoped=!0:t===`module`&&(o.module=a[t]):r===`script`&&t===`setup`&&(o.setup=a.setup)}}),o}var Xu=/\r?\n/g,Zu=/^(?:\/\/)?\s*$/,Qu=/./g;function $u(e,t,n,r,i,a){let o=new es.SourceMapGenerator({file:e.replace(/\\/g,`/`),sourceRoot:r.replace(/\\/g,`/`)});return o.setSourceContent(e,t),o._sources.add(e),n.split(Xu).forEach((t,n)=>{if(!Zu.test(t)){let r=n+1+i,s=n+1;for(let n=0;n<t.length;n++)/\s/.test(t[n])||o._mappings.add({originalLine:r,originalColumn:n+a,generatedLine:s,generatedColumn:n,source:e,name:null})}}),o.toJSON()}function ed(e,t,n){if(e=e.slice(0,t.loc.start.offset),n===`space`)return e.replace(Qu,` `);{let n=e.split(Xu).length,r=t.type===`script`&&!t.lang?`//
|
|
39
|
-
`:`
|
|
40
|
-
`;return Array(n).join(r)}}function td(e){return e.props.some(e=>e.type===6?e.name===`src`:!1)}function nd(e){for(let t=0;t<e.children.length;t++){let n=e.children[t];if(n.type!==2||n.content.trim()!==``)return!1}return!0}function rd(e,t){if(!t.scriptSetup||t.scriptSetup.lang!==`ts`&&t.scriptSetup.lang!==`tsx`)return!1;for(let n in e)if(!e[n].isUsedInTemplate&&Au(n,t))return!0;return!1}function id(e){let t=e.split(`
|
|
41
|
-
`),n=t.reduce(function(e,t){if(t.trim()===``)return e;let n=t.match(/^\s*/)?.[0]?.length||0;return Math.min(n,e)},1/0);return n===0?[e,n]:[t.map(function(e){return e.slice(n)}).join(`
|
|
42
|
-
`),n]}function ad(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];i===`.`?e.splice(r,1):i===`..`?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}var od=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,sd=function(e){return od.exec(e).slice(1)};function cd(){for(var e=``,t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:`/`;if(typeof r!=`string`)throw TypeError(`Arguments to path.resolve must be strings`);r&&(e=r+`/`+e,t=r.charAt(0)===`/`)}return e=ad(yd(e.split(`/`),function(e){return!!e}),!t).join(`/`),(t?`/`:``)+e||`.`}function ld(e){var t=ud(e),n=bd(e,-1)===`/`;return e=ad(yd(e.split(`/`),function(e){return!!e}),!t).join(`/`),!e&&!t&&(e=`.`),e&&n&&(e+=`/`),(t?`/`:``)+e}function ud(e){return e.charAt(0)===`/`}function dd(){return ld(yd(Array.prototype.slice.call(arguments,0),function(e,t){if(typeof e!=`string`)throw TypeError(`Arguments to path.join must be strings`);return e}).join(`/`))}function fd(e,t){e=cd(e).substr(1),t=cd(t).substr(1);function n(e){for(var t=0;t<e.length&&e[t]===``;t++);for(var n=e.length-1;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}for(var r=n(e.split(`/`)),i=n(t.split(`/`)),a=Math.min(r.length,i.length),o=a,s=0;s<a;s++)if(r[s]!==i[s]){o=s;break}for(var c=[],s=o;s<r.length;s++)c.push(`..`);return c=c.concat(i.slice(o)),c.join(`/`)}var pd=`/`,md=`:`;function hd(e){var t=sd(e),n=t[0],r=t[1];return!n&&!r?`.`:(r&&=r.substr(0,r.length-1),n+r)}function gd(e,t){var n=sd(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function _d(e){return sd(e)[3]}var vd={extname:_d,basename:gd,dirname:hd,sep:pd,delimiter:md,relative:fd,join:dd,isAbsolute:ud,normalize:ld,resolve:cd};function yd(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var bd=`ab`.substr(-1)===`b`?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},xd=Object.freeze({__proto__:null,basename:gd,default:vd,delimiter:md,dirname:hd,extname:_d,isAbsolute:ud,join:dd,normalize:ld,relative:fd,resolve:cd,sep:pd}),Sd=2147483647,Cd=36,wd=1,Td=26,Ed=38,Dd=700,Od=72,kd=128,Ad=`-`,jd=/[^\x20-\x7E]/,Md=/[\x2E\u3002\uFF0E\uFF61]/g,Nd={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Pd=Cd-wd,Fd=Math.floor,Id=String.fromCharCode;function Ld(e){throw RangeError(Nd[e])}function Rd(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function zd(e,t){var n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Md,`.`);var i=Rd(e.split(`.`),t).join(`.`);return r+i}function Bd(e){for(var t=[],n=0,r=e.length,i,a;n<r;)i=e.charCodeAt(n++),i>=55296&&i<=56319&&n<r?(a=e.charCodeAt(n++),(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)):t.push(i);return t}function Vd(e,t){return e+22+75*(e<26)-((t!=0)<<5)}function Hd(e,t,n){var r=0;for(e=n?Fd(e/Dd):e>>1,e+=Fd(e/t);e>Pd*Td>>1;r+=Cd)e=Fd(e/Pd);return Fd(r+(Pd+1)*e/(e+Ed))}function Ud(e){var t,n,r,i,a,o,s,c,l,u,d,f=[],p,m,h,g;for(e=Bd(e),p=e.length,t=kd,n=0,a=Od,o=0;o<p;++o)d=e[o],d<128&&f.push(Id(d));for(r=i=f.length,i&&f.push(Ad);r<p;){for(s=Sd,o=0;o<p;++o)d=e[o],d>=t&&d<s&&(s=d);for(m=r+1,s-t>Fd((Sd-n)/m)&&Ld(`overflow`),n+=(s-t)*m,t=s,o=0;o<p;++o)if(d=e[o],d<t&&++n>Sd&&Ld(`overflow`),d==t){for(c=n,l=Cd;u=l<=a?wd:l>=a+Td?Td:l-a,!(c<u);l+=Cd)g=c-u,h=Cd-u,f.push(Id(Vd(u+g%h,0))),c=Fd(g/h);f.push(Id(Vd(c,0))),a=Hd(n,m,r==i),n=0,++r}++n,++t}return f.join(``)}function Wd(e){return zd(e,function(e){return jd.test(e)?`xn--`+Ud(e):e})}var Gd=typeof Object.create==`function`?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Kd=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},qd=/%[sdj%]/g;function Jd(e){if(!hf(e)){for(var t=[],n=0;n<arguments.length;n++)t.push($d(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,a=String(e).replace(qd,function(e){if(e===`%%`)return`%`;if(n>=i)return e;switch(e){case`%s`:return String(r[n++]);case`%d`:return Number(r[n++]);case`%j`:try{return JSON.stringify(r[n++])}catch{return`[Circular]`}default:return e}}),o=r[n];n<i;o=r[++n])ff(o)||!yf(o)?a+=` `+o:a+=` `+$d(o);return a}function Yd(e,t){if(_f(Cn.process))return function(){return Yd(e,t).apply(this,arguments)};if(Ou.noDeprecation===!0)return e;var n=!1;function r(){if(!n){if(Ou.throwDeprecation)throw Error(t);Ou.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}return r}var Xd={},Zd;function Qd(e){if(_f(Zd)&&(Zd=Ou.env.NODE_DEBUG||``),e=e.toUpperCase(),!Xd[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(Zd)){var t=0;Xd[e]=function(){var n=Jd.apply(null,arguments);console.error(`%s %d: %s`,e,t,n)}}else Xd[e]=function(){};return Xd[e]}function $d(e,t){var n={seen:[],stylize:tf};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),df(t)?n.showHidden=t:t&&Af(n,t),_f(n.showHidden)&&(n.showHidden=!1),_f(n.depth)&&(n.depth=2),_f(n.colors)&&(n.colors=!1),_f(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=ef),rf(n,e,n.depth)}$d.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]},$d.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function ef(e,t){var n=$d.styles[t];return n?`\x1B[`+$d.colors[n][0]+`m`+e+`\x1B[`+$d.colors[n][1]+`m`:e}function tf(e,t){return e}function nf(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function rf(e,t,n){if(e.customInspect&&t&&Sf(t.inspect)&&t.inspect!==$d&&!(t.constructor&&t.constructor.prototype===t)){var r=t.inspect(n,e);return hf(r)||(r=rf(e,r,n)),r}var i=af(e,t);if(i)return i;var a=Object.keys(t),o=nf(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),xf(t)&&(a.indexOf(`message`)>=0||a.indexOf(`description`)>=0))return of(t);if(a.length===0){if(Sf(t)){var s=t.name?`: `+t.name:``;return e.stylize(`[Function`+s+`]`,`special`)}if(vf(t))return e.stylize(RegExp.prototype.toString.call(t),`regexp`);if(bf(t))return e.stylize(Date.prototype.toString.call(t),`date`);if(xf(t))return of(t)}var c=``,l=!1,u=[`{`,`}`];if(uf(t)&&(l=!0,u=[`[`,`]`]),Sf(t)&&(c=` [Function`+(t.name?`: `+t.name:``)+`]`),vf(t)&&(c=` `+RegExp.prototype.toString.call(t)),bf(t)&&(c=` `+Date.prototype.toUTCString.call(t)),xf(t)&&(c=` `+of(t)),a.length===0&&(!l||t.length==0))return u[0]+c+u[1];if(n<0)return vf(t)?e.stylize(RegExp.prototype.toString.call(t),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(t);var d=l?sf(e,t,n,o,a):a.map(function(r){return cf(e,t,n,o,r,l)});return e.seen.pop(),lf(d,c,u)}function af(e,t){if(_f(t))return e.stylize(`undefined`,`undefined`);if(hf(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(mf(t))return e.stylize(``+t,`number`);if(df(t))return e.stylize(``+t,`boolean`);if(ff(t))return e.stylize(`null`,`null`)}function of(e){return`[`+Error.prototype.toString.call(e)+`]`}function sf(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)jf(t,String(o))?a.push(cf(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(cf(e,t,n,r,i,!0))}),a}function cf(e,t,n,r,i,a){var o,s,c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),jf(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=ff(n)?rf(e,c.value,null):rf(e,c.value,n-1),s.indexOf(`
|
|
43
|
-
`)>-1&&(s=a?s.split(`
|
|
44
|
-
`).map(function(e){return` `+e}).join(`
|
|
45
|
-
`).substr(2):`
|
|
46
|
-
`+s.split(`
|
|
47
|
-
`).map(function(e){return` `+e}).join(`
|
|
48
|
-
`))):s=e.stylize(`[Circular]`,`special`)),_f(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function lf(e,t,n){return e.reduce(function(e,t){return t.indexOf(`
|
|
49
|
-
`),e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
|
|
50
|
-
`)+` `+e.join(`,
|
|
51
|
-
`)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}function uf(e){return Array.isArray(e)}function df(e){return typeof e==`boolean`}function ff(e){return e===null}function pf(e){return e==null}function mf(e){return typeof e==`number`}function hf(e){return typeof e==`string`}function gf(e){return typeof e==`symbol`}function _f(e){return e===void 0}function vf(e){return yf(e)&&Tf(e)===`[object RegExp]`}function yf(e){return typeof e==`object`&&!!e}function bf(e){return yf(e)&&Tf(e)===`[object Date]`}function xf(e){return yf(e)&&(Tf(e)===`[object Error]`||e instanceof Error)}function Sf(e){return typeof e==`function`}function Cf(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0}function wf(e){return H.isBuffer(e)}function Tf(e){return Object.prototype.toString.call(e)}function Ef(e){return e<10?`0`+e.toString(10):e.toString(10)}var Df=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function Of(){var e=new Date,t=[Ef(e.getHours()),Ef(e.getMinutes()),Ef(e.getSeconds())].join(`:`);return[e.getDate(),Df[e.getMonth()],t].join(` `)}function kf(){console.log(`%s - %s`,Of(),Jd.apply(null,arguments))}function Af(e,t){if(!t||!yf(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function jf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Mf=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;function Nf(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(Mf&&e[Mf]){var t=e[Mf];if(typeof t!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(t,Mf,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Mf&&Object.defineProperty(t,Mf,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Kd(e))}Nf.custom=Mf;function Pf(e,t){if(!e){var n=Error(`Promise was rejected with a falsy value`);n.reason=e,e=n}return t(e)}function Ff(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if(typeof r!=`function`)throw TypeError(`The last argument must be of type Function`);var i=this,a=function(){return r.apply(i,arguments)};e.apply(this,t).then(function(e){Ou.nextTick(a.bind(null,null,e))},function(e){Ou.nextTick(Pf.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,Kd(e)),t}var If=Object.freeze({__proto__:null,_extend:Af,callbackify:Ff,debuglog:Qd,default:{inherits:Gd,_extend:Af,log:kf,isBuffer:wf,isPrimitive:Cf,isFunction:Sf,isError:xf,isDate:bf,isObject:yf,isRegExp:vf,isUndefined:_f,isSymbol:gf,isString:hf,isNumber:mf,isNullOrUndefined:pf,isNull:ff,isBoolean:df,isArray:uf,inspect:$d,deprecate:Yd,format:Jd,debuglog:Qd,promisify:Nf,callbackify:Ff},deprecate:Yd,format:Jd,inherits:Gd,inspect:$d,isArray:uf,isBoolean:df,isBuffer:wf,isDate:bf,isError:xf,isFunction:Sf,isNull:ff,isNullOrUndefined:pf,isNumber:mf,isObject:yf,isPrimitive:Cf,isRegExp:vf,isString:hf,isSymbol:gf,isUndefined:_f,log:kf,promisify:Nf});function Lf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Rf=Array.isArray||function(e){return Object.prototype.toString.call(e)===`[object Array]`};function zf(e){switch(typeof e){case`string`:return e;case`boolean`:return e?`true`:`false`;case`number`:return isFinite(e)?e:``;default:return``}}function Bf(e,t,n,r){return t||=`&`,n||=`=`,e===null&&(e=void 0),typeof e==`object`?Vf(Hf(e),function(r){var i=encodeURIComponent(zf(r))+n;return Rf(e[r])?Vf(e[r],function(e){return i+encodeURIComponent(zf(e))}).join(t):i+encodeURIComponent(zf(e[r]))}).join(t):r?encodeURIComponent(zf(r))+n+encodeURIComponent(zf(e)):``}function Vf(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var Hf=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t};function Uf(e,t,n,r){t||=`&`,n||=`=`;var i={};if(typeof e!=`string`||e.length===0)return i;var a=/\+/g;e=e.split(t);var o=1e3;r&&typeof r.maxKeys==`number`&&(o=r.maxKeys);var s=e.length;o>0&&s>o&&(s=o);for(var c=0;c<s;++c){var l=e[c].replace(a,`%20`),u=l.indexOf(n),d,f,p,m;u>=0?(d=l.substr(0,u),f=l.substr(u+1)):(d=l,f=``),p=decodeURIComponent(d),m=decodeURIComponent(f),Lf(i,p)?Rf(i[p])?i[p].push(m):i[p]=[i[p],m]:i[p]=m}return i}var Wf=Cn.URL,Gf=Cn.URLSearchParams,Kf={parse:op,resolve:fp,resolveObject:pp,fileURLToPath:cp,format:up,Url:qf,URL:Wf,URLSearchParams:Gf};function qf(){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 Jf=/^([a-z0-9.+-]+:)/i,Yf=/:[0-9]*$/,Xf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Zf=[`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
|
|
52
|
-
`,` `],Qf=[`%`,`/`,`?`,`;`,`#`].concat(Zf),$f=[`/`,`?`,`#`],ep=255,tp=/^[+a-z0-9A-Z_-]{0,63}$/,np=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,rp={javascript:!0,"javascript:":!0},ip={javascript:!0,"javascript:":!0},ap={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function op(e,t,n){if(e&&yf(e)&&e instanceof qf)return e;var r=new qf;return r.parse(e,t,n),r}qf.prototype.parse=function(e,t,n){return sp(this,e,t,n)};function sp(e,t,n,r){if(!hf(t))throw TypeError(`Parameter 'url' must be a string, not `+typeof t);var i=t.indexOf(`?`),a=i!==-1&&i<t.indexOf(`#`)?`?`:`#`,o=t.split(a);o[0]=o[0].replace(/\\/g,`/`),t=o.join(a);var s=t;if(s=s.trim(),!r&&t.split(`#`).length===1){var c=Xf.exec(s);if(c)return e.path=s,e.href=s,e.pathname=c[1],c[2]?(e.search=c[2],n?e.query=Uf(e.search.substr(1)):e.query=e.search.substr(1)):n&&(e.search=``,e.query={}),e}var l=Jf.exec(s);if(l){l=l[0];var u=l.toLowerCase();e.protocol=u,s=s.substr(l.length)}if(r||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var d=s.substr(0,2)===`//`;d&&!(l&&ip[l])&&(s=s.substr(2),e.slashes=!0)}var f,p,m,h;if(!ip[l]&&(d||l&&!ap[l])){var g=-1;for(f=0;f<$f.length;f++)p=s.indexOf($f[f]),p!==-1&&(g===-1||p<g)&&(g=p);var _,v=g===-1?s.lastIndexOf(`@`):s.lastIndexOf(`@`,g);for(v!==-1&&(_=s.slice(0,v),s=s.slice(v+1),e.auth=decodeURIComponent(_)),g=-1,f=0;f<Qf.length;f++)p=s.indexOf(Qf[f]),p!==-1&&(g===-1||p<g)&&(g=p);g===-1&&(g=s.length),e.host=s.slice(0,g),s=s.slice(g),mp(e),e.hostname=e.hostname||``;var y=e.hostname[0]===`[`&&e.hostname[e.hostname.length-1]===`]`;if(!y){var b=e.hostname.split(/\./);for(f=0,m=b.length;f<m;f++){var x=b[f];if(x&&!x.match(tp)){for(var S=``,C=0,w=x.length;C<w;C++)x.charCodeAt(C)>127?S+=`x`:S+=x[C];if(!S.match(tp)){var T=b.slice(0,f),E=b.slice(f+1),ee=x.match(np);ee&&(T.push(ee[1]),E.unshift(ee[2])),E.length&&(s=`/`+E.join(`.`)+s),e.hostname=T.join(`.`);break}}}}e.hostname.length>ep?e.hostname=``:e.hostname=e.hostname.toLowerCase(),y||(e.hostname=Wd(e.hostname)),h=e.port?`:`+e.port:``,e.host=(e.hostname||``)+h,e.href+=e.host,y&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),s[0]!==`/`&&(s=`/`+s))}if(!rp[u])for(f=0,m=Zf.length;f<m;f++){var D=Zf[f];if(s.indexOf(D)!==-1){var O=encodeURIComponent(D);O===D&&(O=escape(D)),s=s.split(D).join(O)}}var k=s.indexOf(`#`);k!==-1&&(e.hash=s.substr(k),s=s.slice(0,k));var A=s.indexOf(`?`);if(A===-1?n&&(e.search=``,e.query={}):(e.search=s.substr(A),e.query=s.substr(A+1),n&&(e.query=Uf(e.query)),s=s.slice(0,A)),s&&(e.pathname=s),ap[u]&&e.hostname&&!e.pathname&&(e.pathname=`/`),e.pathname||e.search){h=e.pathname||``;var te=e.search||``;e.path=h+te}return e.href=dp(e),e}function cp(e){if(typeof e==`string`)e=new qf().parse(e);else if(!(e instanceof qf))throw TypeError(`The "path" argument must be of type string or an instance of URL. Received type `+typeof e+String(e));if(e.protocol!==`file:`)throw TypeError(`The URL must be of scheme file`);return lp(e)}function lp(e){let t=e.pathname;for(let e=0;e<t.length;e++)if(t[e]===`%`){let n=t.codePointAt(e+2)|32;if(t[e+1]===`2`&&n===102)throw TypeError(`must not include encoded / characters`)}return decodeURIComponent(t)}function up(e){return hf(e)&&(e=sp({},e)),dp(e)}function dp(e){var t=e.auth||``;t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,`:`),t+=`@`);var n=e.protocol||``,r=e.pathname||``,i=e.hash||``,a=!1,o=``;e.host?a=t+e.host:e.hostname&&(a=t+(e.hostname.indexOf(`:`)===-1?e.hostname:`[`+this.hostname+`]`),e.port&&(a+=`:`+e.port)),e.query&&yf(e.query)&&Object.keys(e.query).length&&(o=Bf(e.query));var s=e.search||o&&`?`+o||``;return n&&n.substr(-1)!==`:`&&(n+=`:`),e.slashes||(!n||ap[n])&&a!==!1?(a=`//`+(a||``),r&&r.charAt(0)!==`/`&&(r=`/`+r)):a||=``,i&&i.charAt(0)!==`#`&&(i=`#`+i),s&&s.charAt(0)!==`?`&&(s=`?`+s),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace(`#`,`%23`),n+a+r+s+i}qf.prototype.format=function(){return dp(this)};function fp(e,t){return op(e,!1,!0).resolve(t)}qf.prototype.resolve=function(e){return this.resolveObject(op(e,!1,!0)).format()};function pp(e,t){return e?op(e,!1,!0).resolveObject(t):t}qf.prototype.resolveObject=function(e){if(hf(e)){var t=new qf;t.parse(e,!1,!0),e=t}for(var n=new qf,r=Object.keys(this),i=0;i<r.length;i++){var a=r[i];n[a]=this[a]}if(n.hash=e.hash,e.href===``)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),s=0;s<o.length;s++){var c=o[s];c!==`protocol`&&(n[c]=e[c])}return ap[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname=`/`),n.href=n.format(),n}var l;if(e.protocol&&e.protocol!==n.protocol){if(!ap[e.protocol]){for(var u=Object.keys(e),d=0;d<u.length;d++){var f=u[d];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,!e.host&&!ip[e.protocol]){for(l=(e.pathname||``).split(`/`);l.length&&!(e.host=l.shift()););e.host||=``,e.hostname||=``,l[0]!==``&&l.unshift(``),l.length<2&&l.unshift(``),n.pathname=l.join(`/`)}else n.pathname=e.pathname;return n.search=e.search,n.query=e.query,n.host=e.host||``,n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,(n.pathname||n.search)&&(n.path=(n.pathname||``)+(n.search||``)),n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var p=n.pathname&&n.pathname.charAt(0)===`/`,m=e.host||e.pathname&&e.pathname.charAt(0)===`/`,h=m||p||n.host&&e.pathname,g=h,_=n.pathname&&n.pathname.split(`/`)||[],v=n.protocol&&!ap[n.protocol];l=e.pathname&&e.pathname.split(`/`)||[],v&&(n.hostname=``,n.port=null,n.host&&(_[0]===``?_[0]=n.host:_.unshift(n.host)),n.host=``,e.protocol&&(e.hostname=null,e.port=null,e.host&&(l[0]===``?l[0]=e.host:l.unshift(e.host)),e.host=null),h&&=l[0]===``||_[0]===``);var y;if(m)n.host=e.host||e.host===``?e.host:n.host,n.hostname=e.hostname||e.hostname===``?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=l;else if(l.length)_||=[],_.pop(),_=_.concat(l),n.search=e.search,n.query=e.query;else if(!pf(e.search))return v&&(n.hostname=n.host=_.shift(),y=n.host&&n.host.indexOf(`@`)>0?n.host.split(`@`):!1,y&&(n.auth=y.shift(),n.host=n.hostname=y.shift())),n.search=e.search,n.query=e.query,(!ff(n.pathname)||!ff(n.search))&&(n.path=(n.pathname?n.pathname:``)+(n.search?n.search:``)),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path=`/`+n.search:n.path=null,n.href=n.format(),n;for(var b=_.slice(-1)[0],x=(n.host||e.host||_.length>1)&&(b===`.`||b===`..`)||b===``,S=0,C=_.length;C>=0;C--)b=_[C],b===`.`?_.splice(C,1):b===`..`?(_.splice(C,1),S++):S&&(_.splice(C,1),S--);if(!h&&!g)for(;S--;)_.unshift(`..`);h&&_[0]!==``&&(!_[0]||_[0].charAt(0)!==`/`)&&_.unshift(``),x&&_.join(`/`).substr(-1)!==`/`&&_.push(``);var w=_[0]===``||_[0]&&_[0].charAt(0)===`/`;return v&&(n.hostname=n.host=w?``:_.length?_.shift():``,y=n.host&&n.host.indexOf(`@`)>0?n.host.split(`@`):!1,y&&(n.auth=y.shift(),n.host=n.hostname=y.shift())),h||=n.host&&_.length,h&&!w&&_.unshift(``),_.length?n.pathname=_.join(`/`):(n.pathname=null,n.path=null),(!ff(n.pathname)||!ff(n.search))&&(n.path=(n.pathname?n.pathname:``)+(n.search?n.search:``)),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},qf.prototype.parseHost=function(){return mp(this)};function mp(e){var t=e.host,n=Yf.exec(t);n&&(n=n[0],n!==`:`&&(e.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(e.hostname=t)}var hp=Object.freeze({__proto__:null,URL:Wf,URLSearchParams:Gf,Url:qf,default:Kf,fileURLToPath:cp,format:up,parse:op,resolve:fp,resolveObject:pp});function gp(e){let t=e.charAt(0);return t===`.`||t===`~`||t===`@`||t===`#`}var _p=/^(?:https?:)?\/\//;function vp(e){return _p.test(e)}var yp=/^\s*data:/i;function bp(e){return yp.test(e)}function xp(e){try{return decodeURIComponent(e)}catch{return e}}function Sp(e){if(e.charAt(0)===`~`){let t=e.charAt(1);e=e.slice(t===`/`?2:1)}return Cp(e)}function Cp(e){return op(I(e)?e:``,!1,!0)}var wp=Object.defineProperty,Tp=Object.defineProperties,Ep=Object.getOwnPropertyDescriptors,Dp=Object.getOwnPropertySymbols,Op=Object.prototype.hasOwnProperty,kp=Object.prototype.propertyIsEnumerable,Ap=(e,t,n)=>t in e?wp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jp=(e,t)=>{for(var n in t||={})Op.call(t,n)&&Ap(e,n,t[n]);if(Dp)for(var n of Dp(t))kp.call(t,n)&&Ap(e,n,t[n]);return e},Mp=(e,t)=>Tp(e,Ep(t)),Np={video:[`src`,`poster`],source:[`src`],img:[`src`]},Pp={base:null,includeAbsolute:!1,tags:Mp(jp({},Np),{image:[`xlink:href`,`href`],use:[`xlink:href`,`href`]})},Fp=e=>Object.keys(e).some(t=>F(e[t]))?Mp(jp({},Pp),{tags:e}):jp(jp({},Pp),e),Ip=e=>(t,n)=>Rp(t,n,e);function Lp(e,t){return!!Np[e]?.includes(t)}var Rp=(e,t,n=Pp)=>{if(e.type===1){if(!e.props.length)return;let r=n.tags||Pp.tags,i=r[e.tag],a=r[`*`];if(!i&&!a)return;let o=(i||[]).concat(a||[]);e.props.forEach((r,i)=>{if(r.type!==6||!o.includes(r.name)||!r.value)return;let a=r.value.content,s=a[0]===`#`;if(vp(a)||bp(a)||a===`#`||s&&!Lp(e.tag,r.name)||!n.includeAbsolute&&!gp(a))return;let c=Sp(a);if(n.base&&a[0]===`.`){let e=Sp(n.base),t=e.protocol||``,i=e.host?t+`//`+e.host:``,a=e.path||`/`;r.value.content=i+(vd.posix||vd).join(a,c.path+(c.hash||``));return}let l=Bp(c.path,c.hash,r.loc,t);e.props[i]={type:7,name:`bind`,arg:B(r.name,!0,r.loc),exp:l,modifiers:[],loc:r.loc}})}};function zp(e,t,n){let r=xp(e),i=n.imports.findIndex(e=>e.path===r);if(i>-1)return{name:`_imports_${i}`,exp:n.imports[i].exp};let a=`_imports_${n.imports.length}`,o=B(a,!1,t,3);return n.imports.push({exp:o,path:r}),{name:a,exp:o}}function Bp(e,t,n,r){if(!e&&!t)return B(`''`,!1,n,3);if(!e&&t){let{exp:e}=zp(t,n,r);return e}if(e&&!t){let{exp:t}=zp(e,n,r);return t}let{name:i}=zp(e,n,r),a=`${i} + '${t}'`,o=B(a,!1,n,3);if(!r.hoistStatic)return o;let s=r.hoists.findIndex(e=>e&&e.type===4&&!e.isStatic&&e.content===a);return s>-1?B(`_hoisted_${s+1}`,!1,n,3):r.hoist(o)}var Vp=[`img`,`source`],Hp=/( |\\t|\\n|\\f|\\r)+/g,Up=e=>(t,n)=>Wp(t,n,e),Wp=(e,t,n=Pp)=>{e.type===1&&Vp.includes(e.tag)&&e.props.length&&e.props.forEach((r,i)=>{if(r.name===`srcset`&&r.type===6){if(!r.value)return;let a=r.value.content;if(!a)return;let o=a.split(`,`).map(e=>{let[t,n]=e.replace(Hp,` `).trim().split(` `,2);return{url:t,descriptor:n}});for(let e=0;e<o.length;e++){let{url:t}=o[e];bp(t)&&(o[e+1].url=t+`,`+o[e+1].url,o.splice(e,1))}let s=e=>e&&!vp(e)&&!bp(e)&&(n.includeAbsolute||gp(e));if(!o.some(({url:e})=>s(e)))return;if(n.base){let e=n.base,t=[],i=!1;if(o.forEach(n=>{let{url:r,descriptor:a}=n;a=a?` ${a}`:``,r[0]===`.`?(n.url=(vd.posix||vd).join(e,r),t.push(n.url+a)):s(r)?i=!0:t.push(r+a)}),!i){r.value.content=t.join(`, `);return}}let c=sn([],r.loc);o.forEach(({url:e,descriptor:n},i)=>{if(s(e)){let{path:n,hash:i}=Sp(e),a=n||i;if(a){let e=xp(a),o=t.imports.findIndex(t=>t.path===e),s;o>-1?s=B(`_imports_${o}`,!1,r.loc,3):(s=B(`_imports_${t.imports.length}`,!1,r.loc,3),t.imports.push({exp:s,path:e})),n&&i&&(s=B(`${s.content} + '${i}'`,!1,r.loc,3)),c.children.push(s)}}else{let t=B(`"${e}"`,!1,r.loc,3);c.children.push(t)}let a=o.length-1>i;n&&a?c.children.push(` + ' ${n}, ' + `):n?c.children.push(` + ' ${n}'`):a&&c.children.push(` + ', ' + `)});let l=c;t.hoistStatic&&(l=t.hoist(c),l.constType=3),e.props[i]={type:7,name:`bind`,arg:B(`srcset`,!0,r.loc),exp:l,modifiers:[],loc:r.loc}}})},Gp=Symbol(`ssrInterpolate`),Kp=Symbol(`ssrRenderVNode`),qp=Symbol(`ssrRenderComponent`),Jp=Symbol(`ssrRenderSlot`),Yp=Symbol(`ssrRenderSlotInner`),Xp=Symbol(`ssrRenderClass`),Zp=Symbol(`ssrRenderStyle`),Qp=Symbol(`ssrRenderAttrs`),$p=Symbol(`ssrRenderAttr`),em=Symbol(`ssrRenderDynamicAttr`),tm=Symbol(`ssrRenderList`),nm=Symbol(`ssrIncludeBooleanAttr`),rm=Symbol(`ssrLooseEqual`),im=Symbol(`ssrLooseContain`),am=Symbol(`ssrRenderDynamicModel`),om=Symbol(`ssrGetDynamicModelProps`),sm=Symbol(`ssrRenderTeleport`),cm=Symbol(`ssrRenderSuspense`),lm=Symbol(`ssrGetDirectiveProps`),um={[Gp]:`ssrInterpolate`,[Kp]:`ssrRenderVNode`,[qp]:`ssrRenderComponent`,[Jp]:`ssrRenderSlot`,[Yp]:`ssrRenderSlotInner`,[Xp]:`ssrRenderClass`,[Zp]:`ssrRenderStyle`,[Qp]:`ssrRenderAttrs`,[$p]:`ssrRenderAttr`,[em]:`ssrRenderDynamicAttr`,[tm]:`ssrRenderList`,[nm]:`ssrIncludeBooleanAttr`,[rm]:`ssrLooseEqual`,[im]:`ssrLooseContain`,[am]:`ssrRenderDynamicModel`,[om]:`ssrGetDynamicModelProps`,[sm]:`ssrRenderTeleport`,[cm]:`ssrRenderSuspense`,[lm]:`ssrGetDirectiveProps`};Xt(um);var dm=bo(/^(?:if|else|else-if)$/,zs);function fm(e,t,n=!1,r=!1){let[i]=e.branches,a=pn(i.condition,pm(i,t,n));t.pushStatement(a);let o=a;for(let r=1;r<e.branches.length;r++){let i=e.branches[r],a=pm(i,t,n);i.condition?o=o.alternate=pn(i.condition,a):o.alternate=a}!o.alternate&&!r&&(o.alternate=dn([V(`_push`,["`<!---->`"])]))}function pm(e,t,n=!1){let{children:r}=e;return fh(e,t,!n&&(r.length!==1||r[0].type!==1)&&!(r.length===1&&r[0].type===11))}var mm=bo(`for`,Ks);function hm(e,t,n=!1){let r=!n&&(e.children.length!==1||e.children[0].type!==1),i=cn(Js(e.parseResult));i.body=fh(e,t,r),n||t.pushStringPart(`<!--[-->`),t.pushStatement(V(t.helper(tm),[e.source,i])),n||t.pushStringPart(`<!--]-->`)}var gm=(e,t)=>{if(fa(e)){let{slotName:n,slotProps:r}=mc(e,t),i=[`_ctx.$slots`,n,r||`{}`,`null`,`_push`,`_parent`];t.scopeId&&t.slotted!==!1&&i.push(`"${t.scopeId}-s"`);let a=Jp,o=t.parent;if(o){let e=o.children;o.type===10&&(o=t.grandParent);let n;o.type===1&&o.tagType===1&&((n=ac(o,t,!0))===Rc||n===zc)&&e.filter(e=>e.type===1).length===1&&(a=Yp,t.scopeId&&t.slotted!==!1||i.push(`null`),i.push(`true`))}e.ssrCodegenNode=V(t.helper(a),i)}};function _m(e,t){let n=e.ssrCodegenNode;if(e.children.length){let r=cn([]);r.body=fh(e,t),n.arguments[3]=r}if(t.withSlotScopeId){let e=n.arguments[6];n.arguments[6]=e?`${e} + _scopeId`:`_scopeId`}t.pushStatement(e.ssrCodegenNode)}function vm(e,t){return W(e,t,ym)}var ym={65:`Unsafe attribute name for SSR.`,66:`Missing the 'to' prop on teleport element.`,67:`Invalid AST node during SSR transform.`};function bm(e,t){let n=aa(e,`to`);if(!n){t.onError(vm(66,e.loc));return}let r;if(r=n.type===6?n.value&&B(n.value.content,!0):n.exp,!r){t.onError(vm(66,n.loc));return}let i=aa(e,`disabled`,!1,!0),a=i?i.type===6?`true`:i.exp||`false`:`false`,o=cn([`_push`],void 0,!0,!1,e.loc);o.body=fh(e,t),t.pushStatement(V(t.helper(sm),[`_push`,o,r,a,`_parent`]))}var xm=new WeakMap;function Sm(e,t){return()=>{if(e.children.length){let n={slotsExp:null,wipSlots:[]};xm.set(e,n),n.slotsExp=ec(e,t,(e,t,r,i)=>{let a=cn([],void 0,!0,!1,i);return n.wipSlots.push({fn:a,children:r}),a}).slots}}}function Cm(e,t){let n=xm.get(e);if(!n)return;let{slotsExp:r,wipSlots:i}=n;for(let e=0;e<i.length;e++){let n=i[e];n.fn.body=fh(n,t)}t.pushStatement(V(t.helper(cm),[`_push`,r]))}var wm=new WeakMap,Tm=(e,t)=>{if(!(e.type!==1||e.tagType!==0))return function(){let n=[`<${e.tag}`],r=e.tag===`textarea`||e.tag.indexOf(`-`)>0,i=sa(e),a=e.props.some(e=>e.type===7&&!ve(e.name)),o=e.props.findIndex(e=>e.type===7&&e.name===`show`);if(o!==-1){let t=e.props[o];e.props.splice(o,1),e.props.push(t)}let s=i||a;if(s){let{props:i,directives:a}=sc(e,t,e.props,!1,!1,!0);if(i||a.length){let o=Em(i,a,t),s=V(t.helper(Qp),[o]);if(e.tag===`textarea`){let n=e.children[0];if(!Mm(e)&&(!n||n.type!==5)){let r=`_temp${t.temps++}`;s.arguments=[mn(B(r,!1),o)],wm.set(e,V(t.helper(Gp),[ln(B(`"value" in ${r}`,!1),B(`${r}.value`,!1),B(n?n.content:``,!0),!1)]))}}else if(e.tag===`input`){let n=jm(e);if(n){let e=B(`_temp${t.temps++}`,!1);s.arguments=[hn([mn(e,o),V(t.helper(Mt),[e,V(t.helper(om),[e,n.exp])])])]}}else if(a.length&&!e.children.length&&!Mm(e)){let n=`_temp${t.temps++}`;s.arguments=[mn(B(n,!1),o)],wm.set(e,ln(B(`"textContent" in ${n}`,!1),V(t.helper(Gp),[B(`${n}.textContent`,!1)]),B(`${n}.innerHTML ?? ''`,!1),!1))}r&&s.arguments.push(`"${e.tag}"`),n.push(s)}}let c,l,u;for(let i=0;i<e.props.length;i++){let a=e.props[i];if(!(e.tag===`input`&&Dm(a)))if(a.type===7){if(a.name===`html`&&a.exp)wm.set(e,sn([`(`,a.exp,`) ?? ''`]));else if(a.name===`text`&&a.exp)e.children=[on(a.exp,a.loc)];else if(a.name===`slot`)t.onError(W(40,a.loc));else if(Om(e,a)&&a.exp)s||(e.children=[on(a.exp,a.loc)]);else if(!s&&a.name!==`on`){let i=t.directiveTransforms[a.name];if(i){let{props:o,ssrTagParts:s}=i(a,e,t);s&&n.push(...s);for(let i=0;i<o.length;i++){let{key:a,value:s}=o[i];if(Vi(a)){let r=a.content;if(r===`key`||r===`ref`)continue;r===`class`?n.push(` class="`,c=V(t.helper(Xp),[s]),`"`):r===`style`?u?km(u,s):n.push(` style="`,u=V(t.helper(Zp),[s]),`"`):(r=e.tag.indexOf(`-`)>0?r:Qe[r]||r.toLowerCase(),L(r)?n.push(ln(V(t.helper(nm),[s]),B(` `+r,!0),B(``,!0),!1)):Ze(r)?n.push(V(t.helper($p),[a,s])):t.onError(vm(65,a.loc)))}else{let i=[a,s];r&&i.push(`"${e.tag}"`),n.push(V(t.helper(em),i))}}}}}else{let t=a.name;if(e.tag===`textarea`&&t===`value`&&a.value)wm.set(e,rt(a.value.content));else if(!s){if(t===`key`||t===`ref`)continue;t===`class`&&a.value&&(l=JSON.stringify(a.value.content)),n.push(` ${a.name}`+(a.value?`="${rt(a.value.content)}"`:``))}}}c&&l&&(km(c,l),Am(n,`class`)),t.scopeId&&n.push(` ${t.scopeId}`),e.ssrCodegenNode=fn(n)}};function Em(e,t,n){let r=[];if(e&&(e.type===14?r=e.arguments:r.push(e)),t.length)for(let e of t)r.push(V(n.helper(lm),[`_ctx`,...uc(e,n).elements]));return r.length>1?V(n.helper(Mt),r):r[0]}function Dm(e){return e.type===7?e.name===`bind`&&e.arg&&Vi(e.arg)&&(e.arg.content===`true-value`||e.arg.content===`false-value`):e.name===`true-value`||e.name===`false-value`}function Om(e,t){return!!(e.tag===`textarea`&&t.name===`bind`&&oa(t.arg,`value`))}function km(e,t){let n=e.arguments[0];n.type===17?n.elements.push(t):e.arguments[0]=rn([n,t])}function Am(e,t){let n=RegExp(`^ ${t}=".+"$`),r=e.findIndex(e=>typeof e==`string`&&n.test(e));r>-1&&e.splice(r,1)}function jm(e){return e.props.find(e=>e.type===7&&e.name===`model`&&e.exp)}function Mm(e){return!!G(e,`text`)||!!G(e,`html`)}function Nm(e,t){let n=t.options.isVoidTag||ae,r=e.ssrCodegenNode.elements;for(let e=0;e<r.length;e++)t.pushStringPart(r[e]);t.withSlotScopeId&&t.pushStringPart(B(`_scopeId`,!1)),t.pushStringPart(`>`);let i=wm.get(e);i?t.pushStringPart(i):e.children.length&&dh(e,t),n(e.tag)||t.pushStringPart(`</${e.tag}>`)}var Pm=new WeakMap;function Fm(e,t){return()=>{let n=aa(e,`tag`);if(n){let{props:r,directives:i}=sc(e,t,e.props.filter(e=>e!==n),!0,!1,!0),a=null;(r||i.length)&&(a=V(t.helper(Qp),[Em(r,i,t)])),Pm.set(e,{tag:n,propsExp:a,scopeId:t.scopeId||null})}}}function Im(e,t){let n=Pm.get(e);if(n){let{tag:r,propsExp:i,scopeId:a}=n;r.type===7?(t.pushStringPart(`<`),t.pushStringPart(r.exp),i&&t.pushStringPart(i),a&&t.pushStringPart(` ${a}`),t.pushStringPart(`>`),dh(e,t,!1,!0,!0),t.pushStringPart(`</`),t.pushStringPart(r.exp),t.pushStringPart(`>`)):(t.pushStringPart(`<${r.value.content}`),i&&t.pushStringPart(i),a&&t.pushStringPart(` ${a}`),t.pushStringPart(`>`),dh(e,t,!1,!0,!0),t.pushStringPart(`</${r.value.content}>`))}else dh(e,t,!0,!0,!0)}var Lm=new WeakMap;function Rm(e,t){return()=>{let t=aa(e,`appear`,!1,!0);Lm.set(e,!!t)}}function zm(e,t){e.children=e.children.filter(e=>e.type!==3),Lm.get(e)?(t.pushStringPart(`<template>`),dh(e,t,!1,!0),t.pushStringPart(`</template>`)):dh(e,t,!1,!0)}var Bm=Object.defineProperty,Vm=Object.defineProperties,Hm=Object.getOwnPropertyDescriptors,Um=Object.getOwnPropertySymbols,Wm=Object.prototype.hasOwnProperty,Gm=Object.prototype.propertyIsEnumerable,Km=(e,t,n)=>t in e?Bm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qm=(e,t)=>{for(var n in t||={})Wm.call(t,n)&&Km(e,n,t[n]);if(Um)for(var n of Um(t))Gm.call(t,n)&&Km(e,n,t[n]);return e},Jm=(e,t)=>Vm(e,Hm(t)),Ym=new WeakMap,Xm=Symbol(),Zm=new WeakMap,Qm=(e,t)=>{if(e.type!==1||e.tagType!==1)return;let n=ac(e,t,!0),r=pe(n)&&n.callee===wt;if(Zm.set(e,n),fe(n))return n===ft?Sm(e,t):n===zc?Fm(e,t):n===Rc?Rm(e):void 0;let i=[],a=sh(e);return function(){a.children.length&&ec(a,t,(e,n,r)=>(i.push(ah(e,n,r,t)),cn(void 0)));let o=`null`;if(e.props.length){let{props:n,directives:i}=sc(e,t,void 0,!0,r);(n||i.length)&&(o=Em(n,i,t))}let s=[];Ym.set(e,s);let c=e.children.length?ec(e,t,(e,t,n,r)=>{let a=cn([e&&Is(e)||`_`,`_push`,`_parent`,`_scopeId`],void 0,!0,!0,r);return s.push({type:Xm,fn:a,children:n,vnodeBranch:i[s.length]}),a}).slots:`null`;typeof n==`string`?e.ssrCodegenNode=V(t.helper(qp),[n,o,c,`_parent`]):e.ssrCodegenNode=V(t.helper(Kp),[`_push`,V(t.helper(vt),[n,o,c]),`_parent`])}};function $m(e,t,n){let r=Zm.get(e);if(e.ssrCodegenNode){let n=Ym.get(e)||[];for(let e=0;e<n.length;e++){let{fn:r,vnodeBranch:i}=n[e];r.body=pn(B(`_push`,!1),fh(n[e],t,!1,!0),i)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push(`_scopeId`),typeof r==`string`?t.pushStatement(V(`_push`,[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(r===dt)return bm(e,t);if(r===ft)return Cm(e,t);if(r===zc)return Im(e,t);if(n.type===Xm&&t.pushStringPart(``),r===Rc)return zm(e,t);dh(e,t)}}var eh=new WeakMap,[th,nh]=Ec(!0),rh=[...th,...Cl],ih=qm(qm({},nh),wl);function ah(e,t,n,r){let i=eh.get(r.root),a=Jm(qm({},i),{nodeTransforms:[...rh,...i.nodeTransforms||[]],directiveTransforms:qm(qm({},ih),i.directiveTransforms||{})}),o=[];return e&&o.push({type:7,name:`slot`,exp:e,arg:void 0,modifiers:[],loc:R}),t&&o.push(oe({},t)),oh({type:1,ns:0,tag:`template`,tagType:3,props:o,children:n,loc:R,codegenNode:void 0},a,r),gn(n)}function oh(e,t,n){let r=tn([e]),i=ho(r,t);i.ssr=!1,i.scopes=qm({},n.scopes),i.identifiers=qm({},n.identifiers),i.imports=n.imports,yo(r,i),[`helpers`,`components`,`directives`].forEach(e=>{i[e].forEach((t,r)=>{if(e===`helpers`){let e=n.helpers.get(r);e===void 0?n.helpers.set(r,t):n.helpers.set(r,t+e)}else n[e].add(t)})})}function sh(e){if(F(e))return e.map(sh);if(ge(e)){let t={};for(let n in e)t[n]=sh(e[n]);return t}else return e}function ch(e,t){let n=lh(e,t);if(t.ssrCssVars){let r=ho(tn([]),t),i=Ps(B(t.ssrCssVars,!1),r);n.body.push(sn([`const _cssVars = { style: `,i,`}`])),Array.from(r.helpers.keys()).forEach(t=>{e.helpers.add(t)})}dh(e,n,e.children.length>1&&e.children.some(e=>!ca(e))),e.codegenNode=dn(n.body),e.ssrHelpers=Array.from(new Set([...Array.from(e.helpers).filter(e=>e in um),...n.helpers])),e.helpers=new Set(Array.from(e.helpers).filter(e=>!(e in um)))}function lh(e,t,n=new Set,r=!1){let i=[],a=null;return{root:e,options:t,body:i,helpers:n,withSlotScopeId:r,onError:t.onError||(e=>{throw e}),helper(e){return n.add(e),e},pushStringPart(e){if(!a){let e=V(`_push`);i.push(e),a=fn([]),e.arguments.push(a)}let t=a.elements,n=t[t.length-1];I(e)&&I(n)?t[t.length-1]+=e:t.push(e)},pushStatement(e){a=null,i.push(e)}}}function uh(e,t=e.withSlotScopeId){return lh(e.root,e.options,e.helpers,t)}function dh(e,t,n=!1,r=!1,i=!1){n&&t.pushStringPart(`<!--[-->`);let{children:a}=e;for(let n=0;n<a.length;n++){let o=a[n];switch(o.type){case 1:switch(o.tagType){case 0:Nm(o,t);break;case 1:$m(o,t,e);break;case 2:_m(o,t);break;case 3:break;default:return t.onError(vm(67,o.loc)),o}break;case 2:t.pushStringPart(rt(o.content));break;case 3:i||t.pushStringPart(`<!--${o.content}-->`);break;case 5:t.pushStringPart(V(t.helper(Gp),[o.content]));break;case 9:fm(o,t,r,i);break;case 11:hm(o,t,r);break;case 10:break;case 12:case 8:break;default:return t.onError(vm(67,o.loc)),o}}n&&t.pushStringPart(`<!--]-->`)}function fh(e,t,n=!1,r=t.withSlotScopeId){let i=uh(t,r);return dh(e,i,n),dn(i.body)}var ph=(e,t,n)=>{let r=e.exp;function i(){let e=aa(t,`value`);e&&n.onError(Uc(61,e.loc))}let a=e=>{e.forEach(e=>{e.type===1?o(e):e.type===11?a(e.children):e.type===9&&e.branches.forEach(e=>a(e.children))})};function o(e){if(e.tag===`option`){if(e.props.findIndex(e=>e.name===`selected`)===-1){let t=mh(e);e.ssrCodegenNode.elements.push(ln(V(n.helper(nm),[ln(V(`Array.isArray`,[r]),V(n.helper(im),[r,t]),V(n.helper(rm),[r,t]))]),B(` selected`,!0),B(``,!0),!1))}}else e.tag===`optgroup`&&a(e.children)}if(t.tagType===0){let o={props:[]};if(t.tag===`input`){let a=[z(`value`,r)],s=aa(t,`type`);if(s){let c=mh(t);if(s.type===7)o.ssrTagParts=[V(n.helper(am),[s.exp,r,c])];else if(s.value)switch(s.value.content){case`radio`:o.props=[z(`checked`,V(n.helper(rm),[r,c]))];break;case`checkbox`:let s=aa(t,`true-value`);if(s){let e=s.type===6?JSON.stringify(s.value.content):s.exp;o.props=[z(`checked`,V(n.helper(rm),[r,e]))]}else o.props=[z(`checked`,ln(V(`Array.isArray`,[r]),V(n.helper(im),[r,c]),r))];break;case`file`:n.onError(Uc(60,e.loc));break;default:i(),o.props=a;break}}else sa(t)||(i(),o.props=a)}else t.tag===`textarea`?(i(),t.children=[on(r,r.loc)]):t.tag===`select`?a(t.children):n.onError(Uc(58,e.loc));return o}else return xc(e,t,n)};function mh(e){let t=aa(e,`value`);return t?t.type===7?t.exp:B(t.value.content,!0):B(`null`,!1)}var hh=(e,t,n)=>(e.exp||n.onError(Uc(62)),{props:[z(`style`,ln(e.exp,B(`null`,!1),an([z(`display`,B(`none`,!0))]),!1))]}),gh=e=>e.children.filter(e=>!Ca(e)),_h=e=>gh(e).length===1,vh=(e,t)=>{if(e.type===0&&(t.identifiers._attrs=1),e.type===1&&e.tagType===1&&(e.tag===`transition`||e.tag===`Transition`||e.tag===`KeepAlive`||e.tag===`keep-alive`)){let n=gh(t.root);if(n.length===1&&n[0]===e){_h(e)&&yh(e.children[0]);return}}let n=t.parent;if(!(!n||n.type!==0))if(e.type===10&&_h(e)){let t=!1;for(let e of gh(n))if(e.type===9||e.type===1&&G(e,`if`)){if(t)return;t=!0}else if(!t||!(e.type===1&&G(e,/else/,!0)))return;yh(e.children[0])}else _h(n)&&yh(e)};function yh(e){e.type===1&&(e.tagType===0||e.tagType===1)&&!G(e,`for`)&&e.props.push({type:7,name:`bind`,arg:void 0,exp:B(`_attrs`,!1),modifiers:[],loc:R})}var bh=(e,t)=>{if(!t.ssrCssVars)return;e.type===0&&(t.identifiers._cssVars=1);let n=t.parent;if(!(!n||n.type!==0))if(e.type===10)for(let t of e.children)xh(t);else xh(e)};function xh(e){if(e.type===1&&(e.tagType===0||e.tagType===1)&&!G(e,`for`))if(e.tag===`suspense`||e.tag===`Suspense`)for(let t of e.children)t.type===1&&t.tagType===3?t.children.forEach(xh):xh(t);else e.props.push({type:7,name:`bind`,arg:void 0,exp:B(`_cssVars`,!1),modifiers:[],loc:R})}var Sh=Object.defineProperty,Ch=Object.defineProperties,wh=Object.getOwnPropertyDescriptors,Th=Object.getOwnPropertySymbols,Eh=Object.prototype.hasOwnProperty,Dh=Object.prototype.propertyIsEnumerable,Oh=(e,t,n)=>t in e?Sh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kh=(e,t)=>{for(var n in t||={})Eh.call(t,n)&&Oh(e,n,t[n]);if(Th)for(var n of Th(t))Dh.call(t,n)&&Oh(e,n,t[n]);return e},Ah=(e,t)=>Ch(e,wh(t));function jh(e,t={}){t=Ah(kh(kh({},t),Bc),{ssr:!0,inSSR:!0,scopeId:t.mode===`function`?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});let n=typeof e==`string`?ao(e,t):e;return eh.set(n,t),go(n,Ah(kh({},t),{hoistStatic:!1,nodeTransforms:[Tc,dm,mm,Qs,Ns,gm,vh,bh,Tm,Qm,Zs,Vc,...t.nodeTransforms||[]],directiveTransforms:kh({bind:gc,on:hc,model:ph,show:hh,cloak:kc,once:kc,memo:kc},t.directiveTransforms||{})})),ch(n,t),is(n,t)}var Mh=Object.freeze({__proto__:null,compile:jh}),Nh=hi(Object.freeze({__proto__:null,default:{}})),Ph=hi(xd),Fh=hi(If),Ih={};function Lh(e){!(typeof process<`u`)&&!Ih[e]&&(Ih[e]=!0,Rh(e))}function Rh(e){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${e}\x1B[0m
|
|
53
|
-
`)}var zh=Object.defineProperty,Bh=Object.defineProperties,Vh=Object.getOwnPropertyDescriptors,Hh=Object.getOwnPropertySymbols,Uh=Object.prototype.hasOwnProperty,Wh=Object.prototype.propertyIsEnumerable,Gh=(e,t,n)=>t in e?zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kh=(e,t)=>{for(var n in t||={})Uh.call(t,n)&&Gh(e,n,t[n]);if(Hh)for(var n of Hh(t))Wh.call(t,n)&&Gh(e,n,t[n]);return e},qh=(e,t)=>Bh(e,Vh(t));function Jh({source:e,filename:t,preprocessOptions:n},r){let i=``,a=null;if(r.render(e,Kh({filename:t},n),(e,t)=>{e&&(a=e),i=t}),a)throw a;return i}function Yh(e){let{preprocessLang:t,preprocessCustomRequire:n}=e;if(t&&!n)throw Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");let r=t?n?n(t):void 0:!1;if(r)try{return Xh(qh(Kh({},e),{source:Jh(e,r),ast:void 0}))}catch(t){return{code:`export default function render() {}`,source:e.source,tips:[],errors:[t]}}else if(t)return{code:`export default function render() {}`,source:e.source,tips:[`Component ${e.filename} uses lang ${t} for template. Please install the language preprocessor.`],errors:[`Component ${e.filename} uses lang ${t} for template, however it is not installed.`]};else return Xh(e)}function Xh({filename:e,id:t,scoped:n,slotted:r,inMap:i,source:a,ast:o,ssr:s=!1,ssrCssVars:c,isProd:l=!1,compiler:u,compilerOptions:d={},transformAssetUrls:f}){let p=[],m=[],h=[];if(pe(f)){let e=Fp(f);h=[Ip(e),Up(e)]}else f!==!1&&(h=[Rp,Wp]);s&&!c&&Lh("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),t||=(Lh("compileTemplate now requires the `id` option."),``);let g=t.replace(/^data-v-/,``),_=`data-v-${g}`,v=s?Mh:Dl;u||=v,u!==v&&(o=void 0),o?.transformed&&(o=tn((s?Dl:u).parse(o.source,qh(Kh({prefixIdentifiers:!0},d),{parseMode:`sfc`,onError:e=>p.push(e)})).children.find(e=>e.type===1&&e.tag===`template`).children,o.source));let{code:y,ast:b,preamble:x,map:S}=u.compile(o||a,qh(Kh({mode:`module`,prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:s&&c&&c.length?Nl(c,g,l,!0):``,scopeId:n?_:void 0,slotted:r,sourceMap:!0},d),{hmr:!l,nodeTransforms:h.concat(d.nodeTransforms||[]),filename:e,onError:e=>p.push(e),onWarn:e=>m.push(e)}));return i&&!o&&(S&&=Zh(i,S),p.length&&Qh(p,a,i)),{code:y,ast:b,preamble:x,source:a,errors:p,tips:m.map(e=>{let t=e.message;return e.loc&&(t+=`
|
|
54
|
-
${Ne(o?.source||a,e.loc.start.offset,e.loc.end.offset)}`),t}),map:S}}function Zh(e,t){if(!e)return t;if(!t)return e;let n=new es.SourceMapConsumer(e),r=new es.SourceMapConsumer(t),i=new es.SourceMapGenerator;r.eachMapping(e=>{if(e.originalLine==null)return;let t=n.originalPositionFor({line:e.originalLine,column:e.originalColumn});t.source!=null&&i.addMapping({generated:{line:e.generatedLine,column:e.generatedColumn},original:{line:t.line,column:e.originalColumn},source:t.source,name:t.name})});let a=i;return n.sources.forEach(e=>{a._sources.add(e);let t=n.sourceContentFor(e);t!=null&&i.setSourceContent(e,t)}),a._sourceRoot=e.sourceRoot,a._file=e.file,a.toJSON()}function Qh(e,t,n){let r=n.sourcesContent[0],i=r.indexOf(t),a=r.slice(0,i).split(/\r?\n/).length-1;e.forEach(e=>{e.loc&&(e.loc.start.line+=a,e.loc.start.offset+=i,e.loc.end!==e.loc.start&&(e.loc.end.line+=a,e.loc.end.offset+=i))})}var $h={exports:{}},eg;function tg(){if(eg)return $h.exports;eg=1;let e=Ou||{},t=e.argv||[],n=e.env||{},r=!(n.NO_COLOR||t.includes(`--no-color`))&&(!!n.FORCE_COLOR||t.includes(`--color`)||e.platform===`win32`||(e.stdout||{}).isTTY&&n.TERM!==`dumb`||!!n.CI),i=(e,t,n=e)=>r=>{let i=``+r,o=i.indexOf(t,e.length);return~o?e+a(i,t,n,o)+t:e+i+t},a=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},o=(e=r)=>{let t=e?i:()=>String;return{isColorSupported:e,reset:t(`\x1B[0m`,`\x1B[0m`),bold:t(`\x1B[1m`,`\x1B[22m`,`\x1B[22m\x1B[1m`),dim:t(`\x1B[2m`,`\x1B[22m`,`\x1B[22m\x1B[2m`),italic:t(`\x1B[3m`,`\x1B[23m`),underline:t(`\x1B[4m`,`\x1B[24m`),inverse:t(`\x1B[7m`,`\x1B[27m`),hidden:t(`\x1B[8m`,`\x1B[28m`),strikethrough:t(`\x1B[9m`,`\x1B[29m`),black:t(`\x1B[30m`,`\x1B[39m`),red:t(`\x1B[31m`,`\x1B[39m`),green:t(`\x1B[32m`,`\x1B[39m`),yellow:t(`\x1B[33m`,`\x1B[39m`),blue:t(`\x1B[34m`,`\x1B[39m`),magenta:t(`\x1B[35m`,`\x1B[39m`),cyan:t(`\x1B[36m`,`\x1B[39m`),white:t(`\x1B[37m`,`\x1B[39m`),gray:t(`\x1B[90m`,`\x1B[39m`),bgBlack:t(`\x1B[40m`,`\x1B[49m`),bgRed:t(`\x1B[41m`,`\x1B[49m`),bgGreen:t(`\x1B[42m`,`\x1B[49m`),bgYellow:t(`\x1B[43m`,`\x1B[49m`),bgBlue:t(`\x1B[44m`,`\x1B[49m`),bgMagenta:t(`\x1B[45m`,`\x1B[49m`),bgCyan:t(`\x1B[46m`,`\x1B[49m`),bgWhite:t(`\x1B[47m`,`\x1B[49m`),blackBright:t(`\x1B[90m`,`\x1B[39m`),redBright:t(`\x1B[91m`,`\x1B[39m`),greenBright:t(`\x1B[92m`,`\x1B[39m`),yellowBright:t(`\x1B[93m`,`\x1B[39m`),blueBright:t(`\x1B[94m`,`\x1B[39m`),magentaBright:t(`\x1B[95m`,`\x1B[39m`),cyanBright:t(`\x1B[96m`,`\x1B[39m`),whiteBright:t(`\x1B[97m`,`\x1B[39m`),bgBlackBright:t(`\x1B[100m`,`\x1B[49m`),bgRedBright:t(`\x1B[101m`,`\x1B[49m`),bgGreenBright:t(`\x1B[102m`,`\x1B[49m`),bgYellowBright:t(`\x1B[103m`,`\x1B[49m`),bgBlueBright:t(`\x1B[104m`,`\x1B[49m`),bgMagentaBright:t(`\x1B[105m`,`\x1B[49m`),bgCyanBright:t(`\x1B[106m`,`\x1B[49m`),bgWhiteBright:t(`\x1B[107m`,`\x1B[49m`)}};return $h.exports=o(),$h.exports.createColors=o,$h.exports}var ng,rg;function ig(){if(rg)return ng;rg=1;let e=/[\t\n\f\r "#'()/;[\\\]{}]/g,t=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,n=/.[\r\n"'(/\\]/,r=/[\da-f]/i;return ng=function(i,a={}){let o=i.css.valueOf(),s=a.ignoreErrors,c,l,u,d,f,p,m,h,g,_,v=o.length,y=0,b=[],x=[],S=-1;function C(){return y}function w(e){throw i.error(`Unclosed `+e,y)}function T(){return x.length===0&&y>=v}function E(i){if(x.length)return x.pop();if(y>=v)return;let a=i?i.ignoreUnclosed:!1;switch(c=o.charCodeAt(y),c){case 10:case 32:case 9:case 13:case 12:d=y;do d+=1,c=o.charCodeAt(d);while(c===32||c===10||c===9||c===13||c===12);p=[`space`,o.slice(y,d)],y=d-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(c);p=[e,e,y];break}case 40:if(_=b.length?b.pop()[1]:``,g=o.charCodeAt(y+1),_===`url`&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){d=y;do{if(m=!1,d=o.indexOf(`)`,d+1),d===-1)if(s||a){d=y;break}else w(`bracket`);for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`brackets`,o.slice(y,d+1),y,d],y=d}else y<=S?p=[`(`,`(`,y]:(d=o.indexOf(`)`,y+1),l=o.slice(y,d+1),d===-1||n.test(l)?(S=d===-1?v:d,p=[`(`,`(`,y]):(p=[`brackets`,l,y,d],y=d));break;case 39:case 34:f=c===39?`'`:`"`,d=y;do{if(m=!1,d=o.indexOf(f,d+1),d===-1)if(s||a){d=y+1;break}else w(`string`);for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`string`,o.slice(y,d+1),y,d],y=d;break;case 64:e.lastIndex=y+1,e.test(o),d=e.lastIndex===0?o.length-1:e.lastIndex-2,p=[`at-word`,o.slice(y,d+1),y,d],y=d;break;case 92:for(d=y,u=!0;o.charCodeAt(d+1)===92;)d+=1,u=!u;if(c=o.charCodeAt(d+1),u&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(d+=1,r.test(o.charAt(d)))){for(;r.test(o.charAt(d+1));)d+=1;o.charCodeAt(d+1)===32&&(d+=1)}p=[`word`,o.slice(y,d+1),y,d],y=d;break;default:c===47&&o.charCodeAt(y+1)===42?(d=o.indexOf(`*/`,y+2)+1,d===0&&(s||a?d=o.length:w(`comment`)),p=[`comment`,o.slice(y,d+1),y,d],y=d):(t.lastIndex=y+1,t.test(o),d=t.lastIndex===0?o.length-1:t.lastIndex-2,p=[`word`,o.slice(y,d+1),y,d],b.push(p),y=d);break}return y++,p}function ee(e){x.push(e)}return{back:ee,endOfFile:T,nextToken:E,position:C}},ng}var ag,og;function sg(){if(og)return ag;og=1;let e=tg(),t=ig(),n;function r(e){n=e}let i={";":e.yellow,":":e.yellow,"(":e.cyan,")":e.cyan,"[":e.yellow,"]":e.yellow,"{":e.yellow,"}":e.yellow,"at-word":e.cyan,brackets:e.cyan,call:e.cyan,class:e.yellow,comment:e.gray,hash:e.magenta,string:e.green};function a([e,t],n){if(e===`word`){if(t[0]===`.`)return`class`;if(t[0]===`#`)return`hash`}if(!n.endOfFile()){let e=n.nextToken();if(n.back(e),e[0]===`brackets`||e[0]===`(`)return`call`}return e}function o(e){let r=t(new n(e),{ignoreErrors:!0}),o=``;for(;!r.endOfFile();){let e=r.nextToken(),t=i[a(e,r)];t?o+=e[1].split(/\r?\n/).map(e=>t(e)).join(`
|
|
55
|
-
`):o+=e[1]}return o}return o.registerInput=r,ag=o,ag}var cg,lg;function ug(){if(lg)return cg;lg=1;let e=tg(),t=sg();class n extends Error{constructor(e,t,r,i,a,o){super(e),this.name=`CssSyntaxError`,this.reason=e,a&&(this.file=a),i&&(this.source=i),o&&(this.plugin=o),t!==void 0&&r!==void 0&&(typeof t==`number`?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+`: `:``,this.message+=this.file?this.file:`<css input>`,this.line!==void 0&&(this.message+=`:`+this.line+`:`+this.column),this.message+=`: `+this.reason}showSourceCode(n){if(!this.source)return``;let r=this.source;n??=e.isColorSupported;let i=e=>e,a=e=>e,o=e=>e;if(n){let{bold:n,gray:r,red:s}=e.createColors(!0);a=e=>n(s(e)),i=e=>r(e),t&&(o=e=>t(e))}let s=r.split(/\r?\n/),c=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),u=String(l).length;return s.slice(c,l).map((e,t)=>{let n=c+1+t,r=` `+(` `+n).slice(-u)+` | `;if(n===this.line){if(e.length>160){let t=Math.max(0,this.column-20),n=Math.max(this.column+20,this.endColumn+20),s=e.slice(t,n),c=i(r.replace(/\d/g,` `))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(s)+`
|
|
56
|
-
`+c+a(`^`)}let t=i(r.replace(/\d/g,` `))+e.slice(0,this.column-1).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(e)+`
|
|
57
|
-
`+t+a(`^`)}return` `+i(r)+o(e)}).join(`
|
|
58
|
-
`)}toString(){let e=this.showSourceCode();return e&&=`
|
|
59
|
-
|
|
60
|
-
`+e+`
|
|
61
|
-
`,this.name+`: `+this.message+e}}return cg=n,n.default=n,cg}var dg,fg;function pg(){if(fg)return dg;fg=1;let e=/(<)(\/?style\b)/gi,t=/(<)(!--)/g;function n(n){return typeof n!=`string`||!n.includes(`<`)?n:n.replace(e,`\\3c $2`).replace(t,`\\3c $2`)}let r={after:`
|
|
62
|
-
`,beforeClose:`
|
|
63
|
-
`,beforeComment:`
|
|
64
|
-
`,beforeDecl:`
|
|
65
|
-
`,beforeOpen:` `,beforeRule:`
|
|
66
|
-
`,colon:`: `,commentLeft:` `,commentRight:` `,emptyBody:``,indent:` `,semicolon:!1};function i(e){return e[0].toUpperCase()+e.slice(1)}class a{constructor(e){this.builder=e}atrule(e,t){let r=e.raws,i=`@`+e.name,a=e.params?this.rawValue(e,`params`):``;if(r.afterName===void 0?a&&(i+=` `):i+=r.afterName,e.nodes)this.block(e,i+a);else{let o=(r.between||``)+(t?`;`:``);this.builder(n(i+a+o),e)}}beforeAfter(e,t){let n;n=e.type===`decl`?this.raw(e,null,`beforeDecl`):e.type===`comment`?this.raw(e,null,`beforeComment`):t===`before`?this.raw(e,null,`beforeRule`):this.raw(e,null,`beforeClose`);let r=e.parent,i=0;for(;r&&r.type!==`root`;)i+=1,r=r.parent;if(n.includes(`
|
|
67
|
-
`)){let t=this.raw(e,null,`indent`);if(t.length)for(let e=0;e<i;e++)n+=t}return n}block(e,t){let r=this.raw(e,`between`,`beforeOpen`);this.builder(n(t+r)+`{`,e,`start`);let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,`after`)):i=this.raw(e,`after`,`emptyBody`),i&&this.builder(n(i)),this.builder(`}`,e,`end`)}body(e){let t=e.nodes,r=t.length-1;for(;r>0&&t[r].type===`comment`;)--r;let i=this.raw(e,`semicolon`),a=e.type===`document`;for(let e=0;e<t.length;e++){let o=t[e],s=this.raw(o,`before`);s&&this.builder(a?s:n(s)),this.stringify(o,r!==e||i)}}comment(e){let t=this.raw(e,`left`,`commentLeft`),r=this.raw(e,`right`,`commentRight`);this.builder(n(`/*`+t+e.text+r+`*/`),e)}decl(e,t){let r=e.raws,i=this.raw(e,`between`,`colon`),a=e.prop+i+this.rawValue(e,`value`);e.important&&(a+=r.important||` !important`),t&&(a+=`;`),this.builder(n(a),e)}document(e){this.body(e)}raw(e,t,n){let a;if(n||=t,t&&(a=e.raws[t],a!==void 0))return a;let o=e.parent;if(n===`before`&&(!o||o.type===`root`&&o.first===e||o&&o.type===`document`))return``;if(!o)return r[n];let s=e.root(),c=s.rawCache||={};if(c[n]!==void 0)return c[n];if(n===`before`||n===`after`)return this.beforeAfter(e,n);{let r=`raw`+i(n);this[r]?a=this[r](s,e):s.walk(e=>{if(a=e.raws[t],a!==void 0)return!1})}return a===void 0&&(a=r[n]),c[n]=a,a}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&e.raws.after!==void 0)return t=e.raws.after,t.includes(`
|
|
68
|
-
`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
|
|
69
|
-
`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeDecl`):n&&=n.replace(/\S/g,``),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(e.raws.before!==void 0)return n=e.raws.before,n.includes(`
|
|
70
|
-
`)&&(n=n.replace(/[^\n]+$/,``)),!1}),n===void 0?n=this.raw(t,null,`beforeRule`):n&&=n.replace(/\S/g,``),n}rawBeforeOpen(e){let t;return e.walk(e=>{if(e.type!==`decl`&&(t=e.raws.between,t!==void 0))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&n.raws.before!==void 0)return t=n.raws.before,t.includes(`
|
|
71
|
-
`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/\S/g,``),t}rawColon(e){let t;return e.walkDecls(e=>{if(e.raws.between!==void 0)return t=e.raws.between.replace(/[^\s:]/g,``),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length===0&&(t=e.raws.after,t!==void 0))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&n.raws.before!==void 0){let e=n.raws.before.split(`
|
|
72
|
-
`);return t=e[e.length-1],t=t.replace(/\S/g,``),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type===`decl`&&(t=e.raws.semicolon,t!==void 0))return!1}),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){if(this.body(e),e.raws.after){let t=e.raws.after,r=e.parent&&e.parent.type===`document`;this.builder(r?t:n(t))}}rule(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(n(e.raws.ownSemicolon),e,`end`)}stringify(e,t){if(!this[e.type])throw Error(`Unknown AST node type `+e.type+`. Maybe you need to change PostCSS stringifier.`);this[e.type](e,t)}}return dg=a,a.default=a,dg}var mg,hg;function gg(){if(hg)return mg;hg=1;let e=pg();function t(t,n){new e(n).stringify(t)}return mg=t,t.default=t,mg}var _g={},vg;function yg(){return vg?_g:(vg=1,_g.isClean=Symbol(`isClean`),_g.my=Symbol(`my`),_g)}var bg,xg;function Sg(){if(xg)return bg;xg=1;let e=ug(),t=pg(),n=gg(),{isClean:r,my:i}=yg();function a(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r===`proxyCache`)continue;let i=e[r],o=typeof i;r===`parent`&&o===`object`?t&&(n[r]=t):r===`source`?n[r]=i:Array.isArray(i)?n[r]=i.map(e=>a(e,n)):(o===`object`&&i!==null&&(i=a(i)),n[r]=i)}return n}function o(e,t){if(t&&t.offset!==void 0)return t.offset;let n=1,r=1,i=0;for(let a=0;a<e.length;a++){if(r===t.line&&n===t.column){i=a;break}e[a]===`
|
|
73
|
-
`?(n=1,r+=1):n+=1}return i}class s{get proxyOf(){return this}constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if(t===`nodes`){this.nodes=[];for(let n of e[t])typeof n.clone==`function`?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=a(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(t,n={}){if(this.source){let{end:e,start:r}=this.rangeBy(n);return this.source.input.error(t,{column:r.column,line:r.line},{column:e.column,line:e.line},n)}return new e(t)}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:t===`root`?()=>e.root().toProxy():e[t]},set(e,t,n){return e[t]===n?!0:(e[t]=n,(t===`prop`||t===`value`||t===`name`||t===`params`||t===`important`||t===`text`)&&e.markDirty(),!0)}}}markClean(){this[r]=!0}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=`document`in this.source.input?this.source.input.document:this.source.input.css,r=n.slice(o(n,this.source.start),o(n,this.source.end)).indexOf(e.word);r!==-1&&(t=this.positionInside(r))}return t}positionInside(e){let t=this.source.start.column,n=this.source.start.line,r=`document`in this.source.input?this.source.input.document:this.source.input.css,i=o(r,this.source.start),a=i+e;for(let e=i;e<a;e++)r[e]===`
|
|
74
|
-
`?(t=1,n+=1):t+=1;return{column:t,line:n,offset:a}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:o(t,this.source.start)},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset==`number`?this.source.end.offset:o(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let i=t.slice(o(t,this.source.start),o(t,this.source.end)).indexOf(e.word);i!==-1&&(n=this.positionInside(i),r=this.positionInside(i+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:o(t,e.start)}:e.index&&(n=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line,offset:o(t,e.end)}:typeof e.endIndex==`number`?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<n.line||r.line===n.line&&r.column<=n.column)&&(r={column:n.column+1,line:n.line,offset:n.offset+1}),{end:r,start:n}}raw(e,n){return new t().raw(this,e,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!==`document`;)e=e.parent;return e}toJSON(e,t){let n={},r=t==null;t||=new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||e===`parent`||e===`proxyCache`)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map(e=>typeof e==`object`&&e.toJSON?e.toJSON(null,t):e);else if(typeof r==`object`&&r.toJSON)n[e]=r.toJSON(null,t);else if(e===`source`){if(r==null)continue;let a=t.get(r.input);a??(a=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:a,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map(e=>e.toJSON())),n}toProxy(){return this.proxyCache||=new Proxy(this,this.getProxyProcessor()),this.proxyCache}toString(e=n){e.stringify&&(e=e.stringify);let t=``;return e(this,e=>{t+=e}),t}warn(e,t,n={}){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}}return bg=s,s.default=s,bg}var Cg,wg;function Tg(){if(wg)return Cg;wg=1;let e=Sg();class t extends e{constructor(e){super(e),this.type=`comment`}}return Cg=t,t.default=t,Cg}var Eg,Dg;function Og(){if(Dg)return Eg;Dg=1;let e=Sg();class t extends e{get variable(){return this.prop.startsWith(`--`)||this.prop[0]===`$`}constructor(e){e&&e.value!==void 0&&typeof e.value!=`string`&&(e={...e,value:String(e.value)}),super(e),this.type=`decl`}}return Eg=t,t.default=t,Eg}var kg,Ag;function jg(){if(Ag)return kg;Ag=1;let e=Tg(),t=Og(),n=Sg(),{isClean:r,my:i}=yg(),a,o,s,c;function l(e){return e.map(e=>(e.nodes&&=l(e.nodes),delete e.source,e))}function u(e){if(e[r]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)u(t)}class d extends n{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),n,r;for(;this.indexes[t]<this.proxyOf.nodes.length&&(n=this.indexes[t],r=e(this.proxyOf.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||=0,this.indexes||={},this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:e[t]?t===`each`||typeof t==`string`&&t.startsWith(`walk`)?(...n)=>e[t](...n.map(e=>typeof e==`function`?(t,n)=>e(t.toProxy(),n):e)):t===`every`||t===`some`?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):t===`root`?()=>e.root().toProxy():t===`nodes`?e.nodes.map(e=>e.toProxy()):t===`first`||t===`last`?e[t].toProxy():e[t]:e[t]},set(e,t,n){return e[t]===n?!0:(e[t]=n,(t===`name`||t===`params`||t===`selector`)&&e.markDirty(),!0)}}}index(e){return typeof e==`number`?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n=this.index(e),r=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n+1,0,e);let i;for(let e in this.indexes)i=this.indexes[e],n<i&&(this.indexes[e]=i+r.length);return this.markDirty(),this}insertBefore(e,t){let n=this.index(e),r=n===0?`prepend`:!1,i=this.normalize(t,this.proxyOf.nodes[n],r).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n,0,e);let a;for(let e in this.indexes)a=this.indexes[e],n<=a&&(this.indexes[e]=a+i.length);return this.markDirty(),this}normalize(n,s){if(typeof n==`string`)n=l(o(n).nodes);else if(n===void 0)n=[];else if(Array.isArray(n)){n=n.slice(0);for(let e of n)e.parent&&e.parent.removeChild(e,`ignore`)}else if(n.type===`root`&&this.type!==`document`){n=n.nodes.slice(0);for(let e of n)e.parent&&e.parent.removeChild(e,`ignore`)}else if(n.type)n=[n];else if(n.prop){if(n.value===void 0)throw Error(`Value field is missed in node creation`);typeof n.value!=`string`&&(n.value=String(n.value)),n=[new t(n)]}else if(n.selector||n.selectors)n=[new c(n)];else if(n.name)n=[new a(n)];else if(n.text)n=[new e(n)];else throw Error(`Unknown node type in node creation`);return n.map(e=>(e[i]||d.rebuild(e),e=e.proxyOf,e.parent&&e.parent.removeChild(e),e[r]&&u(e),e.raws||={},e.raws.before===void 0&&s&&s.raws.before!==void 0&&(e.raws.before=s.raws.before.replace(/\S/g,``)),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,`prepend`).reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return r!==!1&&t.walk&&(r=t.walk(e)),r})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`atrule`&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if(n.type===`atrule`&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`atrule`)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if(t.type===`comment`)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`decl`&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if(n.type===`decl`&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`decl`)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`rule`&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if(n.type===`rule`&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`rule`)return t(e,n)}))}}return d.registerParse=e=>{o=e},d.registerRule=e=>{c=e},d.registerAtRule=e=>{a=e},d.registerRoot=e=>{s=e},kg=d,d.default=d,d.rebuild=n=>{n.type===`atrule`?Object.setPrototypeOf(n,a.prototype):n.type===`rule`?Object.setPrototypeOf(n,c.prototype):n.type===`decl`?Object.setPrototypeOf(n,t.prototype):n.type===`comment`?Object.setPrototypeOf(n,e.prototype):n.type===`root`&&Object.setPrototypeOf(n,s.prototype),n[i]=!0,n.nodes&&n.nodes.forEach(e=>{d.rebuild(e)})},kg}var Mg,Ng;function Pg(){if(Ng)return Mg;Ng=1;let e=jg();class t extends e{constructor(e){super(e),this.type=`atrule`}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return Mg=t,t.default=t,e.registerAtRule(t),Mg}var Fg,Ig;function Lg(){if(Ig)return Fg;Ig=1;let e=jg(),t,n;class r extends e{constructor(e){super({type:`document`,...e}),this.nodes||=[]}toResult(e={}){return new t(new n,this,e).stringify()}}return r.registerLazyResult=e=>{t=e},r.registerProcessor=e=>{n=e},Fg=r,r.default=r,Fg}var Rg,zg;function Bg(){return zg?Rg:(zg=1,Rg={nanoid:(e=21)=>{let t=``,n=e|0;for(;n--;)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[Math.random()*64|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r=``,i=n|0;for(;i--;)r+=e[Math.random()*e.length|0];return r}},Rg)}var Vg=hi(hp),Hg,Ug;function Wg(){if(Ug)return Hg;Ug=1;let{existsSync:e,readFileSync:t}=Nh,{dirname:n,join:r}=Ph,{SourceMapConsumer:i,SourceMapGenerator:a}=$o();function o(e){return H?H.from(e,`base64`).toString():window.atob(e)}class s{constructor(e,t){if(t.map===!1)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,`data:`);let r=t.map?t.map.prev:void 0,i=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=n(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||=new i(this.json||this.text),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,r=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(r)return decodeURIComponent(e.substr(r[0].length));let i=e.match(t)||e.match(n);if(i)return o(e.substr(i[0].length));let a=e.slice(22);throw a=a.slice(0,a.indexOf(`,`)),Error(`Unsupported source map encoding `+a)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,``).trim()}isMap(e){return typeof e==`object`?typeof e.mappings==`string`||typeof e._mappings==`string`||Array.isArray(e.sections):!1}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf(`*/`,n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(r,i,a){if(!(!a&&!this.unsafeMap&&!/\.map$/i.test(r))&&(this.root=n(r),e(r)))return this.mapFile=r,t(r,`utf-8`).toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t==`string`)return t;if(typeof t==`function`){let n=t(e);if(n){let t=this.loadFile(n,e,!0);if(!t)throw Error(`Unable to load previous source map: `+n.toString());return t}}else if(t instanceof i)return a.fromSourceMap(t).toString();else if(t instanceof a)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error(`Unsupported previous source map format: `+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;e&&(t=r(n(e),t));let i=this.loadFile(t,e,!1);if(i)try{this.json=JSON.parse(i.replace(/^\)]}'[^\n]*\n/,``))}catch{return}return i}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Hg=s,s.default=s,Hg}var Gg,Kg;function qg(){if(Kg)return Gg;Kg=1;let{nanoid:e}=Bg(),{isAbsolute:t,resolve:n}=Ph,{SourceMapConsumer:r,SourceMapGenerator:i}=$o(),{fileURLToPath:a,pathToFileURL:o}=Vg,s=ug(),c=Wg(),l=sg(),u=Symbol(`lineToIndexCache`),d=!!(r&&i),f=!!(n&&t);function p(e){if(e[u])return e[u];let t=e.css.split(`
|
|
75
|
-
`),n=Array(t.length),r=0;for(let e=0,i=t.length;e<i;e++)n[e]=r,r+=t[e].length+1;return e[u]=n,n}class m{get from(){return this.file||this.id}constructor(r,i={}){if(r==null||typeof r==`object`&&!r.toString)throw Error(`PostCSS received ${r} instead of CSS string`);if(this.css=r.toString(),this.css[0]===``||this.css[0]===``?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,i.document&&(this.document=i.document.toString()),i.from&&(!f||/^\w+:\/\//.test(i.from)||t(i.from)?this.file=i.from:this.file=n(i.from)),f&&d){let e=new c(this.css,i);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=`<input css `+e(6)+`>`),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,a,c,l,u;if(t&&typeof t==`object`){let e=t,r=n;if(typeof e.offset==`number`){l=e.offset;let r=this.fromOffset(l);t=r.line,n=r.col}else t=e.line,n=e.column,l=this.fromLineAndColumn(t,n);if(typeof r.offset==`number`){c=r.offset;let e=this.fromOffset(c);a=e.line,i=e.col}else a=r.line,i=r.column,c=this.fromLineAndColumn(r.line,r.column)}else if(n)l=this.fromLineAndColumn(t,n);else{l=t;let e=this.fromOffset(l);t=e.line,n=e.col}let d=this.origin(t,n,a,i);return u=d?new s(e,d.endLine===void 0?d.line:{column:d.column,line:d.line},d.endLine===void 0?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,r.plugin):new s(e,a===void 0?t:{column:n,line:t},a===void 0?n:{column:i,line:a},this.css,this.file,r.plugin),u.input={column:n,endColumn:i,endLine:a,endOffset:c,line:t,offset:l,source:this.css},this.file&&(o&&(u.input.url=o(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(e,t){return p(this)[e-1]+t-1}fromOffset(e){let t=p(this),n=t[t.length-1],r=0;if(e>=n)r=t.length-1;else{let n=t.length-2,i;for(;r<n;)if(i=r+(n-r>>1),e<t[i])n=i-1;else if(e>=t[i+1])r=i+1;else{r=i;break}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:n(this.map.consumer().sourceRoot||this.map.root||`.`,e)}origin(e,n,r,i){if(!this.map)return!1;let s=this.map.consumer(),c=s.originalPositionFor({column:n,line:e});if(!c.source)return!1;let l;typeof r==`number`&&(l=s.originalPositionFor({column:i,line:r}));let u;u=t(c.source)?o(c.source):new URL(c.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let d={column:c.column,endColumn:l&&l.column,endLine:l&&l.line,line:c.line,url:u.toString()};if(u.protocol===`file:`)if(a)d.file=a(u);else throw Error(`file: protocol is not available in this PostCSS build`);let f=s.sourceContentFor(c.source);return f&&(d.source=f),d}toJSON(){let e={};for(let t of[`hasBOM`,`css`,`file`,`id`])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return Gg=m,m.default=m,l&&l.registerInput&&l.registerInput(m),Gg}var Jg,Yg;function Xg(){if(Yg)return Jg;Yg=1;let e=jg(),t,n;class r extends e{constructor(e){super(e),this.type=`root`,this.nodes||=[]}normalize(e,t,n){let r=super.normalize(e);if(t){if(n===`prepend`)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before}return r}removeChild(e,t){let n=this.index(e);return!t&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new t(new n,this,e).stringify()}}return r.registerLazyResult=e=>{t=e},r.registerProcessor=e=>{n=e},Jg=r,r.default=r,e.registerRoot(r),Jg}var Zg,Qg;function $g(){if(Qg)return Zg;Qg=1;let e={comma(t){return e.split(t,[`,`],!0)},space(t){return e.split(t,[` `,`
|
|
76
|
-
`,` `])},split(e,t,n){let r=[],i=``,a=!1,o=0,s=!1,c=``,l=!1;for(let n of e)l?l=!1:n===`\\`?l=!0:s?n===c&&(s=!1):n===`"`||n===`'`?(s=!0,c=n):n===`(`?o+=1:n===`)`?o>0&&--o:o===0&&t.includes(n)&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=n;return(n||i!==``)&&r.push(i.trim()),r}};return Zg=e,e.default=e,Zg}var e_,t_;function n_(){if(t_)return e_;t_=1;let e=jg(),t=$g();class n extends e{get selectors(){return t.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(n)}constructor(e){super(e),this.type=`rule`,this.nodes||=[]}}return e_=n,n.default=n,e.registerRule(n),e_}var r_,i_;function a_(){if(i_)return r_;i_=1;let e=Pg(),t=Tg(),n=Og(),r=qg(),i=Wg(),a=Xg(),o=n_();function s(c,l){if(Array.isArray(c))return c.map(e=>s(e));let{inputs:u,...d}=c;if(u){l=[];for(let e of u){let t={...e,__proto__:r.prototype};t.map&&={...t.map,__proto__:i.prototype},l.push(t)}}if(d.nodes&&=c.nodes.map(e=>s(e,l)),d.source){let{inputId:e,...t}=d.source;d.source=t,e!=null&&(d.source.input=l[e])}if(d.type===`root`)return new a(d);if(d.type===`decl`)return new n(d);if(d.type===`rule`)return new o(d);if(d.type===`comment`)return new t(d);if(d.type===`atrule`)return new e(d);throw Error(`Unknown node type: `+c.type)}return r_=s,s.default=s,r_}var o_,s_;function c_(){if(s_)return o_;s_=1;let{dirname:e,relative:t,resolve:n,sep:r}=Ph,{SourceMapConsumer:i,SourceMapGenerator:a}=$o(),{pathToFileURL:o}=Vg,s=qg(),c=!!(i&&a),l=!!(e&&n&&t&&r);class u{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?`data:application/json;base64,`+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==`string`?this.mapOpts.annotation:typeof this.mapOpts.annotation==`function`?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+`.map`;let t=`
|
|
77
|
-
`;this.css.includes(`\r
|
|
78
|
-
`)&&(t=`\r
|
|
79
|
-
`),this.css+=t+`/*# sourceMappingURL=`+e+` */`}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),r=t.root||e(t.file),a;this.mapOpts.sourcesContent===!1?(a=new i(t.text),a.sourcesContent&&=null):a=t.consumer(),this.map.applySourceMap(a,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type===`comment`&&e.text.startsWith(`# sourceMappingURL=`)&&this.root.removeChild(t)}else if(this.css){let e;for(;(e=this.css.lastIndexOf(`/*#`))!==-1;){let t=this.css.indexOf(`*/`,e+3);if(t===-1)break;for(;e>0&&this.css[e-1]===`
|
|
80
|
-
`;)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}}generate(){if(this.clearAnnotation(),l&&c&&this.isMap())return this.generateMap();{let e=``;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=a.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=``,this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,n=`<no source>`,r={generated:{column:0,line:0},original:{column:0,line:0},source:``},i,o;this.stringify(this.root,(a,s,c)=>{if(this.css+=a,s&&c!==`end`&&(r.generated.line=e,r.generated.column=t-1,s.source&&s.source.start?(r.source=this.sourcePath(s),r.original.line=s.source.start.line,r.original.column=s.source.start.column-1,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,this.map.addMapping(r))),o=a.match(/\n/g),o?(e+=o.length,i=a.lastIndexOf(`
|
|
81
|
-
`),t=a.length-i):t+=a.length,s&&c!==`start`){let i=s.parent||{raws:{}};(!(s.type===`decl`||s.type===`atrule`&&!s.nodes)||s!==i.last||i.raws.semicolon)&&(s.source&&s.source.end?(r.source=this.sourcePath(s),r.original.line=s.source.end.line,r.original.column=s.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:this.mapOpts.annotation===void 0?this.previous().length?this.previous().some(e=>e.annotation):!0:this.mapOpts.annotation}isInline(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;let e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:this.previous().length?this.previous().some(e=>e.inline):!0}isMap(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map}isSourcesContent(){return this.mapOpts.sourcesContent===void 0?this.previous().length?this.previous().some(e=>e.withContent()):!0:this.mapOpts.sourcesContent}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(r){if(this.mapOpts.absolute||r.charCodeAt(0)===60||/^\w+:\/\//.test(r))return r;let i=this.memoizedPaths.get(r);if(i)return i;let a=this.opts.to?e(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(a=e(n(a,this.mapOpts.annotation)));let o=t(a,r);return this.memoizedPaths.set(r,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new s(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return H?H.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(o){let t=o(e).toString();return this.memoizedFileURLs.set(e,t),t}else throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;r===`\\`&&(e=e.replace(/\\/g,`/`));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}return o_=u,o_}var l_,u_;function d_(){if(u_)return l_;u_=1;let e=Pg(),t=Tg(),n=Og(),r=Xg(),i=n_(),a=ig(),o={empty:!0,space:!0};function s(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}function c(e,t,n){let r=``;for(let i=t;i<n;i++)r+=e[i][1];return r}class l{constructor(e){this.input=e,this.root=new r,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(t){let n=new e;n.name=t[1].slice(1),n.name===``&&this.unnamedAtrule(n,t),this.init(n,t[2]);let r,i,a,o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r===`(`||r===`[`?l.push(r===`(`?`)`:`]`):r===`{`&&l.length>0?l.push(`}`):r===l[l.length-1]&&l.pop(),l.length===0)if(r===`;`){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(r===`{`){s=!0;break}else if(r===`}`){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]===`space`;)i=c[--a];i&&(n.source.end=this.getPosition(i[3]||i[2]),n.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(n.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(n,`params`,c),o&&(t=c[c.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between=``)):(n.raws.afterName=``,n.params=``),s&&(n.nodes=[],this.current=n)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,r;for(let i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}colon(e){let t=0,n,r,i;for(let[a,o]of e.entries()){if(r=o,i=r[0],i===`(`&&(t+=1),i===`)`&&--t,t===0&&i===`:`)if(!n)this.doubleColon(r);else if(n[0]===`word`&&n[1]===`progid`)continue;else return a;n=r}return!1}comment(e){let n=new t;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++;let r=e[1].slice(2,-2);if(!r.trim())n.text=``,n.raws.left=r,n.raws.right=``;else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=e[2],n.raws.left=e[1],n.raws.right=e[3]}}createTokenizer(){this.tokenizer=a(this.input)}decl(e,t){let r=new n;this.init(r,e[0][2]);let i=e[e.length-1];i[0]===`;`&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||s(e)),r.source.end.offset++;let a=0;for(;e[a][0]!==`word`;)a===e.length-1&&this.unknownWord([e[a]]),a++;r.raws.before+=c(e,0,a),r.source.start=this.getPosition(e[a][2]);let o=a;for(;a<e.length;){let t=e[a][0];if(t===`:`||t===`space`||t===`comment`)break;a++}r.prop=c(e,o,a);let l=a,u;for(;a<e.length&&(u=e[a],a++,u[0]!==`:`);)u[0]===`word`&&/\w/.test(u[1])&&this.unknownWord([u]);r.raws.between=c(e,l,a),(r.prop[0]===`_`||r.prop[0]===`*`)&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let d=a;for(;a<e.length;){let t=e[a][0];if(t!==`space`&&t!==`comment`)break;a++}let f=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(u=e[t],u[1].toLowerCase()===`!important`){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n,n!==` !important`&&(r.raws.important=n);break}else if(u[1].toLowerCase()===`important`){let n=e.slice(0),i=``;for(let e=t;e>0;e--){let t=n[e][0];if(i.trim().startsWith(`!`)&&t!==`space`)break;i=n.pop()[1]+i}i.trim().startsWith(`!`)&&(r.important=!0,r.raws.important=i,e=n)}if(u[0]!==`space`&&u[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(r.raws.between+=f.map(e=>e[1]).join(``),f=[]),this.raw(r,`value`,f.concat(e),t),r.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new i;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;for(;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0)if(n===`;`)if(r){this.decl(s,o);return}else break;else if(n===`{`){this.rule(s);return}else if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}else n===`:`&&(r=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],!(c!==`space`&&c!==`comment`));)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,a,s=n.length,c=``,l=!0,u,d;for(let e=0;e<s;e+=1)i=n[e],a=i[0],a===`space`&&e===s-1&&!r?l=!1:a===`comment`?(d=n[e-1]?n[e-1][0]:`empty`,u=n[e+1]?n[e+1][0]:`empty`,!o[d]&&!o[u]?c.slice(-1)===`,`?l=!1:c+=i[1]:l=!1):c+=i[1];if(!l){let r=n.reduce((e,t)=>e+t[1],``);e.raws[t]={raw:r,value:c}}e[t]=c}rule(e){e.pop();let t=new i;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],!(t!==`space`&&t!==`comment`));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=``;for(;e.length&&(t=e[0][0],!(t!==`space`&&t!==`comment`));)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n=``;for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}}return l_=l,l_}var f_,p_;function m_(){if(p_)return f_;p_=1;let e=jg(),t=qg(),n=d_();function r(e,r){let i=new t(e,r),a=new n(i);try{a.parse()}catch(e){throw Ou.env.NODE_ENV!==`production`&&e.name===`CssSyntaxError`&&r&&r.from&&(/\.scss$/i.test(r.from)?e.message+=`
|
|
82
|
-
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(r.from)?e.message+=`
|
|
83
|
-
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(r.from)&&(e.message+=`
|
|
84
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),e}return a.root}return f_=r,r.default=r,e.registerParse(r),f_}var h_,g_;function __(){if(g_)return h_;g_=1;class e{constructor(e,t={}){if(this.type=`warning`,this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text}}return h_=e,e.default=e,h_}var v_,y_;function b_(){if(y_)return v_;y_=1;let e=__();class t{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=``,this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new e(t,n);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type===`warning`)}}return v_=t,t.default=t,v_}var x_,S_;function C_(){if(S_)return x_;S_=1;let e={};return x_=function(t){e[t]||(e[t]=!0,typeof console<`u`&&console.warn&&console.warn(t))},x_}var w_,T_;function E_(){if(T_)return w_;T_=1;let e=jg(),t=Lg(),n=c_(),r=m_(),i=b_(),a=Xg(),o=gg(),{isClean:s,my:c}=yg(),l=C_(),u={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},d={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function p(e){return typeof e==`object`&&typeof e.then==`function`}function m(e){let t=!1,n=u[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,0,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,0,n+`Exit`]:[n,n+`Exit`]}function h(e){let t;return t=e.type===`document`?[`Document`,0,`DocumentExit`]:e.type===`root`?[`Root`,0,`RootExit`]:m(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function g(e){return e[s]=!1,e.nodes&&e.nodes.forEach(e=>g(e)),e}let _={};class v{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return`LazyResult`}constructor(t,n,a){this.stringified=!1,this.processed=!1;let o;if(typeof n==`object`&&n&&(n.type===`root`||n.type===`document`))o=g(n);else if(n instanceof v||n instanceof i)o=g(n.root),n.map&&(a.map===void 0&&(a.map={}),a.map.inline||(a.map.inline=!1),a.map.prev=n.map);else{let t=r;a.syntax&&(t=a.syntax.parse),a.parser&&(t=a.parser),t.parse&&(t=t.parse);try{o=t(n,a)}catch(e){this.processed=!0,this.error=e}o&&!o[c]&&e.rebuild(o)}this.result=new i(t,o,a),this.helpers={..._,postcss:_,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error(`Use process(css).then(cb) to work with async plugins`)}handleError(e,t){let n=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin)e.plugin=n.postcssPlugin,e.setMessage();else if(n.postcssVersion&&Ou.env.NODE_ENV!==`production`){let e=n.postcssPlugin,t=n.postcssVersion,r=this.result.processor.version,i=t.split(`.`),a=r.split(`.`);(i[0]!==a[0]||parseInt(i[1])>parseInt(a[1]))&&console.error(`Unknown error from PostCSS plugin. Your current PostCSS version is `+r+`, but `+e+` uses `+t+`. Perhaps this is the source of the error below.`)}}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(typeof t==`object`)for(let n in t){if(!d[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if(typeof t[n]==`object`)for(let r in t[n])r===`*`?e(t,n,t[n][r]):e(t,n+`-`+r.toLowerCase(),t[n][r]);else typeof t[n]==`function`&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(p(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[s];){e[s]=!0;let t=[h(e)];for(;t.length>0;){let e=this.visitTick(t);if(p(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return p(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=this.result.root.source;if(e.map===void 0&&!(r&&r.input&&r.input.map)){let e=``;return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let i=new n(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(p(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[s];)e[s]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return Ou.env.NODE_ENV!==`production`&&(`from`in this.opts||l("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){this.result.lastPlugin=n;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(p(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let r=t.iterator,i;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[s]){i[s]=!0,e.push(h(i));return}t.iterator=0,delete n.indexes[r]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===0){n.nodes&&n.nodes.length&&(n[s]=!0,t.iterator=n.getIterator());return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[s]=!0;let t=m(e);for(let n of t)if(n===0)e.nodes&&e.each(e=>{e[s]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return v.registerPostcss=e=>{_=e},w_=v,v.default=v,a.registerLazyResult(v),t.registerLazyResult(v),w_}var D_,O_;function k_(){if(O_)return D_;O_=1;let e=c_(),t=m_(),n=b_(),r=gg(),i=C_();class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,n=t;try{e=n(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return`NoWorkResult`}constructor(t,i,a){i=i.toString(),this.stringified=!1,this._processor=t,this._css=i,this._opts=a,this._map=void 0;let o=r;this.result=new n(this._processor,void 0,this._opts),this.result.css=i;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let c=new e(o,void 0,this._opts,i);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return Ou.env.NODE_ENV!==`production`&&(`from`in this._opts||i("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}return D_=a,a.default=a,D_}var A_,j_;function M_(){if(j_)return A_;j_=1;let e=Lg(),t=E_(),n=k_(),r=Xg();class i{constructor(e=[]){this.version=`8.5.15`,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n==`object`&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(typeof n==`object`&&n.postcssPlugin)t.push(n);else if(typeof n==`function`)t.push(n);else if(typeof n==`object`&&(n.parse||n.stringify)){if(Ou.env.NODE_ENV!==`production`)throw Error(`PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.`)}else throw Error(n+` is not a PostCSS plugin`);return t}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new n(this,e,r):new t(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return A_=i,i.default=i,r.registerProcessor(i),e.registerProcessor(i),A_}var N_,P_;function F_(){if(P_)return N_;P_=1;let e=Pg(),t=Tg(),n=jg(),r=ug(),i=Og(),a=Lg(),o=a_(),s=qg(),c=E_(),l=$g(),u=Sg(),d=m_(),f=M_(),p=b_(),m=Xg(),h=n_(),g=gg(),_=__();function v(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new f(e)}return v.plugin=function(e,t){let n=!1;function r(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
85
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),Ou.env.LANG&&Ou.env.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
86
|
-
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new f().version,i}let i;return Object.defineProperty(r,"postcss",{get(){return i||=r(),i}}),r.process=function(e,t,n){return v([r(n)]).process(e,t)},r},v.stringify=g,v.parse=d,v.fromJSON=o,v.list=l,v.comment=e=>new t(e),v.atRule=t=>new e(t),v.decl=e=>new i(e),v.rule=e=>new h(e),v.root=e=>new m(e),v.document=e=>new a(e),v.CssSyntaxError=r,v.Declaration=i,v.Container=n,v.Processor=f,v.Document=a,v.Comment=t,v.Warning=_,v.AtRule=e,v.Result=p,v.Input=s,v.Rule=h,v.Root=m,v.Node=u,c.registerPostcss(v),N_=v,v.default=v,N_}var Z=mi(F_());Z.stringify,Z.fromJSON,Z.plugin,Z.parse,Z.list,Z.document,Z.comment,Z.atRule,Z.rule,Z.decl,Z.root,Z.CssSyntaxError,Z.Declaration,Z.Container,Z.Processor,Z.Document,Z.Comment,Z.Warning,Z.AtRule,Z.Result,Z.Input;var I_=Z.Rule;Z.Root,Z.Node;var L_=()=>({postcssPlugin:`vue-sfc-trim`,Once(e){e.walk(({type:e,raws:t})=>{(e===`rule`||e===`atrule`)&&(t.before&&=`
|
|
87
|
-
`,`after`in t&&t.after&&(t.after=`
|
|
88
|
-
`))})}});L_.postcss=!0;var R_={},z_={},B_={},V_={},H_={},U_={},W_;function G_(){if(W_)return U_;W_=1,Object.defineProperty(U_,"__esModule",{value:!0}),U_.default=n;function e(e){for(var t=e.toLowerCase(),n=``,r=!1,i=0;i<6&&t[i]!==void 0;i++){var a=t.charCodeAt(i),o=a>=97&&a<=102||a>=48&&a<=57;if(r=a===32,!o)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16);return s>=55296&&s<=57343||s===0||s>1114111?[`�`,n.length+ +!!r]:[String.fromCodePoint(s),n.length+ +!!r]}}var t=/\\/;function n(n){if(!t.test(n))return n;for(var r=``,i=0;i<n.length;i++){if(n[i]===`\\`){var a=e(n.slice(i+1,i+7));if(a!==void 0){r+=a[0],i+=a[1];continue}if(n[i+1]===`\\`){r+=`\\`,i++;continue}n.length===i+1&&(r+=n[i]);continue}r+=n[i]}return r}return U_}var K_={},q_;function J_(){if(q_)return K_;q_=1,Object.defineProperty(K_,"__esModule",{value:!0}),K_.default=e;function e(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();if(!e[n])return;e=e[n]}return e}return K_}var Y_={},X_;function Z_(){if(X_)return Y_;X_=1,Object.defineProperty(Y_,"__esModule",{value:!0}),Y_.default=e;function e(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();e[n]||(e[n]={}),e=e[n]}}return Y_}var Q_={},$_;function ev(){if($_)return Q_;$_=1,Object.defineProperty(Q_,"__esModule",{value:!0}),Q_.default=e;function e(e){for(var t=``,n=e.indexOf(`/*`),r=0;n>=0;){t+=e.slice(r,n);var i=e.indexOf(`*/`,n+2);if(i<0)return t;r=i+2,n=e.indexOf(`/*`,r)}return t+=e.slice(r),t}return Q_}var tv={},nv;function rv(){return nv?tv:(nv=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=void 0,e.default=t,e.MAX_NESTING_DEPTH=256;function t(t){return Number.isSafeInteger(t)&&t>=0?t:e.MAX_NESTING_DEPTH}})(tv),tv)}var iv;function av(){return iv?H_:(iv=1,(function(e){var t=H_&&H_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=e.resolveMaxNestingDepth=e.stripComments=e.ensureObject=e.getProp=e.unesc=void 0;var n=G_();Object.defineProperty(e,"unesc",{enumerable:!0,get:function(){return t(n).default}});var r=J_();Object.defineProperty(e,"getProp",{enumerable:!0,get:function(){return t(r).default}});var i=Z_();Object.defineProperty(e,"ensureObject",{enumerable:!0,get:function(){return t(i).default}});var a=ev();Object.defineProperty(e,"stripComments",{enumerable:!0,get:function(){return t(a).default}});var o=rv();Object.defineProperty(e,"resolveMaxNestingDepth",{enumerable:!0,get:function(){return t(o).default}}),Object.defineProperty(e,"MAX_NESTING_DEPTH",{enumerable:!0,get:function(){return o.MAX_NESTING_DEPTH}})})(H_),H_)}var ov={},sv;function cv(){if(sv)return ov;sv=1,Object.defineProperty(ov,"__esModule",{value:!0});var e=av(),t=function(n,r,i){if(i===void 0&&(i=0),i>e.MAX_NESTING_DEPTH)throw Error(`Cannot clone selector: nesting depth exceeds the maximum of ${e.MAX_NESTING_DEPTH}.`);if(typeof n!=`object`||!n)return n;var a=new n.constructor;for(var o in n)if(n.hasOwnProperty(o)){var s=n[o];o===`parent`&&typeof s==`object`?r&&(a[o]=r):s instanceof Array?a[o]=s.map(function(e){return t(e,a,i+1)}):a[o]=t(s,a,i+1)}return a};return ov.default=function(){function n(e){e===void 0&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||``,this.spaces.after=this.spaces.after||``}return n.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},n.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},n.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},n.prototype.clone=function(e){e===void 0&&(e={});var n=t(this);for(var r in e)n[r]=e[r];return n},n.prototype.appendToPropertyAndEscape=function(e,t,n){this.raws||={};var r=this[e],i=this.raws[e];this[e]=r+t,i||n!==t?this.raws[e]=(i||r)+n:delete this.raws[e]},n.prototype.setPropertyAndEscape=function(e,t,n){this.raws||={},this[e]=t,this.raws[e]=n},n.prototype.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},n.prototype.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},n.prototype.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},Object.defineProperty(n.prototype,"rawSpaceBefore",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return e===void 0&&(e=this.spaces&&this.spaces.before),e||``},set:function(t){(0,e.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.before=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rawSpaceAfter",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return e===void 0&&(e=this.spaces.after),e||``},set:function(t){(0,e.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.after=t},enumerable:!1,configurable:!0}),n.prototype.valueToString=function(){return String(this.stringifyProperty(`value`))},n.prototype.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join(``)},n.prototype._stringify=function(){return this.toString()},n}(),ov}var Q={},lv;function uv(){return lv?Q:(lv=1,Object.defineProperty(Q,"__esModule",{value:!0}),Q.UNIVERSAL=Q.ATTRIBUTE=Q.CLASS=Q.COMBINATOR=Q.COMMENT=Q.ID=Q.NESTING=Q.PSEUDO=Q.ROOT=Q.SELECTOR=Q.STRING=Q.TAG=void 0,Q.TAG=`tag`,Q.STRING=`string`,Q.SELECTOR=`selector`,Q.ROOT=`root`,Q.PSEUDO=`pseudo`,Q.NESTING=`nesting`,Q.ID=`id`,Q.COMMENT=`comment`,Q.COMBINATOR=`combinator`,Q.CLASS=`class`,Q.ATTRIBUTE=`attribute`,Q.UNIVERSAL=`universal`,Q)}var dv;function fv(){if(dv)return V_;dv=1;var e=V_&&V_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=V_&&V_.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=V_&&V_.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=V_&&V_.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=e(r),o=0;o<a.length;o++)a[o]!=="default"&&t(i,r,a[o]);return n(i,r),i}})(),i=V_&&V_.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},a=V_&&V_.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},o=V_&&V_.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},s=V_&&V_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(V_,"__esModule",{value:!0});var c=av(),l=s(cv()),u=r(uv());return V_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.nodes||=[],n}return n.prototype.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prototype.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},n.prototype.at=function(e){return this.nodes[e]},n.prototype.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},Object.defineProperty(n.prototype,"first",{get:function(){return this.at(0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){return this.at(this.length-1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this.nodes.length},enumerable:!1,configurable:!0}),n.prototype.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},n.prototype.removeAll=function(){var e,t;try{for(var n=i(this.nodes),r=n.next();!r.done;r=n.next()){var a=r.value;a.parent=void 0}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.nodes=[],this},n.prototype.empty=function(){return this.removeAll()},n.prototype.insertAfter=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],s=2;s<arguments.length;s++)i.push(arguments[s]);(n=this.nodes).splice.apply(n,o([r+1,0,t],a(i),!1)),t.parent=this;var c;for(var l in this.indexes)c=this.indexes[l],r<c&&(this.indexes[l]=c+arguments.length-1);return this},n.prototype.insertBefore=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],s=2;s<arguments.length;s++)i.push(arguments[s]);(n=this.nodes).splice.apply(n,o([r,0,t],a(i),!1)),t.parent=this;var c;for(var l in this.indexes)c=this.indexes[l],c>=r&&(this.indexes[l]=c+arguments.length-1);return this},n.prototype._findChildAtPosition=function(e,t){var n=void 0;return this.each(function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1}),n},n.prototype.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},n.prototype._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.prototype.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]<this.length&&(n=this.indexes[t],r=e(this.at(n),n),r!==!1);)this.indexes[t]+=1;if(delete this.indexes[t],r===!1)return!1}},n.prototype.walk=function(e,t){if(t===void 0&&(t=0),t>c.MAX_NESTING_DEPTH)throw Error(`Cannot walk selector: nesting depth exceeds the maximum of ${c.MAX_NESTING_DEPTH}.`);return this.each(function(n,r){var i=e(n,r);if(i!==!1&&n.length&&(i=n.walk(e,t+1)),i===!1)return!1})},n.prototype.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===u.ATTRIBUTE)return e.call(t,n)})},n.prototype.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===u.CLASS)return e.call(t,n)})},n.prototype.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===u.COMBINATOR)return e.call(t,n)})},n.prototype.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===u.COMMENT)return e.call(t,n)})},n.prototype.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===u.ID)return e.call(t,n)})},n.prototype.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===u.NESTING)return e.call(t,n)})},n.prototype.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===u.PSEUDO)return e.call(t,n)})},n.prototype.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===u.TAG)return e.call(t,n)})},n.prototype.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===u.UNIVERSAL)return e.call(t,n)})},n.prototype.split=function(e){var t=this,n=[];return this.reduce(function(r,i,a){var o=e.call(t,i);return n.push(i),o?(r.push(n),n=[]):a===t.length-1&&r.push(n),r},[])},n.prototype.map=function(e){return this.nodes.map(e)},n.prototype.reduce=function(e,t){return this.nodes.reduce(e,t)},n.prototype.every=function(e){return this.nodes.every(e)},n.prototype.some=function(e){return this.nodes.some(e)},n.prototype.filter=function(e){return this.nodes.filter(e)},n.prototype.sort=function(e){return this.nodes.sort(e)},n.prototype.toString=function(e){return e===void 0&&(e={}),this._stringify(e,0,(0,c.resolveMaxNestingDepth)(e.maxNestingDepth))},n.prototype._stringify=function(e,t,n){var r=this;return this.map(function(i){return r._stringifyChild(i,e,t,n)}).join(``)},n.prototype._stringifyChild=function(e,t,n,r){return typeof e._stringify==`function`?e._stringify(t,n,r):String(e)},n}(l.default),V_}var pv;function mv(){if(pv)return B_;pv=1;var e=B_&&B_.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=B_&&B_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(B_,"__esModule",{value:!0});var n=t(fv()),r=uv();return B_.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.ROOT,n}return n.prototype._stringify=function(e,t,n){var r=this,i=this.reduce(function(i,a){return i.push(r._stringifyChild(a,e,t,n)),i},[]).join(`,`);return this.trailingComma?i+`,`:i},n.prototype.error=function(e,t){return this._error?this._error(e,t):Error(e)},Object.defineProperty(n.prototype,"errorGenerator",{set:function(e){this._error=e},enumerable:!1,configurable:!0}),n}(n.default),B_}var hv={},gv;function _v(){if(gv)return hv;gv=1;var e=hv&&hv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=hv&&hv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hv,"__esModule",{value:!0});var n=t(fv()),r=uv();return hv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.SELECTOR,n}return n}(n.default),hv}var vv={},yv,bv;function xv(){if(bv)return yv;bv=1;var e={}.hasOwnProperty,t=function(t,n){if(!t)return n;var r={};for(var i in n)r[i]=e.call(t,i)?t[i]:n[i];return r},n=/[ -,\.\/:-@\[-\^`\{-~]/,r=/[ -,\.\/:-@\[\]\^`\{-~]/,i=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function e(a,o){o=t(o,e.options),o.quotes!=`single`&&o.quotes!=`double`&&(o.quotes=`single`);for(var s=o.quotes==`double`?`"`:`'`,c=o.isIdentifier,l=a.charAt(0),u=``,d=0,f=a.length;d<f;){var p=a.charAt(d++),m=p.charCodeAt(),h=void 0;if(m<32||m>126){if(m>=55296&&m<=56319&&d<f){var g=a.charCodeAt(d++);(g&64512)==56320?m=((m&1023)<<10)+(g&1023)+65536:d--}h=`\\`+m.toString(16).toUpperCase()+` `}else h=o.escapeEverything?n.test(p)?`\\`+p:`\\`+m.toString(16).toUpperCase()+` `:/[\t\n\f\r\x0B]/.test(p)?`\\`+m.toString(16).toUpperCase()+` `:p==`\\`||!c&&(p==`"`&&s==p||p==`'`&&s==p)||c&&r.test(p)?`\\`+p:p;u+=h}return c&&(/^-[-\d]/.test(u)?u=`\\-`+u.slice(1):/\d/.test(l)&&(u=`\\3`+l+` `+u.slice(1))),u=u.replace(i,function(e,t,n){return t&&t.length%2?e:(t||``)+n}),!c&&o.wrap?s+u+s:u};return a.options={escapeEverything:!1,isIdentifier:!1,quotes:`single`,wrap:!1},a.version=`3.0.0`,yv=a,yv}var Sv;function Cv(){if(Sv)return vv;Sv=1;var e=vv&&vv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=vv&&vv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vv,"__esModule",{value:!0});var n=t(xv()),r=av(),i=t(cv()),a=uv();return vv.default=function(t){e(i,t);function i(e){var n=t.call(this,e)||this;return n.type=a.CLASS,n._constructed=!0,n}return Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:!0});t===e?this.raws&&delete this.raws.value:((0,r.ensureObject)(this,`raws`),this.raws.value=t)}this._value=e},enumerable:!1,configurable:!0}),i.prototype.valueToString=function(){return`.`+t.prototype.valueToString.call(this)},i}(i.default),vv}var wv={},Tv;function Ev(){if(Tv)return wv;Tv=1;var e=wv&&wv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=wv&&wv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wv,"__esModule",{value:!0});var n=t(cv()),r=uv();return wv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.COMMENT,n}return n}(n.default),wv}var Dv={},Ov;function kv(){if(Ov)return Dv;Ov=1;var e=Dv&&Dv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Dv&&Dv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dv,"__esModule",{value:!0});var n=t(cv()),r=uv();return Dv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.ID,n}return n.prototype.valueToString=function(){return`#`+t.prototype.valueToString.call(this)},n}(n.default),Dv}var Av={},jv={},Mv;function Nv(){if(Mv)return jv;Mv=1;var e=jv&&jv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=jv&&jv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jv,"__esModule",{value:!0});var n=t(xv()),r=av();return jv.default=function(t){e(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(i.prototype,"namespace",{get:function(){return this._namespace},set:function(e){if(e===!0||e===`*`||e===`&`){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,n.default)(e,{isIdentifier:!0});this._namespace=e,t===e?this.raws&&delete this.raws.namespace:((0,r.ensureObject)(this,`raws`),this.raws.namespace=t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"ns",{get:function(){return this._namespace},set:function(e){this.namespace=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"namespaceString",{get:function(){if(this.namespace){var e=this.stringifyProperty(`namespace`);return e===!0?``:e}else return``},enumerable:!1,configurable:!0}),i.prototype.qualifiedName=function(e){return this.namespace?`${this.namespaceString}|${e}`:e},i.prototype.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},i}(t(cv()).default),jv}var Pv;function Fv(){if(Pv)return Av;Pv=1;var e=Av&&Av.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Av&&Av.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Av,"__esModule",{value:!0});var n=t(Nv()),r=uv();return Av.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.TAG,n}return n}(n.default),Av}var Iv={},Lv;function Rv(){if(Lv)return Iv;Lv=1;var e=Iv&&Iv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+i(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Iv&&Iv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Iv,"__esModule",{value:!0});var n=t(cv()),r=uv(),i=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.STRING,n}return n}(n.default);return Iv.default=i,Iv}var zv={},Bv;function Vv(){if(Bv)return zv;Bv=1;var e=zv&&zv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=zv&&zv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(zv,"__esModule",{value:!0});var n=t(fv()),r=uv();return zv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.PSEUDO,n}return n.prototype._stringify=function(e,t,n){var r=this;if(t>=n)throw Error(`Cannot serialize selector: nesting depth exceeds the maximum of ${n}.`);var i=this.length?`(`+this.map(function(i){return r._stringifyChild(i,e,t+1,n)}).join(`,`)+`)`:``;return[this.rawSpaceBefore,this.stringifyProperty(`value`),i,this.rawSpaceAfter].join(``)},n}(n.default),zv}var Hv={},Uv,Wv;function Gv(){return Wv?Uv:(Wv=1,Uv=Fh.deprecate,Uv)}var Kv;function qv(){if(Kv)return Hv;Kv=1;var e=Hv&&Hv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Hv&&Hv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},n;Object.defineProperty(Hv,"__esModule",{value:!0}),Hv.unescapeValue=f;var r=t(xv()),i=t(G_()),a=t(Nv()),o=uv(),s=Gv(),c=/^('|")([^]*)\1$/,l=s(function(){},`Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`),u=s(function(){},`Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`),d=s(function(){},`Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);function f(e){var t=!1,n=null,r=e,a=r.match(c);return a&&(n=a[1],r=a[2]),r=(0,i.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function p(e){if(e.quoteMark!==void 0||e.value===void 0)return e;d();var t=f(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||={},e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}Hv.default=function(t){e(n,t);function n(e){e===void 0&&(e={});var n=t.call(this,p(e))||this;return n.type=o.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:s(function(){return n.value},`attr.raws.unquoted is deprecated. Call attr.value instead.`),set:s(function(){return n.value},`Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.`)}),n._constructed=!0,n}return n.prototype.getQuotedValue=function(e){e===void 0&&(e={});var t=m[this._determineQuoteMark(e)];return(0,r.default)(this._value,t)},n.prototype._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},n.prototype.setValue=function(e,t){t===void 0&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},n.prototype.smartQuoteMark=function(e){var t=this.value,i=t.replace(/[^']/g,``).length,a=t.replace(/[^"]/g,``).length;if(i+a===0){var o=(0,r.default)(t,{isIdentifier:!0});if(o===t)return n.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=m[c];if((0,r.default)(t,l).length<o.length)return c}return s}else if(a===i)return this.preferredQuoteMark(e);else if(a<i)return n.DOUBLE_QUOTE;else return n.SINGLE_QUOTE},n.prototype.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return t===void 0&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),t===void 0&&(t=n.DOUBLE_QUOTE),t},Object.defineProperty(n.prototype,"quoted",{get:function(){var e=this.quoteMark;return e===`'`||e===`"`},set:function(e){u()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"quoteMark",{get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue())},enumerable:!1,configurable:!0}),n.prototype._syncRawValue=function(){var e=(0,r.default)(this._value,m[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},Object.defineProperty(n.prototype,"qualifiedAttribute",{get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"insensitiveFlag",{get:function(){return this.insensitive?`i`:``},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=f(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&l(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"insensitive",{get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag===`I`||this.raws.insensitiveFlag===`i`)&&(this.raws.insensitiveFlag=void 0)),this._insensitive=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"attribute",{get:function(){return this._attribute},set:function(e){this._handleEscapes(`attribute`,e),this._attribute=e},enumerable:!1,configurable:!0}),n.prototype._handleEscapes=function(e,t){if(this._constructed){var n=(0,r.default)(t,{isIdentifier:!0});n===t?delete this.raws[e]:this.raws[e]=n}},n.prototype._spacesFor=function(e){var t={before:``,after:``},n=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,n,r)},n.prototype._stringFor=function(e,t,n){t===void 0&&(t=e),n===void 0&&(n=h);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},n.prototype.offsetOf=function(e){var t=1,n=this._spacesFor(`attribute`);if(t+=n.before.length,e===`namespace`||e===`ns`)return this.namespace?t:-1;if(e===`attributeNS`||(t+=this.namespaceString.length,this.namespace&&(t+=1),e===`attribute`))return t;t+=this.stringifyProperty(`attribute`).length,t+=n.after.length;var r=this._spacesFor(`operator`);t+=r.before.length;var i=this.stringifyProperty(`operator`);if(e===`operator`)return i?t:-1;t+=i.length,t+=r.after.length;var a=this._spacesFor(`value`);t+=a.before.length;var o=this.stringifyProperty(`value`);if(e===`value`)return o?t:-1;t+=o.length,t+=a.after.length;var s=this._spacesFor(`insensitive`);return t+=s.before.length,e===`insensitive`&&this.insensitive?t:-1},n.prototype.toString=function(){var e=this,t=[this.rawSpaceBefore,`[`];return t.push(this._stringFor(`qualifiedAttribute`,`attribute`)),this.operator&&(this.value||this.value===``)&&(t.push(this._stringFor(`operator`)),t.push(this._stringFor(`value`)),t.push(this._stringFor(`insensitiveFlag`,`insensitive`,function(t,n){return t.length>0&&!e.quoted&&n.before.length===0&&!(e.spaces.value&&e.spaces.value.after)&&(n.before=` `),h(t,n)}))),t.push(`]`),t.push(this.rawSpaceAfter),t.join(``)},n.NO_QUOTE=null,n.SINGLE_QUOTE=`'`,n.DOUBLE_QUOTE=`"`,n}(a.default);var m=(n={"'":{quotes:`single`,wrap:!0},'"':{quotes:`double`,wrap:!0}},n[null]={isIdentifier:!0},n);function h(e,t){return`${t.before}${e}${t.after}`}return Hv}var Jv={},Yv;function Xv(){if(Yv)return Jv;Yv=1;var e=Jv&&Jv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Jv&&Jv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Jv,"__esModule",{value:!0});var n=t(Nv()),r=uv();return Jv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.UNIVERSAL,n.value=`*`,n}return n}(n.default),Jv}var Zv={},Qv;function $v(){if(Qv)return Zv;Qv=1;var e=Zv&&Zv.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=Zv&&Zv.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zv,"__esModule",{value:!0});var n=t(cv()),r=uv();return Zv.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.COMBINATOR,n}return n}(n.default),Zv}var ey={},ty;function ny(){if(ty)return ey;ty=1;var e=ey&&ey.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),t=ey&&ey.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ey,"__esModule",{value:!0});var n=t(cv()),r=uv();return ey.default=function(t){e(n,t);function n(e){var n=t.call(this,e)||this;return n.type=r.NESTING,n.value=`&`,n}return n}(n.default),ey}var ry={},iy;function ay(){if(iy)return ry;iy=1,Object.defineProperty(ry,"__esModule",{value:!0}),ry.default=e;function e(e){return e.sort(function(e,t){return e-t})}return ry}var oy={},sy={},cy;function ly(){return cy?sy:(cy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.combinator=e.word=e.comment=e.str=e.tab=e.newline=e.feed=e.cr=e.backslash=e.bang=e.slash=e.doubleQuote=e.singleQuote=e.space=e.greaterThan=e.pipe=e.equals=e.plus=e.caret=e.tilde=e.dollar=e.closeSquare=e.openSquare=e.closeParenthesis=e.openParenthesis=e.semicolon=e.colon=e.comma=e.at=e.asterisk=e.ampersand=void 0,e.ampersand=38,e.asterisk=42,e.at=64,e.comma=44,e.colon=58,e.semicolon=59,e.openParenthesis=40,e.closeParenthesis=41,e.openSquare=91,e.closeSquare=93,e.dollar=36,e.tilde=126,e.caret=94,e.plus=43,e.equals=61,e.pipe=124,e.greaterThan=62,e.space=32,e.singleQuote=39,e.doubleQuote=34,e.slash=47,e.bang=33,e.backslash=92,e.cr=13,e.feed=12,e.newline=10,e.tab=9,e.str=e.singleQuote,e.comment=-1,e.word=-2,e.combinator=-3})(sy),sy)}var uy;function dy(){if(uy)return oy;uy=1;var e=oy&&oy.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),t=oy&&oy.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),n=oy&&oy.__importStar||(function(){var n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},n(e)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=n(r),o=0;o<a.length;o++)a[o]!=="default"&&e(i,r,a[o]);return t(i,r),i}})(),r,i;Object.defineProperty(oy,"__esModule",{value:!0}),oy.FIELDS=void 0,oy.default=p;for(var a=n(ly()),o=(r={},r[a.tab]=!0,r[a.newline]=!0,r[a.cr]=!0,r[a.feed]=!0,r),s=(i={},i[a.space]=!0,i[a.tab]=!0,i[a.newline]=!0,i[a.cr]=!0,i[a.feed]=!0,i[a.ampersand]=!0,i[a.asterisk]=!0,i[a.bang]=!0,i[a.comma]=!0,i[a.colon]=!0,i[a.semicolon]=!0,i[a.openParenthesis]=!0,i[a.closeParenthesis]=!0,i[a.openSquare]=!0,i[a.closeSquare]=!0,i[a.singleQuote]=!0,i[a.doubleQuote]=!0,i[a.plus]=!0,i[a.pipe]=!0,i[a.tilde]=!0,i[a.greaterThan]=!0,i[a.equals]=!0,i[a.dollar]=!0,i[a.caret]=!0,i[a.slash]=!0,i),c={},l=`0123456789abcdefABCDEF`,u=0;u<l.length;u++)c[l.charCodeAt(u)]=!0;function d(e,t){var n=t,r;do{if(r=e.charCodeAt(n),s[r])return n-1;r===a.backslash?n=f(e,n)+1:n++}while(n<e.length);return n-1}function f(e,t){var n=t,r=e.charCodeAt(n+1);if(!o[r])if(c[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(c[r]&&i<6);i<6&&r===a.space&&n++}else n++;return n}oy.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};function p(e){var t=[],n=e.css.valueOf(),r=n.length,i=-1,o=1,s=0,c=0,l,u,f,p,m,h,g,_,v,y,b,x,S;function C(t,r){if(e.safe)n+=r,v=n.length-1;else throw e.error(`Unclosed `+t,o,s-i,s)}for(;s<r;){switch(l=n.charCodeAt(s),l===a.newline&&(i=s,o+=1),l){case a.space:case a.tab:case a.newline:case a.cr:case a.feed:v=s;do v+=1,l=n.charCodeAt(v),l===a.newline&&(i=v,o+=1);while(l===a.space||l===a.newline||l===a.tab||l===a.cr||l===a.feed);S=a.space,p=o,f=v-i-1,c=v;break;case a.plus:case a.greaterThan:case a.tilde:case a.pipe:v=s;do v+=1,l=n.charCodeAt(v);while(l===a.plus||l===a.greaterThan||l===a.tilde||l===a.pipe);S=a.combinator,p=o,f=s-i,c=v;break;case a.asterisk:case a.ampersand:case a.bang:case a.comma:case a.equals:case a.dollar:case a.caret:case a.openSquare:case a.closeSquare:case a.colon:case a.semicolon:case a.openParenthesis:case a.closeParenthesis:v=s,S=l,p=o,f=s-i,c=v+1;break;case a.singleQuote:case a.doubleQuote:x=l===a.singleQuote?`'`:`"`,v=s;do for(m=!1,v=n.indexOf(x,v+1),v===-1&&C(`quote`,x),h=v;n.charCodeAt(h-1)===a.backslash;)--h,m=!m;while(m);S=a.str,p=o,f=s-i,c=v+1;break;default:l===a.slash&&n.charCodeAt(s+1)===a.asterisk?(v=n.indexOf(`*/`,s+2)+1,v===0&&C(`comment`,`*/`),u=n.slice(s,v+1),_=u.split(`
|
|
89
|
-
`),g=_.length-1,g>0?(y=o+g,b=v-_[g].length):(y=o,b=i),S=a.comment,o=y,p=y,f=v-b):l===a.slash?(v=s,S=l,p=o,f=s-i,c=v+1):(v=d(n,s),S=a.word,p=o,f=v-i),c=v+1;break}t.push([S,o,s-i,p,f,s,c]),b&&=(i=b,null),s=c}return t}return oy}var fy;function py(){if(fy)return z_;fy=1;var e=z_&&z_.__assign||function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)},t=z_&&z_.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=z_&&z_.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=z_&&z_.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=e(r),o=0;o<a.length;o++)a[o]!=="default"&&t(i,r,a[o]);return n(i,r),i}})(),i=z_&&z_.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},a=z_&&z_.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},o=z_&&z_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s,c;Object.defineProperty(z_,"__esModule",{value:!0});var l=o(mv()),u=o(_v()),d=o(Cv()),f=o(Ev()),p=o(kv()),m=o(Fv()),h=o(Rv()),g=o(Vv()),_=r(qv()),v=o(Xv()),y=o($v()),b=o(ny()),x=o(ay()),S=r(dy()),C=r(ly()),w=r(uv()),T=av(),E=(s={},s[C.space]=!0,s[C.cr]=!0,s[C.feed]=!0,s[C.newline]=!0,s[C.tab]=!0,s),ee=e(e({},E),(c={},c[C.comment]=!0,c));function D(e){return{line:e[S.FIELDS.START_LINE],column:e[S.FIELDS.START_COL]}}function O(e){return{line:e[S.FIELDS.END_LINE],column:e[S.FIELDS.END_COL]}}function k(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function A(e){return k(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],e[S.FIELDS.END_LINE],e[S.FIELDS.END_COL])}function te(e,t){if(e)return k(e[S.FIELDS.START_LINE],e[S.FIELDS.START_COL],t[S.FIELDS.END_LINE],t[S.FIELDS.END_COL])}function ne(e,t){var n=e[t];if(typeof n==`string`)return n.indexOf(`\\`)!==-1&&((0,T.ensureObject)(e,`raws`),e[t]=(0,T.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function re(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function ie(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}return z_.default=function(){function e(e,t){t===void 0&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.nestingDepth=0,this.maxNestingDepth=(0,T.resolveMaxNestingDepth)(this.options.maxNestingDepth),this.css=typeof this.rule==`string`?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=te(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new l.default({source:n}),this.root.errorGenerator=this._errorGenerator();var r=new u.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(r),this.current=r,this.loop()}return e.prototype._errorGenerator=function(){var e=this;return function(t,n){return typeof e.rule==`string`?Error(t):e.rule.error(t,n)}},e.prototype.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==C.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==C.closeSquare)return this.expected(`closing square bracket`,this.currToken[S.FIELDS.START_POS]);var n=e.length,r={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[S.FIELDS.START_POS]};if(n===1&&!~[C.word].indexOf(e[0][S.FIELDS.TYPE]))return this.expected(`attribute`,e[0][S.FIELDS.START_POS]);for(var i=0,a=``,o=``,s=null,c=!1;i<n;){var l=e[i],u=this.content(l),d=e[i+1];switch(l[S.FIELDS.TYPE]){case C.space:if(c=!0,this.options.lossy)break;if(s){(0,T.ensureObject)(r,`spaces`,s);var f=r.spaces[s].after||``;r.spaces[s].after=f+u;var p=(0,T.getProp)(r,`raws`,`spaces`,s,`after`)||null;p&&(r.raws.spaces[s].after=p+u)}else a+=u,o+=u;break;case C.asterisk:if(d[S.FIELDS.TYPE]===C.equals)r.operator=u,s=`operator`;else if((!r.namespace||s===`namespace`&&!c)&&d){a&&=((0,T.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,T.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=a,``),r.namespace=(r.namespace||``)+u;var m=(0,T.getProp)(r,`raws`,`namespace`)||null;m&&(r.raws.namespace+=u),s=`namespace`}c=!1;break;case C.dollar:if(s===`value`){var h=(0,T.getProp)(r,`raws`,`value`);r.value+=`$`,h&&(r.raws.value=h+`$`);break}case C.caret:d[S.FIELDS.TYPE]===C.equals&&(r.operator=u,s=`operator`),c=!1;break;case C.combinator:if(u===`~`&&d[S.FIELDS.TYPE]===C.equals&&(r.operator=u,s=`operator`),u!==`|`){c=!1;break}d[S.FIELDS.TYPE]===C.equals?(r.operator=u,s=`operator`):!r.namespace&&!r.attribute&&(r.namespace=!0),c=!1;break;case C.word:if(d&&this.content(d)===`|`&&e[i+2]&&e[i+2][S.FIELDS.TYPE]!==C.equals&&!r.operator&&!r.namespace)r.namespace=u,s=`namespace`;else if(!r.attribute||s===`attribute`&&!c){a&&=((0,T.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,T.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),r.attribute=(r.attribute||``)+u;var m=(0,T.getProp)(r,`raws`,`attribute`)||null;m&&(r.raws.attribute+=u),s=`attribute`}else if(!r.value&&r.value!==``||s===`value`&&!(c||r.quoteMark)){var g=(0,T.unesc)(u),h=(0,T.getProp)(r,`raws`,`value`)||``,v=r.value||``;r.value=v+g,r.quoteMark=null,(g!==u||h)&&((0,T.ensureObject)(r,`raws`),r.raws.value=(h||v)+u),s=`value`}else{var y=u===`i`||u===`I`;(r.value||r.value===``)&&(r.quoteMark||c)?(r.insensitive=y,(!y||u===`I`)&&((0,T.ensureObject)(r,`raws`),r.raws.insensitiveFlag=u),s=`insensitive`,a&&=((0,T.ensureObject)(r,`spaces`,`insensitive`),r.spaces.insensitive.before=a,``),o&&=((0,T.ensureObject)(r,`raws`,`spaces`,`insensitive`),r.raws.spaces.insensitive.before=o,``)):(r.value||r.value===``)&&(s=`value`,r.value+=u,r.raws.value&&(r.raws.value+=u))}c=!1;break;case C.str:if(!r.attribute||!r.operator)return this.error(`Expected an attribute followed by an operator preceding the string.`,{index:l[S.FIELDS.START_POS]});var b=(0,_.unescapeValue)(u),x=b.unescaped,w=b.quoteMark;r.value=x,r.quoteMark=w,s=`value`,(0,T.ensureObject)(r,`raws`),r.raws.value=u,c=!1;break;case C.equals:if(!r.attribute)return this.expected(`attribute`,l[S.FIELDS.START_POS],u);if(r.value)return this.error(`Unexpected "=" found; an operator was already defined.`,{index:l[S.FIELDS.START_POS]});r.operator=r.operator?r.operator+u:u,s=`operator`,c=!1;break;case C.comment:if(s)if(c||d&&d[S.FIELDS.TYPE]===C.space||s===`insensitive`){var E=(0,T.getProp)(r,`spaces`,s,`after`)||``,ee=(0,T.getProp)(r,`raws`,`spaces`,s,`after`)||E;(0,T.ensureObject)(r,`raws`,`spaces`,s),r.raws.spaces[s].after=ee+u}else{var D=r[s]||``,O=(0,T.getProp)(r,`raws`,s)||D;(0,T.ensureObject)(r,`raws`),r.raws[s]=O+u}else o+=u;break;default:return this.error(`Unexpected "${u}" found.`,{index:l[S.FIELDS.START_POS]})}i++}ne(r,`attribute`),ne(r,`namespace`),this.newNode(new _.default(r)),this.position++},e.prototype.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r=``,i=void 0;do if(E[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[S.FIELDS.TYPE]===C.comment){var a={};r&&=(a.before=r,``),i=new f.default({value:this.content(),source:A(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:a}),n.push(i)}while(++this.position<e);if(r){if(i)i.spaces.after=r;else if(!this.options.lossy){var o=this.tokens[t],s=this.tokens[this.position-1];n.push(new h.default({value:``,source:k(o[S.FIELDS.START_LINE],o[S.FIELDS.START_COL],s[S.FIELDS.END_LINE],s[S.FIELDS.END_COL]),sourceIndex:o[S.FIELDS.START_POS],spaces:{before:r,after:``}}))}}return n},e.prototype.convertWhitespaceNodesToSpace=function(e,t){var n=this;t===void 0&&(t=!1);var r=``,i=``;return e.forEach(function(e){var a=n.lossySpace(e.spaces.before,t),o=n.lossySpace(e.rawSpaceBefore,t);r+=a+n.lossySpace(e.spaces.after,t&&a.length===0),i+=a+e.value+n.lossySpace(e.rawSpaceAfter,t&&o.length===0)}),i===r&&(i=void 0),{space:r,rawSpace:i}},e.prototype.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][S.FIELDS.TYPE]===C.slash&&this.tokens[e+1]&&this.tokens[e+1][S.FIELDS.TYPE]===C.word&&this.tokens[e+2]&&this.tokens[e+2][S.FIELDS.TYPE]===C.slash},e.prototype.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,T.unesc)(e).toLowerCase(),n={};t!==e&&(n.value=`/${e}/`);var r=new y.default({value:`/${t}/`,source:k(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:n});return this.position+=3,r}else this.unexpected()},e.prototype.combinator=function(){var e=this;if(this.content()===`|`)return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][S.FIELDS.TYPE]===C.comma||this.tokens[t][S.FIELDS.TYPE]===C.closeParenthesis){var n=this.parseWhitespaceEquivalentTokens(t);if(n.length>0){var r=this.current.last;if(r){var i=this.convertWhitespaceNodesToSpace(n),a=i.space,o=i.rawSpace;o!==void 0&&(r.rawSpaceAfter+=o),r.spaces.after+=a}else n.forEach(function(t){return e.newNode(t)})}return}var s=this.currToken,c=void 0;t>this.position&&(c=this.parseWhitespaceEquivalentTokens(t));var l;if(this.isNamedCombinator()?l=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===C.combinator?(l=new y.default({value:this.content(),source:A(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):E[this.currToken[S.FIELDS.TYPE]]||c||this.unexpected(),l){if(c){var u=this.convertWhitespaceNodesToSpace(c),a=u.space,o=u.rawSpace;l.spaces.before=a,l.rawSpaceBefore=o}}else{var d=this.convertWhitespaceNodesToSpace(c,!0),a=d.space,o=d.rawSpace;o||=a;var f={},p={spaces:{}};a.endsWith(` `)&&o.endsWith(` `)?(f.before=a.slice(0,a.length-1),p.spaces.before=o.slice(0,o.length-1)):a[0]===` `&&o[0]===` `?(f.after=a.slice(1),p.spaces.after=o.slice(1)):p.value=o,l=new y.default({value:` `,source:te(s,this.tokens[this.position-1]),sourceIndex:s[S.FIELDS.START_POS],spaces:f,raws:p})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===C.space&&(l.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(l)},e.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new u.default({source:{start:D(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][S.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++},e.prototype.comment=function(){var e=this.currToken;this.newNode(new f.default({value:this.content(),source:A(e),sourceIndex:e[S.FIELDS.START_POS]})),this.position++},e.prototype.error=function(e,t){throw this.root.error(e,t)},e.prototype.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`,{index:this.currToken[S.FIELDS.START_POS]})},e.prototype.missingParenthesis=function(){return this.expected(`opening parenthesis`,this.currToken[S.FIELDS.START_POS])},e.prototype.missingSquareBracket=function(){return this.expected(`opening square bracket`,this.currToken[S.FIELDS.START_POS])},e.prototype.unexpected=function(){return this.error(`Unexpected '${this.content()}'. Escaping special characters with \\ may help.`,this.currToken[S.FIELDS.START_POS])},e.prototype.unexpectedPipe=function(){return this.error(`Unexpected '|'.`,this.currToken[S.FIELDS.START_POS])},e.prototype.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===C.word)return this.position++,this.word(e);if(this.nextToken[S.FIELDS.TYPE]===C.asterisk)return this.position++,this.universal(e);this.unexpectedPipe()},e.prototype.nesting=function(){if(this.nextToken&&this.content(this.nextToken)===`|`){this.position++;return}var e=this.currToken;this.newNode(new b.default({value:this.content(),source:A(e),sourceIndex:e[S.FIELDS.START_POS]})),this.position++},e.prototype.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===w.PSEUDO){var n=new u.default({source:{start:D(this.tokens[this.position])},sourceIndex:this.tokens[this.position][S.FIELDS.START_POS]}),r=this.current;e.append(n),this.current=n,this.nestingDepth++;try{for(this.nestingDepth>this.maxNestingDepth&&this.error(`Cannot parse selector: nesting depth exceeds the maximum of ${this.maxNestingDepth}.`,{index:this.currToken[S.FIELDS.START_POS]});this.position<this.tokens.length&&t;)this.currToken[S.FIELDS.TYPE]===C.openParenthesis&&t++,this.currToken[S.FIELDS.TYPE]===C.closeParenthesis&&t--,t?this.parse():(this.current.source.end=O(this.currToken),this.current.parent.source.end=O(this.currToken),this.position++)}finally{this.nestingDepth--}this.current=r}else{for(var i=this.currToken,a=`(`,o=void 0;this.position<this.tokens.length&&t;)this.currToken[S.FIELDS.TYPE]===C.openParenthesis&&t++,this.currToken[S.FIELDS.TYPE]===C.closeParenthesis&&t--,o=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape(`value`,a,a):this.newNode(new h.default({value:a,source:k(i[S.FIELDS.START_LINE],i[S.FIELDS.START_COL],o[S.FIELDS.END_LINE],o[S.FIELDS.END_COL]),sourceIndex:i[S.FIELDS.START_POS]}))}if(t)return this.expected(`closing parenthesis`,this.currToken[S.FIELDS.START_POS])},e.prototype.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===C.colon;)t+=this.content(),this.position++;if(!this.currToken)return this.expected([`pseudo-class`,`pseudo-element`],this.position-1);if(this.currToken[S.FIELDS.TYPE]===C.word)this.splitWord(!1,function(r,i){t+=r,e.newNode(new g.default({value:t,source:te(n,e.currToken),sourceIndex:n[S.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[S.FIELDS.TYPE]===C.openParenthesis&&e.error(`Misplaced parenthesis.`,{index:e.nextToken[S.FIELDS.START_POS]})});else return this.expected([`pseudo-class`,`pseudo-element`],this.currToken[S.FIELDS.START_POS])},e.prototype.space=function(){var e=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===C.comma||this.prevToken[S.FIELDS.TYPE]===C.openParenthesis||this.current.nodes.every(function(e){return e.type===`comment`})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===C.comma||this.nextToken[S.FIELDS.TYPE]===C.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:A(e),sourceIndex:e[S.FIELDS.START_POS]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&this.content(t)===`|`)return this.position++,this.namespace();var n=this.currToken;this.newNode(new v.default({value:this.content(),source:A(n),sourceIndex:n[S.FIELDS.START_POS]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var n=this,r=this.nextToken,o=this.content();r&&~[C.dollar,C.caret,C.equals,C.word].indexOf(r[S.FIELDS.TYPE]);){this.position++;var s=this.content();if(o+=s,s.lastIndexOf(`\\`)===s.length-1){var c=this.nextToken;c&&c[S.FIELDS.TYPE]===C.space&&(o+=this.requiredSpace(this.content(c)),this.position++)}r=this.nextToken}var l=re(o,`.`).filter(function(e){var t=o[e-1]===`\\`,n=/^\d+\.\d+%$/.test(o);return!t&&!n}),u=re(o,`#`).filter(function(e){return o[e-1]!==`\\`}),f=re(o,`#{`);f.length&&(u=u.filter(function(e){return!~f.indexOf(e)}));var h=(0,x.default)(ie(a(a([0],i(l),!1),i(u),!1)));h.forEach(function(r,i){var a=h[i+1]||o.length,s=o.slice(r,a);if(i===0&&t)return t.call(n,s,h.length);var c,f=n.currToken,g=f[S.FIELDS.START_POS]+h[i],_=k(f[1],f[2]+r,f[3],f[2]+(a-1));if(~l.indexOf(r)){var v={value:s.slice(1),source:_,sourceIndex:g};c=new d.default(ne(v,`value`))}else if(~u.indexOf(r)){var y={value:s.slice(1),source:_,sourceIndex:g};c=new p.default(ne(y,`value`))}else{var b={value:s,source:_,sourceIndex:g};ne(b,`value`),c=new m.default(b)}n.newNode(c,e),e=null}),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&this.content(t)===`|`?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.prototype.parse=function(e){switch(this.currToken[S.FIELDS.TYPE]){case C.space:this.space();break;case C.comment:this.comment();break;case C.openParenthesis:this.parentheses();break;case C.closeParenthesis:e&&this.missingParenthesis();break;case C.openSquare:this.attribute();break;case C.dollar:case C.caret:case C.equals:case C.word:this.word();break;case C.colon:this.pseudo();break;case C.comma:this.comma();break;case C.asterisk:this.universal();break;case C.ampersand:this.nesting();break;case C.slash:case C.combinator:this.combinator();break;case C.str:this.string();break;case C.closeSquare:this.missingSquareBracket();case C.semicolon:this.missingBackslash();default:this.unexpected()}},e.prototype.expected=function(e,t,n){if(Array.isArray(e)){var r=e.pop();e=`${e.join(`, `)} or ${r}`}var i=/^[aeiou]/.test(e[0])?`an`:`a`;return n?this.error(`Expected ${i} ${e}, found "${n}" instead.`,{index:t}):this.error(`Expected ${i} ${e}.`,{index:t})},e.prototype.requiredSpace=function(e){return this.options.lossy?` `:e},e.prototype.optionalSpace=function(e){return this.options.lossy?``:e},e.prototype.lossySpace=function(e,t){return this.options.lossy?t?` `:``:e},e.prototype.parseParenthesisToken=function(e){var t=this.content(e);return e[S.FIELDS.TYPE]===C.space?this.requiredSpace(t):t},e.prototype.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||``)+t),t=!0),e.namespace=t,ne(e,`namespace`)),this.spaces&&=(e.spaces.before=this.spaces,``),this.current.append(e)},e.prototype.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[S.FIELDS.START_POS],e[S.FIELDS.END_POS])},Object.defineProperty(e.prototype,"currToken",{get:function(){return this.tokens[this.position]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextToken",{get:function(){return this.tokens[this.position+1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"prevToken",{get:function(){return this.tokens[this.position-1]},enumerable:!1,configurable:!0}),e.prototype.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(ee[this.tokens[t][S.FIELDS.TYPE]]){t++;continue}else return t;return-1},e}(),z_}var my;function hy(){if(my)return R_;my=1;var e=R_&&R_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(R_,"__esModule",{value:!0});var t=e(py());return R_.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}return e.prototype._shouldUpdateSelector=function(e,t){return t===void 0&&(t={}),Object.assign({},this.options,t).updateSelector===!1?!1:typeof e!=`string`},e.prototype._isLossy=function(e){return e===void 0&&(e={}),Object.assign({},this.options,e).lossless===!1},e.prototype._root=function(e,n){return n===void 0&&(n={}),new t.default(e,this._parseOptions(n)).root},e.prototype._parseOptions=function(e){var t=Object.assign({},this.options,e);return{lossy:this._isLossy(t),maxNestingDepth:t.maxNestingDepth}},e.prototype._stringifyOptions=function(e){return{maxNestingDepth:Object.assign({},this.options,e).maxNestingDepth}},e.prototype._run=function(e,t){var n=this;return t===void 0&&(t={}),new Promise(function(r,i){try{var a=n._root(e,t);Promise.resolve(n.func(a)).then(function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=a.toString(n._stringifyOptions(t)),e.selector=i),{transform:r,root:a,string:i}}).then(r,i)}catch(e){i(e);return}})},e.prototype._runSync=function(e,t){t===void 0&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&typeof r.then==`function`)throw Error(`Selector processor returned a promise to a synchronous call.`);var i=void 0;return t.updateSelector&&typeof e!=`string`&&(i=n.toString(this._stringifyOptions(t)),e.selector=i),{transform:r,root:n,string:i}},e.prototype.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},e.prototype.astSync=function(e,t){return this._runSync(e,t).root},e.prototype.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},e.prototype.transformSync=function(e,t){return this._runSync(e,t).transform},e.prototype.process=function(e,t){var n=this;return this._run(e,t).then(function(e){return e.string||e.root.toString(n._stringifyOptions(t))})},e.prototype.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString(this._stringifyOptions(t))},e}(),R_}var gy={},$={},_y;function vy(){if(_y)return $;_y=1;var e=$&&$.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($,"__esModule",{value:!0}),$.universal=$.tag=$.string=$.selector=$.root=$.pseudo=$.nesting=$.id=$.comment=$.combinator=$.className=$.attribute=void 0;var t=e(qv()),n=e(Cv()),r=e($v()),i=e(Ev()),a=e(kv()),o=e(ny()),s=e(Vv()),c=e(mv()),l=e(_v()),u=e(Rv()),d=e(Fv()),f=e(Xv());return $.attribute=function(e){return new t.default(e)},$.className=function(e){return new n.default(e)},$.combinator=function(e){return new r.default(e)},$.comment=function(e){return new i.default(e)},$.id=function(e){return new a.default(e)},$.nesting=function(e){return new o.default(e)},$.pseudo=function(e){return new s.default(e)},$.root=function(e){return new c.default(e)},$.selector=function(e){return new l.default(e)},$.string=function(e){return new u.default(e)},$.tag=function(e){return new d.default(e)},$.universal=function(e){return new f.default(e)},$}var yy={},by;function xy(){return by?yy:(by=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isNode=i,e.isPseudoElement=o,e.isPseudoClass=s,e.isContainer=c,e.isNamespace=l;var n=uv(),r=(t={},t[n.ATTRIBUTE]=!0,t[n.CLASS]=!0,t[n.COMBINATOR]=!0,t[n.COMMENT]=!0,t[n.ID]=!0,t[n.NESTING]=!0,t[n.PSEUDO]=!0,t[n.ROOT]=!0,t[n.SELECTOR]=!0,t[n.STRING]=!0,t[n.TAG]=!0,t[n.UNIVERSAL]=!0,t);function i(e){return typeof e==`object`&&r[e.type]}function a(e,t){return i(t)&&t.type===e}e.isAttribute=a.bind(null,n.ATTRIBUTE),e.isClassName=a.bind(null,n.CLASS),e.isCombinator=a.bind(null,n.COMBINATOR),e.isComment=a.bind(null,n.COMMENT),e.isIdentifier=a.bind(null,n.ID),e.isNesting=a.bind(null,n.NESTING),e.isPseudo=a.bind(null,n.PSEUDO),e.isRoot=a.bind(null,n.ROOT),e.isSelector=a.bind(null,n.SELECTOR),e.isString=a.bind(null,n.STRING),e.isTag=a.bind(null,n.TAG),e.isUniversal=a.bind(null,n.UNIVERSAL);function o(t){return(0,e.isPseudo)(t)&&t.value&&(t.value.startsWith(`::`)||t.value.toLowerCase()===`:before`||t.value.toLowerCase()===`:after`||t.value.toLowerCase()===`:first-letter`||t.value.toLowerCase()===`:first-line`)}function s(t){return(0,e.isPseudo)(t)&&!o(t)}function c(e){return!!(i(e)&&e.walk)}function l(t){return(0,e.isAttribute)(t)||(0,e.isTag)(t)}})(yy),yy)}var Sy;function Cy(){return Sy?gy:(Sy=1,(function(e){var t=gy&&gy.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=gy&&gy.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(uv(),e),n(vy(),e),n(xy(),e)})(gy),gy)}var wy,Ty;function Ey(){if(Ty)return wy;Ty=1;var e=wy&&wy.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),t=wy&&wy.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),n=wy&&wy.__importStar||(function(){var n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},n(e)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=n(r),o=0;o<a.length;o++)a[o]!=="default"&&e(i,r,a[o]);return t(i,r),i}})(),r=(wy&&wy.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(hy()),i=n(Cy()),a=function(e){return new r.default(e)};return Object.assign(a,i),delete a.__esModule,wy=a,wy}var Dy=mi(Ey()),Oy=/^(?:-\w+-)?animation-name$/,ky=/^(?:-\w+-)?animation$/,Ay=/^(?:-\w+-)?keyframes$/,jy=(e=``)=>{let t=Object.create(null),n=e.replace(/^data-v-/,``);return{postcssPlugin:`vue-sfc-scoped`,Rule(t){Ny(e,t)},AtRule(e){Ay.test(e.name)&&!e.params.endsWith(`-${n}`)&&(t[e.params]=e.params=e.params+`-`+n)},OnceExit(e){Object.keys(t).length&&e.walkDecls(e=>{Oy.test(e.prop)&&(e.value=e.value.split(`,`).map(e=>t[e.trim()]||e.trim()).join(`,`)),ky.test(e.prop)&&(e.value=e.value.split(`,`).map(e=>{let n=e.trim().split(/\s+/),r=n.findIndex(e=>t[e]);return r===-1?e:(n.splice(r,1,t[n[r]]),n.join(` `))}).join(`,`))})}}},My=new WeakSet;function Ny(e,t){if(My.has(t)||t.parent&&t.parent.type===`atrule`&&Ay.test(t.parent.name))return;My.add(t);let n=!1,r=t.parent;for(;r&&r.type!==`root`;){if(r.__deep){n=!0;break}r=r.parent}t.selector=Dy(r=>{r.each(i=>{Py(e,t,i,r,n)})}).processSync(t.selector)}function Py(e,t,n,r,i,a=!1){let o=null,s=!i,c=!1,l=!1;if(n.each(u=>{if(u.type===`combinator`&&(u.value===`>>>`||u.value===`/deep/`))return u.value=` `,u.spaces.before=u.spaces.after=``,Rh(`the >>> and /deep/ combinators have been deprecated. Use :deep() instead.`),!1;if(u.type===`pseudo`){let{value:d}=u;if(Ly(u)&&u.nodes.some(e=>e.some(Iy))){let f=!!o,p=u.nodes.some(e=>!e.some(Iy)),m=n.index(u)<n.length-1;if(Ry(u)&&!i&&!f&&p&&m)return zy(e,t,n,r,u,i,a),l=!0,!1;if(d===`:not`&&!i&&!f&&p&&m)return;u.nodes.forEach(n=>Py(e,t,n,r,i||f,a)),f||(o=u,s=!1),c=!0}if(d===`:deep`||d===`::v-deep`){if(t.__deep=!0,u.nodes.length){let e=u;u.nodes[0].each(t=>{n.insertAfter(e,t),e=t});let t=n.at(n.index(u)-1);(!t||!Fy(t))&&n.insertAfter(u,Dy.combinator({value:` `})),n.removeChild(u)}else{Rh(`${d} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${d} <inner-selector>.`);let e=n.at(n.index(u)-1);e&&Fy(e)&&n.removeChild(e),n.removeChild(u)}return!1}if(d===`:slotted`||d===`::v-slotted`){Py(e,t,u.nodes[0],r,i,!0);let a=u;return u.nodes[0].each(e=>{n.insertAfter(a,e),a=e}),n.removeChild(u),s=!1,!1}if(d===`:global`||d===`::v-global`)return n.replaceWith(u.nodes[0]),!1}if(u.type===`universal`){let e=n.at(n.index(u)-1),t=n.at(n.index(u)+1);if(!e)if(t){t.type===`combinator`&&t.value===` `&&n.removeChild(t),n.removeChild(u);return}else return o=Dy.combinator({value:``}),n.insertBefore(u,o),n.removeChild(u),!1;if(o)return}!c&&(u.type!==`pseudo`&&u.type!==`combinator`||u.type===`pseudo`&&(u.value===`:is`||u.value===`:where`)&&!o)&&(o=u)}),!l){if(t.nodes.some(e=>e.type===`rule`)){let e=t.__deep;if(!e){By(t);let e=t.nodes.filter(e=>e.type===`atrule`);for(let t of e)By(t)}s=e}if(o&&!c){let{type:n,value:c}=o;n===`pseudo`&&(c===`:is`||c===`:where`)&&(o.nodes.forEach(n=>Py(e,t,n,r,i,a)),s=!1)}if(o?o.spaces.after=``:n.first.spaces.before=``,s){let t=a?e+`-s`:e;n.insertAfter(o,Dy.attribute({attribute:t,value:t,raws:{},quoteMark:`"`}))}}}function Fy(e){return e.type===`combinator`&&/^\s+$/.test(e.value)}function Iy(e){return e.type===`pseudo`&&(e.value===`:deep`||e.value===`::v-deep`)?!0:!!e.nodes?.some(e=>Iy(e))}function Ly(e){return e.type===`pseudo`&&(e.value===`:is`||e.value===`:where`||e.value===`:has`||e.value===`:not`)}function Ry(e){return e.value===`:is`||e.value===`:where`||e.value===`:has`}function zy(e,t,n,r,i,a,o){let s=n.index(i),c=i.nodes.map((i,c)=>{let l=n.clone();l.first&&(l.first.spaces.before=c===0?n.first.spaces.before:` `);let u=l.at(s),d=i.clone();return d.first&&(d.first.spaces.before=``),u.removeAll(),u.append(d),Py(e,t,l,r,a,o),l});n.replaceWith(...c)}function By(e){if(!e.nodes)return;let t=e.nodes.filter(e=>e.type===`decl`||e.type===`comment`);if(t.length){for(let n of t)e.removeChild(n);let n=new I_({nodes:t,selector:`&`});e.prepend(n)}}jy.postcss=!0;var Vy={},Hy={},Uy={},Wy={},Gy;function Ky(){if(Gy)return Wy;Gy=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return Wy.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},Wy.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1},Wy}var qy;function Jy(){if(qy)return Uy;qy=1;var e=Ky(),t=5,n=1<<t,r=n-1,i=n;function a(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var t=(e&1)==1,n=e>>1;return t?-n:n}return Uy.encode=function(n){var o=``,s,c=a(n);do s=c&r,c>>>=t,c>0&&(s|=i),o+=e.encode(s);while(c>0);return o},Uy.decode=function(n,a,s){var c=n.length,l=0,u=0,d,f;do{if(a>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=e.decode(n.charCodeAt(a++)),f===-1)throw Error(`Invalid base64 digit: `+n.charAt(a-1));d=!!(f&i),f&=r,l+=f<<u,u+=t}while(d);s.value=o(l),s.rest=a},Uy}var Yy={},Xy;function Zy(){return Xy?Yy:(Xy=1,(function(e){function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;function o(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=n.split(/\/+/),c,l=0,u=s.length-1;u>=0;u--)c=s[u],c===`.`?s.splice(u,1):c===`..`?l++:l>0&&(c===``?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n}e.normalize=o;function s(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),s=i(e);if(s&&(e=s.path||`/`),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c=t.charAt(0)===`/`?t:o(e.replace(/\/+$/,``)+`/`+t);return s?(s.path=c,a(s)):c}e.join=s,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function c(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=c;var l=function(){return!(`__proto__`in Object.create(null))}();function u(e){return e}function d(e){return p(e)?`$`+e:e}e.toSetString=l?u:d;function f(e){return p(e)?e.slice(1):e}e.fromSetString=l?u:f;function p(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function m(e,t,n){var r=g(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:g(e.name,t.name)}e.compareByOriginalPositions=m;function h(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=g(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:g(e.name,t.name)}e.compareByGeneratedPositionsDeflated=h;function g(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function _(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=g(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:g(e.name,t.name)}e.compareByGeneratedPositionsInflated=_;function v(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=v;function y(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var c=r.path.lastIndexOf(`/`);c>=0&&(r.path=r.path.substring(0,c+1))}t=s(a(r),t)}return o(t)}e.computeSourceURL=y})(Yy),Yy)}var Qy={},$y;function eb(){if($y)return Qy;$y=1;var e=Zy(),t=Object.prototype.hasOwnProperty,n=typeof Map<`u`;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,i){var a=n?r:e.toSetString(r),o=n?this.has(r):t.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(r),o||(n?this._set.set(r,s):this._set[a]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var i=e.toSetString(r);return t.call(this._set,i)},r.prototype.indexOf=function(r){if(n){var i=this._set.get(r);if(i>=0)return i}else{var a=e.toSetString(r);if(t.call(this._set,a))return this._set[a]}throw Error(`"`+r+`" is not in the set.`)},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},r.prototype.toArray=function(){return this._array.slice()},Qy.ArraySet=r,Qy}var tb={},nb;function rb(){if(nb)return tb;nb=1;var e=Zy();function t(t,n){var r=t.generatedLine,i=n.generatedLine,a=t.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||e.compareByGeneratedPositionsInflated(t,n)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||=(this._array.sort(e.compareByGeneratedPositionsInflated),!0),this._array},tb.MappingList=n,tb}var ib;function ab(){if(ib)return Hy;ib=1;var e=Jy(),t=Zy(),n=eb().ArraySet,r=rb().MappingList;function i(e){e||={},this._file=t.getArg(e,`file`,null),this._sourceRoot=t.getArg(e,`sourceRoot`,null),this._skipValidation=t.getArg(e,`skipValidation`,!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e){var n=e.sourceRoot,r=new i({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(i.source=e.source,n!=null&&(i.source=t.relative(n,i.source)),i.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(i.name=e.name)),r.addMapping(i)}),e.sources.forEach(function(i){var a=i;n!==null&&(a=t.relative(n,i)),r._sources.has(a)||r._sources.add(a);var o=e.sourceContentFor(i);o!=null&&r.setSourceContent(i,o)}),r},i.prototype.addMapping=function(e){var n=t.getArg(e,`generated`),r=t.getArg(e,`original`,null),i=t.getArg(e,`source`,null),a=t.getArg(e,`name`,null);this._skipValidation||this._validateMapping(n,r,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a})},i.prototype.setSourceContent=function(e,n){var r=e;this._sourceRoot!=null&&(r=t.relative(this._sourceRoot,r)),n==null?this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[t.toSetString(r)]=n)},i.prototype.applySourceMap=function(e,r,i){var a=r;if(r==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=t.relative(o,a));var s=new n,c=new n;this._mappings.unsortedForEach(function(n){if(n.source===a&&n.originalLine!=null){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});r.source!=null&&(n.source=r.source,i!=null&&(n.source=t.join(i,n.source)),o!=null&&(n.source=t.relative(o,n.source)),n.originalLine=r.line,n.originalColumn=r.column,r.name!=null&&(n.name=r.name))}var l=n.source;l!=null&&!s.has(l)&&s.add(l);var u=n.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(n){var r=e.sourceContentFor(n);r!=null&&(i!=null&&(n=t.join(i,n)),o!=null&&(n=t.relative(o,n)),this.setSourceContent(n,r))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`)throw Error(`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`);if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw Error(`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r}))},i.prototype._serializeMappings=function(){for(var n=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(n=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!t.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=e.encode(u.generatedColumn-n),n=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=e.encode(f-s),s=f,l+=e.encode(u.originalLine-1-a),a=u.originalLine-1,l+=e.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=e.encode(d-o),o=d)),c+=l}return c},i.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;n!=null&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},Hy.SourceMapGenerator=i,Hy}var ob={},sb={},cb;function lb(){return cb?sb:(cb=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})(sb),sb)}var ub={},db;function fb(){if(db)return ub;db=1;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(e,t){return Math.round(e+Math.random()*(t-e))}function n(r,i,a,o){if(a<o){var s=t(a,o),c=a-1;e(r,s,o);for(var l=r[o],u=a;u<o;u++)i(r[u],l)<=0&&(c+=1,e(r,c,u));e(r,c+1,u);var d=c+1;n(r,i,a,d-1),n(r,i,d+1,o)}}return ub.quickSort=function(e,t){n(e,t,0,e.length-1)},ub}var pb;function mb(){if(pb)return ob;pb=1;var e=Zy(),t=lb(),n=eb().ArraySet,r=Jy(),i=fb().quickSort;function a(t,n){var r=t;return typeof t==`string`&&(r=e.parseSourceMapInput(t)),r.sections==null?new o(r,n):new c(r,n)}a.fromSourceMap=function(e,t){return o.fromSourceMap(e,t)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},a.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(t,n,r){var i=n||null,o=r||a.GENERATED_ORDER,s;switch(o){case a.GENERATED_ORDER:s=this._generatedMappings;break;case a.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}var c=this.sourceRoot;s.map(function(t){var n=t.source===null?null:this._sources.at(t.source);return n=e.computeSourceURL(c,n,this._sourceMapURL),{source:n,generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:t.name===null?null:this._names.at(t.name)}},this).forEach(t,i)},a.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,`line`),i={source:e.getArg(n,`source`),originalLine:r,originalColumn:e.getArg(n,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(n.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:e.getArg(s,`generatedLine`,null),column:e.getArg(s,`generatedColumn`,null),lastColumn:e.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},ob.SourceMapConsumer=a;function o(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var a=e.getArg(i,`version`),o=e.getArg(i,`sources`),s=e.getArg(i,`names`,[]),c=e.getArg(i,`sourceRoot`,null),l=e.getArg(i,`sourcesContent`,null),u=e.getArg(i,`mappings`),d=e.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=e.normalize(c),o=o.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=r,this.file=d}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(t){var n=t;if(this.sourceRoot!=null&&(n=e.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1},o.fromSourceMap=function(t,r){var a=Object.create(o.prototype),c=a._names=n.fromArray(t._names.toArray(),!0),l=a._sources=n.fromArray(t._sources.toArray(),!0);a.sourceRoot=t._sourceRoot,a.sourcesContent=t._generateSourcesContent(a._sources.toArray(),a.sourceRoot),a.file=t._file,a._sourceMapURL=r,a._absoluteSources=a._sources.toArray().map(function(t){return e.computeSourceURL(a.sourceRoot,t,r)});for(var u=t._mappings.toArray().slice(),d=a.__generatedMappings=[],f=a.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new s;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=c.indexOf(h.name)),f.push(g)),d.push(g)}return i(a.__originalMappings,e.compareByOriginalPositions),a},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(t,n){for(var a=1,o=0,c=0,l=0,u=0,d=0,f=t.length,p=0,m={},h={},g=[],_=[],v,y,b,x,S;p<f;)if(t.charAt(p)===`;`)a++,p++,o=0;else if(t.charAt(p)===`,`)p++;else{for(v=new s,v.generatedLine=a,x=p;x<f&&!this._charIsMappingSeparator(t,x);x++);if(y=t.slice(p,x),b=m[y],b)p+=y.length;else{for(b=[];p<x;)r.decode(t,p,h),S=h.value,p=h.rest,b.push(S);if(b.length===2)throw Error(`Found a source, but no line and column`);if(b.length===3)throw Error(`Found a source and line, but no column`);m[y]=b}v.generatedColumn=o+b[0],o=v.generatedColumn,b.length>1&&(v.source=u+b[1],u+=b[1],v.originalLine=c+b[2],c=v.originalLine,v.originalLine+=1,v.originalColumn=l+b[3],l=v.originalColumn,b.length>4&&(v.name=d+b[4],d+=b[4])),_.push(v),typeof v.originalLine==`number`&&g.push(v)}i(_,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,i(g,e.compareByOriginalPositions),this.__originalMappings=g},o.prototype._findMapping=function(e,n,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return t.search(e,n,a,o)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,`line`),generatedColumn:e.getArg(t,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,e.compareByGeneratedPositionsDeflated,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var o=e.getArg(i,`source`,null);o!==null&&(o=this._sources.at(o),o=e.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=e.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:o,line:e.getArg(i,`originalLine`,null),column:e.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},o.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i=t;this.sourceRoot!=null&&(i=e.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},o.prototype.generatedPositionFor=function(t){var n=e.getArg(t,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,`line`),originalColumn:e.getArg(t,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,e.compareByOriginalPositions,e.getArg(t,`bias`,a.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:e.getArg(o,`generatedLine`,null),column:e.getArg(o,`generatedColumn`,null),lastColumn:e.getArg(o,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},ob.BasicSourceMapConsumer=o;function c(t,r){var i=t;typeof t==`string`&&(i=e.parseSourceMapInput(t));var o=e.getArg(i,`version`),s=e.getArg(i,`sections`);if(o!=this._version)throw Error(`Unsupported version: `+o);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw Error(`Support for url field in sections not implemented.`);var n=e.getArg(t,`offset`),i=e.getArg(n,`line`),o=e.getArg(n,`column`);if(i<c.line||i===c.line&&o<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new a(e.getArg(t,`map`),r)}})}return c.prototype=Object.create(a.prototype),c.prototype.constructor=a,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),c.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,`line`),generatedColumn:e.getArg(n,`column`)},i=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},c.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(e.getArg(t,`source`))!==-1){var i=r.consumer.generatedPositionFor(t);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},c.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var a=this._sections[r],o=a.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=a.consumer._sources.at(c.source);l=e.computeSourceURL(a.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=a.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(a.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(a.generatedOffset.generatedLine===c.generatedLine?a.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},ob.IndexedSourceMapConsumer=c,ob}var hb={},gb;function _b(){if(gb)return hb;gb=1;var e=ab().SourceMapGenerator,t=Zy(),n=/(\r?\n)/,r=10,i=`$$$isSourceNode$$$`;function a(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=a??null,this[i]=!0,r!=null&&this.add(r)}return a.fromStringWithSourceMap=function(e,r,i){var o=new a,s=e.split(n),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return r.eachMapping(function(e){if(f!==null)if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}for(;u<e.generatedLine;)o.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;o.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),o.add(s.splice(c).join(``))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);n!=null&&(i!=null&&(e=t.join(i,e)),o.setSourceContent(e,n))}),o;function p(e,n){if(e===null||e.source===void 0)o.add(n);else{var r=i?t.join(i,e.source):e.source;o.add(new a(e.originalLine,e.originalColumn,r,n,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[i]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[i]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},a.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[i]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},a.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},a.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},a.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;n<r;n++)this.children[n][i]&&this.children[n].walkSourceContents(e);for(var a=Object.keys(this.sourceContents),n=0,r=a.length;n<r;n++)e(t.fromSetString(a[n]),this.sourceContents[a[n]])},a.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},a.prototype.toStringWithSourceMap=function(t){var n={code:``,line:1,column:0},i=new e(t),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(i.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===r?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){i.setSourceContent(e,t)}),{code:n.code,map:i}},hb.SourceNode=a,hb}var vb;function yb(){return vb?Vy:(vb=1,Vy.SourceMapGenerator=ab().SourceMapGenerator,Vy.SourceMapConsumer=mb().SourceMapConsumer,Vy.SourceNode=_b().SourceNode,Vy)}var bb,xb;function Sb(){if(xb)return bb;xb=1;var e=yb(),t=e.SourceMapConsumer,n=e.SourceMapGenerator;bb=r;function r(e,r){if(!e)return r;if(!r)return e;var i=new t(e),a=new t(r),o=new n;return a.eachMapping(function(e){if(e.originalLine!=null){var t=i.originalPositionFor({line:e.originalLine,column:e.originalColumn});t.source!=null&&o.addMapping({original:{line:t.line,column:t.column},generated:{line:e.generatedLine,column:e.generatedColumn},source:t.source,name:t.name})}}),[i,a].forEach(function(e){e.sources.forEach(function(t){o._sources.add(t);var n=e.sourceContentFor(t);n!=null&&o.setSourceContent(t,n)})}),o._sourceRoot=e.sourceRoot,o._file=e.file,JSON.parse(o.toString())}return bb}var Cb=mi(Sb()),wb=Object.defineProperty,Tb=Object.defineProperties,Eb=Object.getOwnPropertyDescriptors,Db=Object.getOwnPropertySymbols,Ob=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable,Ab=(e,t,n)=>t in e?wb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jb=(e,t)=>{for(var n in t||={})Ob.call(t,n)&&Ab(e,n,t[n]);if(Db)for(var n of Db(t))kb.call(t,n)&&Ab(e,n,t[n]);return e},Mb=(e,t)=>Tb(e,Eb(t)),Nb=(t,n,r,i=e)=>{let{compileString:a,renderSync:o}=i(`sass`),s=Lb(t,r.filename,r.additionalData),c,l,u;try{if(a){let{pathToFileURL:e,fileURLToPath:t}=i(`url`),o=a(s,Mb(jb({},r),{url:e(r.filename),sourceMap:!!n}));c=o.css,l=o.loadedUrls.map(e=>t(e)),u=n?o.sourceMap:void 0}else{let e=o(Mb(jb({},r),{data:s,file:r.filename,outFile:r.filename,sourceMap:!!n}));c=e.css.toString(),l=e.stats.includedFiles,u=n?JSON.parse(e.map.toString()):void 0}return n?{code:c,errors:[],dependencies:l,map:Cb(n,u)}:{code:c,errors:[],dependencies:l}}catch(e){return{code:``,errors:[e],dependencies:[]}}},Pb=(e,t,n,r)=>Nb(e,t,Mb(jb({},n),{indentedSyntax:!0}),r),Fb=(t,n,r,i=e)=>{let a=i(`less`),o,s=null;if(a.render(Lb(t,r.filename,r.additionalData),Mb(jb({},r),{syncImport:!0}),(e,t)=>{s=e,o=t}),s)return{code:``,errors:[s],dependencies:[]};let c=o.imports;return n?{code:o.css.toString(),map:Cb(n,o.map),errors:[],dependencies:c}:{code:o.css.toString(),errors:[],dependencies:c}},Ib=(t,n,r,i=e)=>{let a=i(`stylus`);try{let e=a(t,r);n&&e.set(`sourcemap`,{inline:!1,comment:!1});let i=e.render(),o=e.deps();return n?{code:i,map:Cb(n,e.sourcemap),errors:[],dependencies:o}:{code:i,errors:[],dependencies:o}}catch(e){return{code:``,errors:[e],dependencies:[]}}};function Lb(e,t,n){return n?de(n)?n(e,t):n+e:e}var Rb={less:Fb,sass:Pb,scss:Nb,styl:Ib,stylus:Ib},zb=Object.defineProperty,Bb=Object.defineProperties,Vb=Object.getOwnPropertyDescriptors,Hb=Object.getOwnPropertySymbols,Ub=Object.prototype.hasOwnProperty,Wb=Object.prototype.propertyIsEnumerable,Gb=(e,t,n)=>t in e?zb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kb=(e,t)=>{for(var n in t||={})Ub.call(t,n)&&Gb(e,n,t[n]);if(Hb)for(var n of Hb(t))Wb.call(t,n)&&Gb(e,n,t[n]);return e},qb=(e,t)=>Bb(e,Vb(t));function Jb(e){return Yb(qb(Kb({},e),{isAsync:!0}))}function Yb(e){let{filename:t,id:n,scoped:r=!1,trim:i=!0,isProd:a=!1,modules:o=!1,modulesOptions:s={},preprocessLang:c,postcssOptions:l,postcssPlugins:u}=e,d=c&&Rb[c],f=d&&Xb(e,d),p=f?f.map:e.inMap||e.map,m=f?f.code:e.source,h=n.replace(/^data-v-/,``),g=`data-v-${h}`,_=(u||[]).slice();if(_.unshift(zl({id:h,isProd:a})),i&&_.push(L_()),r&&_.push(jy(g)),o)throw Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");let v=qb(Kb({},l),{to:t,from:t});p&&(v.map={inline:!1,annotation:!1,prev:p});let y,b,x,S=new Set(f?f.dependencies:[]);S.delete(t);let C=[];f&&f.errors.length&&C.push(...f.errors);let w=e=>(e.forEach(e=>{e.type===`dependency`&&S.add(e.file)}),S);try{if(y=Z(_).process(m,v),e.isAsync)return y.then(e=>({code:e.css||``,map:e.map&&e.map.toJSON(),errors:C,modules:void 0,rawResult:e,dependencies:w(e.messages)})).catch(e=>({code:``,map:void 0,errors:[...C,e],rawResult:void 0,dependencies:S}));w(y.messages),b=y.css,x=y.map}catch(e){C.push(e)}return{code:b||``,map:x&&x.toJSON(),errors:C,rawResult:y,dependencies:S}}function Xb(e,t){if(!e.preprocessCustomRequire)throw Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return t(e.source,e.inMap||e.map,Kb({filename:e.filename},e.preprocessOptions),e.preprocessCustomRequire)}var Zb=`Unknown`;function Qb(e,t){switch(e.type){case`StringLiteral`:case`NumericLiteral`:return String(e.value);case`Identifier`:if(!t)return e.name}}function $b(e){return e.filter(e=>!!e).join(`, `)}function ex(e){return e.type.endsWith(`Literal`)}function tx(e,t){return!!(e&&t&&e.type===`CallExpression`&&e.callee.type===`Identifier`&&(typeof t==`string`?e.callee.name===t:t(e.callee.name)))}function nx(e){return e.length>1?`[${e.join(`, `)}]`:e[0]}function rx(e){return e.type===`ImportSpecifier`?e.imported.type===`Identifier`?e.imported.name:e.imported.value:e.type===`ImportNamespaceSpecifier`?`*`:`default`}function ix(e){return e.type===`Identifier`?e.name:e.type===`StringLiteral`?e.value:null}function ax(e){return e.computed?e.key.type===`TemplateLiteral`&&!e.key.expressions.length?e.key.quasis.map(e=>e.value.cooked).join(``):null:e.key.type===`Identifier`?e.key.name:e.key.type===`StringLiteral`?e.key.value:e.key.type===`NumericLiteral`?String(e.key.value):null}var ox=(vd.posix||vd).normalize,sx=/\\/g;function cx(e){return ox(e.replace(sx,`/`))}var lx=(vd.posix||vd).join,ux=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function dx(e){return ux.test(e)?JSON.stringify(e):e}var fx=(...e)=>e.some(e=>e===`js`||e===`jsx`),px=(...e)=>e.some(e=>e===`ts`||e===`tsx`);function mx(e){for(let t of e)if(t.type===`ExportDefaultDeclaration`&&t.declaration.type===`ObjectExpression`)return hx(t.declaration);return{}}function hx(e){let t={};Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!1});for(let n of e.properties)if(n.type===`ObjectProperty`&&!n.computed&&n.key.type===`Identifier`){if(n.key.name===`props`)for(let e of vx(n.value))t[e]=`props`;else if(n.key.name===`inject`)for(let e of vx(n.value))t[e]=`options`;else if(n.value.type===`ObjectExpression`&&(n.key.name===`computed`||n.key.name===`methods`))for(let e of gx(n.value))t[e]=`options`}else if(n.type===`ObjectMethod`&&n.key.type===`Identifier`&&(n.key.name===`setup`||n.key.name===`data`)){for(let e of n.body.body)if(e.type===`ReturnStatement`&&e.argument&&e.argument.type===`ObjectExpression`)for(let r of gx(e.argument))t[r]=n.key.name===`setup`?`setup-maybe-ref`:`data`}return t}function gx(e){let t=[];for(let n of e.properties){if(n.type===`SpreadElement`)continue;let e=Qb(n.key,n.computed);e&&t.push(String(e))}return t}function _x(e){let t=[];for(let n of e.elements)n&&n.type===`StringLiteral`&&t.push(n.value);return t}function vx(e){return e.type===`ArrayExpression`?_x(e):e.type===`ObjectExpression`?gx(e):[]}var yx=44,bx=59,xx=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Sx=new Uint8Array(64),Cx=new Uint8Array(128);for(let e=0;e<xx.length;e++){let t=xx.charCodeAt(e);Sx[e]=t,Cx[t]=e}function wx(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(Sx[t])}while(r>0);return t}var Tx=1024*16,Ex=typeof TextDecoder<`u`?new TextDecoder:ie.Buffer===void 0?{decode(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}}:{decode(e){return ie.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}},Dx=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(Tx)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===Tx&&(this.out+=Ex.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+Ex.decode(e.subarray(0,n)):t}};function Ox(e){let t=new Dx,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(bx),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(yx),c=wx(t,o[0],c),o.length!==1&&(n=wx(t,o[1],n),r=wx(t,o[2],r),i=wx(t,o[3],i),o.length!==4&&(a=wx(t,o[4],a)))}}return t.flush()}var kx=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},Ax=class e{constructor(e,t,n){this.start=e,this.end=t,this.original=n,this.intro=``,this.outro=``,this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro+=e}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,n){return this.content=e,n||(this.intro=``,this.outro=``),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro=``,this.outro=``,this.edited&&=(this.content=this.original,this.storeName=!1,!1)}split(t){let n=t-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;let a=new e(t,this.end,i);return a.outro=this.outro,this.outro=``,this.end=t,this.edited?(a.edit(``,!1),this.content=``):this.content=r,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,``),this.outro.length)return!0;let t=this.content.replace(e,``);if(t.length)return t!==this.content&&(this.split(this.start+t.length).edit(``,void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0;if(this.edit(``,void 0,!0),this.intro=this.intro.replace(e,``),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,``),this.intro.length)return!0;let t=this.content.replace(e,``);if(t.length){if(t!==this.content){let e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit(``,void 0,!0)}return!0}else if(this.edit(``,void 0,!0),this.outro=this.outro.replace(e,``),this.outro.length)return!0}};function jx(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof ie.Buffer==`function`?e=>ie.Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Mx=jx(),Nx=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Ox(e.mappings),e.x_google_ignoreList!==void 0&&(this.x_google_ignoreList=e.x_google_ignoreList),e.debugId!==void 0&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return`data:application/json;charset=utf-8;base64,`+Mx(this.toString())}};function Px(e){let t=e.split(`
|
|
90
|
-
`),n=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return` `;let i=r.reduce((e,t)=>{let n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return Array(i+1).join(` `)}function Fx(e,t){let n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let e=n.length;for(;e--;)n[e]=`..`}return n.concat(r).join(`/`)}var Ix=Object.prototype.toString;function Lx(e){return Ix.call(e)===`[object Object]`}function Rx(e){let t=e.split(`
|
|
91
|
-
`),n=[];for(let e=0,r=0;e<t.length;e++)n.push(r),r+=t[e].length+1;return function(e){let t=0,r=n.length;for(;t<r;){let i=t+r>>1;e<n[i]?r=i:t=i+1}let i=t-1;return{line:i,column:e-n[i]}}}var zx=/\w/,Bx=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,n,r){if(t.length){let i=t.length-1,a=t.indexOf(`
|
|
92
|
-
`,0),o=-1;for(;a>=0&&i>a;){let i=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&i.push(r),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=a,a=t.indexOf(`
|
|
93
|
-
`,a+1)}let s=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&s.push(r),this.rawSegments.push(s),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,n,r,i){let a=t.start,o=!0,s=!1;for(;a<t.end;){if(n[a]===`
|
|
94
|
-
`)r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,s=!1;else{if(this.hires||o||i.has(a)){let t=[this.generatedCodeColumn,e,r.line,r.column];this.hires===`boundary`?zx.test(n[a])?s||=(this.rawSegments.push(t),!0):(this.rawSegments.push(t),s=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,o=!1}a+=1}this.pending=null}advance(e){if(!e)return;let t=e.split(`
|
|
95
|
-
`);if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}},Vx=`
|
|
96
|
-
`,Hx={insertLeft:!1,insertRight:!1,storeName:!1},Ux=class e{constructor(e,t={}){let n=new Ax(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:``},intro:{writable:!0,value:``},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new kx},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;let e=n.next,i=e&&e.clone();i&&(r.next=i,i.previous=r,r=i),n=e}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new kx(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e||={};let t=Object.keys(this.storedNames),n=new Bx(e.hires),r=Rx(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(e=>{let i=r(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,i,e.storeName?t.indexOf(e.original):-1):n.addUneditedChunk(0,e,this.original,i,this.sourcemapLocations),e.outro.length&&n.advance(e.outro)}),this.outro&&n.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Fx(e.file||``,e.source):e.file||``],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new Nx(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Px(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?` `:this.indentStr}indent(e,t){let n=/^[^\r\n]/gm;if(Lx(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||` `),e===``)return this;t||={};let r={};t.exclude&&(typeof t.exclude[0]==`number`?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)r[t]=!0});let i=t.indentStart!==!1,a=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(n,a);let o=0,s=this.firstChunk;for(;s;){let t=s.end;if(s.edited)r[o]||(s.content=s.content.replace(n,a),s.content.length&&(i=s.content[s.content.length-1]===`
|
|
97
|
-
`));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
|
|
98
|
-
`?i=!0:t!==`\r`&&i&&(i=!1,o===s.start?s.prependRight(e):(this._splitChunk(s,o),s=s.next,s.prependRight(e)))}o+=1}o=s.end,s=s.next}return this.outro=this.outro.replace(n,a),this}insert(){throw Error(`magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)`)}insertLeft(e,t){return Hx.insertLeft||=(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),!0),this.appendLeft(e,t)}insertRight(e,t){return Hx.insertRight||=(console.warn(`magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead`),!0),this.prependRight(e,t)}move(e,t,n){if(e+=this.offset,t+=this.offset,n+=this.offset,n>=e&&n<=t)throw Error(`Cannot move a selection inside itself`);this._split(e),this._split(t),this._split(n);let r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;let c=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),c&&(c.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=c,i.next=s||null,c||(this.firstChunk=r),s||(this.lastChunk=i),this}overwrite(e,t,n,r){return r||={},this.update(e,t,n,{...r,overwrite:!r.contentOnly})}update(e,t,n,r){if(e+=this.offset,t+=this.offset,typeof n!=`string`)throw TypeError(`replacement content must be a string`);if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw Error(`end is out of bounds`);if(e===t)throw Error(`Cannot overwrite a zero-length range – use appendLeft or prependRight instead`);this._split(e),this._split(t),r===!0&&(Hx.storeName||=(console.warn(`The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string`),!0),r={storeName:!0});let i=r===void 0?!1:r.storeName,a=r===void 0?!1:r.overwrite;if(i){let n=this.original.slice(e,t);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],s=this.byEnd[t];if(o){let e=o;for(;e!==s;){if(e.next!==this.byStart[e.end])throw Error(`Cannot overwrite across a split point`);e=e.next,e.edit(``,!1)}o.edit(n,i,!a)}else{let r=new Ax(e,t,``).edit(n,i);s.next=r,r.previous=s}return this}prepend(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.intro=``,n.outro=``,n.edit(``),n=t>n.end?this.byStart[n.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.reset(),n=t>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:``}lastLine(){let e=this.outro.lastIndexOf(Vx);if(e!==-1)return this.outro.substr(e+1);let t=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Vx),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(Vx),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Vx),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(Vx),e===-1?this.intro+t:this.intro.substr(e+1)+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let n=``,r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=r;for(;r;){r.intro&&(i!==r||r.start===e)&&(n+=r.intro);let a=r.start<t&&r.end>=t;if(a&&r.edited&&r.end!==t)throw Error(`Cannot use replaced character ${t} as slice end anchor.`);let o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),r.outro&&(!a||r.end===t)&&(n+=r.outro),a)break;r=r.next}return n}snip(e,t){let n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,n=t,r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===n)return;n=t}}_splitChunk(e,t){if(e.edited&&e.content.length){let n=Rx(this.original)(t);throw Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}let n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do t+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return t}trimLines(){return this.trim(`[\\r\\n]`)}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let t=RegExp((e||`\\s`)+`+$`);if(this.outro=this.outro.replace(t,``),this.outro.length)return!0;let n=this.lastChunk;do{let e=n.end,r=n.trimEnd(t);if(n.end!==e&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let t=RegExp(`^`+(e||`\\s`)+`+`);if(this.intro=this.intro.replace(t,``),this.intro.length)return!0;let n=this.firstChunk;do{let e=n.end,r=n.trimStart(t);if(n.end!==e&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function n(e,n){return typeof t==`string`?t.replace(/\$(\$|&|\d+)/g,(t,n)=>n===`$`?`$`:n===`&`?e[0]:+n<e.length?e[+n]:`$${n}`):t(...e,e.index,n,e.groups)}function r(e,t){let n,r=[];for(;n=e.exec(t);)r.push(n);return r}if(e.global)r(e,this.original).forEach(e=>{if(e.index!=null){let t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}});else{let t=this.original.match(e);if(t&&t.index!=null){let e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){let{original:n}=this,r=n.indexOf(e);return r!==-1&&(typeof t==`function`&&(t=t(e,r,n)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return typeof e==`string`?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){let{original:n}=this,r=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+r)){let e=n.slice(i,i+r),a=t;typeof t==`function`&&(a=t(e,i,n)),e!==a&&this.overwrite(i,i+r,a)}return this}replaceAll(e,t){if(typeof e==`string`)return this._replaceAllString(e,t);if(!e.global)throw TypeError(`MagicString.prototype.replaceAll called with a non-global RegExp argument`);return this._replaceRegexp(e,t)}},Wx=class{constructor(e,t){this.descriptor=e,this.options=t,this.isCE=!1,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new Ux(this.source),this.startOffset=this.descriptor.scriptSetup?.loc.start.offset,this.endOffset=this.descriptor.scriptSetup?.loc.end.offset,this.userImports=Object.create(null),this.hasDefinePropsCall=!1,this.hasDefineEmitCall=!1,this.hasDefineExposeCall=!1,this.hasDefaultExportName=!1,this.hasDefaultExportRender=!1,this.hasDefineOptionsCall=!1,this.hasDefineSlotsCall=!1,this.hasDefineModelCall=!1,this.propsDestructuredBindings=Object.create(null),this.modelDecls=Object.create(null),this.bindingMetadata={},this.helperImports=new Set;let{script:n,scriptSetup:r}=e,i=n&&n.lang,a=r&&r.lang;this.isJS=fx(i,a),this.isTS=px(i,a);let o=t.customElement,s=this.descriptor.filename;o&&(this.isCE=typeof o==`boolean`?o:o(s));let c=Kx(i||a,t.babelParserPlugins);function l(t,n){try{return yi.parse(t,{plugins:c,sourceType:`module`}).program}catch(t){throw t.message=`[vue/compiler-sfc] ${t.message}
|
|
99
|
-
|
|
100
|
-
${e.filename}
|
|
101
|
-
${Ne(e.source,t.pos+n,t.pos+n+1)}`,t}}this.scriptAst=e.script&&l(e.script.content,e.script.loc.start.offset),this.scriptSetupAst=e.scriptSetup&&l(e.scriptSetup.content,this.startOffset)}helper(e){return this.helperImports.add(e),`_${e}`}getString(e,t=!0){return(t?this.descriptor.scriptSetup:this.descriptor.script).content.slice(e.start,e.end)}warn(e,t,n){Rh(Gx(e,t,this,n))}error(e,t,n){throw Error(`[@vue/compiler-sfc] ${Gx(e,t,this,n)}`)}};function Gx(e,t,n,r){let i=r?r.offset:n.startOffset;return`${e}
|
|
102
|
-
|
|
103
|
-
${(r||n.descriptor).filename}
|
|
104
|
-
${Ne((r||n.descriptor).source,t.start+i,t.end+i)}`}function Kx(e,t,n=!1){let r=[];return(!t||!t.some(e=>e===`importAssertions`||e===`importAttributes`||F(e)&&e[0]===`importAttributes`))&&r.push(`importAttributes`),e===`jsx`||e===`tsx`||e===`mtsx`?r.push(`jsx`):t&&=t.filter(e=>e!==`jsx`),(e===`ts`||e===`mts`||e===`tsx`||e===`cts`||e===`mtsx`)&&(r.push([`typescript`,{dts:n}],`explicitResourceManagement`),(!t||!t.includes(`decorators`))&&r.push(`decorators-legacy`)),t&&r.push(...t),r}function qx(e,t,n){if(!Jx(e)){t.append(`
|
|
105
|
-
const ${n} = {}`);return}e.forEach(e=>{if(e.type===`ExportDefaultDeclaration`)if(e.declaration.type===`ClassDeclaration`&&e.declaration.id){let r=e.declaration.decorators&&e.declaration.decorators.length>0?e.declaration.decorators[e.declaration.decorators.length-1].end:e.start;t.overwrite(r,e.declaration.id.start,` class `),t.append(`
|
|
106
|
-
const ${n} = ${e.declaration.id.name}`)}else t.overwrite(e.start,e.declaration.start,`const ${n} = `);else if(e.type===`ExportNamedDeclaration`){for(let r of e.specifiers)if(r.type===`ExportSpecifier`&&r.exported.type===`Identifier`&&r.exported.name==="default"){if(e.source)if(r.local.name==="default"){t.prepend(`import { default as __VUE_DEFAULT__ } from '${e.source.value}'
|
|
107
|
-
`);let i=Yx(t,r.local.end,e.end);t.remove(r.start,i),t.append(`
|
|
108
|
-
const ${n} = __VUE_DEFAULT__`);continue}else{t.prepend(`import { ${t.slice(r.local.start,r.local.end)} as __VUE_DEFAULT__ } from '${e.source.value}'
|
|
109
|
-
`);let i=Yx(t,r.exported.end,e.end);t.remove(r.start,i),t.append(`
|
|
110
|
-
const ${n} = __VUE_DEFAULT__`);continue}let i=Yx(t,r.end,e.end);t.remove(r.start,i),t.append(`
|
|
111
|
-
const ${n} = ${r.local.name}`)}}})}function Jx(e){for(let t of e)if(t.type===`ExportDefaultDeclaration`)return!0;else if(t.type===`ExportNamedDeclaration`&&t.specifiers.some(e=>e.exported.name==="default"))return!0;return!1}function Yx(e,t,n){let r=!1,i=t;for(;t<n;)if(/\s/.test(e.slice(t,t+1)))t++;else if(e.slice(t,t+1)===`,`){t++,r=!0;break}else if(e.slice(t,t+1)===`}`)break;return r?t:i}var Xx=Object.defineProperty,Zx=Object.defineProperties,Qx=Object.getOwnPropertyDescriptors,$x=Object.getOwnPropertySymbols,eS=Object.prototype.hasOwnProperty,tS=Object.prototype.propertyIsEnumerable,nS=(e,t,n)=>t in e?Xx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rS=(e,t)=>{for(var n in t||={})eS.call(t,n)&&nS(e,n,t[n]);if($x)for(var n of $x(t))tS.call(t,n)&&nS(e,n,t[n]);return e},iS=(e,t)=>Zx(e,Qx(t)),aS=`__default__`;function oS(e,t){let n=e.descriptor.script;try{let r=n.content,i=n.map,a=e.scriptAst,o=mx(a.body),{cssVars:s}=e.descriptor,{genDefaultAs:c,isProd:l}=e.options;if(s.length||c){let n=c||aS,i=new Ux(r);qx(a.body,i,n),r=i.toString(),s.length&&!e.options.templateOptions?.ssr&&(r+=Vl(s,o,t,!!l,n)),c||(r+=`
|
|
112
|
-
export default ${n}`)}return iS(rS({},n),{content:r,map:i,bindings:o,scriptAst:a.body})}catch{return n}}var sS=Object.defineProperty,cS=Object.defineProperties,lS=Object.getOwnPropertyDescriptors,uS=Object.getOwnPropertySymbols,dS=Object.prototype.hasOwnProperty,fS=Object.prototype.propertyIsEnumerable,pS=(e,t,n)=>t in e?sS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mS=(e,t)=>{for(var n in t||={})dS.call(t,n)&&pS(e,n,t[n]);if(uS)for(var n of uS(t))fS.call(t,n)&&pS(e,n,t[n]);return e},hS=(e,t)=>cS(e,lS(t)),gS=class{constructor(e,t,n=0,r=Object.create(null),i=Object.create(null),a=Object.create(null)){this.filename=e,this.source=t,this.offset=n,this.imports=r,this.types=i,this.declares=a,this.isGenericScope=!1,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}};function _S(e,t){t&&t.filename!==e.filename&&(e.deps||=new Set).add(t.filename)}function vS(e,{props:t}){for(let n in t)_S(e,t[n]._ownerScope)}function yS(e,t,n,r){let i=!r;if(i&&t._resolvedElements)return vS(e,t._resolvedElements),t._resolvedElements;let a=bS(e,t,t._ownerScope||n||JS(e),r);return i?t._resolvedElements=a:a}function bS(e,t,n,r){if(SS(t))return(t.type===`TSIntersectionType`||t.type===`TSUnionType`)&&t.types.length>1?CS([{props:{}},...t.types.slice(1).map(t=>yS(e,t,n,r))],t.type):{props:{}};switch(t.type){case`TSTypeLiteral`:return xS(e,t.members,n,r);case`TSInterfaceDeclaration`:return TS(e,t,n,r);case`TSTypeAliasDeclaration`:case`TSTypeAnnotation`:case`TSParenthesizedType`:return yS(e,t.typeAnnotation,n,r);case`TSFunctionType`:return{props:{},calls:[t]};case`TSUnionType`:case`TSIntersectionType`:return CS(t.types.map(t=>yS(e,t,n,r)),t.type);case`TSMappedType`:return ES(e,t,n,r);case`TSIndexedAccessType`:return CS(DS(e,t,n).map(t=>yS(e,t,t._ownerScope)),`TSUnionType`);case`TSExpressionWithTypeArguments`:case`TSTypeReference`:{let i=FS(t);if((i===`ExtractPropTypes`||i===`ExtractPublicPropTypes`)&&t.typeParameters&&n.imports[i]?.source===`vue`)return sC(yS(e,t.typeParameters.params[0],n,r),n);let a=NS(e,t,n);if(a){let n;return(a.type===`TSTypeAliasDeclaration`||a.type===`TSInterfaceDeclaration`)&&a.typeParameters&&t.typeParameters&&(n=Object.create(null),a.typeParameters.params.forEach((e,i)=>{let a=r&&r[e.name];a||=t.typeParameters.params[i],n[e.name]=a})),yS(e,a,a._ownerScope,n)}else{if(typeof i==`string`){if(r&&r[i])return yS(e,r[i],n,r);if(jS.has(i))return MS(e,t,i,n,r);if(i===`ReturnType`&&t.typeParameters){let r=dC(e,t.typeParameters.params[0],n);if(r)return yS(e,r,n)}}return e.error(`Unresolvable type reference or unsupported built-in utility type`,t,n)}}case`TSImportType`:{if(ix(t.argument)===`vue`&&t.qualifier?.type===`Identifier`&&t.qualifier.name===`ExtractPropTypes`&&t.typeParameters)return sC(yS(e,t.typeParameters.params[0],n),n);let r=NS(e,t,HS(e,t.argument,n,t.argument.value));if(r)return yS(e,r,r._ownerScope);break}case`TSTypeQuery`:{let r=NS(e,t,n);if(r)return yS(e,r,r._ownerScope)}break}return e.error(`Unresolvable type: ${t.type}`,t,n)}function xS(e,t,n=JS(e),r){let i={props:{}};for(let a of t)if(a.type===`TSPropertySignature`||a.type===`TSMethodSignature`){r&&(n=XS(n),n.isGenericScope=!0,Object.assign(n.types,r)),a._ownerScope=n;let t=ax(a);t===null?e.error(`Unsupported computed key in type referenced by a macro`,a.key,n):i.props[t]=a}else a.type===`TSCallSignatureDeclaration`&&(i.calls||=[]).push(a);return i}function SS(e){return!!(e.leadingComments&&e.leadingComments.some(e=>e.value.includes(`@vue-ignore`)))}function CS(e,t){if(e.length===1)return e[0];let n={props:{}},{props:r}=n;for(let{props:i,calls:a}of e){for(let e in i)ce(r,e)?r[e]=wS(r[e].key,{type:t,types:[r[e],i[e]]},r[e]._ownerScope,r[e].optional||i[e].optional):r[e]=i[e];a&&(n.calls||=[]).push(...a)}return n}function wS(e,t,n,r){return{type:`TSPropertySignature`,key:e,kind:`get`,optional:r,typeAnnotation:{type:`TSTypeAnnotation`,typeAnnotation:t},_ownerScope:n}}function TS(e,t,n,r){let i=xS(e,t.body.body,t._ownerScope,r);if(t.extends)for(let r of t.extends)try{let{props:t,calls:a}=yS(e,r,n);for(let e in t)ce(i.props,e)||(i.props[e]=t[e]);a&&(i.calls||=[]).push(...a)}catch{e.silentOnExtendsFailure||e.error(`Failed to resolve extends base type.
|
|
113
|
-
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
|
|
114
|
-
|
|
115
|
-
interface Props extends /* @vue-ignore */ Base {}
|
|
116
|
-
|
|
117
|
-
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,r,n)}return i}function ES(e,t,n,r){let i={props:{}},a;if(t.nameType){let{name:i,constraint:o}=t.typeParameter;n=XS(n),Object.assign(n.types,hS(mS({},r),{[i]:o})),a=kS(e,t.nameType,n)}else a=kS(e,t.typeParameter.constraint,n);for(let e of a)i.props[e]=wS({type:`Identifier`,name:e},t.typeAnnotation,n,!!t.optional);return i}function DS(e,t,n){if(t.indexType.type===`TSNumberKeyword`)return OS(e,t.objectType,n);let{indexType:r,objectType:i}=t,a=[],o,s;r.type===`TSStringKeyword`?(s=yS(e,i,n),o=Object.keys(s.props)):(o=kS(e,r,n),s=yS(e,i,n));for(let e of o){let t=s.props[e]?.typeAnnotation?.typeAnnotation;t&&(t._ownerScope=s.props[e]._ownerScope,a.push(t))}return a}function OS(e,t,n){if(t.type===`TSArrayType`)return[t.elementType];if(t.type===`TSTupleType`)return t.elementTypes.map(e=>e.type===`TSNamedTupleMember`?e.elementType:e);if(t.type===`TSTypeReference`){if(FS(t)===`Array`&&t.typeParameters)return t.typeParameters.params;{let r=NS(e,t,n);if(r)return OS(e,r,n)}}return e.error(`Failed to resolve element type from target type`,t,n)}function kS(e,t,n,r){switch(t.type){case`StringLiteral`:return[t.value];case`TSLiteralType`:return kS(e,t.literal,n,r);case`TSUnionType`:return t.types.map(t=>kS(e,t,n,r)).flat();case`TemplateLiteral`:return AS(e,t,n);case`TSTypeReference`:{let i=NS(e,t,n);if(i)return kS(e,i,n,r);if(t.typeName.type===`Identifier`){let i=t.typeName.name;if(r&&r[i])return kS(e,r[i],n,r);let a=(i=0)=>kS(e,t.typeParameters.params[i],n,r);switch(i){case`Extract`:return a(1);case`Exclude`:{let e=a(1);return a().filter(t=>!e.includes(t))}case`Uppercase`:return a().map(e=>e.toUpperCase());case`Lowercase`:return a().map(e=>e.toLowerCase());case`Capitalize`:return a().map(we);case`Uncapitalize`:return a().map(e=>e[0].toLowerCase()+e.slice(1));default:e.error(`Unsupported type when resolving index type`,t.typeName,n)}}}}return e.error(`Failed to resolve index type into finite keys`,t,n)}function AS(e,t,n){if(!t.expressions.length)return[t.quasis[0].value.raw];let r=[],i=t.expressions[0],a=t.quasis[0],o=a?a.value.raw:``,s=kS(e,i,n),c=AS(e,hS(mS({},t),{expressions:t.expressions.slice(1),quasis:a?t.quasis.slice(1):t.quasis}),n);for(let e of s)for(let t of c)r.push(o+e+t);return r}var jS=new Set([`Partial`,`Required`,`Readonly`,`Pick`,`Omit`]);function MS(e,t,n,r,i){let a=yS(e,t.typeParameters.params[0],r,i);switch(n){case`Partial`:{let e={props:{},calls:a.calls};return Object.keys(a.props).forEach(t=>{e.props[t]=hS(mS({},a.props[t]),{optional:!0})}),e}case`Required`:{let e={props:{},calls:a.calls};return Object.keys(a.props).forEach(t=>{e.props[t]=hS(mS({},a.props[t]),{optional:!1})}),e}case`Readonly`:return a;case`Pick`:{let n=kS(e,t.typeParameters.params[1],r,i),o={props:{},calls:a.calls};for(let e of n)o.props[e]=a.props[e];return o}case`Omit`:let n=kS(e,t.typeParameters.params[1],r,i),o={props:{},calls:a.calls};for(let e in a.props)n.includes(e)||(o.props[e]=a.props[e]);return o}}function NS(e,t,n,r,i=!1){let a=!n?.isGenericScope;if(a&&t._resolvedReference)return _S(e,t._resolvedReference._ownerScope),t._resolvedReference;let o=PS(e,n||JS(e),r||FS(t),t,i);return a?t._resolvedReference=o:o}function PS(e,t,n,r,i){if(typeof n==`string`){if(t.imports[n])return VS(e,r,n,t);{let a=r.type===`TSTypeQuery`?i?t.exportedDeclares:t.declares:i?t.exportedTypes:t.types;if(a[n])return a[n];{let t=LS(e);if(t)for(let i of t){let t=r.type===`TSTypeQuery`?i.declares:i.types;if(t[n]){(e.deps||=new Set).add(i.filename);let r=t[n];return r._ownerScope&&r._ownerScope!==i&&e.deps.add(r._ownerScope.filename),r}}}}}else{let a=PS(e,t,n[0],r,i);if(a&&(a.type!==`TSModuleDeclaration`&&(a=a._ns),a))return PS(e,YS(e,a,a._ownerScope||t),n.length>2?n.slice(1):n[n.length-1],r,!a.declare)}}function FS(e){let t=e.type===`TSTypeReference`?e.typeName:e.type===`TSExpressionWithTypeArguments`?e.expression:e.type===`TSImportType`?e.qualifier:e.exprName;return t?.type===`Identifier`?t.name:t?.type===`TSQualifiedName`?IS(t):`default`}function IS(e){return e.type===`Identifier`?[e.name]:[...IS(e.left),e.right.name]}function LS(e){if(e.options.globalTypeFiles){if(!BS(e))throw Error(`[vue/compiler-sfc] globalTypeFiles requires fs access.`);return e.options.globalTypeFiles.map(t=>KS(e,cx(t),!0))}}var RS,zS;function BS(e){if(e.fs)return e.fs;!RS&&zS&&(RS=zS());let t=e.options.fs||RS?.sys;if(t)return e.fs={fileExists(e){return e.endsWith(`.vue.ts`)&&!e.endsWith(`.d.vue.ts`)&&(e=e.replace(/\.ts$/,``)),t.fileExists(e)},readFile(e){return e.endsWith(`.vue.ts`)&&!e.endsWith(`.d.vue.ts`)&&(e=e.replace(/\.ts$/,``)),t.readFile(e)},realpath:t.realpath}}function VS(e,t,n,r){let{source:i,imported:a}=r.imports[n];return NS(e,t,HS(e,t,r,i),a,!0)}function HS(e,t,n,r,i=!0){let a;try{a=BS(e)}catch(r){return e.error(r.message,t,n)}if(!a)return e.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",t,n);let o=n.resolvedImportSources[r];if(!o){if(r.startsWith(`..`))o=US(lx(hd(n.filename),r),a);else if(r[0]===`.`)o=US(lx(hd(n.filename),r),a);else return e.error(`Type import from non-relative sources is not supported in the browser build.`,t,n);!o&&r[0],o&&=n.resolvedImportSources[r]=cx(o)}return o?(i&&(e.deps||=new Set).add(o),KS(e,o)):e.error(`Failed to resolve import source ${JSON.stringify(r)}.`,t,n)}function US(e,t){let n=`u`;e.endsWith(`.mjs`)?n=`m`:e.endsWith(`.cjs`)&&(n=`c`),e=e.replace(/\.[cm]?jsx?$/,``);let r=e=>{if(t.fileExists(e))return e},i=()=>r(e+`.ts`)||r(e+`.tsx`)||r(e+`.d.ts`),a=()=>r(e+`.mts`)||r(e+`.d.mts`),o=()=>r(e+`.cts`)||r(e+`.d.cts`);return r(e)||(n===`m`?a()||i():n===`c`?o()||i():i()||a()||o())||r(lx(e,`index.ts`))||r(lx(e,`index.tsx`))||r(lx(e,`index.d.ts`))}var WS=ku(),GS=ku();function KS(e,t,n=!1){let r=n?GS:WS,i=r.get(t);if(i)return i;let a=BS(e),o=a.readFile(t)||``,s=qS(t,o,a,e.options.babelParserPlugins),c=new gS(t,o,0,nC(s));return QS(e,s,c,n),r.set(t,c),c}function qS(e,t,n,r){let i=_d(e);if(i===`.ts`||i===`.mts`||i===`.tsx`||i===`.cts`||i===`.mtsx`)return yi.parse(t,{plugins:Kx(i.slice(1),r,/\.d\.[cm]?ts$/.test(e)),sourceType:`module`}).program.body;let a=!/\.[cm]?[tj]sx?$/.test(e),o=`${e.slice(0,-i.length)}.d${i}.ts`;if(a&&n.fileExists(o))return yi.parse(n.readFile(o),{plugins:Kx(`ts`,r,!0),sourceType:`module`}).program.body;if(i===`.vue`){let{descriptor:{script:e,scriptSetup:n}}=qu(t);if(!e&&!n)return[];let i=e?e.loc.start.offset:1/0,a=n?n.loc.start.offset:1/0,o=i<a?e:n,s=i<a?n:e,c=` `.repeat(Math.min(i,a))+o.content;s&&(c+=` `.repeat(s.loc.start.offset-e.loc.end.offset)+s.content);let l=e?.lang||n?.lang;return yi.parse(c,{plugins:Kx(l,r),sourceType:`module`}).program.body}return[]}function JS(e){if(e.scope)return e.scope;let t=`ast`in e?e.ast:e.scriptAst?[...e.scriptAst.body,...e.scriptSetupAst.body]:e.scriptSetupAst.body,n=new gS(e.filename,e.source,`startOffset`in e?e.startOffset:0,`userImports`in e?Object.create(e.userImports):nC(t));return QS(e,t,n),e.scope=n}function YS(e,t,n){if(t._resolvedChildScope)return t._resolvedChildScope;let r=XS(n);if(t.body.type===`TSModuleDeclaration`){let e=t.body;e._ownerScope=r;let n=ix(e.id);r.types[n]=r.exportedTypes[n]=e}else QS(e,t.body.body,r);return t._resolvedChildScope=r}function XS(e){return new gS(e.filename,e.source,e.offset,Object.create(e.imports),Object.create(e.types),Object.create(e.declares))}var ZS=/^Import|^Export/;function QS(e,t,n,r=!1){let{types:i,declares:a,exportedTypes:o,exportedDeclares:s,imports:c}=n,l=r?!t.some(e=>ZS.test(e.type)):!1;for(let o of t)if(r){if(l)o.declare&&$S(o,i,a);else if(o.type===`TSModuleDeclaration`&&o.global)for(let t of o.body.body)if(t.type===`ExportNamedDeclaration`){if(t.declaration)$S(t.declaration,i,a);else if(t.source){let r=HS(e,t.source,n,t.source.value,!1);for(let e of t.specifiers)if(e.type===`ExportSpecifier`){let t=ix(e.exported),n=e.local.name;r.exportedTypes[n]&&(i[t]=r.exportedTypes[n]),r.exportedDeclares[n]&&(a[t]=r.exportedDeclares[n])}}}else if(t.type===`ExportAllDeclaration`&&t.source){let r=HS(e,t.source,n,t.source.value,!1);Object.assign(i,r.exportedTypes),Object.assign(a,r.exportedDeclares)}else $S(t,i,a)}else $S(o,i,a);if(!r)for(let r of t)if(r.type===`ExportNamedDeclaration`){if(r.declaration)$S(r.declaration,i,a),$S(r.declaration,o,s);else for(let e of r.specifiers)if(e.type===`ExportSpecifier`){let t=e.local.name,a=ix(e.exported);r.source?(c[a]={source:r.source.value,imported:t},o[a]={type:`TSTypeReference`,typeName:{type:`Identifier`,name:t},_ownerScope:n}):i[t]&&(o[a]=i[t])}}else if(r.type===`ExportAllDeclaration`){let t=HS(e,r.source,n,r.source.value);Object.assign(n.exportedTypes,t.exportedTypes)}else r.type===`ExportDefaultDeclaration`&&r.declaration&&(r.declaration.type===`Identifier`?i[r.declaration.name]&&(o.default=i[r.declaration.name]):($S(r.declaration,i,a,`default`),$S(r.declaration,o,s,`default`)));for(let e of Object.keys(i)){let t=i[e];t._ownerScope||=n,t._ns&&!t._ns._ownerScope&&(t._ns._ownerScope=n)}for(let e of Object.keys(a))a[e]._ownerScope||(a[e]._ownerScope=n)}function $S(e,t,n,r){switch(e.type){case`TSInterfaceDeclaration`:case`TSEnumDeclaration`:case`TSModuleDeclaration`:{if(e.type===`TSModuleDeclaration`&&e.global){let r=e.body;for(let e of r.body)e.type===`ExportNamedDeclaration`&&e.declaration?$S(e.declaration,t,n):$S(e,t,n);break}let i=r||ix(e.id),a=t[i];if(a){if(e.type===`TSModuleDeclaration`){a.type===`TSModuleDeclaration`?eC(a,e):tC(a,e);break}if(a.type===`TSModuleDeclaration`){t[i]=e,tC(e,a);break}if(a.type!==e.type)break;e.type===`TSInterfaceDeclaration`?a.body.body.push(...e.body.body):a.members.push(...e.members)}else t[i]=e;break}case`ClassDeclaration`:(r||e.id)&&(t[r||ix(e.id)]=e);break;case`TSTypeAliasDeclaration`:t[e.id.name]=e.typeParameters?e:e.typeAnnotation;break;case`TSDeclareFunction`:e.id&&(n[e.id.name]=e);break;case`VariableDeclaration`:if(e.declare)for(let t of e.declarations)t.id.type===`Identifier`&&t.id.typeAnnotation&&(n[t.id.name]=t.id.typeAnnotation.typeAnnotation);break}}function eC(e,t){let n=e.body,r=t.body;n.type===`TSModuleDeclaration`?r.type===`TSModuleDeclaration`?eC(n,r):r.body.push({type:`ExportNamedDeclaration`,declaration:n,exportKind:`type`,specifiers:[]}):r.type===`TSModuleDeclaration`?n.body.push({type:`ExportNamedDeclaration`,declaration:r,exportKind:`type`,specifiers:[]}):n.body.push(...r.body)}function tC(e,t){e._ns?eC(e._ns,t):e._ns=t}function nC(e){let t=Object.create(null);for(let n of e)rC(n,t);return t}function rC(e,t){if(e.type===`ImportDeclaration`)for(let n of e.specifiers)t[n.local.name]={imported:rx(n),source:e.source.value}}function iC(e,t,n=t._ownerScope||JS(e),r=!1,i){if(t.leadingComments&&t.leadingComments.some(e=>e.value.includes(`@vue-ignore`)))return[Zb];let a=e.silentOnExtendsFailure;e.silentOnExtendsFailure=!0;try{switch(t.type){case`TSStringKeyword`:return[`String`];case`TSNumberKeyword`:return[`Number`];case`TSBooleanKeyword`:return[`Boolean`];case`TSObjectKeyword`:return[`Object`];case`TSNullKeyword`:return[`null`];case`TSTypeLiteral`:case`TSInterfaceDeclaration`:{let i=new Set,a=t.type===`TSTypeLiteral`?t.members:t.body.body;for(let t of a)if(r)if(t.type===`TSPropertySignature`&&t.key.type===`NumericLiteral`)i.add(`Number`);else if(t.type===`TSIndexSignature`){let r=t.parameters[0].typeAnnotation;if(r&&r.type!==`Noop`){let t=iC(e,r.typeAnnotation,n)[0];if(t===Zb)return[Zb];i.add(t)}}else i.add(`String`);else t.type===`TSCallSignatureDeclaration`||t.type===`TSConstructSignatureDeclaration`?i.add(`Function`):i.add(`Object`);return i.size?Array.from(i):[r?Zb:`Object`]}case`TSPropertySignature`:if(t.typeAnnotation)return iC(e,t.typeAnnotation.typeAnnotation,n);break;case`TSMethodSignature`:case`TSFunctionType`:return[`Function`];case`TSArrayType`:case`TSTupleType`:return[`Array`];case`TSLiteralType`:switch(t.literal.type){case`StringLiteral`:return[`String`];case`BooleanLiteral`:return[`Boolean`];case`NumericLiteral`:case`BigIntLiteral`:return[`Number`];default:return[Zb]}case`TSTypeReference`:{let a;try{a=NS(e,t,n)}catch{}if(a){if(a.type===`TSTypeAliasDeclaration`){if(a.typeAnnotation.type===`TSFunctionType`)return[`Function`];if(t.typeParameters){let n=Object.create(null);return a.typeParameters&&a.typeParameters.params.forEach((e,r)=>{n[e.name]=t.typeParameters.params[r]}),iC(e,a.typeAnnotation,a._ownerScope,r,n)}}return iC(e,a,a._ownerScope,r)}if(t.typeName.type===`Identifier`){if(i&&i[t.typeName.name])return iC(e,i[t.typeName.name],n,r,i);if(r)switch(t.typeName.name){case`String`:case`Array`:case`ArrayLike`:case`Parameters`:case`ConstructorParameters`:case`ReadonlyArray`:return[`String`,`Number`];case`Record`:case`Partial`:case`Required`:case`Readonly`:if(t.typeParameters&&t.typeParameters.params[0])return iC(e,t.typeParameters.params[0],n,!0);break;case`Pick`:case`Extract`:if(t.typeParameters&&t.typeParameters.params[1])return iC(e,t.typeParameters.params[1],n);break;case`Function`:case`Object`:case`Set`:case`Map`:case`WeakSet`:case`WeakMap`:case`Date`:case`Promise`:case`Error`:case`Uppercase`:case`Lowercase`:case`Capitalize`:case`Uncapitalize`:case`ReadonlyMap`:case`ReadonlySet`:return[`String`]}else switch(t.typeName.name){case`Array`:case`Function`:case`Object`:case`Set`:case`Map`:case`WeakSet`:case`WeakMap`:case`Date`:case`Promise`:case`Error`:return[t.typeName.name];case`Partial`:case`Required`:case`Readonly`:case`Record`:case`Pick`:case`Omit`:case`InstanceType`:return[`Object`];case`Uppercase`:case`Lowercase`:case`Capitalize`:case`Uncapitalize`:return[`String`];case`Parameters`:case`ConstructorParameters`:case`ReadonlyArray`:return[`Array`];case`ReadonlyMap`:return[`Map`];case`ReadonlySet`:return[`Set`];case`Ref`:case`ShallowRef`:case`ComputedRef`:case`WritableComputedRef`:return[`Object`];case`MaybeRef`:case`MaybeRefOrGetter`:{let r=new Set([`Object`]);if(t.typeName.name===`MaybeRefOrGetter`&&r.add(`Function`),t.typeParameters&&t.typeParameters.params[0])for(let a of iC(e,t.typeParameters.params[0],n,!1,i))r.add(a);return Array.from(r)}case`NonNullable`:if(t.typeParameters&&t.typeParameters.params[0])return iC(e,t.typeParameters.params[0],n).filter(e=>e!==`null`);break;case`Extract`:if(t.typeParameters&&t.typeParameters.params[1])return iC(e,t.typeParameters.params[1],n);break;case`Exclude`:case`OmitThisParameter`:if(t.typeParameters&&t.typeParameters.params[0])return iC(e,t.typeParameters.params[0],n);break}}break}case`TSParenthesizedType`:return iC(e,t.typeAnnotation,n);case`TSUnionType`:return aC(e,t.types,n,r,i);case`TSIntersectionType`:return aC(e,t.types,n,r,i).filter(e=>e!==Zb);case`TSMappedType`:{let{typeAnnotation:r,typeParameter:a}=t;if(r&&r.type===`TSIndexedAccessType`&&a&&a.constraint&&i){let t=a.constraint;if(t.type===`TSTypeOperator`&&t.operator===`keyof`&&t.typeAnnotation&&t.typeAnnotation.type===`TSTypeReference`&&t.typeAnnotation.typeName.type===`Identifier`){let o=t.typeAnnotation.typeName.name,s=r.indexType,c=r.objectType;if(c&&c.type===`TSTypeReference`&&c.typeName.type===`Identifier`&&c.typeName.name===o&&s&&s.type===`TSTypeReference`&&s.typeName.type===`Identifier`&&s.typeName.name===a.name){let t=i[o];if(t)return iC(e,t,n)}}}return[Zb]}case`TSEnumDeclaration`:return oC(t);case`TSSymbolKeyword`:return[`Symbol`];case`TSIndexedAccessType`:return aC(e,DS(e,t,n),n,r);case`ClassDeclaration`:return[`Object`];case`TSImportType`:{let r=NS(e,t,HS(e,t.argument,n,t.argument.value));if(r)return iC(e,r,r._ownerScope);break}case`TSTypeQuery`:{let i=t.exprName;if(i.type===`Identifier`){let t=n.declares[i.name];if(t)return iC(e,t,t._ownerScope,r)}break}case`TSTypeOperator`:return iC(e,t.typeAnnotation,n,t.operator===`keyof`);case`TSAnyKeyword`:if(r)return[`String`,`Number`,`Symbol`];break}}catch{}finally{e.silentOnExtendsFailure=a}return[Zb]}function aC(e,t,n,r=!1,i=void 0){return t.length===1?iC(e,t[0],t[0]._ownerScope||n,r,i):[...new Set([].concat(...t.map(t=>iC(e,t,t._ownerScope||n,r,i))))]}function oC(e){let t=new Set;for(let n of e.members)if(n.initializer)switch(n.initializer.type){case`StringLiteral`:t.add(`String`);break;case`NumericLiteral`:t.add(`Number`);break}return t.size?[...t]:[`Number`]}function sC({props:e},t){let n={props:{}};for(let r in e){let i=e[r];n.props[r]=cC(i.key,i.typeAnnotation.typeAnnotation,t)}return n}function cC(e,t,n,r=!0,i=!0){if(i&&t.type===`TSTypeLiteral`){let r=uC(t,`type`);if(r){let i=uC(t,`required`);return cC(e,r,n,i&&i.type===`TSLiteralType`&&i.literal.type===`BooleanLiteral`?!i.literal.value:!0,!1)}}else if(t.type===`TSTypeReference`&&t.typeName.type===`Identifier`){if(t.typeName.name.endsWith(`Constructor`))return wS(e,lC(t.typeName.name),n,r);if(t.typeName.name===`PropType`&&t.typeParameters)return wS(e,t.typeParameters.params[0],n,r)}if((t.type===`TSTypeReference`||t.type===`TSImportType`)&&t.typeParameters)for(let i of t.typeParameters.params){let t=cC(e,i,n,r);if(t)return t}return wS(e,{type:`TSNullKeyword`},n,r)}function lC(e){let t=e.slice(0,-11);switch(t){case`String`:case`Number`:case`Boolean`:return{type:`TS${t}Keyword`};case`Array`:case`Function`:case`Object`:case`Set`:case`Map`:case`WeakSet`:case`WeakMap`:case`Date`:case`Promise`:return{type:`TSTypeReference`,typeName:{type:`Identifier`,name:t}}}return{type:`TSNullKeyword`}}function uC(e,t){let n=e.members.find(e=>e.type===`TSPropertySignature`&&ax(e)===t&&e.typeAnnotation);return n&&n.typeAnnotation.typeAnnotation}function dC(e,t,n){let r=t;if((t.type===`TSTypeReference`||t.type===`TSTypeQuery`||t.type===`TSImportType`)&&(r=NS(e,t,n)),r){if(r.type===`TSFunctionType`)return r.typeAnnotation?.typeAnnotation;if(r.type===`TSDeclareFunction`)return r.returnType}}function fC(e,t,n){if(t.type===`TSTypeReference`){let r=NS(e,t,n);r&&(t=r)}let r;return r=t.type===`TSUnionType`?t.types.flatMap(t=>fC(e,t,n)):[t],r}var pC=`defineModel`;function mC(e,t,n){if(!tx(t,pC))return!1;e.hasDefineModelCall=!0;let r=t.typeParameters&&t.typeParameters.params[0]||void 0,i,a,o=t.arguments[0]&&Bi(t.arguments[0]),s=o&&(o.type===`StringLiteral`||o.type===`TemplateLiteral`&&o.expressions.length===0);s?(i=o.type===`StringLiteral`?o.value:o.quasis[0].value.cooked,a=t.arguments[1]):(i=`modelValue`,a=o),e.modelDecls[i]&&e.error(`duplicate model name ${JSON.stringify(i)}`,t);let c=a&&e.getString(a),l=!a,u=[];if(a&&a.type===`ObjectExpression`&&!a.properties.some(e=>e.type===`SpreadElement`||e.computed)){let t=0;for(let n=a.properties.length-1;n>=0;n--){let r=a.properties[n],i=a.properties[n+1],o=r.start,s=i?i.start:a.end-1;(r.type===`ObjectProperty`||r.type===`ObjectMethod`)&&(r.key.type===`Identifier`&&(r.key.name===`get`||r.key.name===`set`)||r.key.type===`StringLiteral`&&(r.key.value===`get`||r.key.value===`set`))?c=c.slice(0,o-a.start)+c.slice(s-a.start):(t++,e.s.remove(e.startOffset+o,e.startOffset+s),u.push(r))}t===a.properties.length&&(l=!0,e.s.remove(e.startOffset+(s?o.end:a.start),e.startOffset+a.end))}return e.modelDecls[i]={type:r,options:c,runtimeOptionNodes:u,identifier:n&&n.type===`Identifier`?n.name:void 0},e.bindingMetadata[i]=`props`,e.s.overwrite(e.startOffset+t.callee.start,e.startOffset+t.callee.end,e.helper(`useModel`)),e.s.appendLeft(e.startOffset+(t.arguments.length?t.arguments[0].start:t.end-1),`__props, `+(s?``:`${JSON.stringify(i)}${l?``:`, `}`)),!0}function hC(e){if(!e.hasDefineModelCall)return;let t=!!e.options.isProd,n=``;for(let[r,{type:i,options:a}]of Object.entries(e.modelDecls)){let o=!1,s=``,c=i&&iC(e,i);if(c){let e=c.includes(`Boolean`),n=c.includes(`Function`);c.includes(Zb)&&(e||n?(c=c.filter(e=>e!==Zb),o=!0):c=[`null`]),t?(e||a&&n)&&(s=`type: ${nx(c)}`):s=`type: ${nx(c)}`+(o?`, skipCheck: true`:``)}let l;l=s&&a?e.isTS?`{ ${s}, ...${a} }`:`Object.assign({ ${s} }, ${a})`:s?`{ ${s} }`:a||`{}`,n+=`
|
|
118
|
-
${JSON.stringify(r)}: ${l},`;let u=JSON.stringify(r===`modelValue`?`modelModifiers`:`${r}Modifiers`);n+=`
|
|
119
|
-
${u}: {},`}return`{${n}
|
|
120
|
-
}`}var gC=`defineProps`,_C=`withDefaults`;function vC(e,t,n,r=!1){if(!tx(t,gC))return yC(e,t,n);if(e.hasDefinePropsCall&&e.error(`duplicate ${gC}() call`,t),e.hasDefinePropsCall=!0,e.propsRuntimeDecl=t.arguments[0],e.propsRuntimeDecl)for(let t of vx(e.propsRuntimeDecl))t in e.bindingMetadata||(e.bindingMetadata[t]=`props`);return t.typeParameters&&(e.propsRuntimeDecl&&e.error(`${gC}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.propsTypeDecl=t.typeParameters.params[0]),!r&&n&&n.type===`ObjectPattern`&&DC(e,n),e.propsCall=t,e.propsDecl=n,!0}function yC(e,t,n){return tx(t,_C)?(vC(e,t.arguments[0],n,!0)||e.error(`${_C}' first argument must be a ${gC} call.`,t.arguments[0]||t),e.propsRuntimeDecl&&e.error(`${_C} can only be used with type-based ${gC} declaration.`,t),n&&n.type===`ObjectPattern`&&e.warn(`${_C}() is unnecessary when using destructure with ${gC}().
|
|
121
|
-
Reactive destructure will be disabled when using withDefaults().
|
|
122
|
-
Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,t.callee),e.propsRuntimeDefaults=t.arguments[1],e.propsRuntimeDefaults||e.error(`The 2nd argument of ${_C} is required.`,t),e.propsCall=t,!0):!1}function bC(e){let t;if(e.propsRuntimeDecl){if(t=e.getString(e.propsRuntimeDecl).trim(),e.propsDestructureDecl){let n=[];for(let t in e.propsDestructuredBindings){let r=TC(e,t),i=dx(t);r&&n.push(`${i}: ${r.valueString}${r.needSkipFactory?`, __skip_${i}: true`:``}`)}n.length&&(t=`/*@__PURE__*/${e.helper(`mergeDefaults`)}(${t}, {
|
|
123
|
-
${n.join(`,
|
|
124
|
-
`)}
|
|
125
|
-
})`)}}else e.propsTypeDecl&&(t=xC(e));let n=hC(e);return t&&n?`/*@__PURE__*/${e.helper(`mergeModels`)}(${t}, ${n})`:n||t}function xC(e){let t=SC(e,e.propsTypeDecl);if(!t.length)return;let n=[],r=wC(e);for(let i of t)n.push(CC(e,i,r)),`bindingMetadata`in e&&!(i.key in e.bindingMetadata)&&(e.bindingMetadata[i.key]=`props`);let i=`{
|
|
126
|
-
${n.join(`,
|
|
127
|
-
`)}
|
|
128
|
-
}`;return e.propsRuntimeDefaults&&!r&&(i=`/*@__PURE__*/${e.helper(`mergeDefaults`)}(${i}, ${e.getString(e.propsRuntimeDefaults)})`),i}function SC(e,t){let n=[],r=yS(e,t);for(let t in r.props){let i=r.props[t],a=iC(e,i),o=!1;a.includes(Zb)&&(a.includes(`Boolean`)||a.includes(`Function`)?(a=a.filter(e=>e!==Zb),o=!0):a=[`null`]),n.push({key:t,required:!i.optional,type:a||[`null`],skipCheck:o})}return n}function CC(e,{key:t,required:n,type:r,skipCheck:i},a){let o,s=TC(e,t,r);if(s)o=`default: ${s.valueString}${s.needSkipFactory?`, skipFactory: true`:``}`;else if(a){let n=e.propsRuntimeDefaults.properties.find(e=>e.type===`SpreadElement`?!1:Qb(e.key,e.computed)===t);if(n)if(n.type===`ObjectProperty`)o=`default: ${e.getString(n.value)}`;else{let t=``;if(n.params.length){let r=n.params[0].start,i=n.params[n.params.length-1].end;t=e.getString({start:r,end:i})}o=`${n.async?`async `:``}${n.kind===`method`?``:`${n.kind} `}default(${t}) ${e.getString(n.body)}`}}let c=dx(t);return e.options.isProd?r.some(e=>e===`Boolean`||(!a||o)&&e===`Function`)?`${c}: { ${$b([`type: ${nx(r)}`,o])} }`:e.isCE?o?`${c}: ${`{ ${o}, type: ${nx(r)} }`}`:`${c}: {type: ${nx(r)}}`:`${c}: ${o?`{ ${o} }`:`{}`}`:`${c}: { ${$b([`type: ${nx(r)}`,`required: ${n}`,i&&`skipCheck: true`,o])} }`}function wC(e){return!!(e.propsRuntimeDefaults&&e.propsRuntimeDefaults.type===`ObjectExpression`&&e.propsRuntimeDefaults.properties.every(e=>e.type!==`SpreadElement`&&(!e.computed||e.key.type.endsWith(`Literal`))))}function TC(e,t,n){let r=e.propsDestructuredBindings[t],i=r&&r.default;if(i){let r=e.getString(i),a=Bi(i);if(n&&n.length&&!n.includes(`null`)){let r=EC(a);r&&!n.includes(r)&&e.error(`Default value of prop "${t}" does not match declared type.`,a)}let o=!n&&(Fi(a)||a.type===`Identifier`);return{valueString:!o&&!ex(a)&&!n?.includes(`Function`)?`() => (${r})`:r,needSkipFactory:o}}}function EC(e){switch(e.type){case`StringLiteral`:return`String`;case`NumericLiteral`:return`Number`;case`BooleanLiteral`:return`Boolean`;case`ObjectExpression`:return`Object`;case`ArrayExpression`:return`Array`;case`FunctionExpression`:case`ArrowFunctionExpression`:return`Function`}}function DC(e,t){if(e.options.propsDestructure===`error`)e.error(`Props destructure is explicitly prohibited via config.`,t);else if(e.options.propsDestructure===!1)return;e.propsDestructureDecl=t;let n=(t,n,r)=>{e.propsDestructuredBindings[t]={local:n,default:r},n!==t&&(e.bindingMetadata[n]=`props-aliased`,(e.bindingMetadata.__propsAliases||(e.bindingMetadata.__propsAliases={}))[n]=t)};for(let r of t.properties)if(r.type===`ObjectProperty`){let t=Qb(r.key,r.computed);if(t||e.error(`${gC}() destructure cannot use computed key.`,r.key),r.value.type===`AssignmentPattern`){let{left:i,right:a}=r.value;i.type!==`Identifier`&&e.error(`${gC}() destructure does not support nested patterns.`,i),n(t,i.name,a)}else r.value.type===`Identifier`?n(t,r.value.name):e.error(`${gC}() destructure does not support nested patterns.`,r.value)}else e.propsDestructureRestId=r.argument.name,e.bindingMetadata[e.propsDestructureRestId]=`setup-reactive-const`}function OC(e,t){if(e.options.propsDestructure===!1)return;let n=Object.create(null),r=[n],i=[n],a=n,o=new WeakSet,s=[],c=Object.create(null);for(let t in e.propsDestructuredBindings){let{local:r}=e.propsDestructuredBindings[t];n[r]=!0,c[r]=t}function l(e=!1){let t=a=Object.create(a);r.push(t),e&&i.push(t)}function u(e=!1){r.pop(),e&&i.pop(),a=r[r.length-1]||null}function d(t,n=a){o.add(t),n?n[t.name]=!1:e.error(`registerBinding called without active scope, something is wrong.`,t)}function f(e,t=!1){for(let n of e.body)if(n.type===`VariableDeclaration`)p(n,t);else if(n.type===`FunctionDeclaration`||n.type===`ClassDeclaration`){if(n.declare||!n.id)continue;d(n.id)}else n.type===`ExportNamedDeclaration`&&n.declaration&&n.declaration.type===`VariableDeclaration`?p(n.declaration,t):n.type===`LabeledStatement`&&n.body.type===`VariableDeclaration`&&p(n.body,t)}function p(e,t=!1,n=e.kind===`var`?i[i.length-1]:a){if(!e.declare)for(let r of e.declarations){let e=t&&r.init&&tx(Bi(r.init),`defineProps`);for(let t of Mi(r.id))e?o.add(t):d(t,n)}}function m(e,t=!1){let n=i[i.length-1];Si(e,{enter(r,i){if(i&&i.type.startsWith(`TS`)&&!zi.includes(i.type)||Fi(r)||r.type===`ClassDeclaration`||r.type===`ClassExpression`)return this.skip();r.type===`VariableDeclaration`&&r.kind===`var`&&p(r,t&&i===e,n)}})}function h(t,n,r){(n.type===`AssignmentExpression`&&t===n.left||n.type===`UpdateExpression`)&&e.error(`Cannot assign to destructured props as they are readonly.`,t),Ii(n)&&n.shorthand?(!n.inPattern||Ti(n,r))&&e.s.appendLeft(t.end+e.startOffset,`: ${De(c[t.name])}`):e.s.overwrite(t.start+e.startOffset,t.end+e.startOffset,De(c[t.name]))}function g(t,n,r=n){if(tx(t,r)){let r=Bi(t.arguments[0]);r.type===`Identifier`&&a[r.name]&&e.error(`"${r.name}" is a destructured prop and should not be passed directly to ${n}(). Pass a getter () => ${r.name} instead.`,r)}}let _=e.scriptSetupAst;m(_,!0),f(_,!0),Si(_,{enter(e,n){if(n&&s.push(n),n&&n.type.startsWith(`TS`)&&!zi.includes(n.type))return this.skip();if(g(e,`watch`,t.watch),g(e,`toRef`,t.toRef),Fi(e)){l(!0),Di(e,d),e.body.type===`BlockStatement`&&(m(e.body),f(e.body));return}if(e.type===`CatchClause`){l(),e.param&&e.param.type===`Identifier`&&d(e.param),f(e.body);return}if(e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`){l();let t=e.type===`ForStatement`?e.init:e.left;t&&t.type===`VariableDeclaration`&&p(t),e.body.type===`BlockStatement`&&f(e.body);return}if(e.type===`BlockStatement`&&!Fi(n)){l(),f(e);return}e.type===`Identifier`&&wi(e,n,s)&&!o.has(e)&&a[e.name]&&h(e,n,s)},leave(e,t){t&&s.pop(),Fi(e)?u(!0):(e.type===`BlockStatement`&&!Fi(t)||e.type===`CatchClause`||e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`)&&u()}})}var kC=`defineEmits`;function AC(e,t,n){return tx(t,kC)?(e.hasDefineEmitCall&&e.error(`duplicate ${kC}() call`,t),e.hasDefineEmitCall=!0,e.emitsRuntimeDecl=t.arguments[0],t.typeParameters&&(e.emitsRuntimeDecl&&e.error(`${kC}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.emitsTypeDecl=t.typeParameters.params[0]),e.emitDecl=n,!0):!1}function jC(e){let t=``;if(e.emitsRuntimeDecl)t=e.getString(e.emitsRuntimeDecl).trim();else if(e.emitsTypeDecl){let n=MC(e);t=n.size?`[${Array.from(n).map(e=>JSON.stringify(e)).join(`, `)}]`:``}if(e.hasDefineModelCall){let n=`[${Object.keys(e.modelDecls).map(e=>JSON.stringify(`update:${e}`)).join(`, `)}]`;t=t?`/*@__PURE__*/${e.helper(`mergeModels`)}(${t}, ${n})`:n}return t}function MC(e){let t=new Set,n=e.emitsTypeDecl;if(n.type===`TSFunctionType`)return NC(e,n.parameters[0],t),t;let{props:r,calls:i}=yS(e,n),a=!1;for(let e in r)t.add(e),a=!0;if(i){a&&e.error(`defineEmits() type cannot mixed call signature and property syntax.`,n);for(let n of i)NC(e,n.parameters[0],t)}return t}function NC(e,t,n){if(t.type===`Identifier`&&t.typeAnnotation&&t.typeAnnotation.type===`TSTypeAnnotation`){let r=fC(e,t.typeAnnotation.typeAnnotation);for(let e of r)e.type===`TSLiteralType`&&e.literal.type!==`UnaryExpression`&&e.literal.type!==`TemplateLiteral`&&n.add(String(e.literal.value))}}var PC=`defineExpose`;function FC(e,t){return tx(t,PC)?(e.hasDefineExposeCall&&e.error(`duplicate ${PC}() call`,t),e.hasDefineExposeCall=!0,!0):!1}var IC=`defineSlots`;function LC(e,t,n){return tx(t,IC)?(e.hasDefineSlotsCall&&e.error(`duplicate ${IC}() call`,t),e.hasDefineSlotsCall=!0,t.arguments.length>0&&e.error(`${IC}() cannot accept arguments`,t),n&&e.s.overwrite(e.startOffset+t.start,e.startOffset+t.end,`${e.helper(`useSlots`)}()`),!0):!1}var RC=`defineOptions`;function zC(e,t){if(!tx(t,RC))return!1;if(e.hasDefineOptionsCall&&e.error(`duplicate ${RC}() call`,t),t.typeParameters&&e.error(`${RC}() cannot accept type arguments`,t),!t.arguments[0])return!0;e.hasDefineOptionsCall=!0,e.optionsRuntimeDecl=Bi(t.arguments[0]);let n,r,i,a;if(e.optionsRuntimeDecl.type===`ObjectExpression`){for(let t of e.optionsRuntimeDecl.properties)if((t.type===`ObjectProperty`||t.type===`ObjectMethod`)&&t.key.type===`Identifier`)switch(t.key.name){case`props`:n=t;break;case`emits`:r=t;break;case`expose`:i=t;break;case`slots`:a=t;break}}return n&&e.error(`${RC}() cannot be used to declare props. Use ${gC}() instead.`,n),r&&e.error(`${RC}() cannot be used to declare emits. Use ${kC}() instead.`,r),i&&e.error(`${RC}() cannot be used to declare expose. Use ${PC}() instead.`,i),a&&e.error(`${RC}() cannot be used to declare slots. Use ${IC}() instead.`,a),!0}function BC(e,t,n,r){let i=t.argument.extra&&t.argument.extra.parenthesized?t.argument.extra.parenStart:t.argument.start,a=e.startOffset,o=e.descriptor.source.slice(i+a,t.argument.end+a),s=/\bawait\b/.test(o);e.s.overwrite(t.start+a,i+a,`${n?`;`:``}(
|
|
129
|
-
([__temp,__restore] = ${e.helper(`withAsyncContext`)}(${s?`async `:``}() => `),e.s.appendLeft(t.end+a,`)),
|
|
130
|
-
${r?``:`__temp = `}await __temp,
|
|
131
|
-
__restore()${r?``:`,
|
|
132
|
-
__temp`}
|
|
133
|
-
)`)}var VC=Object.defineProperty,HC=Object.defineProperties,UC=Object.getOwnPropertyDescriptors,WC=Object.getOwnPropertySymbols,GC=Object.prototype.hasOwnProperty,KC=Object.prototype.propertyIsEnumerable,qC=(e,t,n)=>t in e?VC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,JC=(e,t)=>{for(var n in t||={})GC.call(t,n)&&qC(e,n,t[n]);if(WC)for(var n of WC(t))KC.call(t,n)&&qC(e,n,t[n]);return e},YC=(e,t)=>HC(e,UC(t)),XC=[gC,kC,PC,RC,IC,pC,_C];function ZC(e,t){t.id||Lh("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");let{script:n,scriptSetup:r,source:i,filename:a}=e,o=t.hoistStatic!==!1&&!n,s=t.id?t.id.replace(/^data-v-/,``):``,c=n&&n.lang,l=r&&r.lang,u=fx(c,l)||px(c,l);if(n&&r&&c!==l)throw Error(`[@vue/compiler-sfc] <script> and <script setup> must have the same language type.`);if(!r){if(!n)throw Error(`[@vue/compiler-sfc] SFC contains no <script> tags.`);return n.lang&&!u?n:oS(new Wx(e,t),s)}if(l&&!u)return r;let d=new Wx(e,t),f=Object.create(null),p=Object.create(null),m,h=!1,g=!1,_=d.startOffset,v=d.endOffset,y=n&&n.loc.start.offset,b=n&&n.loc.end.offset;function x(e){let t=e.start+_,n=e.end+_;for(e.trailingComments&&e.trailingComments.length>0&&(n=e.trailingComments[e.trailingComments.length-1].end+_);n<=i.length&&/\s/.test(i.charAt(n));)n++;d.s.move(t,n,0)}function S(t,n,r,i,a,o){let s=o;o&&d.isTS&&e.template&&!e.template.src&&!e.template.lang&&(s=Au(n,e)),d.userImports[n]={isType:i,imported:r,local:n,source:t,isFromSetup:a,isUsedInTemplate:s}}function C(e,t){e&&Ci(e,e=>{let n=p[e.name];n&&n!==`literal-const`&&d.error(`\`${t}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,e)})}let w=d.scriptAst,T=d.scriptSetupAst;if(w){for(let e of w.body)if(e.type===`ImportDeclaration`)for(let n of e.specifiers){let r=rx(n);S(e.source.value,n.local.name,r,e.importKind===`type`||n.type===`ImportSpecifier`&&n.importKind===`type`,!1,!t.inlineTemplate)}}for(let e of T.body)if(e.type===`ImportDeclaration`){x(e);let n=0,r=t=>{let r=t>n;n++;let i=e.specifiers[t],a=e.specifiers[t+1];d.s.remove(r?e.specifiers[t-1].end+_:i.start+_,a&&!r?a.start+_:i.end+_)};for(let n=0;n<e.specifiers.length;n++){let i=e.specifiers[n],a=i.local.name,o=rx(i),s=e.source.value,c=d.userImports[a];s===`vue`&&XC.includes(o)?(a===o?Lh(`\`${o}\` is a compiler macro and no longer needs to be imported.`):d.error(`\`${o}\` is a compiler macro and cannot be aliased to a different name.`,i),r(n)):c?c.source===s&&c.imported===o?r(n):d.error(`different imports aliased to same local name.`,i):S(s,a,o,e.importKind===`type`||i.type===`ImportSpecifier`&&i.importKind===`type`,!0,!t.inlineTemplate)}e.specifiers.length&&n===e.specifiers.length&&d.s.remove(e.start+_,e.end+_)}let E={};for(let e in d.userImports){let{source:t,imported:n,local:r}=d.userImports[e];t===`vue`&&(E[n]=r)}if(n&&w){for(let e of w.body)if(e.type===`ExportDefaultDeclaration`){m=e;let t;if(m.declaration.type===`ObjectExpression`?t=m.declaration.properties:m.declaration.type===`CallExpression`&&m.declaration.arguments[0]&&m.declaration.arguments[0].type===`ObjectExpression`&&(t=m.declaration.arguments[0].properties),t)for(let e of t)e.type===`ObjectProperty`&&e.key.type===`Identifier`&&e.key.name===`name`&&(d.hasDefaultExportName=!0),(e.type===`ObjectMethod`||e.type===`ObjectProperty`)&&e.key.type===`Identifier`&&e.key.name===`render`&&(d.hasDefaultExportRender=!0);let n=e.start+y,r=e.declaration.start+y;d.s.overwrite(n,r,`const ${aS} = `)}else if(e.type===`ExportNamedDeclaration`){let t=e.specifiers.find(e=>e.exported.type===`Identifier`&&e.exported.name==="default");t&&(m=e,e.specifiers.length>1?d.s.remove(t.start+y,t.end+y):d.s.remove(e.start+y,e.end+y),e.source?d.s.prepend(`import { ${t.local.name} as ${aS} } from '${e.source.value}'
|
|
134
|
-
`):d.s.appendLeft(b,`
|
|
135
|
-
const ${aS} = ${t.local.name}
|
|
136
|
-
`)),e.declaration&&$C(`script`,e.declaration,f,E,o)}else(e.type===`VariableDeclaration`||e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`||e.type===`TSEnumDeclaration`)&&!e.declare&&$C(`script`,e,f,E,o);y>_&&(/\n$/.test(n.content.trim())||d.s.appendLeft(b,`
|
|
137
|
-
`),d.s.move(y,b,0))}for(let e of T.body){if(e.type===`ExpressionStatement`){let t=Bi(e.expression);if(vC(d,t)||AC(d,t)||zC(d,t)||LC(d,t))d.s.remove(e.start+_,e.end+_);else if(FC(d,t)){let e=t.callee;d.s.overwrite(e.start+_,e.end+_,`__expose`)}else mC(d,t)}if(e.type===`VariableDeclaration`&&!e.declare){let t=e.declarations.length,n=t,r;for(let i=0;i<t;i++){let a=e.declarations[i],o=a.init&&Bi(a.init);if(o){zC(d,o)&&d.error(`${RC}() has no returning value, it cannot be assigned.`,e);let s=vC(d,o,a.id);d.propsDestructureRestId&&(p[d.propsDestructureRestId]=`setup-reactive-const`);let c=!s&&AC(d,o,a.id);if(!c&&(LC(d,o,a.id)||mC(d,o,a.id)),s&&!d.propsDestructureRestId&&d.propsDestructureDecl)if(n===1)d.s.remove(e.start+_,e.end+_);else{let o=a.start+_,s=a.end+_;i===t-1?o=e.declarations[r].end+_:s=e.declarations[i+1].start+_,d.s.remove(o,s),n--}else c?d.s.overwrite(_+o.start,_+o.end,`__emit`):r=i}}}let t=!1;if((e.type===`VariableDeclaration`||e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`||e.type===`TSEnumDeclaration`)&&!e.declare&&(t=$C(`scriptSetup`,e,p,E,o,!!d.propsDestructureDecl)),o&&t&&x(e),e.type===`VariableDeclaration`&&!e.declare||e.type.endsWith(`Statement`)){let t=[T.body];Si(e,{enter(e,n){if(Fi(e)&&this.skip(),e.type===`BlockStatement`&&t.push(e.body),e.type===`AwaitExpression`){h=!0;let r=t[t.length-1].some((n,r)=>(t.length===1||r>0)&&n.type===`ExpressionStatement`&&n.start===e.start);BC(d,e,r,n.type===`ExpressionStatement`)}},exit(e){e.type===`BlockStatement`&&t.pop()}})}(e.type===`ExportNamedDeclaration`&&e.exportKind!==`type`||e.type===`ExportAllDeclaration`||e.type===`ExportDefaultDeclaration`)&&d.error(`<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.`,e),d.isTS&&(e.type.startsWith(`TS`)||e.type===`ExportNamedDeclaration`&&e.exportKind===`type`||e.type===`VariableDeclaration`&&e.declare)&&e.type!==`TSEnumDeclaration`&&x(e)}d.propsDestructureDecl&&OC(d,E),C(d.propsRuntimeDecl,gC),C(d.propsRuntimeDefaults,gC),C(d.propsDestructureDecl,gC),C(d.emitsRuntimeDecl,kC),C(d.optionsRuntimeDecl,RC);for(let{runtimeOptionNodes:e}of Object.values(d.modelDecls))for(let t of e)C(t,pC);n?_<y?(d.s.remove(0,_),d.s.remove(v,y),d.s.remove(b,i.length)):(d.s.remove(0,y),d.s.remove(b,_),d.s.remove(v,i.length)):(d.s.remove(0,_),d.s.remove(v,i.length)),w&&Object.assign(d.bindingMetadata,mx(w.body));for(let[e,{isType:t,imported:n,source:r}]of Object.entries(d.userImports))t||(d.bindingMetadata[e]=n===`*`||n==="default"&&r.endsWith(`.vue`)||r===`vue`?`setup-const`:`setup-maybe-ref`);for(let e in f)d.bindingMetadata[e]=f[e];for(let e in p)d.bindingMetadata[e]=p[e];if(e.template&&!e.template.src&&e.template.ast){let t=Mu(e);if(t.size){let e=new Set;for(let n of t)p[n]===`setup-reactive-const`&&e.add(n);if(e.size){for(let t of T.body)if(t.type===`VariableDeclaration`&&t.kind===`const`&&!t.declare){let n=[];for(let r of t.declarations)r.id.type===`Identifier`&&e.has(r.id.name)&&n.push(r.id.name);if(n.length){d.s.overwrite(t.start+_,t.start+_+5,`let`);for(let e of n)p[e]=`setup-let`,d.bindingMetadata[e]=`setup-let`,Lh(`\`v-model\` cannot update a \`const\` reactive binding \`${e}\`. The compiler has transformed it to \`let\` to make the update work.`)}}}}}e.cssVars.length&&!t.templateOptions?.ssr&&(d.helperImports.add(Ml),d.helperImports.add(`unref`),d.s.prependLeft(_,`
|
|
138
|
-
${Bl(e.cssVars,d.bindingMetadata,s,!!t.isProd)}
|
|
139
|
-
`));let ee=`__props`;if(d.propsTypeDecl&&(ee+=`: any`),d.propsDecl&&(d.propsDestructureRestId?(d.s.overwrite(_+d.propsCall.start,_+d.propsCall.end,`${d.helper(`createPropsRestProxy`)}(__props, ${JSON.stringify(Object.keys(d.propsDestructuredBindings))})`),d.s.overwrite(_+d.propsDestructureDecl.start,_+d.propsDestructureDecl.end,d.propsDestructureRestId)):d.propsDestructureDecl||d.s.overwrite(_+d.propsCall.start,_+d.propsCall.end,`__props`)),h){let e=d.isTS?`: any`:``;d.s.prependLeft(_,`
|
|
140
|
-
let __temp${e}, __restore${e}
|
|
141
|
-
`)}let D=d.hasDefineExposeCall||!t.inlineTemplate?[`expose: __expose`]:[];d.emitDecl&&D.push(`emit: __emit`),D.length&&(ee+=`, { ${D.join(`, `)} }`);let O,k,A=bC(d);if(!t.inlineTemplate||!e.template&&d.hasDefaultExportRender){let e=JC(JC({},f),p);for(let t in d.userImports)!d.userImports[t].isType&&d.userImports[t].isUsedInTemplate&&(e[t]=!0);k=`{ `;for(let t in e)if(e[t]===!0&&d.userImports[t].source!==`vue`&&!d.userImports[t].source.endsWith(`.vue`))k+=`get ${t}() { return ${t} }, `;else if(d.bindingMetadata[t]===`setup-let`){let e=t===`v`?`_v`:`v`;k+=`get ${t}() { return ${t} }, set ${t}(${e}) { ${t} = ${e} }, `}else k+=`${t}, `;k=k.replace(/, $/,``)+` }`}else if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&(g=!0);let{code:n,ast:r,preamble:o,tips:c,errors:l,map:u}=Yh(YC(JC({filename:a,ast:e.template.ast,source:e.template.content,inMap:e.template.map},t.templateOptions),{id:s,scoped:e.styles.some(e=>e.scoped),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:YC(JC({},t.templateOptions&&t.templateOptions.compilerOptions),{inline:!0,isTS:d.isTS,bindingMetadata:d.bindingMetadata})}));O=u,c.length&&c.forEach(Lh);let f=l[0];if(typeof f==`string`)throw Error(f);if(f)throw f.loc&&(f.message+=`
|
|
142
|
-
|
|
143
|
-
`+e.filename+`
|
|
144
|
-
`+Ne(i,f.loc.start.offset,f.loc.end.offset)+`
|
|
145
|
-
`),f;o&&d.s.prepend(o),r&&r.helpers.has(Gt)&&d.helperImports.delete(`unref`),k=n}else k=`() => {}`;t.inlineTemplate?d.s.appendRight(v,`
|
|
146
|
-
return ${k}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
`):d.s.appendRight(v,`
|
|
150
|
-
const __returned__ = ${k}
|
|
151
|
-
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
152
|
-
return __returned__
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
`);let te=t.genDefaultAs?`const ${t.genDefaultAs} =`:`export default`,ne=``;if(!d.hasDefaultExportName&&a&&a!==Gu){let e=a.match(/([^/\\]+)\.\w+$/);e&&(ne+=`
|
|
156
|
-
__name: '${e[1]}',`)}g&&(ne+=`
|
|
157
|
-
__ssrInlineRender: true,`),A&&(ne+=`
|
|
158
|
-
props: ${A},`);let re=jC(d);re&&(ne+=`
|
|
159
|
-
emits: ${re},`);let ie=``;d.optionsRuntimeDecl&&(ie=r.content.slice(d.optionsRuntimeDecl.start,d.optionsRuntimeDecl.end).trim());let j=d.hasDefineExposeCall||t.inlineTemplate?``:` __expose();
|
|
160
|
-
`;if(d.isTS){let e=(m?`
|
|
161
|
-
...${aS},`:``)+(ie?`
|
|
162
|
-
...${ie},`:``);d.s.prependLeft(_,`
|
|
163
|
-
${te} /*@__PURE__*/${d.helper(`defineComponent`)}({${e}${ne}
|
|
164
|
-
${h?`async `:``}setup(${ee}) {
|
|
165
|
-
${j}`),d.s.appendRight(v,`})`)}else m||ie?(d.s.prependLeft(_,`
|
|
166
|
-
${te} /*@__PURE__*/Object.assign(${m?`${aS}, `:``}${ie?`${ie}, `:``}{${ne}
|
|
167
|
-
${h?`async `:``}setup(${ee}) {
|
|
168
|
-
${j}`),d.s.appendRight(v,`})`)):(d.s.prependLeft(_,`
|
|
169
|
-
${te} {${ne}
|
|
170
|
-
${h?`async `:``}setup(${ee}) {
|
|
171
|
-
${j}`),d.s.appendRight(v,`}`));if(d.helperImports.size>0){let e=t.templateOptions?.compilerOptions?.runtimeModuleName,n=e?JSON.stringify(e):`'vue'`;d.s.prepend(`import { ${[...d.helperImports].map(e=>`${e} as _${e}`).join(`, `)} } from ${n}
|
|
172
|
-
`)}let M=d.s.toString(),N=t.sourceMap===!1?void 0:d.s.generateMap({source:a,hires:!0,includeContent:!0});if(O&&N){let e=M.indexOf(k),t=M.slice(0,e).split(/\r?\n/).length-1;N=aw(N,O,t)}return YC(JC({},r),{bindings:d.bindingMetadata,imports:d.userImports,content:M,map:N,scriptAst:w?.body,scriptSetupAst:T?.body,deps:d.deps?[...d.deps]:void 0})}function QC(e,t,n){e[t.name]=n}function $C(e,t,n,r,i,a=!1){let o=!1;if(t.type===`VariableDeclaration`){let s=t.kind===`const`;o=s&&t.declarations.every(e=>e.id.type===`Identifier`&&iw(e.init));for(let{id:c,init:l}of t.declarations){let t=l&&Bi(l),u=s&&tx(t,e=>e===gC||e===kC||e===_C||e===IC);if(c.type===`Identifier`){let a,l=r.reactive;a=(i||e===`script`)&&(o||s&&iw(t))?`literal-const`:tx(t,l)?s?`setup-reactive-const`:`setup-let`:u||s&&rw(t,l)?tx(t,gC)?`setup-reactive-const`:`setup-const`:s?tx(t,e=>e===r.ref||e===r.computed||e===r.shallowRef||e===r.customRef||e===r.toRef||e===r.useTemplateRef||e===pC)?`setup-ref`:`setup-maybe-ref`:`setup-let`,QC(n,c,a)}else{if(tx(t,gC)&&a)continue;c.type===`ObjectPattern`?ew(c,n,s,u):c.type===`ArrayPattern`&&tw(c,n,s,u)}}}else t.type===`TSEnumDeclaration`?(o=t.members.every(e=>!e.initializer||iw(e.initializer)),n[t.id.name]=o?`literal-const`:`setup-const`):(t.type===`FunctionDeclaration`||t.type===`ClassDeclaration`)&&(n[t.id.name]=`setup-const`);return o}function ew(e,t,n,r=!1){for(let i of e.properties)if(i.type===`ObjectProperty`)if(i.key.type===`Identifier`&&i.key===i.value){let e=r?`setup-const`:n?`setup-maybe-ref`:`setup-let`;QC(t,i.key,e)}else nw(i.value,t,n,r);else{let e=n?`setup-const`:`setup-let`;QC(t,i.argument,e)}}function tw(e,t,n,r=!1){for(let i of e.elements)i&&nw(i,t,n,r)}function nw(e,t,n,r=!1){if(e.type===`Identifier`)QC(t,e,r?`setup-const`:n?`setup-maybe-ref`:`setup-let`);else if(e.type===`RestElement`){let r=n?`setup-const`:`setup-let`;QC(t,e.argument,r)}else if(e.type===`ObjectPattern`)ew(e,t,n);else if(e.type===`ArrayPattern`)tw(e,t,n);else if(e.type===`AssignmentPattern`)if(e.left.type===`Identifier`){let i=r?`setup-const`:n?`setup-maybe-ref`:`setup-let`;QC(t,e.left,i)}else nw(e.left,t,n)}function rw(e,t){if(tx(e,t))return!0;switch(e.type){case`UnaryExpression`:case`BinaryExpression`:case`ArrayExpression`:case`ObjectExpression`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`UpdateExpression`:case`ClassExpression`:case`TaggedTemplateExpression`:return!0;case`SequenceExpression`:return rw(e.expressions[e.expressions.length-1],t);default:return!!ex(e)}}function iw(e){switch(e=Bi(e),e.type){case`UnaryExpression`:return iw(e.argument);case`LogicalExpression`:case`BinaryExpression`:return iw(e.left)&&iw(e.right);case`ConditionalExpression`:return iw(e.test)&&iw(e.consequent)&&iw(e.alternate);case`SequenceExpression`:case`TemplateLiteral`:return e.expressions.every(e=>iw(e));case`ParenthesizedExpression`:return iw(e.expression);case`StringLiteral`:case`NumericLiteral`:case`BooleanLiteral`:case`NullLiteral`:case`BigIntLiteral`:return!0}return!1}function aw(e,t,n){let r=new es.SourceMapGenerator,i=(e,t=0)=>{let n=new es.SourceMapConsumer(e);n.sources.forEach(e=>{r._sources.add(e);let t=n.sourceContentFor(e);t!=null&&r.setSourceContent(e,t)}),n.eachMapping(e=>{e.originalLine!=null&&r.addMapping({generated:{line:e.generatedLine+t,column:e.generatedColumn},original:{line:e.originalLine,column:e.originalColumn},source:e.source,name:e.name})})};return i(e),i(t,n),r._sourceRoot=e.sourceRoot,r._file=e.file,r.toJSON()}var ow=Object.defineProperty,sw=Object.getOwnPropertySymbols,cw=Object.prototype.hasOwnProperty,lw=Object.prototype.propertyIsEnumerable,uw=(e,t,n)=>t in e?ow(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dw=(e,t)=>{for(var n in t||={})cw.call(t,n)&&uw(e,n,t[n]);if(sw)for(var n of sw(t))lw.call(t,n)&&uw(e,n,t[n]);return e};dw(dw({},pi),Gc),yi.parse;function fw(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var pw=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mw=Array.isArray,hw=e=>typeof e==`string`,gw=e=>typeof e==`object`&&!!e,_w=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},vw=/\B([A-Z])/g,yw=_w(e=>e.replace(vw,`-$1`).toLowerCase()),bw,xw=()=>bw||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function Sw(e){if(mw(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=hw(r)?Ew(r):Sw(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(hw(e)||gw(e))return e}var Cw=/;(?![^(]*\))/g,ww=/:([^]+)/,Tw=/\/\*[^]*?\*\//g;function Ew(e){let t={};return e.replace(Tw,``).split(Cw).forEach(e=>{if(e){let n=e.split(ww);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Dw(e){if(!e)return``;if(hw(e))return e;let t=``;for(let n in e){let r=e[n];if(hw(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:yw(n);t+=`${e}:${r};`}}return t}function Ow(e){let t=``;if(hw(e))t=e;else if(mw(e))for(let n=0;n<e.length;n++){let r=Ow(e[n]);r&&(t+=r+` `)}else if(gw(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var kw=fw(`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`),Aw=fw(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);function jw(e){return!!e||e===``}var Mw=/[>/="'\u0009\u000a\u000c\u0020]/,Nw={};function Pw(e){if(Nw.hasOwnProperty(e))return Nw[e];let t=Mw.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Nw[e]=!t}var Fw={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`};function Iw(e){if(e==null)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`}var Lw=/["'&<>]/;function Rw(e){let t=``+e,n=Lw.exec(t);if(!n)return t;let r=``,i,a,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i=`"`;break;case 38:i=`&`;break;case 39:i=`'`;break;case 60:i=`<`;break;case 62:i=`>`;break;default:continue}o!==a&&(r+=t.slice(o,a)),o=a+1,r+=i}return o===a?r:r+t.slice(o,a)}function zw(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var Bw=fw(`,key,ref,innerHTML,textContent,ref_key,ref_for`);function Vw(e,t){let n=``;for(let r in e){if(Bw(r)||pw(r)||t===`textarea`&&r===`value`||r.startsWith(`.`))continue;let i=e[r];r.startsWith(`^`)&&(r=r.slice(1)),r===`class`?n+=` class="${Uw(i)}"`:r===`style`?n+=` style="${Ww(i)}"`:r===`className`?i!=null&&(n+=` class="${Rw(String(i))}"`):n+=Hw(r,i,t)}return n}function Hw(e,t,n){if(!Iw(t))return``;let r=n&&(n.indexOf(`-`)>0||kw(n))?e:Fw[e]||e.toLowerCase();return Aw(r)?jw(t)?` ${r}`:``:Pw(r)?t===``?` ${r}`:` ${r}="${Rw(t)}"`:(console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${r}`),``)}function Uw(e){return Rw(Ow(e))}function Ww(e){return e?hw(e)?Rw(e):Rw(Dw(Sw(Gw(e)))):``}function Gw(e){if(!mw(e)&&gw(e)){let t={};for(let n in e)n.startsWith(`:--`)?t[n.slice(1)]=zw(e[n]):t[n]=e[n];return t}return e}var{ensureValidVNode:Kw}=m;{let e=xw(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};t(`__VUE_INSTANCE_SETTERS__`,e=>e),t(`__VUE_SSR_SETTERS__`,e=>e)}var{createComponentInstance:qw,setCurrentRenderingInstance:Jw,setupComponent:Yw,renderComponentRoot:Xw,normalizeVNode:Zw,pushWarningContext:Qw,popWarningContext:$w}=m,{isVNode:eT}=m,{isVNode:tT}=m;a();export{qu as a,Yh as i,ZC as n,re as o,Jb as r,E as s,Vw as t};
|