@vesium/shared 1.0.1-beta.65 → 1.0.1-beta.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,2 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(e,t,n)=>(s(e,t,`default`),n&&s(n,t,`default`)),l=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let u=require(`cesium`);function d(e,t){let n=new Set(t),r=e.filter(e=>!n.has(e)),i=new Set(e);return{added:r,removed:t?.filter(e=>!i.has(e))??[]}}function f(e,t,n=`auto`){if(n===`pickPosition`)return t.pickPosition(e);if(n===`globePick`){let n=t.camera.getPickRay(e);return n&&t.globe.pick(n,t)}else{if(t.globe.depthTestAgainstTerrain)return t.pickPosition(e);let n=t.pickPosition(e),r=t.camera.getPickRay(e),i=r&&t.globe.pick(r,t);return n&&((n&&u.Ellipsoid.WGS84.cartesianToCartographic(n).height)??0)<((i&&u.Ellipsoid.WGS84.cartesianToCartographic(i).height)??0)?n:i}}function p(e,t){return t.cartesianToCanvasCoordinates(e)}const m=Object.prototype.toString;function h(e){return e!==void 0}function g(e){return typeof e==`boolean`}function _(e){return typeof e==`function`}function v(e){return typeof e==`number`}function y(e){return typeof e==`string`}function b(e){return m.call(e)===`[object Object]`}function x(e){return typeof window<`u`&&m.call(e)===`[object Window]`}function S(e){return!!e&&(typeof e==`object`||typeof e==`function`)&&typeof e.then==`function`}function C(e){return!!(e&&e.nodeName&&e.nodeType===1)}const w=Array.isArray;function T(e){return/^\s*data:([a-z]+\/[\d+.a-z-]+(;[a-z-]+=[\da-z-]+)?)?(;base64)?,([\s\w!$%&'()*+,./:;=?@~-]*?)\s*$/i.test(e)}function E(e,t){if(e)throw Error(t)}function D(e,t){return e===t||_(e?.equals)&&e.equals(t)||_(t?.equals)&&t.equals(e)}function O(e,t={}){if(!e)return;let{type:n=`Array`,alt:r=!1}=t,i,a,o;if(e instanceof u.Cartesian3){let t=u.Ellipsoid.WGS84.cartesianToCartographic(e);i=u.Math.toDegrees(t.longitude),a=u.Math.toDegrees(t.latitude),o=t.height}else if(e instanceof u.Cartographic){let t=e;i=u.Math.toDegrees(t.longitude),a=u.Math.toDegrees(t.latitude),o=t.height}else Array.isArray(e)?(i=u.Math.toDegrees(e[0]),a=u.Math.toDegrees(e[1]),o=e[2]):(i=e.longitude,a=e.latitude,o=e.height);return n===`Array`?r?[i,a,o]:[i,a]:r?{longitude:i,latitude:a,height:o}:{longitude:i,latitude:a}}function k(e,t=3){let n=`${e}`,r=n.indexOf(`.`),i=r<0?n:n.slice(0,Math.max(0,r)),a=`0`,o=`0`;return r>0&&(a=`0${n.slice(Math.max(0,r))}`,a=`${a*60}`,r=a.indexOf(`.`),r>0&&(o=`0${a.slice(Math.max(0,r))}`,a=a.slice(0,Math.max(0,r)),o=`${o*60}`,r=o.indexOf(`.`),o=o.slice(0,Math.max(0,r+4)),o=(+o).toFixed(t))),`${Math.abs(+i)}°${+a}′${+o}″`}function A(e){let[t,n]=e.split(`°`)??[],[r,i]=n?.split(`′`)??[],a=i?.split(`″`)[0],o=Number(t)||0,s=(Number(r)||0)/60,c=(Number(a)||0)/60/60,l=o+s+c;if(l===0)return 0;{let t=l;return[`W`,`w`,`S`,`s`].includes(e[e.length-1])&&(t=-t),t}}function j(e,t=3){let n=O(e,{alt:!0});if(!n)return;let[r,i,a]=n,o=k(r,t),s=k(i,t);return[`${o}${r>0?`E`:`W`}`,`${s}${i>0?`N`:`S`}`,a]}function M(e){let[t,n,r]=e;return[A(t),A(n),Number(r)||0]}function N(e){return!(0,u.defined)(e)||!!e.isConstant}var ee=class extends u.Material{constructor(e){super(e)}};function te(e){return u.Material._materialCache.getMaterial(e)}function ne(e,t){return u.Material._materialCache.addMaterial(e,t)}function P(e={}){let{primitive:t,id:n,primitiveCollection:r,collection:i}=e,a=n&&n.entityCollection||null,o=a&&a.owner||null;return[...Array.isArray(n)?n:[n].filter(Boolean),t,r,i,a,o].filter(e=>!!e)}function F(e,t){if(!Array.isArray(t)||!t.length)return!1;let n=P(e);return n.length?n.some(e=>t.includes(e)):!1}function I(e){return e&&_(e.getValue)}function L(e,t){return I(e)?e.getValue(t):e}function R(e,t=!1){return I(e)?e:_(e)?new u.CallbackProperty(e,t):new u.ConstantProperty(e)}function re(e,t,n,r){let i,a=n=>{i?.(),(0,u.defined)(n?.definitionChanged)&&(i=n?.definitionChanged?.addEventListener(()=>{e.definitionChanged.raiseEvent(e,t,n,n)}))},o=`_${t}`,s=R(n);e[o]=s,a(s),r?Object.defineProperty(e,t,{get(){return e[o]}}):Object.defineProperty(e,t,{get(){return e[o]},set(n){let r=e[o];e[o]!==n&&(e[o]=n,a(n),(0,u.defined)(e.definitionChanged)&&e.definitionChanged.raiseEvent(e,t,n,r))}})}function z(e,t,n,r={}){let i=!!r.toProperty,a=!!r.shallowClone,o=r.changedEventKey||`definitionChanged`,s=Reflect.get(e,o),c=`_${String(t)}`,l=i?R(n):n;Reflect.set(e,c,l);let u={get(){let t=Reflect.get(e,c);return a?Array.isArray(t)?[...t]:{...t}:t}},d,f=(n,r)=>{d?.(),d=n?.definitionChanged?.addEventListener(()=>{s?.raiseEvent.bind(s)(e,t,n,r)})};r.readonly||(i&&I(n)&&f(n),u.set=n=>{if(i&&!I(n))throw Error(`The value of ${String(t)} must be a Cesium.Property object`);let r=Reflect.get(e,c);r!==n&&(Reflect.set(e,c,n),s?.raiseEvent.bind(s)(e,t,n,r),i&&f(n))}),Object.defineProperty(e,t,u)}function B(e,t,n,r={}){return z(e,t,n,{...r,toProperty:!0})}
2
- /**
3
- * @vue/shared v3.5.26
4
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
- * @license MIT
6
- **/
7
- var V=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});function t(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}let n={},r=[],i=()=>{},a=()=>!1,o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith(`onUpdate:`),c=Object.assign,l=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>C(e)===`[object Map]`,m=e=>C(e)===`[object Set]`,h=e=>C(e)===`[object Date]`,g=e=>C(e)===`[object RegExp]`,_=e=>typeof e==`function`,v=e=>typeof e==`string`,y=e=>typeof e==`symbol`,b=e=>typeof e==`object`&&!!e,x=e=>(b(e)||_(e))&&_(e.then)&&_(e.catch),S=Object.prototype.toString,C=e=>S.call(e),w=e=>C(e).slice(8,-1),T=e=>C(e)===`[object Object]`,E=e=>v(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,D=t(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),O=t(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),k=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},A=/-\w/g,j=k(e=>e.replace(A,e=>e.slice(1).toUpperCase())),M=/\B([A-Z])/g,N=k(e=>e.replace(M,`-$1`).toLowerCase()),ee=k(e=>e.charAt(0).toUpperCase()+e.slice(1)),te=k(e=>e?`on${ee(e)}`:``),ne=(e,t)=>!Object.is(e,t),P=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},F=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},I=e=>{let t=parseFloat(e);return isNaN(t)?e:t},L=e=>{let t=v(e)?Number(e):NaN;return isNaN(t)?e:t},R,re=()=>R||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},z=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function B(e){return z.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function V(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}let H={TEXT:1,1:`TEXT`,CLASS:2,2:`CLASS`,STYLE:4,4:`STYLE`,PROPS:8,8:`PROPS`,FULL_PROPS:16,16:`FULL_PROPS`,NEED_HYDRATION:32,32:`NEED_HYDRATION`,STABLE_FRAGMENT:64,64:`STABLE_FRAGMENT`,KEYED_FRAGMENT:128,128:`KEYED_FRAGMENT`,UNKEYED_FRAGMENT:256,256:`UNKEYED_FRAGMENT`,NEED_PATCH:512,512:`NEED_PATCH`,DYNAMIC_SLOTS:1024,1024:`DYNAMIC_SLOTS`,DEV_ROOT_FRAGMENT:2048,2048:`DEV_ROOT_FRAGMENT`,CACHED:-1,"-1":`CACHED`,BAIL:-2,"-2":`BAIL`},ie={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={ELEMENT:1,1:`ELEMENT`,FUNCTIONAL_COMPONENT:2,2:`FUNCTIONAL_COMPONENT`,STATEFUL_COMPONENT:4,4:`STATEFUL_COMPONENT`,TEXT_CHILDREN:8,8:`TEXT_CHILDREN`,ARRAY_CHILDREN:16,16:`ARRAY_CHILDREN`,SLOTS_CHILDREN:32,32:`SLOTS_CHILDREN`,TELEPORT:64,64:`TELEPORT`,SUSPENSE:128,128:`SUSPENSE`,COMPONENT_SHOULD_KEEP_ALIVE:256,256:`COMPONENT_SHOULD_KEEP_ALIVE`,COMPONENT_KEPT_ALIVE:512,512:`COMPONENT_KEPT_ALIVE`,COMPONENT:6,6:`COMPONENT`},oe={STABLE:1,1:`STABLE`,DYNAMIC:2,2:`DYNAMIC`,FORWARDED:3,3:`FORWARDED`},se={1:`STABLE`,2:`DYNAMIC`,3:`FORWARDED`},ce=t(`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`),U=ce;function le(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-2;s<=e+2||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(`
8
- `)}function ue(e){if(f(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=v(r)?me(r):ue(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(v(e)||b(e))return e}let de=/;(?![^(]*\))/g,fe=/:([^]+)/,pe=/\/\*[^]*?\*\//g;function me(e){let t={};return e.replace(pe,``).split(de).forEach(e=>{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function W(e){if(!e)return``;if(v(e))return e;let t=``;for(let n in e){let r=e[n];if(v(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:N(n);t+=`${e}:${r};`}}return t}function G(e){let t=``;if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){let r=G(e[n]);r&&(t+=r+` `)}else if(b(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function K(e){if(!e)return null;let{class:t,style:n}=e;return t&&!v(t)&&(e.class=G(t)),n&&(e.style=ue(n)),e}let he=t(`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`),ge=t(`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`),_e=t(`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`),ve=t(`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`),ye=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,be=t(ye),xe=t(ye+`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);function Se(e){return!!e||e===``}let Ce=/[>/="'\u0009\u000a\u000c\u0020]/,we={};function Te(e){if(we.hasOwnProperty(e))return we[e];let t=Ce.test(e);return t&&console.error(`unsafe attribute name: ${e}`),we[e]=!t}let Ee={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`},De=t(`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`),Oe=t(`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`),ke=t(`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`);function Ae(e){if(e==null)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`}let je=/["'&<>]/;function Me(e){let t=``+e,n=je.exec(t);if(!n)return t;let r=``,i,a,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i=`&quot;`;break;case 38:i=`&amp;`;break;case 39:i=`&#39;`;break;case 60:i=`&lt;`;break;case 62:i=`&gt;`;break;default:continue}o!==a&&(r+=t.slice(o,a)),o=a+1,r+=i}return o===a?r:r+t.slice(o,a)}let Ne=/^-?>|<!--|-->|--!>|<!-$/g;function Pe(e){return e.replace(Ne,``)}let Fe=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Ie(e,t){return e.replace(Fe,e=>t?e===`"`?`\\\\\\"`:`\\\\${e}`:`\\${e}`)}function Le(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Re(e[r],t[r]);return n}function Re(e,t){if(e===t)return!0;let n=h(e),r=h(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=y(e),r=y(t),n||r)return e===t;if(n=f(e),r=f(t),n||r)return n&&r?Le(e,t):!1;if(n=b(e),r=b(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!Re(e[n],t[n]))return!1}}return String(e)===String(t)}function ze(e,t){return e.findIndex(e=>Re(e,t))}let q=e=>!!(e&&e.__v_isRef===!0),Be=e=>v(e)?e:e==null?``:f(e)||b(e)&&(e.toString===S||!_(e.toString))?q(e)?Be(e.value):JSON.stringify(e,J,2):String(e),J=(e,t)=>q(t)?J(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ve(t,r)+` =>`]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ve(e))}:y(t)?Ve(t):b(t)&&!f(t)&&!T(t)?String(t):t,Ve=(e,t=``)=>y(e)?`Symbol(${e.description??t})`:e;function He(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}e.EMPTY_ARR=r,e.EMPTY_OBJ=n,e.NO=a,e.NOOP=i,e.PatchFlagNames=ie,e.PatchFlags=H,e.ShapeFlags=ae,e.SlotFlags=oe,e.camelize=j,e.capitalize=ee,e.cssVarNameEscapeSymbolsRE=Fe,e.def=F,e.escapeHtml=Me,e.escapeHtmlComment=Pe,e.extend=c,e.genCacheKey=V,e.genPropsAccessExp=B,e.generateCodeFrame=le,e.getEscapedCssVarName=Ie,e.getGlobalThis=re,e.hasChanged=ne,e.hasOwn=d,e.hyphenate=N,e.includeBooleanAttr=Se,e.invokeArrayFns=P,e.isArray=f,e.isBooleanAttr=xe,e.isBuiltInDirective=O,e.isDate=h,e.isFunction=_,e.isGloballyAllowed=ce,e.isGloballyWhitelisted=U,e.isHTMLTag=he,e.isIntegerKey=E,e.isKnownHtmlAttr=De,e.isKnownMathMLAttr=ke,e.isKnownSvgAttr=Oe,e.isMap=p,e.isMathMLTag=_e,e.isModelListener=s,e.isObject=b,e.isOn=o,e.isPlainObject=T,e.isPromise=x,e.isRegExp=g,e.isRenderableAttrValue=Ae,e.isReservedProp=D,e.isSSRSafeAttrName=Te,e.isSVGTag=ge,e.isSet=m,e.isSpecialBooleanAttr=be,e.isString=v,e.isSymbol=y,e.isVoidTag=ve,e.looseEqual=Re,e.looseIndexOf=ze,e.looseToNumber=I,e.makeMap=t,e.normalizeClass=G,e.normalizeCssVarValue=He,e.normalizeProps=K,e.normalizeStyle=ue,e.objectToString=S,e.parseStringStyle=me,e.propsToAttrMap=Ee,e.remove=l,e.slotFlagsText=se,e.stringifyStyle=W,e.toDisplayString=Be,e.toHandlerKey=te,e.toNumber=L,e.toRawType=w,e.toTypeString=C})),H=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.freeze({}),Object.freeze([]),Array.isArray})),ie=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=V():t.exports=H()})),ae=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.fromCodePoint=void 0,e.replaceCodePoint=n,e.decodeCodePoint=r;let t=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]]);e.fromCodePoint=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 n(e){return e>=55296&&e<=57343||e>1114111?65533:t.get(e)??e}function r(t){return(0,e.fromCodePoint)(n(t))}})),oe=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.decodeBase64=t;function t(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`binary`):new Buffer(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}})),se=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.htmlDecodeTree=void 0,e.htmlDecodeTree=(0,oe().decodeBase64)(`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`)})),ce=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.xmlDecodeTree=void 0,e.xmlDecodeTree=(0,oe().decodeBase64)(`AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg`)})),U=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BinTrieFlags=void 0;var t;(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`})(t||(e.BinTrieFlags=t={}))})),le=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.xmlDecodeTree=e.htmlDecodeTree=e.replaceCodePoint=e.fromCodePoint=e.decodeCodePoint=e.EntityDecoder=e.DecodingMode=void 0,e.determineBranch=m,e.decodeHTML=_,e.decodeHTMLAttribute=v,e.decodeHTMLStrict=y,e.decodeXML=b;let t=ae(),n=se(),r=ce(),i=U();var a;(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`})(a||={});function o(e){return e>=a.ZERO&&e<=a.NINE}function s(e){return e>=a.UPPER_A&&e<=a.UPPER_F||e>=a.LOWER_A&&e<=a.LOWER_F}function c(e){return e>=a.UPPER_A&&e<=a.UPPER_Z||e>=a.LOWER_A&&e<=a.LOWER_Z||o(e)}function l(e){return e===a.EQUALS||c(e)}var u;(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`})(u||={});var d;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(d||(e.DecodingMode=d={}));var f=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=u.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=d.Strict}startEntity(e){this.decodeMode=e,this.state=u.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case u.EntityStart:return e.charCodeAt(t)===a.NUM?(this.state=u.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=u.NamedEntity,this.stateNamedEntity(e,t));case u.NumericStart:return this.stateNumericStart(e,t);case u.NumericDecimal:return this.stateNumericDecimal(e,t);case u.NumericHex:return this.stateNumericHex(e,t);case u.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===a.LOWER_X?(this.state=u.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=u.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(o(n)||s(n)){let e=n<=a.NINE?n-a.ZERO:(n|32)-a.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(o(n))this.result=this.result*10+(n-a.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,n){var r;if(this.consumed<=n)return(r=this.errors)==null||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===a.SEMI)this.consumed+=1;else if(this.decodeMode===d.Strict)return 0;return this.emitCodePoint((0,t.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==a.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],o=(r&i.BinTrieFlags.VALUE_LENGTH)>>14;for(;t<e.length;){if(o===0&&(r&i.BinTrieFlags.FLAG13)!==0){let a=(r&i.BinTrieFlags.BRANCH_LENGTH)>>7,s=r&i.BinTrieFlags.JUMP_TABLE;if(t+a>e.length)return-1;if(e.charCodeAt(t)!==s)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++;let c=a-1;for(let r=1;r<a;r+=2){let i=n[this.treeIndex+1+(r-1>>1)],o=i&255;if(e.charCodeAt(t)!==o)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++;let s=i>>8&255;if(r+1<a){if(e.charCodeAt(t)!==s)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++}}this.treeIndex+=1+(c+1>>1),r=n[this.treeIndex],o=(r&i.BinTrieFlags.VALUE_LENGTH)>>14}if(t>=e.length)break;let s=e.charCodeAt(t);if(s===a.SEMI&&o!==0&&(r&i.BinTrieFlags.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);if(this.treeIndex=m(n,r,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return this.result===0||this.decodeMode===d.Attribute&&(o===0||l(s))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&i.BinTrieFlags.VALUE_LENGTH)>>14,o!==0){if(s===a.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==d.Strict&&(r&i.BinTrieFlags.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]&i.BinTrieFlags.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]&~(i.BinTrieFlags.VALUE_LENGTH|i.BinTrieFlags.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case u.NamedEntity:return this.result!==0&&(this.decodeMode!==d.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case u.NumericDecimal:return this.emitNumericEntity(0,2);case u.NumericHex:return this.emitNumericEntity(0,3);case u.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case u.EntityStart:return 0}}};e.EntityDecoder=f;function p(e){let n=``,r=new f(e,e=>n+=(0,t.fromCodePoint)(e));return function(e,t){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){n+=e.slice(i,a),r.startEntity(t);let o=r.write(e,a+1);if(o<0){i=a+r.end();break}i=a+o,a=o===0?i+1:i}let o=n+e.slice(i);return n=``,o}}function m(e,t,n,r){let a=(t&i.BinTrieFlags.BRANCH_LENGTH)>>7,o=t&i.BinTrieFlags.JUMP_TABLE;if(a===0)return o!==0&&r===o?n:-1;if(o){let t=r-o;return t<0||t>=a?-1:e[n+t]-1}let s=a+1>>1,c=0,l=a-1;for(;c<=l;){let t=c+l>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)c=t+1;else if(i>r)l=t-1;else return e[n+s+t]}return-1}let h=p(n.htmlDecodeTree),g=p(r.xmlDecodeTree);function _(e,t=d.Legacy){return h(e,t)}function v(e){return h(e,d.Attribute)}function y(e){return h(e,d.Strict)}function b(e){return g(e,d.Strict)}var x=ae();Object.defineProperty(e,`decodeCodePoint`,{enumerable:!0,get:function(){return x.decodeCodePoint}}),Object.defineProperty(e,`fromCodePoint`,{enumerable:!0,get:function(){return x.fromCodePoint}}),Object.defineProperty(e,`replaceCodePoint`,{enumerable:!0,get:function(){return x.replaceCodePoint}});var S=se();Object.defineProperty(e,`htmlDecodeTree`,{enumerable:!0,get:function(){return S.htmlDecodeTree}});var C=ce();Object.defineProperty(e,`xmlDecodeTree`,{enumerable:!0,get:function(){return C.xmlDecodeTree}})})),ue=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});function t(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}var n=class{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}},r=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function i(e,t){let{line:r,column:i,index:a}=e;return new n(r,i+t,a+t)}let a=`BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED`;var o={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:a},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:a}};let s={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`},c=e=>e.type===`UpdateExpression`?s.UpdateExpression[`${e.prefix}`]:s[e.type];var l={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 ${c(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${c(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${c(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.`},u={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.`},d={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 f=new Set([`ArrowFunctionExpression`,`AssignmentExpression`,`ConditionalExpression`,`YieldExpression`]);var p=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 ${c({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 m=[`message`];function h(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:n})}function g({toMessage:e,code:t,reasonCode:r,syntaxPlugin:i}){let a=r===`MissingPlugin`||r===`MissingOneOfPlugins`;{let e={AccessorCannotDeclareThisParameter:`AccesorCannotDeclareThisParameter`,AccessorCannotHaveTypeParameters:`AccesorCannotHaveTypeParameters`,ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:`ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference`,SetAccessorCannotHaveOptionalParameter:`SetAccesorCannotHaveOptionalParameter`,SetAccessorCannotHaveRestParameter:`SetAccesorCannotHaveRestParameter`,SetAccessorCannotHaveReturnType:`SetAccesorCannotHaveReturnType`};e[r]&&(r=e[r])}return function o(s,c){let l=SyntaxError();return l.code=t,l.reasonCode=r,l.loc=s,l.pos=s.index,l.syntaxPlugin=i,a&&(l.missingPlugin=c.missingPlugin),h(l,`clone`,function(e={}){let{line:t,column:r,index:i}=e.loc??s;return o(new n(t,r,i),Object.assign({},c,e.details))}),h(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 _(e,n){if(Array.isArray(e))return t=>_(t,e[0]);let r={};for(let i of Object.keys(e)){let a=e[i],o=typeof a==`string`?{message:()=>a}:typeof a==`function`?{message:a}:a,{message:s}=o,c=t(o,m),l=typeof s==`string`?()=>s:s;r[i]=g(Object.assign({code:`BABEL_PARSER_SYNTAX_ERROR`,reasonCode:i,toMessage:l},n?{syntaxPlugin:n}:{},c))}return r}let v=Object.assign({},_(o),_(l),_(u),_(d),_`pipelineOperator`(p));function y(){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 b(e){let t=y();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:x}=Object,S=(e,t)=>{e&&x(e,t,{enumerable:!1,value:e[t]})};function C(e){return S(e.loc.start,`index`),S(e.loc.end,`index`),e}var w=e=>class extends e{parse(){let e=C(super.parse());return this.optionFlags&256&&(e.tokens=e.tokens.map(C)),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(v.PatternHasAccessor,e.key):e.type===`Property`&&e.method?this.raise(v.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 C(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),C(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),C(e)}},T=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}};let E={brace:new T(`{`),j_oTag:new T(`<tag`),j_cTag:new T(`</tag`),j_expr:new T(`<tag>...</tag>`,!0)};E.template=new T("`",!0);var D=class{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop==null?null:t.binop,this.updateContext=null}};let O=new Map;function k(e,t={}){t.keyword=e;let n=F(e,t);return O.set(e,n),n}function A(e,t){return F(e,{beforeExpr:!0,binop:t})}let j=-1,M=[],N=[],ee=[],te=[],ne=[],P=[];function F(e,t={}){return++j,N.push(e),ee.push(t.binop??-1),te.push(t.beforeExpr??!1),ne.push(t.startsExpr??!1),P.push(t.prefix??!1),M.push(new D(e,t)),j}function I(e,t={}){return++j,O.set(e,j),N.push(e),ee.push(t.binop??-1),te.push(t.beforeExpr??!1),ne.push(t.startsExpr??!1),P.push(t.prefix??!1),M.push(new D(`name`,t)),j}let L={bracketL:F(`[`,{beforeExpr:!0,startsExpr:!0}),bracketHashL:F(`#[`,{beforeExpr:!0,startsExpr:!0}),bracketBarL:F(`[|`,{beforeExpr:!0,startsExpr:!0}),bracketR:F(`]`),bracketBarR:F(`|]`),braceL:F(`{`,{beforeExpr:!0,startsExpr:!0}),braceBarL:F(`{|`,{beforeExpr:!0,startsExpr:!0}),braceHashL:F(`#{`,{beforeExpr:!0,startsExpr:!0}),braceR:F(`}`),braceBarR:F(`|}`),parenL:F(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:F(`)`),comma:F(`,`,{beforeExpr:!0}),semi:F(`;`,{beforeExpr:!0}),colon:F(`:`,{beforeExpr:!0}),doubleColon:F(`::`,{beforeExpr:!0}),dot:F(`.`),question:F(`?`,{beforeExpr:!0}),questionDot:F(`?.`),arrow:F(`=>`,{beforeExpr:!0}),template:F(`template`),ellipsis:F(`...`,{beforeExpr:!0}),backQuote:F("`",{startsExpr:!0}),dollarBraceL:F("${",{beforeExpr:!0,startsExpr:!0}),templateTail:F("...`",{startsExpr:!0}),templateNonTail:F("...${",{beforeExpr:!0,startsExpr:!0}),at:F(`@`),hash:F(`#`,{startsExpr:!0}),interpreterDirective:F(`#!...`),eq:F(`=`,{beforeExpr:!0,isAssign:!0}),assign:F(`_=`,{beforeExpr:!0,isAssign:!0}),slashAssign:F(`_=`,{beforeExpr:!0,isAssign:!0}),xorAssign:F(`_=`,{beforeExpr:!0,isAssign:!0}),moduloAssign:F(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:F(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),bang:F(`!`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:F(`~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:F(`^^`,{startsExpr:!0}),doubleAt:F(`@@`,{startsExpr:!0}),pipeline:A(`|>`,0),nullishCoalescing:A(`??`,1),logicalOR:A(`||`,1),logicalAND:A(`&&`,2),bitwiseOR:A(`|`,3),bitwiseXOR:A(`^`,4),bitwiseAND:A(`&`,5),equality:A(`==/!=/===/!==`,6),lt:A(`</>/<=/>=`,7),gt:A(`</>/<=/>=`,7),relational:A(`</>/<=/>=`,7),bitShift:A(`<</>>/>>>`,8),bitShiftL:A(`<</>>/>>>`,8),bitShiftR:A(`<</>>/>>>`,8),plusMin:F(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:F(`%`,{binop:10,startsExpr:!0}),star:F(`*`,{binop:10}),slash:A(`/`,10),exponent:F(`**`,{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:k(`in`,{beforeExpr:!0,binop:7}),_instanceof:k(`instanceof`,{beforeExpr:!0,binop:7}),_break:k(`break`),_case:k(`case`,{beforeExpr:!0}),_catch:k(`catch`),_continue:k(`continue`),_debugger:k(`debugger`),_default:k(`default`,{beforeExpr:!0}),_else:k(`else`,{beforeExpr:!0}),_finally:k(`finally`),_function:k(`function`,{startsExpr:!0}),_if:k(`if`),_return:k(`return`,{beforeExpr:!0}),_switch:k(`switch`),_throw:k(`throw`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:k(`try`),_var:k(`var`),_const:k(`const`),_with:k(`with`),_new:k(`new`,{beforeExpr:!0,startsExpr:!0}),_this:k(`this`,{startsExpr:!0}),_super:k(`super`,{startsExpr:!0}),_class:k(`class`,{startsExpr:!0}),_extends:k(`extends`,{beforeExpr:!0}),_export:k(`export`),_import:k(`import`,{startsExpr:!0}),_null:k(`null`,{startsExpr:!0}),_true:k(`true`,{startsExpr:!0}),_false:k(`false`,{startsExpr:!0}),_typeof:k(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:k(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:k(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:k(`do`,{isLoop:!0,beforeExpr:!0}),_for:k(`for`,{isLoop:!0}),_while:k(`while`,{isLoop:!0}),_as:I(`as`,{startsExpr:!0}),_assert:I(`assert`,{startsExpr:!0}),_async:I(`async`,{startsExpr:!0}),_await:I(`await`,{startsExpr:!0}),_defer:I(`defer`,{startsExpr:!0}),_from:I(`from`,{startsExpr:!0}),_get:I(`get`,{startsExpr:!0}),_let:I(`let`,{startsExpr:!0}),_meta:I(`meta`,{startsExpr:!0}),_of:I(`of`,{startsExpr:!0}),_sent:I(`sent`,{startsExpr:!0}),_set:I(`set`,{startsExpr:!0}),_source:I(`source`,{startsExpr:!0}),_static:I(`static`,{startsExpr:!0}),_using:I(`using`,{startsExpr:!0}),_yield:I(`yield`,{startsExpr:!0}),_asserts:I(`asserts`,{startsExpr:!0}),_checks:I(`checks`,{startsExpr:!0}),_exports:I(`exports`,{startsExpr:!0}),_global:I(`global`,{startsExpr:!0}),_implements:I(`implements`,{startsExpr:!0}),_intrinsic:I(`intrinsic`,{startsExpr:!0}),_infer:I(`infer`,{startsExpr:!0}),_is:I(`is`,{startsExpr:!0}),_mixins:I(`mixins`,{startsExpr:!0}),_proto:I(`proto`,{startsExpr:!0}),_require:I(`require`,{startsExpr:!0}),_satisfies:I(`satisfies`,{startsExpr:!0}),_keyof:I(`keyof`,{startsExpr:!0}),_readonly:I(`readonly`,{startsExpr:!0}),_unique:I(`unique`,{startsExpr:!0}),_abstract:I(`abstract`,{startsExpr:!0}),_declare:I(`declare`,{startsExpr:!0}),_enum:I(`enum`,{startsExpr:!0}),_module:I(`module`,{startsExpr:!0}),_namespace:I(`namespace`,{startsExpr:!0}),_interface:I(`interface`,{startsExpr:!0}),_type:I(`type`,{startsExpr:!0}),_opaque:I(`opaque`,{startsExpr:!0}),name:F(`name`,{startsExpr:!0}),placeholder:F(`%%`,{startsExpr:!0}),string:F(`string`,{startsExpr:!0}),num:F(`num`,{startsExpr:!0}),bigint:F(`bigint`,{startsExpr:!0}),decimal:F(`decimal`,{startsExpr:!0}),regexp:F(`regexp`,{startsExpr:!0}),privateName:F(`#name`,{startsExpr:!0}),eof:F(`eof`),jsxName:F(`jsxName`),jsxText:F(`jsxText`,{beforeExpr:!0}),jsxTagStart:F(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:F(`jsxTagEnd`)};function R(e){return e>=93&&e<=133}function re(e){return e<=92}function z(e){return e>=58&&e<=133}function B(e){return e>=58&&e<=137}function V(e){return te[e]}function H(e){return ne[e]}function ie(e){return e>=29&&e<=33}function ae(e){return e>=129&&e<=131}function oe(e){return e>=90&&e<=92}function se(e){return e>=58&&e<=92}function ce(e){return e>=39&&e<=59}function U(e){return e===34}function le(e){return P[e]}function ue(e){return e>=121&&e<=123}function de(e){return e>=124&&e<=130}function fe(e){return N[e]}function pe(e){return ee[e]}function me(e){return e===57}function W(e){return e>=24&&e<=25}function G(e){return M[e]}M[8].updateContext=e=>{e.pop()},M[5].updateContext=M[7].updateContext=M[23].updateContext=e=>{e.push(E.brace)},M[22].updateContext=e=>{e[e.length-1]===E.template?e.pop():e.push(E.template)},M[143].updateContext=e=>{e.push(E.j_expr,E.j_oTag)};let K=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,he=`·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,ge=RegExp(`[`+K+`]`),_e=RegExp(`[`+K+he+`]`);K=he=null;let ve=[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],ye=[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 be(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 xe(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&ge.test(String.fromCharCode(e)):be(e,ve)}function Se(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&&_e.test(String.fromCharCode(e)):be(e,ve)||be(e,ye)}let Ce={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`]},we=new Set(Ce.keyword),Te=new Set(Ce.strict),Ee=new Set(Ce.strictBind);function De(e,t){return t&&e===`await`||e===`enum`}function Oe(e,t){return De(e,t)||Te.has(e)}function ke(e){return Ee.has(e)}function Ae(e,t){return Oe(e,t)||ke(e)}function je(e){return we.has(e)}function Me(e,t,n){return e===64&&t===64&&xe(n)}let Ne=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 Pe(e){return Ne.has(e)}var Fe=class{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName=``,this.flags=e}},Ie=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&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 Fe(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(v.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}}},Le=class extends Fe{constructor(...e){super(...e),this.declareFunctions=new Set}},Re=class extends Ie{createScope(e){return new Le(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 ze=new Set([`_`,`any`,`bool`,`boolean`,`empty`,`extends`,`false`,`interface`,`mixed`,`null`,`number`,`static`,`string`,`true`,`typeof`,`void`]),q=_`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 Be(e){return e.type===`DeclareExportAllDeclaration`||e.type===`DeclareExportDeclaration`&&(!e.declaration||e.declaration.type!==`TypeAlias`&&e.declaration.type!==`InterfaceDeclaration`)}function J(e){return e.importKind===`type`||e.importKind===`typeof`}let Ve={const:`declare export var`,let:`declare export var`,type:`export type`,interface:`export interface`};function He(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 Ue=/\*?\s*@((?:no)?flow)\b/;var We=e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Re}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=Ue.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(q.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(q.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,`DeclareVariable`)}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),n=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(q.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),n.push(super.parseImport(e))):(this.expectContextual(125,q.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=>{Be(e)?(r===`CommonJS`&&this.raise(q.AmbiguousDeclareModuleKind,e),r=`ES`):e.type===`DeclareModuleExports`&&(i&&this.raise(q.DuplicateDeclareModuleExports,e),r===`ES`&&this.raise(q.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(q.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:Ve[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(q.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,n){ze.has(e)&&this.raise(n?q.AssignReservedType:q.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,`TypeAlias`)}flowParseOpaqueType(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,`OpaqueType`)}flowParseTypeParameter(e=!1){let t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return n.name=i.name,n.variance=r,n.bound=i.typeAnnotation,this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(q.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()!==E.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()===E.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))&&B(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(q.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(q.InexactInsideExact,this.state.lastTokStartLoc):this.raise(q.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(q.InexactVariance,r),null):(a||this.raise(q.UnexpectedSpreadType,this.state.lastTokStartLoc),n!=null&&this.unexpected(n),r&&this.raise(q.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(q.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?1:0);e.value.this&&this.raise(e.kind===`get`?q.GetterMayNotHaveThisParam:q.SetterMayNotHaveThisParam,e.value.this),n!==t&&this.raise(e.kind===`get`?v.BadGetterArity:v.BadSetterArity,e),e.kind===`set`&&e.value.rest&&this.raise(v.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(q.ThisParamMustBeFirst,i),t=this.parseIdentifier(o),this.eat(17)&&(n=!0,o&&this.raise(q.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(R(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(q.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(se(this.state.type)){let e=fe(this.state.type);return this.next(),super.createIdentifier(t,e)}else if(R(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(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value===`+`?e.kind=`plus`:e.kind=`minus`,this.next(),this.finishNode(e,`Variance`)):e}parseFunctionBody(e,t,n=!1){if(t){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,n));return}super.parseFunctionBody(e,!1,n)}parseFunctionBodyAndFinish(e,t,n=!1){if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,`TypeAnnotation`):null}return super.parseFunctionBodyAndFinish(e,t,n)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(z(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)||R(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(R(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||ae(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||ae(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(q.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,[]]):He(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(q.DeclareClassElement,r):t.value&&this.raise(q.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(v.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):Me(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(q.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(q.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(q.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(q.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(q.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(q.PatternIsOptional,e),this.isThisParam(e)&&this.raise(q.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(q.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(q.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(q.TypeBeforeInitializer,n.typeAnnotation),n}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(q.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,n){t.local=J(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&&!z(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&&z(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(v.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=J(e);return n&&c&&this.raise(q.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===E.j_oTag||a===E.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(q.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(q.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(q.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(q.UnterminatedFlowComment,this.state.curPosition()),n}skipBlockComment(){if(this.hasPlugin(`flowComments`)&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(q.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(v.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:n}){this.raise(q.EnumBooleanMemberNotInitialized,e,{memberName:n,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?t.explicitType===`symbol`?q.EnumInvalidMemberInitializerSymbolType:q.EnumInvalidMemberInitializerPrimaryType:q.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(q.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(q.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(q.EnumInvalidMemberName,o,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),n.has(c)&&this.raise(q.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(!R(this.state.type))throw this.raise(q.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:t}=this.state;return this.next(),t!==`boolean`&&t!==`number`&&t!==`string`&&t!==`symbol`&&this.raise(q.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(q.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 Y={__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:`♦`},Ge=RegExp(`\\r\\n|[\\r\\n\\u2028\\u2029]`,`g`);function Ke(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function qe(e,t,n){for(let r=t;r<n;r++)if(Ke(e.charCodeAt(r)))return!0;return!1}let Je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ye=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Xe(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 X=_`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 Ze(e){return e?e.type===`JSXOpeningFragment`||e.type===`JSXClosingFragment`:!1}function Z(e){if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return Z(e.object)+`.`+Z(e.property);throw Error(`Node had unexpected type: `+e.type)}var Qe=e=>class extends e{jsxReadToken(){let e=``,t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(X.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;case 62:case 125:default:Ke(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?`
9
- `:`\r
10
- `):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(v.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):Ke(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=Y[this.input.slice(e,this.state.pos)];if(++this.state.pos,t)return t}}return this.state.pos=e,`&`}jsxReadWord(){let e,t=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(Se(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:se(this.state.type)?e.name=fe(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(E.brace),this.next(),e=this.jsxParseExpressionContainer(e,E.j_oTag),e.expression.type===`JSXEmptyExpression`&&this.raise(X.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(X.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(E.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(E.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(E.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(E.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,E.j_expr));break}default:this.unexpected()}Ze(r)&&!Ze(i)&&i!==null?this.raise(X.MissingClosingTagFragment,i):(!Ze(r)&&Ze(i)||!Ze(r)&&!Ze(i)&&Z(i.name)!==Z(r.name))&&this.raise(X.MissingClosingTagElement,i,{openingTagName:Z(r.name)})}if(Ze(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=n,this.match(47))throw this.raise(X.UnwrappedAdjacentJSXElements,this.state.startLoc);return Ze(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===E.j_expr){this.jsxReadToken();return}if(t===E.j_oTag||t===E.j_cTag){if(xe(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&t===E.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,E.j_cTag),this.state.canStartJSXElement=!1;else if(n===143)t.push(E.j_oTag);else if(n===144){let n=t[t.length-1];n===E.j_oTag&&e===56||n===E.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===E.j_expr):(this.setContext(E.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=V(n)}},$e=class extends Fe{constructor(...e){super(...e),this.tsNames=new Map}},et=class extends Ie{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new $e(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(v.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)}},tt=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function nt(e,t){return(e?2:0)|(t?1:0)}var rt=class{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 it(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function at(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function ot(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function st(e,t,n){let r=null,i=t.length;for(;r===null&&i>0;)r=t[--i];r===null||r.start>n.start?ot(e,n.comments):it(r,n.comments)}var ct=class extends rt{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&&it(e.leadingNode,t),e.trailingNode!==null&&at(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`:case`RecordExpression`:st(n,n.properties,e);break;case`CallExpression`:case`OptionalCallExpression`:st(n,n.arguments,e);break;case`ImportExpression`:st(n,[n.source,n.options??null],e);break;case`FunctionDeclaration`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`ObjectMethod`:case`ClassMethod`:case`ClassPrivateMethod`:st(n,n.params,e);break;case`ArrayExpression`:case`ArrayPattern`:case`TupleExpression`:st(n,n.elements,e);break;case`ExportNamedDeclaration`:case`ImportDeclaration`:st(n,n.specifiers,e);break;case`TSEnumDeclaration`:st(n,n.members,e);break;case`TSEnumBody`:st(n,n.members,e);break;default:ot(n,t)}else ot(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}}},lt=class e{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=[E.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:t,startIndex:r,startLine:i,startColumn:a}){this.strict=e===!1?!1:e===!0?!0:t===`module`,this.startIndex=r,this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new n(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 n(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let t=new e;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},ut=function(e){return e>=48&&e<=57};let dt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ft={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 pt(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(mt(e,p,t,n)){l+=t.slice(d,n);break}if(p===92){l+=t.slice(d,n);let o=ht(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)+`
11
- `,++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 mt(e,t,n,r){return e===`template`?t===96||t===36&&n.charCodeAt(r+1)===123:t===(e===`double`?34:39)}function ht(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(`
12
- `);case 114:return s(`\r`);case 120:{let i;return{code:i,pos:t}=gt(e,t,n,r,2,!1,o,a),s(i===null?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=vt(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 gt(e,t,n,r,i,a,o,s){let c=t,l;return{n:l,pos:t}=_t(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 _t(e,t,n,r,i,a,o,s,c,l){let u=t,d=i===16?dt.hex:dt.decBinOct,f=i===16?ft.hex:i===10?ft.dec:i===8?ft.oct:ft.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(Number.isNaN(a)||!f(a)||d.has(i)||d.has(a)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,n,r)}}else{if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,n,r)}++t;continue}if(u=a>=97?a-97+10:a>=65?a-65+10:ut(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 vt(e,t,n,r,i,a){let o=e.charCodeAt(t),s;if(o===123){if(++t,{code:s,pos:t}=gt(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}=gt(e,t,n,r,4,!1,i,a));return{code:s,pos:t}}function yt(e,t,r){return new n(r,e-t,e)}let bt=new Set([103,109,115,105,121,117,100,118]);var xt=class{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 r(e.startLoc,e.endLoc)}},St=class extends ct{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,n,r)=>this.optionFlags&2048?(this.raise(v.InvalidDigit,yt(e,t,n),{radix:r}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(v.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(v.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(v.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(v.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,n)=>{this.recordStrictModeErrors(v.StrictNumericEscape,yt(e,t,n))},unterminated:(e,t,n)=>{throw this.raise(v.UnterminatedString,yt(e-1,t,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(v.StrictNumericEscape),unterminated:(e,t,n)=>{throw this.raise(v.UnterminatedTemplate,yt(e,t,n))}}),this.state=new lt,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 xt(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 Je.lastIndex=e,Je.test(this.input)?Je.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 Ye.lastIndex=e,Ye.test(this.input)?Ye.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 n=this.state.pos,i=this.input.indexOf(e,n+2);if(i===-1)throw this.raise(v.UnterminatedComment,this.state.curPosition());for(this.state.pos=i+e.length,Ge.lastIndex=n+2;Ge.test(this.input)&&Ge.lastIndex<=i;)++this.state.curLine,this.state.lineStart=Ge.lastIndex;if(this.isLookahead)return;let a={type:`CommentBlock`,value:this.input.slice(n+2,i),start:this.sourceToOffsetPos(n),end:this.sourceToOffsetPos(i+e.length),loc:new r(t,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(a),a}skipLineComment(e){let t=this.state.pos,n;this.isLookahead||(n=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Ke(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 r(n,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(Xe(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(v.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?v.RecordExpressionHashIncorrectStartSyntaxType:v.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else xe(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;!Ke(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(v.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(v.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(v.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(v.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(xe(e)){this.readWord(e);return}}throw this.raise(v.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,r,{pos:a}=this.state;for(;;++a){if(a>=this.length)throw this.raise(v.UnterminatedRegExp,i(e,1));let t=this.input.charCodeAt(a);if(Ke(t))throw this.raise(v.UnterminatedRegExp,i(e,1));if(n)n=!1;else{if(t===91)r=!0;else if(t===93&&r)r=!1;else if(t===47&&!r)break;n=t===92}}let o=this.input.slice(t,a);++a;let s=``,c=()=>i(e,a+2-t);for(;a<this.length;){let e=this.codePointAtPos(a),t=String.fromCharCode(e);if(bt.has(e))e===118?s.includes(`u`)&&this.raise(v.IncompatibleRegExpUVFlags,c()):e===117&&s.includes(`v`)&&this.raise(v.IncompatibleRegExpUVFlags,c()),s.includes(t)&&this.raise(v.DuplicateRegExpFlags,c());else if(Se(e)||e===92)this.raise(v.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}=_t(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(),r=!1;this.state.pos+=2;let a=this.readInt(e);a??this.raise(v.InvalidDigit,i(n,2),{radix:e});let o=this.input.charCodeAt(this.state.pos);if(o===110)++this.state.pos,r=!0;else if(o===109)throw this.raise(v.InvalidDecimal,n);if(xe(this.codePointAtPos(this.state.pos)))throw this.raise(v.NumberIdentifier,this.state.curPosition());if(r){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(),r=!1,a=!1,o=!1,s=!1;!e&&this.readInt(10)===null&&this.raise(v.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(v.StrictOctalLiteral,n),!this.state.strict){let t=e.indexOf(`_`);t>0&&this.raise(v.ZeroDigitNumericSeparator,i(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),r=!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(v.InvalidOrMissingExponent,n),r=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),l===110&&((r||c)&&this.raise(v.InvalidBigIntLiteral,n),++this.state.pos,a=!0),l===109){this.expectPlugin(`decimal`,this.state.curPosition()),(o||c)&&this.raise(v.InvalidDecimal,n),++this.state.pos;var u=!0}if(xe(this.codePointAtPos(this.state.pos)))throw this.raise(v.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}=vt(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}=pt(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:t,firstInvalidLoc:r,pos:i,curLine:a,lineStart:o}=pt(`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 n(r.curLine,r.pos-r.lineStart,this.sourceToOffsetPos(r.pos))),this.input.codePointAt(i)===96?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}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(Se(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?xe:Se;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(v.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;let a=this.readCodePoint(!0);a!==null&&(i(a)||this.raise(v.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=O.get(t);n===void 0?this.finishToken(132,t):this.finishToken(n,fe(n))}checkKeywordEscapes(){let{type:e}=this.state;se(e)&&this.state.containsEsc&&this.raise(v.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:fe(e)})}raise(e,t,r={}){let i=e(t instanceof n?t:t.loc.start,r);if(!(this.optionFlags&2048))throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t,r={}){let i=t instanceof n?t:t.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,t,r)}updateContext(e){}unexpected(e,t){throw this.raise(v.UnexpectedToken,e??this.state.startLoc,{expected:t?fe(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(v.MissingPlugin,t??this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(v.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,n,r)=>{this.raise(e,yt(t,n,r))}}},Ct=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},wt=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Ct)}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(v.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(v.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(v.InvalidPrivateFieldResolution,t,{identifierName:e})}},Tt=class{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Et=class extends Tt{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)}},Dt=class{constructor(e){this.parser=void 0,this.stack=[new Tt],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(v.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 Ot(){return new Tt(3)}function kt(){return new Et(1)}function At(){return new Et(2)}function jt(){return new Tt}var Mt=class extends St{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!(Se(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 qe(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return qe(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(v.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(v.InvalidCoverInitializedName,n),r!=null&&this.raise(v.DuplicateProto,r),i!=null&&this.raise(v.UnexpectedPrivateField,i),a!=null&&this.unexpected(a),o!=null&&this.raise(v.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return B(this.state.type)}isPrivateName(e){return e.type===`PrivateName`}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type===`MemberExpression`||e.type===`OptionalMemberExpression`)&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type===`ObjectProperty`}isObjectMethod(e){return e.type===`ObjectMethod`}initializeScopes(e=this.options.sourceType===`module`){let t=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=e;let i=this.scope;this.scope=new(this.getScopeHandler())(this,e);let a=this.prodParam;this.prodParam=new tt;let o=this.classScope;this.classScope=new wt(this);let s=this.expressionScope;return this.expressionScope=new Dt(this),()=>{this.state.labels=t,this.exportedIdentifiers=n,this.inModule=r,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=s}}enterInitialScopes(){let e=0;(this.inModule||this.optionFlags&1)&&(e|=2),this.optionFlags&32&&(e|=1);let t=!this.inModule&&this.options.sourceType===`commonjs`;(t||this.optionFlags&2)&&(e|=4),this.prodParam.enter(e);let n=t?514:1;this.optionFlags&4&&(n|=512),this.scope.enter(n)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;t!==null&&this.expectPlugin(`destructuringPrivate`,t)}},Nt=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},Pt=class{constructor(e,t,n){this.type=``,this.start=t,this.end=0,this.loc=new r(n),e?.optionFlags&128&&(this.range=[t,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}};let Ft=Pt.prototype;Ft.__clone=function(){let e=new Pt(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};var It=class extends Mt{startNode(){let e=this.state.startLoc;return new Pt(this,e.index,e)}startNodeAt(e){return new Pt(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(Ft);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(Ft);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 Lt=e=>e.type===`ParenthesizedExpression`?Lt(e.expression):e;var Rt=class extends It{toAssignable(e,t=!1){var n;let r;switch((e.type===`ParenthesizedExpression`||(n=e.extra)!=null&&n.parenthesized)&&(r=Lt(e),t?r.type===`Identifier`?this.expressionScope.recordArrowParameterBindingError(v.InvalidParenthesizedAssignment,e):r.type!==`CallExpression`&&r.type!==`MemberExpression`&&!this.isOptionalMemberExpression(r)&&this.raise(v.InvalidParenthesizedAssignment,e):this.raise(v.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(v.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(v.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,`AssignmentPattern`),delete e.operator,e.left.type===`VoidPattern`&&this.raise(v.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`?v.PatternHasAccessor:v.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(v.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(v.RestTrailingComma,a):t&&this.raise(v.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(v.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(v.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(v.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(v.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(v.InvalidLhsOptionalChaining,e,{ancestor:t})),n!==64&&this.raise(v.InvalidPropertyBindingPattern,e);return}if(c===`Identifier`){this.checkIdentifier(e,n,i);let{name:t}=e;r&&(r.has(t)?this.raise(v.ParamDupe,e):r.add(t));return}else c===`VoidPattern`&&t.type===`CatchClause`&&this.raise(v.VoidPatternCatchClauseParam,e);let u=Lt(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?v.InvalidLhs:v.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?Ae(e.name,this.inModule):ke(e.name))&&(t===64?this.raise(v.StrictEvalArguments,e,{referenceName:e.name}):this.raise(v.StrictEvalArgumentsBinding,e,{bindingName:e.name})),t&8192&&e.name===`let`&&this.raise(v.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(v.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?v.RestTrailingComma:v.ElementAfterRest,this.state.startLoc),!0):!1}};let zt=/in(?:stanceof)?|as|satisfies/y;function Bt(e){if(e==null)throw Error(`Unexpected ${e} value.`);return e}function Vt(e){if(!e)throw Error(`Assert fail`)}let Q=_`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 Ht(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 Ut(e){return e===`private`||e===`public`||e===`protected`}function Wt(e){return e===`in`||e===`out`}var Gt=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:Q.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:[`const`],disallowedModifiers:[`in`,`out`],errorTemplate:Q.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`,`const`],disallowedModifiers:[`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:Q.InvalidModifierOnTypeParameter})}getScopeHandler(){return et}tsIsIdentifier(){return R(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(!R(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=Q.InvalidModifierOnTypeMember},i){let a=(e,t,n,r)=>{t===n&&i[r]&&this.raise(Q.InvalidModifiersOrder,e,{orderedModifiers:[n,r]})},o=(e,t,n,r)=>{(i[n]&&t===r||i[r]&&t===n)&&this.raise(Q.IncompatibleModifiers,e,{modifiers:[n,r]})};for(;;){let{startLoc:s}=this.state,c=this.tsParseModifier(e.concat(t??[]),n,i.static);if(!c)break;Ut(c)?i.accessibility?this.raise(Q.DuplicateAccessibilityModifier,s,{modifier:c}):(a(s,c,c,`override`),a(s,c,c,`static`),a(s,c,c,`readonly`),i.accessibility=c):Wt(c)?(i[c]&&this.raise(Q.DuplicateModifier,s,{modifier:c}),i[c]=!0,a(s,c,`in`,`out`)):(hasOwnProperty.call(i,c)?this.raise(Q.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 Bt(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(Q.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;R(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(Q.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(Q.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(),R(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(Q.ReadonlyForMethodSignature,e);let n=e;n.kind&&this.match(47)&&this.raise(Q.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(v.BadGetterArity,this.state.curPosition()),this.isThisParam(n[r][0])&&this.raise(Q.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind===`set`){if(n[r].length!==1)this.raise(v.BadSetterArity,this.state.curPosition());else{let e=n[r][0];this.isThisParam(e)&&this.raise(Q.AccessorCannotDeclareThisParameter,this.state.curPosition()),e.type===`Identifier`&&e.optional&&this.raise(Q.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),e.type===`RestElement`&&this.raise(Q.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n[i]&&this.raise(Q.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();t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,`TSTypeParameter`)}return 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(Q.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=z(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(Q.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAt(n),e.optional=a,this.raise(Q.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(R(e)||e===88||e===84){let t=e===88?`TSVoidKeyword`:e===84?`TSNullKeyword`:Ht(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(Q.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 ue(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(R(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(),!R(this.state.type)&&!this.match(78)?!1:(e&&this.raise(v.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(){Vt(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(Q.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(Q.EmptyHeritageClauseType,t,{token:e}),n}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),R(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Q.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()!==E.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(Q.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(Q.InvalidModifierOnUsingDeclaration,this.state.startLoc,`declare`),e.declare=!0,this.parseVarStatement(e,`using`,!0);break;case 96:if(this.isAwaitUsing())return this.raise(Q.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(R(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)||R(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case 127:if(this.tsCheckLineTerminator(n)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(R(this.state.type))return e.kind=`module`,this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(n)&&R(this.state.type))return e.kind=`namespace`,this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(n)&&R(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(Q.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===E.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,`TSTypeParameterInstantiation`)}tsIsDeclarationStart(){return de(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(Q.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(Q.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(Q.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(Q.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(Q.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(W(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&&H(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(Q.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(pe(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(v.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(Q.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(R(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(Q.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(Q.UsingDeclarationInAmbientContext,e,t),i;for(let{id:e,init:n}of i.declarations)n&&(t===`var`||t===`let`||e.typeAnnotation?this.raise(Q.InitializerNotAllowedInAmbientContext,n):qt(n,this.hasPlugin(`estree`))||this.raise(Q.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=>Ut(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:Q.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(Q.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(Q.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(Q.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(Q.IndexSignatureHasDeclare,t),t.override&&this.raise(Q.IndexSignatureHasOverride,t);return}!this.state.inAbstractClass&&t.abstract&&this.raise(Q.NonAbstractClassHasAbstractMethod,t),t.override&&(n.hadSuperClass||this.raise(Q.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,n,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Q.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(Q.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(Q.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let r=R(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(Q.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:t}=e;this.raise(Q.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(Q.PrivateElementHasAbstract,e),e.accessibility&&this.raise(Q.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Q.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,n,r,i,a){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(Q.ConstructorHasTypeParameters,o);let{declare:s=!1,kind:c}=t;s&&(c===`get`||c===`set`)&&this.raise(Q.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){super.parseClassSuper(e),e.superClass&&(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===E.j_oTag||r===E.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&&(Vt(!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(Q.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(Q.UnexpectedTypeCastInParameter,e):this.raise(Q.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(Q.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(Q.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(Q.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();z(this.state.type)?(s=!0,a=e,o=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(o=n,c=!1)}else z(this.state.type)?(c=!1,o=t?this.parseIdentifier():this.parseModuleExportName()):(s=!0,a=e)}else z(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?Q.TypeModifierIsUsedInTypeImports:Q.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(xe(e)){if(zt.lastIndex=t,zt.test(this.input)){let e=this.codePointAtPos(zt.lastIndex);if(!Se(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 Kt(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:Xt(e.object)}function qt(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!!(Jt(e,t)||Yt(e,t)||r===`TemplateLiteral`&&e.expressions.length===0||Kt(e))}function Jt(e,t){return t?e.type===`Literal`&&(typeof e.value==`number`||`bigint`in e):e.type===`NumericLiteral`||e.type===`BigIntLiteral`}function Yt(e,t){if(e.type===`UnaryExpression`){let{operator:n,argument:r}=e;if(n===`-`&&Jt(r,t))return!0}return!1}function Xt(e){return e.type===`Identifier`?!0:e.type!==`MemberExpression`||e.computed?!1:Xt(e.object)}let $=_`placeholders`({ClassNameIsRequired:`A class name is required.`,UnexpectedSpace:`Unexpected space in placeholder.`});var Zt=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&&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($.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(fe(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($.UnexpectedSpace,this.state.lastTokEndLoc)}},Qt=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),R(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 $t=[`minimal`,`fsharp`,`hack`,`smart`],en=[`^^`,`@@`,`^`,`%`,`#`];function tn(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(!$t.includes(t)){let e=$t.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(!en.includes(t)){let e=en.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 nn={estree:w,jsx:Qe,flow:We,typescript:Gt,v8intrinsic:Qt,placeholders:Zt},rn=Object.keys(nn);var an=class extends Rt{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(v.RecordNoProto,i),!0):(n&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=i.loc.start):this.raise(v.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(v.ParseExpressionEmptyInput,this.state.startLoc);let e=this.parseExpression();if(!this.match(140))throw this.raise(v.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 Nt,i=!0);let{type:a}=this.state;(a===10||R(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,n)),ie(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`)?H(e):H(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(v.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>=pe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(v.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let r=this.state.type;if(ce(r)&&(this.prodParam.hasIn||!this.match(58))){let i=pe(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=pe(42)),this.next(),r===39&&this.hasPlugin([`pipelineOperator`,{proposal:`minimal`}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(v.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(v.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(v.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,me(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,n=this.parseMaybeAssign();return f.has(n.type)&&!((e=n.extra)!=null&&e.parenthesized)&&this.raise(v.PipeUnparenthesizedBody,t,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(v.PipeTopicUnused,t),n}checkExponentialAfterUnary(e){this.match(57)&&this.raise(v.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(le(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(v.StrictDelete,a):this.hasPropertyAsPrivateName(e)&&this.raise(v.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`)?H(e):H(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(v.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(;U(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(W(i))return this.parseTaggedTemplateExpression(e,t,r);let a=!1;if(i===18){if(n&&(this.raise(v.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(v.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(At()),a=new Nt),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(v.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(v.ImportCallArity,e);else for(let t of e.arguments)t.type===`SpreadElement`&&this.raise(v.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&&ot(e,t.innerComments),t.callee.trailingComments&&ot(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(v.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(v.UnsupportedBind,e)}case 139:return this.raise(v.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 xe(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(R(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:e}=this.state;if(e===68)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(R(e))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(e===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=i(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(v.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,`TopicReference`)):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(v.PrimaryTopicNotAllowed,t),this.registerTopicReference(),this.finishNode(e,`PipelinePrimaryTopicReference`));throw this.raise(v.PipeTopicUnconfiguredToken,t,{token:fe(r)})}testTopicReferenceConfiguration(e,t,n){switch(e){case`hack`:return this.hasPlugin([`pipelineOperator`,{topicToken:fe(n)}]);case`smart`:return n===27;default:throw this.raise(v.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(nt(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(v.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(v.SuperNotAllowed,e):this.scope.allowSuper||this.optionFlags&16||this.raise(v.UnexpectedSuper,e),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(v.UnsupportedSuper,e),this.finishNode(e,`Super`)}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(i(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(v.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(v.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(kt());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 Nt,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(v.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(v.ImportCallNotNewExpression,n)}parseTemplateElement(e){let{start:t,startLoc:n,end:r,value:a}=this.state,o=t+1,s=this.startNodeAt(i(n,1));a===null&&(e||this.raise(v.InvalidEscapeSequenceTemplate,i(this.state.firstInvalidTemplateEscapePos,1)));let c=this.match(24),l=c?-1:-2,u=r+l;s.value={raw:this.input.slice(o,u).replace(/\r\n?/g,`
13
- `),cooked:a===null?null:a.slice(1,l)},s.tail=c,this.next();let d=this.finishNode(s,`TemplateElement`);return this.resetEndLocation(d,i(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(v.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(v.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(v.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`?v.BadGetterArity:v.BadSetterArity,e),e.kind===`set`&&n[n.length-1]?.type===`RestElement`&&this.raise(v.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(v.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(z(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(v.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(nt(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=nt(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(jt()),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(v.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(v.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(v.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;z(r)?t=this.state.value:this.unexpected();let i=re(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)&&Pe(e)){if(n&&je(e)){this.raise(v.UnexpectedKeyword,t,{keyword:e});return}if((this.state.strict?r?Ae:Oe:De)(e,this.inModule)){this.raise(v.UnexpectedReservedWord,t,{reservedWord:e});return}else if(e===`yield`){if(this.prodParam.hasYield){this.raise(v.YieldBindingIdentifier,t);return}}else if(e===`await`){if(this.prodParam.hasAwait){this.raise(v.AwaitBindingIdentifier,t);return}if(this.scope.inStaticBlock){this.raise(v.AwaitBindingIdentifierInStaticBlock,t);return}this.expressionScope.recordAsyncArrowParametersError(t)}else if(e===`arguments`&&this.scope.inClassAndNotInNonArrowFunction){this.raise(v.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(v.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(v.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||W(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(v.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(v.ImportCallArity,e)}}return this.expect(11),this.finishNode(e,`ImportExpression`)}checkPipelineAtInfixOperator(e,t){this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])&&e.type===`SequenceExpression`&&this.raise(v.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(v.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(v.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 on={kind:1},sn={kind:2},cn=/[\uD800-\uDFFF]/u,ln=/in(?:stanceof)?/y;function un(e,t,n){for(let r=0;r<e.length;r++){let a=e[r],{type:o}=a;if(typeof o==`number`){if(o===139){let{loc:t,start:n,value:o,end:s}=a,c=n+1,l=i(t.start,1);e.splice(r,1,new xt({type:G(27),value:`#`,start:n,end:c,startLoc:t.start,endLoc:l}),new xt({type:G(132),value:o,start:c,end:s,startLoc:l,endLoc:t.end})),r++;continue}if(W(o)){let{loc:s,start:c,value:l,end:u}=a,d=c+1,f=i(s.start,1),p;p=t.charCodeAt(c-n)===96?new xt({type:G(22),value:"`",start:c,end:d,startLoc:s.start,endLoc:f}):new xt({type:G(8),value:`}`,start:c,end:d,startLoc:s.start,endLoc:f});let m,h,g,_;o===24?(h=u-1,g=i(s.end,-1),m=l===null?null:l.slice(1,-1),_=new xt({type:G(22),value:"`",start:h,end:u,startLoc:g,endLoc:s.end})):(h=u-2,g=i(s.end,-2),m=l===null?null:l.slice(1,-2),_=new xt({type:G(23),value:"${",start:h,end:u,startLoc:g,endLoc:s.end})),e.splice(r,1,p,new xt({type:G(20),value:m,start:d,end:h,startLoc:f,endLoc:g}),_),r+=2;continue}a.type=G(o)}}return e}var dn=class extends an{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=un(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(v.ModuleExportUndefined,t,{localName:e});this.addExtra(e,`topLevelAwait`,this.state.hasTopLevelAwait)}let r;return r=t===140?this.finishNode(e,`Program`):this.finishNodeAt(e,`Program`,i(this.state.startLoc,-1)),r}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(xe(e)){if(ln.lastIndex=t,ln.test(this.input)){let e=this.codePointAtPos(ln.lastIndex);if(!Se(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?v.StrictFunction:this.options.annexB?v.SloppyFunctionAnnexB:v.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(v.AwaitUsingNotInAsyncContext,r):this.raise(v.UnexpectedLexicalDeclaration,r):this.raise(v.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(v.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(v.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(v.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(v.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(v.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let s=this.state.value,c=this.parseExpression();return R(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(v.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(v.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(v.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(v.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(v.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(v.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(on),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(on);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(v.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(v.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 Nt,a=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(n&&this.raise(v.ForOfLet,a),t===null&&r&&a.type===`Identifier`&&this.raise(v.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(v.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(sn),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(v.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(v.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(v.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(on),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,`WhileStatement`)}parseWithStatement(e){return this.state.strict&&this.raise(v.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(v.LabelRedeclaration,n,{labelName:t});let i=oe(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(v.ForInOfLoopInitializer,t,{type:r?`ForInStatement`:`ForOfStatement`}),t.type===`AssignmentPattern`&&this.raise(v.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(v.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:`destructuring`}):(n===`const`||n===`using`||n===`await using`)&&!(this.match(58)||this.isContextual(102))&&this.raise(v.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(v.UsingDeclarationHasBindingPattern,n.loc.start):n.type===`VoidPattern`&&this.raise(v.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(v.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(nt(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||R(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(Ot()),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(v.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(v.DecoratorConstructor,e)}}),this.state.strict=t,this.next(),r.length)throw this.raise(v.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(v.ConstructorIsGenerator,i.key),this.pushClassMethod(e,i,!0,!1,!1,!1);return}let d=!this.state.containsEsc&&R(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(v.DuplicateConstructor,f),r&&this.hasPlugin(`typescript`)&&t.override&&this.raise(v.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(v.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(v.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(v.StaticPrototype,this.state.startLoc),t===139){n===`constructor`&&this.raise(v.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(v.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(v.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(v.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(jt()),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(R(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else if(n||!t)e.id=null;else throw this.raise(v.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(v.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(v.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(v.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(v.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(v.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(v.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(R(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||R(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(v.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(v.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(v.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(v.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(v.DuplicateDefaultExport,e):this.raise(v.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=cn.exec(e.value);return t&&this.raise(v.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(v.SourcePhaseImportRequiresDefault,t[0].loc.start):e.phase===`defer`?n!==`ImportNamespaceSpecifier`&&this.raise(v.DeferImportRequiresNamespace,t[0].loc.start):e.module&&(n!==`ImportDefaultSpecifier`&&this.raise(v.ImportReflectionNotBinding,t[0].loc.start),e.assertions?.length>0&&this.raise(v.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(v.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(z(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 R(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(v.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(v.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(v.ModuleAttributeDifferentFromType,n.key),t.has(n.key.name)&&this.raise(v.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),t.add(n.key.name),this.expect(14),!this.match(134))throw this.raise(v.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(v.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(z(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(v.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(v.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`}},fn=class extends dn{constructor(e,t,n){let r=b(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 Ie}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 pn(e,t){if(t?.sourceType===`unambiguous`){t=Object.assign({},t);try{t.sourceType=`module`;let n=_n(t,e),r=n.parse();if(n.sawUnambiguousESM)return r;if(n.ambiguousScriptDifferentAst)try{return t.sourceType=`script`,_n(t,e).parse()}catch{}else r.program.sourceType=`script`;return r}catch(n){try{return t.sourceType=`script`,_n(t,e).parse()}catch{}throw n}}else return _n(t,e).parse()}function mn(e,t){let n=_n(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function hn(e){let t={};for(let n of Object.keys(e))t[n]=G(e[n]);return t}let gn=hn(L);function _n(e,t){let n=fn,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||{})}tn(r),n=yn(r)}return new n(e,t,r)}let vn=new Map;function yn(e){let t=[];for(let n of rn)e.has(n)&&t.push(n);let n=t.join(`|`),r=vn.get(n);if(!r){r=fn;for(let e of t)r=nn[e](r);vn.set(n,r)}return r}e.parse=pn,e.parseExpression=mn,e.tokTypes=gn})),de=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n||=self,r(n.estreeWalker={}))})(e,(function(e){"use strict";class t{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))}}class n extends t{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}}class r extends t{constructor(e,t){super(),this.enter=e,this.leave=t}async 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,await 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`&&(await this.visit(n[r],e,t,r)||r--);else n!==null&&typeof n.type==`string`&&await this.visit(n,e,t,null)}if(this.leave){let i=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,await 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 i(e,{enter:t,leave:r}){return new n(t,r).visit(e,null)}async function a(e,{enter:t,leave:n}){return await new r(t,n).visit(e,null)}e.asyncWalk=a,e.walk=i,Object.defineProperty(e,`__esModule`,{value:!0})}))})),fe=o((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.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}})),pe=o((e=>{var t=fe(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),me=o((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})),W=o((e=>{var t=me(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),G=o((e=>{var t=me();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),K=o((e=>{var t=pe(),n=me(),r=W().ArraySet,i=G().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=n.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new a(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(t.source=e.source,r!=null&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var a=t;r!==null&&(a=n.relative(r,t)),i._sources.has(a)||i._sources.add(a);var o=e.sourceContentFor(t);o!=null&&i.setSourceContent(t,o)}),i},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(t,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:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==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=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.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)}},a.prototype._serializeMappings=function(){for(var e=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(e=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.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},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a})),he=o((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}})),ge=o((e=>{function t(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 n(e){let n=t.toString();return Function(`return ${n}`)()(e)}let r=new WeakMap;e.quickSort=function(e,t,i=0){let a=r.get(t);a===void 0&&(a=n(t),r.set(t,a)),a(e,t,i,e.length-1)}})),_e=o((e=>{var t=me(),n=he(),r=W().ArraySet,i=pe(),a=ge().quickSort;function o(e,n){var r=e;return typeof e==`string`&&(r=t.parseSourceMapInput(e)),r.sections==null?new s(r,n):new d(r,n)}o.fromSourceMap=function(e,t){return s.fromSourceMap(e,t)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,`_generatedMappings`,{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,`_originalMappings`,{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},o.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(e,n,r){var i=n||null,a=r||o.GENERATED_ORDER,s;switch(a){case o.GENERATED_ORDER:s=this._generatedMappings;break;case o.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}for(var c=this.sourceRoot,l=e.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=t.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)})}},o.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,`line`),i={source:t.getArg(e,`source`),originalLine:r,originalColumn:t.getArg(e,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},e.SourceMapConsumer=o;function s(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),o=t.getArg(i,`sources`),s=t.getArg(i,`names`,[]),c=t.getArg(i,`sourceRoot`,null),l=t.getArg(i,`sourcesContent`,null),u=t.getArg(i,`mappings`),d=t.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=t.normalize(c),o=o.map(String).map(t.normalize).map(function(e){return c&&t.isAbsolute(c)&&t.isAbsolute(e)?t.relative(c,e):e}),this._names=r.fromArray(s.map(String),!0),this._sources=r.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return t.computeSourceURL(c,e,n)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=n,this.file=d}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(e){var n=e;if(this.sourceRoot!=null&&(n=t.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]==e)return r;return-1},s.fromSourceMap=function(e,n){var i=Object.create(s.prototype),o=i._names=r.fromArray(e._names.toArray(),!0),l=i._sources=r.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(e){return t.computeSourceURL(i.sourceRoot,e,n)});for(var u=e._mappings.toArray().slice(),d=i.__generatedMappings=[],f=i.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new c;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=o.indexOf(h.name)),f.push(g)),d.push(g)}return a(i.__originalMappings,t.compareByOriginalPositions),i},s.prototype._version=3,Object.defineProperty(s.prototype,`sources`,{get:function(){return this._absoluteSources.slice()}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let l=t.compareByGeneratedPositionsDeflatedNoLine;function u(e,t){let n=e.length,r=e.length-t;if(!(r<=1))if(r==2){let n=e[t],r=e[t+1];l(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(l(t,r)<=0)break;e[n-1]=r,e[n]=t}else a(e,l,t)}s.prototype._parseMappings=function(e,n){var r=1,o=0,s=0,l=0,d=0,f=0,p=e.length,m=0,h={},g=[],_=[],v,y,b,x;let S=0;for(;m<p;)if(e.charAt(m)===`;`)r++,m++,o=0,u(_,S),S=_.length;else if(e.charAt(m)===`,`)m++;else{for(v=new c,v.generatedLine=r,b=m;b<p&&!this._charIsMappingSeparator(e,b);b++);for(e.slice(m,b),y=[];m<b;)i.decode(e,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=s+y[2],s=v.originalLine,v.originalLine+=1,v.originalColumn=l+y[3],l=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)}}u(_,S),this.__generatedMappings=_;for(var C=0;C<g.length;C++)g[C]!=null&&a(g[C],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)},s.prototype._findMapping=function(e,t,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 n.search(e,t,a,o)},s.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}},s.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,t.compareByGeneratedPositionsDeflated,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=t.getArg(i,`source`,null);a!==null&&(a=this._sources.at(a),a=t.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=t.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:a,line:t.getArg(i,`originalLine`,null),column:t.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},s.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=t.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=t.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.`)},s.prototype.generatedPositionFor=function(e){var n=t.getArg(e,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:t.getArg(e,`line`),originalColumn:t.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:t.getArg(a,`generatedLine`,null),column:t.getArg(a,`generatedColumn`,null),lastColumn:t.getArg(a,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s;function d(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),s=t.getArg(i,`sections`);if(a!=this._version)throw Error(`Unsupported version: `+a);this._sources=new r,this._names=new r;var c={line:-1,column:0};this._sections=s.map(function(e){if(e.url)throw Error(`Support for url field in sections not implemented.`);var r=t.getArg(e,`offset`),i=t.getArg(r,`line`),a=t.getArg(r,`column`);if(i<c.line||i===c.line&&a<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new o(t.getArg(e,`map`),n)}})}d.prototype=Object.create(o.prototype),d.prototype.constructor=o,d.prototype._version=3,Object.defineProperty(d.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}}),d.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},i=n.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:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},d.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.`)},d.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(t.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);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}},d.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);l!==null&&(l=t.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=d})),ve=o((e=>{var t=K().SourceMapGenerator,n=me(),r=/(\r?\n)/,i=10,a=`$$$isSourceNode$$$`;function o(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[a]=!0,r!=null&&this.add(r)}o.fromStringWithSourceMap=function(e,t,i){var a=new o,s=e.split(r),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return t.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;)a.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;a.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()),a.add(s.splice(c).join(``))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);r!=null&&(i!=null&&(e=n.join(i,e)),a.setSourceContent(e,r))}),a;function p(e,t){if(e===null||e.source===void 0)a.add(t);else{var r=i?n.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[a]||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},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[a]||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},o.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[a]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.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},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[n.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(n.fromSetString(i[t]),this.sourceContents[i[t]])},o.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(e){var n={code:``,line:1,column:0},r=new t(e),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)&&r.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&&=(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===i?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&r.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){r.setSourceContent(e,t)}),{code:n.code,map:r}},e.SourceNode=o})),ye=o((e=>{e.SourceMapGenerator=K().SourceMapGenerator,e.SourceMapConsumer=_e().SourceMapConsumer,e.SourceNode=ve().SourceNode})),be=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=ie(),n=le(),r=ue(),i=de(),a=ye();let o=Symbol(``),s=Symbol(``),c=Symbol(``),l=Symbol(``),u=Symbol(``),d=Symbol(``),f=Symbol(``),p=Symbol(``),m=Symbol(``),h=Symbol(``),g=Symbol(``),_=Symbol(``),v=Symbol(``),y=Symbol(``),b=Symbol(``),x=Symbol(``),S=Symbol(``),C=Symbol(``),w=Symbol(``),T=Symbol(``),E=Symbol(``),D=Symbol(``),O=Symbol(``),k=Symbol(``),A=Symbol(``),j=Symbol(``),M=Symbol(``),N=Symbol(``),ee=Symbol(``),te=Symbol(``),ne=Symbol(``),P=Symbol(``),F=Symbol(``),I=Symbol(``),L=Symbol(``),R=Symbol(``),re=Symbol(``),z=Symbol(``),B=Symbol(``),V={[o]:`Fragment`,[s]:`Teleport`,[c]:`Suspense`,[l]:`KeepAlive`,[u]:`BaseTransition`,[d]:`openBlock`,[f]:`createBlock`,[p]:`createElementBlock`,[m]:`createVNode`,[h]:`createElementVNode`,[g]:`createCommentVNode`,[_]:`createTextVNode`,[v]:`createStaticVNode`,[y]:`resolveComponent`,[b]:`resolveDynamicComponent`,[x]:`resolveDirective`,[S]:`resolveFilter`,[C]:`withDirectives`,[w]:`renderList`,[T]:`renderSlot`,[E]:`createSlots`,[D]:`toDisplayString`,[O]:`mergeProps`,[k]:`normalizeClass`,[A]:`normalizeStyle`,[j]:`normalizeProps`,[M]:`guardReactiveProps`,[N]:`toHandlers`,[ee]:`camelize`,[te]:`capitalize`,[ne]:`toHandlerKey`,[P]:`setBlockTracking`,[F]:`pushScopeId`,[I]:`popScopeId`,[L]:`withCtx`,[R]:`unref`,[re]:`isRef`,[z]:`withMemo`,[B]:`isMemoSame`};function H(e){Object.getOwnPropertySymbols(e).forEach(t=>{V[t]=e[t]})}let ae={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},oe={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`},se={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},ce={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`},U={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function fe(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:U}}function pe(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=U){return e&&(s?(e.helper(d),e.helper(ke(e.inSSR,l))):e.helper(Oe(e.inSSR,l)),o&&e.helper(C)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function me(e,t=U){return{type:17,loc:t,elements:e}}function W(e,t=U){return{type:15,loc:t,properties:e}}function G(e,n){return{type:16,loc:U,key:t.isString(e)?K(e,!0):e,value:n}}function K(e,t=!1,n=U,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function he(e,n){return{type:5,loc:n,content:t.isString(e)?K(e,!1,n):e}}function ge(e,t=U){return{type:8,loc:t,children:e}}function _e(e,t=[],n=U){return{type:14,loc:n,callee:e,arguments:t}}function ve(e,t=void 0,n=!1,r=!1,i=U){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function be(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:U}}function xe(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:U}}function Se(e){return{type:21,body:e,loc:U}}function Ce(e){return{type:22,elements:e,loc:U}}function we(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:U}}function Te(e,t){return{type:24,left:e,right:t,loc:U}}function Ee(e){return{type:25,expressions:e,loc:U}}function De(e){return{type:26,returns:e,loc:U}}function Oe(e,t){return e||t?m:h}function ke(e,t){return e||t?f:p}function Ae(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Oe(r,e.isComponent)),t(d),t(ke(r,e.isComponent)))}let je=new Uint8Array([123,123]),Me=new Uint8Array([125,125]);function Ne(e){return e>=97&&e<=122||e>=65&&e<=90}function Pe(e){return e===32||e===10||e===9||e===12||e===13}function Fe(e){return e===47||e===62||Pe(e)}function Ie(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}let Le={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])};var Re=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=je,this.delimiterClose=Me,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new n.EntityDecoder(n.htmlDecodeTree,(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=je,this.delimiterClose=Me}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?Fe(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||Pe(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===Le.TitleEnd||this.currentSequence===Le.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===Le.Cdata[this.sequenceIndex]?++this.sequenceIndex===Le.Cdata.length&&(this.state=28,this.currentSequence=Le.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===Le.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):Ne(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){Fe(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Fe(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(Ie(`</`+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){Pe(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=Ne(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||Pe(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):Pe(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):Pe(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||Fe(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||Fe(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||Fe(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||Fe(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||Fe(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)):Pe(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):Pe(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){Pe(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=Le.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===Le.ScriptEnd[3]?this.startSpecial(Le.ScriptEnd,4):e===Le.StyleEnd[3]?this.startSpecial(Le.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Le.TitleEnd[3]?this.startSpecial(Le.TitleEnd,4):e===Le.TextareaEnd[3]?this.startSpecial(Le.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?n.DecodingMode.Legacy:n.DecodingMode.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===Le.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(n.fromCodePoint(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(n.fromCodePoint(e),this.entityStart,this.sectionStart))}};let ze={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`},q={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 Be(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function J(e,t){let n=Be(`MODE`,t),r=Be(e,t);return n===3?r===!0:r!==!1}function Ve(e,t,n,...r){return J(e,t)}function He(e,t,n,...r){if(Be(e,t)===`suppress-warning`)return;let{message:i,link:a}=q[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
14
- Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function Ue(e){throw e}function We(e){}function Y(e,t,n,r){let i=(n||Ke)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}let Ge={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__`},Ke={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '&lt;' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,53:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
15
- 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 qe(e,t,n=!1,r=[],a=Object.create(null)){let o=e.type===`Program`?e.body[0].type===`ExpressionStatement`&&e.body[0].expression:e;i.walk(e,{enter(e,i){if(i&&r.push(i),i&&i.type.startsWith(`TS`)&&!st.includes(i.type))return this.skip();if(e.type===`Identifier`){let o=!!a[e.name],s=Je(e,i,r);(n||s&&!o)&&t(e,i,r,s,o)}else if(e.type===`ObjectProperty`&&i?.type===`ObjectPattern`)e.inPattern=!0;else if(rt(e))e.scopeIds?e.scopeIds.forEach(e=>tt(e,a)):X(e,t=>nt(e,t,a));else if(e.type===`BlockStatement`)e.scopeIds?e.scopeIds.forEach(e=>tt(e,a)):Ze(e,t=>nt(e,t,a));else if(e.type===`SwitchStatement`)e.scopeIds?e.scopeIds.forEach(e=>tt(e,a)):$e(e,!1,t=>nt(e,t,a));else if(e.type===`CatchClause`&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>tt(e,a));else for(let t of et(e.param))nt(e,t,a);else Z(e)&&(e.scopeIds?e.scopeIds.forEach(e=>tt(e,a)):Qe(e,!1,t=>nt(e,t,a)))},leave(e,t){if(t&&r.pop(),e!==o&&e.scopeIds)for(let t of e.scopeIds)a[t]--,a[t]===0&&delete a[t]}})}function Je(e,t,n){if(!t)return!0;if(e.name===`arguments`)return!1;if(ot(e,t,n[n.length-2]))return!0;switch(t.type){case`AssignmentExpression`:case`AssignmentPattern`:return!0;case`ObjectProperty`:return t.key!==e&&Ye(t,n);case`ArrayPattern`:return Ye(t,n)}return!1}function Ye(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 Xe(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 X(e,t){for(let n of e.params)for(let e of et(n))t(e)}function Ze(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 et(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else Z(e)?Qe(e,!0,t):e.type===`SwitchStatement`&&$e(e,!0,t)}function Z(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function Qe(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 et(e.id))n(t)}function $e(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 et(t.id))n(e);Ze(r,n)}}function et(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`?et(n.argument,t):et(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&et(e,t)});break;case`RestElement`:et(e.argument,t);break;case`AssignmentPattern`:et(e.left,t);break}return t}function tt(e,t){e in t?t[e]++:t[e]=1}function nt(e,t,n){let{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(tt(r,n),(e.scopeIds||=new Set).add(r))}let rt=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),it=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,at=(e,t)=>it(t)&&t.key===e;function ot(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}let st=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`];function ct(e){return st.includes(e.type)?ct(e.expression):e}let lt=e=>e.type===4&&e.isStatic;function ut(e){switch(e){case`Teleport`:case`teleport`:return s;case`Suspense`:case`suspense`:return c;case`KeepAlive`:case`keep-alive`:return l;case`BaseTransition`:case`base-transition`:return u}}let dt=/^$|^\d|[^\$\w\xA0-\uFFFF]/,ft=e=>!dt.test(e),pt=/[A-Za-z_$\xA0-\uFFFF]/,mt=/[\.\?\w$\xA0-\uFFFF]/,ht=/\s+[.[]\s*|\s*[.[]\s+/g,gt=e=>e.type===4?e.content:e.loc.source,_t=e=>{let t=gt(e).trim().replace(ht,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?pt:mt).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},vt=(e,t)=>{try{let n=e.ast||r.parseExpression(gt(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n=ct(n),n.type===`MemberExpression`||n.type===`OptionalMemberExpression`||n.type===`Identifier`&&n.name!==`undefined`}catch{return!1}},yt=vt,bt=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,xt=e=>bt.test(gt(e)),St=(e,t)=>{try{let n=e.ast||r.parseExpression(gt(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,`typescript`]:[`typescript`]});return n.type===`Program`&&(n=n.body[0],n.type===`ExpressionStatement`&&(n=n.expression)),n=ct(n),n.type===`FunctionExpression`||n.type===`ArrowFunctionExpression`}catch{return!1}},Ct=St;function wt(e,t,n=t.length){return Tt({offset:e.offset,line:e.line,column:e.column},t,n)}function Tt(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 Et(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function Dt(e,n,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&(r||a.exp)&&(t.isString(n)?a.name===n:n.test(a.name)))return a}}function Ot(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)&&kt(a.arg,t))return a}}function kt(e,t){return!!(e&&lt(e)&&e.content===t)}function At(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function jt(e){return e.type===5||e.type===2}function Mt(e){return e.type===7&&e.name===`pre`}function Nt(e){return e.type===7&&e.name===`slot`}function Pt(e){return e.type===1&&e.tagType===3}function Ft(e){return e.type===1&&e.tagType===2}let It=new Set([j,M]);function Lt(e,n=[]){if(e&&!t.isString(e)&&e.type===14){let r=e.callee;if(!t.isString(r)&&It.has(r))return Lt(e.arguments[0],n.concat(e))}return[e,n]}function Rt(e,n,r){let i,a=e.type===13?e.props:e.arguments[2],o=[],s;if(a&&!t.isString(a)&&a.type===14){let e=Lt(a);a=e[0],o=e[1],s=o[o.length-1]}if(a==null||t.isString(a))i=W([n]);else if(a.type===14){let e=a.arguments[0];!t.isString(e)&&e.type===15?zt(n,e)||e.properties.unshift(n):a.callee===N?i=_e(r.helper(O),[W([n]),a]):a.arguments.unshift(W([n])),!i&&(i=a)}else a.type===15?(zt(n,a)||a.properties.unshift(n),i=a):(i=_e(r.helper(O),[W([n]),a]),s&&s.callee===M&&(s=o[o.length-2]));e.type===13?s?s.arguments[0]=i:e.props=i:s?s.arguments[0]=i:e.arguments[2]=i}function zt(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 Bt(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function Vt(e,n){if(!e||Object.keys(n).length===0)return!1;switch(e.type){case 1:for(let t=0;t<e.props.length;t++){let r=e.props[t];if(r.type===7&&(Vt(r.arg,n)||Vt(r.exp,n)))return!0}return e.children.some(e=>Vt(e,n));case 11:return Vt(e.source,n)?!0:e.children.some(e=>Vt(e,n));case 9:return e.branches.some(e=>Vt(e,n));case 10:return Vt(e.condition,n)?!0:e.children.some(e=>Vt(e,n));case 4:return!e.isStatic&&ft(e.content)&&!!n[e.content];case 8:return e.children.some(e=>t.isObject(e)&&Vt(e,n));case 5:case 12:return Vt(e.content,n);case 2:case 3:case 20:return!1;default:return!1}}function Q(e){return e.type===14&&e.callee===z?e.arguments[1].returns:e}let Ht=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Ut(e){for(let t=0;t<e.length;t++)if(!Pe(e.charCodeAt(t)))return!1;return!0}function Wt(e){return e.type===2&&Ut(e.content)||e.type===12&&Wt(e.content)}function Gt(e){return e.type===3||Wt(e)}let Kt={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:t.NO,isPreTag:t.NO,isIgnoreNewlineTag:t.NO,isCustomElement:t.NO,onError:Ue,onWarn:We,comments:!1,prefixIdentifiers:!1},qt=Kt,Jt=null,Yt=``,Xt=null,$=null,Zt=``,Qt=-1,$t=-1,en=0,tn=!1,nn=null,rn=[],an=new Re(rn,{onerr:kn,ontext(e,t){dn(ln(e,t),e,t)},ontextentity(e,t,n){dn(e,t,n)},oninterpolation(e,t){if(tn)return dn(ln(e,t),e,t);let r=e+an.delimiterOpen.length,i=t-an.delimiterClose.length;for(;Pe(Yt.charCodeAt(r));)r++;for(;Pe(Yt.charCodeAt(i-1));)i--;let a=ln(r,i);a.includes(`&`)&&(a=n.decodeHTML(a)),Cn({type:5,content:On(a,!1,wn(r,i)),loc:wn(e,t)})},onopentagname(e,t){let n=ln(e,t);Xt={type:1,tag:n,ns:qt.getNamespace(n,rn[0],qt.ns),tagType:0,props:[],children:[],loc:wn(e-1,t),codegenNode:void 0}},onopentagend(e){un(e)},onclosetag(e,t){let n=ln(e,t);if(!qt.isVoidTag(n)){let r=!1;for(let e=0;e<rn.length;e++)if(rn[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&kn(24,rn[0].loc.start.offset);for(let n=0;n<=e;n++)fn(rn.shift(),t,n<e);break}r||kn(23,mn(e,60))}},onselfclosingtag(e){let t=Xt.tag;Xt.isSelfClosing=!0,un(e),rn[0]&&rn[0].tag===t&&fn(rn.shift(),e)},onattribname(e,t){$={type:6,name:ln(e,t),nameLoc:wn(e,t),value:void 0,loc:wn(e)}},ondirname(e,t){let n=ln(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!tn&&r===``&&kn(26,e),tn||r===``)$={type:6,name:n,nameLoc:wn(e,t),value:void 0,loc:wn(e)};else if($={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[K(`prop`)]:[],loc:wn(e)},r===`pre`){tn=an.inVPre=!0,nn=Xt;let e=Xt.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=Dn(e[t]))}},ondirarg(e,t){if(e===t)return;let n=ln(e,t);if(tn&&!Mt($))$.name+=n,En($.nameLoc,t);else{let r=n[0]!==`[`;$.arg=On(r?n:n.slice(1,-1),r,wn(e,t),r?3:0)}},ondirmodifier(e,t){let n=ln(e,t);if(tn&&!Mt($))$.name+=`.`+n,En($.nameLoc,t);else if($.name===`slot`){let e=$.arg;e&&(e.content+=`.`+n,En(e.loc,t))}else{let r=K(n,!0,wn(e,t));$.modifiers.push(r)}},onattribdata(e,t){Zt+=ln(e,t),Qt<0&&(Qt=e),$t=t},onattribentity(e,t,n){Zt+=e,Qt<0&&(Qt=t),$t=n},onattribnameend(e){let t=$.loc.start.offset,n=ln(t,e);$.type===7&&($.rawName=n),Xt.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&kn(2,t)},onattribend(e,t){if(Xt&&$){if(En($.loc,t),e!==0)if($.type===6)$.name===`class`&&(Zt=Sn(Zt).trim()),e===1&&!Zt&&kn(13,t),$.value={type:2,content:Zt,loc:e===1?wn(Qt,$t):wn(Qt-1,$t+1)},an.inSFCRoot&&Xt.tag===`template`&&$.name===`lang`&&Zt&&Zt!==`html`&&an.enterRCDATA(Ie(`</template`),0);else{let e=0;$.name===`for`?e=3:$.name===`slot`?e=1:$.name===`on`&&Zt.includes(`;`)&&(e=2),$.exp=On(Zt,!1,wn(Qt,$t),0,e),$.name===`for`&&($.forParseResult=cn($.exp));let t=-1;$.name===`bind`&&(t=$.modifiers.findIndex(e=>e.content===`sync`))>-1&&Ve(`COMPILER_V_BIND_SYNC`,qt,$.loc,$.arg.loc.source)&&($.name=`model`,$.modifiers.splice(t,1))}($.type!==7||$.name!==`pre`)&&Xt.props.push($)}Zt=``,Qt=$t=-1},oncomment(e,t){qt.comments&&Cn({type:3,content:ln(e,t),loc:wn(e-4,t+3)})},onend(){let e=Yt.length;if(an.state!==1)switch(an.state){case 5:case 8:kn(5,e);break;case 3:case 4:kn(25,an.sectionStart);break;case 28:an.currentSequence===Le.CdataEnd?kn(6,e):kn(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:kn(9,e);break}for(let t=0;t<rn.length;t++)fn(rn[t],e-1),kn(24,rn[t].loc.start.offset)},oncdata(e,t){rn[0].ns===0?kn(1,e-9):dn(ln(e,t),e,t)},onprocessinginstruction(e){(rn[0]?rn[0].ns:qt.ns)===0&&kn(21,e-1)}}),on=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sn=/^\(|\)$/g;function cn(e){let t=e.loc,n=e.content,r=n.match(Ht);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return On(e,!1,wn(i,i+e.length),0,r?1:0)},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(sn,``).trim(),l=i.indexOf(c),u=c.match(on);if(u){c=c.replace(on,``).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 ln(e,t){return Yt.slice(e,t)}function un(e){an.inSFCRoot&&(Xt.innerLoc=wn(e+1,e+1)),Cn(Xt);let{tag:t,ns:n}=Xt;n===0&&qt.isPreTag(t)&&en++,qt.isVoidTag(t)?fn(Xt,e):(rn.unshift(Xt),(n===1||n===2)&&(an.inXML=!0)),Xt=null}function dn(e,t,n){let r=rn[0]||Jt,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,En(i.loc,n)):r.children.push({type:2,content:e,loc:wn(t,n)})}function fn(e,n,r=!1){r?En(e.loc,mn(n,60)):En(e.loc,pn(n,62)+1),an.inSFCRoot&&(e.children.length?e.innerLoc.end=t.extend({},e.children[e.children.length-1].loc.end):e.innerLoc.end=t.extend({},e.innerLoc.start),e.innerLoc.source=ln(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:i,ns:a,children:o}=e;if(tn||(i===`slot`?e.tagType=2:gn(e)?e.tagType=3:_n(e)&&(e.tagType=1)),an.inRCDATA||(e.children=bn(o)),a===0&&qt.isIgnoreNewlineTag(i)){let e=o[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}a===0&&qt.isPreTag(i)&&en--,nn===e&&(tn=an.inVPre=!1,nn=null),an.inXML&&(rn[0]?rn[0].ns:qt.ns)===0&&(an.inXML=!1);{let t=e.props;if(!an.inSFCRoot&&J(`COMPILER_NATIVE_TEMPLATE`,qt)&&e.tag===`template`&&!gn(e)){let t=rn[0]||Jt,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&Ve(`COMPILER_INLINE_TEMPLATE`,qt,n.loc)&&e.children.length&&(n.value={type:2,content:ln(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function pn(e,t){let n=e;for(;Yt.charCodeAt(n)!==t&&n<Yt.length-1;)n++;return n}function mn(e,t){let n=e;for(;Yt.charCodeAt(n)!==t&&n>=0;)n--;return n}let hn=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function gn({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&hn.has(t[e].name))return!0}return!1}function _n({tag:e,props:t}){if(qt.isCustomElement(e))return!1;if(e===`component`||vn(e.charCodeAt(0))||ut(e)||qt.isBuiltInComponent&&qt.isBuiltInComponent(e)||qt.isNativeTag&&!qt.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||Ve(`COMPILER_IS_ON_ELEMENT`,qt,n.loc)))return!0}else if(n.name===`bind`&&kt(n.arg,`is`)&&Ve(`COMPILER_IS_ON_ELEMENT`,qt,n.loc))return!0}return!1}function vn(e){return e>64&&e<91}let yn=/\r\n/g;function bn(e){let t=qt.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(en)i.content=i.content.replace(yn,`
16
- `);else if(Ut(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&&xn(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=Sn(i.content))}return n?e.filter(Boolean):e}function xn(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Sn(e){let t=``,n=!1;for(let r=0;r<e.length;r++)Pe(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function Cn(e){(rn[0]||Jt).children.push(e)}function wn(e,t){return{start:an.getPos(e),end:t==null?t:an.getPos(t),source:t==null?t:ln(e,t)}}function Tn(e){return wn(e.start.offset,e.end.offset)}function En(e,t){e.end=an.getPos(t),e.source=ln(e.start.offset,t)}function Dn(e){let t={type:6,name:e.rawName,nameLoc:wn(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 On(e,t=!1,n,i=0,a=0){let o=K(e,t,n,i);if(!t&&qt.prefixIdentifiers&&a!==3&&e.trim()){if(ft(e))return o.ast=null,o;try{let t=qt.expressionPlugins,n={plugins:t?[...t,`typescript`]:[`typescript`]};a===2?o.ast=r.parse(` ${e} `,n).program:a===1?o.ast=r.parseExpression(`(${e})=>{}`,n):o.ast=r.parseExpression(`(${e})`,n)}catch(e){o.ast=!1,kn(46,n.start.offset,e.message)}}return o}function kn(e,t,n){qt.onError(Y(e,wn(t,t),void 0,n))}function An(){an.reset(),Xt=null,$=null,Zt=``,Qt=-1,$t=-1,rn.length=0}function jn(e,n){if(An(),Yt=e,qt=t.extend({},Kt),n){let e;for(e in n)n[e]!=null&&(qt[e]=n[e])}an.mode=qt.parseMode===`html`?1:qt.parseMode===`sfc`?2:0,an.inXML=qt.ns===1||qt.ns===2;let r=n&&n.delimiters;r&&(an.delimiterOpen=Ie(r[0]),an.delimiterClose=Ie(r[1]));let i=Jt=fe([],e);return an.parse(Yt),i.loc=wn(0,e.length),i.children=bn(i.children),Jt=null,i}function Mn(e,t){Pn(e,void 0,t,!!Nn(e))}function Nn(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Ft(t[0])?t[0]:null}function Pn(e,n,r,i=!1,a=!1){let{children:o}=e,s=[];for(let t=0;t<o.length;t++){let n=o[t];if(n.type===1&&n.tagType===0){let e=i?0:Fn(n,r);if(e>0){if(e>=2){n.codegenNode.patchFlag=-1,s.push(n);continue}}else{let e=n.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&Rn(n,r)>=2){let t=zn(n);t&&(e.props=r.hoist(t))}e.dynamicProps&&=r.hoist(e.dynamicProps)}}}else if(n.type===12&&(i?0:Fn(n,r))>=2){n.codegenNode.type===14&&n.codegenNode.arguments.length>0&&n.codegenNode.arguments.push(`-1`),s.push(n);continue}if(n.type===1){let t=n.tagType===1;t&&r.scopes.vSlot++,Pn(n,e,r,!1,a),t&&r.scopes.vSlot--}else if(n.type===11)Pn(n,e,r,n.children.length===1,!0);else if(n.type===9)for(let t=0;t<n.branches.length;t++)Pn(n.branches[t],e,r,n.branches[t].children.length===1,a)}let c=!1;if(s.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&t.isArray(e.codegenNode.children))e.codegenNode.children=l(me(e.codegenNode.children)),c=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!t.isArray(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=u(e.codegenNode,`default`);t&&(t.returns=l(me(t.returns)),c=!0)}else if(e.tagType===3&&n&&n.type===1&&n.tagType===1&&n.codegenNode&&n.codegenNode.type===13&&n.codegenNode.children&&!t.isArray(n.codegenNode.children)&&n.codegenNode.children.type===15){let t=Dt(e,`slot`,!0),r=t&&t.arg&&u(n.codegenNode,t.arg);r&&(r.returns=l(me(r.returns)),c=!0)}}if(!c)for(let e of s)e.codegenNode=r.cache(e.codegenNode);function l(e){let t=r.cache(e);return t.needArraySpread=!0,t}function u(e,n){if(e.children&&!t.isArray(e.children)&&e.children.type===15){let t=e.children.properties.find(e=>e.key===n||e.key.content===n);return t&&t.value}}s.length&&r.transformHoist&&r.transformHoist(o,r,e)}function Fn(e,n){let{constantCache:r}=n;switch(e.type){case 1:if(e.tagType!==0)return 0;let i=r.get(e);if(i!==void 0)return i;let a=e.codegenNode;if(a.type!==13||a.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(a.patchFlag===void 0){let t=3,i=Rn(e,n);if(i===0)return r.set(e,0),0;i<t&&(t=i);for(let i=0;i<e.children.length;i++){let a=Fn(e.children[i],n);if(a===0)return r.set(e,0),0;a<t&&(t=a)}if(t>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=Fn(a.exp,n);if(i===0)return r.set(e,0),0;i<t&&(t=i)}}if(a.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return r.set(e,0),0;n.removeHelper(d),n.removeHelper(ke(n.inSSR,a.isComponent)),a.isBlock=!1,n.helper(Oe(n.inSSR,a.isComponent))}return r.set(e,t),t}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Fn(e.content,n);case 4:return e.constType;case 8:let o=3;for(let r=0;r<e.children.length;r++){let i=e.children[r];if(t.isString(i)||t.isSymbol(i))continue;let a=Fn(i,n);if(a===0)return 0;a<o&&(o=a)}return o;case 20:return 2;default:return 0}}let In=new Set([k,A,j,M]);function Ln(e,n){if(e.type===14&&!t.isString(e.callee)&&In.has(e.callee)){let t=e.arguments[0];if(t.type===4)return Fn(t,n);if(t.type===14)return Ln(t,n)}return 0}function Rn(e,t){let n=3,r=zn(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=Fn(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?Fn(a,t):a.type===14?Ln(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function zn(e){let t=e.codegenNode;if(t.type===13)return t.props}function Bn(e,{filename:n=``,prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:a=!1,cacheHandlers:o=!1,nodeTransforms:s=[],directiveTransforms:c={},transformHoist:l=null,isBuiltInComponent:u=t.NOOP,isCustomElement:d=t.NOOP,expressionPlugins:f=[],scopeId:p=null,slotted:m=!0,ssr:h=!1,inSSR:g=!1,ssrCssVars:_=``,bindingMetadata:v=t.EMPTY_OBJ,inline:y=!1,isTS:b=!1,onError:x=Ue,onWarn:S=We,compatConfig:C}){let w=n.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),T={filename:n,selfName:w&&t.capitalize(t.camelize(w[1])),prefixIdentifiers:r,hoistStatic:i,hmr:a,cacheHandlers:o,nodeTransforms:s,directiveTransforms:c,transformHoist:l,isBuiltInComponent:u,isCustomElement:d,expressionPlugins:f,scopeId:p,slotted:m,ssr:h,inSSR:g,ssrCssVars:_,bindingMetadata:v,inline:y,isTS:b,onError:x,onWarn:S,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=T.helpers.get(e)||0;return T.helpers.set(e,t+1),e},removeHelper(e){let t=T.helpers.get(e);if(t){let n=t-1;n?T.helpers.set(e,n):T.helpers.delete(e)}},helperString(e){return`_${V[T.helper(e)]}`},replaceNode(e){T.parent.children[T.childIndex]=T.currentNode=e},removeNode(e){let t=T.parent.children,n=e?t.indexOf(e):T.currentNode?T.childIndex:-1;!e||e===T.currentNode?(T.currentNode=null,T.onNodeRemoved()):T.childIndex>n&&(T.childIndex--,T.onNodeRemoved()),T.parent.children.splice(n,1)},onNodeRemoved:t.NOOP,addIdentifiers(e){t.isString(e)?E(e):e.identifiers?e.identifiers.forEach(E):e.type===4&&E(e.content)},removeIdentifiers(e){t.isString(e)?D(e):e.identifiers?e.identifiers.forEach(D):e.type===4&&D(e.content)},hoist(e){t.isString(e)&&(e=K(e)),T.hoists.push(e);let n=K(`_hoisted_${T.hoists.length}`,!1,e.loc,2);return n.hoisted=e,n},cache(e,t=!1,n=!1){let r=xe(T.cached.length,e,t,n);return T.cached.push(r),r}};T.filters=new Set;function E(e){let{identifiers:t}=T;t[e]===void 0&&(t[e]=0),t[e]++}function D(e){T.identifiers[e]--}return T}function Vn(e,t){let n=Bn(e,t);Wn(e,n),t.hoistStatic&&Mn(e,n),t.ssr||Hn(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,e.filters=[...n.filters]}function Hn(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=Nn(e);if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&&Ae(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else r.length>1&&(e.codegenNode=pe(t,n(o),void 0,e.children,64,void 0,void 0,!0,void 0,!1))}function Un(e,n){let r=0,i=()=>{r--};for(;r<e.children.length;r++){let a=e.children[r];t.isString(a)||(n.grandParent=n.parent,n.parent=e,n.childIndex=r,n.onNodeRemoved=i,Wn(a,n))}}function Wn(e,n){n.currentNode=e;let{nodeTransforms:r}=n,i=[];for(let a=0;a<r.length;a++){let o=r[a](e,n);if(o&&(t.isArray(o)?i.push(...o):i.push(o)),n.currentNode)e=n.currentNode;else return}switch(e.type){case 3:n.ssr||n.helper(g);break;case 5:n.ssr||n.helper(D);break;case 9:for(let t=0;t<e.branches.length;t++)Wn(e.branches[t],n);break;case 10:case 11:case 1:case 0:Un(e,n);break}n.currentNode=e;let a=i.length;for(;a--;)i[a]()}function Gn(e,n){let r=t.isString(e)?t=>t===e:t=>e.test(t);return(e,t)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(Nt))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&r(s.name)){i.splice(o,1),o--;let r=n(e,s,t);r&&a.push(r)}}return a}}}let Kn=`/*@__PURE__*/`,qn=e=>`${V[e]}: _${V[e]}`;function Jn(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:o=null,optimizeImports:s=!1,runtimeGlobalName:c=`Vue`,runtimeModuleName:l=`vue`,ssrRuntimeModuleName:u=`vue/server-renderer`,ssr:d=!1,isTS:f=!1,inSSR:p=!1}){let m={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:o,optimizeImports:s,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:u,ssr:d,isTS:f,inSSR:p,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${V[e]}`},push(e,t=-2,n){if(m.code+=e,m.map){if(n){let e;if(n.type===4&&!n.isStatic){let t=n.content.replace(/^_ctx\./,``);t!==n.content&&ft(t)&&(e=t)}n.loc.source&&g(n.loc.start,e)}t===-3?Tt(m,e):(m.offset+=e.length,t===-2?m.column+=e.length:(t===-1&&(t=e.length-1),m.line++,m.column=e.length-t)),n&&n.loc!==U&&n.loc.source&&g(n.loc.end)}},indent(){h(++m.indentLevel)},deindent(e=!1){e?--m.indentLevel:h(--m.indentLevel)},newline(){h(m.indentLevel)}};function h(e){m.push(`
17
- `+` `.repeat(e),0)}function g(e,t=null){let{_names:n,_mappings:r}=m.map;t!==null&&!n.has(t)&&n.add(t),r.add({originalLine:e.line,originalColumn:e.column-1,generatedLine:m.line,generatedColumn:m.column-1,source:i,name:t})}return r&&(m.map=new a.SourceMapGenerator,m.map.setSourceContent(i,m.source),m.map._sources.add(i)),m}function Yn(e,t={}){let n=Jn(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?Jn(e,t):n;r===`module`?Zn(e,g,m,h):Xn(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(qn).join(`, `)} } = _Vue
18
- `,-1),c())),e.components.length&&(Qn(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Qn(e.directives,`directive`,n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),Qn(e.filters,`filter`,n),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(`
19
- `,0),c()),u||i(`return `),e.codegenNode?ir(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 Xn(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(qn).join(`, `)} } = ${l}
20
- `,-1):(i(`const _Vue = ${l}
21
- `,-1),e.hoists.length&&i(`const { ${[m,h,g,_,v].filter(e=>u.includes(e)).map(qn).join(`, `)} } = _Vue
22
- `,-1))),e.ssrHelpers&&e.ssrHelpers.length&&i(`const { ${e.ssrHelpers.map(qn).join(`, `)} } = require("${c}")
23
- `,-1),$n(e.hoists,t),a(),i(`return `)}function Zn(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=>V[e]).join(`, `)} } from ${JSON.stringify(s)}
24
- `,-1),i(`
25
- // Binding optimization for webpack code-split
26
- const ${t.map(e=>`_${V[e]} = ${V[e]}`).join(`, `)}
27
- `,-1)):i(`import { ${t.map(e=>`${V[e]} as _${V[e]}`).join(`, `)} } from ${JSON.stringify(s)}
28
- `,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`import { ${e.ssrHelpers.map(e=>`${V[e]} as _${V[e]}`).join(`, `)} } from "${c}"
29
- `,-1),e.imports.length&&(er(e.imports,t),a()),$n(e.hoists,t),a(),r||i(`export `)}function Qn(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?S:t===`component`?y:x);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Bt(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function $n(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} = `),ir(a,t),r())}t.pure=!1}function er(e,t){e.length&&e.forEach(e=>{t.push(`import `),ir(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}function tr(e){return t.isString(e)||e.type===4||e.type===2||e.type===5||e.type===8}function nr(e,n){let r=e.length>3||e.some(e=>t.isArray(e)||!tr(e));n.push(`[`),r&&n.indent(),rr(e,n,r),r&&n.deindent(),n.push(`]`)}function rr(e,n,r=!1,i=!0){let{push:a,newline:o}=n;for(let s=0;s<e.length;s++){let c=e[s];t.isString(c)?a(c,-3):t.isArray(c)?nr(c,n):ir(c,n),s<e.length-1&&(r?(i&&a(`,`),o()):i&&a(`, `))}}function ir(e,n){if(t.isString(e)){n.push(e,-3);return}if(t.isSymbol(e)){n.push(n.helper(e));return}switch(e.type){case 1:case 9:case 11:ir(e.codegenNode,n);break;case 2:ar(e,n);break;case 4:or(e,n);break;case 5:sr(e,n);break;case 12:ir(e.codegenNode,n);break;case 8:cr(e,n);break;case 3:ur(e,n);break;case 13:dr(e,n);break;case 14:pr(e,n);break;case 15:mr(e,n);break;case 17:hr(e,n);break;case 18:gr(e,n);break;case 19:_r(e,n);break;case 20:vr(e,n);break;case 21:rr(e.body,n,!0,!1);break;case 22:yr(e,n);break;case 23:br(e,n);break;case 24:xr(e,n);break;case 25:Sr(e,n);break;case 26:Cr(e,n);break}}function ar(e,t){t.push(JSON.stringify(e.content),-3,e)}function or(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function sr(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Kn),n(`${r(D)}(`),ir(e.content,t),n(`)`)}function cr(e,n){for(let r=0;r<e.children.length;r++){let i=e.children[r];t.isString(i)?n.push(i,-3):ir(i,n)}}function lr(e,t){let{push:n}=t;e.type===8?(n(`[`),cr(e,t),n(`]`)):e.isStatic?n(ft(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function ur(e,t){let{push:n,helper:r,pure:i}=t;i&&n(Kn),n(`${r(g)}(${JSON.stringify(e.content)})`,-3,e)}function dr(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:f,disableTracking:p,isComponent:m}=e,h;c&&(h=String(c)),u&&n(r(C)+`(`),f&&n(`(${r(d)}(${p?`true`:``}), `),i&&n(Kn),n(r(f?ke(t.inSSR,m):Oe(t.inSSR,m))+`(`,-2,e),rr(fr([a,o,s,h,l]),t),n(`)`),f&&n(`)`),u&&(n(`, `),ir(u,t),n(`)`))}function fr(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function pr(e,n){let{push:r,helper:i,pure:a}=n,o=t.isString(e.callee)?e.callee:i(e.callee);a&&r(Kn),r(o+`(`,-2,e),rr(e.arguments,n),r(`)`)}function mr(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];lr(r,t),n(`: `),ir(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function hr(e,t){nr(e.elements,t)}function gr(e,n){let{push:r,indent:i,deindent:a}=n,{params:o,returns:s,body:c,newline:l,isSlot:u}=e;u&&r(`_${V[L]}(`),r(`(`,-2,e),t.isArray(o)?rr(o,n):o&&ir(o,n),r(`) => `),(l||c)&&(r(`{`),i()),s?(l&&r(`return `),t.isArray(s)?nr(s,n):ir(s,n)):c&&ir(c,n),(l||c)&&(a(),r(`}`)),u&&(e.isNonScopedSlot&&r(`, undefined, true`),r(`)`))}function _r(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=!ft(n.content);e&&o(`(`),or(n,t),e&&o(`)`)}else o(`(`),ir(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),ir(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,ir(i,t),u||t.indentLevel--,a&&c(!0)}function vr(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(P)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),ir(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(P)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function yr(e,n){let{push:r,indent:i,deindent:a}=n;r("`");let o=e.elements.length,s=o>3;for(let c=0;c<o;c++){let o=e.elements[c];t.isString(o)?r(o.replace(/(`|\$|\\)/g,`\\$1`),-3):(r("${"),s&&i(),ir(o,n),s&&a(),r(`}`))}r("`")}function br(e,t){let{push:n,indent:r,deindent:i}=t,{test:a,consequent:o,alternate:s}=e;n(`if (`),ir(a,t),n(`) {`),r(),ir(o,t),i(),n(`}`),s&&(n(` else `),s.type===23?br(s,t):(n(`{`),r(),ir(s,t),i(),n(`}`)))}function xr(e,t){ir(e.left,t),t.push(` = `),ir(e.right,t)}function Sr(e,t){t.push(`(`),rr(e.expressions,t),t.push(`)`)}function Cr({returns:e},n){n.push(`return `),t.isArray(e)?nr(e,n):ir(e,n)}let wr=t.makeMap(`true,false,null,this`),Tr=(e,t)=>{if(e.type===5)e.content=Er(e.content,t);else if(e.type===1){let n=Dt(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let e=i.exp,r=i.arg;e&&e.type===4&&!(i.name===`on`&&r)&&!(n&&r&&r.type===4&&r.content===`key`)&&(i.exp=Er(e,t,i.name===`slot`)),r&&r.type===4&&!r.isStatic&&(i.arg=Er(r,t))}}}};function Er(e,n,i=!1,a=!1,o=Object.create(n.identifiers)){if(!n.prefixIdentifiers||!e.content.trim())return e;let{inline:s,bindingMetadata:c}=n,l=(e,r,i)=>{let a=t.hasOwn(c,e)&&c[e];if(s){let s=r&&r.type===`AssignmentExpression`&&r.left===i,l=r&&r.type===`UpdateExpression`&&r.argument===i,d=r&&Ye(r,p),f=r&&Xe(p),h=e=>{let t=`${n.helperString(R)}(${e})`;return f?`(${t})`:t};if(kr(a)||a===`setup-reactive-const`||o[e])return e;if(a===`setup-ref`)return`${e}.value`;if(a===`setup-maybe-ref`)return s||l||d?`${e}.value`:h(e);if(a===`setup-let`)if(s){let{right:t,operator:i}=r,a=Or(Er(K(u.slice(t.start-1,t.end-1),!1),n,!1,!1,m));return`${n.helperString(re)}(${e})${n.isTS?` //@ts-ignore
30
- `:``} ? ${e}.value ${i} ${a} : ${e}`}else if(l){i.start=r.start,i.end=r.end;let{prefix:t,operator:a}=r,o=t?a:``,s=t?``:a;return`${n.helperString(re)}(${e})${n.isTS?` //@ts-ignore
31
- `:``} ? ${o}${e}.value${s} : ${o}${e}${s}`}else if(d)return e;else return h(e);else if(a===`props`)return t.genPropsAccessExp(e);else if(a===`props-aliased`)return t.genPropsAccessExp(c.__propsAliases[e])}else if(a&&a.startsWith(`setup`)||a===`literal-const`)return`$setup.${e}`;else if(a===`props-aliased`)return`$props['${c.__propsAliases[e]}']`;else if(a)return`$${a}.${e}`;return`_ctx.${e}`},u=e.content,d=e.ast;if(d===!1)return e;if(d===null||!d&&ft(u)){let r=n.identifiers[u],a=t.isGloballyAllowed(u),o=wr(u);return!i&&!r&&!o&&(!a||c[u])?(kr(c[u])&&(e.constType=1),e.content=l(u)):r||(o?e.constType=3:e.constType=2),e}if(!d){let t=a?` ${u} `:`(${u})${i?`=>{}`:``}`;try{d=r.parseExpression(t,{sourceType:`module`,plugins:n.expressionPlugins})}catch(t){return n.onError(Y(46,e.loc,void 0,t.message)),e}}let f=[],p=[],m=Object.create(n.identifiers);qe(d,(e,t,n,r,i)=>{if(at(e,t)||e.name.startsWith(`_filter_`))return;let a=r&&Dr(e);a&&!i?(it(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=l(e.name,t,e),f.push(e)):(!(a&&i)&&(!t||t.type!==`CallExpression`&&t.type!==`NewExpression`&&t.type!==`MemberExpression`)&&(e.isConstant=!0),f.push(e))},!0,p,m);let h=[];f.sort((e,t)=>e.start-t.start),f.forEach((t,n)=>{let r=t.start-1,i=t.end-1,a=f[n-1],o=u.slice(a?a.end-1:0,r);(o.length||t.prefix)&&h.push(o+(t.prefix||``));let s=u.slice(r,i);h.push(K(t.name,!1,{start:wt(e.loc.start,s,r),end:wt(e.loc.start,s,i),source:s},t.isConstant?3:0)),n===f.length-1&&i<u.length&&h.push(u.slice(i))});let g;return h.length?(g=ge(h,e.loc),g.ast=d):(g=e,g.constType=3),g.identifiers=Object.keys(m),g}function Dr(e){return!(t.isGloballyAllowed(e.name)||e.name===`require`)}function Or(e){return t.isString(e)?e:e.type===4?e.content:e.children.map(Or).join(``)}function kr(e){return e===`setup-const`||e===`literal-const`}let Ar=Gn(/^(?:if|else|else-if)$/,(e,t,n)=>jr(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=Nr(t,o,n);else{let r=Ir(e.codegenNode);r.alternate=Nr(t,o+e.branches.length-1,n)}}}));function jr(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(Y(28,t.loc)),t.exp=K(`true`,!1,r)}if(n.prefixIdentifiers&&t.exp&&(t.exp=Er(t.exp,n)),t.name===`if`){let i=Mr(e,t),a={type:9,loc:Tn(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=i.indexOf(e);for(;a-->=-1;){let o=i[a];if(o&&Gt(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name===`else-if`||t.name===`else`)&&o.branches[o.branches.length-1].condition===void 0&&n.onError(Y(30,e.loc)),n.removeNode();let i=Mr(e,t);{let e=i.userKey;e&&o.branches.forEach(({userKey:t})=>{Fr(t,e)&&n.onError(Y(29,i.userKey.loc))})}o.branches.push(i);let a=r&&r(o,i,!1);Wn(i,n),a&&a(),n.currentNode=null}else n.onError(Y(30,e.loc));break}}}function Mr(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!Dt(e,`for`)?e.children:[e],userKey:Ot(e,`key`),isTemplateIf:n}}function Nr(e,t,n){return e.condition?be(e.condition,Pr(e,t,n),_e(n.helper(g),[`""`,`true`])):Pr(e,t,n)}function Pr(e,t,n){let{helper:r}=n,i=G(`key`,K(`${t}`,!1,U,2)),{children:a}=e,s=a[0];if(a.length!==1||s.type!==1)if(a.length===1&&s.type===11){let e=s.codegenNode;return Rt(e,i,n),e}else return pe(n,r(o),W([i]),a,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=s.codegenNode,t=Q(e);return t.type===13&&Ae(t,n),Rt(t,i,n),e}}function Fr(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 Ir(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}let Lr=Gn(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return Rr(e,t,n,t=>{let a=_e(r(w),[t.source]),s=Pt(e),c=Dt(e,`memo`),l=Ot(e,`key`,!1,!0),u=l&&l.type===7,f=l&&(l.type===6?l.value?K(l.value.content,!0):void 0:l.exp);c&&f&&u&&(l.exp=f=Er(f,n));let p=l&&f?G(`key`,f):null;s&&(c&&(c.exp=Er(c.exp,n)),p&&l.type!==6&&(p.value=Er(p.value,n)));let m=t.source.type===4&&t.source.constType>0,h=m?64:l?128:256;return t.codegenNode=pe(n,r(o),void 0,a,h,void 0,void 0,!0,!m,!1,e.loc),()=>{let l,{children:u}=t;s&&e.children.some(e=>{if(e.type===1){let t=Ot(e,`key`);if(t)return n.onError(Y(33,t.loc)),!0}});let h=u.length!==1||u[0].type!==1,g=Ft(e)?e:s&&e.children.length===1&&Ft(e.children[0])?e.children[0]:null;if(g?(l=g.codegenNode,s&&p&&Rt(l,p,n)):h?l=pe(n,r(o),p?W([p]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=u[0].codegenNode,s&&p&&Rt(l,p,n),l.isBlock!==!m&&(l.isBlock?(i(d),i(ke(n.inSSR,l.isComponent))):i(Oe(n.inSSR,l.isComponent))),l.isBlock=!m,l.isBlock?(r(d),r(ke(n.inSSR,l.isComponent))):r(Oe(n.inSSR,l.isComponent))),c){let e=ve(Br(t.parseResult,[K(`_cached`)]));e.body=Se([ge([`const _memo = (`,c.exp,`)`]),ge([`if (_cached`,...f?[` && _cached.key === `,f]:[],` && ${n.helperString(B)}(_cached, _memo)) return _cached`]),ge([`const _item = `,l]),K(`_item.memo = _memo`),K(`return _item`)]),a.arguments.push(e,K(`_cache`),K(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(ve(Br(t.parseResult),l,!0))}})});function Rr(e,t,n,r){if(!t.exp){n.onError(Y(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(Y(32,t.loc));return}zr(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:Pt(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 zr(e,t){e.finalized||=(t.prefixIdentifiers&&(e.source=Er(e.source,t),e.key&&=Er(e.key,t,!0),e.index&&=Er(e.index,t,!0),e.value&&=Er(e.value,t,!0)),!0)}function Br({value:e,key:t,index:n},r=[]){return Vr([e,t,n,...r])}function Vr(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||K(`_`.repeat(t+1),!1))}let Hr=K(`undefined`,!1),Ur=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=Dt(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--}}}},Wr=(e,t)=>{let n;if(Pt(e)&&e.props.some(Nt)&&(n=Dt(e,`for`))){let e=n.forParseResult;if(e){zr(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)}}}},Gr=(e,t,n,r)=>ve(e,n,!1,!0,n.length?n[0].loc:r);function Kr(e,t,n=Gr){t.helper(L);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=>Nt(e)&&(Vt(e.arg,t.identifiers)||Vt(e.exp,t.identifiers)))||r.some(e=>Vt(e,t.identifiers)));let c=Dt(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!lt(e)&&(s=!0),a.push(G(e||K(`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(!Pt(i)||!(m=Dt(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(Y(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=K(`default`,!0),exp:v,loc:y}=m,b;lt(_)?b=_?_.content:`default`:s=!0;let x=Dt(i,`for`),S=n(v,x,h,g),C,T;if(C=Dt(i,`if`))s=!0,o.push(be(C.exp,qr(_,S,p++),Hr));else if(T=Dt(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],Gt(i)););if(i&&Pt(i)&&Dt(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=T.exp?be(T.exp,qr(_,S,p++),Hr):qr(_,S,p++)}else t.onError(Y(30,T.loc))}else if(x){s=!0;let e=x.forParseResult;e?(zr(e,t),o.push(_e(t.helper(w),[e.source,ve(Br(e),qr(_,S),!0)]))):t.onError(Y(32,x.loc))}else{if(b){if(f.has(b)){t.onError(Y(38,y));continue}f.add(b),b===`default`&&(u=!0)}a.push(G(_,S))}}if(!c){let e=(e,r)=>{let a=n(e,void 0,r,i);return t.compatConfig&&(a.isNonScopedSlot=!0),G(`default`,a)};l?d.length&&!d.every(Wt)&&(u?t.onError(Y(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:Jr(e.children)?3:1,h=W(a.concat(G(`_`,K(m+``,!1))),i);return o.length&&(h=_e(t.helper(E),[h,me(o)])),{slots:h,hasDynamicSlots:s}}function qr(e,t,n){let r=[G(`name`,e),G(`fn`,t)];return n!=null&&r.push(G(`key`,K(String(n),!0))),W(r)}function Jr(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||Jr(n.children))return!0;break;case 9:if(Jr(n.branches))return!0;break;case 10:case 11:if(Jr(n.children))return!0;break}}return!1}let Yr=new WeakMap,Xr=(e,n)=>function(){if(e=n.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:r,props:i}=e,a=e.tagType===1,o=a?Zr(e,n):`"${r}"`,u=t.isObject(o)&&o.callee===b,d,f,p=0,m,h,g,_=u||o===s||o===c||!a&&(r===`svg`||r===`foreignObject`||r===`math`);if(i.length>0){let t=$r(e,n,void 0,a,u);d=t.props,p=t.patchFlag,h=t.dynamicPropNames;let r=t.directives;g=r&&r.length?me(r.map(e=>ni(e,n))):void 0,t.shouldUseBlock&&(_=!0)}if(e.children.length>0)if(o===l&&(_=!0,p|=1024),a&&o!==s&&o!==l){let{slots:t,hasDynamicSlots:r}=Kr(e,n);f=t,r&&(p|=1024)}else if(e.children.length===1&&o!==s){let t=e.children[0],r=t.type,i=r===5||r===8;i&&Fn(t,n)===0&&(p|=1),f=i||r===2?t:e.children}else f=e.children;h&&h.length&&(m=ri(h)),e.codegenNode=pe(n,o,d,f,p===0?void 0:p,m,g,!!_,!1,a,e.loc)};function Zr(e,n,r=!1){let{tag:i}=e,a=ii(i),o=Ot(e,`is`,!1,!0);if(o)if(a||J(`COMPILER_IS_ON_ELEMENT`,n)){let e;if(o.type===6?e=o.value&&K(o.value.content,!0):(e=o.exp,e||=(e=K(`is`,!1,o.arg.loc),o.exp=Er(e,n))),e)return _e(n.helper(b),[e])}else o.type===6&&o.value.content.startsWith(`vue:`)&&(i=o.value.content.slice(4));let s=ut(i)||n.isBuiltInComponent(i);if(s)return r||n.helper(s),s;{let e=Qr(i,n);if(e)return e;let t=i.indexOf(`.`);if(t>0){let e=Qr(i.slice(0,t),n);if(e)return e+i.slice(t)}}return n.selfName&&t.capitalize(t.camelize(i))===n.selfName?(n.helper(y),n.components.add(i+`__self`),Bt(i,`component`)):(n.helper(y),n.components.add(i),Bt(i,`component`))}function Qr(e,n){let r=n.bindingMetadata;if(!r||r.__isScriptSetup===!1)return;let i=t.camelize(e),a=t.capitalize(i),o=t=>{if(r[e]===t)return e;if(r[i]===t)return i;if(r[a]===t)return a},s=o(`setup-const`)||o(`setup-reactive-const`)||o(`literal-const`);if(s)return n.inline?s:`$setup[${JSON.stringify(s)}]`;let c=o(`setup-let`)||o(`setup-ref`)||o(`setup-maybe-ref`);if(c)return n.inline?`${n.helperString(R)}(${c})`:`$setup[${JSON.stringify(c)}]`;let l=o(`props`);if(l)return`${n.helperString(R)}(${n.inline?`__props`:`$props`}[${JSON.stringify(l)}])`}function $r(e,n,r=e.props,i,a,o=!1){let{tag:s,loc:c,children:l}=e,u=[],d=[],f=[],p=l.length>0,m=!1,h=0,g=!1,_=!1,v=!1,y=!1,b=!1,x=!1,S=[],C=e=>{u.length&&(d.push(W(ei(u),c)),u=[]),e&&d.push(e)},w=()=>{n.scopes.vFor>0&&u.push(G(K(`ref_for`,!0),K(`true`)))},T=({key:e,value:r})=>{if(lt(e)){let o=e.content,s=t.isOn(o);if(s&&(!i||a)&&o.toLowerCase()!==`onclick`&&o!==`onUpdate:modelValue`&&!t.isReservedProp(o)&&(y=!0),s&&t.isReservedProp(o)&&(x=!0),s&&r.type===14&&(r=r.arguments[0]),r.type===20||(r.type===4||r.type===8)&&Fn(r,n)>0)return;o===`ref`?g=!0:o===`class`?_=!0:o===`style`?v=!0:o!==`key`&&!S.includes(o)&&S.push(o),i&&(o===`class`||o===`style`)&&!S.includes(o)&&S.push(o)}else b=!0};for(let a=0;a<r.length;a++){let l=r[a];if(l.type===6){let{loc:e,name:t,nameLoc:r,value:i}=l,a=!0;if(t===`ref`&&(g=!0,w(),i&&n.inline)){let e=n.bindingMetadata[i.content];(e===`setup-let`||e===`setup-ref`||e===`setup-maybe-ref`)&&(a=!1,u.push(G(K(`ref_key`,!0),K(i.content,!0,i.loc))))}if(t===`is`&&(ii(s)||i&&i.content.startsWith(`vue:`)||J(`COMPILER_IS_ON_ELEMENT`,n)))continue;u.push(G(K(t,!0,r),K(i?i.content:``,a,i?i.loc:e)))}else{let{name:r,arg:a,exp:g,loc:_,modifiers:v}=l,y=r===`bind`,x=r===`on`;if(r===`slot`){i||n.onError(Y(40,_));continue}if(r===`once`||r===`memo`||r===`is`||y&&kt(a,`is`)&&(ii(s)||J(`COMPILER_IS_ON_ELEMENT`,n))||x&&o)continue;if((y&&kt(a,`key`)||x&&p&&kt(a,`vue:before-update`))&&(m=!0),y&&kt(a,`ref`)&&w(),!a&&(y||x)){if(b=!0,g)if(y){if(C(),J(`COMPILER_V_BIND_OBJECT_ORDER`,n)){d.unshift(g);continue}w(),C(),d.push(g)}else C({type:14,loc:_,callee:n.helper(N),arguments:i?[g]:[g,`true`]});else n.onError(Y(y?34:35,_));continue}y&&v.some(e=>e.content===`prop`)&&(h|=32);let S=n.directiveTransforms[r];if(S){let{props:r,needRuntime:i}=S(l,e,n);!o&&r.forEach(T),x&&a&&!lt(a)?C(W(r,c)):u.push(...r),i&&(f.push(l),t.isSymbol(i)&&Yr.set(l,i))}else t.isBuiltInDirective(r)||(f.push(l),p&&(m=!0))}}let E;if(d.length?(C(),E=d.length>1?_e(n.helper(O),d,c):d[0]):u.length&&(E=W(ei(u),c)),b?h|=16:(_&&!i&&(h|=2),v&&!i&&(h|=4),S.length&&(h|=8),y&&(h|=32)),!m&&(h===0||h===32)&&(g||x||f.length>0)&&(h|=512),!n.inSSR&&E)switch(E.type){case 15:let e=-1,t=-1,r=!1;for(let n=0;n<E.properties.length;n++){let i=E.properties[n].key;lt(i)?i.content===`class`?e=n:i.content===`style`&&(t=n):i.isHandlerKey||(r=!0)}let i=E.properties[e],a=E.properties[t];r?E=_e(n.helper(j),[E]):(i&&!lt(i.value)&&(i.value=_e(n.helper(k),[i.value])),a&&(v||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=_e(n.helper(A),[a.value])));break;case 14:break;default:E=_e(n.helper(j),[_e(n.helper(M),[E])]);break}return{props:E,directives:f,patchFlag:h,dynamicPropNames:S,shouldUseBlock:m}}function ei(e){let n=new Map,r=[];for(let i=0;i<e.length;i++){let a=e[i];if(a.key.type===8||!a.key.isStatic){r.push(a);continue}let o=a.key.content,s=n.get(o);s?(o===`style`||o===`class`||t.isOn(o))&&ti(s,a):(n.set(o,a),r.push(a))}return r}function ti(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=me([e.value,t.value],e.loc)}function ni(e,t){let n=[],r=Yr.get(e);if(r)n.push(t.helperString(r));else{let r=Qr(`v-`+e.name,t);r?n.push(r):(t.helper(x),t.directives.add(e.name),n.push(Bt(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=K(`true`,!1,i);n.push(W(e.modifiers.map(e=>G(e,t)),i))}return me(n,e.loc)}function ri(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 ii(e){return e===`component`||e===`Component`}let ai=(e,t)=>{if(Ft(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=oi(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=ve([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=_e(t.helper(T),o,r)}};function oi(e,n){let r=`"default"`,i,a=[];for(let i=0;i<e.props.length;i++){let o=e.props[i];o.type===6?o.value&&(o.name===`name`?r=JSON.stringify(o.value.content):(o.name=t.camelize(o.name),a.push(o))):o.name===`bind`&&kt(o.arg,`name`)?o.exp?r=o.exp:o.arg&&o.arg.type===4&&(r=o.exp=K(t.camelize(o.arg.content),!1,o.arg.loc),r=o.exp=Er(o.exp,n)):(o.name===`bind`&&o.arg&&lt(o.arg)&&(o.arg.content=t.camelize(o.arg.content)),a.push(o))}if(a.length>0){let{props:t,directives:r}=$r(e,n,a,!1,!1);i=t,r.length&&n.onError(Y(36,r[0].loc))}return{slotName:r,slotProps:i}}let si=(e,n,r,i)=>{let{loc:a,modifiers:o,arg:s}=e;!e.exp&&!o.length&&r.onError(Y(35,a));let c;if(s.type===4)if(s.isStatic){let e=s.content;e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),c=K(n.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?t.toHandlerKey(t.camelize(e)):`on:${e}`,!0,s.loc)}else c=ge([`${r.helperString(ne)}(`,s,`)`]);else c=s,c.children.unshift(`${r.helperString(ne)}(`),c.children.push(`)`);let l=e.exp;l&&!l.content.trim()&&(l=void 0);let u=r.cacheHandlers&&!l&&!r.inVOnce;if(l){let t=yt(l,r),i=!(t||Ct(l,r)),a=l.content.includes(`;`);r.prefixIdentifiers&&(i&&r.addIdentifiers(`$event`),l=e.exp=Er(l,r,!1,a),i&&r.removeIdentifiers(`$event`),u=r.cacheHandlers&&!r.inVOnce&&!(l.type===4&&l.constType>0)&&!(t&&n.tagType===1)&&!Vt(l,r.identifiers),u&&t&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children,` && `,...l.children,`(...args)`])),(i||u&&t)&&(l=ge([`${i?r.isTS?`($event: any)`:`$event`:`${r.isTS?`
32
- //@ts-ignore
33
- `:``}(...args)`} => ${a?`{`:`(`}`,l,a?`}`:`)`]))}let d={props:[G(c,l||K(`() => {}`,!1,a))]};return i&&(d=i(d)),u&&(d.props[0].value=r.cache(d.props[0].value)),d.props.forEach(e=>e.key.isHandlerKey=!0),d},ci=(e,n,r)=>{let{modifiers:i,loc:a}=e,o=e.arg,{exp:s}=e;return s&&s.type===4&&!s.content.trim()?(r.onError(Y(34,a)),{props:[G(o,K(``,!0,a))]}):(o.type===4?o.isStatic||(o.content=o.content?`${o.content} || ""`:`""`):(o.children.unshift(`(`),o.children.push(`) || ""`)),i.some(e=>e.content===`camel`)&&(o.type===4?o.isStatic?o.content=t.camelize(o.content):o.content=`${r.helperString(ee)}(${o.content})`:(o.children.unshift(`${r.helperString(ee)}(`),o.children.push(`)`))),r.inSSR||(i.some(e=>e.content===`prop`)&&li(o,`.`),i.some(e=>e.content===`attr`)&&li(o,`^`)),{props:[G(o,s)]})},li=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},ui=(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(jt(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(jt(a))r||=n[e]=ge([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])&&e.tag!==`template`)))for(let e=0;e<n.length;e++){let r=n[e];if(jt(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&Fn(r,t)===0&&i.push(`1`),n[e]={type:12,content:r,loc:r.loc,codegenNode:_e(t.helper(_),i)}}}}},di=new WeakSet,fi=(e,t)=>{if(e.type===1&&Dt(e,`once`,!0))return di.has(e)||t.inVOnce||t.inSSR?void 0:(di.add(e),t.inVOnce=!0,t.helper(P),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&=t.cache(e.codegenNode,!0,!0)})},pi=(e,n,r)=>{let{exp:i,arg:a}=e;if(!i)return r.onError(Y(41,e.loc)),mi();let o=i.loc.source.trim(),s=i.type===4?i.content:o,c=r.bindingMetadata[o];if(c===`props`||c===`props-aliased`)return r.onError(Y(44,i.loc)),mi();if(c===`literal-const`||c===`setup-const`)return r.onError(Y(45,i.loc)),mi();let l=r.inline&&(c===`setup-let`||c===`setup-ref`||c===`setup-maybe-ref`);if(!s.trim()||!yt(i,r)&&!l)return r.onError(Y(42,i.loc)),mi();if(r.prefixIdentifiers&&ft(s)&&r.identifiers[s])return r.onError(Y(43,i.loc)),mi();let u=a||K(`modelValue`,!0),d=a?lt(a)?`onUpdate:${t.camelize(a.content)}`:ge([`"onUpdate:" + `,a]):`onUpdate:modelValue`,f,p=r.isTS?`($event: any)`:`$event`;if(l)if(c===`setup-ref`)f=ge([`${p} => ((`,K(o,!1,i.loc),`).value = $event)`]);else{let e=c===`setup-let`?`${o} = $event`:`null`;f=ge([`${p} => (${r.helperString(re)}(${o}) ? (`,K(o,!1,i.loc),`).value = $event : ${e})`])}else f=ge([`${p} => ((`,i,`) = $event)`]);let m=[G(u,e.exp),G(d,f)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!Vt(i,r.identifiers)&&(m[1].value=r.cache(m[1].value)),e.modifiers.length&&n.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(ft(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=a?lt(a)?`${a.content}Modifiers`:ge([a,` + "Modifiers"`]):`modelModifiers`;m.push(G(n,K(`{ ${t} }`,!1,e.loc,2)))}return mi(m)};function mi(e=[]){return{props:e}}let hi=/[\w).+\-_$\]]/,gi=(e,t)=>{J(`COMPILER_FILTERS`,t)&&(e.type===5?_i(e.content,t):e.type===1&&e.props.forEach(e=>{e.type===7&&e.name!==`for`&&e.exp&&_i(e.exp,t)}))};function _i(e,t){if(e.type===4)vi(e,t);else for(let n=0;n<e.children.length;n++){let r=e.children[n];typeof r==`object`&&(r.type===4?vi(r,t):r.type===8?_i(e,t):r.type===5&&_i(r.content,t))}}function vi(e,t){let n=e.content,r=!1,i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0,d,f,p,m,h=[];for(p=0;p<n.length;p++)if(f=d,d=n.charCodeAt(p),r)d===39&&f!==92&&(r=!1);else if(i)d===34&&f!==92&&(i=!1);else if(a)d===96&&f!==92&&(a=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!c&&!l)m===void 0?(u=p+1,m=n.slice(0,p).trim()):g();else{switch(d){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:s++;break;case 125:s--;break}if(d===47){let e=p-1,t;for(;e>=0&&(t=n.charAt(e),t===` `);e--);(!t||!hi.test(t))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():u!==0&&g();function g(){h.push(n.slice(u,p).trim()),u=p+1}if(h.length){for(p=0;p<h.length;p++)m=yi(m,h[p],t);e.content=m,e.ast=void 0}}function yi(e,t,n){n.helper(S);let r=t.indexOf(`(`);if(r<0)return n.filters.add(t),`${Bt(t,`filter`)}(${e})`;{let i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${Bt(i,`filter`)}(${e}${a===`)`?a:`,`+a}`}}let bi=new WeakSet,xi=(e,t)=>{if(e.type===1){let n=Dt(e,`memo`);return!n||bi.has(e)||t.inSSR?void 0:(bi.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&Ae(r,t),e.codegenNode=_e(t.helper(z),[n.exp,ve(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},Si=(e,n)=>{if(e.type===1){for(let r of e.props)if(r.type===7&&r.name===`bind`&&!r.exp&&r.arg){let e=r.arg;if(e.type!==4||!e.isStatic)n.onError(Y(53,e.loc)),r.exp=K(``,!0,e.loc);else{let n=t.camelize(e.content);(pt.test(n[0])||n[0]===`-`)&&(r.exp=K(n,!1,e.loc))}}}};function Ci(e){return[[Si,fi,Ar,xi,Lr,...[gi],...e?[Wr,Tr]:[],ai,Xr,Ur,ui],{on:si,bind:ci,model:pi}]}function wi(e,n={}){let r=n.onError||Ue,i=n.mode===`module`,a=n.prefixIdentifiers===!0||i;!a&&n.cacheHandlers&&r(Y(50)),n.scopeId&&!i&&r(Y(51));let o=t.extend({},n,{prefixIdentifiers:a}),s=t.isString(e)?jn(e,o):e,[c,l]=Ci(a);if(n.isTS){let{expressionPlugins:e}=n;(!e||!e.includes(`typescript`))&&(n.expressionPlugins=[...e||[],`typescript`])}return Vn(s,t.extend({},o,{nodeTransforms:[...c,...n.nodeTransforms||[]],directiveTransforms:t.extend({},l,n.directiveTransforms||{})})),Yn(s,o)}e.generateCodeFrame=t.generateCodeFrame,e.BASE_TRANSITION=u,e.BindingTypes={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`},e.CAMELIZE=ee,e.CAPITALIZE=te,e.CREATE_BLOCK=f,e.CREATE_COMMENT=g,e.CREATE_ELEMENT_BLOCK=p,e.CREATE_ELEMENT_VNODE=h,e.CREATE_SLOTS=E,e.CREATE_STATIC=v,e.CREATE_TEXT=_,e.CREATE_VNODE=m,e.CompilerDeprecationTypes=ze,e.ConstantTypes=ce,e.ElementTypes=se,e.ErrorCodes=Ge,e.FRAGMENT=o,e.GUARD_REACTIVE_PROPS=M,e.IS_MEMO_SAME=B,e.IS_REF=re,e.KEEP_ALIVE=l,e.MERGE_PROPS=O,e.NORMALIZE_CLASS=k,e.NORMALIZE_PROPS=j,e.NORMALIZE_STYLE=A,e.Namespaces=ae,e.NodeTypes=oe,e.OPEN_BLOCK=d,e.POP_SCOPE_ID=I,e.PUSH_SCOPE_ID=F,e.RENDER_LIST=w,e.RENDER_SLOT=T,e.RESOLVE_COMPONENT=y,e.RESOLVE_DIRECTIVE=x,e.RESOLVE_DYNAMIC_COMPONENT=b,e.RESOLVE_FILTER=S,e.SET_BLOCK_TRACKING=P,e.SUSPENSE=c,e.TELEPORT=s,e.TO_DISPLAY_STRING=D,e.TO_HANDLERS=N,e.TO_HANDLER_KEY=ne,e.TS_NODE_TYPES=st,e.UNREF=R,e.WITH_CTX=L,e.WITH_DIRECTIVES=C,e.WITH_MEMO=z,e.advancePositionWithClone=wt,e.advancePositionWithMutation=Tt,e.assert=Et,e.baseCompile=wi,e.baseParse=jn,e.buildDirectiveArgs=ni,e.buildProps=$r,e.buildSlots=Kr,e.checkCompatEnabled=Ve,e.convertToBlock=Ae,e.createArrayExpression=me,e.createAssignmentExpression=Te,e.createBlockStatement=Se,e.createCacheExpression=xe,e.createCallExpression=_e,e.createCompilerError=Y,e.createCompoundExpression=ge,e.createConditionalExpression=be,e.createForLoopParams=Br,e.createFunctionExpression=ve,e.createIfStatement=we,e.createInterpolation=he,e.createObjectExpression=W,e.createObjectProperty=G,e.createReturnStatement=De,e.createRoot=fe,e.createSequenceExpression=Ee,e.createSimpleExpression=K,e.createStructuralDirectiveTransform=Gn,e.createTemplateLiteral=Ce,e.createTransformContext=Bn,e.createVNodeCall=pe,e.errorMessages=Ke,e.extractIdentifiers=et,e.findDir=Dt,e.findProp=Ot,e.forAliasRE=Ht,e.generate=Yn,e.getBaseTransformPreset=Ci,e.getConstantType=Fn,e.getMemoedVNodeCall=Q,e.getVNodeBlockHelper=ke,e.getVNodeHelper=Oe,e.hasDynamicKeyVBind=At,e.hasScopeRef=Vt,e.helperNameMap=V,e.injectProp=Rt,e.isAllWhitespace=Ut,e.isCommentOrWhitespace=Gt,e.isCoreComponent=ut,e.isFnExpression=Ct,e.isFnExpressionBrowser=xt,e.isFnExpressionNode=St,e.isFunctionType=rt,e.isInDestructureAssignment=Ye,e.isInNewExpression=Xe,e.isMemberExpression=yt,e.isMemberExpressionBrowser=_t,e.isMemberExpressionNode=vt,e.isReferencedIdentifier=Je,e.isSimpleIdentifier=ft,e.isSlotOutlet=Ft,e.isStaticArgOf=kt,e.isStaticExp=lt,e.isStaticProperty=it,e.isStaticPropertyKey=at,e.isTemplateNode=Pt,e.isText=jt,e.isVPre=Mt,e.isVSlot=Nt,e.isWhitespaceText=Wt,e.locStub=U,e.noopDirectiveTransform=()=>({props:[]}),e.processExpression=Er,e.processFor=Rr,e.processIf=jr,e.processSlotOutlet=oi,e.registerRuntimeHelpers=H,e.resolveComponentType=Zr,e.stringifyExpression=Or,e.toValidAssetId=Bt,e.trackSlotScopes=Ur,e.trackVForSlotScopes=Wr,e.transform=Vn,e.transformBind=ci,e.transformElement=Xr,e.transformExpression=Tr,e.transformModel=pi,e.transformOn=si,e.transformVBindShorthand=Si,e.traverseNode=Wn,e.unwrapTSNode=ct,e.validFirstIdentCharRE=pt,e.walkBlockDeclarations=Ze,e.walkFunctionParams=X,e.walkIdentifiers=qe,e.warnDeprecation=He})),xe=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=ie(),n=le(),r=ue(),i=de();ye();let a=Symbol(`Fragment`),o=Symbol(`Teleport`),s=Symbol(`Suspense`),c=Symbol(`KeepAlive`),l=Symbol(`BaseTransition`),u=Symbol(`openBlock`),d=Symbol(`createBlock`),f=Symbol(`createElementBlock`),p=Symbol(`createVNode`),m=Symbol(`createElementVNode`),h=Symbol(`createCommentVNode`),g=Symbol(`withDirectives`),_=Symbol(`renderList`),v=Symbol(`toDisplayString`),y=Symbol(`mergeProps`),b=Symbol(`normalizeProps`),x=Symbol(`guardReactiveProps`),S=Symbol(`toHandlers`),C=Symbol(`unref`),w=Symbol(`isRef`),T=Symbol(`withMemo`),E=Symbol(`isMemoSame`),D={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function O(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,d=D){return e&&(s?(e.helper(u),e.helper(F(e.inSSR,l))):e.helper(P(e.inSSR,l)),o&&e.helper(g)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:d}}function k(e,t=D){return{type:15,loc:t,properties:e}}function A(e,n){return{type:16,loc:D,key:t.isString(e)?j(e,!0):e,value:n}}function j(e,t=!1,n=D,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function M(e,t=D){return{type:8,loc:t,children:e}}function N(e,t=[],n=D){return{type:14,loc:n,callee:e,arguments:t}}function ee(e,t=void 0,n=!1,r=!1,i=D){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function te(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:D}}function ne(e){return{type:21,body:e,loc:D}}function P(e,t){return e||t?p:m}function F(e,t){return e||t?d:f}function I(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(P(r,e.isComponent)),t(u),t(F(r,e.isComponent)))}let L=new Uint8Array([123,123]),R=new Uint8Array([125,125]);function re(e){return e>=97&&e<=122||e>=65&&e<=90}function z(e){return e===32||e===10||e===9||e===12||e===13}function B(e){return e===47||e===62||z(e)}function V(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}let H={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])};var ae=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=L,this.delimiterClose=R,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new n.EntityDecoder(n.htmlDecodeTree,(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=L,this.delimiterClose=R}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?B(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||z(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===H.TitleEnd||this.currentSequence===H.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===H.Cdata[this.sequenceIndex]?++this.sequenceIndex===H.Cdata.length&&(this.state=28,this.currentSequence=H.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===H.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):re(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){B(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(B(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(V(`</`+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){z(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=re(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||z(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):z(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):z(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||B(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||B(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||B(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||B(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||B(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)):z(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):z(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){z(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=H.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===H.ScriptEnd[3]?this.startSpecial(H.ScriptEnd,4):e===H.StyleEnd[3]?this.startSpecial(H.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===H.TitleEnd[3]?this.startSpecial(H.TitleEnd,4):e===H.TextareaEnd[3]?this.startSpecial(H.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?n.DecodingMode.Legacy:n.DecodingMode.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===H.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(n.fromCodePoint(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(n.fromCodePoint(e),this.entityStart,this.sectionStart))}};let oe={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 se(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function ce(e,t){let n=se(`MODE`,t),r=se(e,t);return n===3?r===!0:r!==!1}function U(e,t,n,...r){let i=ce(e,t);return i&&fe(e,t,n,...r),i}function fe(e,t,n,...r){if(se(e,t)===`suppress-warning`)return;let{message:i,link:a}=oe[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
34
- Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function pe(e){throw e}function me(e){console.warn(`[Vue warn] ${e.message}`)}function W(e,t,n,r){let i=(n||G)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}let G={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '&lt;' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,53:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
35
- 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 K(e,t,n=!1,r=[],a=Object.create(null)){let o=e.type===`Program`?e.body[0].type===`ExpressionStatement`&&e.body[0].expression:e;i.walk(e,{enter(e,i){if(i&&r.push(i),i&&i.type.startsWith(`TS`)&&!je.includes(i.type))return this.skip();if(e.type===`Identifier`){let o=!!a[e.name],s=he(e,i,r);(n||s&&!o)&&t(e,i,r,s,o)}else if(e.type===`ObjectProperty`&&i?.type===`ObjectPattern`)e.inPattern=!0;else if(De(e))e.scopeIds?e.scopeIds.forEach(e=>Te(e,a)):ve(e,t=>Ee(e,t,a));else if(e.type===`BlockStatement`)e.scopeIds?e.scopeIds.forEach(e=>Te(e,a)):be(e,t=>Ee(e,t,a));else if(e.type===`SwitchStatement`)e.scopeIds?e.scopeIds.forEach(e=>Te(e,a)):Ce(e,!1,t=>Ee(e,t,a));else if(e.type===`CatchClause`&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>Te(e,a));else for(let t of we(e.param))Ee(e,t,a);else xe(e)&&(e.scopeIds?e.scopeIds.forEach(e=>Te(e,a)):Se(e,!1,t=>Ee(e,t,a)))},leave(e,t){if(t&&r.pop(),e!==o&&e.scopeIds)for(let t of e.scopeIds)a[t]--,a[t]===0&&delete a[t]}})}function he(e,t,n){if(!t)return!0;if(e.name===`arguments`)return!1;if(Ae(e,t,n[n.length-2]))return!0;switch(t.type){case`AssignmentExpression`:case`AssignmentPattern`:return!0;case`ObjectProperty`:return t.key!==e&&ge(t,n);case`ArrayPattern`:return ge(t,n)}return!1}function ge(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 _e(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 ve(e,t){for(let n of e.params)for(let e of we(n))t(e)}function be(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 we(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else xe(e)?Se(e,!0,t):e.type===`SwitchStatement`&&Ce(e,!0,t)}function xe(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function Se(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 we(e.id))n(t)}function Ce(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 we(t.id))n(e);be(r,n)}}function we(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`?we(n.argument,t):we(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&we(e,t)});break;case`RestElement`:we(e.argument,t);break;case`AssignmentPattern`:we(e.left,t);break}return t}function Te(e,t){e in t?t[e]++:t[e]=1}function Ee(e,t,n){let{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(Te(r,n),(e.scopeIds||=new Set).add(r))}let De=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Oe=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,ke=(e,t)=>Oe(t)&&t.key===e;function Ae(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}let je=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`],Me=e=>e.type===4&&e.isStatic;function Ne(e){switch(e){case`Teleport`:case`teleport`:return o;case`Suspense`:case`suspense`:return s;case`KeepAlive`:case`keep-alive`:return c;case`BaseTransition`:case`base-transition`:return l}}let Pe=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Fe=e=>!Pe.test(e);function Ie(e,t,n=t.length){return Le({offset:e.offset,line:e.line,column:e.column},t,n)}function Le(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 Re(e,n,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&(r||a.exp)&&(t.isString(n)?a.name===n:n.test(a.name)))return a}}function ze(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)&&q(a.arg,t))return a}}function q(e,t){return!!(e&&Me(e)&&e.content===t)}function Be(e){return e.type===7&&e.name===`pre`}function J(e){return e.type===7&&e.name===`slot`}function Ve(e){return e.type===1&&e.tagType===3}function He(e){return e.type===1&&e.tagType===2}let Ue=new Set([b,x]);function We(e,n=[]){if(e&&!t.isString(e)&&e.type===14){let r=e.callee;if(!t.isString(r)&&Ue.has(r))return We(e.arguments[0],n.concat(e))}return[e,n]}function Y(e,n,r){let i,a=e.type===13?e.props:e.arguments[2],o=[],s;if(a&&!t.isString(a)&&a.type===14){let e=We(a);a=e[0],o=e[1],s=o[o.length-1]}if(a==null||t.isString(a))i=k([n]);else if(a.type===14){let e=a.arguments[0];!t.isString(e)&&e.type===15?Ge(n,e)||e.properties.unshift(n):a.callee===S?i=N(r.helper(y),[k([n]),a]):a.arguments.unshift(k([n])),!i&&(i=a)}else a.type===15?(Ge(n,a)||a.properties.unshift(n),i=a):(i=N(r.helper(y),[k([n]),a]),s&&s.callee===x&&(s=o[o.length-2]));e.type===13?s?s.arguments[0]=i:e.props=i:s?s.arguments[0]=i:e.arguments[2]=i}function Ge(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 Ke(e){return e.type===14&&e.callee===T?e.arguments[1].returns:e}let qe=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Je(e){for(let t=0;t<e.length;t++)if(!z(e.charCodeAt(t)))return!1;return!0}function Ye(e){return e.type===2&&Je(e.content)||e.type===12&&Ye(e.content)}function Xe(e){return e.type===3||Ye(e)}let X={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:t.NO,isPreTag:t.NO,isIgnoreNewlineTag:t.NO,isCustomElement:t.NO,onError:pe,onWarn:me,comments:!0,prefixIdentifiers:!1},Ze=null,Z=null,Qe=``,$e=-1,et=-1,tt=0,nt=!1,rt=null,it=[],at=new ae(it,{onerr:kt,ontext(e,t){dt(lt(e,t),e,t)},ontextentity(e,t,n){dt(e,t,n)},oninterpolation(e,t){if(nt)return dt(lt(e,t),e,t);let r=e+at.delimiterOpen.length,i=t-at.delimiterClose.length;for(;z(``.charCodeAt(r));)r++;for(;z(``.charCodeAt(i-1));)i--;let a=lt(r,i);a.includes(`&`)&&(a=n.decodeHTML(a)),Ct({type:5,content:Ot(a,!1,wt(r,i)),loc:wt(e,t)})},onopentagname(e,t){let n=lt(e,t);Ze={type:1,tag:n,ns:X.getNamespace(n,it[0],X.ns),tagType:0,props:[],children:[],loc:wt(e-1,t),codegenNode:void 0}},onopentagend(e){ut(e)},onclosetag(e,t){let n=lt(e,t);if(!X.isVoidTag(n)){let r=!1;for(let e=0;e<it.length;e++)if(it[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&kt(24,it[0].loc.start.offset);for(let n=0;n<=e;n++)ft(it.shift(),t,n<e);break}r||kt(23,mt(e,60))}},onselfclosingtag(e){let t=Ze.tag;Ze.isSelfClosing=!0,ut(e),it[0]&&it[0].tag===t&&ft(it.shift(),e)},onattribname(e,t){Z={type:6,name:lt(e,t),nameLoc:wt(e,t),value:void 0,loc:wt(e)}},ondirname(e,t){let n=lt(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!nt&&r===``&&kt(26,e),nt||r===``)Z={type:6,name:n,nameLoc:wt(e,t),value:void 0,loc:wt(e)};else if(Z={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[j(`prop`)]:[],loc:wt(e)},r===`pre`){nt=at.inVPre=!0,rt=Ze;let e=Ze.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=Dt(e[t]))}},ondirarg(e,t){if(e===t)return;let n=lt(e,t);if(nt&&!Be(Z))Z.name+=n,Et(Z.nameLoc,t);else{let r=n[0]!==`[`;Z.arg=Ot(r?n:n.slice(1,-1),r,wt(e,t),r?3:0)}},ondirmodifier(e,t){let n=lt(e,t);if(nt&&!Be(Z))Z.name+=`.`+n,Et(Z.nameLoc,t);else if(Z.name===`slot`){let e=Z.arg;e&&(e.content+=`.`+n,Et(e.loc,t))}else{let r=j(n,!0,wt(e,t));Z.modifiers.push(r)}},onattribdata(e,t){Qe+=lt(e,t),$e<0&&($e=e),et=t},onattribentity(e,t,n){Qe+=e,$e<0&&($e=t),et=n},onattribnameend(e){let t=Z.loc.start.offset,n=lt(t,e);Z.type===7&&(Z.rawName=n),Ze.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&kt(2,t)},onattribend(e,t){if(Ze&&Z){if(Et(Z.loc,t),e!==0)if(Z.type===6)Z.name===`class`&&(Qe=St(Qe).trim()),e===1&&!Qe&&kt(13,t),Z.value={type:2,content:Qe,loc:e===1?wt($e,et):wt($e-1,et+1)},at.inSFCRoot&&Ze.tag===`template`&&Z.name===`lang`&&Qe&&Qe!==`html`&&at.enterRCDATA(V(`</template`),0);else{let e=0;Z.name===`for`?e=3:Z.name===`slot`?e=1:Z.name===`on`&&Qe.includes(`;`)&&(e=2),Z.exp=Ot(Qe,!1,wt($e,et),0,e),Z.name===`for`&&(Z.forParseResult=ct(Z.exp));let t=-1;Z.name===`bind`&&(t=Z.modifiers.findIndex(e=>e.content===`sync`))>-1&&U(`COMPILER_V_BIND_SYNC`,X,Z.loc,Z.arg.loc.source)&&(Z.name=`model`,Z.modifiers.splice(t,1))}(Z.type!==7||Z.name!==`pre`)&&Ze.props.push(Z)}Qe=``,$e=et=-1},oncomment(e,t){X.comments&&Ct({type:3,content:lt(e,t),loc:wt(e-4,t+3)})},onend(){if(at.state!==1)switch(at.state){case 5:case 8:kt(5,0);break;case 3:case 4:kt(25,at.sectionStart);break;case 28:at.currentSequence===H.CdataEnd?kt(6,0):kt(7,0);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:kt(9,0);break}for(let e=0;e<it.length;e++)ft(it[e],-1),kt(24,it[e].loc.start.offset)},oncdata(e,t){it[0].ns===0?kt(1,e-9):dt(lt(e,t),e,t)},onprocessinginstruction(e){(it[0]?it[0].ns:X.ns)===0&&kt(21,e-1)}}),ot=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,st=/^\(|\)$/g;function ct(e){let t=e.loc,n=e.content,r=n.match(qe);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return Ot(e,!1,wt(i,i+e.length),0,r?1:0)},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(st,``).trim(),l=i.indexOf(c),u=c.match(ot);if(u){c=c.replace(ot,``).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 lt(e,t){return``.slice(e,t)}function ut(e){at.inSFCRoot&&(Ze.innerLoc=wt(e+1,e+1)),Ct(Ze);let{tag:t,ns:n}=Ze;n===0&&X.isPreTag(t)&&tt++,X.isVoidTag(t)?ft(Ze,e):(it.unshift(Ze),(n===1||n===2)&&(at.inXML=!0)),Ze=null}function dt(e,t,n){let r=it[0]||null,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,Et(i.loc,n)):r.children.push({type:2,content:e,loc:wt(t,n)})}function ft(e,n,r=!1){r?Et(e.loc,mt(n,60)):Et(e.loc,pt(n,62)+1),at.inSFCRoot&&(e.children.length?e.innerLoc.end=t.extend({},e.children[e.children.length-1].loc.end):e.innerLoc.end=t.extend({},e.innerLoc.start),e.innerLoc.source=lt(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:i,ns:a,children:o}=e;if(nt||(i===`slot`?e.tagType=2:gt(e)?e.tagType=3:_t(e)&&(e.tagType=1)),at.inRCDATA||(e.children=bt(o)),a===0&&X.isIgnoreNewlineTag(i)){let e=o[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}a===0&&X.isPreTag(i)&&tt--,rt===e&&(nt=at.inVPre=!1,rt=null),at.inXML&&(it[0]?it[0].ns:X.ns)===0&&(at.inXML=!1);{let t=e.props;if(ce(`COMPILER_V_IF_V_FOR_PRECEDENCE`,X)){let n=!1,r=!1;for(let i=0;i<t.length;i++){let a=t[i];if(a.type===7&&(a.name===`if`?n=!0:a.name===`for`&&(r=!0)),n&&r){fe(`COMPILER_V_IF_V_FOR_PRECEDENCE`,X,e.loc);break}}}if(!at.inSFCRoot&&ce(`COMPILER_NATIVE_TEMPLATE`,X)&&e.tag===`template`&&!gt(e)){fe(`COMPILER_NATIVE_TEMPLATE`,X,e.loc);let t=it[0]||null,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&U(`COMPILER_INLINE_TEMPLATE`,X,n.loc)&&e.children.length&&(n.value={type:2,content:lt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function pt(e,t){let n=e;for(;``.charCodeAt(n)!==t&&n<-1;)n++;return n}function mt(e,t){let n=e;for(;``.charCodeAt(n)!==t&&n>=0;)n--;return n}let ht=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function gt({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&ht.has(t[e].name))return!0}return!1}function _t({tag:e,props:t}){if(X.isCustomElement(e))return!1;if(e===`component`||vt(e.charCodeAt(0))||Ne(e)||X.isBuiltInComponent&&X.isBuiltInComponent(e)||X.isNativeTag&&!X.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||U(`COMPILER_IS_ON_ELEMENT`,X,n.loc)))return!0}else if(n.name===`bind`&&q(n.arg,`is`)&&U(`COMPILER_IS_ON_ELEMENT`,X,n.loc))return!0}return!1}function vt(e){return e>64&&e<91}let yt=/\r\n/g;function bt(e){let t=X.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(tt)i.content=i.content.replace(yt,`
36
- `);else if(Je(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&&xt(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=St(i.content))}return n?e.filter(Boolean):e}function xt(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function St(e){let t=``,n=!1;for(let r=0;r<e.length;r++)z(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function Ct(e){(it[0]||null).children.push(e)}function wt(e,t){return{start:at.getPos(e),end:t==null?t:at.getPos(t),source:t==null?t:lt(e,t)}}function Tt(e){return wt(e.start.offset,e.end.offset)}function Et(e,t){e.end=at.getPos(t),e.source=lt(e.start.offset,t)}function Dt(e){let t={type:6,name:e.rawName,nameLoc:wt(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 Ot(e,t=!1,n,i=0,a=0){let o=j(e,t,n,i);if(!t&&X.prefixIdentifiers&&a!==3&&e.trim()){if(Fe(e))return o.ast=null,o;try{let t=X.expressionPlugins,n={plugins:t?[...t,`typescript`]:[`typescript`]};a===2?o.ast=r.parse(` ${e} `,n).program:a===1?o.ast=r.parseExpression(`(${e})=>{}`,n):o.ast=r.parseExpression(`(${e})`,n)}catch(e){o.ast=!1,kt(46,n.start.offset,e.message)}}return o}function kt(e,t,n){X.onError(W(e,wt(t,t),void 0,n))}function At(e,n){let r=0,i=()=>{r--};for(;r<e.children.length;r++){let a=e.children[r];t.isString(a)||(n.grandParent=n.parent,n.parent=e,n.childIndex=r,n.onNodeRemoved=i,jt(a,n))}}function jt(e,n){n.currentNode=e;let{nodeTransforms:r}=n,i=[];for(let a=0;a<r.length;a++){let o=r[a](e,n);if(o&&(t.isArray(o)?i.push(...o):i.push(o)),n.currentNode)e=n.currentNode;else return}switch(e.type){case 3:n.ssr||n.helper(h);break;case 5:n.ssr||n.helper(v);break;case 9:for(let t=0;t<e.branches.length;t++)jt(e.branches[t],n);break;case 10:case 11:case 1:case 0:At(e,n);break}n.currentNode=e;let a=i.length;for(;a--;)i[a]()}function Mt(e,n){let r=t.isString(e)?t=>t===e:t=>e.test(t);return(e,t)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(J))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&r(s.name)){i.splice(o,1),o--;let r=n(e,s,t);r&&a.push(r)}}return a}}}let Nt=t.makeMap(`true,false,null,this`);function Pt(e,n,i=!1,a=!1,o=Object.create(n.identifiers)){if(!n.prefixIdentifiers||!e.content.trim())return e;let{inline:s,bindingMetadata:c}=n,l=(e,r,i)=>{let a=t.hasOwn(c,e)&&c[e];if(s){let s=r&&r.type===`AssignmentExpression`&&r.left===i,l=r&&r.type===`UpdateExpression`&&r.argument===i,d=r&&ge(r,p),f=r&&_e(p),h=e=>{let t=`${n.helperString(C)}(${e})`;return f?`(${t})`:t};if(Lt(a)||a===`setup-reactive-const`||o[e])return e;if(a===`setup-ref`)return`${e}.value`;if(a===`setup-maybe-ref`)return s||l||d?`${e}.value`:h(e);if(a===`setup-let`)if(s){let{right:t,operator:i}=r,a=It(Pt(j(u.slice(t.start-1,t.end-1),!1),n,!1,!1,m));return`${n.helperString(w)}(${e})${n.isTS?` //@ts-ignore
37
- `:``} ? ${e}.value ${i} ${a} : ${e}`}else if(l){i.start=r.start,i.end=r.end;let{prefix:t,operator:a}=r,o=t?a:``,s=t?``:a;return`${n.helperString(w)}(${e})${n.isTS?` //@ts-ignore
38
- `:``} ? ${o}${e}.value${s} : ${o}${e}${s}`}else if(d)return e;else return h(e);else if(a===`props`)return t.genPropsAccessExp(e);else if(a===`props-aliased`)return t.genPropsAccessExp(c.__propsAliases[e])}else if(a&&a.startsWith(`setup`)||a===`literal-const`)return`$setup.${e}`;else if(a===`props-aliased`)return`$props['${c.__propsAliases[e]}']`;else if(a)return`$${a}.${e}`;return`_ctx.${e}`},u=e.content,d=e.ast;if(d===!1)return e;if(d===null||!d&&Fe(u)){let r=n.identifiers[u],a=t.isGloballyAllowed(u),o=Nt(u);return!i&&!r&&!o&&(!a||c[u])?(Lt(c[u])&&(e.constType=1),e.content=l(u)):r||(o?e.constType=3:e.constType=2),e}if(!d){let t=a?` ${u} `:`(${u})${i?`=>{}`:``}`;try{d=r.parseExpression(t,{sourceType:`module`,plugins:n.expressionPlugins})}catch(t){return n.onError(W(46,e.loc,void 0,t.message)),e}}let f=[],p=[],m=Object.create(n.identifiers);K(d,(e,t,n,r,i)=>{if(ke(e,t)||e.name.startsWith(`_filter_`))return;let a=r&&Ft(e);a&&!i?(Oe(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=l(e.name,t,e),f.push(e)):(!(a&&i)&&(!t||t.type!==`CallExpression`&&t.type!==`NewExpression`&&t.type!==`MemberExpression`)&&(e.isConstant=!0),f.push(e))},!0,p,m);let h=[];f.sort((e,t)=>e.start-t.start),f.forEach((t,n)=>{let r=t.start-1,i=t.end-1,a=f[n-1],o=u.slice(a?a.end-1:0,r);(o.length||t.prefix)&&h.push(o+(t.prefix||``));let s=u.slice(r,i);h.push(j(t.name,!1,{start:Ie(e.loc.start,s,r),end:Ie(e.loc.start,s,i),source:s},t.isConstant?3:0)),n===f.length-1&&i<u.length&&h.push(u.slice(i))});let g;return h.length?(g=M(h,e.loc),g.ast=d):(g=e,g.constType=3),g.identifiers=Object.keys(m),g}function Ft(e){return!(t.isGloballyAllowed(e.name)||e.name===`require`)}function It(e){return t.isString(e)?e:e.type===4?e.content:e.children.map(It).join(``)}function Lt(e){return e===`setup-const`||e===`literal-const`}Mt(/^(?:if|else|else-if)$/,(e,t,n)=>Rt(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=Bt(t,o,n);else{let r=Ht(e.codegenNode);r.alternate=Bt(t,o+e.branches.length-1,n)}}}));function Rt(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=j(`true`,!1,r)}if(n.prefixIdentifiers&&t.exp&&(t.exp=Pt(t.exp,n)),t.name===`if`){let i=zt(e,t),a={type:9,loc:Tt(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&&Xe(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=zt(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})=>{Q(t,e)&&n.onError(W(29,i.userKey.loc))})}s.branches.push(i);let o=r&&r(s,i,!1);jt(i,n),o&&o(),n.currentNode=null}else n.onError(W(30,e.loc));break}}}function zt(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!Re(e,`for`)?e.children:[e],userKey:ze(e,`key`),isTemplateIf:n}}function Bt(e,t,n){return e.condition?te(e.condition,Vt(e,t,n),N(n.helper(h),[`"v-if"`,`true`])):Vt(e,t,n)}function Vt(e,t,n){let{helper:r}=n,i=A(`key`,j(`${t}`,!1,D,2)),{children:o}=e,s=o[0];if(o.length!==1||s.type!==1)if(o.length===1&&s.type===11){let e=s.codegenNode;return Y(e,i,n),e}else{let t=64;return!e.isTemplateIf&&o.filter(e=>e.type!==3).length===1&&(t|=2048),O(n,r(a),k([i]),o,t,void 0,void 0,!0,!1,!1,e.loc)}else{let e=s.codegenNode,t=Ke(e);return t.type===13&&I(t,n),Y(t,i,n),e}}function Q(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 Ht(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}Mt(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return Ut(e,t,n,t=>{let o=N(r(_),[t.source]),s=Ve(e),c=Re(e,`memo`),l=ze(e,`key`,!1,!0),d=l&&l.type===7,f=l&&(l.type===6?l.value?j(l.value.content,!0):void 0:l.exp);c&&f&&d&&(l.exp=f=Pt(f,n));let p=l&&f?A(`key`,f):null;s&&(c&&(c.exp=Pt(c.exp,n)),p&&l.type!==6&&(p.value=Pt(p.value,n)));let m=t.source.type===4&&t.source.constType>0,h=m?64:l?128:256;return t.codegenNode=O(n,r(a),void 0,o,h,void 0,void 0,!0,!m,!1,e.loc),()=>{let l,{children:d}=t;s&&e.children.some(e=>{if(e.type===1){let t=ze(e,`key`);if(t)return n.onError(W(33,t.loc)),!0}});let h=d.length!==1||d[0].type!==1,g=He(e)?e:s&&e.children.length===1&&He(e.children[0])?e.children[0]:null;if(g?(l=g.codegenNode,s&&p&&Y(l,p,n)):h?l=O(n,r(a),p?k([p]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,s&&p&&Y(l,p,n),l.isBlock!==!m&&(l.isBlock?(i(u),i(F(n.inSSR,l.isComponent))):i(P(n.inSSR,l.isComponent))),l.isBlock=!m,l.isBlock?(r(u),r(F(n.inSSR,l.isComponent))):r(P(n.inSSR,l.isComponent))),c){let e=ee(Gt(t.parseResult,[j(`_cached`)]));e.body=ne([M([`const _memo = (`,c.exp,`)`]),M([`if (_cached`,...f?[` && _cached.key === `,f]:[],` && ${n.helperString(E)}(_cached, _memo)) return _cached`]),M([`const _item = `,l]),j(`_item.memo = _memo`),j(`return _item`)]),o.arguments.push(e,j(`_cache`),j(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(ee(Gt(t.parseResult),l,!0))}})});function Ut(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}Wt(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:Ve(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 Wt(e,t){e.finalized||=(t.prefixIdentifiers&&(e.source=Pt(e.source,t),e.key&&=Pt(e.key,t,!0),e.index&&=Pt(e.index,t,!0),e.value&&=Pt(e.value,t,!0)),!0)}function Gt({value:e,key:t,index:n},r=[]){return Kt([e,t,n,...r])}function Kt(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||j(`_`.repeat(t+1),!1))}j(`undefined`,!1),e.generateCodeFrame=t.generateCodeFrame})),Se=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=be():t.exports=xe()})),Ce=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Se(),n=ie();let r=Symbol(``),i=Symbol(``),a=Symbol(``),o=Symbol(``),s=Symbol(``),c=Symbol(``),l=Symbol(``),u=Symbol(``),d=Symbol(``),f=Symbol(``);t.registerRuntimeHelpers({[r]:`vModelRadio`,[i]:`vModelCheckbox`,[a]:`vModelText`,[o]:`vModelSelect`,[s]:`vModelDynamic`,[c]:`withModifiers`,[l]:`withKeys`,[u]:`vShow`,[d]:`Transition`,[f]:`TransitionGroup`});let p={parseMode:`html`,isVoidTag:n.isVoidTag,isNativeTag:e=>n.isHTMLTag(e)||n.isSVGTag(e)||n.isMathMLTag(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:void 0,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return d;if(e===`TransitionGroup`||e===`transition-group`)return f},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}},m=e=>{e.type===1&&e.props.forEach((n,r)=>{n.type===6&&n.name===`style`&&n.value&&(e.props[r]={type:7,name:`bind`,arg:t.createSimpleExpression(`style`,!0,n.loc),exp:h(n.value.content,n.loc),modifiers:[],loc:n.loc})})},h=(e,r)=>{let i=n.parseStringStyle(e);return t.createSimpleExpression(JSON.stringify(i),!1,r,3)};function g(e,n){return t.createCompilerError(e,n,v)}let _={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__`},v={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.`},y=(e,n,r)=>{let{exp:i,loc:a}=e;return i||r.onError(g(54,a)),n.children.length&&(r.onError(g(55,a)),n.children.length=0),{props:[t.createObjectProperty(t.createSimpleExpression(`innerHTML`,!0,a),i||t.createSimpleExpression(``,!0))]}},b=(e,n,r)=>{let{exp:i,loc:a}=e;return i||r.onError(g(56,a)),n.children.length&&(r.onError(g(57,a)),n.children.length=0),{props:[t.createObjectProperty(t.createSimpleExpression(`textContent`,!0),i?t.getConstantType(i,r)>0?i:t.createCallExpression(r.helperString(t.TO_DISPLAY_STRING),[i],a):t.createSimpleExpression(``,!0))]}},x=(e,n,c)=>{let l=t.transformModel(e,n,c);if(!l.props.length||n.tagType===1)return l;e.arg&&c.onError(g(59,e.arg.loc));let{tag:u}=n,d=c.isCustomElement(u);if(u===`input`||u===`textarea`||u===`select`||d){let f=a,p=!1;if(u===`input`||d){let a=t.findProp(n,`type`);if(a){if(a.type===7)f=s;else if(a.value)switch(a.value.content){case`radio`:f=r;break;case`checkbox`:f=i;break;case`file`:p=!0,c.onError(g(60,e.loc));break}}else t.hasDynamicKeyVBind(n)&&(f=s)}else u===`select`&&(f=o);p||(l.needRuntime=c.helper(f))}else c.onError(g(58,e.loc));return l.props=l.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),l},S=n.makeMap(`passive,once,capture`),C=n.makeMap(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),w=n.makeMap(`left,right`),T=n.makeMap(`onkeyup,onkeydown,onkeypress`),E=(e,n,r,i)=>{let a=[],o=[],s=[];for(let c=0;c<n.length;c++){let l=n[c].content;l===`native`&&t.checkCompatEnabled(`COMPILER_V_ON_NATIVE`,r,i)||S(l)?s.push(l):w(l)?t.isStaticExp(e)?T(e.content.toLowerCase())?a.push(l):o.push(l):(a.push(l),o.push(l)):C(l)?o.push(l):a.push(l)}return{keyModifiers:a,nonKeyModifiers:o,eventOptionModifiers:s}},D=(e,n)=>t.isStaticExp(e)&&e.content.toLowerCase()===`onclick`?t.createSimpleExpression(n,!0):e.type===4?e:t.createCompoundExpression([`(`,e,`) === "onClick" ? "${n}" : (`,e,`)`]),O=(e,r,i)=>t.transformOn(e,r,i,r=>{let{modifiers:a}=e;if(!a.length)return r;let{key:o,value:s}=r.props[0],{keyModifiers:u,nonKeyModifiers:d,eventOptionModifiers:f}=E(o,a,i,e.loc);if(d.includes(`right`)&&(o=D(o,`onContextmenu`)),d.includes(`middle`)&&(o=D(o,`onMouseup`)),d.length&&(s=t.createCallExpression(i.helper(c),[s,JSON.stringify(d)])),u.length&&(!t.isStaticExp(o)||T(o.content.toLowerCase()))&&(s=t.createCallExpression(i.helper(l),[s,JSON.stringify(u)])),f.length){let e=f.map(n.capitalize).join(``);o=t.isStaticExp(o)?t.createSimpleExpression(`${o.content}${e}`,!0):t.createCompoundExpression([`(`,o,`) + "${e}"`])}return{props:[t.createObjectProperty(o,s)]}}),k=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(g(62,i)),{props:[],needRuntime:n.helper(u)}},A=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,j=(e,r,i)=>{if(r.scopes.vSlot>0)return;let a=i.type===1&&i.codegenNode&&i.codegenNode.type===13&&i.codegenNode.children&&!n.isArray(i.codegenNode.children)&&i.codegenNode.children.type===20,o=0,s=0,c=[],l=n=>{if(o>=20||s>=5){let i=t.createCallExpression(r.helper(t.CREATE_STATIC),[JSON.stringify(c.map(e=>P(e,r)).join(``)).replace(A,`" + $1 + "`),String(c.length)]),o=c.length-1;if(a)e.splice(n-c.length,c.length,i);else if(c[0].codegenNode.value=i,c.length>1){e.splice(n-c.length+1,o);let t=r.cached.indexOf(c[c.length-1].codegenNode);if(t>-1){for(let e=t;e<r.cached.length;e++){let t=r.cached[e];t&&(t.index-=o)}r.cached.splice(t-o+1,o)}}return o}return 0},u=0;for(;u<e.length;u++){let t=e[u];if(a||M(t)){let e=ne(t);if(e){o+=e[0],s+=e[1],c.push(t);continue}}u-=l(u),o=0,s=0,c.length=0}l(u)},M=e=>{if((e.type===1&&e.tagType===0||e.type===12)&&e.codegenNode&&e.codegenNode.type===20)return e.codegenNode},N=/^(?:data|aria)-/,ee=(e,t)=>(t===0?n.isKnownHtmlAttr(e):t===1?n.isKnownSvgAttr(e):t===2?n.isKnownMathMLAttr(e):!1)||N.test(e),te=n.makeMap(`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`);function ne(e){if(e.type===1&&te(e.tag)||e.type===1&&t.findDir(e,`once`,!0))return!1;if(e.type===12)return[1,0];let n=1,r=e.props.length>0?1:0,i=!1,a=()=>(i=!0,!1);function o(e){let s=e.tag===`option`&&e.ns===0;for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===6&&!ee(r.name,e.ns)||r.type===7&&r.name===`bind`&&(r.arg&&(r.arg.type===8||r.arg.isStatic&&!ee(r.arg.content,e.ns))||r.exp&&(r.exp.type===8||r.exp.constType<3)||s&&t.isStaticArgOf(r.arg,`value`)&&r.exp&&!r.exp.isStatic))return a()}for(let t=0;t<e.children.length;t++){n++;let a=e.children[t];if(a.type===1&&(a.props.length>0&&r++,o(a),i))return!1}return!0}return o(e)?[n,r]:!1}function P(e,t){if(n.isString(e))return e;if(n.isSymbol(e))return``;switch(e.type){case 1:return F(e,t);case 2:return n.escapeHtml(e.content);case 3:return`<!--${n.escapeHtml(e.content)}-->`;case 5:return n.escapeHtml(n.toDisplayString(I(e.content)));case 8:return n.escapeHtml(I(e));case 12:return P(e.content,t);default:return``}}function F(e,t){let r=`<${e.tag}`,i=``;for(let t=0;t<e.props.length;t++){let a=e.props[t];if(a.type===6)r+=` ${a.name}`,a.value&&(r+=`="${n.escapeHtml(a.value.content)}"`);else if(a.type===7)if(a.name===`bind`){let e=a.exp;if(e.content[0]===`_`){r+=` ${a.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(n.isBooleanAttr(a.arg.content)&&e.content===`false`)continue;let t=I(e);if(t!=null){let e=a.arg&&a.arg.content;e===`class`?t=n.normalizeClass(t):e===`style`&&(t=n.stringifyStyle(n.normalizeStyle(t))),r+=` ${a.arg.content}="${n.escapeHtml(t)}"`}}else a.name===`html`?i=I(a.exp):a.name===`text`&&(i=n.escapeHtml(n.toDisplayString(I(a.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=`>`,i)r+=i;else for(let n=0;n<e.children.length;n++)r+=P(e.children[n],t);return n.isVoidTag(e.tag)||(r+=`</${e.tag}>`),r}function I(e){if(e.type===4)return Function(`return (${e.content})`)();{let t=``;return e.children.forEach(e=>{n.isString(e)||n.isSymbol(e)||(e.type===2?t+=e.content:e.type===5?t+=n.toDisplayString(I(e.content)):t+=I(e))}),t}}let L=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&t.removeNode()},R=[m,...[]],re={cloak:t.noopDirectiveTransform,html:y,text:b,model:x,on:O,show:k};function z(e,r={}){return t.baseCompile(e,n.extend({},p,r,{nodeTransforms:[L,...R,...r.nodeTransforms||[]],directiveTransforms:n.extend({},re,r.directiveTransforms||{}),transformHoist:j}))}function B(e,r={}){return t.baseParse(e,n.extend({},p,r))}e.DOMDirectiveTransforms=re,e.DOMErrorCodes=_,e.DOMErrorMessages=v,e.DOMNodeTransforms=R,e.TRANSITION=d,e.TRANSITION_GROUP=f,e.V_MODEL_CHECKBOX=i,e.V_MODEL_DYNAMIC=s,e.V_MODEL_RADIO=r,e.V_MODEL_SELECT=o,e.V_MODEL_TEXT=a,e.V_ON_WITH_KEYS=l,e.V_ON_WITH_MODIFIERS=c,e.V_SHOW=u,e.compile=z,e.createDOMCompilerError=g,e.parse=B,e.parserOptions=p,e.transformStyle=m,Object.keys(t).forEach(function(n){n!==`default`&&!Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=t[n])})})),we=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Se(),n=ie();let r=Symbol(`vModelRadio`),i=Symbol(`vModelCheckbox`),a=Symbol(`vModelText`),o=Symbol(`vModelSelect`),s=Symbol(`vModelDynamic`),c=Symbol(`vOnModifiersGuard`),l=Symbol(`vOnKeysGuard`),u=Symbol(`vShow`),d=Symbol(`Transition`),f=Symbol(`TransitionGroup`);t.registerRuntimeHelpers({[r]:`vModelRadio`,[i]:`vModelCheckbox`,[a]:`vModelText`,[o]:`vModelSelect`,[s]:`vModelDynamic`,[c]:`withModifiers`,[l]:`withKeys`,[u]:`vShow`,[d]:`Transition`,[f]:`TransitionGroup`});let p={parseMode:`html`,isVoidTag:n.isVoidTag,isNativeTag:e=>n.isHTMLTag(e)||n.isSVGTag(e)||n.isMathMLTag(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:void 0,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return d;if(e===`TransitionGroup`||e===`transition-group`)return f},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}},m=e=>{e.type===1&&e.props.forEach((n,r)=>{n.type===6&&n.name===`style`&&n.value&&(e.props[r]={type:7,name:`bind`,arg:t.createSimpleExpression(`style`,!0,n.loc),exp:h(n.value.content,n.loc),modifiers:[],loc:n.loc})})},h=(e,r)=>{let i=n.parseStringStyle(e);return t.createSimpleExpression(JSON.stringify(i),!1,r,3)};function g(e,n){return t.createCompilerError(e,n,v)}let _={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__`},v={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.`},y=(e,n,r)=>{let{exp:i,loc:a}=e;return i||r.onError(g(54,a)),n.children.length&&(r.onError(g(55,a)),n.children.length=0),{props:[t.createObjectProperty(t.createSimpleExpression(`innerHTML`,!0,a),i||t.createSimpleExpression(``,!0))]}},b=(e,n,r)=>{let{exp:i,loc:a}=e;return i||r.onError(g(56,a)),n.children.length&&(r.onError(g(57,a)),n.children.length=0),{props:[t.createObjectProperty(t.createSimpleExpression(`textContent`,!0),i?t.getConstantType(i,r)>0?i:t.createCallExpression(r.helperString(t.TO_DISPLAY_STRING),[i],a):t.createSimpleExpression(``,!0))]}},x=(e,n,c)=>{let l=t.transformModel(e,n,c);if(!l.props.length||n.tagType===1)return l;e.arg&&c.onError(g(59,e.arg.loc));function u(){let e=t.findDir(n,`bind`);e&&t.isStaticArgOf(e.arg,`value`)&&c.onError(g(61,e.loc))}let{tag:d}=n,f=c.isCustomElement(d);if(d===`input`||d===`textarea`||d===`select`||f){let p=a,m=!1;if(d===`input`||f){let a=t.findProp(n,`type`);if(a){if(a.type===7)p=s;else if(a.value)switch(a.value.content){case`radio`:p=r;break;case`checkbox`:p=i;break;case`file`:m=!0,c.onError(g(60,e.loc));break;default:u();break}}else t.hasDynamicKeyVBind(n)?p=s:u()}else d===`select`?p=o:u();m||(l.needRuntime=c.helper(p))}else c.onError(g(58,e.loc));return l.props=l.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),l},S=n.makeMap(`passive,once,capture`),C=n.makeMap(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),w=n.makeMap(`left,right`),T=n.makeMap(`onkeyup,onkeydown,onkeypress`),E=(e,n,r,i)=>{let a=[],o=[],s=[];for(let c=0;c<n.length;c++){let l=n[c].content;l===`native`&&t.checkCompatEnabled(`COMPILER_V_ON_NATIVE`,r,i)||S(l)?s.push(l):w(l)?t.isStaticExp(e)?T(e.content.toLowerCase())?a.push(l):o.push(l):(a.push(l),o.push(l)):C(l)?o.push(l):a.push(l)}return{keyModifiers:a,nonKeyModifiers:o,eventOptionModifiers:s}},D=(e,n)=>t.isStaticExp(e)&&e.content.toLowerCase()===`onclick`?t.createSimpleExpression(n,!0):e.type===4?e:t.createCompoundExpression([`(`,e,`) === "onClick" ? "${n}" : (`,e,`)`]),O=(e,r,i)=>t.transformOn(e,r,i,r=>{let{modifiers:a}=e;if(!a.length)return r;let{key:o,value:s}=r.props[0],{keyModifiers:u,nonKeyModifiers:d,eventOptionModifiers:f}=E(o,a,i,e.loc);if(d.includes(`right`)&&(o=D(o,`onContextmenu`)),d.includes(`middle`)&&(o=D(o,`onMouseup`)),d.length&&(s=t.createCallExpression(i.helper(c),[s,JSON.stringify(d)])),u.length&&(!t.isStaticExp(o)||T(o.content.toLowerCase()))&&(s=t.createCallExpression(i.helper(l),[s,JSON.stringify(u)])),f.length){let e=f.map(n.capitalize).join(``);o=t.isStaticExp(o)?t.createSimpleExpression(`${o.content}${e}`,!0):t.createCompoundExpression([`(`,o,`) + "${e}"`])}return{props:[t.createObjectProperty(o,s)]}}),k=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(g(62,i)),{props:[],needRuntime:n.helper(u)}},A=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===d)return()=>{if(!e.children.length)return;j(e)&&t.onError(g(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 j(e){let n=e.children=e.children.filter(e=>!t.isCommentOrWhitespace(e)),r=n[0];return n.length!==1||r.type===11||r.type===9&&r.branches.some(j)}let M=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,N=(e,r,i)=>{if(r.scopes.vSlot>0)return;let a=i.type===1&&i.codegenNode&&i.codegenNode.type===13&&i.codegenNode.children&&!n.isArray(i.codegenNode.children)&&i.codegenNode.children.type===20,o=0,s=0,c=[],l=n=>{if(o>=20||s>=5){let i=t.createCallExpression(r.helper(t.CREATE_STATIC),[JSON.stringify(c.map(e=>I(e,r)).join(``)).replace(M,`" + $1 + "`),String(c.length)]),o=c.length-1;if(a)e.splice(n-c.length,c.length,i);else if(c[0].codegenNode.value=i,c.length>1){e.splice(n-c.length+1,o);let t=r.cached.indexOf(c[c.length-1].codegenNode);if(t>-1){for(let e=t;e<r.cached.length;e++){let t=r.cached[e];t&&(t.index-=o)}r.cached.splice(t-o+1,o)}}return o}return 0},u=0;for(;u<e.length;u++){let t=e[u];if(a||ee(t)){let e=F(t);if(e){o+=e[0],s+=e[1],c.push(t);continue}}u-=l(u),o=0,s=0,c.length=0}l(u)},ee=e=>{if((e.type===1&&e.tagType===0||e.type===12)&&e.codegenNode&&e.codegenNode.type===20)return e.codegenNode},te=/^(?:data|aria)-/,ne=(e,t)=>(t===0?n.isKnownHtmlAttr(e):t===1?n.isKnownSvgAttr(e):t===2?n.isKnownMathMLAttr(e):!1)||te.test(e),P=n.makeMap(`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`);function F(e){if(e.type===1&&P(e.tag)||e.type===1&&t.findDir(e,`once`,!0))return!1;if(e.type===12)return[1,0];let n=1,r=e.props.length>0?1:0,i=!1,a=()=>(i=!0,!1);function o(e){let s=e.tag===`option`&&e.ns===0;for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===6&&!ne(r.name,e.ns)||r.type===7&&r.name===`bind`&&(r.arg&&(r.arg.type===8||r.arg.isStatic&&!ne(r.arg.content,e.ns))||r.exp&&(r.exp.type===8||r.exp.constType<3)||s&&t.isStaticArgOf(r.arg,`value`)&&r.exp&&!r.exp.isStatic))return a()}for(let t=0;t<e.children.length;t++){n++;let a=e.children[t];if(a.type===1&&(a.props.length>0&&r++,o(a),i))return!1}return!0}return o(e)?[n,r]:!1}function I(e,t){if(n.isString(e))return e;if(n.isSymbol(e))return``;switch(e.type){case 1:return L(e,t);case 2:return n.escapeHtml(e.content);case 3:return`<!--${n.escapeHtml(e.content)}-->`;case 5:return n.escapeHtml(n.toDisplayString(R(e.content)));case 8:return n.escapeHtml(R(e));case 12:return I(e.content,t);default:return``}}function L(e,t){let r=`<${e.tag}`,i=``;for(let t=0;t<e.props.length;t++){let a=e.props[t];if(a.type===6)r+=` ${a.name}`,a.value&&(r+=`="${n.escapeHtml(a.value.content)}"`);else if(a.type===7)if(a.name===`bind`){let e=a.exp;if(e.content[0]===`_`){r+=` ${a.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(n.isBooleanAttr(a.arg.content)&&e.content===`false`)continue;let t=R(e);if(t!=null){let e=a.arg&&a.arg.content;e===`class`?t=n.normalizeClass(t):e===`style`&&(t=n.stringifyStyle(n.normalizeStyle(t))),r+=` ${a.arg.content}="${n.escapeHtml(t)}"`}}else a.name===`html`?i=R(a.exp):a.name===`text`&&(i=n.escapeHtml(n.toDisplayString(R(a.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=`>`,i)r+=i;else for(let n=0;n<e.children.length;n++)r+=I(e.children[n],t);return n.isVoidTag(e.tag)||(r+=`</${e.tag}>`),r}function R(e){if(e.type===4)return Function(`return (${e.content})`)();{let t=``;return e.children.forEach(e=>{n.isString(e)||n.isSymbol(e)||(e.type===2?t+=e.content:e.type===5?t+=n.toDisplayString(R(e.content)):t+=R(e))}),t}}let re=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&(t.onError(g(64,e.loc)),t.removeNode())};function z(e,t){return e===`template`?!0:e in H?H[e].has(t):t in ae?ae[t].has(e):!(e in oe&&oe[e].has(t)||t in se&&se[t].has(e))}let B=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),V=new Set([]),H={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:V,iframe:V,option:V,textarea:V,style:V,title:V},ae={html:V,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`])},oe={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(`.`))},se={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:B,h2:B,h3:B,h4:B,h5:B,h6:B},ce=[m,...[A,(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!z(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)}}]],U={cloak:t.noopDirectiveTransform,html:y,text:b,model:x,on:O,show:k};function le(e,r={}){return t.baseCompile(e,n.extend({},p,r,{nodeTransforms:[re,...ce,...r.nodeTransforms||[]],directiveTransforms:n.extend({},U,r.directiveTransforms||{}),transformHoist:N}))}function ue(e,r={}){return t.baseParse(e,n.extend({},p,r))}e.DOMDirectiveTransforms=U,e.DOMErrorCodes=_,e.DOMErrorMessages=v,e.DOMNodeTransforms=ce,e.TRANSITION=d,e.TRANSITION_GROUP=f,e.V_MODEL_CHECKBOX=i,e.V_MODEL_DYNAMIC=s,e.V_MODEL_RADIO=r,e.V_MODEL_SELECT=o,e.V_MODEL_TEXT=a,e.V_ON_WITH_KEYS=l,e.V_ON_WITH_MODIFIERS=c,e.V_SHOW=u,e.compile=le,e.createDOMCompilerError=g,e.parse=ue,e.parserOptions=p,e.transformStyle=m,Object.keys(t).forEach(function(n){n!==`default`&&!Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=t[n])})})),Te=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Ce():t.exports=we()})),Ee=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=ie();let n;var r=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=n,!e&&n&&(this.index=(n.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=n;try{return n=this,e()}finally{n=t}}}on(){++this._on===1&&(this.prevScope=n,n=this)}off(){this._on>0&&--this._on===0&&(n=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function i(e){return new r(e)}function a(){return n}function o(e,t=!1){n&&n.cleanups.push(e)}let s,c={ACTIVE:1,1:`ACTIVE`,RUNNING:2,2:`RUNNING`,TRACKING:4,4:`TRACKING`,NOTIFIED:8,8:`NOTIFIED`,DIRTY:16,16:`DIRTY`,ALLOW_RECURSE:32,32:`ALLOW_RECURSE`,PAUSED:64,64:`PAUSED`,EVALUATED:128,128:`EVALUATED`},l=new WeakSet;var u=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,n&&n.active&&n.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,l.has(this)&&(l.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||m(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,j(this),_(this);let e=s,t=T;s=this,T=!0;try{return this.fn()}finally{v(this),s=e,T=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)x(e);this.deps=this.depsTail=void 0,j(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?l.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){y(this)&&this.run()}get dirty(){return y(this)}};let d=0,f,p;function m(e,t=!1){if(e.flags|=8,t){e.next=p,p=e;return}e.next=f,f=e}function h(){d++}function g(){if(--d>0)return;if(p){let e=p;for(p=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;f;){let t=f;for(f=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function _(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function v(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),x(r),S(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function y(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(b(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function b(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===M)||(e.globalVersion=M,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!y(e))))return;e.flags|=2;let n=e.dep,r=s,i=T;s=e,T=!0;try{_(e);let r=e.fn(e._value);(n.version===0||t.hasChanged(r,e._value))&&(e.flags|=128,e._value=r,n.version++)}catch(e){throw n.version++,e}finally{s=r,T=i,v(e),e.flags&=-3}}function x(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)x(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function S(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function C(e,n){e.effect instanceof u&&(e=e.effect.fn);let r=new u(e);n&&t.extend(r,n);try{r.run()}catch(e){throw r.stop(),e}let i=r.run.bind(r);return i.effect=r,i}function w(e){e.effect.stop()}let T=!0,E=[];function D(){E.push(T),T=!1}function O(){E.push(T),T=!0}function k(){let e=E.pop();T=e===void 0?!0:e}function A(e,t=!1){s instanceof u&&(s.cleanup=e)}function j(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=s;s=void 0;try{t()}finally{s=e}}}let M=0;var N=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},ee=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!s||!T||s===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==s)t=this.activeLink=new N(s,this),s.deps?(t.prevDep=s.depsTail,s.depsTail.nextDep=t,s.depsTail=t):s.deps=s.depsTail=t,te(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=s.depsTail,t.nextDep=void 0,s.depsTail.nextDep=t,s.depsTail=t,s.deps===t&&(s.deps=e)}return t}trigger(e){this.version++,M++,this.notify(e)}notify(e){h();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{g()}}};function te(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)te(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}let ne=new WeakMap,P=Symbol(``),F=Symbol(``),I=Symbol(``);function L(e,t,n){if(T&&s){let t=ne.get(e);t||ne.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new ee),r.map=t,r.key=n),r.track()}}function R(e,n,r,i,a,o){let s=ne.get(e);if(!s){M++;return}let c=e=>{e&&e.trigger()};if(h(),n===`clear`)s.forEach(c);else{let a=t.isArray(e),o=a&&t.isIntegerKey(r);if(a&&r===`length`){let e=Number(i);s.forEach((n,r)=>{(r===`length`||r===I||!t.isSymbol(r)&&r>=e)&&c(n)})}else switch((r!==void 0||s.has(void 0))&&c(s.get(r)),o&&c(s.get(I)),n){case`add`:a?o&&c(s.get(`length`)):(c(s.get(P)),t.isMap(e)&&c(s.get(F)));break;case`delete`:a||(c(s.get(P)),t.isMap(e)&&c(s.get(F)));break;case`set`:t.isMap(e)&&c(s.get(P));break}}g()}function re(e,t){let n=ne.get(e);return n&&n.get(t)}function z(e){let t=J(e);return t===e?t:(L(t,`iterate`,I),q(e)?t:t.map(He))}function B(e){return L(e=J(e),`iterate`,I),e}function V(e,t){return ze(e)?Re(e)?Ue(He(t)):Ue(t):He(t)}let H={__proto__:null,[Symbol.iterator](){return ae(this,Symbol.iterator,e=>V(this,e))},concat(...e){return z(this).concat(...e.map(e=>t.isArray(e)?z(e):e))},entries(){return ae(this,`entries`,e=>(e[1]=V(this,e[1]),e))},every(e,t){return se(this,`every`,e,t,void 0,arguments)},filter(e,t){return se(this,`filter`,e,t,e=>e.map(e=>V(this,e)),arguments)},find(e,t){return se(this,`find`,e,t,e=>V(this,e),arguments)},findIndex(e,t){return se(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return se(this,`findLast`,e,t,e=>V(this,e),arguments)},findLastIndex(e,t){return se(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return se(this,`forEach`,e,t,void 0,arguments)},includes(...e){return U(this,`includes`,e)},indexOf(...e){return U(this,`indexOf`,e)},join(e){return z(this).join(e)},lastIndexOf(...e){return U(this,`lastIndexOf`,e)},map(e,t){return se(this,`map`,e,t,void 0,arguments)},pop(){return le(this,`pop`)},push(...e){return le(this,`push`,e)},reduce(e,...t){return ce(this,`reduce`,e,t)},reduceRight(e,...t){return ce(this,`reduceRight`,e,t)},shift(){return le(this,`shift`)},some(e,t){return se(this,`some`,e,t,void 0,arguments)},splice(...e){return le(this,`splice`,e)},toReversed(){return z(this).toReversed()},toSorted(e){return z(this).toSorted(e)},toSpliced(...e){return z(this).toSpliced(...e)},unshift(...e){return le(this,`unshift`,e)},values(){return ae(this,`values`,e=>V(this,e))}};function ae(e,t,n){let r=B(e),i=r[t]();return r!==e&&!q(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}let oe=Array.prototype;function se(e,t,n,r,i,a){let o=B(e),s=o!==e&&!q(e),c=o[t];if(c!==oe[t]){let t=c.apply(e,a);return s?He(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,V(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ce(e,t,n,r){let i=B(e),a=n;return i!==e&&(q(e)?n.length>3&&(a=function(t,r,i){return n.call(this,t,r,i,e)}):a=function(t,r,i){return n.call(this,t,V(e,r),i,e)}),i[t](a,...r)}function U(e,t,n){let r=J(e);L(r,`iterate`,I);let i=r[t](...n);return(i===-1||i===!1)&&Be(n[0])?(n[0]=J(n[0]),r[t](...n)):i}function le(e,t,n=[]){D(),h();let r=J(e)[t].apply(e,n);return g(),k(),r}let ue=t.makeMap(`__proto__,__v_isRef,__isVue`),de=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(t.isSymbol));function fe(e){t.isSymbol(e)||(e=String(e));let n=J(this);return L(n,`has`,e),n.hasOwnProperty(e)}var pe=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,n,r){if(n===`__v_skip`)return e.__v_skip;let i=this._isReadonly,a=this._isShallow;if(n===`__v_isReactive`)return!i;if(n===`__v_isReadonly`)return i;if(n===`__v_isShallow`)return a;if(n===`__v_raw`)return r===(i?a?Ae:ke:a?Oe:De).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;let o=t.isArray(e);if(!i){let e;if(o&&(e=H[n]))return e;if(n===`hasOwnProperty`)return fe}let s=Reflect.get(e,n,We(e)?e:r);if((t.isSymbol(n)?de.has(n):ue(n))||(i||L(e,`get`,n),a))return s;if(We(s)){let e=o&&t.isIntegerKey(n)?s:s.value;return i&&t.isObject(e)?Fe(e):e}return t.isObject(s)?i?Fe(s):Ne(s):s}},me=class extends pe{constructor(e=!1){super(!1,e)}set(e,n,r,i){let a=e[n],o=t.isArray(e)&&t.isIntegerKey(n);if(!this._isShallow){let e=ze(a);if(!q(r)&&!ze(r)&&(a=J(a),r=J(r)),!o&&We(a)&&!We(r))return e||(a.value=r),!0}let s=o?Number(n)<e.length:t.hasOwn(e,n),c=Reflect.set(e,n,r,We(e)?e:i);return e===J(i)&&(s?t.hasChanged(r,a)&&R(e,`set`,n,r):R(e,`add`,n,r)),c}deleteProperty(e,n){let r=t.hasOwn(e,n);e[n];let i=Reflect.deleteProperty(e,n);return i&&r&&R(e,`delete`,n,void 0),i}has(e,n){let r=Reflect.has(e,n);return(!t.isSymbol(n)||!de.has(n))&&L(e,`has`,n),r}ownKeys(e){return L(e,`iterate`,t.isArray(e)?`length`:P),Reflect.ownKeys(e)}},W=class extends pe{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}};let G=new me,K=new W,he=new me(!0),ge=new W(!0),_e=e=>e,ve=e=>Reflect.getPrototypeOf(e);function ye(e,n,r){return function(...i){let a=this.__v_raw,o=J(a),s=t.isMap(o),c=e===`entries`||e===Symbol.iterator&&s,l=e===`keys`&&s,u=a[e](...i),d=r?_e:n?Ue:He;return!n&&L(o,`iterate`,l?F:P),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function be(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function xe(e,n){let r={get(r){let i=this.__v_raw,a=J(i),o=J(r);e||(t.hasChanged(r,o)&&L(a,`get`,r),L(a,`get`,o));let{has:s}=ve(a),c=n?_e:e?Ue:He;if(s.call(a,r))return c(i.get(r));if(s.call(a,o))return c(i.get(o));i!==a&&i.get(r)},get size(){let t=this.__v_raw;return!e&&L(J(t),`iterate`,P),t.size},has(n){let r=this.__v_raw,i=J(r),a=J(n);return e||(t.hasChanged(n,a)&&L(i,`has`,n),L(i,`has`,a)),n===a?r.has(n):r.has(n)||r.has(a)},forEach(t,r){let i=this,a=i.__v_raw,o=J(a),s=n?_e:e?Ue:He;return!e&&L(o,`iterate`,P),a.forEach((e,n)=>t.call(r,s(e),s(n),i))}};return t.extend(r,e?{add:be(`add`),set:be(`set`),delete:be(`delete`),clear:be(`clear`)}:{add(e){!n&&!q(e)&&!ze(e)&&(e=J(e));let t=J(this);return ve(t).has.call(t,e)||(t.add(e),R(t,`add`,e,e)),this},set(e,r){!n&&!q(r)&&!ze(r)&&(r=J(r));let i=J(this),{has:a,get:o}=ve(i),s=a.call(i,e);s||=(e=J(e),a.call(i,e));let c=o.call(i,e);return i.set(e,r),s?t.hasChanged(r,c)&&R(i,`set`,e,r):R(i,`add`,e,r),this},delete(e){let t=J(this),{has:n,get:r}=ve(t),i=n.call(t,e);i||=(e=J(e),n.call(t,e)),r&&r.call(t,e);let a=t.delete(e);return i&&R(t,`delete`,e,void 0),a},clear(){let e=J(this),t=e.size!==0,n=e.clear();return t&&R(e,`clear`,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(t=>{r[t]=ye(t,e,n)}),r}function Se(e,n){let r=xe(e,n);return(n,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_raw`?n:Reflect.get(t.hasOwn(r,i)&&i in n?r:n,i,a)}let Ce={get:Se(!1,!1)},we={get:Se(!1,!0)},Te={get:Se(!0,!1)},Ee={get:Se(!0,!0)},De=new WeakMap,Oe=new WeakMap,ke=new WeakMap,Ae=new WeakMap;function je(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Me(e){return e.__v_skip||!Object.isExtensible(e)?0:je(t.toRawType(e))}function Ne(e){return ze(e)?e:Le(e,!1,G,Ce,De)}function Pe(e){return Le(e,!1,he,we,Oe)}function Fe(e){return Le(e,!0,K,Te,ke)}function Ie(e){return Le(e,!0,ge,Ee,Ae)}function Le(e,n,r,i,a){if(!t.isObject(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;let o=Me(e);if(o===0)return e;let s=a.get(e);if(s)return s;let c=new Proxy(e,o===2?i:r);return a.set(e,c),c}function Re(e){return ze(e)?Re(e.__v_raw):!!(e&&e.__v_isReactive)}function ze(e){return!!(e&&e.__v_isReadonly)}function q(e){return!!(e&&e.__v_isShallow)}function Be(e){return e?!!e.__v_raw:!1}function J(e){let t=e&&e.__v_raw;return t?J(t):e}function Ve(e){return!t.hasOwn(e,`__v_skip`)&&Object.isExtensible(e)&&t.def(e,`__v_skip`,!0),e}let He=e=>t.isObject(e)?Ne(e):e,Ue=e=>t.isObject(e)?Fe(e):e;function We(e){return e?e.__v_isRef===!0:!1}function Y(e){return Ke(e,!1)}function Ge(e){return Ke(e,!0)}function Ke(e,t){return We(e)?e:new qe(e,t)}var qe=class{constructor(e,t){this.dep=new ee,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:J(e),this._value=t?e:He(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let n=this._rawValue,r=this.__v_isShallow||q(e)||ze(e);e=r?e:J(e),t.hasChanged(e,n)&&(this._rawValue=e,this._value=r?e:He(e),this.dep.trigger())}};function Je(e){e.dep&&e.dep.trigger()}function Ye(e){return We(e)?e.value:e}function Xe(e){return t.isFunction(e)?e():Ye(e)}let X={get:(e,t,n)=>t===`__v_raw`?e:Ye(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return We(i)&&!We(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ze(e){return Re(e)?e:new Proxy(e,X)}var Z=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new ee,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function Qe(e){return new Z(e)}function $e(e){let n=t.isArray(e)?Array(e.length):{};for(let t in e)n[t]=rt(e,t);return n}var et=class{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=J(e);let i=!0,a=e;if(!t.isArray(e)||!t.isIntegerKey(String(n)))do i=!Be(a)||q(a);while(i&&(a=a.__v_raw));this._shallow=i}get value(){let e=this._object[this._key];return this._shallow&&(e=Ye(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&We(this._raw[this._key])){let t=this._object[this._key];if(We(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return re(this._raw,this._key)}},tt=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function nt(e,n,r){return We(e)?e:t.isFunction(e)?new tt(e):t.isObject(e)&&arguments.length>1?rt(e,n,r):Y(e)}function rt(e,t,n){return new et(e,t,n)}var it=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new ee(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=M-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&s!==this)return m(this,!0),!0}get value(){let e=this.dep.track();return b(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function at(e,n,r=!1){let i,a;return t.isFunction(e)?i=e:(i=e.get,a=e.set),new it(i,a,r)}let ot={GET:`get`,HAS:`has`,ITERATE:`iterate`},st={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},ct={SKIP:`__v_skip`,IS_REACTIVE:`__v_isReactive`,IS_READONLY:`__v_isReadonly`,IS_SHALLOW:`__v_isShallow`,RAW:`__v_raw`,IS_REF:`__v_isRef`},lt={WATCH_GETTER:2,2:`WATCH_GETTER`,WATCH_CALLBACK:3,3:`WATCH_CALLBACK`,WATCH_CLEANUP:4,4:`WATCH_CLEANUP`},ut={},dt=new WeakMap,ft;function pt(){return ft}function mt(e,t=!1,n=ft){if(n){let t=dt.get(n);t||dt.set(n,t=[]),t.push(e)}}function ht(e,n,r=t.EMPTY_OBJ){let{immediate:i,deep:o,once:s,scheduler:c,augmentJob:l,call:d}=r,f=e=>o?e:q(e)||o===!1||o===0?gt(e,1):gt(e),p,m,h,g,_=!1,v=!1;if(We(e)?(m=()=>e.value,_=q(e)):Re(e)?(m=()=>f(e),_=!0):t.isArray(e)?(v=!0,_=e.some(e=>Re(e)||q(e)),m=()=>e.map(e=>{if(We(e))return e.value;if(Re(e))return f(e);if(t.isFunction(e))return d?d(e,2):e()})):m=t.isFunction(e)?n?d?()=>d(e,2):e:()=>{if(h){D();try{h()}finally{k()}}let t=ft;ft=p;try{return d?d(e,3,[g]):e(g)}finally{ft=t}}:t.NOOP,n&&o){let e=m,t=o===!0?1/0:o;m=()=>gt(e(),t)}let y=a(),b=()=>{p.stop(),y&&y.active&&t.remove(y.effects,p)};if(s&&n){let e=n;n=(...t)=>{e(...t),b()}}let x=v?Array(e.length).fill(ut):ut,S=e=>{if(!(!(p.flags&1)||!p.dirty&&!e))if(n){let e=p.run();if(o||_||(v?e.some((e,n)=>t.hasChanged(e,x[n])):t.hasChanged(e,x))){h&&h();let t=ft;ft=p;try{let t=[e,x===ut?void 0:v&&x[0]===ut?[]:x,g];x=e,d?d(n,3,t):n(...t)}finally{ft=t}}}else p.run()};return l&&l(S),p=new u(m),p.scheduler=c?()=>c(S,!1):S,g=e=>mt(e,!1,p),h=p.onStop=()=>{let e=dt.get(p);if(e){if(d)d(e,4);else for(let t of e)t();dt.delete(p)}},n?i?S(!0):x=p.run():c?c(S.bind(null,!0),!0):p.run(),b.pause=p.pause.bind(p),b.resume=p.resume.bind(p),b.stop=b,b}function gt(e,n=1/0,r){if(n<=0||!t.isObject(e)||e.__v_skip||(r||=new Map,(r.get(e)||0)>=n))return e;if(r.set(e,n),n--,We(e))gt(e.value,n,r);else if(t.isArray(e))for(let t=0;t<e.length;t++)gt(e[t],n,r);else if(t.isSet(e)||t.isMap(e))e.forEach(e=>{gt(e,n,r)});else if(t.isPlainObject(e)){for(let t in e)gt(e[t],n,r);for(let t of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,t)&&gt(e[t],n,r)}return e}e.ARRAY_ITERATE_KEY=I,e.EffectFlags=c,e.EffectScope=r,e.ITERATE_KEY=P,e.MAP_KEY_ITERATE_KEY=F,e.ReactiveEffect=u,e.ReactiveFlags=ct,e.TrackOpTypes=ot,e.TriggerOpTypes=st,e.WatchErrorCodes=lt,e.computed=at,e.customRef=Qe,e.effect=C,e.effectScope=i,e.enableTracking=O,e.getCurrentScope=a,e.getCurrentWatcher=pt,e.isProxy=Be,e.isReactive=Re,e.isReadonly=ze,e.isRef=We,e.isShallow=q,e.markRaw=Ve,e.onEffectCleanup=A,e.onScopeDispose=o,e.onWatcherCleanup=mt,e.pauseTracking=D,e.proxyRefs=Ze,e.reactive=Ne,e.reactiveReadArray=z,e.readonly=Fe,e.ref=Y,e.resetTracking=k,e.shallowReactive=Pe,e.shallowReadArray=B,e.shallowReadonly=Ie,e.shallowRef=Ge,e.stop=w,e.toRaw=J,e.toReactive=He,e.toReadonly=Ue,e.toRef=nt,e.toRefs=$e,e.toValue=Xe,e.track=L,e.traverse=gt,e.trigger=R,e.triggerRef=Je,e.unref=Ye,e.watch=ht})),De=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=ie();Array.prototype,new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(t.isSymbol))})),Oe=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Ee():t.exports=De()})),ke=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Oe(),n=ie();function r(e){}function i(){}function a(e,t){}let o={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},s={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function c(e,t,n,r){try{return r?e(...r):e()}catch(e){u(e,t,n)}}function l(e,t,r,i){if(n.isFunction(e)){let a=c(e,t,r,i);return a&&n.isPromise(a)&&a.catch(e=>{u(e,t,r)}),a}if(n.isArray(e)){let n=[];for(let a=0;a<e.length;a++)n.push(l(e[a],t,r,i));return n}}function u(e,r,i,a=!0){let o=r?r.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:l}=r&&r.appContext.config||n.EMPTY_OBJ;if(r){let n=r.parent,a=r.proxy,o=`https://vuejs.org/error-reference/#runtime-${i}`;for(;n;){let t=n.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,a,o)===!1)return}n=n.parent}if(s){t.pauseTracking(),c(s,null,10,[e,a,o]),t.resetTracking();return}}d(e,i,o,a,l)}function d(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}let f=[],p=-1,m=[],h=null,g=0,_=Promise.resolve(),v=null;function y(e){let t=v||_;return e?t.then(this?e.bind(this):e):t}function b(e){let t=p+1,n=f.length;for(;t<n;){let r=t+n>>>1,i=f[r],a=E(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function x(e){if(!(e.flags&1)){let t=E(e),n=f[f.length-1];!n||!(e.flags&2)&&t>=E(n)?f.push(e):f.splice(b(t),0,e),e.flags|=1,S()}}function S(){v||=_.then(D)}function C(e){n.isArray(e)?m.push(...e):h&&e.id===-1?h.splice(g+1,0,e):e.flags&1||(m.push(e),e.flags|=1),S()}function w(e,t,n=p+1){for(;n<f.length;n++){let t=f[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;f.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function T(e){if(m.length){let e=[...new Set(m)].sort((e,t)=>E(e)-E(t));if(m.length=0,h){h.push(...e);return}for(h=e,g=0;g<h.length;g++){let e=h[g];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}h=null,g=0}}let E=e=>e.id==null?e.flags&2?-1:1/0:e.id;function D(e){try{for(p=0;p<f.length;p++){let e=f[p];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),c(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;p<f.length;p++){let e=f[p];e&&(e.flags&=-2)}p=-1,f.length=0,T(),v=null,(f.length||m.length)&&D()}}let O=null,k=null;function A(e){let t=O;return O=e,k=e&&e.type.__scopeId||null,t}function j(e){k=e}function M(){k=null}let N=e=>ee;function ee(e,t=O,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&kr(-1);let i=A(t),a;try{a=e(...n)}finally{A(i),r._d&&kr(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function te(e,r){if(O===null)return e;let i=vi(O),a=e.dirs||=[];for(let e=0;e<r.length;e++){let[o,s,c,l=n.EMPTY_OBJ]=r[e];o&&(n.isFunction(o)&&(o={mounted:o,updated:o}),o.deep&&t.traverse(s),a.push({dir:o,instance:i,value:s,oldValue:void 0,arg:c,modifiers:l}))}return e}function ne(e,n,r,i){let a=e.dirs,o=n&&n.dirs;for(let s=0;s<a.length;s++){let c=a[s];o&&(c.oldValue=o[s].value);let u=c.dir[i];u&&(t.pauseTracking(),l(u,r,8,[e.el,c,e,n]),t.resetTracking())}}function P(e,t){if(ei){let n=ei.provides,r=ei.parent&&ei.parent.provides;r===n&&(n=ei.provides=Object.create(r)),n[e]=t}}function F(e,t,r=!1){let i=ti();if(i||_n){let a=_n?_n._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return r&&n.isFunction(t)?t.call(i&&i.proxy):t}}function I(){return!!(ti()||_n)}let L=Symbol.for(`v-scx`),R=()=>F(L);function re(e,t){return H(e,null,t)}function z(e,t){return H(e,null,{flush:`post`})}function B(e,t){return H(e,null,{flush:`sync`})}function V(e,t,n){return H(e,t,n)}function H(e,r,i=n.EMPTY_OBJ){let{immediate:a,deep:o,flush:s,once:c}=i,u=n.extend({},i),d=r&&a||!r&&s!==`post`,f;if(si){if(s===`sync`){let e=R();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=n.NOOP,e.resume=n.NOOP,e.pause=n.NOOP,e}}let p=ei;u.call=(e,t,n)=>l(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{Yn(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():x(e)}),u.augmentJob=e=>{r&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=t.watch(e,r,u);return si&&(f?f.push(h):d&&h()),h}function ae(e,t,r){let i=this.proxy,a=n.isString(e)?e.includes(`.`)?oe(i,e):()=>i[e]:e.bind(i,i),o;n.isFunction(t)?o=t:(o=t.handler,r=t);let s=ii(this),c=H(a,o.bind(i),r);return s(),c}function oe(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}let se=Symbol(`_vte`),ce=e=>e.__isTeleport,U=e=>e&&(e.disabled||e.disabled===``),le=e=>e&&(e.defer||e.defer===``),ue=e=>typeof SVGElement<`u`&&e instanceof SVGElement,de=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,fe=(e,t)=>{let r=e&&e.to;return n.isString(r)?t?t(r):null:r},pe={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g}}=l,_=U(t.props),{shapeFlag:v,children:y,dynamicChildren:b}=t;if(e==null){let e=t.el=h(``),l=t.anchor=h(``);p(e,n,r),p(l,n,r);let d=(e,t)=>{v&16&&u(y,e,t,i,a,o,s,c)},f=()=>{let e=t.target=fe(t.props,m),n=he(e,t,h,p);e&&(o!==`svg`&&ue(e)?o=`svg`:o!==`mathml`&&de(e)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(e),_||(d(e,n),K(t,!1)))};_&&(d(n,l),K(t,!0)),le(t.props)?(t.el.__isMounted=!1,Yn(()=>{f(),delete t.el.__isMounted},a)):f()}else{if(le(t.props)&&e.el.__isMounted===!1){Yn(()=>{pe.process(e,t,n,r,i,a,o,s,c,l)},a);return}t.el=e.el,t.targetStart=e.targetStart;let u=t.anchor=e.anchor,p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=U(e.props),v=g?n:p,y=g?u:h;if(o===`svg`||ue(p)?o=`svg`:(o===`mathml`||de(p))&&(o=`mathml`),b?(f(e.dynamicChildren,b,v,i,a,o,s),nr(e,t,!0)):c||d(e,t,v,y,i,a,o,s,!1),_)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):me(t,n,u,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=fe(t.props,m);e&&me(t,e,null,l,0)}else g&&me(t,p,h,l,1);K(t,_)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e;if(d&&(i(l),i(u)),a&&i(c),o&16){let e=a||!U(f);for(let i=0;i<s.length;i++){let a=s[i];r(a,t,n,e,!!a.dynamicChildren)}}},move:me,hydrate:W};function me(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),(!d||U(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function W(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,t,c,l){t.anchor=d(o(e),t,s(e),n,r,i,a),t.targetStart=c,t.targetAnchor=l}let p=t.target=fe(t.props,c),m=U(t.props);if(p){let s=p._lpa||p.firstChild;if(t.shapeFlag&16)if(m)f(e,t,s,s&&o(s));else{t.anchor=o(e);let c=s;for(;c;){if(c&&c.nodeType===8){if(c.data===`teleport start anchor`)t.targetStart=c;else if(c.data===`teleport anchor`){t.targetAnchor=c,p._lpa=t.targetAnchor&&o(t.targetAnchor);break}}c=o(c)}t.targetAnchor||he(p,t,u,l),d(s&&o(s),t,p,n,r,i,a)}K(t,m)}else m&&t.shapeFlag&16&&f(e,t,e,o(e));return t.anchor&&o(t.anchor)}let G=pe;function K(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function he(e,t,n,r){let i=t.targetStart=n(``),a=t.targetAnchor=n(``);return i[se]=a,e&&(r(i,e),r(a,e)),a}let ge=Symbol(`_leaveCb`),_e=Symbol(`_enterCb`);function ve(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pt(()=>{e.isMounted=!0}),gt(()=>{e.isUnmounting=!0}),e}let ye=[Function,Array],be={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ye,onEnter:ye,onAfterEnter:ye,onEnterCancelled:ye,onBeforeLeave:ye,onLeave:ye,onAfterLeave:ye,onLeaveCancelled:ye,onBeforeAppear:ye,onAppear:ye,onAfterAppear:ye,onAppearCancelled:ye},xe=e=>{let t=e.subTree;return t.component?xe(t.component):t},Se={name:`BaseTransition`,props:be,setup(e,{slots:n}){let r=ti(),i=ve();return()=>{let a=n.default&&je(n.default(),!0);if(!a||!a.length)return;let o=Ce(a),s=t.toRaw(e),{mode:c}=s;if(i.isLeaving)return De(o);let l=ke(o);if(!l)return De(o);let u=Ee(l,s,i,r,e=>u=e);l.type!==Sr&&Ae(l,u);let d=r.subTree&&ke(r.subTree);if(d&&d.type!==Sr&&!Pr(d,l)&&xe(r).type!==Sr){let e=Ee(d,s,i,r);if(Ae(d,e),c===`out-in`&&l.type!==Sr)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,r.job.flags&8||r.update(),delete e.afterLeave,d=void 0},De(o);c===`in-out`&&l.type!==Sr?e.delayLeave=(e,t,n)=>{let r=Te(i,d);r[String(d.key)]=d,e[ge]=()=>{t(),e[ge]=void 0,delete u.delayedLeave,d=void 0},u.delayedLeave=()=>{n(),delete u.delayedLeave,d=void 0}}:d=void 0}else d&&=void 0;return o}}};function Ce(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==Sr){t=n;break}}return t}let we=Se;function Te(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ee(e,t,r,i,a){let{appear:o,mode:s,persisted:c=!1,onBeforeEnter:u,onEnter:d,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:m,onLeave:h,onAfterLeave:g,onLeaveCancelled:_,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:x}=t,S=String(e.key),C=Te(r,e),w=(e,t)=>{e&&l(e,i,9,t)},T=(e,t)=>{let r=t[1];w(e,t),n.isArray(e)?e.every(e=>e.length<=1)&&r():e.length<=1&&r()},E={mode:s,persisted:c,beforeEnter(t){let n=u;if(!r.isMounted)if(o)n=v||u;else return;t[ge]&&t[ge](!0);let i=C[S];i&&Pr(e,i)&&i.el[ge]&&i.el[ge](),w(n,[t])},enter(e){let t=d,n=f,i=p;if(!r.isMounted)if(o)t=y||d,n=b||f,i=x||p;else return;let a=!1,s=e[_e]=t=>{a||(a=!0,w(t?i:n,[e]),E.delayedLeave&&E.delayedLeave(),e[_e]=void 0)};t?T(t,[e,s]):s()},leave(t,n){let i=String(e.key);if(t[_e]&&t[_e](!0),r.isUnmounting)return n();w(m,[t]);let a=!1,o=t[ge]=r=>{a||(a=!0,n(),w(r?_:g,[t]),t[ge]=void 0,C[i]===e&&delete C[i])};C[i]=e,h?T(h,[t,o]):o()},clone(e){let n=Ee(e,t,r,i,a);return a&&a(n),n}};return E}function De(e){if(tt(e))return e=Hr(e),e.children=null,e}function ke(e){if(!tt(e))return ce(e.type)&&e.children?Ce(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&n.isFunction(r.default))return r.default()}}function Ae(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ae(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function je(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===br?(o.patchFlag&128&&i++,r=r.concat(je(o.children,t,s))):(t||o.type!==Sr)&&r.push(s==null?o:Hr(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Me(e,t){return n.isFunction(e)?(()=>n.extend({name:e.name},t,{setup:e}))():e}function Ne(){let e=ti();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+ e.ids[1]++:``}function Pe(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function Fe(e){let r=ti(),i=t.shallowRef(null);if(r){let t=r.refs===n.EMPTY_OBJ?r.refs={}:r.refs;Object.defineProperty(t,e,{enumerable:!0,get:()=>i.value,set:e=>i.value=e})}return i}let Ie=new WeakMap;function Le(e,r,i,a,o=!1){if(n.isArray(e)){e.forEach((e,t)=>Le(e,r&&(n.isArray(r)?r[t]:r),i,a,o));return}if(Qe(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Le(e,r,i,a.component.subTree);return}let s=a.shapeFlag&4?vi(a.component):a.el,l=o?null:s,{i:u,r:d}=e,f=r&&r.r,p=u.refs===n.EMPTY_OBJ?u.refs={}:u.refs,m=u.setupState,h=t.toRaw(m),g=m===n.EMPTY_OBJ?n.NO:e=>n.hasOwn(h,e);if(f!=null&&f!==d){if(Re(r),n.isString(f))p[f]=null,g(f)&&(m[f]=null);else if(t.isRef(f)){f.value=null;let e=r;e.k&&(p[e.k]=null)}}if(n.isFunction(d))c(d,u,12,[l,p]);else{let r=n.isString(d),a=t.isRef(d);if(r||a){let t=()=>{if(e.f){let t=r?g(d)?m[d]:p[d]:d.value;if(o)n.isArray(t)&&n.remove(t,s);else if(n.isArray(t))t.includes(s)||t.push(s);else if(r)p[d]=[s],g(d)&&(m[d]=p[d]);else{let t=[s];d.value=t,e.k&&(p[e.k]=t)}}else r?(p[d]=l,g(d)&&(m[d]=l)):a&&(d.value=l,e.k&&(p[e.k]=l))};if(l){let n=()=>{t(),Ie.delete(e)};n.id=-1,Ie.set(e,n),Yn(n,i)}else Re(e),t()}}}function Re(e){let t=Ie.get(e);t&&(t.flags|=8,Ie.delete(e))}let ze=!1,q=()=>{ze||=(console.error(`Hydration completed but contains mismatches.`),!0)},Be=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,J=e=>e.namespaceURI.includes(`MathML`),Ve=e=>{if(e.nodeType===1){if(Be(e))return`svg`;if(J(e))return`mathml`}},He=e=>e.nodeType===8;function Ue(e){let{mt:r,p:i,o:{patchProp:a,createText:o,nextSibling:s,parentNode:c,remove:l,insert:u,createComment:d}}=e,f=(e,t)=>{if(!t.hasChildNodes()){i(null,e,t),T(),t._vnode=e;return}p(t.firstChild,e,null,null,null),T(),t._vnode=e},p=(t,n,i,a,l,d=!1)=>{d||=!!n.dynamicChildren;let f=He(t)&&t.data===`[`,x=()=>_(t,n,i,a,l,f),{type:S,ref:C,shapeFlag:w,patchFlag:T}=n,E=t.nodeType;n.el=t,T===-2&&(d=!1,n.dynamicChildren=null);let D=null;switch(S){case xr:E===3?(t.data!==n.children&&(q(),t.data=n.children),D=s(t)):n.children===``?(u(n.el=o(``),c(t),t),D=t):D=x();break;case Sr:b(t)?(D=s(t),y(n.el=t.content.firstChild,t,i)):D=E!==8||f?x():s(t);break;case Cr:if(f&&(t=s(t),E=t.nodeType),E===1||E===3){D=t;let e=!n.children.length;for(let t=0;t<n.staticCount;t++)e&&(n.children+=D.nodeType===1?D.outerHTML:D.data),t===n.staticCount-1&&(n.anchor=D),D=s(D);return f?s(D):D}else x();break;case br:D=f?g(t,n,i,a,l,d):x();break;default:if(w&1)D=(E!==1||n.type.toLowerCase()!==t.tagName.toLowerCase())&&!b(t)?x():m(t,n,i,a,l,d);else if(w&6){n.slotScopeIds=l;let e=c(t);if(D=f?v(t):He(t)&&t.data===`teleport start`?v(t,t.data,`teleport end`):s(t),r(n,e,null,i,a,Ve(e),d),Qe(n)&&!n.type.__asyncResolved){let r;f?(r=zr(br),r.anchor=D?D.previousSibling:e.lastChild):r=t.nodeType===3?Ur(``):zr(`div`),r.el=t,n.component.subTree=r}}else w&64?D=E===8?n.type.hydrate(t,n,i,a,l,d,e,h):x():w&128&&(D=n.type.hydrate(t,n,i,a,Ve(c(t)),l,d,e,p))}return C!=null&&Le(C,null,a,n),D},m=(e,r,i,o,s,c)=>{c||=!!r.dynamicChildren;let{type:u,props:d,patchFlag:f,shapeFlag:p,dirs:m,transition:g}=r,_=u===`input`||u===`option`;if(_||f!==-1){m&&ne(r,null,i,`created`);let u=!1;if(b(e)){u=tr(null,g)&&i&&i.vnode.props&&i.vnode.props.appear;let t=e.content.firstChild;if(u){let e=t.getAttribute(`class`);e&&(t.$cls=e),g.beforeEnter(t)}y(t,e,i),r.el=e=t}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let t=h(e.firstChild,r,e,i,o,s,c);for(;t;){Ge(e,1)||q();let n=t;t=t.nextSibling,l(n)}}else if(p&8){let t=r.children;t[0]===`
39
- `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(t=t.slice(1));let{textContent:n}=e;n!==t&&n!==t.replace(/\r\n|\r/g,`
40
- `)&&(Ge(e,0)||q(),e.textContent=r.children)}if(d){if(_||!c||f&48){let t=e.tagName.includes(`-`);for(let r in d)(_&&(r.endsWith(`value`)||r===`indeterminate`)||n.isOn(r)&&!n.isReservedProp(r)||r[0]===`.`||t)&&a(e,r,null,d[r],void 0,i)}else if(d.onClick)a(e,`onClick`,null,d.onClick,void 0,i);else if(f&4&&t.isReactive(d.style))for(let e in d.style)d.style[e]}let v;(v=d&&d.onVnodeBeforeMount)&&Xr(v,i,r),m&&ne(r,null,i,`beforeMount`),((v=d&&d.onVnodeMounted)||m||u)&&_r(()=>{v&&Xr(v,i,r),u&&g.enter(e),m&&ne(r,null,i,`mounted`)},o)}return e.nextSibling},h=(e,t,n,r,a,c,l)=>{l||=!!t.dynamicChildren;let d=t.children,f=d.length;for(let t=0;t<f;t++){let m=l?d[t]:d[t]=Kr(d[t]),h=m.type===xr;e?(h&&!l&&t+1<f&&Kr(d[t+1]).type===xr&&(u(o(e.data.slice(m.children.length)),n,s(e)),e.data=m.children),e=p(e,m,r,a,c,l)):h&&!m.children?u(m.el=o(``),n):(Ge(n,1)||q(),i(null,m,n,null,r,a,Ve(n),c))}return e},g=(e,t,n,r,i,a)=>{let{slotScopeIds:o}=t;o&&(i=i?i.concat(o):o);let l=c(e),f=h(s(e),t,l,n,r,i,a);return f&&He(f)&&f.data===`]`?s(t.anchor=f):(q(),u(t.anchor=d(`]`),l,f),f)},_=(e,t,n,r,a,o)=>{if(Ge(e.parentElement,1)||q(),t.el=null,o){let t=v(e);for(;;){let n=s(e);if(n&&n!==t)l(n);else break}}let u=s(e),d=c(e);return l(e),i(null,t,d,u,n,r,Ve(d),a),n&&(n.vnode.el=t.el,An(n,t.el)),u},v=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=s(e),e&&He(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return s(e);r--}return e},y=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},b=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[f,p]}let We=`data-allow-mismatch`,Y={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Ge(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(We);)e=e.parentElement;let n=e&&e.getAttribute(We);if(n==null)return!1;if(n===``)return!0;{let e=n.split(`,`);return t===0&&e.includes(`children`)?!0:e.includes(Y[t])}}let Ke=n.getGlobalThis().requestIdleCallback||(e=>setTimeout(e,1)),qe=n.getGlobalThis().cancelIdleCallback||(e=>clearTimeout(e)),Je=(e=1e4)=>t=>{let n=Ke(t,{timeout:e});return()=>qe(n)};function Ye(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}let Xe=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(Ye(e))return t(),r.disconnect(),!1;r.observe(e)}}),()=>r.disconnect()},X=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},Ze=(e=[])=>(t,r)=>{n.isString(e)&&(e=[e]);let i=!1,a=e=>{i||(i=!0,o(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},o=()=>{r(t=>{for(let n of e)t.removeEventListener(n,a)})};return r(t=>{for(let n of e)t.addEventListener(n,a,{once:!0})}),o};function Z(e,t){if(He(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(He(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}let Qe=e=>!!e.type.__asyncLoader;function $e(e){n.isFunction(e)&&(e={loader:e});let{loader:r,loadingComponent:i,errorComponent:a,delay:o=200,hydrate:s,timeout:c,suspensible:l=!0,onError:d}=e,f=null,p,m=0,h=()=>(m++,f=null,g()),g=()=>{let e;return f||(e=f=r().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),d)return new Promise((t,n)=>{d(e,()=>t(h()),()=>n(e),m+1)});throw e}).then(t=>e!==f&&f?f:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),p=t,t)))};return Me({name:`AsyncComponentWrapper`,__asyncLoader:g,__asyncHydrate(e,t,n){let r=!1;(t.bu||=[]).push(()=>r=!0);let i=()=>{r||n()},a=s?()=>{let n=s(i,t=>Z(e,t));n&&(t.bum||=[]).push(n)}:i;p?a():g().then(()=>!t.isUnmounted&&a())},get __asyncResolved(){return p},setup(){let e=ei;if(Pe(e),p)return()=>et(p,e);let n=t=>{f=null,u(t,e,13,!a)};if(l&&e.suspense||si)return g().then(t=>()=>et(t,e)).catch(e=>(n(e),()=>a?zr(a,{error:e}):null));let r=t.ref(!1),s=t.ref(),d=t.ref(!!o);return o&&setTimeout(()=>{d.value=!1},o),c!=null&&setTimeout(()=>{if(!r.value&&!s.value){let e=Error(`Async component timed out after ${c}ms.`);n(e),s.value=e}},c),g().then(()=>{r.value=!0,e.parent&&tt(e.parent.vnode)&&e.parent.update()}).catch(e=>{n(e),s.value=e}),()=>{if(r.value&&p)return et(p,e);if(s.value&&a)return zr(a,{error:s.value});if(i&&!d.value)return et(i,e)}}})}function et(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=zr(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}let tt=e=>e.type.__isKeepAlive,nt={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let r=ti(),i=r.ctx;if(!i.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let a=new Map,o=new Set,s=null,c=r.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:f}}}=i,p=f(`div`);i.activate=(e,t,r,i,a)=>{let o=e.component;u(e,t,r,0,c),l(o.vnode,e,t,r,o,c,i,e.slotScopeIds,a),Yn(()=>{o.isDeactivated=!1,o.a&&n.invokeArrayFns(o.a);let t=e.props&&e.props.onVnodeMounted;t&&Xr(t,o.parent,e)},c)},i.deactivate=e=>{let t=e.component;ar(t.m),ar(t.a),u(e,p,null,1,c),Yn(()=>{t.da&&n.invokeArrayFns(t.da);let r=e.props&&e.props.onVnodeUnmounted;r&&Xr(r,t.parent,e),t.isDeactivated=!0},c)};function m(e){ct(e),d(e,r,c,!0)}function h(e){a.forEach((t,n)=>{let r=yi(Qe(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&g(n)})}function g(e){let t=a.get(e);t&&(!s||!Pr(t,s))?m(t):s&&ct(s),a.delete(e),o.delete(e)}V(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>rt(e,t)),t&&h(e=>!rt(t,e))},{flush:`post`,deep:!0});let _=null,v=()=>{_!=null&&(sr(r.subTree.type)?Yn(()=>{a.set(_,lt(r.subTree))},r.subTree.suspense):a.set(_,lt(r.subTree)))};return pt(v),ht(v),gt(()=>{a.forEach(e=>{let{subTree:t,suspense:n}=r,i=lt(t);if(e.type===i.type&&e.key===i.key){ct(i);let e=i.component.da;e&&Yn(e,n);return}m(e)})}),()=>{if(_=null,!t.default)return s=null;let n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!Nr(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return s=null,r;let i=lt(r);if(i.type===Sr)return s=null,i;let c=i.type,l=yi(Qe(i)?i.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!rt(u,l))||d&&l&&rt(d,l))return i.shapeFlag&=-257,s=i,r;let p=i.key==null?c:i.key,m=a.get(p);return i.el&&(i=Hr(i),r.shapeFlag&128&&(r.ssContent=i)),_=p,m?(i.el=m.el,i.component=m.component,i.transition&&Ae(i,i.transition),i.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),f&&o.size>parseInt(f,10)&&g(o.values().next().value)),i.shapeFlag|=256,s=i,sr(r.type)?r:i}}};function rt(e,t){return n.isArray(e)?e.some(e=>rt(e,t)):n.isString(e)?e.split(`,`).includes(t):n.isRegExp(e)?(e.lastIndex=0,e.test(t)):!1}function it(e,t){ot(e,`a`,t)}function at(e,t){ot(e,`da`,t)}function ot(e,t,n=ei){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(ut(t,r,n),n){let e=n.parent;for(;e&&e.parent;)tt(e.parent.vnode)&&st(r,t,n,e),e=e.parent}}function st(e,t,r,i){let a=ut(t,e,i,!0);_t(()=>{n.remove(i[t],a)},r)}function ct(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function lt(e){return e.shapeFlag&128?e.ssContent:e}function ut(e,n,r=ei,i=!1){if(r){let a=r[e]||(r[e]=[]),o=n.__weh||=(...i)=>{t.pauseTracking();let a=ii(r),o=l(n,r,e,i);return a(),t.resetTracking(),o};return i?a.unshift(o):a.push(o),o}}let dt=e=>(t,n=ei)=>{(!si||e===`sp`)&&ut(e,(...e)=>t(...e),n)},ft=dt(`bm`),pt=dt(`m`),mt=dt(`bu`),ht=dt(`u`),gt=dt(`bum`),_t=dt(`um`),vt=dt(`sp`),yt=dt(`rtg`),bt=dt(`rtc`);function xt(e,t=ei){ut(`ec`,e,t)}let St=`components`;function Ct(e,t){return Dt(St,e,!0,t)||e}let wt=Symbol.for(`v-ndc`);function Tt(e){return n.isString(e)?Dt(St,e,!1)||e:e||wt}function Et(e){return Dt(`directives`,e)}function Dt(e,t,r=!0,i=!1){let a=O||ei;if(a){let r=a.type;if(e===St){let e=yi(r,!1);if(e&&(e===t||e===n.camelize(t)||e===n.capitalize(n.camelize(t))))return r}let o=Ot(a[e]||r[e],t)||Ot(a.appContext[e],t);return!o&&i?r:o}}function Ot(e,t){return e&&(e[t]||e[n.camelize(t)]||e[n.capitalize(n.camelize(t))])}function kt(e,r,i,a){let o,s=i&&i[a],c=n.isArray(e);if(c||n.isString(e)){let n=c&&t.isReactive(e),i=!1,a=!1;n&&(i=!t.isShallow(e),a=t.isReadonly(e),e=t.shallowReadArray(e)),o=Array(e.length);for(let n=0,c=e.length;n<c;n++)o[n]=r(i?a?t.toReadonly(t.toReactive(e[n])):t.toReactive(e[n]):e[n],n,void 0,s&&s[n])}else if(typeof e==`number`){o=Array(e);for(let t=0;t<e;t++)o[t]=r(t+1,t,void 0,s&&s[t])}else if(n.isObject(e))if(e[Symbol.iterator])o=Array.from(e,(e,t)=>r(e,t,void 0,s&&s[t]));else{let t=Object.keys(e);o=Array(t.length);for(let n=0,i=t.length;n<i;n++){let i=t[n];o[n]=r(e[i],i,n,s&&s[n])}}else o=[];return i&&(i[a]=o),o}function At(e,t){for(let r=0;r<t.length;r++){let i=t[r];if(n.isArray(i))for(let t=0;t<i.length;t++)e[i[t].name]=i[t].fn;else i&&(e[i.name]=i.key?(...e)=>{let t=i.fn(...e);return t&&(t.key=i.key),t}:i.fn)}return e}function jt(e,t,r={},i,a){if(O.ce||O.parent&&Qe(O.parent)&&O.parent.ce){let e=Object.keys(r).length>0;return t!==`default`&&(r.name=t),Er(),Mr(br,null,[zr(`slot`,r,i&&i())],e?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Er();let s=o&&Mt(o(r)),c=r.key||s&&s.key,l=Mr(br,{key:(c&&!n.isSymbol(c)?c:`_${t}`)+(!s&&i?`_fb`:``)},s||(i?i():[]),s&&e._===1?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),o&&o._c&&(o._d=!0),l}function Mt(e){return e.some(e=>Nr(e)?!(e.type===Sr||e.type===br&&!Mt(e.children)):!0)?e:null}function Nt(e,t){let r={};for(let i in e)r[t&&/[A-Z]/.test(i)?`on:${i}`:n.toHandlerKey(i)]=e[i];return r}let Pt=e=>e?oi(e)?vi(e):Pt(e.parent):null,Ft=n.extend(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Pt(e.parent),$root:e=>Pt(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rn(e),$forceUpdate:e=>e.f||=()=>{x(e.update)},$nextTick:e=>e.n||=y.bind(e.proxy),$watch:e=>ae.bind(e)}),It=(e,t)=>e!==n.EMPTY_OBJ&&!e.__isScriptSetup&&n.hasOwn(e,t),Lt={get({_:e},r){if(r===`__v_skip`)return!0;let{ctx:i,setupState:a,data:o,props:s,accessCache:c,type:l,appContext:u}=e;if(r[0]!==`$`){let e=c[r];if(e!==void 0)switch(e){case 1:return a[r];case 2:return o[r];case 4:return i[r];case 3:return s[r]}else if(It(a,r))return c[r]=1,a[r];else if(o!==n.EMPTY_OBJ&&n.hasOwn(o,r))return c[r]=2,o[r];else if(n.hasOwn(s,r))return c[r]=3,s[r];else if(i!==n.EMPTY_OBJ&&n.hasOwn(i,r))return c[r]=4,i[r];else Qt&&(c[r]=0)}let d=Ft[r],f,p;if(d)return r===`$attrs`&&t.track(e.attrs,`get`,``),d(e);if((f=l.__cssModules)&&(f=f[r]))return f;if(i!==n.EMPTY_OBJ&&n.hasOwn(i,r))return c[r]=4,i[r];if(p=u.config.globalProperties,n.hasOwn(p,r))return p[r]},set({_:e},t,r){let{data:i,setupState:a,ctx:o}=e;return It(a,t)?(a[t]=r,!0):i!==n.EMPTY_OBJ&&n.hasOwn(i,t)?(i[t]=r,!0):n.hasOwn(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(o[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==n.EMPTY_OBJ&&c[0]!==`$`&&n.hasOwn(e,c)||It(t,c)||n.hasOwn(o,c)||n.hasOwn(i,c)||n.hasOwn(Ft,c)||n.hasOwn(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,r){return r.get==null?n.hasOwn(r,`value`)&&this.set(e,t,r.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,r)}},Rt=n.extend({},Lt,{get(e,t){if(t!==Symbol.unscopables)return Lt.get(e,t,e)},has(e,t){return t[0]!==`_`&&!n.isGloballyAllowed(t)}});function zt(){return null}function Bt(){return null}function Vt(e){}function Q(e){}function Ht(){return null}function Ut(){}function Wt(e,t){return null}function Gt(){return qt().slots}function Kt(){return qt().attrs}function qt(e){let t=ti();return t.setupContext||=_i(t)}function Jt(e){return n.isArray(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Yt(e,t){let r=Jt(e);for(let e in t){if(e.startsWith(`__skip`))continue;let i=r[e];i?n.isArray(i)||n.isFunction(i)?i=r[e]={type:i,default:t[e]}:i.default=t[e]:i===null&&(i=r[e]={default:t[e]}),i&&t[`__skip_${e}`]&&(i.skipFactory=!0)}return r}function Xt(e,t){return!e||!t?e||t:n.isArray(e)&&n.isArray(t)?e.concat(t):n.extend({},Jt(e),Jt(t))}function $(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Zt(e){let t=ti(),r=e();return ai(),n.isPromise(r)&&(r=r.catch(e=>{throw ii(t),e})),[r,()=>ii(t)]}let Qt=!0;function $t(e){let r=rn(e),i=e.proxy,a=e.ctx;Qt=!1,r.beforeCreate&&tn(r.beforeCreate,e,`bc`);let{data:o,computed:s,methods:c,watch:l,provide:u,inject:d,created:f,beforeMount:p,mounted:m,beforeUpdate:h,updated:g,activated:_,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:x,unmounted:S,render:C,renderTracked:w,renderTriggered:T,errorCaptured:E,serverPrefetch:D,expose:O,inheritAttrs:k,components:A,directives:j,filters:M}=r;if(d&&en(d,a,null),c)for(let e in c){let t=c[e];n.isFunction(t)&&(a[e]=t.bind(i))}if(o){let r=o.call(i,i);n.isObject(r)&&(e.data=t.reactive(r))}if(Qt=!0,s)for(let e in s){let t=s[e],r=xi({get:n.isFunction(t)?t.bind(i,i):n.isFunction(t.get)?t.get.bind(i,i):n.NOOP,set:!n.isFunction(t)&&n.isFunction(t.set)?t.set.bind(i):n.NOOP});Object.defineProperty(a,e,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e})}if(l)for(let e in l)nn(l[e],a,i,e);if(u){let e=n.isFunction(u)?u.call(i):u;Reflect.ownKeys(e).forEach(t=>{P(t,e[t])})}f&&tn(f,e,`c`);function N(e,t){n.isArray(t)?t.forEach(t=>e(t.bind(i))):t&&e(t.bind(i))}if(N(ft,p),N(pt,m),N(mt,h),N(ht,g),N(it,_),N(at,v),N(xt,E),N(bt,w),N(yt,T),N(gt,b),N(_t,S),N(vt,D),n.isArray(O))if(O.length){let t=e.exposed||={};O.forEach(e=>{Object.defineProperty(t,e,{get:()=>i[e],set:t=>i[e]=t,enumerable:!0})})}else e.exposed||={};C&&e.render===n.NOOP&&(e.render=C),k!=null&&(e.inheritAttrs=k),A&&(e.components=A),j&&(e.directives=j),D&&Pe(e)}function en(e,r,i=n.NOOP){for(let i in n.isArray(e)&&(e=ln(e)),e){let a=e[i],o;o=n.isObject(a)?`default`in a?F(a.from||i,a.default,!0):F(a.from||i):F(a),t.isRef(o)?Object.defineProperty(r,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):r[i]=o}}function tn(e,t,r){l(n.isArray(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,r)}function nn(e,t,r,i){let a=i.includes(`.`)?oe(r,i):()=>r[i];if(n.isString(e)){let r=t[e];n.isFunction(r)&&V(a,r)}else if(n.isFunction(e))V(a,e.bind(r));else if(n.isObject(e))if(n.isArray(e))e.forEach(e=>nn(e,t,r,i));else{let i=n.isFunction(e.handler)?e.handler.bind(r):t[e.handler];n.isFunction(i)&&V(a,i,e)}}function rn(e){let t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,c=o.get(t),l;return c?l=c:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(e=>an(l,e,s,!0)),an(l,t,s)),n.isObject(t)&&o.set(t,l),l}function an(e,t,n,r=!1){let{mixins:i,extends:a}=t;for(let o in a&&an(e,a,n,!0),i&&i.forEach(t=>an(e,t,n,!0)),t)if(!(r&&o===`expose`)){let r=on[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}let on={data:sn,props:fn,emits:fn,methods:dn,computed:dn,beforeCreate:un,created:un,beforeMount:un,mounted:un,beforeUpdate:un,updated:un,beforeDestroy:un,beforeUnmount:un,destroyed:un,unmounted:un,activated:un,deactivated:un,errorCaptured:un,serverPrefetch:un,components:dn,directives:dn,watch:pn,provide:sn,inject:cn};function sn(e,t){return t?e?function(){return n.extend(n.isFunction(e)?e.call(this,this):e,n.isFunction(t)?t.call(this,this):t)}:t:e}function cn(e,t){return dn(ln(e),ln(t))}function ln(e){if(n.isArray(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function un(e,t){return e?[...new Set([].concat(e,t))]:t}function dn(e,t){return e?n.extend(Object.create(null),e,t):t}function fn(e,t){return e?n.isArray(e)&&n.isArray(t)?[...new Set([...e,...t])]:n.extend(Object.create(null),Jt(e),Jt(t??{})):t}function pn(e,t){if(!e)return t;if(!t)return e;let r=n.extend(Object.create(null),e);for(let n in t)r[n]=un(e[n],t[n]);return r}function mn(){return{app:null,config:{isNativeTag:n.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let hn=0;function gn(e,t){return function(r,i=null){n.isFunction(r)||(r=n.extend({},r)),i!=null&&!n.isObject(i)&&(i=null);let a=mn(),o=new WeakSet,s=[],c=!1,u=a.app={_uid:hn++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:Ei,get config(){return a.config},set config(e){},use(e,...t){return o.has(e)||(e&&n.isFunction(e.install)?(o.add(e),e.install(u,...t)):n.isFunction(e)&&(o.add(e),e(u,...t))),u},mixin(e){return a.mixins.includes(e)||a.mixins.push(e),u},component(e,t){return t?(a.components[e]=t,u):a.components[e]},directive(e,t){return t?(a.directives[e]=t,u):a.directives[e]},mount(n,o,s){if(!c){let l=u._ceVNode||zr(r,i);return l.appContext=a,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(l,n):e(l,n,s),c=!0,u._container=n,n.__vue_app__=u,vi(l.component)}},onUnmount(e){s.push(e)},unmount(){c&&(l(s,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(e,t){return a.provides[e]=t,u},runWithContext(e){let t=_n;_n=u;try{return e()}finally{_n=t}}};return u}}let _n=null;function vn(e,r,i=n.EMPTY_OBJ){let a=ti(),o=n.camelize(r),s=n.hyphenate(r),c=yn(e,o),l=t.customRef((t,c)=>{let l,u=n.EMPTY_OBJ,d;return B(()=>{let t=e[o];n.hasChanged(l,t)&&(l=t,c())}),{get(){return t(),i.get?i.get(l):l},set(e){let t=i.set?i.set(e):e;if(!n.hasChanged(t,l)&&!(u!==n.EMPTY_OBJ&&n.hasChanged(e,u)))return;let f=a.vnode.props;f&&(r in f||o in f||s in f)&&(`onUpdate:${r}`in f||`onUpdate:${o}`in f||`onUpdate:${s}`in f)||(l=e,c()),a.emit(`update:${r}`,t),n.hasChanged(e,t)&&n.hasChanged(e,u)&&!n.hasChanged(t,d)&&c(),u=e,d=t}}});return l[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?c||n.EMPTY_OBJ:l,done:!1}:{done:!0}}}},l}let yn=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${n.camelize(t)}Modifiers`]||e[`${n.hyphenate(t)}Modifiers`];function bn(e,t,...r){if(e.isUnmounted)return;let i=e.vnode.props||n.EMPTY_OBJ,a=r,o=t.startsWith(`update:`),s=o&&yn(i,t.slice(7));s&&(s.trim&&(a=r.map(e=>n.isString(e)?e.trim():e)),s.number&&(a=r.map(n.looseToNumber)));let c,u=i[c=n.toHandlerKey(t)]||i[c=n.toHandlerKey(n.camelize(t))];!u&&o&&(u=i[c=n.toHandlerKey(n.hyphenate(t))]),u&&l(u,e,6,a);let d=i[c+`Once`];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,l(d,e,6,a)}}let xn=new WeakMap;function Sn(e,t,r=!1){let i=r?xn:t.emitsCache,a=i.get(e);if(a!==void 0)return a;let o=e.emits,s={},c=!1;if(!n.isFunction(e)){let i=e=>{let r=Sn(e,t,!0);r&&(c=!0,n.extend(s,r))};!r&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!o&&!c?(n.isObject(e)&&i.set(e,null),null):(n.isArray(o)?o.forEach(e=>s[e]=null):n.extend(s,o),n.isObject(e)&&i.set(e,s),s)}function Cn(e,t){return!e||!n.isOn(t)?!1:(t=t.slice(2).replace(/Once$/,``),n.hasOwn(e,t[0].toLowerCase()+t.slice(1))||n.hasOwn(e,n.hyphenate(t))||n.hasOwn(e,t))}function wn(e){let{type:t,vnode:r,proxy:i,withProxy:a,propsOptions:[o],slots:s,attrs:c,emit:l,render:d,renderCache:f,props:p,data:m,setupState:h,ctx:g,inheritAttrs:_}=e,v=A(e),y,b;try{if(r.shapeFlag&4){let e=a||i,t=e;y=Kr(d.call(t,e,f,p,h,m,g)),b=c}else{let e=t;y=Kr(e.length>1?e(p,{attrs:c,slots:s,emit:l}):e(p,null)),b=t.props?c:En(c)}}catch(t){wr.length=0,u(t,e,1),y=zr(Sr)}let x=y;if(b&&_!==!1){let e=Object.keys(b),{shapeFlag:t}=x;e.length&&t&7&&(o&&e.some(n.isModelListener)&&(b=Dn(b,o)),x=Hr(x,b,!1,!0))}return r.dirs&&(x=Hr(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(r.dirs):r.dirs),r.transition&&Ae(x,r.transition),y=x,A(v),y}function Tn(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Nr(r)){if(r.type!==Sr||r.children===`v-if`){if(n)return;n=r}}else return}return n}let En=e=>{let t;for(let r in e)(r===`class`||r===`style`||n.isOn(r))&&((t||={})[r]=e[r]);return t},Dn=(e,t)=>{let r={};for(let i in e)(!n.isModelListener(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function On(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?kn(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(o[n]!==r[n]&&!Cn(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?kn(r,o,l):!0:!!o;return!1}function kn(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(t[a]!==e[a]&&!Cn(n,a))return!0}return!1}function An({vnode:e,parent:t},n){for(;t;){let r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}let jn={},Mn=()=>Object.create(jn),Nn=e=>Object.getPrototypeOf(e)===jn;function Pn(e,n,r,i=!1){let a={},o=Mn();for(let t in e.propsDefaults=Object.create(null),In(e,n,a,o),e.propsOptions[0])t in a||(a[t]=void 0);r?e.props=i?a:t.shallowReactive(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function Fn(e,r,i,a){let{props:o,attrs:s,vnode:{patchFlag:c}}=e,l=t.toRaw(o),[u]=e.propsOptions,d=!1;if((a||c>0)&&!(c&16)){if(c&8){let t=e.vnode.dynamicProps;for(let i=0;i<t.length;i++){let a=t[i];if(Cn(e.emitsOptions,a))continue;let c=r[a];if(u)if(n.hasOwn(s,a))c!==s[a]&&(s[a]=c,d=!0);else{let t=n.camelize(a);o[t]=Ln(u,l,t,c,e,!1)}else c!==s[a]&&(s[a]=c,d=!0)}}}else{In(e,r,o,s)&&(d=!0);let t;for(let a in l)(!r||!n.hasOwn(r,a)&&((t=n.hyphenate(a))===a||!n.hasOwn(r,t)))&&(u?i&&(i[a]!==void 0||i[t]!==void 0)&&(o[a]=Ln(u,l,a,void 0,e,!0)):delete o[a]);if(s!==l)for(let e in s)(!r||!n.hasOwn(r,e))&&(delete s[e],d=!0)}d&&t.trigger(e.attrs,`set`,``)}function In(e,r,i,a){let[o,s]=e.propsOptions,c=!1,l;if(r)for(let t in r){if(n.isReservedProp(t))continue;let u=r[t],d;o&&n.hasOwn(o,d=n.camelize(t))?!s||!s.includes(d)?i[d]=u:(l||={})[d]=u:Cn(e.emitsOptions,t)||(!(t in a)||u!==a[t])&&(a[t]=u,c=!0)}if(s){let r=t.toRaw(i),a=l||n.EMPTY_OBJ;for(let t=0;t<s.length;t++){let c=s[t];i[c]=Ln(o,r,c,a[c],e,!n.hasOwn(a,c))}}return c}function Ln(e,t,r,i,a,o){let s=e[r];if(s!=null){let e=n.hasOwn(s,`default`);if(e&&i===void 0){let e=s.default;if(s.type!==Function&&!s.skipFactory&&n.isFunction(e)){let{propsDefaults:n}=a;if(r in n)i=n[r];else{let o=ii(a);i=n[r]=e.call(null,t),o()}}else i=e;a.ce&&a.ce._setProp(r,i)}s[0]&&(o&&!e?i=!1:s[1]&&(i===``||i===n.hyphenate(r))&&(i=!0))}return i}let Rn=new WeakMap;function zn(e,t,r=!1){let i=r?Rn:t.propsCache,a=i.get(e);if(a)return a;let o=e.props,s={},c=[],l=!1;if(!n.isFunction(e)){let i=e=>{l=!0;let[r,i]=zn(e,t,!0);n.extend(s,r),i&&c.push(...i)};!r&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!o&&!l)return n.isObject(e)&&i.set(e,n.EMPTY_ARR),n.EMPTY_ARR;if(n.isArray(o))for(let e=0;e<o.length;e++){let t=n.camelize(o[e]);Bn(t)&&(s[t]=n.EMPTY_OBJ)}else if(o)for(let e in o){let t=n.camelize(e);if(Bn(t)){let r=o[e],i=s[t]=n.isArray(r)||n.isFunction(r)?{type:r}:n.extend({},r),a=i.type,l=!1,u=!0;if(n.isArray(a))for(let e=0;e<a.length;++e){let t=a[e],r=n.isFunction(t)&&t.name;if(r===`Boolean`){l=!0;break}else r===`String`&&(u=!1)}else l=n.isFunction(a)&&a.name===`Boolean`;i[0]=l,i[1]=u,(l||n.hasOwn(i,`default`))&&c.push(t)}}let u=[s,c];return n.isObject(e)&&i.set(e,u),u}function Bn(e){return e[0]!==`$`&&!n.isReservedProp(e)}let Vn=e=>e===`_`||e===`_ctx`||e===`$stable`,Hn=e=>n.isArray(e)?e.map(Kr):[Kr(e)],Un=(e,t,n)=>{if(t._n)return t;let r=ee((...e)=>Hn(t(...e)),n);return r._c=!1,r},Wn=(e,t,r)=>{let i=e._ctx;for(let r in e){if(Vn(r))continue;let a=e[r];if(n.isFunction(a))t[r]=Un(r,a,i);else if(a!=null){let e=Hn(a);t[r]=()=>e}}},Gn=(e,t)=>{let n=Hn(t);e.slots.default=()=>n},Kn=(e,t,n)=>{for(let r in t)(n||!Vn(r))&&(e[r]=t[r])},qn=(e,t,r)=>{let i=e.slots=Mn();if(e.vnode.shapeFlag&32){let e=t._;e?(Kn(i,t,r),r&&n.def(i,`_`,e,!0)):Wn(t,i)}else t&&Gn(e,t)},Jn=(e,t,r)=>{let{vnode:i,slots:a}=e,o=!0,s=n.EMPTY_OBJ;if(i.shapeFlag&32){let e=t._;e?r&&e===1?o=!1:Kn(a,t,r):(o=!t.$stable,Wn(t,a)),s=t}else t&&(Gn(e,t),s={default:1});if(o)for(let e in a)!Vn(e)&&s[e]==null&&delete a[e]},Yn=_r;function Xn(e){return Qn(e)}function Zn(e){return Qn(e,Ue)}function Qn(e,r){let i=n.getGlobalThis();i.__VUE__=!0;let{insert:a,remove:o,patchProp:s,createElement:c,createText:l,createComment:u,setText:d,setElementText:f,parentNode:p,nextSibling:m,setScopeId:h=n.NOOP,insertStaticContent:g}=e,_=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Pr(e,t)&&(r=oe(e),B(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case xr:v(e,t,n,r);break;case Sr:y(e,t,n,r);break;case Cr:e??b(t,n,r,o);break;case br:N(e,t,n,r,i,a,o,s,c);break;default:d&1?E(e,t,n,r,i,a,o,s,c):d&6?ee(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,le)}u!=null&&i?Le(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Le(e.ref,null,a,e,!0)},v=(e,t,n,r)=>{if(e==null)a(t.el=l(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},y=(e,t,n,r)=>{e==null?a(t.el=u(t.children||``),n,r):t.el=e.el},b=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=m(e),a(e,n,r),e=i;a(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),o(e),e=n;o(t)},E=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)D(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),A(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},D=(e,t,r,i,o,l,u,d)=>{let p,m,{props:h,shapeFlag:g,transition:_,dirs:v}=e;if(p=e.el=c(e.type,l,h&&h.is,h),g&8?f(p,e.children):g&16&&k(e.children,p,null,i,o,$n(e,l),u,d),v&&ne(e,null,i,`created`),O(p,e,e.scopeId,u,i),h){for(let e in h)e!==`value`&&!n.isReservedProp(e)&&s(p,e,null,h[e],l,i);`value`in h&&s(p,`value`,null,h.value,l),(m=h.onVnodeBeforeMount)&&Xr(m,i,e)}v&&ne(e,null,i,`beforeMount`);let y=tr(o,_);y&&_.beforeEnter(p),a(p,t,r),((m=h&&h.onVnodeMounted)||y||v)&&Yn(()=>{m&&Xr(m,i,e),y&&_.enter(p),v&&ne(e,null,i,`mounted`)},o)},O=(e,t,n,r,i)=>{if(n&&h(e,n),r)for(let t=0;t<r.length;t++)h(e,r[t]);if(i){let n=i.subTree;if(t===n||sr(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;O(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},k=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)_(null,e[l]=s?qr(e[l]):Kr(e[l]),t,n,r,i,a,o,s)},A=(e,t,r,i,a,o,c)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=e.patchFlag&16;let m=e.props||n.EMPTY_OBJ,h=t.props||n.EMPTY_OBJ,g;if(r&&er(r,!1),(g=h.onVnodeBeforeUpdate)&&Xr(g,r,t,e),p&&ne(t,e,r,`beforeUpdate`),r&&er(r,!0),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&f(l,``),d?j(e.dynamicChildren,d,l,r,i,$n(t,a),o):c||L(e,t,l,null,r,i,$n(t,a),o,!1),u>0){if(u&16)M(l,m,h,r,a);else if(u&2&&m.class!==h.class&&s(l,`class`,null,h.class,a),u&4&&s(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&s(l,n,i,o,a,r)}}u&1&&e.children!==t.children&&f(l,t.children)}else !c&&d==null&&M(l,m,h,r,a);((g=h.onVnodeUpdated)||p)&&Yn(()=>{g&&Xr(g,r,t,e),p&&ne(t,e,r,`updated`)},i)},j=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];_(c,l,c.el&&(c.type===br||!Pr(c,l)||c.shapeFlag&198)?p(c.el):n,null,r,i,a,o,!0)}},M=(e,t,r,i,a)=>{if(t!==r){if(t!==n.EMPTY_OBJ)for(let o in t)!n.isReservedProp(o)&&!(o in r)&&s(e,o,t[o],null,a,i);for(let o in r){if(n.isReservedProp(o))continue;let c=r[o],l=t[o];c!==l&&o!==`value`&&s(e,o,l,c,a,i)}`value`in r&&s(e,`value`,t.value,r.value,a)}},N=(e,t,n,r,i,o,s,c,u)=>{let d=t.el=e?e.el:l(``),f=t.anchor=e?e.anchor:l(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(a(d,n,r),a(f,n,r),k(t.children||[],n,f,i,o,s,c,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(j(e.dynamicChildren,m,n,i,o,s,c),(t.key!=null||i&&t===i.subTree)&&nr(e,t,!0)):L(e,t,n,f,i,o,s,c,u)},ee=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):te(t,n,r,i,a,o,c):P(e,t,c)},te=(e,t,n,r,i,a,o)=>{let s=e.component=$r(e,r,i);if(tt(e)&&(s.ctx.renderer=le),ci(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,F,o),!e.el){let r=s.subTree=zr(Sr);y(null,r,t,n),e.placeholder=r.el}}else F(s,e,t,n,i,a,o)},P=(e,t,n)=>{let r=t.component=e.component;if(On(e,t,n))if(r.asyncDep&&!r.asyncResolved){I(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},F=(e,r,i,a,o,s,c)=>{let l=()=>{if(e.isMounted){let{next:t,bu:r,u:i,parent:a,vnode:u}=e;{let n=ir(e);if(n){t&&(t.el=u.el,I(e,t,c)),n.asyncDep.then(()=>{e.isUnmounted||l()});return}}let d=t,f;er(e,!1),t?(t.el=u.el,I(e,t,c)):t=u,r&&n.invokeArrayFns(r),(f=t.props&&t.props.onVnodeBeforeUpdate)&&Xr(f,a,t,u),er(e,!0);let m=wn(e),h=e.subTree;e.subTree=m,_(h,m,p(h.el),oe(h),e,o,s),t.el=m.el,d===null&&An(e,m.el),i&&Yn(i,o),(f=t.props&&t.props.onVnodeUpdated)&&Yn(()=>Xr(f,a,t,u),o)}else{let t,{el:c,props:l}=r,{bm:u,m:d,parent:f,root:p,type:m}=e,h=Qe(r);if(er(e,!1),u&&n.invokeArrayFns(u),!h&&(t=l&&l.onVnodeBeforeMount)&&Xr(t,f,r),er(e,!0),c&&de){let t=()=>{e.subTree=wn(e),de(c,e.subTree,e,o,null)};h&&m.__asyncHydrate?m.__asyncHydrate(c,e,t):t()}else{p.ce&&p.ce._def.shadowRoot!==!1&&p.ce._injectChildStyle(m);let t=e.subTree=wn(e);_(null,t,i,a,e,o,s),r.el=t.el}if(d&&Yn(d,o),!h&&(t=l&&l.onVnodeMounted)){let e=r;Yn(()=>Xr(t,f,e),o)}(r.shapeFlag&256||f&&Qe(f.vnode)&&f.vnode.shapeFlag&256)&&e.a&&Yn(e.a,o),e.isMounted=!0,r=i=a=null}};e.scope.on();let u=e.effect=new t.ReactiveEffect(l);e.scope.off();let d=e.update=u.run.bind(u),f=e.job=u.runIfDirty.bind(u);f.i=e,f.id=e.uid,u.scheduler=()=>x(f),er(e,!0),d()},I=(e,n,r)=>{n.component=e;let i=e.vnode.props;e.vnode=n,e.next=null,Fn(e,n.props,i,r),Jn(e,n.children,r),t.pauseTracking(),w(e),t.resetTracking()},L=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:m}=t;if(p>0){if(p&128){re(l,d,n,r,i,a,o,s,c);return}else if(p&256){R(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ae(l,i,a),d!==l&&f(n,d)):u&16?m&16?re(l,d,n,r,i,a,o,s,c):ae(l,i,a,!0):(u&8&&f(n,``),m&16&&k(d,n,r,i,a,o,s,c))},R=(e,t,r,i,a,o,s,c,l)=>{e||=n.EMPTY_ARR,t||=n.EMPTY_ARR;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?qr(t[p]):Kr(t[p]);_(e[p],n,r,null,a,o,s,c,l)}u>d?ae(e,a,o,!0,!1,f):k(t,r,i,a,o,s,c,l,f)},re=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?qr(t[u]):Kr(t[u]);if(Pr(n,i))_(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?qr(t[p]):Kr(t[p]);if(Pr(n,i))_(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)_(null,t[u]=l?qr(t[u]):Kr(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)B(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?qr(t[u]):Kr(t[u]);e.key!=null&&g.set(e.key,u)}let v,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){B(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(v=h;v<=p;v++)if(C[v-h]===0&&Pr(n,t[v])){i=v;break}i===void 0?B(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,_(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?rr(C):n.EMPTY_ARR;for(v=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||or(f):i;C[u]===0?_(null,n,r,p,a,o,s,c,l):x&&(v<0||u!==w[v]?z(n,r,p,2):v--)}}},z=(e,t,n,r,i=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){z(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,le);return}if(c===br){a(s,t,n);for(let e=0;e<u.length;e++)z(u[e],t,n,r);a(e.anchor,t,n);return}if(c===Cr){S(e,t,n);return}if(r!==2&&d&1&&l)if(r===0)l.beforeEnter(s),a(s,t,n),Yn(()=>l.enter(s),i);else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?o(s):a(s,t,n)},d=()=>{s._isLeaving&&s[ge](!0),r(s,()=>{u(),c&&c()})};i?i(s,u,d):d()}else a(s,t,n)},B=(e,n,r,i=!1,a=!1)=>{let{type:o,props:s,ref:c,children:l,dynamicChildren:u,shapeFlag:d,patchFlag:f,dirs:p,cacheIndex:m}=e;if(f===-2&&(a=!1),c!=null&&(t.pauseTracking(),Le(c,null,r,e,!0),t.resetTracking()),m!=null&&(n.renderCache[m]=void 0),d&256){n.ctx.deactivate(e);return}let h=d&1&&p,g=!Qe(e),_;if(g&&(_=s&&s.onVnodeBeforeUnmount)&&Xr(_,n,e),d&6)ie(e.component,r,i);else{if(d&128){e.suspense.unmount(r,i);return}h&&ne(e,null,n,`beforeUnmount`),d&64?e.type.remove(e,n,r,le,i):u&&!u.hasOnce&&(o!==br||f>0&&f&64)?ae(u,n,r,!1,!0):(o===br&&f&384||!a&&d&16)&&ae(l,n,r),i&&V(e)}(g&&(_=s&&s.onVnodeUnmounted)||h)&&Yn(()=>{_&&Xr(_,n,e),h&&ne(e,null,n,`unmounted`)},r)},V=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===br){H(n,r);return}if(t===Cr){C(e);return}let a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},H=(e,t)=>{let n;for(;e!==t;)n=m(e),o(e),e=n;o(t)},ie=(e,t,r)=>{let{bum:i,scope:a,job:o,subTree:s,um:c,m:l,a:u}=e;ar(l),ar(u),i&&n.invokeArrayFns(i),a.stop(),o&&(o.flags|=8,B(s,e,t,r)),c&&Yn(c,t),Yn(()=>{e.isUnmounted=!0},t)},ae=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)B(e[o],t,n,r,i)},oe=e=>{if(e.shapeFlag&6)return oe(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=m(e.anchor||e.el),n=t&&t[se];return n?m(n):t},ce=!1,U=(e,t,n)=>{let r;e==null?t._vnode&&(B(t._vnode,null,null,!0),r=t._vnode.component):_(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ce||=(ce=!0,w(r),T(),!1)},le={p:_,um:B,m:z,r:V,mt:te,mc:k,pc:L,pbc:j,n:oe,o:e},ue,de;return r&&([ue,de]=r(le)),{render:U,hydrate:ue,createApp:gn(U,ue)}}function $n({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function er({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function nr(e,t,r=!1){let i=e.children,a=t.children;if(n.isArray(i)&&n.isArray(a))for(let t=0;t<i.length;t++){let n=i[t],o=a[t];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=a[t]=qr(a[t]),o.el=n.el),!r&&o.patchFlag!==-2&&nr(n,o)),o.type===xr&&(o.patchFlag===-1?o.__elIndex=t+(e.type===br?1:0):o.el=n.el),o.type===Sr&&!o.el&&(o.el=n.el)}}function rr(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function ir(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ir(t)}function ar(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function or(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?or(t.subTree):null}let sr=e=>e.__isSuspense,cr=0,lr={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)dr(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}fr(e,t,n,r,i,o,s,c,l)}},hydrate:mr,normalize:hr};function ur(e,t){let r=e.props&&e.props[t];n.isFunction(r)&&r()}function dr(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=pr(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(ur(e,`onPending`),ur(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),vr(f,e.ssFallback)):f.resolve(!1,!0)}function fr(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,Pr(h,f)?(c(h,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():g&&(_||(c(m,p,n,r,i,null,a,o,s),vr(d,p)))):(d.pendingId=cr++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(c(m,p,n,r,i,null,a,o,s),vr(d,p))):m&&Pr(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&Pr(m,f))c(m,f,n,r,i,d,a,o,s),vr(d,f);else if(ur(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=cr++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function pr(e,t,r,i,a,o,s,c,l,d,f=!1){let{p,m,um:h,n:g,o:{parentNode:_,remove:v}}=d,y,b=yr(e);b&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);let x=e.props?n.toNumber(e.props.timeout):void 0,S=o,w={vnode:e,parent:t,parentComponent:r,namespace:s,container:i,hiddenContainer:a,deps:0,pendingId:cr++,timeout:typeof x==`number`?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:a,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=w,f=!1;w.isHydrating?w.isHydrating=!1:e||(f=i&&a.transition&&a.transition.mode===`out-in`,f&&(i.transition.afterLeave=()=>{s===w.pendingId&&(m(a,u,o===S?g(i):o,0),C(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&(_(i.el)===u&&(o=g(i)),h(i,l,w,!0),!f&&d&&r.ssFallback&&Yn(()=>r.ssFallback.el=null,w)),f||m(a,u,o,0)),vr(w,a),w.pendingBranch=null,w.isInFallback=!1;let p=w.parent,v=!1;for(;p;){if(p.pendingBranch){p.effects.push(...c),v=!0;break}p=p.parent}!v&&!f&&C(c),w.effects=[],b&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),ur(r,`onResolve`)},fallback(e){if(!w.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=w;ur(t,`onFallback`);let o=g(n),s=()=>{w.isInFallback&&(p(null,e,i,o,r,null,a,c,l),vr(w,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(n.transition.afterLeave=s),w.isInFallback=!0,h(n,r,null,!0),u||s()},move(e,t,n){w.activeBranch&&m(w.activeBranch,e,t,n),w.container=e},next(){return w.activeBranch&&g(w.activeBranch)},registerDep(e,t,n){let r=!!w.pendingBranch;r&&w.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{u(t,e,0)}).then(a=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;e.asyncResolved=!0;let{vnode:o}=e;ui(e,a,!1),i&&(o.el=i);let c=!i&&e.subTree.el;t(e,o,_(i||e.subTree.el),i?null:g(e.subTree),w,s,n),c&&(o.placeholder=null,v(c)),An(e,o.el),r&&--w.deps===0&&w.resolve()})},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,r,e,t),w.pendingBranch&&h(w.pendingBranch,r,e,t)}};return w}function mr(e,t,n,r,i,a,o,s,c){let l=t.suspense=pr(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function hr(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=gr(r?n.default:n),e.ssFallback=r?gr(n.fallback):zr(Sr)}function gr(e){let t;if(n.isFunction(e)){let n=Or&&e._c;n&&(e._d=!1,Er()),e=e(),n&&(e._d=!0,t=Tr,Dr())}return n.isArray(e)&&(e=Tn(e)),e=Kr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function _r(e,t){t&&t.pendingBranch?n.isArray(e)?t.effects.push(...e):t.effects.push(e):C(e)}function vr(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,An(r,i))}function yr(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}let br=Symbol.for(`v-fgt`),xr=Symbol.for(`v-txt`),Sr=Symbol.for(`v-cmt`),Cr=Symbol.for(`v-stc`),wr=[],Tr=null;function Er(e=!1){wr.push(Tr=e?null:[])}function Dr(){wr.pop(),Tr=wr[wr.length-1]||null}let Or=1;function kr(e,t=!1){Or+=e,e<0&&Tr&&t&&(Tr.hasOnce=!0)}function Ar(e){return e.dynamicChildren=Or>0?Tr||n.EMPTY_ARR:null,Dr(),Or>0&&Tr&&Tr.push(e),e}function jr(e,t,n,r,i,a){return Ar(Rr(e,t,n,r,i,a,!0))}function Mr(e,t,n,r,i){return Ar(zr(e,t,n,r,i,!0))}function Nr(e){return e?e.__v_isVNode===!0:!1}function Pr(e,t){return e.type===t.type&&e.key===t.key}function Fr(e){}let Ir=({key:e})=>e??null,Lr=({ref:e,ref_key:r,ref_for:i})=>(typeof e==`number`&&(e=``+e),e==null?null:n.isString(e)||t.isRef(e)||n.isFunction(e)?{i:O,r:e,k:r,f:!!i}:e);function Rr(e,t=null,r=null,i=0,a=null,o=e===br?0:1,s=!1,c=!1){let l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ir(t),ref:t&&Lr(t),scopeId:k,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:O};return c?(Jr(l,r),o&128&&e.normalize(l)):r&&(l.shapeFlag|=n.isString(r)?8:16),Or>0&&!s&&Tr&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Tr.push(l),l}let zr=Br;function Br(e,r=null,i=null,a=0,o=null,s=!1){if((!e||e===wt)&&(e=Sr),Nr(e)){let t=Hr(e,r,!0);return i&&Jr(t,i),Or>0&&!s&&Tr&&(t.shapeFlag&6?Tr[Tr.indexOf(e)]=t:Tr.push(t)),t.patchFlag=-2,t}if(bi(e)&&(e=e.__vccOpts),r){r=Vr(r);let{class:e,style:i}=r;e&&!n.isString(e)&&(r.class=n.normalizeClass(e)),n.isObject(i)&&(t.isProxy(i)&&!n.isArray(i)&&(i=n.extend({},i)),r.style=n.normalizeStyle(i))}let c=n.isString(e)?1:sr(e)?128:ce(e)?64:n.isObject(e)?4:n.isFunction(e)?2:0;return Rr(e,r,i,a,o,c,s,!0)}function Vr(e){return e?t.isProxy(e)||Nn(e)?n.extend({},e):e:null}function Hr(e,t,r=!1,i=!1){let{props:a,ref:o,patchFlag:s,children:c,transition:l}=e,u=t?Yr(a||{},t):a,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ir(u),ref:t&&t.ref?r&&o?n.isArray(o)?o.concat(Lr(t)):[o,Lr(t)]:Lr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==br?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Hr(e.ssContent),ssFallback:e.ssFallback&&Hr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&i&&Ae(d,l.clone(d)),d}function Ur(e=` `,t=0){return zr(xr,null,e,t)}function Wr(e,t){let n=zr(Cr,null,e);return n.staticCount=t,n}function Gr(e=``,t=!1){return t?(Er(),Mr(Sr,null,e)):zr(Sr,null,e)}function Kr(e){return e==null||typeof e==`boolean`?zr(Sr):n.isArray(e)?zr(br,null,e.slice()):Nr(e)?qr(e):zr(xr,null,String(e))}function qr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Hr(e)}function Jr(e,t){let r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(n.isArray(t))r=16;else if(typeof t==`object`)if(i&65){let n=t.default;n&&(n._c&&(n._d=!1),Jr(e,n()),n._c&&(n._d=!0));return}else{r=32;let n=t._;!n&&!Nn(t)?t._ctx=O:n===3&&O&&(O.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else n.isFunction(t)?(t={default:t,_ctx:O},r=32):(t=String(t),i&64?(r=16,t=[Ur(t)]):r=8);e.children=t,e.shapeFlag|=r}function Yr(...e){let t={};for(let r=0;r<e.length;r++){let i=e[r];for(let e in i)if(e===`class`)t.class!==i.class&&(t.class=n.normalizeClass([t.class,i.class]));else if(e===`style`)t.style=n.normalizeStyle([t.style,i.style]);else if(n.isOn(e)){let r=t[e],a=i[e];a&&r!==a&&!(n.isArray(r)&&r.includes(a))&&(t[e]=r?[].concat(r,a):a)}else e!==``&&(t[e]=i[e])}return t}function Xr(e,t,n,r=null){l(e,t,7,[n,r])}let Zr=mn(),Qr=0;function $r(e,r,i){let a=e.type,o=(r?r.appContext:e.appContext)||Zr,s={uid:Qr++,vnode:e,type:a,parent:r,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new t.EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:r?r.provides:Object.create(o.provides),ids:r?r.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:zn(a,o),emitsOptions:Sn(a,o),emit:null,emitted:null,propsDefaults:n.EMPTY_OBJ,inheritAttrs:a.inheritAttrs,ctx:n.EMPTY_OBJ,data:n.EMPTY_OBJ,props:n.EMPTY_OBJ,attrs:n.EMPTY_OBJ,slots:n.EMPTY_OBJ,refs:n.EMPTY_OBJ,setupState:n.EMPTY_OBJ,setupContext:null,suspense:i,suspenseId:i?i.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=r?r.root:s,s.emit=bn.bind(null,s),e.ce&&e.ce(s),s}let ei=null,ti=()=>ei||O,ni,ri;{let e=n.getGlobalThis(),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)}};ni=t(`__VUE_INSTANCE_SETTERS__`,e=>ei=e),ri=t(`__VUE_SSR_SETTERS__`,e=>si=e)}let ii=e=>{let t=ei;return ni(e),e.scope.on(),()=>{e.scope.off(),ni(t)}},ai=()=>{ei&&ei.scope.off(),ni(null)};function oi(e){return e.vnode.shapeFlag&4}let si=!1;function ci(e,t=!1,n=!1){t&&ri(t);let{props:r,children:i}=e.vnode,a=oi(e);Pn(e,r,a,t),qn(e,i,n||t);let o=a?li(e,t):void 0;return t&&ri(!1),o}function li(e,r){let i=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lt);let{setup:a}=i;if(a){t.pauseTracking();let i=e.setupContext=a.length>1?_i(e):null,o=ii(e),s=c(a,e,0,[e.props,i]),l=n.isPromise(s);if(t.resetTracking(),o(),(l||e.sp)&&!Qe(e)&&Pe(e),l){if(s.then(ai,ai),r)return s.then(t=>{ui(e,t,r)}).catch(t=>{u(t,e,0)});e.asyncDep=s}else ui(e,s,r)}else hi(e,r)}function ui(e,r,i){n.isFunction(r)?e.type.__ssrInlineRender?e.ssrRender=r:e.render=r:n.isObject(r)&&(e.setupState=t.proxyRefs(r)),hi(e,i)}let di,fi;function pi(e){di=e,fi=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Rt))}}let mi=()=>!di;function hi(e,r,i){let a=e.type;if(!e.render){if(!r&&di&&!a.render){let t=a.template||rn(e).template;if(t){let{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:s}=a,c=n.extend(n.extend({isCustomElement:r,delimiters:o},i),s);a.render=di(t,c)}}e.render=a.render||n.NOOP,fi&&fi(e)}{let n=ii(e);t.pauseTracking();try{$t(e)}finally{t.resetTracking(),n()}}}let gi={get(e,n){return t.track(e,`get`,``),e[n]}};function _i(e){return{attrs:new Proxy(e.attrs,gi),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function vi(e){return e.exposed?e.exposeProxy||=new Proxy(t.proxyRefs(t.markRaw(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ft)return Ft[n](e)},has(e,t){return t in e||t in Ft}}):e.proxy}function yi(e,t=!0){return n.isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function bi(e){return n.isFunction(e)&&`__vccOpts`in e}let xi=(e,n)=>t.computed(e,n,si);function Si(e,t,r){try{kr(-1);let i=arguments.length;return i===2?n.isObject(t)&&!n.isArray(t)?Nr(t)?zr(e,null,[t]):zr(e,t):zr(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Nr(r)&&(r=[r]),zr(e,t,r))}finally{kr(1)}}function Ci(){}function wi(e,t,n,r){let i=n[r];if(i&&Ti(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function Ti(e,t){let r=e.memo;if(r.length!=t.length)return!1;for(let e=0;e<r.length;e++)if(n.hasChanged(r[e],t[e]))return!1;return Or>0&&Tr&&Tr.push(e),!0}let Ei=`3.5.26`,Di=n.NOOP,Oi=s,ki=n.NOOP,Ai={createComponentInstance:$r,setupComponent:ci,renderComponentRoot:wn,setCurrentRenderingInstance:A,isVNode:Nr,normalizeVNode:Kr,getComponentPublicInstance:vi,ensureValidVNode:Mt,pushWarningContext:r,popWarningContext:i};e.EffectScope=t.EffectScope,e.ReactiveEffect=t.ReactiveEffect,e.TrackOpTypes=t.TrackOpTypes,e.TriggerOpTypes=t.TriggerOpTypes,e.customRef=t.customRef,e.effect=t.effect,e.effectScope=t.effectScope,e.getCurrentScope=t.getCurrentScope,e.getCurrentWatcher=t.getCurrentWatcher,e.isProxy=t.isProxy,e.isReactive=t.isReactive,e.isReadonly=t.isReadonly,e.isRef=t.isRef,e.isShallow=t.isShallow,e.markRaw=t.markRaw,e.onScopeDispose=t.onScopeDispose,e.onWatcherCleanup=t.onWatcherCleanup,e.proxyRefs=t.proxyRefs,e.reactive=t.reactive,e.readonly=t.readonly,e.ref=t.ref,e.shallowReactive=t.shallowReactive,e.shallowReadonly=t.shallowReadonly,e.shallowRef=t.shallowRef,e.stop=t.stop,e.toRaw=t.toRaw,e.toRef=t.toRef,e.toRefs=t.toRefs,e.toValue=t.toValue,e.triggerRef=t.triggerRef,e.unref=t.unref,e.camelize=n.camelize,e.capitalize=n.capitalize,e.normalizeClass=n.normalizeClass,e.normalizeProps=n.normalizeProps,e.normalizeStyle=n.normalizeStyle,e.toDisplayString=n.toDisplayString,e.toHandlerKey=n.toHandlerKey,e.BaseTransition=we,e.BaseTransitionPropsValidators=be,e.Comment=Sr,e.DeprecationTypes=null,e.ErrorCodes=o,e.ErrorTypeStrings=Oi,e.Fragment=br,e.KeepAlive=nt,e.Static=Cr,e.Suspense=lr,e.Teleport=G,e.Text=xr,e.assertNumber=a,e.callWithAsyncErrorHandling=l,e.callWithErrorHandling=c,e.cloneVNode=Hr,e.compatUtils=null,e.computed=xi,e.createBlock=Mr,e.createCommentVNode=Gr,e.createElementBlock=jr,e.createElementVNode=Rr,e.createHydrationRenderer=Zn,e.createPropsRestProxy=$,e.createRenderer=Xn,e.createSlots=At,e.createStaticVNode=Wr,e.createTextVNode=Ur,e.createVNode=zr,e.defineAsyncComponent=$e,e.defineComponent=Me,e.defineEmits=Bt,e.defineExpose=Vt,e.defineModel=Ut,e.defineOptions=Q,e.defineProps=zt,e.defineSlots=Ht,e.devtools=void 0,e.getCurrentInstance=ti,e.getTransitionRawChildren=je,e.guardReactiveProps=Vr,e.h=Si,e.handleError=u,e.hasInjectionContext=I,e.hydrateOnIdle=Je,e.hydrateOnInteraction=Ze,e.hydrateOnMediaQuery=X,e.hydrateOnVisible=Xe,e.initCustomFormatter=Ci,e.inject=F,e.isMemoSame=Ti,e.isRuntimeOnly=mi,e.isVNode=Nr,e.mergeDefaults=Yt,e.mergeModels=Xt,e.mergeProps=Yr,e.nextTick=y,e.onActivated=it,e.onBeforeMount=ft,e.onBeforeUnmount=gt,e.onBeforeUpdate=mt,e.onDeactivated=at,e.onErrorCaptured=xt,e.onMounted=pt,e.onRenderTracked=bt,e.onRenderTriggered=yt,e.onServerPrefetch=vt,e.onUnmounted=_t,e.onUpdated=ht,e.openBlock=Er,e.popScopeId=M,e.provide=P,e.pushScopeId=j,e.queuePostFlushCb=C,e.registerRuntimeCompiler=pi,e.renderList=kt,e.renderSlot=jt,e.resolveComponent=Ct,e.resolveDirective=Et,e.resolveDynamicComponent=Tt,e.resolveFilter=null,e.resolveTransitionHooks=Ee,e.setBlockTracking=kr,e.setDevtoolsHook=ki,e.setTransitionHooks=Ae,e.ssrContextKey=L,e.ssrUtils=Ai,e.toHandlers=Nt,e.transformVNodeArgs=Fr,e.useAttrs=Kt,e.useId=Ne,e.useModel=vn,e.useSSRContext=R,e.useSlots=Gt,e.useTemplateRef=Fe,e.useTransitionState=ve,e.version=Ei,e.warn=Di,e.watch=V,e.watchEffect=re,e.watchPostEffect=z,e.watchSyncEffect=B,e.withAsyncContext=Zt,e.withCtx=ee,e.withDefaults=Wt,e.withDirectives=te,e.withMemo=wi,e.withScopeId=N})),Ae=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Oe(),n=ie();let r=[];function i(e){r.push(e)}function a(){r.pop()}let o=!1;function s(e,...n){if(o)return;o=!0,t.pauseTracking();let i=r.length?r[r.length-1].component:null,a=i&&i.appContext.config.warnHandler,s=c();if(a)m(a,i,11,[e+n.map(e=>e.toString?.call(e)??JSON.stringify(e)).join(``),i&&i.proxy,s.map(({vnode:e})=>`at <${Ne(i,e.type)}>`).join(`
41
- `),s]);else{let t=[`[Vue warn]: ${e}`,...n];s.length&&t.push(`
42
- `,...l(s)),console.warn(...t)}t.resetTracking(),o=!1}function c(){let e=r[r.length-1];if(!e)return[];let t=[];for(;e;){let n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});let r=e.component&&e.component.parent;e=r&&r.vnode}return t}function l(e){let t=[];return e.forEach((e,n)=>{t.push(...n===0?[]:[`
43
- `],...u(e))}),t}function u({vnode:e,recurseCount:t}){let n=t>0?`... (${t} recursive calls)`:``,r=e.component?e.component.parent==null:!1,i=` at <${Ne(e.component,e.type,r)}`,a=`>`+n;return e.props?[i,...d(e.props),a]:[i+a]}function d(e){let t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...f(n,e[n]))}),n.length>3&&t.push(` ...`),t}function f(e,r,i){return n.isString(r)?(r=JSON.stringify(r),i?r:[`${e}=${r}`]):typeof r==`number`||typeof r==`boolean`||r==null?i?r:[`${e}=${r}`]:t.isRef(r)?(r=f(e,t.toRaw(r.value),!0),i?r:[`${e}=Ref<`,r,`>`]):n.isFunction(r)?[`${e}=fn${r.name?`<${r.name}>`:``}`]:(r=t.toRaw(r),i?r:[`${e}=`,r])}let p={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function m(e,t,n,r){try{return r?e(...r):e()}catch(e){g(e,t,n)}}function h(e,t,r,i){if(n.isFunction(e)){let a=m(e,t,r,i);return a&&n.isPromise(a)&&a.catch(e=>{g(e,t,r)}),a}if(n.isArray(e)){let n=[];for(let a=0;a<e.length;a++)n.push(h(e[a],t,r,i));return n}else s(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function g(e,r,i,a=!0){let o=r?r.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:c}=r&&r.appContext.config||n.EMPTY_OBJ;if(r){let n=r.parent,a=r.proxy,o=p[i];for(;n;){let t=n.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,a,o)===!1)return}n=n.parent}if(s){t.pauseTracking(),m(s,null,10,[e,a,o]),t.resetTracking();return}}_(e,i,o,a,c)}function _(e,t,n,r=!0,o=!1){{let o=p[t];if(n&&i(n),s(`Unhandled error${o?` during execution of ${o}`:``}`),n&&a(),r)throw e;console.error(e)}}let v=[],y=-1,b=[],x=null,S=0,C=Promise.resolve(),w=null;function T(e){let t=w||C;return e?t.then(this?e.bind(this):e):t}function E(e){let t=y+1,n=v.length;for(;t<n;){let r=t+n>>>1,i=v[r],a=j(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function D(e){if(!(e.flags&1)){let t=j(e),n=v[v.length-1];!n||!(e.flags&2)&&t>=j(n)?v.push(e):v.splice(E(t),0,e),e.flags|=1,O()}}function O(){w||=C.then(M)}function k(e){n.isArray(e)?b.push(...e):x&&e.id===-1?x.splice(S+1,0,e):e.flags&1||(b.push(e),e.flags|=1),O()}function A(e){if(b.length){let t=[...new Set(b)].sort((e,t)=>j(e)-j(t));if(b.length=0,x){x.push(...t);return}for(x=t,e||=new Map,S=0;S<x.length;S++){let t=x[S];N(e,t)||(t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2)}x=null,S=0}}let j=e=>e.id==null?e.flags&2?-1:1/0:e.id;function M(e){e||=new Map;let t=t=>N(e,t);try{for(y=0;y<v.length;y++){let e=v[y];if(e&&!(e.flags&8)){if(t(e))continue;e.flags&4&&(e.flags&=-2),m(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;y<v.length;y++){let e=v[y];e&&(e.flags&=-2)}y=-1,v.length=0,A(e),w=null,(v.length||b.length)&&M(e)}}function N(e,t){let n=e.get(t)||0;if(n>100){let e=t.i,n=e&&Me(e.type);return g(`Maximum recursive updates exceeded${n?` in component <${n}>`:``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let ee=new Map;n.getGlobalThis().__VUE_HMR_RUNTIME__={createRecord:R(ne),rerender:R(F),reload:R(I)};let te=new Map;function ne(e,t){return te.has(e)?!1:(te.set(e,{initialDef:P(t),instances:new Set}),!0)}function P(e){return Pe(e)?e.__vccOpts:e}function F(e,t){let n=te.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(e=>{t&&(e.render=t,P(e.type).render=t),e.renderCache=[],e.job.flags&8||e.update()}))}function I(e,t){let n=te.get(e);if(!n)return;t=P(t),L(n.initialDef,t);let r=[...n.instances];for(let e=0;e<r.length;e++){let i=r[e],a=P(i.type),o=ee.get(a);o||(a!==n.initialDef&&L(a,t),ee.set(a,o=new Set)),o.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(o.add(i),i.ceReload(t.styles),o.delete(i)):i.parent?D(()=>{i.job.flags&8||(i.parent.update(),o.delete(i))}):i.appContext.reload?i.appContext.reload():typeof window<`u`?window.location.reload():console.warn(`[HMR] Root or manually mounted instance modified. Full reload required.`),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(a)}k(()=>{ee.clear()})}function L(e,t){for(let r in n.extend(e,t),e)r!==`__file`&&!(r in t)&&delete e[r]}function R(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn(`[HMR] Something went wrong during Vue component hot-reload. Full reload required.`)}}}function re(e,t,r=!1){let i=Ce();if(i||ye){let a=ye?ye._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return r&&n.isFunction(t)?t.call(i&&i.proxy):t;s(`injection "${String(e)}" not found.`)}else s(`inject() can only be used inside setup() or functional components.`)}let z=Symbol.for(`v-scx`),B=()=>{{let e=re(z);return e||s(`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`),e}};function V(e,r,i=n.EMPTY_OBJ){let{immediate:a,deep:o,flush:c,once:l}=i;r||(a!==void 0&&s(`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`),o!==void 0&&s(`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`),l!==void 0&&s(`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`));let u=n.extend({},i);u.onWarn=s;let d=r&&a||!r&&c!==`post`,f;if(De){if(c===`sync`){let e=B();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=n.NOOP,e.resume=n.NOOP,e.pause=n.NOOP,e}}let p=Se;u.call=(e,t,n)=>h(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{be(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():D(e)}),u.augmentJob=e=>{r&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let g=t.watch(e,r,u);return De&&(f?f.push(g):d&&g()),g}function H(e,t,r){let i=this.proxy,a=n.isString(e)?e.includes(`.`)?ae(i,e):()=>i[e]:e.bind(i,i),o;n.isFunction(t)?o=t:(o=t.handler,r=t);let s=Te(this),c=V(a,o.bind(i),r);return s(),c}function ae(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}n.getGlobalThis().requestIdleCallback,n.getGlobalThis().cancelIdleCallback;let oe=e=>e?Ee(e)?ke(e):oe(e.parent):null,se=n.extend(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>t.shallowReadonly(e.props),$attrs:e=>t.shallowReadonly(e.attrs),$slots:e=>t.shallowReadonly(e.slots),$refs:e=>t.shallowReadonly(e.refs),$parent:e=>oe(e.parent),$root:e=>oe(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>de(e),$forceUpdate:e=>e.f||=()=>{D(e.update)},$nextTick:e=>e.n||=T.bind(e.proxy),$watch:e=>H.bind(e)}),ce=(e,t)=>e!==n.EMPTY_OBJ&&!e.__isScriptSetup&&n.hasOwn(e,t),U={get({_:e},r){if(r===`__v_skip`)return!0;let{ctx:i,setupState:a,data:o,props:s,accessCache:c,type:l,appContext:u}=e;if(r===`__isVue`)return!0;if(r[0]!==`$`){let e=c[r];if(e!==void 0)switch(e){case 1:return a[r];case 2:return o[r];case 4:return i[r];case 3:return s[r]}else if(ce(a,r))return c[r]=1,a[r];else if(o!==n.EMPTY_OBJ&&n.hasOwn(o,r))return c[r]=2,o[r];else if(n.hasOwn(s,r))return c[r]=3,s[r];else if(i!==n.EMPTY_OBJ&&n.hasOwn(i,r))return c[r]=4,i[r];else ue&&(c[r]=0)}let d=se[r],f,p;if(d)return r===`$attrs`?t.track(e.attrs,`get`,``):r===`$slots`&&t.track(e,`get`,r),d(e);if((f=l.__cssModules)&&(f=f[r]))return f;if(i!==n.EMPTY_OBJ&&n.hasOwn(i,r))return c[r]=4,i[r];if(p=u.config.globalProperties,n.hasOwn(p,r))return p[r]},set({_:e},t,r){let{data:i,setupState:a,ctx:o}=e;return ce(a,t)?(a[t]=r,!0):a.__isScriptSetup&&n.hasOwn(a,t)?(s(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):i!==n.EMPTY_OBJ&&n.hasOwn(i,t)?(i[t]=r,!0):n.hasOwn(e.props,t)?(s(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]===`$`&&t.slice(1)in e?(s(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(o,t,{enumerable:!0,configurable:!0,value:r}):o[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==n.EMPTY_OBJ&&c[0]!==`$`&&n.hasOwn(e,c)||ce(t,c)||n.hasOwn(o,c)||n.hasOwn(i,c)||n.hasOwn(se,c)||n.hasOwn(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,r){return r.get==null?n.hasOwn(r,`value`)&&this.set(e,t,r.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,r)}};U.ownKeys=e=>(s(`Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`),Reflect.ownKeys(e));function le(e){return n.isArray(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let ue=!0;function de(e){let t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,c=o.get(t),l;return c?l=c:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(e=>fe(l,e,s,!0)),fe(l,t,s)),n.isObject(t)&&o.set(t,l),l}function fe(e,t,n,r=!1){let{mixins:i,extends:a}=t;for(let o in a&&fe(e,a,n,!0),i&&i.forEach(t=>fe(e,t,n,!0)),t)if(r&&o===`expose`)s(`"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`);else{let r=pe[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}let pe={data:me,props:ge,emits:ge,methods:he,computed:he,beforeCreate:K,created:K,beforeMount:K,mounted:K,beforeUpdate:K,updated:K,beforeDestroy:K,beforeUnmount:K,destroyed:K,unmounted:K,activated:K,deactivated:K,errorCaptured:K,serverPrefetch:K,components:he,directives:he,watch:_e,provide:me,inject:W};function me(e,t){return t?e?function(){return n.extend(n.isFunction(e)?e.call(this,this):e,n.isFunction(t)?t.call(this,this):t)}:t:e}function W(e,t){return he(G(e),G(t))}function G(e){if(n.isArray(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function K(e,t){return e?[...new Set([].concat(e,t))]:t}function he(e,t){return e?n.extend(Object.create(null),e,t):t}function ge(e,t){return e?n.isArray(e)&&n.isArray(t)?[...new Set([...e,...t])]:n.extend(Object.create(null),le(e),le(t??{})):t}function _e(e,t){if(!e)return t;if(!t)return e;let r=n.extend(Object.create(null),e);for(let n in t)r[n]=K(e[n],t[n]);return r}function ve(){return{app:null,config:{isNativeTag:n.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ye=null,be=xe;function xe(e,t){t&&t.pendingBranch?n.isArray(e)?t.effects.push(...e):t.effects.push(e):k(e)}ve();let Se=null,Ce=()=>Se||null,we;{let e=n.getGlobalThis(),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)}};we=t(`__VUE_INSTANCE_SETTERS__`,e=>Se=e),t(`__VUE_SSR_SETTERS__`,e=>De=e)}let Te=e=>{let t=Se;return we(e),e.scope.on(),()=>{e.scope.off(),we(t)}};function Ee(e){return e.vnode.shapeFlag&4}let De=!1;function ke(e){return e.exposed?e.exposeProxy||=new Proxy(t.proxyRefs(t.markRaw(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in se)return se[n](e)},has(e,t){return t in e||t in se}}):e.proxy}let Ae=/(?:^|[-_])\w/g,je=e=>e.replace(Ae,e=>e.toUpperCase()).replace(/[-_]/g,``);function Me(e,t=!0){return n.isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function Ne(e,t,n=!1){let r=Me(t);if(!r&&t.__file){let e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e){let n=e=>{for(let n in e)if(e[n]===t)return n};r=n(e.components)||e.parent&&n(e.parent.type.components)||n(e.appContext.components)}return r?je(r):n?`App`:`Anonymous`}function Pe(e){return n.isFunction(e)&&`__vccOpts`in e}e.EffectScope=t.EffectScope,e.ReactiveEffect=t.ReactiveEffect,e.TrackOpTypes=t.TrackOpTypes,e.TriggerOpTypes=t.TriggerOpTypes,e.customRef=t.customRef,e.effect=t.effect,e.effectScope=t.effectScope,e.getCurrentScope=t.getCurrentScope,e.getCurrentWatcher=t.getCurrentWatcher,e.isProxy=t.isProxy,e.isReactive=t.isReactive,e.isReadonly=t.isReadonly,e.isRef=t.isRef,e.isShallow=t.isShallow,e.markRaw=t.markRaw,e.onScopeDispose=t.onScopeDispose,e.onWatcherCleanup=t.onWatcherCleanup,e.proxyRefs=t.proxyRefs,e.reactive=t.reactive,e.readonly=t.readonly,e.ref=t.ref,e.shallowReactive=t.shallowReactive,e.shallowReadonly=t.shallowReadonly,e.shallowRef=t.shallowRef,e.stop=t.stop,e.toRaw=t.toRaw,e.toRef=t.toRef,e.toRefs=t.toRefs,e.toValue=t.toValue,e.triggerRef=t.triggerRef,e.unref=t.unref,e.camelize=n.camelize,e.capitalize=n.capitalize,e.normalizeClass=n.normalizeClass,e.normalizeProps=n.normalizeProps,e.normalizeStyle=n.normalizeStyle,e.toDisplayString=n.toDisplayString,e.toHandlerKey=n.toHandlerKey})),je=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=ke():t.exports=Ae()})),Me=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=je(),n=ie();let r,i=typeof window<`u`&&window.trustedTypes;if(i)try{r=i.createPolicy(`vue`,{createHTML:e=>e})}catch{}let a=r?e=>r.createHTML(e):e=>e,o=typeof document<`u`?document:null,s=o&&o.createElement(`template`),c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?o.createElementNS(`http://www.w3.org/2000/svg`,e):t===`mathml`?o.createElementNS(`http://www.w3.org/1998/Math/MathML`,e):n?o.createElement(e,{is:n}):o.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>o.createTextNode(e),createComment:e=>o.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>o.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,o){let c=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{s.innerHTML=a(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=s.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[c?c.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},l=`transition`,u=`animation`,d=Symbol(`_vtc`),f={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p=n.extend({},t.BaseTransitionPropsValidators,f),m=(e=>(e.displayName=`Transition`,e.props=p,e))((e,{slots:n})=>t.h(t.BaseTransition,_(e),n)),h=(e,t=[])=>{n.isArray(e)?e.forEach(e=>e(...t)):e&&e(...t)},g=e=>e?n.isArray(e)?e.some(e=>e.length>1):e.length>1:!1;function _(e){let t={};for(let n in e)n in f||(t[n]=e[n]);if(e.css===!1)return t;let{name:r=`v`,type:i,duration:a,enterFromClass:o=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:l=o,appearActiveClass:u=s,appearToClass:d=c,leaveFromClass:p=`${r}-leave-from`,leaveActiveClass:m=`${r}-leave-active`,leaveToClass:_=`${r}-leave-to`}=e,y=v(a),C=y&&y[0],T=y&&y[1],{onBeforeEnter:E,onEnter:D,onEnterCancelled:k,onLeave:A,onLeaveCancelled:j,onBeforeAppear:M=E,onAppear:N=D,onAppearCancelled:ee=k}=t,te=(e,t,n,r)=>{e._enterCancelled=r,x(e,t?d:c),x(e,t?u:s),n&&n()},ne=(e,t)=>{e._isLeaving=!1,x(e,p),x(e,_),x(e,m),t&&t()},P=e=>(t,n)=>{let r=e?N:D,a=()=>te(t,e,n);h(r,[t,a]),S(()=>{x(t,e?l:o),b(t,e?d:c),g(r)||w(t,i,C,a)})};return n.extend(t,{onBeforeEnter(e){h(E,[e]),b(e,o),b(e,s)},onBeforeAppear(e){h(M,[e]),b(e,l),b(e,u)},onEnter:P(!1),onAppear:P(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ne(e,t);b(e,p),e._enterCancelled?(b(e,m),O(e)):(O(e),b(e,m)),S(()=>{e._isLeaving&&(x(e,p),b(e,_),g(A)||w(e,i,T,n))}),h(A,[e,n])},onEnterCancelled(e){te(e,!1,void 0,!0),h(k,[e])},onAppearCancelled(e){te(e,!0,void 0,!0),h(ee,[e])},onLeaveCancelled(e){ne(e),h(j,[e])}})}function v(e){if(e==null)return null;if(n.isObject(e))return[y(e.enter),y(e.leave)];{let t=y(e);return[t,t]}}function y(e){return n.toNumber(e)}function b(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[d]||(e[d]=new Set)).add(t)}function x(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[d];n&&(n.delete(t),n.size||(e[d]=void 0))}function S(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let C=0;function w(e,t,n,r){let i=e._endId=++C,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=T(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function T(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${l}Delay`),a=r(`${l}Duration`),o=E(i,a),s=r(`${u}Delay`),c=r(`${u}Duration`),d=E(s,c),f=null,p=0,m=0;t===l?o>0&&(f=l,p=o,m=a.length):t===u?d>0&&(f=u,p=d,m=c.length):(p=Math.max(o,d),f=p>0?o>d?l:u:null,m=f?f===l?a.length:c.length:0);let h=f===l&&/\b(?:transform|all)(?:,|$)/.test(r(`${l}Property`).toString());return{type:f,timeout:p,propCount:m,hasTransform:h}}function E(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>D(t)+D(e[n])))}function D(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function O(e){return(e?e.ownerDocument:document).body.offsetHeight}function k(e,t,n){let r=e[d];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}let A=Symbol(`_vod`),j=Symbol(`_vsh`),M={name:`show`,beforeMount(e,{value:t},{transition:n}){e[A]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):N(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),N(e,!0),r.enter(e)):r.leave(e,()=>{N(e,!1)}):N(e,t))},beforeUnmount(e,{value:t}){N(e,t)}};function N(e,t){e.style.display=t?e[A]:`none`,e[j]=!t}function ee(){M.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}let te=Symbol(``);function ne(e){}let P=/(?:^|;)\s*display\s*:/;function F(e,t,r){let i=e.style,a=n.isString(r),o=!1;if(r&&!a){if(t)if(n.isString(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();r[t]??L(i,t,``)}else for(let e in t)r[e]??L(i,e,``);for(let e in r)e===`display`&&(o=!0),L(i,e,r[e])}else if(a){if(t!==r){let e=i[te];e&&(r+=`;`+e),i.cssText=r,o=P.test(r)}}else t&&e.removeAttribute(`style`);A in e&&(e[A]=o?i.display:``,e[j]&&(i.display=`none`))}let I=/\s*!important$/;function L(e,t,r){if(n.isArray(r))r.forEach(n=>L(e,t,n));else if(r??=``,t.startsWith(`--`))e.setProperty(t,r);else{let i=z(e,t);I.test(r)?e.setProperty(n.hyphenate(i),r.replace(I,``),`important`):e[i]=r}}let R=[`Webkit`,`Moz`,`ms`],re={};function z(e,r){let i=re[r];if(i)return i;let a=t.camelize(r);if(a!==`filter`&&a in e)return re[r]=a;a=n.capitalize(a);for(let t=0;t<R.length;t++){let n=R[t]+a;if(n in e)return re[r]=n}return r}let B=`http://www.w3.org/1999/xlink`;function V(e,t,r,i,a,o=n.isSpecialBooleanAttr(t)){i&&t.startsWith(`xlink:`)?r==null?e.removeAttributeNS(B,t.slice(6,t.length)):e.setAttributeNS(B,t,r):r==null||o&&!n.includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,o?``:n.isSymbol(r)?String(r):r)}function H(e,t,r,i,o){if(t===`innerHTML`||t===`textContent`){r!=null&&(e[t]=t===`innerHTML`?a(r):r);return}let s=e.tagName;if(t===`value`&&s!==`PROGRESS`&&!s.includes(`-`)){let n=s===`OPTION`?e.getAttribute(`value`)||``:e.value,i=r==null?e.type===`checkbox`?`on`:``:String(r);(n!==i||!(`_value`in e))&&(e.value=i),r??e.removeAttribute(t),e._value=r;return}let c=!1;if(r===``||r==null){let i=typeof e[t];i===`boolean`?r=n.includeBooleanAttr(r):r==null&&i===`string`?(r=``,c=!0):i===`number`&&(r=0,c=!0)}try{e[t]=r}catch{}c&&e.removeAttribute(o||t)}function ae(e,t,n,r){e.addEventListener(t,n,r)}function oe(e,t,n,r){e.removeEventListener(t,n,r)}let se=Symbol(`_vei`);function ce(e,t,n,r,i=null){let a=e[se]||(e[se]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=le(t);r?ae(e,n,a[t]=pe(r,i),s):o&&(oe(e,n,o,s),a[t]=void 0)}}let U=/(?:Once|Passive|Capture)$/;function le(e){let t;if(U.test(e)){t={};let n;for(;n=e.match(U);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):n.hyphenate(e.slice(2)),t]}let ue=0,de=Promise.resolve(),fe=()=>ue||=(de.then(()=>ue=0),Date.now());function pe(e,n){let r=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=r.attached)return;t.callWithAsyncErrorHandling(me(e,r.value),n,5,[e])};return r.value=e,r.attached=fe(),r}function me(e,t){if(n.isArray(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}let W=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,G=(e,t,r,i,a,o)=>{let s=a===`svg`;t===`class`?k(e,i,s):t===`style`?F(e,r,i):n.isOn(t)?n.isModelListener(t)||ce(e,t,r,i,o):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):K(e,t,i,s))?(H(e,t,i),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&V(e,t,i,s,o,t!==`value`)):e._isVueCE&&(/[A-Z]/.test(t)||!n.isString(i))?H(e,n.camelize(t),i,o,t):(t===`true-value`?e._trueValue=i:t===`false-value`&&(e._falseValue=i),V(e,t,i,s))};function K(e,t,r,i){if(i)return!!(t===`innerHTML`||t===`textContent`||t in e&&W(t)&&n.isFunction(r));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return W(t)&&n.isString(r)?!1:t in e}let he={};function ge(e,r,i){let a=t.defineComponent(e,r);n.isPlainObject(a)&&(a=n.extend({},a,r));class o extends ye{constructor(e){super(a,e,i)}}return o.def=a,o}let _e=((e,t)=>ge(e,t,it)),ve=typeof HTMLElement<`u`?HTMLElement:class{};var ye=class e extends ve{constructor(e,t={},r=rt){super(),this._def=e,this._props=t,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==rt?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(n.extend({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,t.nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:r,styles:i}=e,a;if(r&&!n.isArray(r))for(let e in r){let t=r[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=n.toNumber(this._props[e])),(a||=Object.create(null))[n.camelize(e)]=!0)}this._numberProps=a,this._resolveProps(e),this.shadowRoot&&this._applyStyles(i),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let r=this._instance&&this._instance.exposed;if(r)for(let e in r)n.hasOwn(this,e)||Object.defineProperty(this,e,{get:()=>t.unref(r[e])})}_resolveProps(e){let{props:t}=e,r=n.isArray(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&r.includes(e)&&this._setProp(e,this[e]);for(let e of r.map(n.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),r=t?this.getAttribute(e):he,i=n.camelize(e);t&&this._numberProps&&this._numberProps[i]&&(r=n.toNumber(r)),this._setProp(i,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,r=!0,i=!1){if(t!==this._props[e]&&(this._dirty=!0,t===he?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),i&&this._instance&&this._update(),r)){let r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),t===!0?this.setAttribute(n.hyphenate(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(n.hyphenate(e),t+``):t||this.removeAttribute(n.hyphenate(e)),r&&r.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),tt(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let r=t.createVNode(this._def,n.extend(e,this._props));return this._instance||(r.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,n.isPlainObject(t[0])?n.extend({detail:t},t[0]):{detail:t}))};e.emit=(e,...r)=>{t(e,r),n.hyphenate(e)!==e&&t(n.hyphenate(e),r)},this._setParent()}),r}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let n=this._nonce;for(let t=e.length-1;t>=0;t--){let r=document.createElement(`style`);n&&r.setAttribute(`nonce`,n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(e){}};function be(e){let n=t.getCurrentInstance();return n&&n.ce||null}function xe(){let e=be();return e&&e.shadowRoot}function Se(e=`$style`){{let r=t.getCurrentInstance();if(!r)return n.EMPTY_OBJ;let i=r.type.__cssModules;return i&&i[e]||n.EMPTY_OBJ}}let Ce=new WeakMap,we=new WeakMap,Te=Symbol(`_moveCb`),Ee=Symbol(`_enterCb`),De=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:n.extend({},p,{tag:String,moveClass:String}),setup(e,{slots:n}){let r=t.getCurrentInstance(),i=t.useTransitionState(),a,o;return t.onUpdated(()=>{if(!a.length)return;let t=e.moveClass||`${e.name||`v`}-move`;if(!Me(a[0].el,r.vnode.el,t)){a=[];return}a.forEach(Oe),a.forEach(ke);let n=a.filter(Ae);O(r.vnode.el),n.forEach(e=>{let n=e.el,r=n.style;b(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[Te]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[Te]=null,x(n,t))};n.addEventListener(`transitionend`,i)}),a=[]}),()=>{let s=t.toRaw(e),c=_(s),l=s.tag||t.Fragment;if(a=[],o)for(let e=0;e<o.length;e++){let n=o[e];n.el&&n.el instanceof Element&&(a.push(n),t.setTransitionHooks(n,t.resolveTransitionHooks(n,c,i,r)),Ce.set(n,{left:n.el.offsetLeft,top:n.el.offsetTop}))}o=n.default?t.getTransitionRawChildren(n.default()):[];for(let e=0;e<o.length;e++){let n=o[e];n.key!=null&&t.setTransitionHooks(n,t.resolveTransitionHooks(n,c,i,r))}return t.createVNode(l,null,o)}}});function Oe(e){let t=e.el;t[Te]&&t[Te](),t[Ee]&&t[Ee]()}function ke(e){we.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function Ae(e){let t=Ce.get(e),n=we.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration=`0s`,e}}function Me(e,t,n){let r=e.cloneNode(),i=e[d];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=T(r);return a.removeChild(r),o}let Ne=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return n.isArray(t)?e=>n.invokeArrayFns(t,e):t};function Pe(e){e.target.composing=!0}function Fe(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}let Ie=Symbol(`_assign`);function Le(e,t,r){return t&&(e=e.trim()),r&&(e=n.looseToNumber(e)),e}let Re={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Ie]=Ne(i);let a=r||i.props&&i.props.type===`number`;ae(e,t?`change`:`input`,t=>{t.target.composing||e[Ie](Le(e.value,n,a))}),(n||a)&&ae(e,`change`,()=>{e.value=Le(e.value,n,a)}),t||(ae(e,`compositionstart`,Pe),ae(e,`compositionend`,Fe),ae(e,`change`,Fe))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:i,trim:a,number:o}},s){if(e[Ie]=Ne(s),e.composing)return;let c=(o||e.type===`number`)&&!/^0\d/.test(e.value)?n.looseToNumber(e.value):e.value,l=t??``;c!==l&&(document.activeElement===e&&e.type!==`range`&&(i&&t===r||a&&e.value.trim()===l)||(e.value=l))}},ze={deep:!0,created(e,t,r){e[Ie]=Ne(r),ae(e,`change`,()=>{let t=e._modelValue,r=He(e),i=e.checked,a=e[Ie];if(n.isArray(t)){let e=n.looseIndexOf(t,r),o=e!==-1;if(i&&!o)a(t.concat(r));else if(!i&&o){let n=[...t];n.splice(e,1),a(n)}}else if(n.isSet(t)){let e=new Set(t);i?e.add(r):e.delete(r),a(e)}else a(Ue(e,i))})},mounted:q,beforeUpdate(e,t,n){e[Ie]=Ne(n),q(e,t,n)}};function q(e,{value:t,oldValue:r},i){e._modelValue=t;let a;if(n.isArray(t))a=n.looseIndexOf(t,i.props.value)>-1;else if(n.isSet(t))a=t.has(i.props.value);else{if(t===r)return;a=n.looseEqual(t,Ue(e,!0))}e.checked!==a&&(e.checked=a)}let Be={created(e,{value:t},r){e.checked=n.looseEqual(t,r.props.value),e[Ie]=Ne(r),ae(e,`change`,()=>{e[Ie](He(e))})},beforeUpdate(e,{value:t,oldValue:r},i){e[Ie]=Ne(i),t!==r&&(e.checked=n.looseEqual(t,i.props.value))}},J={deep:!0,created(e,{value:r,modifiers:{number:i}},a){let o=n.isSet(r);ae(e,`change`,()=>{let r=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>i?n.looseToNumber(He(e)):He(e));e[Ie](e.multiple?o?new Set(r):r:r[0]),e._assigning=!0,t.nextTick(()=>{e._assigning=!1})}),e[Ie]=Ne(a)},mounted(e,{value:t}){Ve(e,t)},beforeUpdate(e,t,n){e[Ie]=Ne(n)},updated(e,{value:t}){e._assigning||Ve(e,t)}};function Ve(e,t){let r=e.multiple,i=n.isArray(t);if(!(r&&!i&&!n.isSet(t))){for(let a=0,o=e.options.length;a<o;a++){let o=e.options[a],s=He(o);if(r)if(i){let e=typeof s;e===`string`||e===`number`?o.selected=t.some(e=>String(e)===String(s)):o.selected=n.looseIndexOf(t,s)>-1}else o.selected=t.has(s);else if(n.looseEqual(He(o),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function He(e){return`_value`in e?e._value:e.value}function Ue(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}let We={created(e,t,n){Ge(e,t,n,null,`created`)},mounted(e,t,n){Ge(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){Ge(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){Ge(e,t,n,r,`updated`)}};function Y(e,t){switch(e){case`SELECT`:return J;case`TEXTAREA`:return Re;default:switch(t){case`checkbox`:return ze;case`radio`:return Be;default:return Re}}}function Ge(e,t,n,r,i){let a=Y(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function Ke(){Re.getSSRProps=({value:e})=>({value:e}),Be.getSSRProps=({value:e},t)=>{if(t.props&&n.looseEqual(t.props.value,e))return{checked:!0}},ze.getSSRProps=({value:e},t)=>{if(n.isArray(e)){if(t.props&&n.looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(n.isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},We.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=Y(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}let qe=[`ctrl`,`shift`,`alt`,`meta`],Je={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>qe.some(n=>e[`${n}Key`]&&!t.includes(n))},Ye=(e,t)=>{let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Je[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Xe={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},X=(e,t)=>{let r=e._withKeys||={},i=t.join(`.`);return r[i]||(r[i]=(r=>{if(!(`key`in r))return;let i=n.hyphenate(r.key);if(t.some(e=>e===i||Xe[e]===i))return e(r)}))},Ze=n.extend({patchProp:G},c),Z,Qe=!1;function $e(){return Z||=t.createRenderer(Ze)}function et(){return Z=Qe?Z:t.createHydrationRenderer(Ze),Qe=!0,Z}let tt=((...e)=>{$e().render(...e)}),nt=((...e)=>{et().hydrate(...e)}),rt=((...e)=>{let t=$e().createApp(...e),{mount:r}=t;return t.mount=e=>{let i=ot(e);if(!i)return;let a=t._component;!n.isFunction(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.nodeType===1&&(i.textContent=``);let o=r(i,!1,at(i));return i instanceof Element&&(i.removeAttribute(`v-cloak`),i.setAttribute(`data-v-app`,``)),o},t}),it=((...e)=>{let t=et().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=ot(e);if(t)return n(t,!0,at(t))},t});function at(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function ot(e){return n.isString(e)?document.querySelector(e):e}let st=!1;e.Transition=m,e.TransitionGroup=De,e.VueElement=ye,e.createApp=rt,e.createSSRApp=it,e.defineCustomElement=ge,e.defineSSRCustomElement=_e,e.hydrate=nt,e.initDirectivesForSSR=()=>{st||(st=!0,Ke(),ee())},e.nodeOps=c,e.patchProp=G,e.render=tt,e.useCssModule=Se,e.useCssVars=ne,e.useHost=be,e.useShadowRoot=xe,e.vModelCheckbox=ze,e.vModelDynamic=We,e.vModelRadio=Be,e.vModelSelect=J,e.vModelText=Re,e.vShow=M,e.withKeys=X,e.withModifiers=Ye,Object.keys(t).forEach(function(n){n!==`default`&&!Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=t[n])})})),Ne=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=je(),n=ie();let r,i=typeof window<`u`&&window.trustedTypes;if(i)try{r=i.createPolicy(`vue`,{createHTML:e=>e})}catch(e){t.warn(`Error creating trusted types policy: ${e}`)}let a=r?e=>r.createHTML(e):e=>e,o=typeof document<`u`?document:null,s=o&&o.createElement(`template`),c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?o.createElementNS(`http://www.w3.org/2000/svg`,e):t===`mathml`?o.createElementNS(`http://www.w3.org/1998/Math/MathML`,e):n?o.createElement(e,{is:n}):o.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>o.createTextNode(e),createComment:e=>o.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>o.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,o){let c=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{s.innerHTML=a(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=s.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[c?c.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},l=`transition`,u=`animation`,d=Symbol(`_vtc`),f={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p=n.extend({},t.BaseTransitionPropsValidators,f),m=(e=>(e.displayName=`Transition`,e.props=p,e))((e,{slots:n})=>t.h(t.BaseTransition,_(e),n)),h=(e,t=[])=>{n.isArray(e)?e.forEach(e=>e(...t)):e&&e(...t)},g=e=>e?n.isArray(e)?e.some(e=>e.length>1):e.length>1:!1;function _(e){let t={};for(let n in e)n in f||(t[n]=e[n]);if(e.css===!1)return t;let{name:r=`v`,type:i,duration:a,enterFromClass:o=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:l=o,appearActiveClass:u=s,appearToClass:d=c,leaveFromClass:p=`${r}-leave-from`,leaveActiveClass:m=`${r}-leave-active`,leaveToClass:_=`${r}-leave-to`}=e,y=v(a),C=y&&y[0],T=y&&y[1],{onBeforeEnter:E,onEnter:D,onEnterCancelled:k,onLeave:A,onLeaveCancelled:j,onBeforeAppear:M=E,onAppear:N=D,onAppearCancelled:ee=k}=t,te=(e,t,n,r)=>{e._enterCancelled=r,x(e,t?d:c),x(e,t?u:s),n&&n()},ne=(e,t)=>{e._isLeaving=!1,x(e,p),x(e,_),x(e,m),t&&t()},P=e=>(t,n)=>{let r=e?N:D,a=()=>te(t,e,n);h(r,[t,a]),S(()=>{x(t,e?l:o),b(t,e?d:c),g(r)||w(t,i,C,a)})};return n.extend(t,{onBeforeEnter(e){h(E,[e]),b(e,o),b(e,s)},onBeforeAppear(e){h(M,[e]),b(e,l),b(e,u)},onEnter:P(!1),onAppear:P(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ne(e,t);b(e,p),e._enterCancelled?(b(e,m),O(e)):(O(e),b(e,m)),S(()=>{e._isLeaving&&(x(e,p),b(e,_),g(A)||w(e,i,T,n))}),h(A,[e,n])},onEnterCancelled(e){te(e,!1,void 0,!0),h(k,[e])},onAppearCancelled(e){te(e,!0,void 0,!0),h(ee,[e])},onLeaveCancelled(e){ne(e),h(j,[e])}})}function v(e){if(e==null)return null;if(n.isObject(e))return[y(e.enter),y(e.leave)];{let t=y(e);return[t,t]}}function y(e){let r=n.toNumber(e);return t.assertNumber(r,`<transition> explicit duration`),r}function b(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[d]||(e[d]=new Set)).add(t)}function x(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[d];n&&(n.delete(t),n.size||(e[d]=void 0))}function S(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let C=0;function w(e,t,n,r){let i=e._endId=++C,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=T(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function T(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${l}Delay`),a=r(`${l}Duration`),o=E(i,a),s=r(`${u}Delay`),c=r(`${u}Duration`),d=E(s,c),f=null,p=0,m=0;t===l?o>0&&(f=l,p=o,m=a.length):t===u?d>0&&(f=u,p=d,m=c.length):(p=Math.max(o,d),f=p>0?o>d?l:u:null,m=f?f===l?a.length:c.length:0);let h=f===l&&/\b(?:transform|all)(?:,|$)/.test(r(`${l}Property`).toString());return{type:f,timeout:p,propCount:m,hasTransform:h}}function E(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>D(t)+D(e[n])))}function D(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function O(e){return(e?e.ownerDocument:document).body.offsetHeight}function k(e,t,n){let r=e[d];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}let A=Symbol(`_vod`),j=Symbol(`_vsh`),M={name:`show`,beforeMount(e,{value:t},{transition:n}){e[A]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):N(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),N(e,!0),r.enter(e)):r.leave(e,()=>{N(e,!1)}):N(e,t))},beforeUnmount(e,{value:t}){N(e,t)}};function N(e,t){e.style.display=t?e[A]:`none`,e[j]=!t}function ee(){M.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}let te=Symbol(`CSS_VAR_TEXT`);function ne(e){}let P=/(?:^|;)\s*display\s*:/;function F(e,t,r){let i=e.style,a=n.isString(r),o=!1;if(r&&!a){if(t)if(n.isString(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();r[t]??R(i,t,``)}else for(let e in t)r[e]??R(i,e,``);for(let e in r)e===`display`&&(o=!0),R(i,e,r[e])}else if(a){if(t!==r){let e=i[te];e&&(r+=`;`+e),i.cssText=r,o=P.test(r)}}else t&&e.removeAttribute(`style`);A in e&&(e[A]=o?i.display:``,e[j]&&(i.display=`none`))}let I=/[^\\];\s*$/,L=/\s*!important$/;function R(e,r,i){if(n.isArray(i))i.forEach(t=>R(e,r,t));else if(i??=``,I.test(i)&&t.warn(`Unexpected semicolon at the end of '${r}' style value: '${i}'`),r.startsWith(`--`))e.setProperty(r,i);else{let t=B(e,r);L.test(i)?e.setProperty(n.hyphenate(t),i.replace(L,``),`important`):e[t]=i}}let re=[`Webkit`,`Moz`,`ms`],z={};function B(e,r){let i=z[r];if(i)return i;let a=t.camelize(r);if(a!==`filter`&&a in e)return z[r]=a;a=n.capitalize(a);for(let t=0;t<re.length;t++){let n=re[t]+a;if(n in e)return z[r]=n}return r}let V=`http://www.w3.org/1999/xlink`;function H(e,t,r,i,a,o=n.isSpecialBooleanAttr(t)){i&&t.startsWith(`xlink:`)?r==null?e.removeAttributeNS(V,t.slice(6,t.length)):e.setAttributeNS(V,t,r):r==null||o&&!n.includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,o?``:n.isSymbol(r)?String(r):r)}function ae(e,r,i,o,s){if(r===`innerHTML`||r===`textContent`){i!=null&&(e[r]=r===`innerHTML`?a(i):i);return}let c=e.tagName;if(r===`value`&&c!==`PROGRESS`&&!c.includes(`-`)){let t=c===`OPTION`?e.getAttribute(`value`)||``:e.value,n=i==null?e.type===`checkbox`?`on`:``:String(i);(t!==n||!(`_value`in e))&&(e.value=n),i??e.removeAttribute(r),e._value=i;return}let l=!1;if(i===``||i==null){let t=typeof e[r];t===`boolean`?i=n.includeBooleanAttr(i):i==null&&t===`string`?(i=``,l=!0):t===`number`&&(i=0,l=!0)}try{e[r]=i}catch(e){l||t.warn(`Failed setting prop "${r}" on <${c.toLowerCase()}>: value ${i} is invalid.`,e)}l&&e.removeAttribute(s||r)}function oe(e,t,n,r){e.addEventListener(t,n,r)}function se(e,t,n,r){e.removeEventListener(t,n,r)}let ce=Symbol(`_vei`);function U(e,t,n,r,i=null){let a=e[ce]||(e[ce]={}),o=a[t];if(r&&o)o.value=W(r,t);else{let[n,s]=ue(t);r?oe(e,n,a[t]=me(W(r,t),i),s):o&&(se(e,n,o,s),a[t]=void 0)}}let le=/(?:Once|Passive|Capture)$/;function ue(e){let t;if(le.test(e)){t={};let n;for(;n=e.match(le);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):n.hyphenate(e.slice(2)),t]}let de=0,fe=Promise.resolve(),pe=()=>de||=(fe.then(()=>de=0),Date.now());function me(e,n){let r=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=r.attached)return;t.callWithAsyncErrorHandling(G(e,r.value),n,5,[e])};return r.value=e,r.attached=pe(),r}function W(e,r){return n.isFunction(e)||n.isArray(e)?e:(t.warn(`Wrong type passed as event handler to ${r} - did you forget @ or : in front of your prop?
44
- Expected function or array of functions, received type ${typeof e}.`),n.NOOP)}function G(e,t){if(n.isArray(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}let K=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,he=(e,t,r,i,a,o)=>{let s=a===`svg`;t===`class`?k(e,i,s):t===`style`?F(e,r,i):n.isOn(t)?n.isModelListener(t)||U(e,t,r,i,o):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):ge(e,t,i,s))?(ae(e,t,i),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&H(e,t,i,s,o,t!==`value`)):e._isVueCE&&(/[A-Z]/.test(t)||!n.isString(i))?ae(e,n.camelize(t),i,o,t):(t===`true-value`?e._trueValue=i:t===`false-value`&&(e._falseValue=i),H(e,t,i,s))};function ge(e,t,r,i){if(i)return!!(t===`innerHTML`||t===`textContent`||t in e&&K(t)&&n.isFunction(r));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return K(t)&&n.isString(r)?!1:t in e}let _e={};function ve(e,r,i){let a=t.defineComponent(e,r);n.isPlainObject(a)&&(a=n.extend({},a,r));class o extends xe{constructor(e){super(a,e,i)}}return o.def=a,o}let ye=((e,t)=>ve(e,t,ot)),be=typeof HTMLElement<`u`?HTMLElement:class{};var xe=class e extends be{constructor(e,r={},i=at){super(),this._def=e,this._props=r,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==at?this._root=this.shadowRoot:(this.shadowRoot&&t.warn("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),e.shadowRoot===!1?this._root=this:(this.attachShadow(n.extend({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot))}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,t.nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:i,styles:a}=e,o;if(i&&!n.isArray(i))for(let e in i){let t=i[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=n.toNumber(this._props[e])),(o||=Object.create(null))[n.camelize(e)]=!0)}this._numberProps=o,this._resolveProps(e),this.shadowRoot?this._applyStyles(a):a&&t.warn(`Custom element style injection is not supported when using shadowRoot: false`),this._mount(e)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){e.name||=`VueElement`,this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let r=this._instance&&this._instance.exposed;if(r)for(let e in r)n.hasOwn(this,e)?t.warn(`Exposed property "${e}" already exists on custom element.`):Object.defineProperty(this,e,{get:()=>t.unref(r[e])})}_resolveProps(e){let{props:t}=e,r=n.isArray(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&r.includes(e)&&this._setProp(e,this[e]);for(let e of r.map(n.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),r=t?this.getAttribute(e):_e,i=n.camelize(e);t&&this._numberProps&&this._numberProps[i]&&(r=n.toNumber(r)),this._setProp(i,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,r=!0,i=!1){if(t!==this._props[e]&&(this._dirty=!0,t===_e?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),i&&this._instance&&this._update(),r)){let r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),t===!0?this.setAttribute(n.hyphenate(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(n.hyphenate(e),t+``):t||this.removeAttribute(n.hyphenate(e)),r&&r.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),rt(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let r=t.createVNode(this._def,n.extend(e,this._props));return this._instance||(r.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0,e.ceReload=e=>{this._styles&&(this._styles.forEach(e=>this._root.removeChild(e)),this._styles.length=0),this._applyStyles(e),this._instance=null,this._update()};let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,n.isPlainObject(t[0])?n.extend({detail:t},t[0]):{detail:t}))};e.emit=(e,...r)=>{t(e,r),n.hyphenate(e)!==e&&t(n.hyphenate(e),r)},this._setParent()}),r}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let n=this._nonce;for(let r=e.length-1;r>=0;r--){let i=document.createElement(`style`);if(n&&i.setAttribute(`nonce`,n),i.textContent=e[r],this.shadowRoot.prepend(i),t){if(t.__hmrId){this._childStyles||=new Map;let e=this._childStyles.get(t.__hmrId);e||this._childStyles.set(t.__hmrId,e=[]),e.push(i)}}else (this._styles||=[]).push(i)}}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(e){if(this._styleChildren.delete(e),this._childStyles&&e.__hmrId){let t=this._childStyles.get(e.__hmrId);t&&(t.forEach(e=>this._root.removeChild(e)),t.length=0)}}};function Se(e){let n=t.getCurrentInstance();return n&&n.ce||(n?t.warn(`${e||`useHost`} can only be used in components defined via defineCustomElement.`):t.warn(`${e||`useHost`} called without an active component instance.`),null)}function Ce(){let e=Se(`useShadowRoot`);return e&&e.shadowRoot}function we(e=`$style`){{let r=t.getCurrentInstance();if(!r)return t.warn(`useCssModule must be called inside setup()`),n.EMPTY_OBJ;let i=r.type.__cssModules;return i?i[e]||(t.warn(`Current instance does not have CSS module named "${e}".`),n.EMPTY_OBJ):(t.warn(`Current instance does not have CSS modules injected.`),n.EMPTY_OBJ)}}let Te=new WeakMap,Ee=new WeakMap,De=Symbol(`_moveCb`),Oe=Symbol(`_enterCb`),ke=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:n.extend({},p,{tag:String,moveClass:String}),setup(e,{slots:n}){let r=t.getCurrentInstance(),i=t.useTransitionState(),a,o;return t.onUpdated(()=>{if(!a.length)return;let t=e.moveClass||`${e.name||`v`}-move`;if(!Pe(a[0].el,r.vnode.el,t)){a=[];return}a.forEach(Ae),a.forEach(Me);let n=a.filter(Ne);O(r.vnode.el),n.forEach(e=>{let n=e.el,r=n.style;b(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[De]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[De]=null,x(n,t))};n.addEventListener(`transitionend`,i)}),a=[]}),()=>{let s=t.toRaw(e),c=_(s),l=s.tag||t.Fragment;if(a=[],o)for(let e=0;e<o.length;e++){let n=o[e];n.el&&n.el instanceof Element&&(a.push(n),t.setTransitionHooks(n,t.resolveTransitionHooks(n,c,i,r)),Te.set(n,{left:n.el.offsetLeft,top:n.el.offsetTop}))}o=n.default?t.getTransitionRawChildren(n.default()):[];for(let e=0;e<o.length;e++){let n=o[e];n.key==null?n.type!==t.Text&&t.warn(`<TransitionGroup> children must be keyed.`):t.setTransitionHooks(n,t.resolveTransitionHooks(n,c,i,r))}return t.createVNode(l,null,o)}}});function Ae(e){let t=e.el;t[De]&&t[De](),t[Oe]&&t[Oe]()}function Me(e){Ee.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function Ne(e){let t=Te.get(e),n=Ee.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration=`0s`,e}}function Pe(e,t,n){let r=e.cloneNode(),i=e[d];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=T(r);return a.removeChild(r),o}let Fe=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return n.isArray(t)?e=>n.invokeArrayFns(t,e):t};function Ie(e){e.target.composing=!0}function Le(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}let Re=Symbol(`_assign`);function ze(e,t,r){return t&&(e=e.trim()),r&&(e=n.looseToNumber(e)),e}let q={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Re]=Fe(i);let a=r||i.props&&i.props.type===`number`;oe(e,t?`change`:`input`,t=>{t.target.composing||e[Re](ze(e.value,n,a))}),(n||a)&&oe(e,`change`,()=>{e.value=ze(e.value,n,a)}),t||(oe(e,`compositionstart`,Ie),oe(e,`compositionend`,Le),oe(e,`change`,Le))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:i,trim:a,number:o}},s){if(e[Re]=Fe(s),e.composing)return;let c=(o||e.type===`number`)&&!/^0\d/.test(e.value)?n.looseToNumber(e.value):e.value,l=t??``;c!==l&&(document.activeElement===e&&e.type!==`range`&&(i&&t===r||a&&e.value.trim()===l)||(e.value=l))}},Be={deep:!0,created(e,t,r){e[Re]=Fe(r),oe(e,`change`,()=>{let t=e._modelValue,r=We(e),i=e.checked,a=e[Re];if(n.isArray(t)){let e=n.looseIndexOf(t,r),o=e!==-1;if(i&&!o)a(t.concat(r));else if(!i&&o){let n=[...t];n.splice(e,1),a(n)}}else if(n.isSet(t)){let e=new Set(t);i?e.add(r):e.delete(r),a(e)}else a(Y(e,i))})},mounted:J,beforeUpdate(e,t,n){e[Re]=Fe(n),J(e,t,n)}};function J(e,{value:t,oldValue:r},i){e._modelValue=t;let a;if(n.isArray(t))a=n.looseIndexOf(t,i.props.value)>-1;else if(n.isSet(t))a=t.has(i.props.value);else{if(t===r)return;a=n.looseEqual(t,Y(e,!0))}e.checked!==a&&(e.checked=a)}let Ve={created(e,{value:t},r){e.checked=n.looseEqual(t,r.props.value),e[Re]=Fe(r),oe(e,`change`,()=>{e[Re](We(e))})},beforeUpdate(e,{value:t,oldValue:r},i){e[Re]=Fe(i),t!==r&&(e.checked=n.looseEqual(t,i.props.value))}},He={deep:!0,created(e,{value:r,modifiers:{number:i}},a){let o=n.isSet(r);oe(e,`change`,()=>{let r=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>i?n.looseToNumber(We(e)):We(e));e[Re](e.multiple?o?new Set(r):r:r[0]),e._assigning=!0,t.nextTick(()=>{e._assigning=!1})}),e[Re]=Fe(a)},mounted(e,{value:t}){Ue(e,t)},beforeUpdate(e,t,n){e[Re]=Fe(n)},updated(e,{value:t}){e._assigning||Ue(e,t)}};function Ue(e,r){let i=e.multiple,a=n.isArray(r);if(i&&!a&&!n.isSet(r)){t.warn(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(r).slice(8,-1)}.`);return}for(let t=0,o=e.options.length;t<o;t++){let o=e.options[t],s=We(o);if(i)if(a){let e=typeof s;e===`string`||e===`number`?o.selected=r.some(e=>String(e)===String(s)):o.selected=n.looseIndexOf(r,s)>-1}else o.selected=r.has(s);else if(n.looseEqual(We(o),r)){e.selectedIndex!==t&&(e.selectedIndex=t);return}}!i&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function We(e){return`_value`in e?e._value:e.value}function Y(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}let Ge={created(e,t,n){qe(e,t,n,null,`created`)},mounted(e,t,n){qe(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){qe(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){qe(e,t,n,r,`updated`)}};function Ke(e,t){switch(e){case`SELECT`:return He;case`TEXTAREA`:return q;default:switch(t){case`checkbox`:return Be;case`radio`:return Ve;default:return q}}}function qe(e,t,n,r,i){let a=Ke(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function Je(){q.getSSRProps=({value:e})=>({value:e}),Ve.getSSRProps=({value:e},t)=>{if(t.props&&n.looseEqual(t.props.value,e))return{checked:!0}},Be.getSSRProps=({value:e},t)=>{if(n.isArray(e)){if(t.props&&n.looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(n.isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Ge.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=Ke(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}let Ye=[`ctrl`,`shift`,`alt`,`meta`],Xe={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Ye.some(n=>e[`${n}Key`]&&!t.includes(n))},X=(e,t)=>{let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Xe[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Ze={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},Z=(e,t)=>{let r=e._withKeys||={},i=t.join(`.`);return r[i]||(r[i]=(r=>{if(!(`key`in r))return;let i=n.hyphenate(r.key);if(t.some(e=>e===i||Ze[e]===i))return e(r)}))},Qe=n.extend({patchProp:he},c),$e,et=!1;function tt(){return $e||=t.createRenderer(Qe)}function nt(){return $e=et?$e:t.createHydrationRenderer(Qe),et=!0,$e}let rt=((...e)=>{tt().render(...e)}),it=((...e)=>{nt().hydrate(...e)}),at=((...e)=>{let t=tt().createApp(...e);ct(t),lt(t);let{mount:r}=t;return t.mount=e=>{let i=ut(e);if(!i)return;let a=t._component;!n.isFunction(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.nodeType===1&&(i.textContent=``);let o=r(i,!1,st(i));return i instanceof Element&&(i.removeAttribute(`v-cloak`),i.setAttribute(`data-v-app`,``)),o},t}),ot=((...e)=>{let t=nt().createApp(...e);ct(t),lt(t);let{mount:n}=t;return t.mount=e=>{let t=ut(e);if(t)return n(t,!0,st(t))},t});function st(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function ct(e){Object.defineProperty(e.config,`isNativeTag`,{value:e=>n.isHTMLTag(e)||n.isSVGTag(e)||n.isMathMLTag(e),writable:!1})}function lt(e){if(t.isRuntimeOnly()){let n=e.config.isCustomElement;Object.defineProperty(e.config,`isCustomElement`,{get(){return n},set(){t.warn("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});let r=e.config.compilerOptions,i='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,`compilerOptions`,{get(){return t.warn(i),r},set(){t.warn(i)}})}}function ut(e){if(n.isString(e)){let n=document.querySelector(e);return n||t.warn(`Failed to mount app: mount target selector "${e}" returned null.`),n}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode===`closed`&&t.warn('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let dt=!1;e.Transition=m,e.TransitionGroup=ke,e.VueElement=xe,e.createApp=at,e.createSSRApp=ot,e.defineCustomElement=ve,e.defineSSRCustomElement=ye,e.hydrate=it,e.initDirectivesForSSR=()=>{dt||(dt=!0,Je(),ee())},e.nodeOps=c,e.patchProp=he,e.render=rt,e.useCssModule=we,e.useCssVars=ne,e.useHost=Se,e.useShadowRoot=Ce,e.vModelCheckbox=Be,e.vModelDynamic=Ge,e.vModelRadio=Ve,e.vModelSelect=He,e.vModelText=q,e.vShow=M,e.withKeys=Z,e.withModifiers=X,Object.keys(t).forEach(function(n){n!==`default`&&!Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=t[n])})})),Pe=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Me():t.exports=Ne()})),Fe=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Te(),n=Pe(),r=ie();function i(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var a=i(n);let o=Object.create(null);function s(e,n){if(!r.isString(e))if(e.nodeType)e=e.innerHTML;else return r.NOOP;let i=r.genCacheKey(e,n),s=o[i];if(s)return s;if(e[0]===`#`){let t=document.querySelector(e);e=t?t.innerHTML:``}let c=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},n);!c.isCustomElement&&typeof customElements<`u`&&(c.isCustomElement=e=>!!customElements.get(e));let{code:l}=t.compile(e,c),u=Function(`Vue`,l)(a);return u._rc=!0,o[i]=u}n.registerRuntimeCompiler(s),e.compile=s,Object.keys(n).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=n[t])})})),Ie=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=Te(),n=Pe(),r=ie();function i(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var a=i(n);let o=Object.create(null);function s(e,i){if(!r.isString(e))if(e.nodeType)e=e.innerHTML;else return n.warn(`invalid template option: `,e),r.NOOP;let s=r.genCacheKey(e,i),c=o[s];if(c)return c;if(e[0]===`#`){let t=document.querySelector(e);t||n.warn(`Template element not found or is empty: ${e}`),e=t?t.innerHTML:``}let l=r.extend({hoistStatic:!0,onError:d,onWarn:e=>d(e,!0)},i);!l.isCustomElement&&typeof customElements<`u`&&(l.isCustomElement=e=>!!customElements.get(e));let{code:u}=t.compile(e,l);function d(t,i=!1){let a=i?t.message:`Template compilation error: ${t.message}`,o=t.loc&&r.generateCodeFrame(e,t.loc.start.offset,t.loc.end.offset);n.warn(o?`${a}
45
- ${o}`:a)}let f=Function(`Vue`,u)(a);return f._rc=!0,o[s]=f}n.registerRuntimeCompiler(s),e.compile=s,Object.keys(n).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=n[t])})})),Le=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Fe():t.exports=Ie()}));const Re=typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;function ze(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function q(e){let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))}const Be=/\B([A-Z])/g,J=q(e=>e.replace(Be,`-$1`).toLowerCase()),Ve=/-(\w)/g,He=q(e=>e.replace(Ve,(e,t)=>t?t.toUpperCase():``));function Ue(e,t=100,n=!0,r=!1){let i=[],a=!1,o=async()=>{if(await ze(t),a=!1,r)try{e(...i[0])}catch(e){console.error(e)}if(n&&(!r||i.length>1))try{e(...i[i.length-1])}catch(e){console.error(e)}i.length=0};return(...e)=>{i.length<2?i.push(e):i[1]=e,a||(a=!0,o())}}function We(e){if(e)return e instanceof u.Cartesian3?e.clone():e instanceof u.Cartographic?u.Ellipsoid.WGS84.cartographicToCartesian(e):Array.isArray(e)?u.Cartesian3.fromDegrees(e[0],e[1],e[2]):u.Cartesian3.fromDegrees(e.longitude,e.latitude,e.height)}function Y(e){if(e)return e instanceof u.Cartesian3?u.Ellipsoid.WGS84.cartesianToCartographic(e):e instanceof u.Cartographic?e.clone():Array.isArray(e)?u.Cartographic.fromDegrees(e[0],e[1],e[2]):u.Cartographic.fromDegrees(e.longitude,e.latitude,e.height)}function Ge(e){return((...t)=>{try{return e?.(...t)}catch(e){console.error(e)}})}exports.CesiumMaterial=ee,exports.addMaterialCache=ne,exports.arrayDiff=d,exports.assertError=E,exports.canvasCoordToCartesian=f,exports.cartesianToCanvasCoord=p,exports.cesiumEquals=D,exports.createCesiumAttribute=z,exports.createCesiumProperty=B,exports.createPropertyField=re,exports.degreesToDms=j,exports.dmsDecode=A,exports.dmsEncode=k,exports.dmsToDegrees=M,exports.getMaterialCache=te,exports.isArray=w,exports.isBase64=T,exports.isBoolean=g,exports.isCesiumConstant=N,exports.isDef=h,exports.isElement=C,exports.isFunction=_,exports.isNumber=v,exports.isObject=b,exports.isPromise=S,exports.isProperty=I,exports.isString=y,exports.isWindow=x,exports.pickHitGraphic=F,exports.resolvePick=P,exports.throttle=Ue,exports.toCartesian3=We,exports.toCartographic=Y,exports.toCoord=O,exports.toProperty=R,exports.toPropertyValue=L,exports.tryRun=Ge;
1
+ Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty;let e=require(`cesium`);function t(e,t){let n=new Set(t),r=e.filter(e=>!n.has(e)),i=new Set(e);return{added:r,removed:t?.filter(e=>!i.has(e))??[]}}function n(t,n,r=`auto`){if(r===`pickPosition`)return n.pickPosition(t);if(r===`globePick`){let e=n.camera.getPickRay(t);return e&&n.globe.pick(e,n)}else{if(n.globe.depthTestAgainstTerrain)return n.pickPosition(t);let r=n.pickPosition(t),i=n.camera.getPickRay(t),a=i&&n.globe.pick(i,n);return r&&((r&&e.Ellipsoid.WGS84.cartesianToCartographic(r).height)??0)<((a&&e.Ellipsoid.WGS84.cartesianToCartographic(a).height)??0)?r:a}}function r(e,t){return t.cartesianToCanvasCoordinates(e)}const i=Object.prototype.toString;function a(e){return e!==void 0}function o(e){return typeof e==`boolean`}function s(e){return typeof e==`function`}function c(e){return typeof e==`number`}function l(e){return typeof e==`string`}function u(e){return i.call(e)===`[object Object]`}function d(e){return typeof window<`u`&&i.call(e)===`[object Window]`}function f(e){return!!e&&(typeof e==`object`||typeof e==`function`)&&typeof e.then==`function`}function p(e){return!!(e&&e.nodeName&&e.nodeType===1)}const m=Array.isArray;function h(e){return/^\s*data:([a-z]+\/[\d+.a-z-]+(;[a-z-]+=[\da-z-]+)?)?(;base64)?,([\s\w!$%&'()*+,./:;=?@~-]*?)\s*$/i.test(e)}function g(e,t){if(e)throw Error(t)}function _(e,t){return e===t||s(e?.equals)&&e.equals(t)||s(t?.equals)&&t.equals(e)}function v(t,n={}){if(!t)return;let{type:r=`Array`,alt:i=!1}=n,a,o,s;if(t instanceof e.Cartesian3){let n=e.Ellipsoid.WGS84.cartesianToCartographic(t);a=e.Math.toDegrees(n.longitude),o=e.Math.toDegrees(n.latitude),s=n.height}else if(t instanceof e.Cartographic){let n=t;a=e.Math.toDegrees(n.longitude),o=e.Math.toDegrees(n.latitude),s=n.height}else Array.isArray(t)?(a=e.Math.toDegrees(t[0]),o=e.Math.toDegrees(t[1]),s=t[2]):(a=t.longitude,o=t.latitude,s=t.height);return r===`Array`?i?[a,o,s]:[a,o]:i?{longitude:a,latitude:o,height:s}:{longitude:a,latitude:o}}function y(e,t=3){let n=`${e}`,r=n.indexOf(`.`),i=r<0?n:n.slice(0,Math.max(0,r)),a=`0`,o=`0`;return r>0&&(a=`0${n.slice(Math.max(0,r))}`,a=`${a*60}`,r=a.indexOf(`.`),r>0&&(o=`0${a.slice(Math.max(0,r))}`,a=a.slice(0,Math.max(0,r)),o=`${o*60}`,r=o.indexOf(`.`),o=o.slice(0,Math.max(0,r+4)),o=(+o).toFixed(t))),`${Math.abs(+i)}°${+a}′${+o}″`}function b(e){let[t,n]=e.split(`°`)??[],[r,i]=n?.split(`′`)??[],a=i?.split(`″`)[0],o=Number(t)||0,s=(Number(r)||0)/60,c=(Number(a)||0)/60/60,l=o+s+c;if(l===0)return 0;{let t=l;return[`W`,`w`,`S`,`s`].includes(e[e.length-1])&&(t=-t),t}}function x(e,t=3){let n=v(e,{alt:!0});if(!n)return;let[r,i,a]=n,o=y(r,t),s=y(i,t);return[`${o}${r>0?`E`:`W`}`,`${s}${i>0?`N`:`S`}`,a]}function S(e){let[t,n,r]=e;return[b(t),b(n),Number(r)||0]}function C(t){return!(0,e.defined)(t)||!!t.isConstant}var w=class extends e.Material{constructor(e){super(e)}};function T(t){return e.Material._materialCache.getMaterial(t)}function E(t,n){return e.Material._materialCache.addMaterial(t,n)}function D(e={}){let{primitive:t,id:n,primitiveCollection:r,collection:i}=e,a=n&&n.entityCollection||null,o=a&&a.owner||null;return[...Array.isArray(n)?n:[n].filter(Boolean),t,r,i,a,o].filter(e=>!!e)}function O(e,t){if(!Array.isArray(t)||!t.length)return!1;let n=D(e);return n.length?n.some(e=>t.includes(e)):!1}function k(e){return e&&s(e.getValue)}function A(e,t){return k(e)?e.getValue(t):e}function j(t,n=!1){return k(t)?t:s(t)?new e.CallbackProperty(t,n):new e.ConstantProperty(t)}function M(t,n,r,i){let a,o=r=>{a?.(),(0,e.defined)(r?.definitionChanged)&&(a=r?.definitionChanged?.addEventListener(()=>{t.definitionChanged.raiseEvent(t,n,r,r)}))},s=`_${n}`,c=j(r);t[s]=c,o(c),i?Object.defineProperty(t,n,{get(){return t[s]}}):Object.defineProperty(t,n,{get(){return t[s]},set(r){let i=t[s];t[s]!==r&&(t[s]=r,o(r),(0,e.defined)(t.definitionChanged)&&t.definitionChanged.raiseEvent(t,n,r,i))}})}function N(e,t,n,r={}){let i=!!r.toProperty,a=!!r.shallowClone,o=r.changedEventKey||`definitionChanged`,s=Reflect.get(e,o),c=`_${String(t)}`,l=i?j(n):n;Reflect.set(e,c,l);let u={get(){let t=Reflect.get(e,c);return a?Array.isArray(t)?[...t]:{...t}:t}},d,f=(n,r)=>{d?.(),d=n?.definitionChanged?.addEventListener(()=>{s?.raiseEvent.bind(s)(e,t,n,r)})};r.readonly||(i&&k(n)&&f(n),u.set=n=>{if(i&&!k(n))throw Error(`The value of ${String(t)} must be a Cesium.Property object`);let r=Reflect.get(e,c);r!==n&&(Reflect.set(e,c,n),s?.raiseEvent.bind(s)(e,t,n,r),i&&f(n))}),Object.defineProperty(e,t,u)}function P(e,t,n,r={}){return N(e,t,n,{...r,toProperty:!0})}typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;function F(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function I(e,t=100,n=!0,r=!1){let i=[],a=!1,o=async()=>{if(await F(t),a=!1,r)try{e(...i[0])}catch(e){console.error(e)}if(n&&(!r||i.length>1))try{e(...i[i.length-1])}catch(e){console.error(e)}i.length=0};return(...e)=>{i.length<2?i.push(e):i[1]=e,a||(a=!0,o())}}function L(t){if(t)return t instanceof e.Cartesian3?t.clone():t instanceof e.Cartographic?e.Ellipsoid.WGS84.cartographicToCartesian(t):Array.isArray(t)?e.Cartesian3.fromDegrees(t[0],t[1],t[2]):e.Cartesian3.fromDegrees(t.longitude,t.latitude,t.height)}function R(t){if(t)return t instanceof e.Cartesian3?e.Ellipsoid.WGS84.cartesianToCartographic(t):t instanceof e.Cartographic?t.clone():Array.isArray(t)?e.Cartographic.fromDegrees(t[0],t[1],t[2]):e.Cartographic.fromDegrees(t.longitude,t.latitude,t.height)}function z(e){return((...t)=>{try{return e?.(...t)}catch(e){console.error(e)}})}exports.CesiumMaterial=w,exports.addMaterialCache=E,exports.arrayDiff=t,exports.assertError=g,exports.canvasCoordToCartesian=n,exports.cartesianToCanvasCoord=r,exports.cesiumEquals=_,exports.createCesiumAttribute=N,exports.createCesiumProperty=P,exports.createPropertyField=M,exports.degreesToDms=x,exports.dmsDecode=b,exports.dmsEncode=y,exports.dmsToDegrees=S,exports.getMaterialCache=T,exports.isArray=m,exports.isBase64=h,exports.isBoolean=o,exports.isCesiumConstant=C,exports.isDef=a,exports.isElement=p,exports.isFunction=s,exports.isNumber=c,exports.isObject=u,exports.isPromise=f,exports.isProperty=k,exports.isString=l,exports.isWindow=d,exports.pickHitGraphic=O,exports.resolvePick=D,exports.throttle=I,exports.toCartesian3=L,exports.toCartographic=R,exports.toCoord=v,exports.toProperty=j,exports.toPropertyValue=A,exports.tryRun=z;
46
2
  //# sourceMappingURL=index.min.cjs.map